* {
    font-family: 'Montserrat', sans-serif;
}

.SM-contenitore-body {
    max-width: 1300px;
    border: 1px solid #006557;
    box-shadow: 0 0 10px 1px;
    background-color: #006557;
    position: relative;
    top: -50px;
    border-radius: 7px;
}

.SM-box {
    height: 300px;
    background-color: white;
    margin: 15px;
    box-sizing: border-box;
    padding: 10px;
    max-width: 350px!important;
    float: none!important;
    display: inline-block;
    vertical-align: top;
    color: #006557;
}

.SM-box h2 {
    color: #fdc925;
    font-size: 20px!important;
}

.bottoni-fissi {
    display: none;
}

.SM-header {
    height: 600px;
    background-image: url(background.png);
    background-size: cover;
}

.SM-topbar {
    padding: 15px 0 15px 0px;
}

.table-cont {
    display: table;
    width: 100%;
    height: 450px;
}

.table-cell-cont {
    display: table-cell;
    vertical-align: top;
    text-align: center;
}

.SM-titolo-header h2 {
    font-weight: bold;
    background-color: rgba(0, 101, 87, 0.5);
    color: white;
    /*max-width: 500px;*/
    margin: 0 auto 40px auto;
    font-size: 40px;
}

.SM-sottotitolo-prezzo h2 {
    font-weight: bold;
    background-color: rgba(0, 101, 87, 0.5);
    color: #fdc925;
    margin: 0 auto;
    max-width: 500px;
    font-size: 30px;
}

.freccia {
    background-color: #006557;
    opacity: 0.5;
    border-radius: 50%;
    margin: 0px auto 0 auto;
    width: 70px;
    height: 70px;
}

.freccia2 {
    background-color: rgb(0, 101, 87);
    width: 70px;
    height: 70px;
    margin: 0 auto 30px auto;
    border-radius: 50%;
}

.SM-titolo-body h2 {
    font-size: 30px!important;
    padding: 10px;
    color: white;
    margin: 10px 0
}

.info-appuntamento select {
    color: #777777;
    font-size: 17px;
    display: inline-block;
}

.SM-form {
    background-color: white;
    padding: 30px;
    max-width: 1120px;
    margin: 40px auto;
}

.scelta-1,
.scelta-2,
.scelta-radio {
    display: inline-block;
    margin: 10px 5px;
    color: #777777;
    font-size: 20px;
}

.SM-bottone-form {
    color: #006557;
    background-color: #fdc925;
    padding: 10px 70px;
    font-weight: bold;
    font-size: 20px;
    border: none;
    border-radius: 10px;
}

.SM-titolo-form {
    color: #006557;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
}

.form-group .input-form {
    font-size: 20px;
    border: none;
    border-bottom: 3px solid #fdc925;
    background-color: #ebebeb;
    color: #777777;
    padding-left: 15px;
    box-sizing: border-box;
    display: inline-block;
    width: 440px;
    margin: 20px;
    height: 50px;
}

#mobileform .form-group .input-form {
    width: 80%;
}

.appuntamento-form h2,
.donazione-form h2 {
    color: #777777!important;
    display: inline-block;
    margin-top: 0!important;
}

.testo-app {
    color: #777777;
    font-size: 20px;
    display: inline-block;
}

.checkbox label {
    color: #777777;
}


#mobileform .SM-footer {
    background-color: #006557;
    color: white;
    font-size: 12px;
    padding: 7%;
    text-align: center;
}
#mobileform .SM-footer a {
    color: white;
    text-decoration: none;
}

#mobileform .indietro {
     font-size: 16px;
     margin-bottom: 4%;
 }

#mobileform .SM-topbar {
    background-color: #006557;
    color: white;
    font-size: 30px;
    padding: 15px 0;
    text-align: center;
}
@media (max-width:750px) and (min-width:416px){
	
	.width-bottoni-LS{
		width: 50% !important;
	}

	
	.bottoni-fissi button{
		width: 98% !important;
	}
	
	body{
		/*margin-bottom: 50px;*/
	}
    #main  .SM-footer{
        margin-bottom: 50px;
    }
    .SM-footer{
		/*padding-bottom: 100px;*/
	}
}

@media only screen and (max-width:750px){
	
	
	
	
	 .bottoni-fissi{
        display: block;
        position: fixed;
        bottom: 0;
        width: 100%;
       padding: 0!important;
    }
	
	
	.freccia,
    .freccia2,
    #main .SM-form {
        display: none;
    }
   
    .bottoni-fissi button{
        width: 50%;
        background-color: #fdc925;
        color: #006557;
        border: none;
        font-size: 15px;
        font-weight: bold;
        border-radius: 7px;
        padding: 5px;
    }
    .bottone-chiamata-fisso, .bottone-info-fisso{
        padding: 0!important;
        margin-top: 5px;
    }
	
	.width-bottoni{
		width: 100%;
	}

	
	
}

@media only screen and (max-width:415px) {
    body{
        /*margin-bottom: 150px!important;*/
    }
    #main  .SM-footer{
        margin-bottom: 150px;
    }
    .freccia,
    .freccia2,
    #main .SM-form {
        display: none;
    }
    .bottoni-fissi{
        display: block;
        position: fixed;
        bottom: 0;
        width: 100%;
       padding: 0!important;
    }
    .bottoni-fissi button{
        width: 100%;
        background-color: #fdc925;
        color: #006557;
        border: none;
        font-size: 15px;
        font-weight: bold;
        border-radius: 7px;
        padding: 5px;
    }
    .bottone-chiamata-fisso, .bottone-info-fisso{
        padding: 0!important;
        margin-top: 5px;
    }
	
	.width-bottoni{
		width: 100%;
	}
}

@media only screen and (max-width:376px) {
    .SM-box{
        max-width: 320px!important;
    }
    .SM-titolo-header h2{
        font-size: 35px!important;
    }
    .SM-sottotitolo-prezzo h2, .SM-titolo-body h2{
        font-size: 25px!important;
    }
    .col-md-12.SM-topbar img{
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width:320px) {
    .SM-box{
        max-width: 290px!important;
    }
    .SM-titolo-header h2{
        font-size: 30px!important;
    }
    .SM-sottotitolo-prezzo h2, .SM-titolo-body h2{
        font-size: 20px!important;
    }
}

form{
    position:relative;
}
.loader{
    width:100%;
    height: 100%;
    position:absolute;
    background-color: rgba(0,0,0,0.5);
    top:0;
    left:0;

}
.overlay {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    display: none;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
}
.overlay > div {
    margin: 20% auto 0;
    width: 300px;
    text-align:center;
}
.windows8 {
    height: 90px;
    position: relative;
    width: 90px;
    margin-left:100px;
}
.windows8 .wBall {
    animation: 6.6s ease 0s normal none infinite running orbit;
    height: 86px;
    opacity: 0;
    position: absolute;
    transform: rotate(225deg);
    width: 86px;
}
.windows8 .wBall .wInnerBall {
    background: #FCBA40 none repeat scroll 0 0;
    border-radius: 11px;
    height: 11px;
    left: 0;
    position: absolute;
    top: 0;
    width: 11px;
}
.windows8 #wBall_1 {
    animation-delay: 1.44s;
}
.windows8 #wBall_2 {
    animation-delay: 0.29s;
}
.windows8 #wBall_3 {
    animation-delay: 0.58s;
}
.windows8 #wBall_4 {
    animation-delay: 0.86s;
}
.windows8 #wBall_5 {
    animation-delay: 1.15s;
}

@keyframes orbit {
    0% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: rotate(180deg);
        z-index: 99;
    }
    7% {
        animation-timing-function: linear;
        opacity: 1;
        transform: rotate(300deg);
    }
    30% {
        animation-timing-function: ease-in-out;
        opacity: 1;
        transform: rotate(410deg);
    }
    39% {
        animation-timing-function: linear;
        opacity: 1;
        transform: rotate(645deg);
    }
    70% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: rotate(770deg);
    }
    75% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: rotate(900deg);
    }
    100%, 76% {
        opacity: 0;
        transform: rotate(900deg);
    }
}
@keyframes orbit {
    0% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: rotate(180deg);
        z-index: 99;
    }
    7% {
        animation-timing-function: linear;
        opacity: 1;
        transform: rotate(300deg);
    }
    30% {
        animation-timing-function: ease-in-out;
        opacity: 1;
        transform: rotate(410deg);
    }
    39% {
        animation-timing-function: linear;
        opacity: 1;
        transform: rotate(645deg);
    }
    70% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: rotate(770deg);
    }
    75% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: rotate(900deg);
    }
    100%, 76% {
        opacity: 0;
        transform: rotate(900deg);
    }
}


/* mobile form */



#mobileform .SM-topbar{
    background-color: #006557;
    color: white;
    text-align: center;
    font-size: 30px;
    padding: 15px 0;
}

#mobileform .SM-form {
    background-color: white;
    padding: 10px;
    max-width: 1120px;
    margin: 40px auto;
}

#mobileform .scelta-1,
#mobileform .scelta-2,
#mobileform .scelta-radio {
    display: inline-block;
    margin: 10px 5px;
    color: #777777;
    font-size: 20px;
}

#mobileform .SM-bottone-form {
    color: #006557;
    background-color: #fdc925;
    padding: 10px 70px;
    font-weight: bold;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    margin-top: 50px;

}

#mobileform .SM-titolo-form {
    color: #006557;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
}

#mobileform .form-group .input-form {
    font-size: 20px;
    border: none;
    border-bottom: 3px solid #fdc925;
    background-color: #ebebeb;
    color: #777777;
    padding-left: 15px;
    box-sizing: border-box;
    display: inline-block;
    width: 80%;
    margin-bottom: 40px;
    height: 50px;
    margin-top:0;
}

#mobileform .appuntamento-form h2,
#mobileform .donazione-form h2 {
    color: #777777!important;
    display: inline-block;
    margin-top: 0!important;
}

#mobileform .testo-app {
    color: #777777;
    font-size: 20px;
    display: inline-block;
}

#mobileform .checkbox label {
    color: #777777;
}
#mobileform .SM-footer{
    text-align: center;
    font-size: 12px;
    color: white;
    background-color: #006557;
    padding: 7% !important;
}

#mobileform .SM-footer a{
    color: white;
    text-decoration: none;

}

#mobileform .SM-footer a:hover{
    color: #fdc925;
    text-decoration: none;
}

#mobileform .info-appuntamento select{
    color:#777777;
    font-size: 17px;
}
#mobileform .indietro{
    margin-bottom: 4%;
    font-size: 16px;
}

#mobileform .indietro a{
    text-decoration: none;
    color: white;

}

@media only screen and (max-width: 415px) {
    #mobileform .nome-form, #mobileform .cognome-form, #mobileform .telefono-form, #mobileform .email-form{
        width: 100%;
        margin: 20px 0;
    }
    #mobileform .SM-titolo-form{
        font-size: 15px;
    }
    #mobileform .donazione-form h2{
        margin: 0!important;
    }
    #mobileform .info-appuntamento{
        margin-bottom: 20px;
    }
    #mobileform .SM-bottone-form button{
        font-size: 15px;
    }

}


