/* Поделиться */
.share{
    margin-top: 15px;
}
.share h4{
    color: #01aea0;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}
.share .title{
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.share ul.horizontal{
    margin: -3px !important;
}
.share #__utl-buttons-1 .uptl_toolbar > ul > li,
.share #__utl-buttons-1 .uptl_toolbar > ul > li > a,
.share #__utl-buttons-1 .uptl_toolbar > ul > li > span{
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

/* Фотоальбом */
.albums-photo{}
.albums-list .image{
    height: 210px;
    background-color: #e1e1e1;
}
.albums-photo, .albums-list .image{
    display: block;
    overflow: hidden;
}
a.upload-album, a.upload-photo{
    font-size: 14px;
    font-weight: bold;
    padding: 12px 25px;
    margin-bottom: 15px;
    display: inline-block;
}

/* Блоки */
.col-2{
    column-count: 2;
    column-gap: 30px;
}
.col-3{
    column-count: 3;
    column-gap: 30px;
}
.col-4{
    column-count: 4;
    column-gap: 30px;
}
.col-2 > *, .col-3 > *, .col-4 > *{
	width:100%;
    display:block;
    -webkit-column-break-inside: avoid;
    column-break-inside: avoid;
    -moz-page-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Конпка вверх */
#scroll-top{
    z-index: 30;
    padding: 12px;
    cursor: pointer;
    position: fixed;
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
    right: 30px; bottom: 0;
    width: 40px; height: 40px;
    opacity: 0; visibility: hidden;
    transition-duration: .5s, .3s, .3s, .3s;
    box-shadow: 0 3px 5px -1px rgba(17, 17, 17, .3);
    transition-property: transform, opacity, visibility, background-color;
}
#scroll-top.act{
    opacity: 1;
    visibility: visible;
    transform: translateY(-30px);
}
#scroll-top:hover svg{
    fill: #fa7300;
}
#scroll-top svg{
    transform: rotate(-90deg);
    width: 100%; height: 100%;
    fill: rgba(17, 17, 17, .5);
}

/* Accord */
.accord{
    margin: 10px 0 0;
}
.accord input{
    top: 1px;
    cursor: pointer;
    position: relative;
    width: auto !important;
    margin: 0 4px 0 0 !important;
}
.accord a{
    font-weight: bold;
}

/* Вывод изображений для категорий */
.ctg-image{}
.ctg-image ul{}
.ctg-image li{}
.ctg-image a{}
.ctg-image a:hover{}
.ctg-image .image{
    height: 185px;
    background-color: #ddd;
}
.ctg-image a:hover .image{}
.ctg-image a:hover .image img{}
.ctg-image .image img{}
.ctg-image .title{
    text-align: center;
    margin-top: 10px;
}
.ctg-image a:hover .title{}

/* Фон для всплывающего окна */
#popup-bg{
    width: 100%;
    height: 100%;
    z-index: 100;
    top: 0; left: 0;
    position: fixed;
    transition-duration: .4s;
    background: rgba(0,0,0,.6);
    opacity: 0; visibility: hidden;
    transition-timing-function: ease;
    transition-property: opacity, visibility;
}
#popup-bg.show{
    opacity: 1;
    visibility: visible;
}
#popup-manager{
    position: relative;
    z-index: 300;
}

/* Карта сайта */
.sitemap-list{
    line-height: 18px;
    font-size: 14px;
}
.sitemap-list .item{
    margin-bottom: 15px;
}
.sitemap-list .item:last-child{
    margin-bottom: 0;
}
.sitemap-list h3{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.sitemap-list ul{
    margin-left: 15px;
}
.sitemap-list li:not(:last-child){
   margin-bottom: 5px 
}

/* Модерация */
.mdr-menu{
    display: flex;
    margin: 10px 0;
    position: relative;
}
.mdr-reviews{
    margin: 0 0 10px;
}
.mdr-menu:after{
    content: 'Ожидает проверки';
    font-size: 13px;
    display: inline-block;
    line-height: 28px;
    margin-left: 10px;
    color: #ed143d;
}
.mdr-button{
    width: 34px;
    height: 26px;
    display: flex;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 3px;
    position: relative;
    z-index: 5;
    transition-property: border-radius, border-color;
    transition-duration: .2s;
    transition-delay: .3s;
}
.mdr-button.act{
    transition-delay: 0s;
    border-radius: 3px 3px 0 0;
    border-bottom-color: transparent;
}
.mdr-button svg{
    fill: #333;
    margin: auto;
    width: 14px; height: 14px;
    transition-property: opacity;
    transition-duration: .15s;
}
.mdr-button svg:first-child{
    position: relative;
}
.mdr-button svg:last-child{
    opacity: 0;
    position: absolute;
    top: 6px; left: 10px;
}
.mdr-button.act svg:first-child{
    opacity: 0;
}
.mdr-button.act svg:last-child{
    opacity: 1;
}
.mdr-menu .links{
    left: 0;
    top: 26px;
    z-index: 10;
    width: 180px;
    position: absolute;
    border: 1px solid #ddd;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 3px;
    overflow: hidden;
    display: none;
}
.mdr-menu a{
    display: flex;
    position: relative;
    align-items: baseline;
    padding: 10px;
}
.mdr-menu a:hover{
    background-color: #eee;
}
.mdr-menu .icon{
    width: 18px;
    height: 18px;
    display: flex;
    border-radius: 50%;
    box-sizing: border-box;
    margin-right: 5px;
}
.mdr-menu a.accept .icon{
    background-color: green;
}
.mdr-menu a.edit .icon{
    background-color: orange;
}
.mdr-menu a.delete .icon{
    background-color: red;
}
.mdr-menu .icon svg{
    fill: #fff;
    width: 10px;
    height: 10px;
    margin: auto;
}
.mdr-menu .title{
    font-size: 14px;
    color: #333;
}
#moderation_content_list .add,
.content_moderator_info{
    display: none;
}

/* Меню администратора */
#admin-menu{
    left: 0;
    top: 50%;
    font-size: 14px;
    font-family: museo;
    padding: 20px 15px;
    background-color: white;
    position: fixed; z-index: 101;
    transform: translateY(-50%) translateX(-60px);
    transition: transform .3s linear;
    border: 1px solid #ddd;
    border-left: 0;
}
#admin-menu.show{
    transform: translateY(-50%) translateX(0);
}
#admin-menu ul ul, #actions-menu ul ul{
    display: none;
}
#admin-menu li{
    margin-bottom: 10px;
}
#admin-menu li:last-child{
    margin-bottom: 0;
}
#admin-menu a{
    color: #333;
    display: flex;
    position: relative;
    align-items: center;
}
#admin-menu a:hover{
    color: #333;
}
#admin-menu a:before{
    content: "";
    background-size: contain;
    width: 20px; height: 20px;
    background-position: center;
    background-repeat: no-repeat;
}
#admin-menu .title{
    display: block;
    padding: 5px 13px;
    position: absolute;
    text-align: center;
    white-space: nowrap;
    top: -3px;
    left: 35px;
    background-color: #fff;
    transition-duration: .1s;
    opacity: 0;
    visibility: hidden;
    border: 1px solid #ddd;
    border-left: 0;
    transition-property: opacity, visibility;
}
#admin-menu a:hover .title{
    opacity: 1;
    visibility: visible;
}
#admin-menu .count{
    color: red;
    font-size: 12px;
    position: absolute;
    top: -3px; right: -6px;
}

/* Меню действий */
#actions-menu{
    padding: 15px;
    font-size: 13px;
    font-family: museo;
    margin-top: -15px;
    margin-bottom: 15px;
    background-color: #e5e5e5;
}
#actions-menu ul{
    display: flex;
    justify-content: flex-end;
}
#actions-menu li{
    margin-right: 20px;
}
#actions-menu li:last-child{
    margin-right: 0;
}
#actions-menu a{
    display: flex;
    align-items: center;
    transition-duration: .1s;
}
#actions-menu a:before{
    content: "";
    width: 16px;
    height: 16px;
    margin-right: 7px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Иконки меню */
#admin-menu .auth a:before{background-image: url(../images/admin/auth.svg)}
#admin-menu .notice a:before{background-image: url(../images/admin/notice.svg)}
#admin-menu .moderation a:before{background-image: url(../images/admin/moderation.svg)}
#admin-menu .content a:before{background-image: url(../images/admin/content.svg)}
#admin-menu .ctype a:before{background-image: url(../images/admin/ctype.svg)}
#admin-menu .menu a:before{background-image: url(../images/admin/menu.svg)}
#admin-menu .widgets a:before{background-image: url(../images/admin/widgets.svg)}
#admin-menu .components a:before{background-image: url(../images/admin/components.svg)}
#admin-menu .settings a:before{background-image: url(../images/admin/settings.svg)}
#admin-menu .logout a:before{background-image: url(../images/admin/logout.svg)}
#actions-menu .add a:before{background-image: url(../images/admin/add.svg)}
#actions-menu .edit a:before{background-image: url(../images/admin/edit.svg)}
#actions-menu .delete a:before{background-image: url(../images/admin/delete.svg)}
#actions-menu .basket_put a:before{background-image: url(../images/admin/basket_put.svg)}
#actions-menu .page_gear a:before{background-image: url(../images/admin/page_gear.svg)}
#actions-menu .folder_add a:before{background-image: url(../images/admin/folder_add.svg)}
#actions-menu .folder_edit a:before{background-image: url(../images/admin/folder_edit.svg)}
#actions-menu .folder_delete a:before{background-image: url(../images/admin/folder_delete.svg)}
#actions-menu .save a:before{background-image: url(../images/admin/save.svg)}
#actions-menu .save_draft a:before{background-image: url(../images/admin/save_draft.svg)}
#actions-menu .cancel a:before{background-image: url(../images/admin/cancel.svg)}

/* Owl-carousel */
.owl-carousel {
    display: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    /* position relative and z-index fix webkit rendering fonts issue */
    position: relative;
    z-index: 1;
}
.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */
}
.owl-carousel .owl-stage:after {
    content: ".";
    height: 0;
    clear: both;
    display: block;
    line-height: 0;
    visibility: hidden;
}
.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper, .owl-carousel .owl-item{
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0); 
}
.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; 
}
.owl-carousel .owl-item img {width: 100%; display: block}
.owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled{display: none}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next{
    border: none;
    font: inherit;
    color: inherit;
    background: none;
    padding: 0 !important;
}
.owl-carousel.owl-loaded{display: block}
.owl-carousel.owl-loading{opacity: 0; display: block}
.owl-carousel.owl-hidden{opacity: 0}
.owl-carousel.owl-refresh .owl-item{visibility: hidden}
.owl-carousel.owl-drag .owl-item{
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.owl-carousel.owl-grab{cursor: move; cursor: grab}
.owl-carousel.owl-rtl{direction: rtl}
.owl-carousel.owl-rtl .owl-item{float: right}
.no-js .owl-carousel{display: block;}
.owl-carousel .animated{animation-duration: 1000ms; animation-fill-mode: both}
.owl-carousel .owl-animated-in{z-index: 0}
.owl-carousel .owl-animated-out{z-index: 1}
.owl-carousel .fadeOut {animation-name: fadeOut}
@keyframes fadeOut{0% {opacity: 1} 100% {opacity: 0}}
.owl-height{transition: height 500ms ease-in-out}
.owl-carousel .owl-item .owl-lazy{opacity: 0; transition: opacity 400ms ease}
.owl-carousel .owl-item .owl-lazy[src^=""], 
.owl-carousel .owl-item .owl-lazy:not([src]){
    max-height: 0;
}
.owl-carousel .owl-item img.owl-lazy{transform-style: preserve-3d}
.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000;
}
.owl-carousel .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url("../images/video.play.png") no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    transition: transform 100ms ease;
}
.owl-carousel .owl-video-play-icon:hover {
    -ms-transform: scale(1.3, 1.3);
    transform: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
    display: none;
}
.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity 400ms ease;
}
.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%; 
}

/* Nav, arrow */
.owl-nav{}
.owl-nav > *{
    width: 30px; height: 30px;
    background-color: #000;
    position: absolute;
    cursor: pointer;
    top: 0; bottom: 0;
    margin: auto;
    box-sizing: border-box;
    padding: 5px;
}
.owl-prev{left: 0px}
.owl-next{right: 0px}
.owl-nav svg{width: 100%; height: 100%; fill: #fff}
.owl-prev:hover svg, .owl-next:hover svg{}

/* Dots */
.owl-dots{
    display: flex;
    margin-top: 10px;
    justify-content: center;
}
.owl-dot{
    opacity: .6;
    margin: 0 2.5px;
    border-radius: 50%;
    background-color: #bbb;
    box-sizing: border-box;
    width: 12px; height: 12px;
    transition-duration: .15s;
    transition-timing-function: linear;
    transition-property: background, opacity;
}
.owl-dot.active, .owl-dot:hover{opacity: 1}