/* =========== © 2016 Centroarts.com =========== */

/* Сброс */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; font-size: 100%; font: inherit; vertical-align: baseline } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block } body { line-height: 1 } ol, ul { list-style: none } blockquote, q { quotes: none } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none } table { border-collapse: collapse; border-spacing: 0 }

html { height: 100%; min-height: 100%; }
body { min-height: 100%; font-family: 'Montserrat', sans-serif; background-color: #f4f4f4; display: flex; flex-direction: column;}
html, html a { -webkit-font-smoothing: antialiased; }

/* Опускаем футер вниз экрана */
section {flex: 1 0 auto;
    margin-bottom: 60px;	/* убрать для закрепленного футера */
}

footer {
    flex: 0 0 auto;
    z-index: 11;
    height: 60px;		/* убрать для закрепленного футера */
    position: fixed;		/* убрать для закрепленного футера */
    bottom: 0;			/* убрать для закрепленного футера */
    vertical-align: middle;	/* убрать для закрепленного футера */
}

/* Настройка основной типографии */
body, select, input, textarea, button {
	font-family: 'Montserrat', sans-serif;
	color: #353535;
	outline: none;
}

a {
    outline: none;
    color: #3394e6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a img {
    border: 0 none;
}

a > img {
    vertical-align: bottom;
}

/* Заголовки H1-6 */
h1,h2,h3,h4,h5,.h1,.h2,.h3,.h4,.h5 {
    margin: 0.6em 0 .3em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}

h1, .h1 { font-size: 26px; font-weight: 600;}
h2, .h2 { font-size: 24px; font-weight: 600;}
h3, .h3 { font-size: 22px; font-weight: 600;}
h4, .h4 { font-size: 20px; font-weight: 600;}
h5, .h5 { font-size: 18px; font-weight: 600;}

.addcomment h3 { margin: .3em 0 .6em 0; }

.dlevideoplayer ul[data-theme] {
    display: none;
}

/* Частые стили */
.strike { text-decoration: line-through; }
.nobr { white-space: nowrap; }
.hide { display: none; }
.title_hide { left: -9999px; position: absolute; top: -9999px; overflow: hidden; width: 0; height: 0; }
.uline { text-decoration: underline; }
.strike { text-decoration: line-through; }
.justify { text-align: justify; }
.center { text-align: center; }
.left { float: left; }
.right { float: right; }
	fieldset { border: 1px solid rgba(0,0,0,0.1); padding: 20px; margin-bottom: 25px; }
	fieldset legend { font-weight: bold; }

.grey { color: #919191; }
.grey a { color: inherit; }
.grey a:hover { color: #353535; }
.blue { color: #3394e6; }
.orange { color: #e85319; }

.disnone{display:none!important;}
.disflex{display:flex;}
.dfc{display:flex;justify-content: space-between;align-items:center;}
.jcsb{justify-content: space-between;}
.aic{align-items:center;}
.ofv{overflow:visible!important;}
.clr{clear: both;}
.bsbb{box-sizing: border-box;}
.w100{width:100%;}
.w100i{width:100%!important;}
.w340px{width:340px;}
.h38{height:38px!important;}

.mtop0{margin-top: 0;}
.mtop5{margin-top: 5px;}
.mtop7{margin-top: 7px;}
.mtop10{margin-top: 10px;}
.mtop20{margin-top: 20px;}
.mtop30{margin-top: 30px;}
.mtop40{margin-top: 40px;}
.mtop50{margin-top: 50px;}

.f18{font-size: 18px;}
.f38{font-size: 38px;}

.mleft0{margin-left:0!important;}
.mleft10{margin-left:10px;}
.mleft20{margin-left:20px;}

.mright10{margin-right:10px;}
.mright20{margin-right:20px;}

.ptop10{padding-top:10px;}
.ptop20{padding-top:20px;}
.ptop30{padding-top:30px;}
.ptop40{padding-top:40px;}
.ptop50{padding-top:50px;}

.p20{padding:20px;}

.ac{text-align:center;}
.al{text-align:left;}
.ar{text-align:right;}

sup { vertical-align: super; font-size: smaller; }
sub { vertical-align: sub; font-size: smaller; }
.over { display: inline-block; vertical-align: middle; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
a .over { cursor: pointer; }

.cover { background-position: 50% 50%; background-repeat: no-repeat; -webkit-background-size: cover; background-size: cover;}

/* Настройка других элементов */
ul { padding-left: 40px; list-style: disc outside; margin-top: 1em; margin-bottom: 1em;}
ol { padding-left: 40px; list-style: decimal outside; margin-top: 1em; margin-bottom: 1em;}

strong, b { font-weight: bold }
em, cite, i { font-style: italic }
caption { text-align: left }
small, .small { font-size: .9em; }
hr { height: 0; border: 0; border-top: 2px solid #416892; -moz-box-sizing: content-box; box-sizing: content-box; margin: 10px 0; }

.clr { clear: both }
.clrfix:after { clear: both; content: ""; display: table; }

.instagram-media, .twitter-tweet {display: inline-block !important;}

header, section, footer{
    width:100%;
    display: flex;
    justify-content: center;
}

header{
    height: 56px;
    font-weight: 500;
    font-size: 18px;
}

.combo_field{
    margin-bottom: 10px;
}

.bg_color1{
    background: #f4f4f4;
    padding:0 5px 7px 7px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.maxw{
    max-width:1140px;
    width:100%;
    padding:0 20px;
    box-sizing:border-box;
    background: #ffffff;
}

.maxw-footer{
    max-width:1140px;
    width:100%;
    padding:0 20px;
    box-sizing:border-box;
    background: #ffffff;
}

.login-child{
    display: block;
    position: absolute;
    max-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: padding 0.3s, max-height 0.3s;
    top: 20px;
    right: 0;
    z-index: 20;
    width: 250px;
    background: #fff;
    box-shadow: 0px 4px 20px #ddd;
    border-radius: 12px;
}

.login-parent{
	position: relative;
	cursor: pointer;
}

.login-parent:hover > .login-child, .login-child:hover {
    padding: 10px 0;
    max-height: 700px;
    border: 1px solid;
    border-color: #416892;
}

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

.login-ava img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 20px;
}

.login-ava span {
    display: block;
    margin-top: 10px;
}

.avatar1 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.shortstory-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* shortstory cats */
.shortstory-cats {
    margin-top:20px;
    width: calc(25% - 20px);
    transition: all 0.3s;
    opacity: 1;
    margin: 10px;
    position: relative;
}

.shortstory-cats:hover {
    opacity: 0.7;
    text-decoration: none;
}

.shortstory-img-cats {
    /*box-shadow: 0px 8px 16px rgb(0 0 0 / 22%);*/
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
}

.shortstory-title-cats {
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 25px;
    color: #353535;
    text-align: center;
}

/* shortstory original */
.shortstory {
    margin-top:20px;
    width: calc(25% - 20px);
    transition: all 0.3s;
    opacity: 1;
    margin: 10px;
    position: relative;
    background-color: #f4f4f4;
    border-radius: 12px;
}

.shortstory:hover {
    opacity: 0.7;
    text-decoration: none;
}

.shortstory-img {
    /*box-shadow: 0px 8px 16px rgb(0 0 0 / 22%);*/
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
}

.shortstory-title {
    margin-top: 3px; 
    font-size: 20px;
    line-height: 25px;
    color: #353535;
    padding: 0 5px;
}

.shortstory-buyed {
    position: absolute;
    top: 5px;
    right: 5px;
    display: block;
    z-index: 10;
    background: #f00;
    color: #fff;
    line-height: 24px;
    padding: 0 10px;
    border-radius: 12px;
    opacity: 0.5;
}

.shortstory-text {
    color: #8B8B8B;
    font-size: 14px;
    line-height: 20px;
    max-height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: justify;
    padding: 0 5px;
}

.fullstory-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 20px;
    color: #8B8B8B;
}

.fullstory-admin {
    background: #ffefef;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
    border-radius: 16px;
}

.info {
    background: #ffefef;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    border-radius: 16px;
}

.fullstory-text p {
    font-size: 16px;
    line-height: 30px;
    text-align: justify;
}

.fullstory-text {
    margin-top: 20px;
}

.copyright {
    color: #8B8B8B;
}

.dleplyrplayer {
/*    max-width: none!important; */
}

.fullstory-cover-smart {
    width: 100%;
    height: 88vw;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    margin-top: 15px;
}

.fullstory-cover-smart h1 {
    width: 80%;
    color:#fff;
    background-color: #416892;
    opacity: 0.9;
    text-align: center;
    padding: 10px 10px;
    border-radius: 12px;
    box-sizing: border-box;
    margin: 0 0 30px;
    font-size: 30px;
    box-shadow: 0px 8px 16px rgb(0 0 0 / 22%);
}

.fullstory-cover {
    width: 100%;
    height: 385px;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    margin-top: 15px;
}

.fullstory-cover h1 {
    color:#fff;
    margin: 0 0 30px;
    text-align: center;
    background-color: #416892;
    opacity: 0.8;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 0 20px;
    font-size: 30px;
    box-shadow: 0px 8px 16px rgb(0 0 0 / 22%);
}

.fullstory-buy {
    line-height: 40px;
    background: #ff0000;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 0 20px;
    border-radius: 16px;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0px 8px 16px rgb(0 0 0 / 22%);
}

.fullstory-buy:hover {
    text-decoration: none;
    background: #ff6767;
}

.fullstory-buy-d {
    background: #ff0000;
    box-sizing: border-box;
    line-height: 3;
    display: inline;
    border-radius: 16px;
    padding: 8px 20px;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0px 8px 16px rgb(0 0 0 / 22%);
    font-weight: 500;
    margin: 0 0 30px;
}

.fullstory-buy-d:hover {
    text-decoration: none;
    background: #ff6767;
}

.fullstory-text img {
    max-width: 800px;
}

.fullstory-text iframe{
    max-width: 800px;
    border-radius: 3px;
/*    width: 100%; */
}

.attachment {
    display: block;
    background: #fffbda;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    font-size: 14px;
    color: #8B8B8B;
    margin-top: 20px;
}

.attachment a {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.hr_logo {
    margin: 0px 0;
}

.logo {
    background: #416892;
    box-sizing: border-box;
    line-height: 50px;
    display: block;
    border-radius: 16px;
    padding: 0 20px;
    font-size: 30px;
    font-display: swap;
    font-family: "Capture Smallz Clean";
    color: #fff;
    transition: all 0.3s;
}

.logo1 {
    background: #416892;
    box-sizing: border-box;
    line-height: 30px;
    display: block;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 20px;
    font-family: "Capture Smallz Clean";
    color: #fff;
    transition: all 0.3s;
}

.logo:hover {
    text-decoration: none;
    background: #383838;
    color: #fff;
}

.logo1:hover {
    text-decoration: none;
    background: #383838;
    color: #fff;
}

.dropdown-form {
    padding: 10px 20px;
    box-sizing: border-box;
    width: 100%;
    display: block;
}

.dropdown-form input {
    margin-bottom:20px;
}

.login-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 20px;
}

.ui-form {
    list-style: none;
    padding: 0;
}

.form-group {
    margin-bottom: 20px;
}

.login_check {
    display: flex;
}

.login_check .btn {
    margin-left: 20px;
}

.userinfo {
    display: flex;
    flex-direction: column;
}

.userinfo-heder {
    display: flex;
    margin-bottom: 20px;
}

.userinfo-heder img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
    margin-top: 10px;
}

.userinfo-items div {
    margin-bottom: 10px;
    margin-top: 10px;
}

.userinfo-info {
    max-width: 100%;
}

.div-table table {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #B3E7F8;
    border-collapse: collapse;
}

.div-table table th {
    font-weight: 500;
    padding: 5px;
    background: #E8F6FB;
    border: 1px solid #B3E7F8;
}

.div-table table td {
    border: 1px solid #B3E7F8;
    padding: 5px;
    text-align: left;
}

.div-table table tr {
    transition: background 0.3s;
}

.div-table table tr:hover {
    background: #E8F6FB;
}

.dlepl--boxShadow{
    box-shadow:none!important;
}

.imp {
    margin-bottom: 10px;
    display: block;
}

select {
    height: 30px;
}

.uploadedfile .info {
    background: none!important;
    padding: 3px!important;
    border-radius: 0!important;
}

.xfieldsnote{
    margin-bottom:20px;
}

.xprofile {
    padding-bottom: 20px;
}

.btn.r{
    background:#e85319;
}

.btn.r:hover{
    background:#383838;
}

.btn{
    background:#416892;
}

.btn:hover{
    background:#383838;
}

.userinfo-btns a{
    margin-bottom:10px;
}

.addnews-btns {
    margin-bottom:10px;
}

.btn-nav {
    border: 1px solid #416892;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    height: 30px;
    border-radius: 18px;
    line-height: 13px;
    outline: none;
    background-color: #ffffff;
    padding: 7px 18px;
    text-decoration: none !important;
    overflow: hidden
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    -webkit-transition: all ease .1s; transition: all ease .1s;
}

.btn-nav:hover{
    opacity: 0.5;
}

.btn-pm {
    border: 1px solid #416892;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    height: 30px;
    border-radius: 15px;
    line-height: 13px;
    outline: none;
    background-color: #ffffff;
    padding: 7px 18px;
    text-decoration: none !important;
    overflow: hidden
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    -webkit-transition: all ease .1s; transition: all ease .1s;
    margin-bottom:10px
}

.btn-pm:hover{
    opacity: 0.5;
}

.hidden-nav {
    display: none !important;
}

.visible-nav {
    display: block;
    color: #ff00ff;
}


.footer-icons a:hover{
    opacity: 0.5;
}

.spc-between{
    display: flex;
     justify-content: space-between;
}

.xfields-profile td{
    display:block;
}

.categories_one{
    display:none;
}

.categories_one.active{
    display:block;
}

.w100{
    width:100%;
}

.select2{
    width:100%!important;
}

.box_in{
    margin-top: 15px;
}

/* Для планшетов */
@media handheld, (max-width:960px){
    .highslide img{
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .info_img{
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .shortstory {
        width: 46%;
        margin: 2%;
    }

    .shortstory-cats {
        width: 46%;
        margin: 2%;
    }

    .shortstory-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .table_top_users, .pmlist {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    table.userstop, table.pm {
        table-layout: fixed;
        width:100%;
    }

    td.pm_list {
        word-wrap:break-word;
    }

    .ui-dialog {
        max-width: 95%;
    }

    body {
        background-color: #ffffff;
    }

    .fullstory-text iframe {
        max-width: 460px;
        width: 100%;
        height: auto;
}

}

/* Подгружаем фонт для лого */
@font-face {
    font-family: "Capture Smallz Clean";
    src: local("Capture Smallz Clean"),
         url("/fonts/csc.woff2") format("woff2"),
         url("/fonts/csc.woff") format("woff");
}

/* Подгружаем основной фонт */
@font-face {
    font-family: "Montserrat";
    src: local("Montserrat"),
         url("/fonts/OpenSans.woff2") format("woff2"),
         url("/fonts/OpenSans.woff") format("woff");
}

/* Подгружаем Open Sans фонт */
@font-face {
    font-family: "Open Sans";
    src: local("Open Sans"),
         url("/fonts/OpenSans.woff2") format("woff2"),
         url("/fonts/OpenSans.woff") format("woff");
}