@font-face {
    font-family: square721;
    src: url(../fonts/square721-bt/Squ721Rm.ttf);
    font-weight: 300;
}

/******************************************************************
 RESET CSS - Normalize
******************************************************************/



body, img, h1, h2, h3, h4, h5, fieldset { font-family: 'square721', sans-serif; margin: 0; padding: 0; border: 0; resize: none;  }
p { font-family: 'Arial', sans-serif; }
html.no-scroll { overflow-y: hidden!important; }
a, a:hover, a:visited, a:focus { text-decoration: none !important; }
input[type=submit] { cursor: pointer; }
*:focus { outline: none; }
::selection { background: #d90000; color: #fafafa; }
::-moz-selection { background: #d90000; color: #fafafa; }
._v-align { display: inline-block; vertical-align: middle; line-height: normal; }
.relative { position: relative; }
.unstyled { background: none; border: 0; box-shadow: none; list-style: none; margin: 0; padding: 0; line-height: normal; }
.uppercase { text-transform: uppercase; }


.btn-default, .btn-primary { background: #d90000; color: white; line-height:45px; padding: 0px 30px 0px 30px; border-radius: 0px; border: 0px; margin-right:15px; margin-top:10px; }
.btn-default:hover, .btn-primary:hover { background: #ffffff; color: #d90000;}
.btn-primary { float: right; margin: 0px 0px 0px 0px;}
.btn-primary:hover { border: solid 1px #d90000; }
a:focus, a:visited { border: none; }

body .transition-regular { -moz-transition: all 1s; -o-transition: all 1s; -webkit-transition: all 1s; transition: all 1s; }
body .transition-fast { -moz-transition: all 0.5s; -o-transition: all 0.5s; -webkit-transition: all 0.5s; transition: all 0.5s; }
body .transition-very-fast { -moz-transition: all 0.2s; -o-transition: all 0.2s; -webkit-transition: all 0.2s; transition: all 0.2s; }


.cc-theme-edgeless { -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75); }

/******************************************************************
 //////////////////////RESET CSS - Normalize///////////////////////
******************************************************************/

/******************************************************************
 CUSTOM CSS
******************************************************************/



header nav.navbar { padding: 20px 0px; font-size: 15px; }

header nav.navbar li.nav-item { text-transform: uppercase; padding: 0px 15px; position: relative; } 
header nav.navbar li.nav-item::after { content: "."; position: absolute; top: 3px; bottom: 0; right: 0; font-weight: 900; }
header nav.navbar li.nav-item:last-child::after { display: none; }

section { margin: 60px 0px; }
section h2, section h3 { text-transform: uppercase; text-align: center; }
section h2 { color: #d90000; font-weight: 400; font-size: 40px; }
section h3 { color: #000; font-size: 16px; margin-top: 6px; margin-bottom: 40px; }

.sliderhome .slidercut { height: 450px; overflow: hidden; }
.sliderhome .slidercut img {     height: 100%;
    object-fit: cover; }
.sliderhome .item { height: 450px; }
.sliderhome .owl-nav .owl-next { position: absolute; top: 0; bottom: 0; font-size: 56px !important; color: #ccc !important; opacity: 1; right: 20px; }
.sliderhome .owl-nav .owl-prev { position: absolute; top: 0; bottom: 0; font-size: 56px !important; color: #ccc !important; opacity: 1; left: 20px; }

.sliderhome .owl-nav [class*='owl-']:hover { background: none !important;  }

.sliderhome .owl-nav [class*='owl-']:focus { outline: none; }

.sliderhome .slideroverlay { position: absolute; left: 0; right: 0; bottom: 0; top: 0; background-color: #000; opacity: 0.3; z-index: 3; }
.sliderhome .slidertext { position: absolute; left: 0; max-width: 700px; top: 0; bottom: 0; max-height: 140px; right: 0; text-align: center; margin: auto; color: #fff; z-index: 5; }

.sliderhome .slidertext h1 { font-size: 40px; text-transform: uppercase; }
.sliderhome .slidertext h2 { margin-top: 15px; margin-bottom: 40px; font-size: 17px; text-transform: uppercase; font-weight: 700; }


/************* VIATURA ITEM ************/
.viatura-item { -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.3); margin-bottom: 30px; }

.viatura-item .viatura-img-box { position: relative; overflow: hidden; width: 100%; display: block;}
.viatura-item .viatura-img-box img { object-fit: cover; height: 240px; width: 100%; object-position: top center; }
.viatura-item .viatura-img-box .viatura-preco { background: #d90000; color: #fff; font-size: 22px; position: absolute; top: 0; right: 0; text-align: right; padding: 5px 20px; z-index: 99;}

.viatura-item .viatura-info-box .viatura-nome { background: #d90000; color: #fff; font-size: 18px; height: 55px; text-align: center; text-transform: uppercase; display: block; }
.viatura-item .viatura-info-box .viatura-details { padding: 15px 20px; font-size: 13px; font-family: Arial, sans-serif; background-color: #fff; }

.viatura-item .viatura-info-box .viatura-details i { color: #d90000; padding-right: 10px; line-height: 30px; }

.loadmore-button button { text-align: center; color: #fff; background: #d90000; border-radius: 0px; }
.loadmore-button button:hover { color: #fff; } 

.celestino { margin-bottom: 0px; } 
.celestino .background-celestino { background-color: #d90000; }


.celestino .texto-celestino p { font-size: 18px; text-align: justify; }


footer { background: #04333c; padding: 15px; color: #fff; }
footer p { margin-bottom: 0px; font-size: 13px; }
footer p a { color: #fff; }
/*.loadmore-button { margin: -250px -10px 20px -10px;
    padding-top: 150px;
    padding-bottom: 50px;
    position: relative;
    z-index: 9999;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 56%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 56%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 56%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); }*/



.breadcrumb { padding: 0; position: relative; margin-bottom: 0px; }
.breadcrumb .overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: #000; opacity: 0.4;}
.breadcrumb img { object-fit: cover; width: 100%; height: 160px; object-position: center; }
.breadcrumb h2 { text-transform: uppercase; color: #fff; font-size: 40px; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; text-align: center; height: 47px; }

.viatura-heading { background: #d90000; padding: 10px 15px; }
.viatura-heading .viatura-title, .viatura-heading .viatura-price { color: #fff; font-size: 27px; text-transform: uppercase; display: inline-block; }
.viatura-heading .viatura-price { float: right; }

.flexslider { border: none; margin-bottom: 25px; }
#slider.flexslider ul.slides li img { object-fit: cover; height: 400px; width: 100%; }
#carousel.flexslider ul.slides li img { object-fit: cover; height: 100px; width: 100%; }
.flex-direction-nav a { height: 50px; z-index: 1; }

section.viatura .viatura-details h3 { text-align: left; margin-top: 20px; }

section.viatura .viatura-details ul { margin: 0px; padding: 0px; }
section.viatura .viatura-details ul li { list-style: none; margin: 30px 0px; position: relative; }
section.viatura .viatura-details ul li::after { content: ""; position: absolute; bottom: -15px; right: 0; font-weight: 900; height: 1px; background: #ccc; width: 100%; }
section.viatura .viatura-details ul li:last-child::after { display: none; }
section.viatura .viatura-details i { font-size: 20px; color: #d90000; width: 18px; float: right; }

section.viatura .specs { background: #04333c; color: #fff; padding-top: 30px; }
section.viatura .specs h3 { color: #fff; margin-top: 0px; text-align: center; margin-bottom: 20px; }
section.viatura .specs ul li::before { content: ""; position: absolute; top: 0px; right: 0; font-weight: 900; height: 1px; background: #ccc; width: 100%; }
section.viatura .specs ul { margin: 0px; padding: 0px; }
section.viatura .specs ul li { list-style: none; font-family: 'Arial', sans-serif; padding: 20px 0px; position: relative; }

section.viatura .viatura-caracteristicas { font-family: 'Arial', sans-serif; color: #04333c; font-size: 18px; }
section.viatura .viatura-caracteristicas h3 { text-align: left; color: #04333c; margin-top: 40px; margin-bottom: 20px; }
section.viatura .viatura-caracteristicas ul { display: inline-block; padding: 0; margin-right: 60px; vertical-align: top; }
section.viatura .viatura-caracteristicas ul li { list-style: none; }

section.viatura .btn.pedido { font-size: 12px; text-transform: uppercase; background: #d90000; color: #fff; border-radius: 0px; padding: 6px 10px; }



.celestino.contactos { margin-bottom: 60px; margin-top: 0px; color: #fff; }
.celestino.contactos h2 { text-align: left; margin-top: 40px; }
.celestino.contactos h4 { text-transform: uppercase; color: #fff; font-size: 20px; }

.celestino.contactos i { font-size: 20px; color: #fff; }

.celestino.contactos .controw { margin: 20px 0px; font-size: 18px; font-family: 'Arial', sans-serif; }
.celestino.contactos .controw a { color: #fff; }

.btn-contact {
    background: #d90000;
    color: #fff;
    border-radius: 0px;
}

.btn-contact:hover { color: #fff; }
.contactinfo-item .controw i { color: #111; }
.contactinfo-item { color: #111; -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.35); margin: 20px -15px; padding: 5px 15px; }
.pmd-textfield-focused { background-color: #d90000;  }
.pmd-checkbox [type=checkbox]:checked+.pmd-checkbox-label:before { background-color: #d90000; border-color: #d90000; }
.checkbox-inline span { color: #222; }

#contact_results, .captcha, .privacidade{
    color: #333;
}

#submit_triform{
    margin-top: 10px;
}

.politica{
    min-height: 80vh;
    padding-top: 50px;
}

.watsap, .chamada{
    display: none;
}

.background-celestino iframe{
    -webkit-filter: grayscale(70%);
    filter: grayscale(70%);
}

#contact_body input, #contact_body textarea{
    border: none;
    border-bottom: solid 1px;
    border-radius: 0;
}

.sharethis-inline-share-buttons{
    display: inline;
    float: right;
}

#st-1.st-has-labels .st-btn.st-remove-label > span{
    display: inline-block !important;
}

.contact_div {
     display: none; 
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 100vh;
    background-color: rgba(50, 50, 50, 0.5);
}

#contact_form2{
    width: 1110px;
    left: 0;
    right: 0;
    margin: auto;
    margin-top: 15vh;
    background: #fff;
    padding:0 15px
}

.contact_div.active{
    display: block;
}

#fecha{
    color: #d90000;
    float: right;
    font-size: 26px;
}

#viaturas .vendido .viatura-item{
    position: relative;
}

#viaturas .vendido .viatura-item:after{
    position: absolute;
    content: "VENDIDO";
    width: 100%;
    background-color: #fff;
    color: #d90000;
    top: 0px;
    font-size: 22px;
    padding: 5px 70px;
    border-bottom: solid 1px;
}

/******* RESPONSIVE **********/

@media screen and (min-width: 769px) {
    .celestino .background-celestino img { height: 500px; object-fit: cover; width: 100%; }
    .celestino .texto-celestino h2, .celestino .texto-celestino h3, .celestino .texto-celestino p { color: #fff; }
    .celestino .texto-celestino { margin-top: -450px; height: 450px; padding-top: 40px;}
    .celestino.contactos .texto-celestino { margin-top: -620px; height: 640px; }
}

@media screen and (max-width: 992px) {
    header nav.navbar li.nav-item::after { display: none; }

    header nav .navbar-brand img { max-width: 200px; margin-left: 20px; }

    .navbar-toggler { margin-right: 20px; border: none; }

    .sliderhome .slidertext h1 { font-size: 16px; }

    .sliderhome .slidercut { height: 180px; overflow: hidden; }
    .sliderhome .item { height: 180px; }
    .sliderhome .slidertext { max-height: 85px; }
    .sliderhome .slidertext h2 { font-size: 14px; }

    .owl-next, .owl-prev { display: none !important; }


}

@media screen and (max-width: 768px) {
    body { margin-top: 67px !important; }
    .celestino .background-celestino img { height: 200px; object-fit: cover; width: 100%; }
    #celestinotext { margin: 20px 0px; }

    .celestino.contactos, .celestino.contactos i, .celestino.contactos .controw a { color: #000; }
    .contactinfo-item { margin: 20px 0px; }
    iframe.mapcontact { height: 180px !important; }
    .breadcrumb img { height: 120px; }
    .breadcrumb h2 { font-size: 25px; height: 30px; }
    .viatura-heading .viatura-price { float: none; }
    #slider.flexslider ul.slides li img { height: 200px; }
    #carousel { display: none; }
    .watsap, .chamada {
        display: block;
        position: fixed;
        bottom: 25px;
        font-size: 35px;
        margin: 0 auto;
        color: #fff;
        background: #25D366;
        padding: 5px 12px;
        z-index: 9999;
        border-radius: 50%;
        right: 90px;
    }
    
    .chamada{
        background: #B73132;
        right: 15px;
        width: 60px;
        height: 60px;
    }
    
    .watsap{
        background: #25D366;
        right: 85px;
        width: 60px;
        height: 60px;
        padding-left: 15px;
    }
    
    .sharethis-inline-share-buttons{
        margin-top: 15px;
    }
}
