*, *:before, *:after {
   padding: 0;
    margin:0;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.section-slider {
    position: relative;
    z-index: 99;
}
.square-content input, .square-content label{
  font-family: Open Sans,sans-serif;
  font-weight: 400;
  letter-spacing: 0px;
  font-size: 15px;
}
.square-content input {
	margin: 0 auto;
  padding: 5px;
  width: 100%;
  max-width: 238px;
  height: 45px;
  position: relative;
  background-color: #fff !important;
  bottom: 0px;
  border: 1px solid rgba(127,160,198,.14);
  border-radius: 0px;
  color: rgb(102, 102, 102) !important;
  /*font-size: 14px;*/
  font-family: "Cormorant Garamond", Sans-serif;
  font-size: 1.8em;
}
span label {
    display: initial;
    color: #e5e8eb;
	font-size: 12px;
	margin: auto;
}
a {
    cursor: pointer;
}
form#frmRicercaDisponibilitaPortale {
    margin: 0px;
}
#cerca {
  display: inline-block;
  position: relative;
  bottom: 0px;
  cursor: pointer;
  border: 0px solid #a22e37;
  border-radius: 0 3px 3px 0;
  background-color: #a22e37;
  color: #fff;
  padding: 0;
  font-size: 14px;
  font-weight: 300;
  width: 100%;
  max-width: 238px;
  height: 45px;
  margin: 0px 0px 0px 0%;
  text-transform: uppercase;
  text-decoration: none;
}
#cerca:hover {
  opacity: .9;
}
span#arrivo_trigger {
	position: relative;
  /*width: 49%;*/
}
span#partenza_trigger {
	position: relative;
  /*width: 49%;*/
}
span#fuoritutto {
  position: relative;
}
input#dataIn, input#dataOut {
  background-color: #fff;
  background-image: url(../images/showcal.gif);
  /*background-position: right 0.9em top 1em;*/
  background-position: 8.8em;
  background-repeat: no-repeat;
  background-size: 15px;
  border-radius: 0px;
  cursor: pointer;
}
input#dataIn {
border-radius: 3px 0px 0px 3px;
}
input:required:focus:invalid {
  outline: 1.5px ridge red;
}
input:required:focus:valid {
  background-image: url(../images/valid.png) !important;
  background-position: right top !important;
  background-repeat: no-repeat !important;
}
input:required:valid {
  background-image: url(../images/valid.png) !important;
  background-position: right top !important;
  background-repeat: no-repeat !important;
  outline: 1.5px ridge green;
}
#book-search {
  width: 50%;
	line-height: 45px;
	text-align: center;
  margin:0;
	padding:0;
}
.square-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  /*float: left;*/
	height:99px;
	/*background: rgba(0, 0, 0, 0.6);*/
  background: #3c3c3c80;
	border: 0px solid #ffcb00;
	border-radius: 0px;
	max-width:100%;
  margin: 0em auto;
  z-index: 99;
}
.square-box:before {
    content:"";
    display: block;
    padding-top: 0%;
}
.square-content {
    position: absolute;
    top: 5px;
    left: 0px;
    bottom: 5px;
    right: 0px;
    /*color: white;*/
    background: transparent;
	  height:45px;
	  max-width: 952px;
    /*max-width: 1170px;*/
    margin: auto;
}
.square-content div {
    display: table;
    width: 100%;
    height: 45%;
}
.square-content span {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    color: white;
    padding: 0;
    overflow: hidden;
    width: 50%;
    height: 45px;
    font-size: 13px;
    margin: 0px auto;
    float:left;
}

div#blocco-sinistro {
    width: 100%;
	height: 0px;
    float: none;
}

div#booking-in {
  width: 50%;
  max-width: 476px;
  height: 45px;
  float: left;
  text-align: center;
  line-height: normal;
  margin: 0px auto;
}

div#blocco-destro {
  width: 50%;
  max-width: 476px;
  height: 45px;
  float: left;
  text-align: center;
  line-height: normal;
  margin: 0px auto;
}
#img-cal-a{
    position: relative;
    bottom: 2px;
}

#img-cal-p{
    position: relative;
    bottom: 2px;
}

@media (min-width: 501px) and (max-width: 767px) {

    	.square-box {
    		height:105px;
        /*background: rgba(0, 0, 0, 0.81);*/
    	}
    	.square-content {
        max-width: 100%;
    		height:90px;
    	}
    	div#booking-in {
    		width: 100%;
    		float: none;
        max-width: 100%;
    	}
    	div#blocco-destro {
    		width: 100%;
    		float: none;
        max-width: 100%;
    	}
      .square-content div {
        padding: 0 2%;
      }
      .square-content span {
        width: 100%;
        max-width: 50%;
      }
      .square-content input {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
      }
      input#dataIn {
        border-radius: 0px;
      }
      #cerca {
        width: 100%;
        border-radius: 0px;
        max-width: 100%;
      }

}
@media (min-width: 0px) and (max-width: 500px) {

      .square-box {
        height:229px;
        /*background: rgba(0, 0, 0, 0.81);*/
      }
      .square-content {
        max-width: 100%;
        height:180px;
        margin: 0 auto;
      }
      div#booking-in {
        width: 100%;
        float: none;
        max-width: 100%;
      }
      div#blocco-destro {
        width: 100%;
        float: none;
        max-width: 100%;
      }
      .square-content div {
        padding: 0 2%;
      }
      .square-content span, #book-search {
        width: 100%;
        max-width: 100%;
        margin: 5px auto;
      }
      .square-content input {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
      }
      input#dataIn {
        border-radius: 0px;
      }
      #cerca {
        width: 100%;
        border-radius: 0px;
        max-width: 100%;
      }
      input#dataIn, input#dataOut {
        background-position: 14.8em;
      }

}
