
/* font */
/* Jost */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


body {
    /* min-height: 75rem; */
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;    
}

/* dark theme */

body.dark-theme{
    background-color: #000;
}
.dark-theme div,
.dark-theme span,
.dark-theme p,
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5{
    color: #fff;
}



/* font */

.jost-300 {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
.jost-400 {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.jost-500 {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.jost-600 {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.jost-700 {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}



/* color */

/* primary-color */
.clr-prim{ 
    color: #B6433A!important;
}
.clr-fff{
  color: #fff;
}
.clr-sec{
  color: #0a58ca!important;
}
/* grey-white */
.clr-EBEBEB{ 
    color: #EBEBEB!important;
}



/* font */

.fs-18{
  font-size: 18px;
}
.fs-20{
  font-size: 20px;
}
.hero-title{
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.05;
}
.small{
  font-size: 14px;
}
@media screen and ( max-width: 575px ) {
  .hero-title{
    font-size: 2.0rem;
  }  
}



/* btn */

.cr-btn{
  background: #B6433A;
  color: #fff;
  border-radius: 28px;
  padding: 6px 22px;  
}
.cr-btn:hover{
  background: #ba0e00;
  color: #fff;
}
@media screen and ( max-width: 575px ) {
  .cr-btn{
    padding: 4px 16px;
    font-size: 15px;
  }  
}



/* cr-navbar */

.cr-navbar{
  padding: 15px 0;
  background: rgb(30 30 30 / 60%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cr-navbar .crlogo{
  height: 56px;
}
@media screen and ( min-width: 768px ) {
  .cr-navbar .navbar-nav .nav-link{
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media screen and ( max-width: 575px ) {
  .cr-navbar{
    padding-left: 15px;
    padding-right: 15px;
  }
  .cr-navbar .crlogo{
    height: 42px;
  }
  .cr-navbar .nav-link{
    font-size: 15px;
  }
  .cr-navbar .navbar-collapse .navbar-nav{
    margin-top: 20px;
    text-align: center;
  }
  .cr-navbar .navbar-collapse .btn{
    margin: .5rem 0;
    min-width: 110px;
  }  
  .cr-navbar .navbar-collapse .nav-item{
    border-top: 1px solid #ffffff1c;
  }
}




/* cr-navbar-footer */
.cr-navbar-footer{
  padding: 20px 0;
  background: rgb(30 30 30 / 60%);  
}
.cr-navbar-footer .footnote .link{
  text-decoration: underline;
}
@media screen and ( max-width: 575px ) {
  .cr-navbar-footer{
    padding-left: 15px;
    padding-right: 15px;    
  }
  .cr-navbar-footer .footnote{
    width: 60%;
  }
}



/* general */

.dot-bck{
    background-image: radial-gradient(circle, #595959e0 1px, rgba(0, 0, 0, 0) 1px);
    background-size: .8rem .8rem;  
}
.cr-section{
  padding-top: 90px;
  padding-bottom: 90px;  
}
.simple-header{
  padding-top: 190px;
}
@media screen and ( max-width: 575px ) {
  .cr-section{
    padding-top: 80px;
    padding-bottom: 80px;      
    padding-left: 25px;
    padding-right: 25px;  
  }
  .simple-header{
    padding-top: 180px;
  }  
}



.link{
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}
.link .right-arrow{
  font-size: 21px;
  line-height: 1;
  vertical-align: middle;  
}


/* hero section */

.hero-wrap{
    background: linear-gradient(to right, #00000040 33%, transparent);  
}
.hero-wrap.inner-page{
    background: linear-gradient(to right, #000000b0 41%, transparent);
}
.overlay-content-wrap{
  position: absolute;
  height: 90vh;
  width: 100%;
  z-index: 1;
}
.inner-page .overlay-content-wrap{  /* for inner page */
  height: 80vh;
}

/* bg-video-wrap */
.bg-video-wrap {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}
.bg-video-wrap .background-video,
.bg-video-wrap .fallback-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}
.bg-video-wrap .fallback-image {
  display: none;
}
.no-video .background-video {
  display: none;
}
.no-video .fallback-image {
  display: block;
}

/* bg-img-wrap */
.bg-img-wrap{
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;  
}
.bg-img-wrap > img{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}


@media screen and ( max-width: 575px ) {
  .hero-wrap{
    background: linear-gradient(to right, #00000096 33%, transparent);    
  }
  .hero-wrap .bg-video-wrap,
  .hero-wrap .bg-img-wrap
  {
    height: 60vh;
  }
  .hero-wrap .overlay-content-wrap{
    height: 60vh;
    align-content: center !important;
    padding: 80px 40px 0 20px;
  }
  .hero-wrap .bg-video-wrap .background-video, 
  .hero-wrap .bg-video-wrap .fallback-image{
    width: auto;
    height: 100%;
    min-width: initial;
    min-height: 100%;
    object-fit: none;
  } 
}
@media screen and ( min-width: 768px ) {
  .overlay-content-wrap{
    align-content: center !important;
    padding-top: 96px;     /* to compensate the header nav */
  }
}







/* form */


.form-control{
  background-color: transparent;
  color: #fff;
}
.form-control:focus{
  background-color: transparent;
  color: #fff;
}
textarea.form-control{
  padding: .7rem .75rem !important;  
}
input::placeholder,
textarea::placeholder {
  color: #fff!important;
  opacity: 1;
}
/* Optional: for form-control specifically (Bootstrap) */
.form-control::placeholder {
  color: #fff!important;
}
.form-select { /* for select dropdown */
  background-color: #000;
  color: #fff;  
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-size: 18px 26px;
}



/* card-wrap */

.card{
  border-radius: .65rem;  
}
.card-wrap .card{
  background-color: #151515;
}
.card-wrap .card-body{
  padding: 2rem 2rem;
}
.card-wrap .card h5{
  padding: 30px 15px 25px;
  margin-bottom: 0;
}



/* ---------------  Pages ------------- */


/* home */


/* courses */

#courses .card{
  /* box-shadow: 0px 0px 14px 4px #3f3f3f; */
}
#courses .card h5.card-title{
  font-size: 26px;
  font-weight: 500;  
  padding: 40px 15px 35px;  
}
@media screen and ( min-width: 576px ) {
  #courses .card-header{
    min-height: 186px;
    align-content: center !important;
  }
}




/* #specialities  */

#specialities .card{
  border: 1px solid #6a6a6a;  
}



/* #testimony */

#testimony{
  position: relative;
}
#testimony .bck{
    background-image: url(../creatives/img/smoke1.jpg);
    width: 100%;
    height: 100%;
    background-size: cover;
    position: absolute;
    background-position: center;
    top: 0;
    bottom: 0;
    z-index: -1;
    opacity: .3;
}



/* ------ course2 ------ */

/* #accordion-syllabus */



#accordion-syllabus .accordion-item{
  background-color: #000;
  border-width: 0;
}
#accordion-syllabus .accordion-button,
#accordion-syllabus .accordion-button:not(.collapsed){
  width: initial;
  background-color: #000;
  box-shadow: none;
  padding-left: 0;
}
#accordion-syllabus .accordion-button:focus{
  box-shadow: none;
}
#accordion-syllabus .accordion-button::after{
  margin-left: 15px;
  margin-top: -7px;
}
#accordion-syllabus .accordion-body{
  padding: 0;;
}


/* ------ Register Page ------- */

#successRow .alert{
  color: #fff;
  background-color: #B6433A;
  border-color: #B6433A;  
}















/* flickity slider */


.carousel-cell {
  width: 70%;
  height: 200px;
  margin-right: 28px;
  border-radius: 5px;
  margin-bottom: 100px;
}
.carousel-cell .video-wrapper{
  opacity: 0.7;
  -webkit-transform: scale(0.85);
          transform: scale(0.85);
  -webkit-filter: blur(3px);
          filter: blur(3px);
}
.carousel-cell.is-selected .video-wrapper{
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-filter: none;
          filter: none;
}
.carousel-cell .carousel-info{
    padding: 20px 20px;
    text-align: center;
    opacity: 0;
}
.carousel-cell.is-selected .carousel-info {
    opacity: 1;
}
.carousel-cell .carousel-info .sname{
    margin-bottom: 5px;
}
.flickity-wrap .next,
.flickity-wrap .prev{
  position: absolute;
  z-index: 1;
  top: calc(50% - 65px);
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  width: 42px;
  font-size: 35px;
  padding: 0;  
}
.flickity-wrap .next{
  right: -30px;
}
.flickity-wrap .prev{
  left: -30px;
}
@media screen and ( max-width: 575px ) {
  .carousel-cell {
    width: 80%;
    margin-bottom: 165px;
    height: 270px;
  }
  .flickity-wrap .next{
    right: 0;
    top: calc(50% - 85px);
  }
  .flickity-wrap .prev{
    left: 0;
    top: calc(50% - 85px);
  }  
}
@media screen and ( min-width: 768px ) {
  .carousel-cell {
    height: 400px;
  }
}
@media screen and ( min-width: 960px ) {
  .carousel-cell {
    width: 40%;
  }
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.video-wrapper video{
    width: 100%;
    height: 100%;
    object-fit: cover;    
    
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s;
    padding: 5px 0 0 11px;
    opacity: 0;    
}
.carousel-cell.is-selected .play-btn {
    opacity: 1;
}









@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}


main{
    width: 100%;
}




