html{height: 100%; min-height: 100%;}

body {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #888;
    line-height: 30px;   
    height: 100%;
    position: relative;
}
.modal-title{color:#000; font-weight: bold;}
.modal-body ul li{color:#000; font-weight: 500;}
.secondary-text{
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #727271;
    line-height: 25px;    
}

.dividetxt{ 
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: 0 auto;
    padding-bottom: 10px;
    color:#FCA900;
    font-weight: bold;
  }
  .dividetxt:before,
  .dividetxt:after {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #FCA900;
    margin: auto 25px;
  }
  

.txt-yellow{color:#FCA900;}
.txt-white{color:#fff;}
.txt-black{color:#000;}
.txt-blue{color:#342D6D;}

h1{font-size: 50px;
    line-height: 50px;
    font-weight: 600;
}

h1 span{
    font-style: normal;
    font-weight: 600;
    font-size: 48px;
    line-height: 48px;
    color:#fff; 
    text-shadow: -1px -1px 0 #342D6D, 1px -1px 0 #342D6D, -1px 1px 0 #342D6D, 1px 1px 0 #342D6D;
}    

h2.title{
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;    
    color: #000000;    
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;  
    margin-bottom: 50px;
}

h2.title::after{
    content: "";
    position: absolute;    
    width: 32px;
    height: 4px;
    left:0;
    bottom: -5px;
    background: #FCA900;   
}

.subtitle{
font-style: normal;
font-weight: 600;
font-size: 28px;
line-height: 36px;
color: #342D6D;
}

.compactheader{background-color: rgba(52, 45, 109, 1);
    transition-duration: 0.5s, 1s;   
}
.fixed-top.mt-5{margin-top: 4rem !important;}

.fixed-top.mt-5.compactheader{margin-top: 52px !important;}

nav.compactheader img{height: 50px;}

.navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .show>.nav-link{color:rgba(52, 45, 109, 1);}

.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,1)}

.navbar-dark .navbar-nav .connectwrapper.active .nav-link{ color:rgba(52, 45, 109, 1);}

.navbar-light .navbar-toggler-icon {
  background-image: url('../images/navbarline.png');
  width: 30px;
  height: 30px;
}

/* nav.compactheader .navbar-nav .nav-link{font-size: 12px;} */
nav.compactheader .py-1{padding-top: 5px !important; padding-bottom: 0px !important;}
/* .contactquick.compactheader .py-3{padding-bottom: 8px !important;} */

.bg-fullheight{    
        /* The image used */
        background-image: url('../images/bg-hero.jpg');      
        /* Full height */
        height: 90%;      
        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;     
}
.navbar-brand img{
  width: 400px;
}
@media(max-width:700px){
.navbar-brand img{
  width: 200px;
}
}

/*
inspired from http://codepen.io/Rowno/pen/Afykb 
https://stackoverflow.com/questions/26770055/bootstrap-carousel-fade-no-longer-working-with-maxcdn-3-3-bootstrap-min-css
*/

section.carousel{padding-top: 0px;}
.carousel.carousel-fade .carousel-item {
    display: block;
    opacity: 0;
    transition: opacity ease-out .7s;
}

.carousel.carousel-fade .carousel-item.active {
    opacity: 1 !important;
}

#carouselhero.carousel{  
    top:50%;
    transform: translateY(-50%);
    left:0;
    width: 100%;   
    height: 100%;
}

#carouselhero .carousel-inner{overflow: visible;}

#carouselhero .carousel-caption{bottom:-120px;}

/* #carouselhero .carousel-caption.caption2{bottom:-140px;} */

#carouselhero .carousel-caption a{color: #fff; text-decoration: none;}
.banner1{position: relative; top:20em;}
.banner2{position: relative; top:23em; }
.banner3{position: relative; top:27em; }

#carouselhero .banner1, #carouselhero .banner2, #carouselhero .banner3{width: 100%;}

.nav-link{ color: #fff; font-weight: 500; border-radius: 30px;}
.nav-link.active{background-color: #fff; color:#000; border-radius: 30px; }

.nav-link.active:focus, .nav-link.active:hover{color:#000; }
.nav-link:focus, .nav-link:hover {
  color: #fff;
}
.navbar-nav li{margin-right: 20px;}
.btn-quote{ background-color: #FCA900; color:#342D6D; font-weight: bold; font-size: 18px;
border:solid 1px #000000;box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border-radius: 30px;
padding: .6rem 1rem;
}

.btn-quote:hover{ background-color: #fff; color:#342D6D;}

.contactquick.fixed-top {
    z-index: 1030;    
}
.contactquick {
    color: #393976;  
    background-color: #FCA900;
    font-style: normal;
    line-height:20.42px;
    font-weight: 500;
    /* height: 47px;       */
}
.contactquick a{text-decoration: none; color: #393976;}

.social-icons-wrapper{position: absolute; bottom: 50px; left:80px;}

.social-icons-wrapper ul li{margin-bottom: 10px;}

.social-icons-wrapper img{width:50%;}

section{padding-top: 80px;}

.about-cargo ul{margin: 0; padding: 0; margin-top: 50px;}
.about-cargo ul li{margin-bottom: 15px; position: relative; padding-left: 50px;}
.about-cargo ul li::before{content: ''; position: absolute;
    background-image: url(../images/dashed-arrow.png);
    width: 55px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
    left:-22px;
    margin-top: 5px;
}

.benefits ul li{width:calc(100% /4);}

.benefits figcaption{font-style: normal;
    font-weight: 600;
    font-size: 25px;
    line-height: normal;   
    color: #000000;
    margin-top:20px;
}

.services ul {margin: 0; padding: 0;}

.services .wrapper{border:solid 1px #DBDBDB;; border-radius: 5px;}

.services h2{  
    font-weight: bold;
    font-size: 28px;
    line-height: 36px;
    color: #000000;
/* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
}

.services p{
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    color: #000000;
}

.services a{color: #342D6D; text-decoration: none; font-weight: 600;}

.services .bg-blue:hover{ background-color: rgba(52,45,109,0.1);}
.services .bg-red:hover{ background-color: rgba(232,1,49,0.1);}
/* .affiliations{padding-top: 130px;} */

.why-choose-us ul{margin: 0; padding: 0;}
.why-choose-us ul li{border:solid 1px #DBDBDB; border-radius: 5px; position: relative;   
    font-weight: 600;
    font-size: 24px;
    line-height: 50px;    
    color: #000000;
    height: 50px;
    margin-bottom: 20px;
}

.why-choose-us ul li::before{content: '';
    -webkit-clip-path: polygon(0 0, 52% 0, 100% 100%, 0% 100%);
    clip-path: polygon(0 0, 52% 0, 100% 100%, 0% 100%);
    width: 60px;
    height: 48.5px;
    background-color: #E7E7E7;
    position: absolute;
    background-image: url(../images/right-arrow.png);
    background-repeat: no-repeat;
    background-position: 20% center;     
}

.why-choose-us ul li:hover{
    background-color: #342D6D;
    color:#fff;
}

.why-choose-us ul li:hover::before{background-color: #E80131;
    background-image: url(../images/right-arrow-wh.png);
    border-top-left-radius:5px; border-bottom-left-radius: 5px;
}

.why-choose-us ul li span{margin-left: 60px;}

.quickconnect{background-color: #342D6D;}

.quickconnect p{font-weight: 600;
    font-size: 25px;    
    color:#fff;
    margin-bottom: 0;
    }

.request-quote{ background-image: url(../images/bg-request-quote.jpg);
    background-size: cover; background-repeat: no-repeat; background-position: center;
}

.request-quote h2, .request-quote p{color:#fff;}

.request-quote .form-control{background-color: #27215B; border-radius: 5px; border-color:#000; color:#fff;}

.form-floating textarea.form-control {
    padding-top: 32px; /* height of pseudo element */
    min-height: 80px; /* not relevant */
  }

.form-floating>.form-control, .form-floating>.form-select{height: calc(3rem + 5px);}
.form-floating>label{padding:0.75rem .75rem; left:10px;}

.request-quote h2::after{left:50%;}

.connectwrapper.active a{background-color: #fff; color:#000; border-radius: 30px;}

.footer{background-color: #27215B;}
.footer .social-icons-wrapper{position: relative; left:auto; bottom: auto;}
.footer h2{color:#fff;}
.footer a{text-decoration: none; color:#fff;}

#btn-back-to-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    display: none;
  }

/*media queries*/
@media (max-width: 320px){
  .banner1, .banner2, .banner3{display: none !important;}
  #carouselhero .carousel-caption.caption1, #carouselhero .carousel-caption.caption2, #carouselhero .carousel-caption.caption3{top:150px !important;}
  .why-choose-us ul li{font-size: 18px !important;} 
}
 
@media (max-width: 767px){
  .js-scroll{opacity: 1!important;}
  .affiliations {
    padding-top:50px;
}
h1{font-size: 25px; line-height: 34px;}
h1 span{font-size: 38px; line-height: 38px;}
.navbar-nav {background-color: rgba(52, 45, 109, 1); padding: 10px;}
.benefits .list-group-horizontal{flex-direction: column;}
.benefits ul li{width: 100%;}
.social-icons-wrapper{bottom: 150px; left:15px;}
}

@media (max-width: 768px){
    #carouselhero .carousel-caption {
        bottom: unset;
    }
    .navbar-toggler:focus {    
      box-shadow: none;
  }
    .navbar-nav li{margin-right: 0;}
    /* .fixed-top.compactheader{ padding-top: 0.5rem!important;} */
    .dividetxt:before, .dividetxt:after{margin:unset; position: relative;
    bottom: 12px;}
    .dividetxt{width:70%;}   
    .navbar-nav .nav-link {
      padding-right: 5px;
      padding-left: 5px;
  }
  .fixed-top.mt-5 {
    margin-top: 3rem !important;
}
.banner1{top:30rem;}
.banner2{top:33rem;}
.banner3{top:33rem;}
#carouselhero .carousel-caption.caption1 {
  top: 200px;
}
#carouselhero .carousel-caption.caption2 {
  top: 250px;
}
#carouselhero .carousel-caption.caption3 {
  top: 250px;
}
.request-quote form{width: 90%; margin: auto;}
section{padding-top: 30px;}
.why-choose-us ul li{font-size: 20px;}
.services .list-group h2{font-size: 20px;}
.btn-quote{font-size: 14px;}
}

@media (min-width: 576px){
  .modal-dialog {
      max-width: 60%;     
  }
}

@media (min-width: 768px){
    .navbar-expand-md .navbar-nav .nav-link{
        padding-right: 2rem;
        padding-left: 2rem; 
    }
}

@media (min-width:768px) and (max-width:768px){
a.nav-link{font-size: 14px;}
.nav-link{padding:0.2rem 1rem;}
.navbar-expand-md .navbar-nav .nav-link{
  padding-right: 1rem;
  padding-left: 1rem; 
}
.contactquick{font-size: 11px;}
.btn-quote{padding: .4rem 1rem;}
}


@media (min-width:1024px) and (max-width:1200px){
  .bg-fullheight{height: 44%;}
}

@media (min-width:768px) and (max-width:1023px){
  .bg-fullheight{height: 65%;} 
}


@media (min-width:768px) and (max-width:1200px){
  .navbar-nav li{margin-right: 10px;}
  .navbar-expand-md .navbar-nav .nav-link{
    padding-right: 0.75rem;
    padding-left: 0.75rem; 
}
}

@media (min-width:1024px) and (max-width:1400px){
  .banner1{position: relative; top:25em; max-width: 665px;}
  .banner2{position: relative; top:22em; max-width: 980px;}
  .banner3{position: relative; top:22em; max-width: 974px;}
}

@media (min-width:1401px){
  #carouselhero .banner1, #carouselhero .banner2, #carouselhero .banner3{width:70%;}
  .banner1{position: relative; top:25em;}
  .banner2{position: relative; top:30em;}
  .banner3{position: relative; top:31em;}
  #carouselhero .carousel-caption {
    bottom: unset;
    top:190px;
}
}

@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape) {
  .bg-fullheight{height: 78%;}
}

@media (max-device-height: 375px) and (orientation:landscape) { 
  .banner1, .banner2, .banner3{display: none !important;}
  .bg-fullheight {
    height: 90%;
}
}


/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1921px)   
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
  .banner1{position: relative; top:60em;}
  .banner2{position: relative; top:62em;}
  .banner3{position: relative; top:72em;}

  #carouselhero .carousel-caption{top:40em;}
}

/**Styling scrollable elements*/

.js-scroll {
    opacity: 0;
    transition: opacity 500ms;
  }
  
  .js-scroll.scrolled {
    opacity: 1;
  }
  
  .scrolled.fade-in {
    animation: fade-in 1s ease-in-out both;
  }
  
  .scrolled.fade-in-bottom {
    animation: fade-in-bottom 1s ease-in-out both;
  }
  
  .scrolled.slide-left {
    animation: slide-in-left 1s ease-in-out both;
  }
  
  .scrolled.slide-right {
    animation: slide-in-right 1s ease-in-out both;
  }
  
  /* ----------------------------------------------
   * Generated by Animista on 2021-2-11 23:32:31
   * Licensed under FreeBSD License.
   * See http://animista.net/license for more info. 
   * w: http://animista.net, t: @cssanimista
   * ---------------------------------------------- */
  
  @keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-100px);
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slide-in-right {
    0% {
      -webkit-transform: translateX(100px);
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes fade-in-bottom {
    0% {
      -webkit-transform: translateY(50px);
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }


/*banner text animation*/
  .animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
  }
  

  @-webkit-keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-3px, 0, 0);
    transform: translate3d(-3px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(3px, 0, 0);
    transform: translate3d(3px, 0, 0);
  }
}

@keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-3px, 0, 0);
    transform: translate3d(-3px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(3px, 0, 0);
    transform: translate3d(3px, 0, 0);
  }

}

