
.clearfix:before, .clearfix:after {
    content: '';
    display: table;
}
.clearfix:after {
    clear: both;
}

*::-webkit-input-placeholder {
	color: #7f8690;
	opacity: 1;
}
*:-moz-placeholder {
	color: #7f8690;
	opacity: 1;
}
*::-moz-placeholder {
	color: #7f8690;
	opacity: 1;
}
*:-ms-input-placeholder {
	color: #7f8690;
	opacity: 1;
}

*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: 'pf_dindisplay_pro';
	font-size: 16px;
    color: #3d444f;
    line-height: 1.3;
}

.work{
    width: 100%;
    max-width: 1200px;
    min-width: 320px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.helper{
    width: 100%!important;
    height: 0!important;
    visibility: hidden;
    margin: 0!important;
    padding: 0!important;
}

.hidden {
  display: none !important;
}


input[type='text'],
input[type='password'],
input[type='number'],
input[type='search']{
    width: 100%;
    height: 48px;
    padding: 0 22px;
    background-color: white;
    border: none;
    border-radius: 5px;
    color: #7f8690;
    font-family: 'pf_dindisplay_pro';
    font-size: 15px;

}

input[type='text'].user{
    padding-left: 33px;
    background-image: url(../img/user.png);
    background-position: 11px center;
    background-repeat: no-repeat;
}

input[type='text'].phone{
    padding-left: 33px;
    background-image: url(../img/phone.png);
    background-position: 11px center;
    background-repeat: no-repeat;
}

input[type='text'].mail{
    padding-left: 33px;
    background-image: url(../img/mail.png);
    background-position: 11px center;
    background-repeat: no-repeat;
}

textarea.mess{
    padding-left: 33px;
    background-image: url(../img/user.png);
    background-position: 11px 17px;
    background-repeat: no-repeat;
}

textarea{
    width: 100%;
    height: 48px;
    padding: 15px 22px;
    background-color: white;
    border: none;
    border-radius: 5px;
    color: #7f8690;
    font-family: 'pf_dindisplay_pro';
    font-size: 15px;
    resize: none;
}

input:focus{
    outline: none;
}

textarea:focus{
    outline: none;
}

.btn{
    display: inline-block;
    height: 48px;
    padding: 0 44px;
    font-family: 'pf_dindisplay_pro';
    border: medium none;
    background: transparent;
    cursor: pointer;
    transition: .3s;
    -moz-transition: .3s;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    line-height: 48px;
}

.btn_small{
    height: 38px;
    padding: 0 30px;
    line-height: 38px;
    font-size: 13px;
}

.btn_green{
    background-color: #66c619;
}

.btn_green:hover{
    background-color: #6dd618;
}

.btn_green:active{
    background-color: #57b809;
}

.btn_blue{
    background-color: #0883ea;
}

.btn_blue:hover{
    background-color: #1b93f7;
}

.btn_blue:active{
    background-color: #0275d4;
}

.btn_light{
    background-color: rgba(255, 255, 255, 0.34);
}

.btn_light:hover{
    background-color: rgba(255, 255, 255, 0.5);
}

.btn_light:active{
    background-color: white;
    color: #292929;
}

button:focus{
    outline: none;
}

.transition{
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    -ms-transition: .3s;
}

.sticky{
    width: 100%;
   position: absolute;
   top: 0px;
   left: 0px;
   transition: .3s ease-in-out;
   -moz-transition: .3s ease-in-out;
}


/*Header*/
.header{
    width: 100%; 
    display: block;
    background: #fff;
    position: relative;
    z-index: 3;
}

.header .inner{
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

.header .left{
    width: 25%;
    float: left;
    padding-right: 15px;
}

.header .center{
    width: 50%;
    float: left;
    padding-top: 11px;
}

.header .right{
    width: 25%;
    float: left;
    padding-left: 15px;
    text-align: right;
}

.header .logo{
    display: inline-block;
    vertical-align: middle;
}

.header .logo img{
    max-width: 100%;
}

.nav{
    text-align: center;
    list-style: none;
}

.nav li{
    display: inline-block;
    vertical-align: middle;
    margin-left: 36px;
}

.nav li:first-child{
    margin-left: 0;
}

.nav li a{
    display: block;
    color: #3d444f;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px dashed transparent;
}

.nav li:hover > a,
.nav li.active a{
    color: #0883ea;
    border-color: #0883ea;
}

.header .phone{
    display: inline-block;
    color: #3d444f;
    font-size: 19px;
}

.header .phone i{
    color: #66c619;
    font-size: 16px;
    margin-right: 4px;
}

.header .phone span{
    color: #66c619;
    font-size: 35px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.burger{
    width: 30px;
    display: none;
    vertical-align: middle;
}

.burger span{
    display: block;
    height: 4px;
    margin-bottom: 6px;
    background: #3d444f;
}

.burger span:last-child{
    margin-bottom: 0;
}

/*Intro*/
.intro{
    width: 100%; 
    display: block;
    background: url(../img/intro/intro_bg.jpg) center top no-repeat;
    background-size: cover;
    position: relative;
    z-index: 2;
}

.intro .inner{
    padding-top: 70px;
    padding-bottom: 145px;
}

.intro h1{
    margin-bottom: 15px;
    max-width: 700px;
    color: white;
    font-size: 55px;
    font-weight: 700;
}

.intro .subtitle{
    display: block;
    margin-bottom: 30px;
    color: white;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.4;
}

.intro .cols{
    margin: 0 -6px;
}

.intro .col{
    max-width: 291px;
    margin-bottom: 25px;
    width: 33.33%;
    float: left;
    padding: 0 6px;
}

.intro .col:last-child{
    
}

.agree{
    margin-top: 10px;
}

.custom{
    float: left;
}

.custom > input[type="checkbox"] {
    display: none;
}

.custom > span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/intro/check.png) center center no-repeat;
    border-radius: 3px;
}

.custom > input[type="checkbox"]:checked + span {
   background: url(../img/intro/checked.png) center center no-repeat;
}

.agree p{
    padding-top: 2px;
    margin-left: 30px;
    color: #7897d1;
    font-size: 14px;
}

.agree p a{
    color: inherit;
    text-decoration: underline;
}

.title_block{
    display: block;
    margin-bottom: 45px;
    text-align: center;
    color: #292929;
    font-size: 40px;
    font-weight: 200;
}

.sub_block{
    display: block;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    color: #292929;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.sub_block:before{
    content: "";
    width: 180px;
    height: 1px;
    background-color: #d8d8d8;
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -90px;
}

.sub_block:after{
    content: "";
    width: 40px;
    height: 3px;
    background-color: #66c619;
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-bottom: -1px;
    margin-left: -20px;
}

/*Advantages*/
.advantages{
    width: 100%; 
    display: block;
    background: #fff;
    position: relative;
    z-index: 1;
}

.advantages .inner{
    padding-top: 30px;
    padding-bottom: 50px;
}

.advantages .items{
    margin: 0 -15px;
}

.advantages .item{
    width: 25%;
    float: left;
    padding: 0 15px;
    margin-bottom: 30px;
    color: #3d444f;
    font-size: 21px;
    font-weight: 300;
    text-align: center;
}

.advantages .item .icon{
    min-height: 70px;
    margin-bottom: 20px;
}

.advantages .item span{
    display: block;
}

/*Services*/
.services{
    width: 100%; 
    display: block;
    background: #f8f8f8;
    position: relative;
    z-index: 1;
}

.services .inner{
    padding-top: 55px;
    padding-bottom: 75px;
}

.services .items{
    margin: 0 -15px;
}

.services .item{
    width: 25%;
    float: left;
    padding: 0 15px;
    margin-bottom: 30px;
}

.services .item > div{
    height: 253px;
    background-color: #8ecc56;
    position: relative;
}


.services .item:nth-child(1) > div{
    background-color: #8ecc56;
}

.services .item:nth-child(2) > div{
    background-color: #2bab4c;
}

.services .item:nth-child(3) > div{
    background-color: #2baba6;
}

.services .item:nth-child(4) > div{
    background-color: #2b71ab;
}

.services .item:nth-child(5) > div{
    background-color: #f66b48;
}

.services .item:nth-child(6) > div{
    background-color: #29d2b1;
}

.services .item:nth-child(7) > div{
    background-color: #fabe1b;
}

.services .item:nth-child(8) > div{
    background-color: #25be4c;
}

.services .item .pic{
    height: 178px;
    background-position: center center;
    background-repeat: no-repeat;
}

.services .item .title{
    display: table;
    width: 100%;
    height: 75px;
    padding: 0 10px;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    background: rgba(0,0,0,.1);
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.services .item .title span{
    display: table-cell;
    vertical-align: middle;
}

/*Price*/
.price{
    width: 100%; 
    display: block;
    background: #fff;
    position: relative;
    z-index: 1;
}

.price .inner{
    padding-top: 50px;
    padding-bottom: 40px;
}

.discount{
    margin-bottom: 40px;
}

.discount .title{
    display: block;
    margin-bottom: 40px;
    text-align: center;
    color: #3d444f;
    font-size: 22px;
    font-weight: 300;
}

.discount .left{
    width: 100px;
    float: left;
}

.discount .left span{
    display: block;
    color: #292929;
    font-size: 17px;
    font-weight: 700;
}

.discount .left span:first-child{
    padding-top: 8px;
    margin-bottom: 35px;
}

.discount .right{
    min-height: 75px;
    margin-left: 100px;
    position: relative;
}

.discount .right:before{
    content: "";
    width: 100%;
    height: 2px;
    background-color: #dfdfdf;
    border-radius: 1px;
    position: absolute;
    top: 50%;
    left: 0px;
    margin-top: -1px;
    z-index: 1;
}

.discount .items{
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.discount .item{
    text-align: center;
    
}

.discount .item:first-child{
    margin-left: -3px;
}

.discount .item:last-child{
    margin-right: -9px;
}

.check > input[type="radio"] {
    display: none;
    
}

.check > span {
    display:block;    
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 3px;
    background: url(../img/price/check.png) center center no-repeat;
    color: #3d444f;
}

.check p{
    font-size: 17px;
    font-weight: 700;
}

.check p:first-of-type{
    margin-bottom: 38px;
}

.check > input[type="radio"]:checked + span{
   background: url(../img/price/checked.png) center center no-repeat;
   color: #0883ea;
}

.catalog{
    
}

.catalog .items{
    
}

.catalog .item{
    width: 33.33%;
    float: left;
    background-color: #6cac31;
}

.catalog .item:nth-child(2){
    background-color: #2bab4c;
}

.catalog .item:nth-child(3){
    background-color: #2baba6;
}

.catalog_color .item:nth-child(1){
    background-color: #2bab4c;
}

.catalog_color .item:nth-child(2){
    background-color: #f66b48;
}

.catalog_color .item:nth-child(3){
    background-color: #2baba6;
}

.catalog .item .title{
    width: 100%;
    height: 56px;
    display: table;
    padding: 0 10px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0,0,0,.1);
    text-align: center;
}

.catalog .item .title span{
    display: table-cell;
    vertical-align: middle;
}

.catalog .item .bottom{
    padding: 0 40px 30px;
}

.catalog .item ul{
    list-style: none;
    margin-bottom: 25px;
}

.catalog .item ul li{
    padding-top: 25px;
    padding-bottom: 15px;
    color: white;
    font-size: 18px;
    border-bottom: 1px dotted #fff;
}

.catalog .item ul li span{
    width: 49%;
    display: inline-block;
    vertical-align: top;
}

.catalog .item ul li span:last-child{
    text-align: right;
    font-size: 22px;
    font-weight: 700;
}

.catalog .item ul li span i{
    font-weight: 600;
    font-size: 21px;
}

.show{
    display: inline-block;
    color: #0883ea;
    font-size: 17px;
    font-weight: 400;
    border-bottom: 1px dashed #0883ea;
    cursor: pointer;
}

.show span{
    display: none;
}

.full{
    display: none;
}

/*Part*/
.part{
    width: 100%; 
    display: block;
    background: #fff;
    position: relative;
    z-index: 1;
}

.part .inner{
    padding-bottom: 80px;
}

.part .container{
    padding: 40px 35px 60px;
    background-color: #f8f8f8;
}

.part .title{
    display: block;
    margin-bottom: 40px;
    text-align: center;
    color: #292929;
    font-size: 22px;
    font-weight: 700;
}

.part .items{
    margin: 0 -15px;
}

.part .item{
    width: 25%;
    float: left;
    padding: 0 15px;
    margin-bottom: 30px;
}

.part .item > div{
    min-height: 315px;
    padding:  30px 15px 15px;
    text-align: center;
    background-color: white;
}

.part .item .icon{
    margin-bottom: 15px;
}

.part .item .sub_title{
    display: block;
    margin-bottom: 5px;
    color: #353b46;
    font-size: 17px;
    font-weight: 700;
}

.part .item p{
    color: #5c636e;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

/*Product*/
.product{
    width: 100%; 
    display: block;
    background: #f8f8f8;
    position: relative;
    z-index: 1;
}

.product .inner{
    padding-top: 55px;
    padding-bottom: 65px;
}

.product .item{
    margin-bottom: 35px;
    background-color: white;
}

.product .item:last-child{
    margin-bottom: 0;
}

.product .item .title{
    padding: 20px 10px;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #2bab4c;
}

.product .item .bottom{
    padding: 30px 15px 35px;
}

.product .item .sub_title{
    display: block;
    margin-bottom: 40px;
    text-align: center;
    color: #5c636e;
    font-size: 22px;
    font-weight: 300;
}

.product .item .options{
    margin-bottom: 35px;
}

.product .item .option{
    width: 25%;
    float: left;
    min-height: 195px;
    padding-top: 40px;
    padding-left: 10px;
    padding-right: 10px;
    border-left: 1px dotted #ccd0d3;
    text-align: center;
}

.product .item .option:first-child{
    border-left: 0;
}

.product .item .option .icon{
    height: 80px;
}

.product .item .option span{
    display: block;
    color: #3d444f;
    font-size: 19px;
}

/*Popular*/
.popular{
    width: 100%; 
    display: block;
    background: #fff;
    position: relative;
    z-index: 1;
}

.popular .inner{
    padding-top: 50px;
    padding-bottom: 50px;
}

.slider{
    padding-left: 55px;
    padding-right: 55px;
}

.popular .pic{
    width: 375px;
    float: left;
}

.popular .pic img{
    width: 100%;
}

.popular .right{
    margin-left: 375px;
    padding-left: 25px;   
}

.popular .btn{
    margin-top: 25px;
}

.sub_block_left{
    display: block;
    padding-bottom: 20px;
    margin-bottom: 25px;
    color: #292929;
    font-size: 24px;
    font-weight: 700;
    position: relative;
}

.sub_block_left:before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: #e1e1e1;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1;
}

.sub_block_left:after{
    content: "";
    width: 23px;
    height: 3px;
    background-color: #66c619;
    position: absolute;
    bottom: 0px;
    left: 0px;
    margin-bottom: -1px;
    z-index: 2;
}

.list{
    list-style: none;
}

.list li{
    margin-bottom: 20px;
    padding-left: 20px;
    color: #3d444f;
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
    position: relative;
}

.list li:before{
    content: "";
    width: 5px;
    height: 5px;
    border: 2px solid #66c619;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0px;
}

/*Projects*/
.projects{
    width: 100%; 
    display: block;
    background: #f8f8f8;
    position: relative;
    z-index: 1;
}

.projects .inner{
    padding-top: 65px;
    padding-bottom: 85px;
}

.projects .item{
    padding: 40px 30px;
    background-color: white;
}

.projects .item .pic{
    width: 185px;
    margin-bottom: 25px;
    float: left;
}

.projects .item .pic img{
    width: 100%;
}

.projects .item .right{
    margin-left: 185px;
    padding-left: 20px;
}

.projects .item .name{
    display: block;
    margin-bottom: 25px;
    color: #292929;
    font-size: 23px;
    font-weight: 700;
}

.projects .item .name span{
    display: block;
    color: #292929;
    font-size: 16px;
    font-weight: 300;
    font-style: italic;
}

.projects .item p{
    margin-bottom: 20px;
    color: #5c636e;
    font-size: 16px;
}

.more{
    display: inline-block;
    color: #0783ea;
    font-size: 17px;
    border-bottom: 1px dashed #0783ea;
}


.bx-wrapper {
    width: 100%;
    height: 100%;
	position: relative;
	margin: 0 auto 0;
	padding: 0;
	*zoom: 1;
}


.bx-wrapper img {
	width: 100%;
}

.bx-wrapper .bx-viewport {
	background: transparent;
	height: auto;
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: 29px;
	width: 100%;
    z-index: 999;
}

/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
	left: -55px;
	background: url(../img/popular/pre.png) center center no-repeat ;
}

.bx-wrapper .bx-next {
	right: -55px;
	background: url(../img/popular/next.png) center center no-repeat ;
}

.bx-wrapper .bx-prev:hover {
    background: url(../img/popular/pre_hover.png) center center no-repeat ;
}

.bx-wrapper .bx-next:hover{
    background: url(../img/popular/next_hover.png) center center no-repeat ;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	outline: 0;
	width: 39px;
	height: 39px;
	text-indent: -9999px;
	z-index: 999;
    transition: all 0.3s ease;
    border-radius: 50%;
    margin-top: -20px;
}

/* PAGER */
.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	text-indent: -9999px;
	display: block;
	width: 18px;
	height: 18px;
	margin: 0 8px;
	outline: 0;
    overflow: hidden;
    border: 3px solid #fff;
    background-color: rgba(255,255,255,.3);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    transform: rotate(45deg);
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #fff;
}

/*Partners*/
.partners{
    width: 100%; 
    display: block;
    background: #fff;
    position: relative;
    z-index: 1;
}

.partners .inner{
    padding-top: 55px;
    padding-bottom: 85px;
}

.owl-controls{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 9;
    margin-top: -20px;
}

.owl-controls .owl-prev{
    width: 39px;
    height: 39px;
    position: absolute;
    left: -0px;
    background: url(../img/popular/pre.png) center center no-repeat;
    text-indent: -9999px!important;
}

.owl-controls .owl-prev:hover{
    background: url(../img/popular/pre_hover.png) center center no-repeat;
}

.owl-controls .owl-next{
    width: 39px;
    height: 39px;
    position: absolute;
    right: -0px;
    background: url(../img/popular/next.png) center center no-repeat;
    text-indent: -9999px!important;
}

.owl-controls .owl-next:hover{
    background: url(../img/popular/next_hover.png) center center no-repeat;
}

.carousel .item img{
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

.owl-carousel{
    padding-left: 55px;
    padding-right: 55px;
}

.owl-dots{
    width: 100%;
    position: absolute;
    bottom: -25px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
}

.owl-dot{
    width: 11px;
    height: 11px;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid #4fa6ee;
    margin: 0 4px;
    border-radius: 50%;
}

.owl-dot.active{
    background-color: #4fa6ee;
}

.partners .table{
    width: 100%;
    height: 120px;
    display: table;
    text-align: center;
}

.partners .vert{
    display: table-cell;
    vertical-align: middle;
}

/*Ques*/
.ques{
    width: 100%; 
    display: block;
    background: #324f9e url(../img/ques/quers_bg.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.ques .inner{
    padding-top: 55px;
    padding-bottom: 45px;
}

.ques .title_block{
    color: #fff;
}

.ques .cols{
    margin: 0 -15px;
}

.ques .col{
    width: 50%;
    float: left;
    padding: 0 15px;
}

.ques input[type='text']{
    height: 38px;
    margin-bottom: 19px;
}

.ques textarea{
    height: 152px;
}

.ques .btn{
    margin-top: 35px;
}

/*Footer*/
.footer{
    width: 100%; 
    display: block;
    background: #fff;
    position: relative;
    z-index: 1;
}

.footer .inner{
   
}

.footer .top{
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer .left{
    width: 25%;
    float: left;
    padding-right: 15px;
}


.footer .right{
    width: 75%;
    float: left;
    text-align: left;
    padding-top: 5px;
}

.footer .logo{
    display: inline-block;
}

.footer .logo img{
    max-width: 100%;
}

.footer .item{
    display: inline-block;
    vertical-align: middle;
    margin-left: 35px;
    color: #2a2c2e;
    font-size: 17px;
    font-weight: 700;
}

.footer .item:first-child{
    margin-left: 0;
}

.footer .item a{
    color: inherit;
}

.footer .item i{
    color: #0783ea;
    font-size: 19px;
}

.footer .bottom{
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #d6d6d6;
}

.copyrights{
    display: inline-block;
    vertical-align: middle; 
    color: #5c636e;
    font-size: 16px;
}

.develop{
    display: inline-block;
    vertical-align: middle; 
    color: #5c636e;
    font-size: 16px;
	text-align:center;
}
.develop span {
    display: inline-block;
	vertical-align:middle;
	margin-right:10px;
}
.develop img {
    display: inline-block;
    font-size: 12px;
	vertical-align:middle;
}

.personal{
    display: inline-block;
    vertical-align: middle;
    float: right; 
    color: #5c636e;
    font-size: 16px;
    text-decoration: underline;
}

/**Popup**/
.popup{
    width: 430px;
    padding: 35px 30px 50px;
    background-color: #fff;
    text-align: center;
}

.popup .sub_block{
    margin-bottom: 20px;
}

.popup .sub{
    display: block;
    margin-bottom: 20px;
    color: #5c636e;
    font-size: 20px;
    font-weight: 300;
}

.popup input[type='text']{
    height: 38px;
    border: 1px solid #e2e2e2;
    margin-bottom: 20px;
}

.custom_popup{
    float: left;
}

.custom_popup > input[type="checkbox"] {
    display: none;
}

.custom_popup > span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/check.png) center center no-repeat;
    border-radius: 3px;
}

.custom > input[type="checkbox"]:checked + span {
   background: url(../img/checked.png) center center no-repeat;
}
.custom_popup > input[type="checkbox"]:checked + span {
   background: url(../img/checked.png) center center no-repeat;
}

.popup .agree{
    margin-bottom: 35px;
    text-align: left;
}

.popup .agree p{
    padding-top: 2px;
    margin-left: 30px;
    color: #989ca2;
    font-size: 14px;
}

.popup .agree p a{
    color: inherit;
    text-decoration: underline;
}

.fancybox-slide > *{
    padding: 0;
}

.fancybox-close-small:after{
    background: transparent;
    font-size: 39px;
    color: #000;
    background: #fff;
}

.fancybox-bg{
    background: #000;
}