html, body {
    height: 100%;
    margin: 0;
    cursor: default;   
}

:root {
    --red: #C80009;
    --lightred: #FF0209;
    --darkred: #8C0004;
    --blue: #1B2369;
    --lightblue: #3340AB;
    --darkblue: #12184B;
}

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: auto;
    margin-right: auto;
    width: 100%;
}

section { height: auto; }


/* text */

.white-text {color: white;}
.blue-text { color: var(--blue); }
.red-text { color: #b70008; }

p {
    color: #252525;
    padding: 0;
}

/* titles */

h2 {
    font-weight: bold;
    color: var(--darkblue);
}

h3 {
    color: var(--red);
    font-size: 22px;
}

h4 {
    line-height: normal;
}

/* 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: var(--red); }


/* 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;}

/* 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: var(--blue);
    color: #fff;
}

.btn-blue:hover {
    background: var(--darkblue);
    color: #fff;
}
.btn-blue:focus {
    color: white;
}

.btn-white {
    background: white;
}
.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: linear-gradient(to bottom, #00000087 0%, rgba(0,0,0,0) 98%);
    color: white;
    transition: 0.3s ease-in;
}

.nav {
    justify-content: center;
}

.navbar-nav {
    align-items: center;
}

nav .nav-link {
    color: white;
    padding-right: 2.3rem!important;
    padding-left: 2.3rem!important;
}

nav .nav-link:hover,
nav .nav-link:active,
nav .nav-link:focus {
    color: var(--red);
}

.nav-item .btn-white {
    padding: 5px 8px;
}

/* 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);}

.navbar-toggler svg {
    fill: white !important;
}

.scroll .navbar-toggler svg {
    fill: #12184B !important;
}

/*mobile*/

.scroll-mobile-top {
    background: #fcfcfc;
    transition: 0.3s ease-in;
    box-shadow: 0px 4px 9px 2px rgba(0, 0, 0, 0.25);
}

.scroll-mobile-top .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: 60px;
    transition: .5s ease-in-out;
}

.navbar-brand {
    height: auto;
}


/* FOOTER */

footer img { width: 100px; }

footer { font-size: 14px; }

footer .bg-darkblue { color: #ccc; }

footer a { color: #ccc!important; }

footer a:hover { color: var(--red)!important; }


/* geral components */

/* cards */
.card {
    min-height: 350px;
    border: none;
    box-shadow: 4px 4px 6px rgba(138, 138, 138, 0.18);
}

/* /////////////  PAGES \\\\\\\\\\\\\\\\ */

/* HOME */

#home_services .card {
    margin-bottom: -20px;
    z-index: -1;
}

#home-about .col-sm-4 {
    margin-top: 15px;
}

.tracking-card { background-color: #303030a2; }

.form-control-tracking {
    background: white;
    border: none;
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    padding-left: 15px;
}

.slogan {
    display: flex;
}

/* CONTACTOS */

.contact-form {
    background-color: white;
    padding: 40px 80px;
    box-shadow: 0px -3px 9px rgb(178 178 178 / 50%);
}

.card-contacts {
    width: 150%;
}

.map {
    margin-top: -160px;
    margin-bottom: -6px;
}

/* SERVICES */

#services .col-sm-6 {
    padding: 0;
}

.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;
}

/* .carousel-mooving .img:hover img{
    width: 110%;
    
} */

/* 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%; }



/* 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; }

/* 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;
}


/* CUSTOM SHAPES */


/* top */

.custom-shape-divider-top {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(110% + 1.3px);
    height: 90px;
    margin-left: -5%;
}

.custom-shape-divider-top .shape-fill { fill: #ececec; }

.custom-shape-divider-top .shape-fill-white { fill: white; }


/* bottom */

.custom-shape-divider-bottom {
    position: relative;
    top: -55px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    rotate: 180deg;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(110% + 1.3px);
    height: 90px;
    margin-left: -5%;
}

.custom-shape-divider-bottom .shape-fill { fill: #a50005;
}

.custom-shape-divider-bottom .shape-fill-white { fill: white; }





/*  MEDIA  */

/* $grid-breakpoints: (
  xs: 0,
  sm: 576px,
  md: 768px,
  lg: 992px,
  xl: 1200px,
  xxl: 1400px
); */


/* so no xl deste e q faz o lg */


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .service { display: flex; }

    footer { height: 350px; }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1600px) { 
    
}






/* // X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { }

/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    
    /*header*/
    .navbar-nav {
        margin-top: 75px;
    }
    
    .nav > .show .nav {
        background: white;
    }
    
    /*home*/
    
    .mockup { height: 42vh !important; }
    
    .title-home { margin-top: 20vh !important; }
    
    .tracking-card { padding: 20px; }
    
    .solution-icon { width: 30px !important; }
    
    #home_services .title { margin-top: 50px; }
    
    #home_services .card h2 {
        white-space: unset !important;
    }
    
    #home-about .col-sm-12{ margin-top: 20px; }
    
    #home-contacts img {
        width: 100% !important;
        margin-top: 30px;
    }
    
    #home-contacts {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    #home-recruitment { padding-top: 55px !important; }
    
    /*contacts*/
    
    .card-contacts {
        width: 100%;
        padding: 10px 0px 40px 0px;
    }
    
    .contact-form { padding: 15px 10px; }
    
    .map { margin-top: 40px; }
    
    .custom-shape-divider-top { top: -1px; }
    
    
    /*services*/
    
    #services img {
        width: 100% !important;
        float: unset!important;
        margin: 20px 0!important;
    }
    .row {
        margin: 0 !important;
    }
    
    .carousel-mooving .img {
        padding: 0!important;
    }
    .carousel-mooving .img img{
        margin: 10px!important;
        padding: 0!important;
    }
    
    #services .bg-brown {
        padding-left: 5% !important;
        padding-right: 5% !important;
        margin-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /*about*/
    
    .mission-img {
        margin: -20px;
    }
    
    .mission-text {
        margin: -20px;
    }
    
    .mission-text > div {
        padding-left: 0 !important;
    }
    
    #about img {
        width: 100% !important;
        margin: 10px 0!important;
    }
    
    
    .title-page h1 {
        font-size: 40px;
    }
    
    /*footer*/
    
    footer { height: -webkit-fill-available; }
    
    
    footer .container img {
        padding-bottom: 30px !important;
    }
    
    footer .col-sm-3 {
        margin-top: 10px !important;
    }
    
    .credits {
        padding-top: 10px !important;
    }
    
    .login-header {
        background-position: unset !important;
    }
    
    #login {
        margin: 30px 0;
    }
    
}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 

    .container {
        margin: auto;
        width: 98%;
    }
    
    /*home*/
    
    .slogan { display: block; }
    
    /* about */
    .mission-text { margin-top: 0; }

    .service { display: unset; }

    
}

/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { }

/* // X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {  }



@media (min-width: 1200px) and (max-width: 1400px) {  
    
    .card { min-height: 400px !important; }
}


@media (min-width: 768px) and (max-width: 991.98px) { 
    
    .collapse:not(.show) { display: none!important; }
}


/* 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;
    }
  }