/*=============================================================
    Authour URI: www.binarytheme.com
    License: Commons Attribution 3.0
    http://creativecommons.org/licenses/by/3.0/
    100% To use For Personal And Commercial Use.
    IN EXCHANGE JUST GIVE US CREDITS AND TELL YOUR FRIENDS ABOUT US   
    ========================================================  */

/* Import Section
=================================================================== */
/*=======================================
    GENERAL STYLES
==================================================*/
body 
{
    font-family:'NOW', sans-serif;
    background-color: rgba(255, 255, 255, 0.1);
    max-width:100%;    
}

.label1{
	text-align: right;
	padding:20px;
}

.info1{
	text-align: left;
	padding:20px;

}

.navbar-brand{
    padding-left: 10px;    
}

.nav-li-padding{
    padding-left: 10px;
    font-size: 16px;
}

.nav-li-padding-right{
    padding-right: 20px;
}

.titulo{
    line-height:50px;
    font-weight:900;
    font-size:40px;
    padding:5px 20px 5px 20px;
   
    color:rgba(56, 104, 107, 1);
}

.pad-adjust {
    padding-top: 5px; 
    padding-bottom: 5px;
}

.text-center {
    text-align:center;
}

h2 {
    line-height:50px;
}
h3 {
    line-height:30px;
    padding-bottom:10px;
}
h4 {
   padding-top: 25px;
    line-height: 40px;
    padding-bottom: 0px;
    font-size: 22px;
    font-weight: 900;
}

p {
    font-weight:300;
    line-height:30px;
    padding-bottom:15px;
}

.space-free {
    height:100px;
}

.g-pad-bottom {
    padding-bottom:40px;
}

section {
    padding-top:20px;
    margin-top:20px;
}

.c-blue {
   background-color:rgba(0, 121, 138, 1);
   color:#fff;
}
.form-control {
        background-color: rgba(255, 255, 255, 0);
}

/*=======================================
    HOME SECTION STYLES
==================================================*/
#nav-head{
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 10px;
    padding-right: 10px;
}

.head-btn-one {
    background-color: rgba(252, 64, 101, 1);
     border: 0px solid #fff;

}

#home-sec {

}

#home {
    color:#fff;
	background-image: url('../img/capa.png');
    width: 100%;
    height: 100%;
    background-size: 90%;  
	/* Centra a imagem (para não cortar apenas um lado) */
	background-position: center;
	/* Impede que a imagem se repita se o ecrã for muito grande */
	background-repeat: no-repeat;
	/* Opcional: mantém o fundo fixo ao fazer scroll */
	/*background-attachment: fixed;  */
	/* Define uma altura mínima para garantir que o fundo aparece */
	min-height: 100vh; 
}

.novidades1{
    min-height: 400px;
    background-image: url('../img/logoP.png');
    background-position: bottom center; 
    background-size: 100% 50%;
    background-repeat: no-repeat;
    margin-bottom: 150px;
}

.novidades{
    font-size:60px; 
    font-weight:bold; 
    margin-top: 50px; 
    margin-bottom: 250px; 
    margin-left: 50px; 
    margin-right: 50px;  
    color:rgba(54, 72, 107, 1);
    text-align: center;  
}

.div-head-main{
    margin-top: 200px;
}

.head-main {
    font-size:60px ;
    font-weight:900;    
}
.head-sub-main {
    font-size:40px ;
    font-weight:600;
    padding:5px 20px 10px 20px;
}
.head-last {
    font-size:20px ;
    font-weight:300;
    padding:5px 20px 20px 20px;
}

/* ==========================================================
   NAVBAR CHANGES   
   ============================================================*/
.navbar {
	font-size: 14px;
        max-width: 100%;
}

.navbar-inverse {
	background: #38686B;
}

.navbar-inverse .navbar-nav > .active > a {
	background: #ffffff;
}

.navbar-inverse .navbar-brand {
    color: #ffffff;
    font-weight: bolder;
    font-size: 25px;
    font-weight:900;
    letter-spacing: 2px;
}

.navbar-inverse :hover .navbar-brand:hover {
    color: #ffffff;	
}

.navbar-inverse .navbar-nav > li > a {
    color: #FFFFFF;
}

/*=======================================
    FOOTER STYLES
==================================================*/
#footer {
    background-color:rgba(56, 104, 107, 1);
    color:#fff;
    padding:20px 20px 20px 20px;
    text-align:right;
    min-height: 60px;
}

/*===================================================*/
* {
  box-sizing: border-box;
}

#viaturas-sec{    
     overflow: auto;
  white-space: nowrap;
  max-width: 100%;
}

.row_destaque:after {
  content: "";
  display: table;
  clear: both;  
}

.row_destaque h3 {  
    float: none;
    text-align: center;
    color:rgba(54, 72, 107, 1);
    font-weight: bold;
}

.column_destaque {
    float: left;    
}

.titulo_destaque{
    font-size: 35px;
}

.descricao_destaque{
    padding-top: 10px; font-size: 20px;
}

hr {
    margin: 20px 0;
    border: 1px solid;
    border-color: grey;
    width: 100%; 
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 50px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  max-height: 1000px;
}

.juicebox-container {
   		padding: 0;
		margin: 0;
	}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 50%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/*img {
  margin-bottom: -4px;
}*/

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.descricao_modal{
   position: relative;
   float: right;
   top: 100px; 
   right: 0;      
   padding-left: 10px;
   color: white;
   font-size: 20px;
   overflow: hidden;
}

.escondido_cl{    
    display:none;
    visibility:hidden;
    color: transparent; 
    background-color: transparent; 
    border-color: transparent; 
    cursor: default;
    font-size:0;
    display:block;
    line-height:0;
}

#map{
    width: 100%;
    height: auto;
    min-height: 400px;
}

#pergunta{
    padding-top: 5px; 
    padding-left: 15%; 
    float: left; 
    max-width: 50%;
}

#resultado{
    float: right; 
    max-width: 50%;
}


 #footer {
        padding-left: 30px;
        padding-right: 30px;
    }
	
/*======================================================================*/
/* Higher than 960 (desktop devices)
====================================================================== */
@media only screen and (min-width: 1960px) {

   
	

}

/*======================================================================*/
/* Higher than 960 (desktop devices)
====================================================================== */
@media only screen and (min-width: 960px) and (max-width: 1959px) {


}

/* Tablet Portrait (devices and browsers)
====================================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
 
 
}

/* All Mobile Sizes (devices and browser)
====================================================================== */
@media only screen and (max-width: 767px) {
  

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers)
====================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {


    .titulo{    
        font-size:30px;
        padding:1px 5px 1px 10px;
    }

    .obj_modal{
        max-height: 75%;
    }

    .descricao_modal{
        float: left;
        top: 10px;
        right: 0;      
        padding-left: 10px;
        color: white;
        overflow: auto;
        padding-top: 10px; 
        /*font-size: 12px;*/
    }

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers)
=================================================================== */
@media only screen and (max-width: 479px) {
    
    body {
        font-size: 11px;
        padding: 0px;   
    } 
    
    .div-head-main{
        margin-top: 125px;
    }
    
    .head-main {
        font-size:30px ;
        font-weight:700;  
        padding:1px 1px 1px 1px;
    }
    
    .head-sub-main {
        font-size:15px ;
        font-weight:500;
        padding:1px 1px 1px 1px;
    }
    
    .head-last {
        font-size:12px ;
        font-weight: 100;
       padding:1px 1px 1px 1px;
    }
    
    .titulo{
        line-height:10px;
        font-weight:900;
        font-size:20px;
        padding:1px 1px 1px 1px;
        /*text-transform:uppercase;*/
        color:rgba(54, 72, 107, 1);
    }
    
    .titulo_destaque{
        font-size: 12px;
    }
    
    .descricao_destaque{
        padding-top: 10px; 
        font-size: 12px;
    }

    .modal { 
        top: 0px; 
        max-height: 100%;
    }

    .obj_modal{
        max-height: 75%;
    }

    .descricao_modal{
        float: left;
        top: 10px;
        right: 0;      
        padding-left: 10px;
        color: white;
        overflow: auto;
        padding-top: 10px; 
        /*font-size: 12px;*/
    }

    #home-sec {
        
        max-height: 700px;
        min-height: 400px;
    }

    #home {
        
        background-image: url('../img/capa.png');
        max-height: 600px;
        min-height: 400px;
        /*background-size: 100% 100%;*/
        /*background-position: bottom center; */
    }

    #map{
        min-height: 250px;
    }

    .modal { 
        top: 0px;  
    }

    .col-md-6 col-sm-6 col-md-12 col-sm-12 col-md-12.g-pad-bottom .container .form-control{
        padding: 0px;
        margin: 0px;
    }

    #contact-sec{
        padding: 0px;
        margin: 0px;
    }

    #form1{
        padding: 0px;
        margin: 0px; 
    }
    
    .novidades1{
        min-height: 300px;        
        background-size: 80% 50%;
        margin-bottom: 100px;
        max-width: 99%;
    }

    .novidades{
        font-size: 30px; 
        margin-top: 50px; 
        margin-bottom: 100px; 
        margin-left: 1px; 
        margin-right: 1px;  
    }

}