#VideoContainerOuter {
overflow: hidden;	
	
}

#VideoContainer {
	position: relative;
    width: 100%;
    min-height: 100vh;
}
#VideoContainer iframe {
	position: absolute;
    width: 240vh;
    height: 135vh;
	width: 260vh;
    height: 190vh;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.mobile #VideoContainer iframe {

	width: 250vh;
    height: 190vh;

}


div#VideoOver {
    width: 100%;
	height: 135vh;
    position: absolute;
    background-color: white;
    z-index: 2;
    opacity: 0;
}

#VideoContainerOuter {
    height: 100vh;
}

#VideoContainerOuter.noYoutube video {
    width: 100vw;
    height:calc(100vh - 81px);
    object-fit: cover;
}

@media (max-width: 1023px) {
    #VideoContainerOuter.noYoutube video {
        height:100vh;
    }
}

.cta.cta-gallery {
    margin-top: -40px;
    margin-bottom: 20px;
}

.swiper-container-loghi-matrimoni img {
    max-width: 230px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
}



.swiper-container-loghi-matrimoni {
    height: 230px;
}

@media all and (max-width:500px) {
	.swiper-container-loghi-matrimoni {
		height: 170px;
	}	
	.swiper-container-loghi-matrimoni img {
		max-width: 150px;
	}

}


@media all and (max-width:990px) {
	.swiper-container-loghi-matrimoni {
		height: 230px;
	}	
	.swiper-container-loghi-matrimoni img {
		max-width: 190px;
	}

}

@media all and (max-width:991px) {
	.blocchi.decoration-gold.container-full.lista-dintorni .text {
		border: 1px solid #85723f;
		border-bottom: none;
		padding: 20px 50px 20px 10vw;
	}
}

.form-contatti select.ui.dropdown {
	border: none!important;
    border-radius: 0!important;
    border-bottom: 2px solid #003153!important;
	color: rgba(0,0,0,.25)!important;
}

/* fix cookiebot widget */
@media (max-width: 991px) {
    #CookiebotWidget:not(.CookiebotWidget-inactive) {
        bottom: 60px!important;
        left: auto!important;
        right: 10px!important;
    }
}

/*fix no hero*/
body.no-background .booking-custom {
top: 104px;
bottom: auto;
padding: 10px 0;
background-color: #eee;
position: fixed;
}

#modalNews .close {
    color: white;
    border: none;
    background: none;
    position: absolute;
    right: 5px;
    opacity: .8;
}

#modalNews .modal-dialog .modal-content {
    max-width: 600px;
    margin: 0 auto;
}

#modalNews .modal-dialog .modal-content .modal-header {
    background-image: url(/images/baglio-oneto-hotel-sicuro.jpg);
    height: 150px;
    padding: 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    font-family: serif;
}

#modalNews .modal-dialog .modal-content .modal-header h4.modal-title {
    color: white;
    text-shadow: 0 0 10px black;
    width: 100%;
    height: 100%;
    line-height: 130px;
    background-color: fade(black, 30%);
    text-align: center;
    font-size: 1.2rem;
}

@media all and (max-width: 767px) {
    #modalNews .modal-dialog .modal-content .modal-header h4.modal-title {
        font-size: .9rem;
    }
}

#modalNews .modal-dialog .modal-content .modal-footer {
    display: none;
}

@media (max-width: 1023px) {
    header.affix-top .navbar-default .container-full #navbar-id-collapse {
        background: #ffffff;
    }
    header.affix-top .navbar-default .container-full #navbar-id-collapse ul.navbar-nav>li>a {
        color: #111111;
    }
    header.affix-top .navbar-default .container-full #navbar-id-collapse ul.navbar-nav>li.dropdown>a:after {
        border-color: #111 transparent transparent transparent;
    }
}

body.modal-open {
  overflow: hidden;
}