/*

Neaty HTML Template

http://www.templatemo.com/tm-501-neaty

*/
@font-face {
  font-display: swap;
}

body {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 20px;
	font-weight: 300;
	overflow-x: hidden;
}

::selection { background: #9786ba; color: #fff; text-shadow: none; }

a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.row { display: block; }
.tm-left-right-container { width: 100%; }

.tm-blue-bg {
	background-color:#C3B8D7;
	color: white;
}

.tm-blue-text {	color: #9985ba; }
.tm-blue-bg a {	color: white; }

.tm-site-name {
	font-size: 4rem;
	margin-top: 20px;
}

.tm-logo-div { 
	padding-top: 40px; 
	padding-bottom: 40px;
}

.tm-main-nav { display: none; }

.tm-main-nav-ul {
	display: inline-block;
	padding-left: 0;
}

.tm-section { margin-bottom: 60px; }
.tm-welcome-title {	font-size: 2.4rem; }
.tm-section-title {	font-size: 2.2rem; }
.tm-content-div { padding: 40px; }
.tm-margin-b-45 { margin-bottom: 45px; }
.tm-margin-b-30 { margin-bottom: 30px; }
p { line-height: 2; }

.tm-button {
	background-color: #9985ba;
	border: none;
	color: white;
	cursor: pointer;
	display: inline-block;
	font-size: 1.4rem;	
	padding: 18px 35px;
}

.tm-button-wide { padding: 18px 40px; }

.tm-button:hover,
.tm-button:active,
.tm-button:focus {
	background-color: #84ab98;
	color: white;
}

.tm-nav-item:hover a,
.tm-nav-item:active a,
.tm-nav-item:focus a,
.tm-nav-item-link.active {
	color: #ffffff;
    background: #84ab98;
    padding: 0px 10px;
    min-width: 210px;
    display: block;
}

.tm-about-img-container { margin-top: 50px; }

.tm-gallery-container {
	overflow: auto;
	margin-left: -5px;
	margin-right: -5px;
}

.tm-img-container {	float: left; }

.tm-img-container-1,
.tm-img-container-2,
.tm-img-container-3 { 
	margin-bottom: 10px;
	width: 50%; 
}

.tm-img-tn {
	padding-left: 5px;
	padding-right: 5px;
}

.tm-img-tn {
	display: block;
	margin: 0 auto;
}

.tm-contact-right { margin-top: 40px; }

.form-control {
	border-color: #0a6697;
	border-radius: 0;
	color: #4286ab;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 1.3rem;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #4286ab !important;
}
 
input:-moz-placeholder,
textarea:-moz-placeholder { /* Firefox 18- */
	color: #4286ab !important;  
}
 
input::-moz-placeholder,
textarea::-moz-placeholder {  /* Firefox 19+ */
	color: #4286ab !important;  
}
 
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {  
	color: #4286ab !important;  
}

.tm-contact-right {	padding-left: 15px; }
.tm-copyright-p { margin-bottom: 0; }



 

/********************************* CSS Simone *********************************/

.tm-section.room {
    padding: 30px;
    border-radius: 20px; 
    margin-bottom: 30px;
    margin-top: 80px;
}

.tm-section.room.glicine {background: #d9d2e6;}
.tm-section.room.agapanto {background: #dce5ff;}
.tm-section.room.salvia {background: #dae7dd;}

h1.tm-subtitle-text {
    text-transform: uppercase;
    font-size: 16px;
    color: #84ab98; 
    font-weight: bold;
    margin-left: 4px;
    font-family: sans-serif;
}

h3.tm-blue-text { 
	text-transform: uppercase;
    color: #fff;
    text-align: center;
    padding: 15px;
    letter-spacing: 5px;
    font-size: 26px; 
    border-radius: 45px;
    margin-bottom: 20px;
}

.tm-section-title {
    font-weight: bold;
    letter-spacing: -1px;
}

.tm-section.room.glicine h3.tm-blue-text {background: #a292c1;}
.tm-section.room.agapanto h3.tm-blue-text {background: #8093cc;}
.tm-section.room.salvia h3.tm-blue-text {background: #84ab98;}

.icon-content div { 
	font-size: 16px;
    font-weight: 400;
	min-height:80px;
	display: flex;
    flex-direction: row;
    align-items: center;
}

.icon-content .icon {   
	background: #666 no-repeat 13px;
    border-radius: 50px;
    padding: 30px 30px;
    margin: 10px 10px 10px 0;
    display: inline-block;
    vertical-align: middle;
	float:left;
}

.icon.notti { background-image:url(../img/icone/ico_notti.png)}
.icon.animali { background-image:url(../img/icone/ico_animali.png)}
.icon.pulizia { background-image:url(../img/icone/ico_pulizia.png)}
.icon.bagno { background-image:url(../img/icone/ico_bagno.png)}
.icon.wifi { background-image:url(../img/icone/ico_wifi.png)}
.icon.riscaldamento { background-image:url(../img/icone/ico_riscaldamento.png)}
.icon.tv { background-image:url(../img/icone/ico_tv.png)}
.icon.bollitore { background-image:url(../img/icone/ico_bollitore.png)}
.icon.biancheria { background-image:url(../img/icone/ico_biancheria.png)}
.icon.letti { background-image:url(../img/icone/ico_letti.png); }
.icon.mq { background-image:url(../img/icone/ico_mq.png); }
.icon.euro { background-image:url(../img/icone/ico_euro.png);}


a .icon-social { opacity:0.6; margin-top:10px; }
a:hover .icon-social { opacity:1 }


/* Menu */
.tm-main-nav {
	text-align: center;
    display: block!important;
}
.tm-nav-item { 
	list-style:none;
	cursor: pointer;
	font-size: 1.5rem;
	list-style: none;
	padding: 18px 30px;
	transition: all 0.3s ease;
	font-weight:500;
}

/* Form */
.form-group.col2 input {
    width: 48%;
    float: left;
    margin-right: 16px;
	margin-bottom: 1rem;
}

.form-group.col3 select {
    width: 31%;
    float: left;
    margin-right: 14px;
    margin-bottom: 1rem;
    height: 45px!important;
}

.form-group .form-control.last { margin-right:0;}


/* Popup */
#overlay {
  position: fixed; /* Sit on top of the page content */
  display:block; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}
#popup {
	position: absolute;
    top: 50%;
    left: 50%;
    font-size: 27px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    text-align: center;
    padding: 40px;
	border: 2px solid #eee;
}

#popup.green { background:#186418;}
#popup.red { background:#810303;}

#popup:before {
	content: "X";
    background: #333;
    color: #eee;
    position: absolute;
    right: -15px;
    top: -15px;
    border-radius: 50px;
    font-size: 16px;
    padding: 3px 10px;
    font-weight: 900;
    font-family: cursive;
    border: 2px solid #eee;
}


/* Nascondi immagini smarphone */
img.mobile { display:none }



/*******  Responsive  *******/

@media (max-width: 992px) {
	.tm-nav-item {padding: 5px 30px;}
}

@media (max-width: 700px) {
	nav.tm-main-nav { display:none!important;}
}

@media (max-width: 578px) { /* Smarphone */
	img.mobile { display:block }
	img.pc { display:none }
}

@media (max-width: 500px) {
	.form-group.col2 input {width: 47.5%;}
	.form-group.col3 select {width: 30.5%;}
	.form-control { font-size:1.1rem;}
}

@media (max-width: 440px) {
	.form-group.col2 input, .form-group.col3 select {width: 100%; margin-right:0; float:none}
}

@media (max-width: 380px) {
	body {font-size: 17px;}
	body p {line-height: 30px;}
}


/* Media Queries */
@media (min-width: 576px) {
	.container { width: 100%; }
	.tm-site-name { margin-top: 35px; }
	.tm-welcome-title { font-size: 3rem; }
	.tm-img-container-1 { width: 20%; }
	.tm-img-container-2 { width: 33.3334%; }
	.tm-img-container-3 { width: 25%; }
}

@media (min-width: 768px) {
	.tm-about-img-container { margin-top: 0; }
}

@media (min-width: 992px) {
	.tm-main-nav {
		display: flex;
		/*justify-content: center;*/
	}

	.tm-left-column { 
		position: fixed; 
		height: 100%;
	}

	.container { width: 100%; }
	.tm-left-column { width: 30%; }

	.tm-right-column {
		float: right;
		width: 70%;
	}

	.tm-site-name {
	    font-size: 3.3rem;
	    margin-top: 30px;
	}

	.tm-logo-div {
	    padding-top: 50px;
	    padding-bottom: 50px;
	}

	.tm-section { margin-bottom: 100px; }

	.tm-content-div { padding: 80px 40px 30px 80px;	}

	.tm-img-container-1 {
		margin-bottom: 10px;
		width: 33.3334%;
	}

	.tm-img-container-2 {
		margin-bottom: 10px;
		width: 50%;
	}

	.tm-img-container-3 {
		margin-bottom: 10px;
		width: 33.3333%;
	}

	.tm-contact-right { margin-top: 0; }
	
	.form-group.col2 input { margin-right: 10px;}
	.form-group.col3 select { margin-right: 9px;}
}

@media (min-width: 1200px) {		
	.container { width: 100%; }	
	.tm-button-wide { padding: 18px 68px; }
	.tm-img-container-1 { width: 20%; }
	.tm-img-container-2 { width: 33.3333%; }
	.tm-img-container-3 { width: 25%; }
	.tm-contact-right { padding-left: 42px; }
}


@media (min-width: 1500px) {	
	.container { width: 100%; }
	p { margin-bottom: 30px; }

	.tm-gallery-container {
		overflow: auto;
		margin-left: -10px;
		margin-right: -10px;
	}

	.tm-img-tn {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (min-width: 1800px) {
	.container,
	.tm-left-right-container {
	    width: 100%;
	}

	p { margin-bottom: 36px; }

	.tm-gallery-container {
		overflow: auto;
		margin-left: -10px;
		margin-right: -10px;
	}

	.tm-img-container-1 { width: 20%; }

	.tm-img-tn {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (min-width: 1860px) {
	.form-group.col2 input { margin-right: 23px;}
	.form-group.col3 select { margin-right: 20px;}
}

@media (max-height: 860px) {
	.tm-logo-div {
	    padding-top: 45px;
	    padding-bottom: 20px;
	}

	.tm-nav-item { font-size: 1.4rem; }

	.tm-site-name {
		font-size: 2.4rem;
		margin-top: 10px;
	}
}

@media (min-height: 859px) {
	.tm-logo-div {
	    padding-top: 80px;
	    padding-bottom: 50px;
	}

	.tm-nav-item { font-size: 1.5rem; }
}
