@import url('https://fonts.googleapis.com/css?family=Cabin');
@import url('https://fonts.googleapis.com/css?family=Anton');
@import url('https://fonts.googleapis.com/css?family=Raleway');

.white{
	background-color: white;
	box-shadow: 0 2px #bfbfbf;
}

.inline{
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-bottom: 15px;
}

.inline h4{
	margin-bottom: 0;
	margin-left: 8px;
	margin-top: 3px;
}

.inline ul{
	font-family: Cabin;
}

.scrollToTop {
	visibility: hidden;
	opacity: 0;
	display: block;
	color: #fff;
    position: fixed;
    bottom: 12px;
    right: 15px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: rgba(0,0,0,.4);
	border-radius: 100%;
	z-index: 1;
	transition: all linear .15s;
}

.scrollToTop:hover{
	background-color: rgba(0,0,0,.7);
}

.home{
	height: 100vh;
	width: 100%;
	position: relative;
	overflow-x: hidden;
	background: linear-gradient(rgba(82,160,242,.75),rgba(82,160,242,.75)),url(../img/background_image.png);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
    flex-direction: column;
	color: #fff;
	text-align: center;
}

.home .frase{
	flex: 1 1 0;
	justify-content: center;
	align-items: center;
	display: flex;
	flex-direction: column;
}

.frase div{
	position: absolute;
	padding: 0 20px;
}

.saber_mais{
	cursor: pointer;
	margin-bottom: 1.1rem;
}

.saber_mais h6{
	font-size: 1.8rem;
	font-weight: bold;
}

.nav-item{
	font-size: 1.2rem;
	font-weight: bold;
}

i{
	font-size: 2.9rem;
}

section:not(:first-child){
	text-align: center;
	background-color: #e5edf3;
}

section:nth-child(4){
	padding-bottom: 45px;
}

.separator{
	height:1px;
	background:#717171;
	border-bottom:1px solid #E2DEDE;
	margin-bottom: 15px !important;
	width: 35%;
    margin: 0 auto;
}

.gradient{
	background: -webkit-gradient(linear,left top,right top,color-stop(0,rgba(0,0,0,0)),color-stop(35%,rgba(0,0,0,.09)),color-stop(70%,rgba(0,0,0,.09)),color-stop(100%,rgba(0,0,0,0)));
    background: -o-linear-gradient(left,rgba(0,0,0,0) 0,rgba(0,0,0,.09) 35%,rgba(0,0,0,.09) 70%,rgba(0,0,0,0) 100%);
    background: -moz-linear-gradient(left,rgba(0,0,0,0) 0,rgba(0,0,0,.09) 35%,rgba(0,0,0,.09) 70%,rgba(0,0,0,0) 100%);
	border-bottom: 0px !important;
}

.image-slider{
	width: 100%;
	display: flex;
	margin-bottom: 1.3rem;
	position: relative;
	white-space: nowrap;
	overflow: hidden;
}

.image-slider div:not(.next):not(.previous):not(.controls), .image-slider div img{
	height: auto;
	min-height: 180px;
	max-height: 500px;
	position: relative;
	width: 33vw;
}

.dots{
	letter-spacing: 2.5px;
}

.dots i{
	font-size: 0.75rem;
	cursor: pointer;
}

#carousel p{
	font-weight: bold;
	font-size: 1.25rem;
	margin-bottom: 0;
}

.controls{
	display: flex;
	position: absolute;
	align-items: center;
	top: 0;
	bottom: 0;
	justify-content: space-between;
	width: 100%;
	background-color: rgba(29, 26, 26, 0.3);
	z-index: 200;
}

.next, .previous{
	width: 40px;
	height: 40px;
	background-color: transparent;
	border-radius: 100%;
	cursor: pointer;
	color: #fff;
	transition: all linear 0.15s;
}

.next:hover, .previous:hover{
	background-color: white;
	color: black;
}

.next i, .previous i, .scrollToTop i{
	font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.next{
	margin-right: 15px;
}

.previous{
	margin-left: 15px;
}

.special_row{
	background-color: #97d5ff;
	padding: 50px 0;
	width: 100%;
	font-family: Anton;
}

#corpo_clinico .special_row{
	padding-top: 60px;
	padding-bottom: 0;
	background-color: #53c0ff;
}

.special_row h3, .special_row h4{
	font-weight: inherit;
}

.special_row ul{
	text-align: left;
	padding: 0;
	font-size: 1.25rem;
}

.special_row .inline h4{
	text-align: left;
}

.special_row p{
	display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
	margin-bottom: 0.6rem;
}

.special_row p i{
	font-size: 0.5rem;
	margin-right: 7px;
}

.row .col-xl-3 .separator{
	width: 90%;
	margin-bottom: 20px !important;
}

#special_col .col-xl-3, #special-col .col-lg-6, .especialidades, .contacte-nos, footer .col-md-8{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contacte-nos{
	flex-direction: row;
	justify-content: left;
}

#contactos .col-lg-6, #form div:last-child{
	flex-direction: column;
	display: flex;
}

.fa-minus-circle, .fa-plus-circle, .fa-plus, .fa-minus, .fa-pencil-alt, .fa-facebook-square, .fa-calendar-alt, .fa-twitter-square{
	font-size: 1.9rem;
}

.especialidades ul{
	font-size: 1.1rem;
    padding-left: 40px;
    font-family: Cabin;
    margin-bottom: 15px;
	list-style-type: circle;
}

#special_col{
	margin-bottom: 40px;
}

.special_row .row{
	margin: 0 -15px;
}

.special_row form .row{
	margin: 20px -15px;
}

.col-xl-3 div, .col-xl-6 div, .col-xl-4 div{
	margin-bottom: 50px;
}

#corpo_clinico .row:last-child .col-xl-3:last-child div:last-child{
	margin-bottom: 0;
}

.tab{
	width: 85%;
	height: 45px;
	background-color: #7df4ff;
	border-radius: 8px;
	font-size: 1.15rem;
	padding: 8px 0;
	cursor: pointer;
	display: flex;
    align-items: center;
    margin: 0 auto 30px;
	justify-content: space-between;
}

.tab p{
	margin-bottom: 0;
	margin-left: 15px;
	font-family: Anton;
}

.tab i{
	margin-right: 15px;
}

.acordos_img{
	width: 85%;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.5);
	padding: 20px 0;
	margin-top: -30px;
}

.acordos_img .row{
	margin: 0 -15px;
}

.acordos_img img{
	height: 110px;
	margin-bottom: 40px;
}

.acordos_img .row:last-child img{
	margin-bottom: 0;
}

.mgb-0{
	margin-bottom: 0;
}

#map{
	border:0; 
	width: 100%;
	height: 500px;
	pointer-events: none;
}

#contactos .container-fluid{
	padding: 0 70px;
	text-align: left;
}

#contactos h4{
	font-family: Anton;
	font-weight: 400;
}

#contactos p, #contactos .container-fluid i{
	margin-left: 5px;
}

#contactos .container-fluid i{
	cursor: pointer;
	transition: 0.2s;
}

#contactos .container-fluid .fa-facebook-square:hover{
	color: #4267b2;
}

#contactos .container-fluid .fa-twitter-square:hover{
	color: #1da1f2;
}

#contactos p span{
	font-weight: bold;
}

.col-lg-5 .row{
	margin: 25px -15px;
}

#contactos .special_row{
	background-color: #383838;
	color: #fff;
	font-family: Raleway;
}

#contactos .special_row h3{
	margin: 0 0 0 8px;
	font-family: Anton;
}

input, textarea, select{
	width: 100%;
    font-family: Raleway;
    background-color: transparent;
    border: 0;
	outline: 0;
    color: #fff;
    padding-left: 5px;
    border-bottom: 2px solid #696969;
}

select, option{
	cursor: pointer;
}

#form_marcacoes input, #form_marcacoes textarea, #form_marcacoes select{
	border-color: #a7a7a7;
}

#contactos .special_row input::placeholder, #contactos .special_row textarea::placeholder{
	color: #a0a0a0;
}

#form_marcacoes input::placeholder, #form_marcacoes textarea::placeholder, #form_marcacoes input::placeholder{
	color: #6b6b6b;
}

.box select{
	height: 33px;
	color: inherit;
	padding: 0;	
}

input:-webkit-autofill, textarea:-webkit-autofill{
	-webkit-text-fill-color: #fff !important;
	box-shadow: 0 0 0 16px #383838 inset;
}

textarea{
	height: 35px;
	resize: none;
}

.g-recaptcha{
	justify-content: center;
	margin: 30px 0 20px;
	display: flex;
}

form p{
	color: #969696;
    font-size: 1rem !important;
}

footer{
	padding-top: 25px;
	background-color: transparent;
	font-family: Raleway;
}

footer img{
	width: 25%;
	display: inline-block;
	padding-left: 25px;
}

footer p, footer a{
	margin: 15px 0;
	color: #656565;
	display: block;
	transition: 0.2s;
}

footer a:hover{
	font-weight: bold;
}

.overlay{
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: block;
  overflow-y: hidden;
  z-index: 1030;
}

.box{
	background-color: #d0d0d0;
	width: 60%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 45px 40px 40px;
	z-index: 1031;
}

.box input{
	color: black;
}

.box input:-webkit-autofill, textarea:-webkit-autofill{
	-webkit-text-fill-color: #000 !important;
	box-shadow: 0 0 0 16px #d0d0d0 inset;
}

.box h3{
	font-family: Anton;
	font-weight: inherit;
}

.box button:disabled{
	color: #fff !important;
}

#results_marcacoes p{
	margin-bottom: 0;
}

@media (max-width: 991.98px){
	.container-fluid{
		padding: 0 40px;
	}
	
	.home{
		height: 100vh !important;
	}
	
	.navbar-light .navbar-nav .nav-link,.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{
		border: 0px;
	}
	
	.btn-outline-secondary{
		margin-left: 0;
	}
	
	.nav-item:last-child{
		padding: .5rem 0;
	}
	
	.acordos_img .row:last-child .col-lg-6:not(:last-child) img, .acordos_img .row:last-child .col-lg-4:not(:last-child) img{
		margin-bottom: 40px;
	}
}

@media (max-width: 768px){
	#corpo_clinico .special_row{
		padding-bottom: 25px;
	}
	
	footer img{
		width: 55%;
		padding-left: 0;
	}
	
	.carousel{
		width: 70%;
	}
}

@media (max-width: 576px){
	.box label, .box input, .box p{
		font-size: 1rem;
	}
	
	.box{
		padding: 30px 20px;
		width: 80%;
	}	
	
	.box h3{
		font-size: 1.1rem;
	}
}

@media (max-height: 900px){
	.box{
		height: 80%;
		overflow: auto;
	}
}

