.fancybox-skin {
 display: inline-block;

}
.rs_block {
  /* display: inline-block; */
   position: absolute;
   width: 310px;
   height: 400px;
   margin-left:30px;
   z-index:8011;
   right:5%;
   top:40px;
   z-index:8111;

}
.bs_block {
   position: absolute;
   bottom: 10px;
   right:50%;
   width: 550px;
   height: 96px;
   margin-top:30px;
   z-index:8111;

}
.rek1 {
	position: absolute;
/*     width: 310px;
height: 400px; */

}

.rek2 {
	position: absolute;
/*     width: 550px;
height: 96px; */
}
.clear {
	clear:both;
}

.mbl {
    display:none;
}

.pbox__switcher {
    width: 50%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}
.pbox__switcher:hover .pbox__control {
    background: #168de2;
    height: 60px;
    width: 65px;
}
.pbox__switcher.pbox__switcher:hover .pbox__control_prev {
    -webkit-border-radius: 0 80px 80px 0;
    border-radius: 0 80px 80px 0;
}
.pbox__switcher.pbox__switcher:hover .pbox__control_next {
    -webkit-border-radius: 80px 0 0 80px;
    border-radius: 80px 0 0 80px;
}
.pbox__switcher_prev {
    left: 0;
}
.pbox__switcher_prev .pbox__control {
    -webkit-border-radius: 0 75px 75px 0;
    border-radius: 0 75px 75px 0;
    padding-right: 10px;
    left: 0;
}
.pbox__switcher_next {
    right: 0;
}
.pbox__switcher_next .pbox__control {
    -webkit-border-radius: 75px 0 0 75px;
    border-radius: 75px 0 0 75px;
    right: 0;
    padding-left: 10px;
}
.pbox__control {
    height: 55px;
    width: 55px;
    font-size: 52px;
    line-height: 1;
    padding: 40px 0;
    position: absolute;
    top: 50%;
    margin-top: -70px;
    background: #000;
    color: #fff;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
    z-index:9000;
}
.pbox__container:hover .pbox__switcher_next .pbox__control {
    background: #168de2;
    height: 60px;
    width: 65px;
}

.icon_control_next:before {
    content: "\e009";
}
.icon_control_previous:before {
    content: "\e00a";
}

.icon_close:before {
    content: "\e007";
}

.icon_control_previous:before {
    position: relative;
    right: 2px;
    top: -30px;
}
.icon_control_next:before {
    position: relative;
    left: 2px;
    top: -30px;
}

.fancybox-prev span, .fancybox-next span {
	background-image:none;
}

@font-face {
    font-family: "icon_font";
    src: url("../fonts/icon_font.eot");
    src: url("../fonts/icon_font.eot#iefix") format("embedded-opentype"), url("../fonts/icon_font.woff") format("woff"), url("../fonts/icon_font.ttf") format("truetype"), url("../fonts/icon_font.svg?#icon_font") format("svg");
    font-weight: normal;
    font-style: normal;
}
.icon {
    font-family: "icon_font";
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    speak: none;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: static;
}

.overlay__close {
    position: absolute;
    z-index: 100;
    right: 40px;
    top: 20px;
    width: 40px;
    height: 40px;
    padding: 20px;
    font-size: 21px;
    line-height: 18px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 40px;
}

a.overlay__close, a.overlay__close :visited{
    color: #fff;
}

.overlay__close:hover, a.overlay__close:hover {
    color: #168de2;
    text-decoration: none;
}

.zoomme {
    display: none;
    position: absolute;
    width: 121px;
    height: 83px;
    margin-top:-41px;
    margin-left:-60px;
    top:50%;
    left:50%;
    background:url(../images/mag.png) no-repeat transparent;
}
.cont a.fancybox {
    position: relative;
    display: block;
}

.cont a.fancybox .aligncenter {
    display: inline;
}

.fancybox-wrap {
    width: auto !important;
    margin-top: 15px;
}

@media screen and (max-width: 800px) {
    .rs_block, .r1bl {
        display:none !important;
    }
}
