*, *:before, *:after {
   padding: 0;
    margin:0;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
@media (min-width: 980px) {
span label {
    display: initial;
    color: /*#3C404E*/#000;
	font-size: 20px;
}
.square-content span {
	font-size:20px;
}
}
@media (max-width: 979px) {
span label {
    display: initial;
    color: /*#3C404E*/#000;
	font-size: 17px;
}
.square-content span {
	font-size:17px;
}
}
a {
    cursor: pointer;
	/*color: #335ee7;*/
}
form#frmRicercaDisponibilitaPortale {
    margin: 0px;
}
#cerca {
    position: relative;
    bottom: 4px;
    cursor: pointer;
    border: 2px solid #cc0000;
    border-radius: 10px;
    background-color: #fff;
	color: #000;
    padding: 3px 12px 3px 12px;
}
span#arrivo_trigger {
	position: relative;
}
span#partenza_trigger { 
	position: relative;
}
input#dataIn{
    width: 50%;
    height: 34px;
    position: relative;
    bottom: 0px;
    background: url(../images/showcal.gif);
    background-position: right center;
    background-repeat: no-repeat;
    border-radius: 4px;
    border: 2px solid #cc0000;
    color: #3C404E;
    cursor: pointer;
}
input#dataOut{
    width: 50%;
    height: 34px;
    position: relative;
    bottom: 0px;
    background: url(../images/showcal.gif);
    background-position: right center;
    background-repeat: no-repeat;
    border-radius: 4px;
    border: 2px solid #cc0000;
    color: #3C404E;
    cursor: pointer;
}
input#adulti {
    width: 51px;
	height: 34px;
    border-radius: 4px;
	border: 2px solid #cc0000;
    color: #3C404E;
	position: relative;
    top: 2px;
	background: /*#294c6c*/#fff;
}
.square-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    /*float: left;*/
	max-height:185px;
}
.square-box:before {
    content:"";
    display: block;
    padding-top: 10%;
}
.square-content {
    position: absolute;
    top: 5px;
    left: 5px;
    bottom: 5px;
    right: 5px;
    /*color: white;*/
    /*background: #294c6c;*/
	height:50px;
}
.square-content div {
    display: table;
    width: 100%;
    height: 100%;
}
.square-content span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: white;
    padding: 2px 0px;
    overflow: hidden;
	width: 45%;
}

div#blocco-sinistro {
    width: 0%;
    float: left;
}

div#booking-in {
    width: 50%;
    float: left;
	line-height: 0.2;
}

div#blocco-destro {
    width: 50%;
}
#img-cal-a{
    position: relative;
    bottom: 2px;
}

#img-cal-p{
    position: relative;
    bottom: 2px;
}

@media (min-width: 1242px) and (max-width: 4024px) {
.square-content span {
    padding: 0px 30px;
}
}
@media (min-width: 1px) and (max-width: 1141px) {
.square-content span {
    padding: 2px 0px;
}
}
/*
@media (min-width: 1px) and (max-width: 940px) {
.square-content span {
    padding: 2px 24px;
}
}*/
@media (min-width: 1px) and (max-width: 979px) {
.square-box {
    max-height: 177px;
}

.square-box:before {
    padding-top: 30%;
}
.square-content {
	height:177px;
}
div#booking-in {
    line-height: 1.4;
}
.square-content span {
    padding: 2px 114px;
}
div#blocco-sinistro {
    width: 100%;
	height: 0px;
    float: none;
}

div#booking-in {
    width: 100%;
    height: 50px;
    float: none;
}

div#blocco-destro {
    width: 100%;
    height: 25px;
}

input#dataIn {
    width: 90%;
}
input#dataOut {
    width: 90%;
}

span#persone {
    line-height: 2.5;
}
input#adulti {
    height: 29px;
    width: 34px;
}

@media (min-width: 1px) and (max-width: 780px) {
.square-box {
    max-height: 177px;
}

.square-box:before {
    padding-top: 30%;
}
.square-content {
	height:177px;
}

.square-content span {
    padding: 2px 77px;
}
input#dataIn {
    width: 80%;
}
input#dataOut {
    width: 80%;
}

}
@media (min-width: 1px) and (max-width: 600px) {
.square-box {
    max-height: 210px;
}

.square-box:before {
    padding-top: 50%;
}
.square-content {
	height:210px;
}

.square-content span {
    padding: 2px 55px;
}

input#dataIn {
    width: 78%;
}
input#dataOut {
    width: 78%;
}
}
@media (min-width: 1px) and (max-width: 500px) {
.square-content span {
    padding: 2px 20px;
}

}
@media (min-width: 1px) and (max-width: 380px) {
.square-box {
    max-height: 177px;
}

.square-box:before {
    padding-top: 55%;
}
.square-content {
	height:177px;
}
input#dataIn {
    width: 85%;
}
input#dataOut {
    width: 85%;
}
.square-content span {
    padding: 2px 0px;
}
}
/**/