html, body {
    height: 100%;
    margin: 0;
    cursor: default;   
    scroll-behavior: smooth;
}

:root {
    --red: #C80009;
    --lightred: #FF0209;
    --darkred: #8C0004;
    --blue: #1B2369;
    --lightblue: #3340AB;
    --darkblue: #181E4E;
}

body {
    position: relative;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: #363B4D;
    overflow-x: hidden !important;
    background: white;
}



* {
    border-radius: 0px;
}

*:focus {
    outline: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


/* page sections config */

.container {
    /* margin-left: 5%;
    margin-right: 5%; */
    padding: 20px 0;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

section { height: auto; }


/* text */

.white-text {color: white;}
.blue-text { color: #181E4E; }
.red-text { color: #b70008; }

p {
    color: #252525;
    padding: 0;
}

/* titles */

h1 {
    color: #181E4E;
    font-size: 35px;
    font-style: italic;
    font-weight: 700;
    line-height: 44px;
    margin: 5px 0;
}

h2 {
    font-weight: bold;
    color: var(--darkblue);
}

h3 {
    color: #5591CD;
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    line-height: 30px; 
    margin: 5px 0;
}

h4 {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px; /* 220% */
}

h5 {
    color:  #263371;
    font-family: Poppins;
    font-size: 23px;
    font-style: italic;
    font-weight: 600;
    line-height: 44px;
}

p {
    color: #151515;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

p b {
    color: var(--thir_color, #263371);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
}

.center {
    display: flex;
    justify-content: center;
}

/* links */

a {
    text-decoration: none !important;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    cursor: pointer;
}

a:hover { color: #89B4EF; }


/* lists */

ul { padding: 0; }

li {
    list-style: none;
    margin: 5px 0;
}

/* backgrounds */

.bg-darkblue { background-color: var(--darkblue);}
.bg-blue { background-color: var(--blue); }
.bg-grey { background-color: #ececec; }
.bg-lightgrey { background-color: #f7f7f7}
.bg-brown { background-color: #D3BFAF;}
.bg-red { background-color: #a50005;}


.white-bg {background-color: white;}
.dark-blue-bg {background-color: var(--darkblue);}
.light-blue-bg {background: #F3F5FA;}
/* buttons */

.btn {
    border-radius: 10px ;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--darkred);
    color: #fff;
}

.btn-primary a,
.btn-primary a:active,
.btn-primary a:focus,
.btn-primary a:hover {
    color: #fff;
}

.btn-primary-empty {
    background: transparent;
    color: #fff;
    border: 2px solid var(--red);
}

.btn-primary-empty:active,
.btn-primary-empty:hover,
.btn-primary-empty:focus {
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
}

.btn-blue{
    background:  #263371;
    color: #fff !important;
    border: 2px solid #263371 ;
}

.btn-blue:hover {
    background: var(--darkblue);
    color: #fff;
}


.btn-white {
    background: white;
    border: 2px solid #263371 ;
}

.blue-hover a{
    color: white ;
}

.blue-hover:hover {
    background: white;
}

.blue-hover:hover a {
    color: #263371!important;
}

.white-hover:hover {
        background: #263371!important;
}

.white-hover a {
    color: #263371;
}

.white-hover:hover  {
    color: white !important;
}

.white-hover:hover a {
    color: white !important;
}


.btn-white:hover {
    background: rgba(255, 255, 255, 0.815);
}   

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background: none;
    border-bottom: 1px solid white;
}

.btn-white a {
    color: var(--darkblue)!important;
}



.text-red {
    color: var(--red);
}

.title-page {
    bottom: 18px;
    position: absolute;
    left: 5%;
}

.title-page h1 {
    font-size: 45px;
}


/* labels */

label {
    line-height: normal;
}

/* forms  */

.form-control {
    background-color: transparent;
    border-radius: 0!important;
    border:none;
    border-bottom: 2px solid var(--blue);
    padding-left: 0;
    color: var(--blue);
    box-shadow: none;
    font-size: 16px!important;
}

.form-control:focus { border-bottom: 3px solid var(--red); }

.form-control::placeholder { color: #acacac; }


/* NAVBAR */

nav {
    background: var(--white, #FFF);
    box-shadow: 5px 8px 14px 0px rgba(0, 0, 0, 0.13);
}

.navbar-nav {
    display: flex;
    align-items: center;
    float: right;
}

nav .nav-link {
    color: #181E4E;
    text-transform: uppercase;
    padding-right: 2.3rem!important;
    padding-left: 2.3rem!important;
    white-space: nowrap;
}

nav .nav-link:hover,
nav .nav-link:active,
nav .nav-link:focus {
    color: #5591CD;
}

.nav .container {
    display: flex;
    justify-content: space-between;
}

/* on scroll */

.scroll {
    background: #fcfcfc;
    transition: 0.3s ease-in;
    box-shadow: 0px 4px 9px 2px rgba(0, 0, 0, 0.25);
}

.scroll .nav-link {color: var(--blue);}

/* btn-login */
.scroll .btn { background-color: var(--blue); }
.scroll .btn:hover { background-color: var(--darkblue);}
.scroll .btn .nav-link{ color: white !important; }

/* logo */
.logo_nav {
    height: 42px;
    transition: .5s ease-in-out;
}

.navbar-brand {
    height: auto;
}


/* FOOTER */

footer img { width: 170px; }

footer { font-size: 14px; }

footer .bg-darkblue { color: #ccc; }

footer a { color: #ccc!important; }

footer a:hover { color: #89B4EF!important; }


/* geral components */

/* cards */
.card {
    min-height: 350px;
    border: none;
    box-shadow: 4px 4px 6px rgba(138, 138, 138, 0.18);
}


/* modals */

.modal-dialog {
    margin: 30vh auto;
    width:80%;
    max-width: unset!important;
}

.modal-title {
    color: var(--white, #FFF);
    font-family: Poppins;
    font-size: 22px!important;
    font-style: italic;
    font-weight: 600;
    line-height: 44px;
}

.modal-header {
    background-color: #181E4E !important;
}

/* /////////////  PAGES \\\\\\\\\\\\\\\\ */

/* HOME */


#home_services .card {
    margin-bottom: -20px;
    z-index: -1;
}

.tracking-card { background-color: #303030a2; }

.slogan {
    font-size: 28px;
    font-style: italic;
    font-weight: 500;
    line-height: 36px;
}

.slider-container {
    height: 88vh;
    position: relative;
    padding-bottom: 0;
}

.left-side {
    margin-top: auto; 
    margin-bottom: auto; 
    margin-left: 5%;
}

.top-svg {
    width: 40%;
}

#services {
    background: url(/assets/website/img/svg/solutions-bg.svg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: bottom 0px right;
    margin-top: 20px; 
    padding-bottom: 115px; 
    margin-bottom: -115px;
}

/* tabs */

.tab-content {
    padding: 20px;
    background: rgba(127, 127, 127, 0.25);
}

.nav-tabs  .active button{
    color: white !important;
    padding: 10px 20px;
    border: 1px solid #ffffff00 !important;    
    background: rgba(127, 127, 127, 0.25) !important;
}

.nav-tabs button{
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #ffffff1f !important;  
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    background: transparent !important;
    color: white !important;
}

.nav-tabs>li {
    margin-bottom: 0.9px;
}


.form-control-tracking {
    /* background: white; */
    /* border: none; */
    /* border-radius: 8px; */
    padding: 10px;
    padding-left: 15px;


    border-radius: 4px;
    border: 1px solid var(--white, #FFF);
    background: rgba(217, 217, 217, 0.14);
    color: white;
    margin: 0 5px;
}

.form-control-tracking option {
    color: #636363;
}
/* CONTACTOS */


.card-contacts {
    width: 150%;
}

.map {
    margin-top: -160px;
    margin-bottom: -6px;
}

.form-control-contact {
    padding: 10px;
    padding-left: 15px;
    width: 100%;

    border-radius: 4px;
    border: 1px solid var(--white, #FFF);
    color: white;
    background: rgba(217, 217, 217, 0.14);
}

#contacts .container {
    padding: 40px 0;
}

/* SERVICES */

/* #services .col-sm-6 {
    padding: 0;
} */

.blue-overlay {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .service-image {
    width: 100%;
    height: 100%;
  }
  
  .blue-overlay:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    /* height: 20em; */
    background: rgba(38, 51, 113, 0.35);
  }

.service-card {
    border-radius: 4px;
    box-shadow: 4px 5px 6px 0px rgba(0, 0, 0, 0.25);
    background-color: white;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 25px;
    margin-top: -95px;
    position: relative;
}

.carousel-mooving .img {
    height: 250px;
    overflow: hidden;
    
}

.carousel-mooving img{
    width: 100%;
    height: auto;
    padding: 10px;
    object-position: center;
    object-fit: cover;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.carousel-mooving img:hover{
    /* width: 100%; */
    height: auto;
    padding: 10px;
    width: 110%;
    object-position: center;
       -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  cursor: pointer;
}


.btn-close {
    background: url("/assets/website/img/svg/close.svg");
    background-repeat: no-repeat;
    width: 4rem;
    height: 1rem;
    background-size: 35px;
    background-position: right 0 center;
}

/* .carousel-mooving .img:hover img{
    width: 110%;
    
} */


#wine-transport .container {
    padding-bottom: 90px;
}

/* ABOUT */


.mission-text {
    padding-left: 8%;
    padding-right: 5%;
    float: right;
    margin: 60px 0 0 0;
    margin-left: -10%; 
    min-height: 295px;
}

.mission-img { margin-right: -22%; }


.values {
    padding: 130px 0 100px;
}
.value-card {
    border-radius: 4px;
    background: rgba(144, 153, 193, 0.42);
    box-shadow: 4px 5px 6px 0px rgba(0, 0, 0, 0.25);    
    padding: 15px 30px;
    min-height: 240px;
}

.value-card h4 {
    font-style: italic;
    font-weight: 500;
}

.value-card img {
    margin-top: -115px;
}

/* RECRUITMENT */

.recruitment-form .caret { 
    color: #888888; 
    position: absolute;
    right: 22px;
    bottom: 50px;
}

.recruitment-form .form-group {
    margin-bottom: 35px;
}

.recruitment-form select option:first-child{
    color: #888888;
    display: block !important;
}

.recruitment-form select option{
    padding: 10px;
}

#recruitment p {
    margin: 15px 0;
}


.form-contact-inputs {
    padding: 40px 20px 20px;
}


/* MODALS */

.form-control-modal {
    border-radius: 4px;
    border: none;
    background: rgb(126 130 139 / 10%);
    padding: 10px;
    padding-left: 15px;
    width: 100%;

}

.modal-body {
    padding: 40px;
}

/* LOGIN */


/* DOCUMENTS */

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
    background-color: var(--red);
    border-color: var(--red);
}

a.list-group-item:focus, a.list-group-item:hover, button.list-group-item:focus, button.list-group-item:hover {
    background-color: #e3e3e3;
}


.navbar-toggler-icon {
    width: unset;
    height: unset;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 1660px) { 
    .slider-container {
        background-size: 65% !important;
    }
    
    .top-svg {
        left: -45px !important;
    }
    
    .left-side {
        margin-left: 10% !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) { 
    
    .left-side {
        margin-top: 125px;
    }

    .logo_nav {
        height: 35px;
    }
    .be-client-svg {
        top: -60px;
    }

    .container {
        padding: 30px 15px;
    }
    
    /* solucoes */
    #services .white-card {
        margin-bottom: 45px;
    }
    .modal-dialog {
        margin: 20px;
       width:90%; 
    }

    .value-card {
        margin-bottom: 115px;
    }

    #contact-form .small-group .col-xs-12 { padding: 0!important; }
    #ClientModal .small-group .col-xs-12 { padding: 0!important; }
    #RecruitmentModal .small-group .col-xs-12 { padding: 0!important; }

    #contacts .container {
        padding: 30px 15px;
    }

    .top-svg {
        width: 75%;
    }

    .slider-container {
        margin-top: 85px !important;
        background-size: 65vh !important;
    }

}

@media  (max-width: 991px) {
    .navbar-right {
        float: unset!important;
    }
    .navbar-nav {
        float: unset!important;
    }

    .nav .container {
        padding: 6px 10px!important;
    }

    #wine-transport .container {
        padding-bottom: 0;
    }

    #mission .container {
        padding-top: 150px !important;
    }

    #mission {
        margin-top: -3px !important;
    }
   
    footer {
        min-height: 800px !important;
    }

    footer .col-xs-12{
        padding: 10px 30px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .be-client-svg {
        top: -74px;
    }

    #services .white-card {
        margin-bottom: 45px;
    }
    .value-card {
        min-height: 370px;
    }

    #services {
        background: url(/assets/website/img/svg/solutions-sm-bg.svg);
        background-position: bottom 0px right;
        margin-top: 20px; 
        margin-bottom: 0;
        padding-bottom: 115px; 
        background-repeat: no-repeat;
        background-size:cover;
    }


    .collapse:not(.show){
        display: none!important;
    }

    
    .top-svg {
        width: 60%;
    }

    .slider-container {
        margin-top: 85px !important;
        background-size: 65vh !important;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    .value-card {
        min-height: 280px;
    }

    .service-card {
        min-height: 271px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .service-card {
        min-height: 230px;
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .service {
        display: flex;
    }

    footer {
        height: 350px;
    }

    .be-client-svg {
        top: -130px;
    }

    #wine-transport {
        margin-top: 50px;
    }

    #contact-form .container {
        padding: 80px 0;
    }

    .form-contact-inputs {
        width: 70%;
        margin-left: auto; 
        margin-right: auto; 
        padding: 40px 0 20px;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #wine-transport {
        margin-top: 50px;
    }

    .modal-dialog {
        min-width: 50%;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 
    #wine-transport {
        margin-top: 110px;
    }
}






/* // X-Small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
    #services {
        background: url(/assets/website/img/svg/solutions-xs-bg.svg);
        background-position: bottom 0px right;
        margin-top: 20px; 
        margin-bottom: 0;
        padding-bottom: 80px; 
        background-repeat: no-repeat;
        background-size:cover;
    }
}

/* // Small devices (landscape phones, less than 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .form-control-tracking {
        margin: 10px 0;
    }

   

    #services {
        background: url(/assets/website/img/svg/solutions-xs-bg.svg);
        background-position: bottom 0px right;
        margin-top: 20px; 
        margin-bottom: 0;
        padding-bottom: 365px; 
        background-repeat: no-repeat;
        background-size:cover;
    }


}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 

    .container {
        margin: auto;
        width: 100%;
    }

    


    .left-side {
        margin-top: 200px;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    /* about */
    .mission-text {
        margin-top: 0;
    }

    .service {
        display: unset;
    }

    .nav .container {
        display: unset;
    }

    #ClientModal .col-sm-12 {
        padding: 0;
    }


    .modal-body {
        padding: 30px;
    }

    .modal-body button {
        margin: 5px 0;
    }
    
}

/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { }

/* // X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {  }




.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
    background-color: #5391cb;
    border-color: #5391cb;
}




/* slide teste */

.slide-right-first, .slide-right-second, .slide-right-third{
    width: 120%;
  }

  .slide-right-first, .slide-right-second, .slide-right-third{
    animation: 1s slide-right;
  }

  @keyframes slide-right-first {
    from {
      margin-left: -70px;
    }
    to {
      margin-right: -50px;
    }
  }

  @keyframes slide-right-second {
    from {
      margin-left: -45px;
    }
    to {
      margin-right: -25px;
    }
  }

  @keyframes slide-right-third {
    from {
      margin-left: -35px;
    }
    to {
      margin-right: -15px;
    }
  }

