.block_1 {
    padding-top: 20px;
    padding-bottom: 70px;
    background-image: url(images/block_1.jpg);
    background-position: center 30%;
    background-size: cover;
}
.image-wrapper {
    display: block;
    width: 100%;
    border-radius:3px;
}

.promo-block {
    min-height: 255px;
    background-image: url(images/promo.jpg);
    background-size: cover;
    background-position: left;
}
.promo-block .info {
    background-image: url(/services/protezirovanie-zubov/vkladki/images/infobg.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    margin-top: 95px;
    margin-bottom: 65px;
    margin-left: 15px;
    margin-right: 15px;
    background-color: white;
    border-radius: 3px;
    max-width: 540px;
    width: 100%;
    float: left;
    padding: 40px 45px 115px;
}

.parent_zero-block {
    padding: 50px 15px;
    width: 100%;
	padding-bottom: 0px;
	}
	
.parent_zero-block:after {
    content: '';
    clear: both;
    display: block;
}

.parent_zero-block >.one-block_ {
    float: left;
    width: calc(25% - 15px);
    margin-right: 20px;
    margin-bottom: 30px;
}
.parent_zero-block >.two-block_ {
    float: left;
    width: calc(25% - 15px);
    margin-right: 20px;
    margin-bottom: 50px;
}
.parent_zero-block>.three-block_ {
    float: left;
    width: calc(25% - 15px);
    margin-right: 20px;
    margin-bottom: 68px;
}
.parent_zero-block >.four-block_ {
    float: left;
    width: calc(25% - 15px);
    margin-right: 0px;
    margin-bottom: 50px;
}

.parent_zero-block >.five-block_ {
	float: left;
	width: calc(50% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;
}


.parent_zero-block >.six-block_ {
	float: left;
	width: calc(50% - 0px);
    margin-bottom: 20px;
}

.content .parent_one-block {
    padding: 0 15px;
    width: 100%;
    position: relative;
}
.content .parent_one-block:after {
    content: '';
    clear: both;
    display: block;
}
.content .one-block {
    float: left;
    width: 50%;
    padding-right: 10px;
}
.content .two-block {
    float: left;
    width: 50%;
    padding-left: 10px;
}
.content.size-40-60 .one-block {
    width: 40%;
}
.content.size-40-60 .two-block {
    width: 60%;
}

.content.size-60-40 .one-block {
    width: 60%;
}
.content.size-60-40 .two-block {
    width: 40%;
}

.lined-block .parent_one-block .one-block .block_title {
    margin-top: 60px;
}

.lined-block .parent_two-block {
    padding: 0 15px;
    width: 100%;
}
.lined-block .parent_two-block:after {
    content: '';
    clear: both;
    display: block;
}
.cleared {
    clear: both;
}

.lined-block {
    position: relative;
    background-position: top center;
    background-repeat: repeat-y;
    padding-top: 24px;
    padding-bottom: 24px;
    margin-bottom: 20px;
}

.lined-block:before,
.lined-block:after {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    height: 60px;
    width: 100%;
    background-position: top center;
    background-repeat: no-repeat;
}

.lined-block.line-to-left,
.lined-block.line-to-right {
    padding-bottom: 80px;
    margin-bottom: 0;
}

.lined-block:before {
    top: 0;
}

.lined-block:after {
    bottom: 0;
}

.lined-block.line-left {
    background-image: url(/images/line_left.jpg);
}
.lined-block.line-right {
    background-image: url(/images/line_right.jpg);
}

.lined-block.line-left:before {
    background-image: url(/images/line_left_top.jpg);
}
.lined-block.line-left:after {
    background-image: url(/images/line_left_bottom.jpg);
}

.lined-block.line-right:before {
    background-image: url(/images/line_right_top.jpg);
}
.lined-block.line-right:after {
    background-image: url(/images/line_right_bottom.jpg);
}

.lined-block.line-right.line-to-left:after {
    background-image: url(/images/line_right_to_left.jpg);
    height: 120px;
}

.lined-block .content {
    position: relative;
    z-index: 1;
}

.lined-block.line-hide-top:before {
    display: none;
}
.video-block {
    display: block;
    background-color: #f9e7b5;
    border-radius: 3px;
}
.video-block img {
    float: left;
    margin-right: 20px;
    border-radius: 3px 0 0 3px;
}
.video-block .info {
    float: left;
    padding-top: 20px;
}
.video-block .info .title {
    font-family: Cambria;
    font-size: 1.8rem;
    line-height: 2.2rem;
    color: #252525;
}
.video-block .info .time {
    font-size: 1.4rem;
    line-height: 1.6rem;
    color: #676767;
}

.pic_list_ .img {
    position: relative;
    background-size: cover;
    height: 340px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 15px;
}
a .title:hover {
    color: #65b22f;
    transition: all 0.3s;
}
.pic_list_ .title {
    font: bold 1.8rem/2.2rem 'Cambria';
    color: #252525;
    transition: all 0.3s;
}
.pic_list_ .desc {
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: #676767;
}

/*.pic_list_ .button-group {
    position: absolute;
    bottom: 0;
    left: 0;
    //text-shadow: 0 0 2px rgba(0,0,0,0.3);
    width: 100%;
}
*/
.pic_list img .button-group {
    position: absolute;
    bottom: 0;
    left: 0;
    //text-shadow: 0 0 2px rgba(0,0,0,0.3);
    width: 100%;
}

.pic_list_ .button-group .btn-yellow {
    width: 100%;
    border-radius: 0px;
}

.video-block {
    display: block;
    background-color: #f9e7b5;
    border-radius: 3px;
}

.video-block img {
    float: left;
    margin-right: 20px;
    border-radius: 3px 0 0 3px;
}

.video-block .info {
    float: left;
    padding-top: 20px;
}

.video-block .info .title {
    font-family: Cambria;
    font-size: 1.8rem;
    line-height: 2.2rem;
    color: #252525;
}

.icon_box {
    float: left;
    width: 20%;
    padding-left: 15px;
    padding-right: 15px;
}
.icon_box img {
    display: block;
}
.icon_box.image_box img {
    border-bottom: 2px solid #f7b945;
    border-radius: 3px 3px 0 0;
    width: 100%;
}
.icon_box .title {
    font-family: Cambria;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 2.2rem;
    color: #252525;
}
.icon_box .desc {
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: #676767;
}

.icon_box.icon_box_horizontal {
    float: none;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}


.icon_box.icon_box_horizontal img {
    float: left;
}

.icon_box.icon_box_horizontal .title {
    padding-left: 70px;
}

.icon_box.icon_box_horizontal:nth-child(2n+1) {
    clear: both;
}

.icon_box.icon_big.icon_box_horizontal img {
    height: 100px;
}

.icon_box.icon_big.icon_box_horizontal .title {
    padding-left: 120px;
    margin-bottom: 10px;
}

.icon_box.icon_big.icon_box_horizontal .desc {
    padding-left: 120px;
}


.block_title {
    font-family: Cambria;
    font-size: 3.0rem;
    line-height: 3.2rem;
    color: #252525;
    font-weight: bold;
}
.block_mini_title {
    font-family: Cambria;
    font-size: 2.4rem;
    line-height: 2.6rem;
    color: #252525;
    font-weight: bold;
}
.mini-line_green {
    width: 86px;
    height: 4px;
    background-color: #65b22f;
}

.mt-90 {
    margin-top: 90px;
}

.mt-100 {
    margin-top: 100px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col-2 {
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    width: 50%;
}

.col-2:nth-child(2n+1) {
    clear: both;
}

.col-4 {
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    width: 25%;
}

.col-4:nth-child(4n+1) {
    clear: both;
}

.clearfix {
    clear: both;
}

.clearfix:before, 
.clearfix:after {
    display: table;
    content: " ";
    clear: both;
}



.col-3 {
    width: 33.33333%;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
}

.col-3:nth-child(3n+1) {
    clear: both;
}

.bg-wrapper {
    position: relative;
    z-index: 1;
    background-repeat: no-repeat;
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 24px;
    color: #252525;
    font-family: 'Cambria';
    margin-top: 0;
}

.bg-wrapper.bg-1 {
    background: #dee2e5 url(images/bg_1.jpg) no-repeat center;
    padding: 40px 0;
    height: 700px;
}

.bg-wrapper.bg-2 {
    background: #dee2e5 url(images/bg_3.jpg) no-repeat center;
    padding: 40px 0;
    height: 700px;
}

.bg-wrapper blockquote a {
    color: #65b22f;
}

.bg-wrapper.bg-1  .block_title, 
.bg-wrapper.bg-2  .block_title {
    margin-top: 200px;
}

a.btn {
    display: inline-block;
}

.pic_list .img {
    position: relative;
    background-size: cover;
    height: 190px;
    border-bottom: #ffc963 4px solid;
    border-radius: 3px 3px 0 0;
}
.pic_list .img .num {
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: Cambria;
    font-weight: bold;
    font-size: 4.2rem;
    line-height: 3rem;
    color: #ffc963;
    /*text-shadow: 0 0 2px rgba(0,0,0,0.3);*/
}
.pic_list .title {
    font-family: Cambria;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 2.2rem;
    color: #252525;
}
.pic_list .desc {
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: #676767;
}

ul.bignum {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
ul.bignum li {
    padding: 0px;
    margin: 0px;
    font-size: 1.6rem;
    margin-bottom: 25px;
}
ul.bignum li:after {
    content: '';
    display: block;
    clear: both;
}
ul.bignum li i {
    font-family: Cambria;
    font-weight: bold;
    font-size: 3.5rem;
    color: #f9ba36;
    line-height: 3.5rem;
    float: left;
    font-style: normal;
}
ul.bignum li span {
    display: block;
    margin-left: 60px;
}

.visible-span{display:none}

.grid{
	position:relative;
	margin:0 auto;
	
}


figure{
		margin:0;
		padding:0;
		-webkit-margin-before: 0em;
		-webkit-margin-after: 0em;
		-webkit-margin-start: 0px;
		-webkit-margin-end: 0px;}

.effect-milo{
	border-radius: 5px 5px 0 0;
	background:#333333;
	max-height:307px;
}

.effect-milo:nth-child(1){
	max-height:305px;
	border-radius: 5px 5px 0 0;
}

.grid figure{
	position:relative;
	float:left;
	overflow:hidden;
	max-height:307px;
	width:100%;
	border-radius: 5px 5px 0 0;
	cursor:pointer;
}

.effect-milo:hover .img {
	opacity: 0.5;
	-webkit-transform: translate3d(0,0,0) scale(1.2);
	transform: translate3d(0,0,0) scale(1.2);
}

.effect-milo .img {
	border-radius: 5px 5px 0 0;
	max-width: none;
	width: -webkit-calc(100%);
	width: calc(100%);
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0px,0,0) scale(1);
	transform: translate3d(0px,0,0) scale(1);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

@media (max-width: 1280px) {
    .lined-block.line-left:before{
        background-image: none;
    }
    .parent_one-block > .block_title{
        margin-top: 0 !important;
    }
    .lined-block{
        margin-top: 0 !important;
    }
    .lined-block.line-left:after{
        background-image: none;
    }
    .button-group{
        margin-bottom: 0 !important;
    }
    .lined-block.line-right:before{
        background-image: none;
    }
    .lined-block.line-right:after{
        background-image: none;
    }
    .lined-block.line-left{
        margin-bottom: 0 !important;
    }
    .lined-block.line-right{
        margin-bottom: 0 !important;
        padding-top: 0;
    }
}

@media (max-width: 1223px) {
	
	 .parent_zero-block > .one-block_ {
		float: left;
		width: calc(33% - 15px);
		margin-right: 20px;
		margin-bottom: 25px;
	}
	.parent_zero-block > .two-block_ {
		float: left;
		width: calc(33% - 15px);
		margin-right: 20px;
		margin-bottom: 65px;
	}
	.parent_zero-block > .three-block_ {
		float: left;
		width: calc(33% - 15px);
		margin-right: 0px;
		margin-bottom: 50px;
	}	
	 .parent_zero-block > .four-block_ {
		float: left;
		width: calc(33% - 15px);
		margin-right: 20px;
		margin-bottom: 50px;
	}
     .parent_zero-block > .five-block_ {
		float: left;
		width: calc(67% - 15px);
		margin-right: 0px;
		
	}
     .parent_zero-block > .six-block_ {
		float: left;
		width: calc(67% - 15px);
		margin-right: 0px;
	}
    .visible-span{display:block}
}

@media (min-width: 767px) and (max-width: 1023px) {
    .col-4 {
        width: 33.33333%;
    }

    .col-4:nth-child(4n+1) {
        clear: none;
    }

    .col-4:nth-child(3n+1) {
        clear: both;
    }
}

@media (max-width: 1023px) {
    .content2 .one-block {
        width: 100%;
        float: none;
    }

    .content2 .two-block {
        width: 100%;
        float: none;
        padding: 0;
    }

    .snake2-block .parent_one-block {
        float: none;
        width: 100%;
        margin-right: 0px;
    }
    .snake2-block .parent_two-block {
        float: none;
        width: 100%;
    }

    .icon_box.icon_box_horizontal {
        float: none;
        width: 100%;
    }

    .snake2-block .parent_one-block {
        float: none;
        width: 100%;
        margin-right: 0px;
    }
    .snake2-block .parent_two-block {
        float: none;
        width: 100%;
    }

    .content.size-60-40.size-50-50-sm .one-block {
        width: 50%;
    }

    .content.size-60-40.size-50-50-sm .two-block {
        width: 50%;
    }

    .bg-wrapper.bg-1  .block_title {
        margin-top: 70px;
    }
	
	.parent_zero-block > .one-block_ {
		float: left;
		width: calc(50% - 15px);
		margin-right: 20px;
		margin-bottom: 25px;
	}
	.parent_zero-block > .two-block_ {
		float: left;
		width: calc(50% - 15px);
		margin-right: 0px;
		margin-bottom: 50px;
	}
	.parent_zero-block> .three-block_ {
		float: left;
		width: calc(50% - 15px);
		margin-right: 20px;
		margin-bottom: 50px;
	}	
	 .parent_zero-block > .four-block_ {
		float: left;
		width: calc(50% - 15px);
		margin-right: 0px;
		margin-bottom: 50px;
	}
	 .parent_zero-block > .five-block_ {
		float: left;
		width: calc(100% - 0px);
		margin-right: 0px;
		margin-bottom: 10px;
	}
    .parent_zero-block > .six-block_ {
		float: left;
		width: calc(100% - 0px);
		margin-right: 0px;
		margin-bottom: 10px;
	}
}
@media (max-width: 767px) {
    .block_1 {
           background-image: none;}
    
    .button-group{
        text-align: center;   
    }
    .visible-xs {
        display: inline;
    }

    .hidden-xs {
        display: none;
    }

    .promo-block .content {
        padding-left: 0px;
        padding-right: 0px;
    }

    .promo-block .info {
        width: 100%;
        margin-left: 0;
    }

    .bg-wrapper.bg-1 .content.size-40-60 .one-block,
    .content.size-60-40 .one-block,
    .content.size-60-40.size-50-50-sm .one-block,
    .content.size-40-60 .one-block,
    .content .one-block {
        float: none;
        width: 100%;
        padding: 0;
    }

    .content.size-60-40 .two-block,
    .content.size-60-40.size-50-50-sm .two-block,
    .content.size-40-60 .two-block, 
    .content .two-block {
        float: none;
        width: 100%;
        padding: 0;
    }

    .col-4 {
        width: 50%;
    }

    .col-4:nth-child(2n+1) {
        clear: both;
    }

    .col-3 {
        width: 50%;
    }

    .col-3:nth-child(3n+1) {
        clear: none;
    }

    .col-3:nth-child(2n+1) {
        clear: both;
    }

    .clear-margin-xs {
        margin-top: 0 !important;
    }

    .lined-block.mobile-top-mini {
        margin-top: 20px;
    }

    .lined-block.mobile-top-mini .parent_one-block .one-block .block_title {
        margin-top: 40px;
    }

    .bg-wrapper.bg-1 {
        background-position: left center;
    }
	
	.parent_zero-block > .one-block_ {
		float: none;
		width: calc(100% - 0px);
		margin-right: 0px;
		margin-bottom: 20px;
	}
	.parent_zero-block > .two-block_ {
		float: none;
		width: calc(100% - 0px);
		margin-right: 0px;
		margin-bottom: 20px;
	}
	.parent_zero-block > .three-block_ {
		float: none;
		width: calc(100% - 0px);
		margin-right: 0px;
		margin-bottom: 20px;
	}	
	 .parent_zero-block > .four-block_ {
		float: none;
		width: calc(100% - 0px);
		margin-right: 0px;
		margin-bottom: 20px;
	}
    
    .visible-span1{display:block}
    .video-block .info {
        margin-right:9px;
       padding-top: 5px;}
}

@media (max-width: 479px) {
    .promo-block .content .info {
        margin-top: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
        padding: 40px 30px 80px;
    }
    .col-2 {
        width: 100%;
        text-align: center;
    }
    .col-2 img {
        float: none;
        display: inline-block;
    }
    .col-4 {
        width: 100%;
    }
    .block_title {
        font-size: 2.8rem;
    }
    .col-3 {
        width: 100%;
        float: none;
    }
    .custom-block .icon_box.col-2 {
        float: none;
        width: 100%;
    }
    .bg-wrapper.bg-1  .block_title {
        margin-top: 10px;
    }
}
@media (max-width: 425px) {
    .video-block img {
        float: left;
    }
    .video-block .info .title {
        font-size: 1.4rem;
    }
}
@media (max-width: 414px) {
    .bg-wrapper.bg-1 {
        height: 500px;
    }
}
@media (max-width: 400px) {
    .bg-wrapper.bg-1 {
        height: 520px;
    }
}
@media (max-width: 371px) {
    .bg-wrapper.bg-1 {
        height: 550px;
    }
}
@media (max-width: 360px) {
    .bg-wrapper.bg-1 {
        height: 580px;
    }
}
@media (max-width: 346px) {
    .bg-wrapper.bg-1 {
        height: 600px;
    }
}
@media (max-width: 320px) {
    .bg-wrapper.bg-1 {
        height: 630px;
    }
}
@media(max-width: 768px) {
    .bg-wrapper.bg-2 .block_title {
        margin-top: 0;
    }
}