/*
*Theme Name:     CozyStay Child Theme
*Theme URI: 	 https://cozystay.loftocean.com/
*Description:    CozyStay child theme for user customization
*Author:         Loft.Ocean
*Author URI:     http://www.loftocean.com
*License: 		 GNU General Public License v2 or later
*License URI: 	 http://www.gnu.org/licenses/gpl-2.0.html
*Tags: 			 full-width-template, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready
*Template:       cozystay
*Text Domain: 	 cozystay-child
*Version:        1.0
*/

 /** Add your styles below **/
/*Visioni bbar*/
.booking .close-button {
	display:none;
}
.bmg-widget-bbar label{
	font-family: var(--heading-font);
	width: 100%;
    display: block;
}
.bmg-widget-bbar.form-inline * + *{
    margin-left: 0!important;
}
#bmgbar {
	padding: 22px 29px;
}
#bmgbar .elementor-widget-container{
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-wrap: wrap;
}
#my_bbar,
#my_cro {
	padding:0 6px;
}
#my_bbar {
	width: 81%;
}
#my_cro {
	width: 19%;
}
.bmg-widget-bbar, .bmg-widget-bbar .input-group, .guests-select{
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
}

.bmg-widget-bbar > .form-group{
	max-width: 25%;
	flex-basis: 25%;
}
.guests-select > .form-group {
	max-width: 50%;
	flex-basis: 50%;
}
.bmg-widget-bbar .form-group{
	padding: 0 5px;
}
.bmg-widget-bbar > .form-group:nth-child(-n + 2) {
	position:relative;
	padding-left: 44px;
	padding-right: 25px;
}
.bmg-widget-bbar > .form-group:nth-child(-n + 2):after,
.guests-select > .form-group:first-child:after  {
	content:"";
	display:block;
	height:100%;
	width:1px;
	background:#ffffff;
	position:absolute;
	top:0;
	bottom:0;
	right: 12px;
}
.bmg-widget-bbar > .form-group:nth-child(-n + 2) label{
	cursor:pointer;
}
.bmg-widget-bbar .input-group-addon {
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	display:flex;
	align-items:center;
	cursor:pointer;
}
.bmg-widget-bbar input,
.bmg-widget-bbar select {
	border:0;
	padding: 0;
    line-height: 1;
    height: auto;
	cursor:pointer;
}
.bmg-widget-bbar select {
	display: block;
}
.bmg-widget-bbar, .guests-select {
	/*margin: 0 -5px!important;*/
	padding: 0 !important;
}
.guests-select-detail {
    display: flex;
    flex-wrap: wrap;
    padding: 5px !important;
    width: 210px;
    background: #f8f5f1 !important;
    top: 56px !important;
    border-radius: 0 !important;
    border: 1px solid #e8dfd6 !important;
    box-shadow: unset !important;
    justify-content: center;
}
.guests-select-detail:before {
    content: "";
    top: -7px;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 7px solid #f8f5f1;
    position: absolute;
    display: inline-block;
    left: 25px;
}
.guests-select-detail > .form-group {
	width:33.33333%;
	padding: 8px;
}
.bmg-widget-bbar .text-warning,
.guests-select-detail label {
	display:none;
}
.guests-select-detail select {
	display: block;
	color:#0C342E;
}
.guests-select-detail:before {
	left: 35%!important;
}
#my_bbar_do_book {
	cursor: pointer;
    background: #ab916c;
    border: 1px solid white;
    color: #000000;
	width: 100%;
    height: 48px;
}
#my_bbar_do_book:hover {
	background: #0C342E; /*00443d*/
    color: #ffffff; 
}
#my_bbar_do_book:disabled {
	opacity:0.5;
}
#crobtn {
	font-family: "Crimson Text", Sans-serif;
	display: flex;
    width: 100%;
    height: 48px;
    justify-content: center;
    align-items: center;
    border: 1px solid;
	
}
#crobtn:hover{
	color:#000000;
	background:#F3F3F0;
}
/*calendario*/
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
	margin: 0!important;
	padding: 5px;
	height: auto;
	border: 0;
	width: auto!important;
}
.ui-datepicker-calendar .ui-dp-from a, .ui-datepicker-calendar .ui-dp-from a:hover,
.ui-datepicker-calendar .ui-dp-to a, .ui-datepicker-calendar .ui-dp-to a:hover {
    background-color: #ede6dc!important;
    box-shadow: inset 0 9px 9px -9px #ede6dc, inset 0 -9px 9px -9px #ede6dc!important;
}
.ui-datepicker-calendar .ui-dp-btw a {
    color: #ede6dc!important;
    box-shadow: inset 0 9px 9px -9px #ede6dc, inset 0 -9px 9px -9px #ede6dc!important;
}
/*Visioni widget offerte*/
.bmgoffer{
	display:none;
}
.img_box {
	height: 290px;
	background-size: cover;
	background-position: center;
	margin: 10px 0 0 10px;
	transition: all 0.3s;
}
.img_box a:after {
	content:"";
	display:block;
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	border: 1px solid #E1D7CD;
	transform: translate(0px, 0px);
	transition: all 0.3s;
	will-change: transform, width, height;
}
.img_box:hover {
	margin: 0px;
	height: 300px;
}
.img_box:hover a:after {
	    width: calc(100% - 20px);
    height: calc(100% - 20px);
    transform: translate(10px, 10px);
}
.img_box a{
	height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
	text-align: center;
	background: rgba(0,0,0,.3);
	padding: 28px 80px 72px 70px;
}
.img_box h4 {
	color:#ffffff;
	font-size: 26px;
}
.swiper-button-next:after, .swiper-button-prev:after {
	color: #ffffff;
}
.offbtn {
	position: absolute;
    bottom: 24px;
    right: 36px;
    background: #ffffff;
	color:#000000!important;
    padding: 3px 10px;
    text-transform: uppercase;
}
.swiper-button-next, .swiper-button-prev {
	background: #ffffff;
    width: 50px!important;
    height: 50px!important;
    border-radius: 50%;
}
.swiper-button-next {
	right: 15px!important;
}
.swiper-button-prev {
	left: 15px!important;
}
.swiper-button-next:after, .swiper-button-prev:after {
	color:#000000;
	font-size: 16px!important;
}
/*responsive*/
@media (min-width: 768px) {
	.booking {
		display:block!important;
	}
}
@media (max-width:1200px){
	/*bbar*/
	.bmg-widget-bbar > .form-group:nth-child(-n + 2) {
		padding-left: 30px;
	}
	/*offerte*/
	
}
@media (max-width:1024px){
	/*bbar*/
	#my_bbar {
		width:100%;
	}
	.bmg-widget-bbar {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.bmg-widget-bbar > .form-group {
		max-width: 33.33333%;
		flex-basis: 33.33333%;
	}
	.bmg-widget-bbar > .form-group:nth-child(2):after  {
		display:none;
	}
	.bmg-widget-bbar > .form-group:nth-child(3){
		order: 4;
		max-width: 66.6666%;
		flex-basis:66.6666%;
		padding: 13px 0px 0px 0px;
	}
	#my_bbar, #my_cro,
	.bmg-widget-bbar .form-group {
		padding: 0px;
	}
	.bmg-widget-bbar input {
		width: 100%;
	}
	.guests-select > .form-group {
        padding: 0 30px;
	}
	.bmg-widget-bbar select,
	#my_bbar_do_book {
		/*min-width: unset;
		width: 100%;*/
	}
	.guests-select-detail:before {
		left: 22% !important;
	}
	#crobtn {
		position: absolute;
		right: 0px;
		bottom: 0;
		width: 33.3333%;
		text-align: center;
	}
}
@media (max-width:991px){
	/*offerte*/
	.img_box {
		height: 40vw;
		min-height: 300px;
	}
}
@media (max-width: 767px) {
	/*bbar*/
	html.pbook header,
	html.pbook .to-top.show{
		visibility:hidden!important;
		opacity:0!important;
	}
	.booking {
		margin: 0!important;
		z-index: 9999!important;
	}
	.booking > div {
		position: fixed!important;
		top: 0;
		bottom: 0;
		display: flex;
		align-items: center;
		right: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.5);
	}
	.booking .close-button {
		display:block;
	}
	.bmg-widget-bbar > .form-group {
		max-width: 50%;
		flex-basis:50%;
	}
	.bmg-widget-bbar > .form-group:nth-child(3),
	.bmg-widget-bbar > .form-group:nth-child(4){
		order: unset;
		max-width: 100%;
		flex-basis: 100%;
		margin-top: 10px;
		margin-bottom: 15px;
	}
	.bmg-widget-bbar .input-group-addon {
		display:none;
	}
	.bmg-widget-bbar > .form-group:nth-child(-n + 2) {
		padding-left: 0;
	}
	#my_cro{
		width: 100%;
	}
	#crobtn {
		position: relative;
		width: 100%;
		/*margin-top: 15px!important;*/
	}
	.guests-select-detail {
		top: unset !important;
		left: unset !important;
		transform: unset !important;
		position: relative !important;
		width: 100%;
		border-radius: 0!important;
		padding: 0 !important;
	}
	.bmg-widget-bbar, .bmg-widget-bbar .input-group, .guests-select {
		align-items: flex-start;
	}
	.guests-select > .form-group {
        padding: 0 0px;
    }
	.guests-select-detail .form-group {
		width: 50%;
		padding: 8px;
	}
	/* offerte */
	.img_box a {
		padding: 28px 60px 72px 52px;
	}
	.swiper-button-next, .swiper-button-prev {
		width: 42px !important;
		height: 42px !important;
	}
}
@media (max-width:480px) {
	.ui-datepicker.ui-datepicker-multi {
		left:0!important;
		width: 100%!important;
		box-sizing: border-box;
	}
	.ui-datepicker-multi .ui-datepicker-group {
		float: none!important;
		width: 100%!important;
	}
}