@font-face {
    font-family: "Futura";
    src: url(../fonts/FuturaStd-Medium.otf);
}

.after:after{
    content: '';
    display: block;
    clear: both;
}
.bl{
    font-weight: bold;
}
.mobile-cta{
    display: none;
}


input.error {
background: url(../img/error-input.png) no-repeat right center #ffffff !important;
border: 1px solid #ffa500 !important;
}
input.valid {
background: url(../img/tick-input.png) no-repeat right center #ffffff !important;
border: 1px solid #008000 !important;
}
select.valid {
border: 1px solid #008000 !important;
}
select.error {
border: 1px solid #ffa500;
}



#popup {
	position: relative;
	width: 700px;
	height: 450px;
	margin: 0 auto;
	/*background: url(../img/popup-bg.png) no-repeat;*/
}

#popup .price {
	position: absolute;
	right: 0;
	top: 137px;
	width: 525px;
	height: 266px;
	background: url(../img/popup-price2.png) no-repeat right top;	
	z-index:999;
}

#popup .bottle {
	position: absolute;
}

#popup .bottle.one {
	left: 26px;
	top: 74px;
}

#popup .bottle.two {
	left: 186px;
	top: 74px;
}

#popup .bottle.three {
	left: 95px;
	top: 58px;
}
/*#popup_overlay {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background-color:rgba(0, 0, 0, 0.5);
}*/
#popup_overlay {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #000;
opacity:0.85;
z-index: 9999;
}
#popup {
	position: fixed;
  left: 43%;
  top: 50%;
  margin-left: -260px;
  margin-top: -205px;
  z-index: 9999;
}

#popup1 {
	  position: fixed;
  left: 50%;
  top: 50%;
  margin-left: -350px;
  margin-top: -205px;
  z-index: 9999;
}
@media screen and (max-width: 1110px){
	#sec-2-content {
		background-color: #FFF;
	}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    #outer-wrapper{
/*        background: url(../img/bg-ios.jpg) top center no-repeat;*/
        background-size: 155%;
        margin:0 auto;
        width: 100%;
        min-width: 1300px;
        overflow: hidden; 
    }
    #warning{
        min-width: 1300px;
    }
footer
{
color:red;
}
}
#sec-4-content h1 > img {
	visibility: hidden;
}

@media screen and (max-width: 568px){
   
    #top, #section-2, #section-3, #section-4, #section-5, #section-6{
        width: 100%;
        position: relative;
    }
    #form, #why, #how{
        float: none;
        margin: 0 auto;
    }
    #form{
        margin: 0 auto;
        right: 0px;
        left: 0px;
        top: 49em;
    }
    #form img{
        display: none;
    }
    #sec-2-content h1{
        margin-bottom: 10px;
    }
    #sec-2-content p{
        margin-left: 0px !important;
    }
    #sec-2-content{
        float: none;
        margin-right: 0px;
        width: 91%;
        margin: 0 auto;
        padding: 20px;
        font-size: 13px;
    }
    #mobile-content-fix{
        margin-top: 39em;
    }
    #sec-2-content img{
        width: 100%;
    }
    #sec-2-content p{
        margin-left: 0px;
        width: 100%;
    }
    #sec-2-content p:last-child{
        margin-left: 0px
    }
    #instructions, #up-arrow{
        display: none !important;
    }
    #sec-3-content{
        left: 0px;
        right: 0px;
        top: 0px;
        width: 100%;
        background: none;
    }
    #sec-3-content h1 > img, .n-cta{
        display: none !important;
    }
    #sec-3-content p{
        width: 90%;
        margin: 0 auto;
        margin-top: 35%;
        margin-bottom: 10%;
    }
    #sec-3-cta{
        position: absolute;
        bottom: 78px;
        left: 20px;
    }
    #trainer{
        display: none;
    }
    #girls{
        float: none;
        margin-right: 0px;
    }
    #sec-4-content{
        margin: 0 auto;
        width: 87%;
        margin: 7% auto;
        float: none;
        padding: 20px;
        font-size: 13px;
        border: 2px solid #ccc;
        background: white;
    }
    #before-after{
        width: 90%;
        margin: 0 auto;
        display: block;
        float: none;
    }
    #why-mobile{
        display: block;
        background: white;
        font-size: 12px;
        text-align: center;
        line-height: 18px;
    }
    #why-mobile p{
        width: 90%;
        margin: 30px auto;
    }
    #why-mobile h1 > img{
        width: 100%;
    }
    #sec-5-cta{
        position: absolute;
        bottom: 0px;
        left: 15px;
        z-index: 10;
    }
    #sec-5-content h1{
        margin: 0 0;
    }
    #sec-5-header{
        display: none;
    }
    #sec-5-mobile-header{
        display: block;
        width: 90%;
        margin: 20px auto;
    }
    #sec-5-content{
        width: 95%;
        margin: 0 auto;
    }
    #m-chart{
        display: block;
        width: 100%;
        position: absolute;
        bottom: 0px;
    }
    .girl{
        margin: 0 auto;
        float: none;
        display: block;
        margin-bottom: 20px
    }
    #section-4, #section-6, #section-7{
        display: none;
    }
    #btm-btn{
        margin: 0 auto;
        display: block;
        position: relative !important;
        left: 0px !important;
        bottom: 0px !important;
        top: 55px;
    }
    footer{
        color: black;
    }
}
@media screen and (max-width: 480px){
    #product{
        left: 263px;
    }
    #form{
        top: 43em;
    }
    #warning{
        width: 97.8%;
    }
    #product{
        width: 48%;
    }
    #section-2{
        margin-top: 35em;
    }
    #section-3{
        height: 72em;
    }
    #sec-3-cta{
        position: absolute;
        bottom: 78px;
        left: 20px;
    }
    #sec-3-content p{
        margin-top: 27%;
    }
    #section-4{
        width: 98.5%;
        margin: 15% auto;
    }
    #section-5{
        height: 98em;
    }
    #mobile-content-fix{
        margin-top: 33em;
    }
}
@media screen and (max-width: 320px){
    #warning{
        z-index: 3;
        font-size: 16px;
        width: 96.6%;
    }
    #form{
        top: 53%;
    }
    #section-2{
        margin-top: 24em;
    }
    #sec-2-content{
        padding: 15px;
    }
    #section-3{
        height: 767px;
    }
    #sec-3-content p{
        margin-top: 25.3%;
        margin-bottom: 3%;
        font-size: 14px;
        line-height: 20px;
    }
    #section-3 img{
        width: 80%;
    }
    #sec-3-cta{
        position: absolute;
        bottom: 17px;
        left: 31px;
    }
    #section-4{
        width: 100%;
    }
    #sec-4-content{
        width: 82.3%;
        margin: 15% auto;
    }
    #section-5{
        height: 75em; 
    }
    #girls img{
        width: 53%;
    }
    #mobile-content-fix{
        margin-top: 22em;
    }
    #girls img{
        display: block;
        margin: 23px auto;
    }
    .f19{
        font-size: 14px !important;
    }
    #top-mobile-cta{
        display: block !important;
        position: relative;
        top: 28em;
    }
    #sec-4-m-header{
        padding-top: 40px;
        margin-bottom: 45px;
    }
}