@import url('https://fonts.googleapis.com/css?family=Montserrat:500');

body
{
    background-color: #e7e9ec;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    font-family: OpenSans, Arial, Helvetica;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    overflow: hidden;
}
h1
{
    font-size: 2.7em;
}
a
{
    /*color: #333;*/
    transition: all 0.15s ease-out;
}
a:hover
{
    color: #0064a0;
    text-decoration: none;
    transition: all 0.15s ease-out;
    background: #f4f4f4;
}
#dropdownSearchDetail{ 
    text-decoration: none;
}
.clearfix {clear: left;}
.nopadding
{
    margin: 0!important;
    padding: 0!important;
}
.boxpadding
{
    padding: 15px 0;
}
.btn-info {
    color: #fff;
    background-color: #0064a0;
    border-color: #3f51b5;
}

@media (min-width: 1200px) {
    .main-container {
        width: 1200px;
    }
}
@media (min-width: 992px) {
    .modal-lg {
        width: 85vw;
    }
}

.post-panel
{
/*    position: absolute;
    right: 10px;
    bottom: 3px;*/
    text-align: right;
    margin: 7px;
}
    .post-panel > div
    {
        display: inline-flex;
        align-items: center;
    }
    .post-panel .forum-post-group
    {
        display: flex;
        align-items: center;
        padding: 5px;
    }
@media(max-width:768px)
{
    #new-post-modal .box-body,
    #new-topic-panel .box-body
    {
        padding-bottom: 40px;
    }
    .post-panel
    {
        bottom: -35px;
        width: 100%;
        text-align: right;
        right: 0;
    }
}

/* Wrappers */
#wrapper-background {
    height: 100vh;
    background: #f7f8f9 url(/templates/upd/images/bgr.png) repeat-x 0 91px;
}
#wrapper-background:before {
    content: "";
    background: #065c9047;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#wrapper
{
    position: relative;
    top: 150px;
    padding-left: 0;
    overflow: auto;
    height: calc(100vh - 148px);
    -transition: padding-left 0.5s ease;
}
#wrapper.toggled
{
    /*padding-left: 250px!important;*/
    padding-left: 320px!important;
}
    #side-wrapper
    {
        position: fixed;
        /*left: 250px;*/
        left: 320px;
        width: 0;
        height: 100%;
/*        margin-left: -250px;*/
        margin-left: -320px;
        overflow-y: hidden;
        z-index: 1;
        overflow: hidden;
        overflow: auto;
        
        background: #fff;
        box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.2);
        -transition: width 0.5s ease;
    }
        #side-wrapper .content
        {
            padding: 0 10px;
        }
    #page-wrapper
    {
        margin-bottom: 20px;
        width: 100%;
    }
    
    #wrapper.toggled #side-wrapper
    {
        width: 320px;
        /*width: 250px;*/
    }
    #wrapper.toggled #page-wrapper
    {
        position: absolute;
        /*margin-right: -250px;*/
        margin-right: -320px;
    }
    
@media(min-width:768px)
{
    #wrapper
    {
        top: 113px;
        height: calc(100vh - 113px);
    }
    #side-wrapper
    {
        height: calc(100% - 113px);
    }
    #page-wrapper
    {
        position: relative;
    }
    
    
    #wrapper.toggled #page-wrapper
    {
        position: relative;
        margin-right: 0;
    }
}
/* END Wrappers*/



/* BOX */
.box
{
    position: relative;
    background: #fff;
    margin-top: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
    .box-header
    {
        display: block;
        align-items: center;
        padding: 5px 15px;
    }
        .box-header h3
        {
            display: inline;
            font-size: 1.5em;
            margin: 0;
        }
    .box-body
    {
        display: flex;
        flex-flow: column;
        width: 100%;
        background: #fbfbfb;
        border-top: 3px solid #0064a0;
    }
    .box-footer
    {
        display: flex;
        flex-flow: column;
        border-top: 1px solid #f7f7f7;
        background-color: #fff;
    }
/* END BOX */




/* UNSTYLED BOX */
.box.unstyled
{
    background: none;
    box-shadow: none;
}
.box.unstyled > .box-header h3 i
{
    position: relative;
    color: #487cba;
    font-size: 20px;
    padding-right: 10px;
}
.box.unstyled > .box-body,
.box.unstyled > .box-footer
{
    background: none;
}
.box.unstyled.dark > .box-body
{
    border-top-color: #1a171b;
    margin: 0 0 0 -30px;
}
.unstyled-box-body-fix
{
    margin: 0 -30px 0 -0px!important;
}
/* END UNSTYLED BOX */



/* ENUMERATION LIST */
.enum
{
    line-height: 2.5em;
    font-size: 1em;
    margin: 20px 0px 20px 30px;
}
/*.enum > *:nth-child(2n+1)
{
    font-weight: 600;
}*/
.enum > .summary
{
    text-align: center;
    padding: 15px;
}
.enum .form-control
{
    margin: 5px 0 5px 0;
}
/* ENUMERATION LIST */


/* AVATAR */
.avatar
{
    position: relative;
    display: block;
    /* width: 100vh; */
    /* height: 100vw; */
    background: #d0d2d5 center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}
.avatar:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.avatar:hover
{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.avatar.x75, .avatar.x115, .avatar.x135, .avatar.x175, .avatar.x250
{
    border: 6px solid #fff;
}
.avatar.x75
{
    max-width: 75px;
    max-height: 75px;
}
.avatar.x55
{
    max-width: 55px;
    max-height: 55px;
}
.avatar.x115
{
    max-width: 95px;
    max-height: 95px;
}
.avatar.x135
{
    max-width: 135px;
    max-height: 135px;
}
.avatar.x175
{
    max-width: 175px;
    max-height: 175px;
}
.avatar.x200
{
    max-width: 200px;
    max-height: 200px;
}
.avatar.x250
{
    max-width: 250px;
    max-height: 250px;
}
    .avatar > *
    {
        position: absolute;
        top: -6px;
        right: -6px;
        border: 0px solid #fff;
        border-radius: 100px;
        cursor: auto;
    }
    .avatar.x75 > i
    {
        width: 12px;
        height: 12px;
    }
    .avatar.x135 > i
    {
        width: 18px;
        height: 18px;
    }
/* END AVATAR */



/* TOP PANEL */
.top-panel
{
    padding: 7px;
    z-index: 9;
    background-color: #f4f4f4;
    box-shadow: 0px 0px 4px -1px rgba(0,0,0,0.8);
}
@media(min-width:768px)
{
    .top-panel > div
    {
        display: flex;
    }
}
    .top-panel .logo, .top-panel .search, .top-panel .menu
    {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-flow: column;
    }
        .top-panel .menu > div
        {
            width: 100%;
        }
    .top-panel .logo
    {
        margin-bottom: 10px;
    }
        .top-panel .logo > a { align-self: left; }
        .top-panel .menu-bars
        {
            margin: 0;
        }
        #navbar .nav > li > a
        {
/*            padding: 10px 8px;
            font-size: 21px;*/
            color: #007ca2;
        }
        
        .dropdown-menu>li>a {
            display: block;
            padding: 6px 20px;
            clear: both;
            font-weight: 400;
            line-height: 1.42857143;
            color: #007ca2;
            white-space: nowrap;
        }
        .dropdown-menu>li>a:hover {
            color: #007ca2;
        }

@media (min-width: 992px)
{
    .top-panel .logo
    {
        margin-bottom: 0;
    }
}

    /* SEARCH FORM */
    .top-panel .search form
    {
        position: relative;
        border: 2px solid #d0d2d5;
        width: 100%;
    }
        .top-panel input
        {
            height: 100%;
            width: 100%;
            padding: 12px 80px 12px 40px;
            font-size: 1.3em;
            border: none;
        }

        .top-panel .search .submit
        {
            position: absolute;
            top: 0;
            right: 0;
            width: 35px;
            height: 45px;
            font-size: 18px;
            background: transparent;
            border: none;
            color: #0064a0;
        }
        .submitclear
        {
            position: absolute;
            top: 10;
            right: 0;
            width: 55px;
            height: 45px;
            font-size: 18px;
            background: transparent;
            border: none;
            color: #969ba8;
        }
        .top-panel .search .detail
        {
            position: absolute;
            top: 0;
            left: 0;
            width: 30px;
            height: 45px;
            font-size: 18px;
            background: transparent;
            border: none;
            color: #0064a0;
            transition: 0.3s;
        }
        .top-panel .search .detail:hover
        {
            background: #ddd;
            transition: 0.3s;
        }
        
        .top-panel .search .search-detail
        {
            width: 100%;
            margin-top: 10px;      
            padding: 20px;
            border: none;
            border-radius: 0;
            
        }
        @media (min-width: 768px)
        {
            .top-panel .search .search-detail { width: 750px; }
        }
        @media (max-width: 768px)
        {
            .top-panel .search .search-detail { height: calc(100vh - 175px); overflow: scroll; }
        }
        
        .advsearch input{
            height: 30px;
            padding:6px 12px;
            border: 1px solid #ccc;
            font-size: 14px;
            line-height: 19px!important;
        }
        
        .advsearch input[type=checkbox]{
            height: auto;
            width: auto;
        }
        /* END SEARCH FORM */
/* END TOP PANEL */



/* PAGE HEADER */
.pg-header {}
    .pg-header > .cover
    {
        position: relative;
        height: 300px;
        background-repeat: no-repeat;
        background-position: center;
        -webkit-background-size: cover;
        background-size: cover;
        background-image: url("../images/cover.jpg");
    }
    .pg-header > .cover > .overlay
    {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0dÃ¢â‚¬Â¦0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=);
        background-image: -webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
        background-image: -o-linear-gradient(top,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
        background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,0)),to(rgba(0,0,0,.4)));
        background-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(0,0,0,.9) 100%);
    }

/* HEADER DETAILS */
.header-details
{
    display: flex;
    height: 300px;
    align-content: center;
    align-items: flex-end;
    text-align: -webkit-right;
}
.header-details > .l,
.header-details > .r
{
    display: flex;
    flex-flow: column;
}
    .header-details > .l > .avatar
    {
        position: relative;
        display: flex;
        bottom: -30px;
        max-width: 200px;
        max-height: 200px;
        border: 5px solid #fff;
    }
    .header-details > .r .text
    {
        color: #fff;
        padding: 0;
        margin-bottom: 30px;
        align-self: flex-end;
    }
        .header-details .text h1
        {
            margin-top: 0;
        }

    .header-details > .r .data
    {
        display: flex;
        height: 230px;
    }
    @media (max-width: 768px)
    {
        .header-details > .r .data
        {
            display: flow-root;
            height: audo;
        }
    }
        .header-details > .r .rate .act
        {
            margin-bottom: 30px;
            display: inline-flex;
            flex-flow: column;
        }
            .header-details > .r .rate .act .btn-lg
            {
                font-size: 22px;
                font-weight: 600;
                margin-bottom: 5px;
            }
/* PAGE CONTENT */
@media (max-width: 768px)
{
    .header-details .text h1
    {
        font-size: 1.8em;
    }
}
/* END HEADER DETAILS */



/* PROFILE MENU */
.profile-menu
{
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}
    .profile-menu li > a
    {
        color: #fff;
    }
        .profile-menu li > a > i
        {
            display: block;
        }
    .profile-menu li.active > a:after
    {
        border: 10px solid transparent;
        border-bottom-color: #fff;
        content: "";
        display: inline-block;
        position: absolute;
        left: calc(50% - 10px);
        bottom: 0;
    }
    .profile-menu li > a:hover
    {
        color: #fff;
        background: #0064a0;
    }
@media (max-width: 768px)
{
    .profile-menu
    {
        text-align: left;
    }
    .profile-menu li > a > i
    {
        display: inline-block;
    }
    .profile-menu li.active > a:after
    {
        border: 10px solid transparent;
        border-right-color: #fff;
        right: 0px;
        bottom: calc(50% - 10px);
    }
}
/* PROFILE MENU END */
/* PAGE HEADER */



/* PAGE CAPTION */
.pg-caption
{
    display: block;
    background: white;
    padding: 10px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
    .pg-caption h1
    {
        float: left;
        font-size: 2.2em;
        color: #0064a0;
    }
    .pg-caption span
    {
        float: right;
    }
/* PAGE CAPTION END */



/* PAGE CONTENT */
@media (min-width: 768px)
{
    .pg-content > .l
    {
        padding-left: 0;
    }
    .pg-content > .r {
        padding-right: 0;
    }
}
/* END PAGE CONTENT */



/* ICON MENU (МЕНЮ ИНФОРМАЦИЯ) */
.icon-menu li > a
{
    color: #969ba8;
}
.icon-menu li.active > a,
.icon-menu li > a:hover
{
    background: #0064a0;
    color: #fff;
}
    .icon-menu li > a i
    {
        font-size: 1.6em;
        color: #cdcdcd;
        width: 35px;
    }
    .icon-menu li > a:hover i,
    .icon-menu li.active > a i
    {
        color: #fff;
    }
/* END ICON MENU */



/* ICON USER TEXT LIST (ОТЗЫВЫ) */
.usr-text-list {}
    .usr-text-list li
    {
        display: flex;
        padding: 10px;
        border-bottom: 1px solid #d0d2d5;
        align-items: center;
    }
        .usr-text-list .l
        {
            text-align: -webkit-center;
        }
        .usr-text-list .r {}
            .usr-text-list .r h5
            {
                font-weight: 600;
            }
        .usr-text-list .go
        {
            font-size: 1.8em;
        }
/*ICON USER TEXT LIST */



/* USER LIST (ДРУЗЬЯ) */
.usr-list {}
    .usr-list li
    {
        text-align: -webkit-center;
        padding: 10px;
    }
        .usr-list h5
        {
            font-weight: 600;
        }
/* END USER LIST */



/* COMMENT */
.new-post .comment
{
    padding: 0;
}
.new-post .comment .nav-pills
{
    display: flex;
    flex-flow: row;
    align-items: center;
    padding: 5px;
}



.box.post .box-header
{
    padding: 0;
}
    .box.post .box-header .comment
    {
        border: none;
    }
.box.post .box-body.comment .r > .p
{
    padding: 10px;
}


.level-down
{
    margin-left: 40px;
}

.comment
{
    display: flex;
    flex-flow: wrap;
    padding: 5px;
    border-bottom: 1px solid #d0d2d5;
    align-items: center;
}
    .comment .l
    {
        text-align: -webkit-center;
    }
    .comment .r
    {
        padding: 0;
    }
        .comment .r .head
        {
            float: left;
        }
            .comment .r h5
            {
                font-weight: 600;
            }
            .comment .r .meta
            {
                display: block;
                margin-right: 15px;
                font-size: 0.8em;
                color: #969ba8;
            }
            .comment .r .meta.answer
            {
                font-weight: 600;
            }
        .comment .go
        {
            float: right;
        }
            .comment .go > a
            {
                font-size: 1.3em;
                display: block;
                padding: 10px 15px;
            }

        .comment .p
        {
            display: block;
        }
        .comment .actions
        {
            float: right;
        }
            .comment .actions a
            {
                font-size: 0.9em;
                color: #969ba8;
                font-weight: 600;
            }
            .comment .actions a:hover
            {
                color: #487cba;
            }
                .comment .actions .favorite
                {
                    padding: 4px 15px;
                    border: none;
                }




.comment .post
{
    display: flex;
    align-items: stretch;
}
    .comment .post > a
    {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        font-size: 1.8em;
        color: #fff;
        background: #d0d2d5;
        border-radius: 0;
    }
    .comment .post > a:hover
    {
        color: #fff;
        background: #0064a0;
    }
    .comment .post > textarea
    {
        width: 100%;
        height: 80px;
        border: 2px solid #d0d2d5;
        border-right: none;
        border-radius: 0;
    }
    
    
.box-footer .comment .r
{
    padding-left: 60px;
}
/*ICON USER TEXT LIST */







.mce-container-body.mce-flow-layout
{
    display: -webkit-box;
    padding: 3px;
}
.mce-container-body.mce-stack-layout
{
    display: flex;
    flex-flow: column-reverse;
}
.mce-branding-powered-by, .mce-statusbar
{
    display: none!important;
}
.mce-toolbar-grp, .mce-edit-area
{
    border: none!important;
}
#new-post-modal .mce-container
{
    border: none!important;
}




@media(min-width:768px)
{
    .forum-menu
    {
        top: 80px;
        position: absolute;
        z-index: 10;
        display: none;
    }
    .forum-menu .nav a { padding: 18px 30px; }
}
@media(max-width:768px)
{
    .forum-menu { margin-bottom: -7px; }
    .forum-menu .nav
    {
        display: flex;
    }
}
.forum-menu
{
    display: inline-block;
}
    .forum-menu .strip
    {
        width: 100%;
        background: linear-gradient(to bottom, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 16%, rgba(201,202,205,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#c9cacd', GradientType=0 );
        box-shadow: 0px -1px 3px -1px rgba(0, 0, 0, 0.4);
        border-radius: 3px;
    }
        .forum-menu .strip > div
        {
            display: flex
        }
            .forum-menu .nav
            {
                margin: 0 auto;
            }
            .forum-menu .nav > li
            {
                text-align: center;
            }
            .forum-menu .nav a
            {
                color: #0064a0;
                border-left: 1px solid #ccc;
            }
            .forum-menu .nav:last-child
            {
                border-right: 1px solid #ccc;
            }
            .forum-menu .nav a:hover
            {
                color: #fff;
                background: linear-gradient(to bottom, rgba(73,155,234,1) 0%, rgba(25,93,166,1) 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#195da6', GradientType=0 );
            }









.box.forum-post {
    border: 1px solid #dddfe2;
    border-radius: 7px;
}
    .box.forum-post .box-header {
        padding: 0;
        display: block;
        align-items: center;
        border-top: 5px solid #0064a0;
    }
        .comment.author
        {
            background: linear-gradient(to bottom, rgba(237,237,237,1) 0%,rgba(246,246,246,1) 53%,rgba(255,255,255,1) 100%);
        }
        .comment.author > div
        {
            display: flex;
            align-items: center; 
        }
        .comment.author > div .pic
        {
            margin-right: 13px;
        }
        .comment.author > div .head
        {
            width: 100%;
        }
        .comment.author > div .head h5
        {
            font-weight: 600;
            color: #0064a0;
        }
        .comment.author > div .head .meta
        {
            color: #616770;
            font-size: 0.85em;
        }
        .actions {
            float: none;
            width: 100%;
            display: grid;
            grid-auto-flow: column;
            color: #616770;
            font-size: 1.1em;
            align-items: baseline;
            overflow: auto;
        }
    .box.forum-post .box-body {
        display: flex;
        flex-flow: wrap;
        align-items: center;
        background: #fff;
        border: none;
        border-bottom: 1px solid #d0d2d5;
        padding: 5px;
    }
        .comment {
            border: none;
        }
        .comment .r .text {
            display: inline-flex;
            display: flex;
            align-items: center;
        }
            .comment .r .text .p {
                display: block;
                background: #fff;
                border-radius: 20px;
                padding: 10px;
            }
            .comment .r .text .p.full-size {
                width: 100%;
            }
                .comment .text h5
                {
                    margin-top: 0px;
                }
                .comment .text .user-strip
                {
                    display: flex;
                    align-items: baseline;
                }
                
                .comment .text .actions {
                    display: inline-flex;
                    width: auto;
                    font-size: 0.9em;
                    opacity: 0.3;
                    transition: 0.5s linear;
                }
                .comment .text:hover .actions
                {
                    opacity: 1;
                    transition: 0.5s linear;
                }
            
        .comment .r .status
        {
            display: flex;
            margin-top: 10px;
        }
            
    .box.forum-post .box-footer {
        background: #f2f3f5;
    }
@media(max-width:768px)
{
    .comment .r .text .p {
        width: calc(100% - 40px);
    }
    .box-footer .comment .r {
        padding-left: 20px;
        overflow: overlay;
    }
    
    .comment .text .user-strip .actions { display: list-item; }
}
    
    
 #new-topic-panel.forum .enum {
    margin: 0;
}    
#new-topic-panel.forum .enum > .summary {
    position: relative;
    text-align: right;
    padding: 0;
    top: -38px;
    right: 17px;
}
#answer-modal .modal-content
{
    box-shadow: none;
    border-radius: 0;
    border: none;
}
#answer-modal .modal-body
{
    display: flow-root;
    padding: 20px 0 0 0;
}



 /* highlight col-* */
 .auto-clear {
    display: flex;
    flex-wrap: wrap;
 }
 
 .tpshka {
     display: block!important;
     overflow:hidden;
     background-color: white;
     top:-7px;
     font-size: 15px; color: #007ca2;
 }