body{
    margin: 0;
    background: url(../images/bg.jpg) center top;
	font-family:Tahoma, "Geneva CY", "DejaVu Sans Condensed", sans-serif;
}
/* Код для подключения шрифта в /css/stylename.css */
/* font-family: "SegoeUIRegular"; */
/*@font-face {
    font-family: "SegoeUIRegular";
    src: url("fonts/SegoeUIRegular/SegoeUIRegular.eot");
    src: url("fonts/SegoeUIRegular/SegoeUIRegular.eot#iefix")format("embedded-opentype"),
    url("fonts/SegoeUIRegular/SegoeUIRegular.woff") format("woff"),
    url("fonts/SegoeUIRegular/SegoeUIRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}*/
/* font-family: "SegoeUIBold"; */
/*@font-face {
    font-family: "SegoeUIBold";
    src: url("fonts/SegoeUIBold/SegoeUIBold.eot");
    src: url("fonts/SegoeUIBold/SegoeUIBold.eot#iefix")format("embedded-opentype"),
    url("fonts/SegoeUIBold/SegoeUIBold.woff") format("woff"),
    url("fonts/SegoeUIBold/SegoeUIBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}*/
/* font-family: "SegoeUIItalic"; */
/*@font-face {
    font-family: "SegoeUIItalic";
    src: url("fonts/SegoeUIItalic/SegoeUIItalic.eot");
    src: url("fonts/SegoeUIItalic/SegoeUIItalic.eot#iefix")format("embedded-opentype"),
    url("fonts/SegoeUIItalic/SegoeUIItalic.woff") format("woff"),
    url("fonts/SegoeUIItalic/SegoeUIItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}*/
/* font-family: "SegoeUILight"; */
/*@font-face {
    font-family: "SegoeUILight";
    src: url("fonts/SegoeUILight/SegoeUILight.eot");
    src: url("fonts/SegoeUILight/SegoeUILight.eot#iefix")format("embedded-opentype"),
    url("fonts/SegoeUILight/SegoeUILight.woff") format("woff"),
    url("fonts/SegoeUILight/SegoeUILight.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}*/
/* font-family: "SegoeUISemiBold"; */
/*@font-face {
    font-family: "SegoeUISemiBold";
    src: url("fonts/SegoeUISemiBold/SegoeUISemiBold.eot");
    src: url("fonts/SegoeUISemiBold/SegoeUISemiBold.eot#iefix")format("embedded-opentype"),
    url("fonts/SegoeUISemiBold/SegoeUISemiBold.woff") format("woff"),
    url("fonts/SegoeUISemiBold/SegoeUISemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}*/
.main{
    width: 700px;
    margin: 0 auto;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}
.header{
    background: #323a45;
    min-height: 95px;
    position: relative;
}
.header .logo{
    margin: 0 0 0 40px;
    float: left;
}
.header .logo a{
    text-decoration: none;
    font-size: 28px;
    /*font-size: 39px;*/
    line-height: 95px;
    color: #fff;
}
.header-right-block{
    float: right;
    margin: 0 40px 0 0;
}
.header-right-block a{
    display: block;
    width: 44px;
    height: 44px;
    background: url(../images/right-block-a.png) no-repeat;
    margin: 27px 20px 0 0;
    float: left;
}
.header-right-block span{
    display: block;
    float: left;
    font-size: 21px;
    color: #fff;
    line-height: 95px;
}
.header-bottom{
    width: 21px;
    height: 10px;
    background: url(../images/header-bottom.png) no-repeat;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10.5px;
}
.if{
    text-align: center;
}
.if p.green-text{
    font-size: 27px;
    color: #38ab75;
    margin: 35px 0 15px 0;
}
.if p.black-text{
    margin: 0;
    font-size: 17px;
}
.or{
    font-size: 14px;
    color: #323a45;
    padding: 20px;
}
.facebook{
    background: #f4f4f4;
    padding: 20px 0;
}
.facebook-block{
    width: 495px;
    margin: 0 auto;
    overflow: hidden;
}
.facebook-text{
    width: 220px;
    float: left;
    color: #323a45;
    font-size: 14px;
}
.facebook-text p{
    margin: 4px 0;
}
.facebook-a{
    float: right;
}
.facebook-a a{
    display: block;
    width: 180px;
    height: 46px;
    background: url(../images/facebook.png) no-repeat;
}
.form-block{
    width: initial;
    margin: 0 60px;
    text-align: center;
}
.form-block-text{
    display: inline-block;
    font-size: 14px;
    color: #323a45;
    position: relative;
    padding: 0 0 0 25px;
    margin: 40px 0;
}
.form-block-text span{
    font-size: 30px;
    color: #38ab75;
    line-height: 14px;
    position: absolute;
    top: 13px;
    left: 0;
}
.form-block-text a {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    background: #38ab75;
    text-decoration: none;
    padding: 7.5px 15px;
    margin: 0 3px;
}
.input-block span{
    font-size: 19px;
    color: #adadad;
    position: absolute;
    top: 5px;
    left: 5px;
}
.form{
    display: block;
    width: initial;
    margin: 0 60px;
    overflow: hidden;
}
.input-block{
    width: 280px;
    min-height: 46px;
    position: relative;
    float: left;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 0 20px 0;
    display: block;
}
.input-block-right{
    float: right;
}
.input-block-wide {
    width: 600px;
}
.input-block-wide textarea {
    width: 580px;
    height: 60px;
}
.input-block input{
    height: 44px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 44px;
    border: 2px solid rgba(212, 212, 212, 0.5);
    padding: 0 40px 0 18px;
    font-size: 14px;
    color: #323a45;
}
.input-block input:focus{
    border: 2px solid rgba(212, 212, 212, 1);
}
.input-block img{
    position: absolute;
    top: 0;
    right: 0;
}
.fields-are-required{
    font-size: 14px;
    text-align: center;
}
.fields-are-required p{
    margin: 0;
    display: inline-block;
    position: relative;
    padding: 0 0 0 24px;
}
.fields-are-required p span{
    font-size: 30px;
    color: #38ab75;
    line-height: 14px;
    position: absolute;
    top: 5px;
    left: 0;
}
.fields-are-required p.grey-text{
    font-size: 12px;
    color: #9ca2a9;
    display: block;
}
.verify{
    padding: 20px 0;
    background: #f4f4f4;
    margin: 20px 0;
}
.verify p{
    text-align: center;
    font-size: 14px;
    color: #323a45;
    margin: 0;
}
.captcha-block{
    /*width: 460px;*/
    width: 300px;
    text-align: center;
    display: block;
    overflow: hidden;
    margin: 20px auto 0 auto;
}
.captcha-block-img, .qf2-captcha-image{
    display: block;
    float: left;
    margin: 0 10px 0 0;
}
.captcha-block-img img, .qf2-captcha-image img{
    border: 1px solid #cbcbcb;
    border-radius: 1px;
}
.captcha-block-field, .captcha-block input{
    display: block;
    float: left;
    margin: 0 10px 0 0;
}
.captcha-block-field input, .captcha-block input{
    width: 100px;
    padding: 0 11px;
    height: 44px;
    border: 1px solid #cbcbcb;
    border-radius: 1px;
}
.captcha-block-field input:focus, .captcha-block input:focus{
    outline: 0;
}
.captcha-block-button{
    width: 144px;
    display: block;
    float: left;
}
.captcha-block-button div{
    padding: 0 46px 0 64px;
    height: 46px;
    background: none;
    border: 0;
    color: #565e68;
    font-size: 16px;
    background: url(../images/end.png) #e4e4e4 no-repeat;
    border-radius: 2px;
    cursor: pointer;
    line-height: 46px;
}
.captcha-block-button-ok div{
    background-color: #38ab75;
    outline: 0;
}
.captcha-block-button-ok div{
    background-color: #38ab75;
}
.end-input input{
    display: inline-block;
    width: 280px;
    height: 60px;
    background: #38ab75 url(../images/end-input.png) left no-repeat;
    border: 0;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    border-radius: 2px;
}
.end-input{
    text-align: center;
    margin-bottom: 25px;
}
.end-input input:focus{
    outline: 0;
}
.copyright{
    text-align: center;
    font-size: 14px;
    color: #fff;
    margin: 25px 0 25px 0;
}
.copyright a{
    color: #38ab75;
    text-decoration: none;
    border-bottom: 1px solid #38ab75;
}
.copyright a:hover{
    border: 0;
}
span.ui-selectmenu-button{
    width: 278px !important;
    height: 44px !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
}
.ui-selectmenu-button span.ui-icon{
    width: 76px;
    height: 44px;
    background: url(../images/icon-4.png) no-repeat;
    right: 0 !important;
    top: 0 !important;
    margin: 0 !important;
}
.ui-selectmenu-button:hover span.ui-icon{
}
.clear{
    clear: both;
}
span.ui-selectmenu-button{
    background: none;
}
#speed-menu .ui-menu-item:first-child{
    border-top: 0;
}
#speed-menu .ui-menu-item{
    height: 44px;
    line-height: 44px;
    color: #323a45;
    font-size: 14px;
    border-top: 1px solid #d4d4d4;
    padding: 0 20px;
}
.ui-selectmenu-button span.ui-selectmenu-text{
    display: block;
    height: 44px;
    line-height: 44px;
    padding: 0;
    top: 0;
    left: 20px;
    font-size: 14px;
}
.fields{
    min-height: 46px;
    overflow: hidden;
}
.error-text{
    line-height: 20px;
    font-size: 14px;
    color: #fb5e5e;
    background: url(../images/error.png) right center no-repeat;
}
.input-block-error input, .input-block-error input:focus{
    border: 2px solid #fb5e5e;
    width: 216px;
    height: 42px;
    line-height: 42px;
}
input:focus{
    outline: 0;
}
@media screen and (max-width: 720px) {
    .main{
        width: inherit;
        margin: 0 10px;
    }
    .header-right-block{
        margin: 0 20px 0 0;
    }
    .header .logo{
        margin-left: 20px;
    }
    .header .logo a{
        font-size: 20px;
        /*font-size: 22px;*/
    }
    .header-right-block span{
        font-size: 16px;
    }
    .header-right-block a{
        width: 25px;
        height: 25px;
        background: url(../images/mob-right-block-a.png) no-repeat;
        margin: 38px 20px 0 0;
    }
    .facebook-text{
        width: 100%;
        float: none;
        display: block;
        text-align: center;
    }
    .facebook-text p{
        text-align: center;
        display: block;
    }
    .facebook-a{
        text-align: center;
        float: none;
    }
    .facebook-a a, .facebook-a div{
        margin: 20px auto 20px auto;
    }
    .form-block{
        margin: 0;
    }
    .form-block-text{
        font-size: 12px;
    }
    .input-block, .input-block-right{
        float: none;
        margin: 0 auto 20px auto!important;
    }
    .input-block .input-block-right{
        margin: 0 auto 20px auto !important;
    }
    .captcha-block-img, .captcha-block-field, .captcha-block-button, .qf2-captcha-image{
        width: 280px;
        float: none;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    .captcha-block-field input, .captcha-block input{
        width: 258px;
    }
    .captcha-block-img, .qf2-captcha-image{
        text-align: center;
        height: 46px;
        border:none;
        background:none;
        margin: 0 auto 20px auto;
    }
    .captcha-block-img img{
        border: 0;
    }
    .captcha-block-button{
        background: #e4e4e4;
        margin: 20px auto 0 auto;
    }
    .captcha-block-button:hover, .captcha-block-button:hover input{
        background-color: #38ab75;
    }
	.captcha-block-field, .captcha-block input {
    	float: none;
    	margin: 0 auto;
	}	
    .copyright a{
        width: 133px;
        display: block;
        height: 44px;
        line-height: 44px;
        border: 2px solid #fff;
        border-radius: 2px;
        color: #fff;
        padding: 0 40px 0 60px;
        background: url(../images/book.png) no-repeat;
        background-position: 25px 12px;
        margin: 25px auto 0 auto;
    }
    .copyright a:hover{
        border: 2px solid #fff;
    }
    .copyright a span{
        text-transform: capitalize;
    }
    .facebook-block{
        width: 100%;
    }
    .form{
        margin: 0;
    }
    .captcha-block{
        width: 100%;
    }
}
@media screen and (max-width: 480px){
    .header{
        overflow: hidden;
    }
    .logo{
        width: 100%;
        float: none;
        display: block;
    }
    .header-right-block{
        width: 100%;
        float: none;
        display: block;
        text-align: center;
        overflow: hidden;
        margin: -75px 0 0 0;
    }
    .header-right-block a, .header-right-block span{
        display: inline-block;
        float: none;
        margin: 0;
    }
    .header-right-block a{
        margin-right: 10px;
    }
}
.overflow { height: 200px; }
.ui-selectmenu-open { height: 250px !important; overflow-y: scroll; width: 278px;     }

.input-block.dollar-icon > input {
    background-image: url("../images/icon-0.png");
    background-position: right center;
    background-repeat: no-repeat;
}
.input-block.people-icon > input {
    background-image: url("../images/icon-1.png");
    background-position: right center;
    background-repeat: no-repeat;
}
.input-block.e-mail-icon > input {
    background-image: url("../images/icon-2.png");
    background-position: right center;
    background-repeat: no-repeat;
}
.input-block.phone-icon > input {
    background-image: url("../images/icon-3.png");
    background-position: right center;
    background-repeat: no-repeat;
}
.input-block-wide textarea{
	font-family: Tahoma,"Geneva CY","DejaVu Sans Condensed",sans-serif;
	padding: 20px 0 0 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 14px;
	resize: none;
	border: 2px solid rgba(212, 212, 212, 0.5);
	height: 300px;
}
.input-block-wide textarea:focus{
	border: 2px solid rgba(212, 212, 212, 1);
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-color: rgba(212, 212, 212, 0.5);
}
.ui-selectmenu-button .ui-widget .ui-state-default .ui-corner-all{
	border: 2px;
	border-color: rgba(212, 212, 212, 0.5);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}