

/* Start:/bitrix/templates/ymservice/components/bitrix/news.detail/news/style.css?14525987046209*/


.b1t-ymservice-news-detail-news .picture {
    height: 470px;
    margin: -20px -20px 10px -20px;
    background-size: cover;
    background-position: center center;
    overflow:hidden;
    position: relative;
}

.b1t-ymservice-news-detail-news .detail-text {
    margin-bottom: 40px;
}

.b1t-ymservice-news-detail-news .detail-text img {
    max-width: 100%; 
    width: auto\9; 
    width: auto; 
    height: auto; 
}

/* --------------------
  Шапка новости (внтури фото)
-----------------------*/

.b1t-ymservice-news-detail-news .picture .header-wrapper,
.b1t-ymservice-news-detail-news .picture .header-wrapper .overlay,
.b1t-ymservice-news-detail-news .picture .header-wrapper .context{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .overlay {
    background: #000;
    opacity: 0.5;
    z-index: 1;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context {
    z-index: 2;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context,
.b1t-ymservice-news-detail-news .picture .header-wrapper .context h1 {
    color: #fff;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context h1 {
    font-size: 30px;
    padding-left: 50px;
    padding-right: 50px;
    line-height: 1.4;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context table {
    border: 0px;
    width: 100%;
    height: 100%;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context table tr td {
    vertical-align: middle;
    text-align: center;
    padding: 20px;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context .action {
    background-color: #fcba02;
    -webkit-border-radius: 5px/2px;
    -moz-border-radius: 5px/2px;
    border-radius: 5px/2px;
        
    padding: 5px 40px;
    display: inline-block;
    color: #000;
    margin-bottom: 5px;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context .date {
    font-size: 14px;
    padding-left: 24px;
    margin-left: -12px;
}
.b1t-ymservice-news-detail-news .picture .header-wrapper .context .date:before {
    top: -2px;
}

.b1t-ymservice-news-detail-news .picture .header-wrapper .context .share {
    display: inline-block;
}

/* --------------------
  Шапка новости (без фото)
-----------------------*/

.b1t-ymservice-news-detail-news .normal-header-wrapper .date{
    font-size: 14px;
    padding-left: 24px;
}
.b1t-ymservice-news-detail-news .normal-header-wrapper .date:before {
    top: -2px;
}


/* --------------------
  Нижние кнопки
-----------------------*/

.b1t-ymservice-news-detail-news .buttons-wrapper .share {
    text-align: center;
}

.b1t-ymservice-news-detail-news .buttons-wrapper .next{
    text-align: right;
}

/* --------------------
  Фотогалерея
-----------------------*/

.b1t-ymservice-news-detail-news .more-photo .item {
    margin: 20px 10px 40px 10px;
    padding-bottom: 5px;
}

.b1t-ymservice-news-detail-news .more-photo .item .photo {
    position: relative;
    margin: -20px -20px 0px -20px;
    height: 189px;
}

.b1t-ymservice-news-detail-news .more-photo .item .photo img {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    
    width:  100%; 
    height:  100%; 
}

.b1t-ymservice-news-detail-news .more-photo .item .photo-description {
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
    height: 41px;
    max-height: 41px;
    overflow: hidden;
    position: relative;
}

.b1t-ymservice-news-detail-news .more-photo .item .photo-description :after {
    content:'';
    display: block;
    position: absolute;
    left: 0;
    right: 0px;
    bottom: 0px;
    height: 10px;
    z-index: 3;

    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}


.b1t-ymservice-news-detail-news .more-photo .item .photo-description table {
    width: 100%;
    height: 100%;
}
.b1t-ymservice-news-detail-news .more-photo .item .photo-description table td {
    height: 100%;
    vertical-align: middle;
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {
    
    .b1t-ymservice-news-detail-news .picture {
        height: 388px;
    }
    
    .b1t-ymservice-news-detail-news .more-photo .item .photo{
        height: 152px;
    }
    
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    
    .b1t-ymservice-news-detail-news .picture .header-wrapper .context h1 {
        font-size: 26px;
    }
    
    .b1t-ymservice-news-detail-news .picture {
        height: 297px;
    }
    
    .b1t-ymservice-news-detail-news .more-photo .item .photo{
        height: 153px;
    }
    
}

@media only screen and (max-width: 767px) {
    
    .b1t-ymservice-news-detail-news .picture .header-wrapper .context h1 {
        font-size: 18px;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 1.4;
    }
    
    .b1t-ymservice-news-detail-news .picture .header-wrapper .context .action {
        font-size: 13px;
    }
    
    .b1t-ymservice-news-detail-news .picture {
        height: 252px;
    }
    
    .b1t-ymservice-news-detail-news .buttons-wrapper .share,
    .b1t-ymservice-news-detail-news .buttons-wrapper .back{
        margin-bottom: 20px;
    }
    
    .b1t-ymservice-news-detail-news .buttons-wrapper .next {
        text-align: left;
    }
    
    .b1t-ymservice-news-detail-news .buttons-wrapper .back a,
    .b1t-ymservice-news-detail-news .buttons-wrapper .next a {
        width: 100%;
    }
    
}


@media only screen and (min-width: 450px) and (max-width: 500px) {
    

    .b1t-ymservice-news-detail-news .more-photo .item .photo{
        height: 272px;
    }
    
}
/* End */


/* Start:/bitrix/templates/ymservice/components/bitrix/main.share/custom/style.css?1449559960832*/
.b1t-ymservice-main-share-custom {
    display: inline-block;
}

.b1t-ymservice-main-share-custom a {
    float: left;
    margin-right: 10px;
}

.b1t-ymservice-main-share-custom a,
.b1t-ymservice-main-share-custom a:hover,
.b1t-ymservice-main-share-custom a:focus {
     border-bottom:0px;
}

.b1t-ymservice-main-share-custom a:last-of-type {
    margin-right: 0px;
}

.b1t-ymservice-main-share-custom a.facebook:hover {background-position: -24px -264px;}
.b1t-ymservice-main-share-custom a.twitter:hover {background-position: -96px -264px;}
.b1t-ymservice-main-share-custom a.vkontakte:hover {background-position: -120px -264px;}
.b1t-ymservice-main-share-custom a.gplus:hover {background-position: -48px -264px;}
.b1t-ymservice-main-share-custom a.odnoklassniki:hover {background-position: -72px -264px;}

/* End */


/* Start:/bitrix/templates/ymservice/components/bitrix/news.list/last-news/style.css?14575974089157*/
.b1t-ymservice-news-list-last-news {
    margin-left: -15px;
    margin-right: -15px;
}

.b1t-ymservice-news-list-last-news .h2 {
    text-align: center;
    margin-top:30px;
    margin-bottom: 30px;
}

.b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons div {
    margin-top: -100px;
}
.b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-prev {
    margin-left: 15px;
}
.b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-next {
    margin-right: 15px;
}

.b1t-ymservice-news-list-last-news .item-wrapper {
    padding-left: 15px;
    padding-right: 15px;
}

.b1t-ymservice-news-list-last-news .item {
    margin-bottom: 30px;
    position: relative;
}

.b1t-ymservice-news-list-last-news .item:hover {
    box-shadow: none; 
    -moz-box-shadow: none;  
    -webkit-box-shadow: none;  
}

.b1t-ymservice-news-list-last-news .item .picture {
    position: relative;
    margin: -20px -20px 10px -20px;
}

.b1t-ymservice-news-list-last-news .item .picture,
.b1t-ymservice-news-list-last-news .item .popup .overlay{
    height: 193px;
}

.b1t-ymservice-news-list-last-news .item .picture img{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    
    width:  100%; 
    height:  100%; 
}

.b1t-ymservice-news-list-last-news .item .picture img.nophoto {
    max-width: 100%; 
    width: auto\9; 
    width: auto; 
    
    max-height: 100%;
    height: auto; 
    
    margin: auto auto auto auto;
}

.b1t-ymservice-news-list-last-news .item .picture .action {
    background-color: #fcba02;
    padding: 5px 10px;
    position: absolute;
    top: 0px;
    left: 0px;
}

.b1t-ymservice-news-list-last-news .item .date-wrapper {
    min-height: 18px;
    margin-bottom: 5px;
}

.b1t-ymservice-news-list-last-news .item .date {
    font-size: 13px;
}

.b1t-ymservice-news-list-last-news .item .name {
    line-height: 1.2;
    margin-bottom: 5px;
    min-height: 40px;
    margin-bottom: 8px;
}

.b1t-ymservice-news-list-last-news .item .name a,
.b1t-ymservice-news-list-last-news .item .name a:focus,
.b1t-ymservice-news-list-last-news .item .name a:hover,
.b1t-ymservice-news-list-last-news .item .picture a,
.b1t-ymservice-news-list-last-news .item .picture a:focus,
.b1t-ymservice-news-list-last-news .item .picture a:hover{
    border-bottom: 0px;
}

html.bx-no-touch .b1t-ymservice-news-list-last-news .item:hover .name a,
html.bx-touch .b1t-ymservice-news-list-last-news .item.hover .name a{
    color: #000000;
}

.b1t-ymservice-news-list-last-news .item .text {
    font-size: 14px;
    line-height: 1.2;
}

.b1t-ymservice-news-list-last-news .item .text p {
    margin: 0px;
}

.b1t-ymservice-news-list-last-news .item .context {
    height: 193px;
    max-height: 193px;
    overflow: hidden;
    position: relative;
}

.b1t-ymservice-news-list-last-news .item .context:after {
    content:'';
    display: block;
    position: absolute;
    left: 0;
    right: 0px;
    bottom: 0px;
    height: 20px;
    z-index: 3;

    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.b1t-ymservice-news-list-last-news .item .popup {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    display: none;
    
    z-index: 3;
    
    box-shadow: 4px 5px 18.92px 1.28px rgba(0, 0, 0, 0.18); 
    -moz-box-shadow: 4px 5px 18.92px 1.28px rgba(0, 0, 0, 0.18); 
    -webkit-box-shadow: 4px 5px 18.92px 1.28px rgba(0, 0, 0, 0.18); 
}

html.bx-no-touch .b1t-ymservice-news-list-last-news .item:hover .popup,
html.bx-touch .b1t-ymservice-news-list-last-news .item.hover .popup{
    display: block;
}


.b1t-ymservice-news-list-last-news .item .popup .overlay {
    z-index: 1;
    background: #fff;
    opacity: 0.9;
}

.b1t-ymservice-news-list-last-news .item .popup .btn {
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    z-index:2;
}

.b1t-ymservice-news-list-last-news .item .popup .share {
    position: absolute;
    top: 130px;
    left: 20px;
    right: 20px;
    z-index:2;
    text-align: center;
}

.b1t-ymservice-news-list-last-news .item .popup .popup-inner{
    background: #fff;
    padding: 20px;
    padding-top: 10px;
}

.b1t-ymservice-news-list-last-news .btn-wrapper {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}

.b1t-ymservice-news-list-last-news .btn-wrapper .btn {
    width: 200px;
    margin: 10px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    
    .b1t-ymservice-news-list-last-news .item .picture,
    .b1t-ymservice-news-list-last-news .item .popup .overlay{
        height: 216px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .b1t-ymservice-news-list-last-news .item .picture,
    .b1t-ymservice-news-list-last-news .item .popup .overlay{
        height: 127px;
    }
}

@media only screen and (min-width: 700px) and (max-width: 767px) {
    .b1t-ymservice-news-list-last-news .item .picture,
    .b1t-ymservice-news-list-last-news .item .popup .overlay{
        height: 236px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 699px) {
    .b1t-ymservice-news-list-last-news .item .picture,
    .b1t-ymservice-news-list-last-news .item .popup .overlay{
        height: 218px;
    }
}

@media only screen and (min-width: 500px) and (max-width: 599px) {
    .b1t-ymservice-news-list-last-news .item .picture,
    .b1t-ymservice-news-list-last-news .item .popup .overlay{
        height: 182px;
    }
}

@media only screen and (min-width: 400px) and (max-width: 499px) {
    .b1t-ymservice-news-list-last-news .item .picture,
    .b1t-ymservice-news-list-last-news .item .popup .overlay{
        height: 145px;
    }
}

@media only screen and (max-width: 399px) {
    .b1t-ymservice-news-list-last-news .item .picture,
    .b1t-ymservice-news-list-last-news .item .popup .overlay{
        height: 112px;
    }
}


@media only screen and (max-width: 991px) {
    
    .b1t-ymservice-news-list-last-news {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .b1t-ymservice-news-list-last-news .item-wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons div {
        margin-top: -70px;
    }
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-prev {
        margin-left: 0px;
    }
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-next {
        margin-right: 0px;
    }
    
    .b1t-ymservice-news-list-last-news .item {
        padding: 8px;
        margin-bottom: 10px;
    }
       
    .b1t-ymservice-news-list-last-news .item .picture {
        margin: -8px -8px 10px -8px;
    }
    
    .b1t-ymservice-news-list-last-news .item .picture .action {
        font-size: 13px;
    }
    
    .b1t-ymservice-news-list-last-news .item .name {
        font-size: 14px;
    }
    
    .b1t-ymservice-news-list-last-news .item .text {
        display: none;
    }
    
    .b1t-ymservice-news-list-last-news .item .context {
        height: 100px;
        max-height: 100px;
    }
    
    .b1t-ymservice-news-list-last-news .item .popup .popup-inner{
        padding: 8px;
        padding-top: 10px;
    }
    
    
    .b1t-ymservice-news-list-last-news .item .popup .share {
        display: none;
    }
    
}


@media only screen and (max-width: 767px) {
    .b1t-ymservice-news-list-last-news .btn-wrapper .btn {
        width: 100%;
        display: block;
    }
    
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-prev {
        left: -10px;
    }
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-next {
        right: -10px;
    }
    
}

@media only screen and (min-width: 1199px) and (max-width: 1220px) {
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-prev {
        left: -15px;
    }
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-next {
        right: -15px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1020px) {
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-prev {
        left: -15px;
    }
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-next {
        right: -15px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 800px) {
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-prev {
        left: 0px;
    }
    .b1t-ymservice-news-list-last-news .owl-theme .owl-controls .owl-buttons .owl-next {
        right: 0px;
    }
}




/* End */
/* /bitrix/templates/ymservice/components/bitrix/news.detail/news/style.css?14525987046209 */
/* /bitrix/templates/ymservice/components/bitrix/main.share/custom/style.css?1449559960832 */
/* /bitrix/templates/ymservice/components/bitrix/news.list/last-news/style.css?14575974089157 */
