/*
Theme Name: immobiliare2023_it
Author: Lilia
Version: 1.0
*/

/*Fonts: Montserrat, Noto Sans*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');


/* Generals */

:root{
    --bs-primary-rgb: 0, 114, 59;
    --bs-link-color:rgb(0, 114, 59);
    --bs-link-hover-color:rgb(0, 114, 59);
}

body{
    color:#1c1b1b;
    font-family: 'Noto Sans', sans-serif; /*'Montserrat',*/
}



/* Carousel */

.carouselExampleControls{
    padding:5%;
}

@media screen and (max-width:678px){
    #carouselExample{
        height:400px;
    }
}



/* Navbar */

.navbar-nav {
    --bs-nav-link-color:#ffffff;
    --bs-navbar-active-color:#ffffff;
    --bs-nav-link-hover-color:#ffffff;
}
.navbar-nav a {
    text-decoration: none !important;
}
.nav-link a {
    color: #ffffff !important;
}

.navbar-nav .nav-link {
    border-bottom: 2px solid transparent !important;
}

.navbar-nav .nav-link:hover {
    border-bottom: 2px solid white !important;
}



 /* Hero */

.hero{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    width: auto;
    height: auto;
    min-height: 800px;
    max-height: 100%;
    margin: 0;
    padding: 0;  
    position: relative;  
    text-shadow: 2px 2px 10px rgb(0, 0, 0);
 }

.hero .btn-outline-light:hover,
.hero .btn-outline-light:focus {
    text-shadow: none;
}

.hero:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to bottom right, rgba(0, 47, 24, 0.9) 70%, rgba(0, 17, 9, 0.3) 100%);
	opacity: .40; 
}



/* Footer */

footer{
    margin-top:100px;
}

footer a{
    color:white;
    text-decoration: none;
}

footer a:hover,
footer a:focus{
    color:white;
    text-decoration: underline;
}



/* Cards */

.white-card {
    transition: box-shadow .3s;
    background-color: rgb(255,255,255);
    text-shadow: 0px 0px 0px;
}

.white-card:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2); 
}

@media screen and (max-width: 678px) {
.carousel-item .card {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    text-shadow: 2px 2px 10px rgb(0, 0, 0);
    width: auto; 
    height: 300px;
    max-height: 100%;
    margin: 0;
    padding: 0;  
    position: relative;      
    }
}

@media screen and (min-width: 678px) {
    .carousel-item .card {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        text-shadow: 2px 2px 10px rgb(0, 0, 0);
        width: 200px; 
        height: 300px;
        max-height: 100%;
        margin: 0;
        padding: 0;  
        position: relative;      
        }
}

.carousel-item .card:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgb(0, 0, 0) 100%);
	opacity: .50; 
}

.carousel-control-next, .carousel-control-prev {
    width: 5%;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
}

.services-img {
    height: 200px; 
}



/* Buttons */

.btn {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-border-radius: 0;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgb(0, 114, 59);
    --bs-btn-border-color: rgb(0, 114, 59);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(0, 114, 59);
    --bs-btn-hover-border-color: rgb(0, 114, 59);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(0, 114, 59);
    --bs-btn-active-border-color: rgb(0, 114, 59);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgb(0, 114, 59);
    --bs-btn-disabled-border-color: rgb(0, 114, 59);
}

.btn-outline-primary {
    --bs-btn-color: rgb(0, 114, 59);
    --bs-btn-border-color: rgb(0, 114, 59);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(0, 114, 59);
    --bs-btn-hover-border-color: rgb(0, 114, 59);
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(0, 114, 59);
    --bs-btn-active-border-color: rgb(0, 114, 59);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgb(0, 114, 59);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: rgb(0, 114, 59);
    --bs-gradient: none;
}



/* Forms */


.wpcf7-form h2,
.wpcf7-form h3 {
	/*color: #2A2D2E;*/
	font-weight: normal;
}

.wpcf7-form {
	padding-top: 30px;
    width: 100%;
}

.wpcf7-form label {
	font-weight: 400;
	display: block;
}

.wpcf7-form input,
.wpcf7-form textarea {
	background: transparent;
	border: none;
	padding: 10px;
	width: 100%;
	color: #000;
	margin: 0 0 15px 0;
	font-size: 15px;
	border-radius: 0px;
	box-shadow: none;
	border-bottom: 2px solid #CCC;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	border-bottom: 2px solid rgb(0, 114, 59);
	box-shadow: none;
}

.wpcf7-form input[type="checkbox"] {
	width: auto;
	padding: 0;
	margin-bottom: 5px;
}

.wpcf7-form input[type="submit"] {
	color: rgb(0, 114, 59);
	border: 2px solid rgb(0, 114, 59);
	font-size: 18px;
	transition: all .3s;
	margin-top: 20px;
} 

.wpcf7-form input[type="submit"]:hover {
	color: #fff;
	border: 2px solid rgb(0, 114, 59);
	background-color: rgb(0, 114, 59);
}

.wpcf7-form input[type="submit"]:disabled {
	border-color: #666;
	color: #999;
	background-color: #fff;
}

.captcha-image {
    width: 100%;
}

#contact-form .form-control {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    background-clip: padding-box;
    border:0;
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#evaluation-form .form-control {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    background-clip: padding-box;
    border:0;
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.navbar .form-control {
    background-color: transparent;
    border:0;
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0;
    color: white;
}

.navbar .form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(255,255,255,.2);
}

.navbar .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white !important;
    opacity: 1; /* Firefox */
}

.navbar .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: white !important;
}

.navbar .form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: white !important;
}



 /* Utilities */

.white-gradient {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    height: auto;
    max-height: 100%;
    margin: 0;
    padding: 0;      
    position: relative;  
}

.white-gradient:before {
    content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to right, rgb(255, 255, 255) 5%, rgba(255, 255, 255, 0.1) 90%);
	opacity: 1; 
}

 .shadow{
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}



/* Tabs */
.nav {
    --bs-nav-link-padding-x: 2rem;
    --bs-nav-link-padding-y: 1rem;
}



/* Icons */

.bi-star-fill {
    color:rgb(255, 217, 0);
}



/* Reviews */

@media screen and (min-width:768px) {
    .feedback {
        height:70px;
    }
}

@media screen and (max-width:768px) {
    .feedback {
        height:40px !important;
    }
}

.user-img {
    border-radius: 50%;
}
