*, *: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, .square-content select
{
	/*margin: 0px auto 0;*/
  margin: 0px;
  width: 100%;
  height: 35px;
  position: relative;
  background: #252d52 !important;
  bottom: 0px;
  border: 1px solid rgba(127,160,198,.14);
  border-radius: 4px;
  color: #8b9fb9;
  font-size: 16px;
  padding: 3px;
}

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 rgb(63, 156, 193);
  border-radius: 0px;
  background-color: rgb(63, 156, 193);
  color: #fff;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  width: 90%;
  height: 70px;
  line-height: 60px;
  margin: 10px 0px 0px 0px;
  text-transform: uppercase;
}

#cerca:hover
{
  background-color: #c1b086;
}

span#arrivo_trigger
{
	position: relative;
  /*width: 49%;*/
}

span#partenza_trigger
{
	position: relative;
  /*width: 49%;*/
}

span#fuoritutto
{
  position: relative;
}

input#dataIn, input#dataOut
{
  background-color: #252d52;
  background-image: url(../images/showcal.gif);
  background-position: right 0.9em top 1em;
  background-repeat: no-repeat;
  background-size: 15px;
  border-radius: 0px;
  cursor: pointer;
}

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;
}

select:required:focus:invalid
{
  outline: 1.5px ridge red;
}

select:required:focus:valid
{
  background-image: url(../images/valid.png) !important;
  background-position: right top !important;
  background-repeat: no-repeat !important;
}

select: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: 70px;
	text-align: center;
  margin: 0;
	padding: 0;
  float: right;
}

.square-box
{
  position: relative;
  width: 100%;
  overflow: hidden;
  /*float: left;*/
	height:220px;
	background: transparent;
	border: 0px solid #ffcb00;
	border-radius: 0px;
	max-width:100%;
  margin: 0em auto;
  z-index: 100;
}

.square-box:before
{
  content:"";
  display: block;
  padding-top: 0%;
}

.square-content
{
  position: absolute;
  top: 5px;
  left: 0px;
  bottom: 5px;
  right: 0px;
  /*color: white;*/
  background: #252e59;
  height: 220px;
  max-width: 1150px;
  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: 2% 2% 0% 2%;
  overflow: hidden;
  width: 50%;
  height: 70px;
  font-size: 13px;
  margin: 0px auto;
  float:left;
}

div#blocco-sinistro
{
  width: 100%;
	height: 0px;
  float: none;
}

div#booking-in
{
  width: 50%;
  height: 70px;
  float: left;
  text-align: center;
  line-height: normal;
  margin: 0px auto;
}

div#blocco-destro
{
  width: 50%;
  height: 70px;
  float: left;
  text-align: center;
  line-height: normal;
  margin: 0px auto;
}

div#blocco-finale
{
  width: 50%;
  height: 70px;
  float: right;
  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: 0px) and (max-width: 767px)
{
  .square-box
  {
  	height:1150px;
    margin: 0 auto;
  }

  .square-content
  {
  	height:auto;
    margin: 0 auto;
  }

  div#booking-in
  {
  	width: 100%;
  	float: none;
  	margin: 0px;
  }

  div#blocco-destro
  {
  	width: 100%;
  	float: none;
  	margin: 0px;
  }

  div#blocco-finale
  {
    width: 100%;
    float: none;
    margin: 0px;
  }

  .square-content span
  {
    padding: 2% 2% 0% 2%;
    width: 100% !important;
    height:115px;
  }

  #book-search
  {
  line-height: 78px;
  }

  #cerca
  {
    width: 100%;
    height: 78px;
    line-height: 78px;
    margin: 27px 0% 0% 0%;
  }
}
