html,
body {
    height: 100%;
}
.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}
.wrap > .container {
    padding: 70px 15px 20px;
}
.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}
.jumbotron {
    text-align: center;
    background-color: transparent;
}
.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}
.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}
a.asc:after {
    content: "\e151";
}
a.desc:after {
    content: "\e152";
}
.sort-numerical a.asc:after {
    content: "\e153";
}
.sort-numerical a.desc:after {
    content: "\e154";
}
.sort-ordinal a.asc:after {
    content: "\e155";
}
.sort-ordinal a.desc:after {
    content: "\e156";
}
.grid-view td {
    white-space: nowrap;
}
.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}
.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}
.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}
@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}
.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}
.nav > li > form > button.logout:focus {
    outline: none;
}
.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}
@media (min-width: 1200px) {
    .navbar .user-top-name-item{
        padding-top: 0;
        padding-bottom: 0;
    }
}
body{
    /*background-color: #fdfdfd;*/
}

/*body > .container {*/
    /*padding: 60px 15px 0;*/
/*}*/

/*footer{*/
    /*position: fixed;*/
    /*bottom: 0;*/
    /*width: 100%;*/
/*}*/
/*html {*/
    /*position: relative;*/
    /*min-height: 100%;*/
/*}*/
/*body {*/
    /*margin-bottom: 10vh;*/
/*}*/
/*footer {*/
    /*position: absolute;*/
    /*bottom: 0;*/
    /*width: 100%;*/
    /*height: 10vh; !*высота футера будет зависеть от высоты экрана*!*/
/*}*/

/*.navbar-nav>li>a {*/
    /*padding-top: 10px;*/
    /*padding-bottom: 10px;*/
    /*line-height: 20px;*/
/*}*/
/*.user-top-header {*/
    /*width: 36px;*/
    /*height: 36px;*/
    /*margin: 0 5px;*/
/*}*/



/*** CSS File: /themes/bootstrap/css/sticky-footer-navbar.css, Original size: 729, Compressed size: 244 ***/
/*html{position:relative;min-height:100%}.footer{bottom:0;width:100%;background-color:#f5f5f5}body > .container{padding:60px 15px 0}.container .text-muted{margin:20px 0}.footer > .container{padding-right:15px;padding-left:15px}code{font-size:80%}*/

.post-content img{
    max-width: 100%;
}
.img-fancy{
    display: block;
    text-decoration: none;
    position: relative;
    padding: 5px;
    max-width: 250px;
    max-height: 250px;
    text-align: center;
}
.link-fancy{
    text-decoration: none;
    position: relative;
    padding: 5px;
    max-width: 250px;
    max-height: 250px;
}

/* Flag Sprite from TM */
.flag-img-ad, .flag-img-ae, .flag-img-af, .flag-img-al, .flag-img-am,
.flag-img-ao, .flag-img-ar, .flag-img-at, .flag-img-au, .flag-img-az,
.flag-img-ba, .flag-img-bd, .flag-img-be, .flag-img-bg, .flag-img-bh,
.flag-img-bn, .flag-img-bo, .flag-img-br, .flag-img-bw, .flag-img-by,
.flag-img-bz, .flag-img-ca, .flag-img-ci, .flag-img-cl, .flag-img-cm,
.flag-img-cn, .flag-img-co, .flag-img-cr, .flag-img-cs, .flag-img-ct,
.flag-img-cu, .flag-img-cy, .flag-img-cz, .flag-img-de, .flag-img-dk,
.flag-img-do, .flag-img-dz, .flag-img-ec, .flag-img-ee, .flag-img-eg,
.flag-img-en, .flag-img-es, .flag-img-fi, .flag-img-fj, .flag-img-fo,
.flag-img-fr, .flag-img-gb, .flag-img-ge, .flag-img-gh, .flag-img-gr,
.flag-img-gt, .flag-img-he, .flag-img-hk, .flag-img-hn, .flag-img-hr,
.flag-img-hu, .flag-img-id, .flag-img-ie, .flag-img-il, .flag-img-in,
.flag-img-int, .flag-img-iq, .flag-img-ir, .flag-img-is, .flag-img-it,
.flag-img-jm, .flag-img-jo, .flag-img-jp, .flag-img-kr, .flag-img-kw,
.flag-img-kz, .flag-img-lb, .flag-img-lt, .flag-img-lu, .flag-img-lv,
.flag-img-ly, .flag-img-ma, .flag-img-md, .flag-img-me, .flag-img-mk,
.flag-img-mt, .flag-img-mx, .flag-img-my, .flag-img-ng, .flag-img-nl,
.flag-img-no, .flag-img-np, .flag-img-nz, .flag-img-oc, .flag-img-om,
.flag-img-pa, .flag-img-pe, .flag-img-ph, .flag-img-pk, .flag-img-pl,
.flag-img-pr, .flag-img-pt, .flag-img-py, .flag-img-qa, .flag-img-ro,
.flag-img-rt, .flag-img-ru, .flag-img-sa, .flag-img-se, .flag-img-sg,
.flag-img-si, .flag-img-sk, .flag-img-sm, .flag-img-sn, .flag-img-so,
.flag-img-sv, .flag-img-sy, .flag-img-td, .flag-img-th, .flag-img-tn,
.flag-img-tr, .flag-img-tt, .flag-img-tw, .flag-img-ua, .flag-img-us,
.flag-img-uy, .flag-img-vc, .flag-img-ve, .flag-img-vn, .flag-img-wa,
.flag-img-za, .flag-img-ru-RU, .flag-img-uk-UA, .flag-img-en-EN {
    display: inline-block;
    background: url("/images/flags/flag_gradient_sprite.png");
    background-repeat: no-repeat;
    overflow: hidden;
}

.flag-img-ad { background-position: -2px -0px; width: 20px; height: 12px; }
.flag-img-ae { background-position: -24px -0px; width: 20px; height: 12px; }
.flag-img-af { background-position: -46px -0px; width: 20px; height: 12px; }
.flag-img-al { background-position: -68px -0px; width: 20px; height: 12px; }
.flag-img-am { background-position: -90px -0px; width: 20px; height: 12px; }
.flag-img-ao { background-position: -112px -0px; width: 20px; height: 12px; }
.flag-img-ar { background-position: -134px -0px; width: 20px; height: 12px; }
.flag-img-at { background-position: -156px -0px; width: 20px; height: 12px; }
.flag-img-au { background-position: -178px -0px; width: 20px; height: 12px; }
.flag-img-az { background-position: -200px -0px; width: 20px; height: 12px; }
.flag-img-ba { background-position: -222px -0px; width: 20px; height: 12px; }
.flag-img-bd { background-position: -2px -14px; width: 20px; height: 12px; }
.flag-img-be { background-position: -24px -14px; width: 20px; height: 12px; }
.flag-img-bg { background-position: -46px -14px; width: 20px; height: 12px; }
.flag-img-bh { background-position: -68px -14px; width: 20px; height: 12px; }
.flag-img-bn { background-position: -90px -14px; width: 20px; height: 12px; }
.flag-img-bo { background-position: -112px -14px; width: 20px; height: 12px; }
.flag-img-br { background-position: -134px -14px; width: 20px; height: 12px; }
.flag-img-bw { background-position: -156px -14px; width: 20px; height: 12px; }
.flag-img-by { background-position: -178px -14px; width: 20px; height: 12px; }
.flag-img-bz { background-position: -200px -14px; width: 20px; height: 12px; }
.flag-img-ca { background-position: -222px -14px; width: 20px; height: 12px; }
.flag-img-ci { background-position: -2px -28px; width: 20px; height: 12px; }
.flag-img-cl { background-position: -24px -28px; width: 20px; height: 12px; }
.flag-img-cm { background-position: -46px -28px; width: 20px; height: 12px; }
.flag-img-cn { background-position: -68px -28px; width: 20px; height: 12px; }
.flag-img-co { background-position: -90px -28px; width: 20px; height: 12px; }
.flag-img-cr { background-position: -112px -28px; width: 20px; height: 12px; }
.flag-img-cs { background-position: -134px -28px; width: 20px; height: 12px; }
.flag-img-ct { background-position: -156px -28px; width: 20px; height: 12px; }
.flag-img-cu { background-position: -178px -28px; width: 20px; height: 12px; }
.flag-img-cy { background-position: -200px -28px; width: 20px; height: 12px; }
.flag-img-cz { background-position: -222px -28px; width: 20px; height: 12px; }
.flag-img-de { background-position: -2px -42px; width: 20px; height: 12px; }
.flag-img-dk { background-position: -24px -42px; width: 20px; height: 12px; }
.flag-img-do { background-position: -46px -42px; width: 20px; height: 12px; }
.flag-img-dz { background-position: -68px -42px; width: 20px; height: 12px; }
.flag-img-ec { background-position: -90px -42px; width: 20px; height: 12px; }
.flag-img-ee { background-position: -112px -42px; width: 20px; height: 12px; }
.flag-img-eg { background-position: -134px -42px; width: 20px; height: 12px; }
.flag-img-en { background-position: -156px -42px; width: 20px; height: 12px; }
.flag-img-es { background-position: -178px -42px; width: 20px; height: 12px; }
.flag-img-fi { background-position: -200px -42px; width: 20px; height: 12px; }
.flag-img-fj { background-position: -222px -42px; width: 20px; height: 12px; }
.flag-img-fo { background-position: -2px -56px; width: 20px; height: 12px; }
.flag-img-fr { background-position: -24px -56px; width: 20px; height: 12px; }
.flag-img-gb, .flag-img-en-EN { background-position: -46px -56px; width: 20px; height: 10px; }
.flag-img-ge { background-position: -68px -56px; width: 20px; height: 12px; }
.flag-img-gh { background-position: -90px -56px; width: 20px; height: 12px; }
.flag-img-gr { background-position: -112px -56px; width: 20px; height: 12px; }
.flag-img-gt { background-position: -134px -56px; width: 20px; height: 12px; }
.flag-img-he { background-position: -156px -56px; width: 20px; height: 12px; }
.flag-img-hk { background-position: -178px -56px; width: 20px; height: 12px; }
.flag-img-hn { background-position: -200px -56px; width: 20px; height: 12px; }
.flag-img-hr { background-position: -222px -56px; width: 20px; height: 12px; }
.flag-img-hu { background-position: -46px -68px; width: 20px; height: 12px; }
.flag-img-id { background-position: -2px -70px; width: 20px; height: 12px; }
.flag-img-ie { background-position: -68px -70px; width: 20px; height: 12px; }
.flag-img-il { background-position: -24px -70px; width: 20px; height: 12px; }
.flag-img-in { background-position: -90px -70px; width: 20px; height: 12px; }
.flag-img-int { background-position: -112px -70px; width: 20px; height: 12px; }
.flag-img-iq { background-position: -134px -70px; width: 20px; height: 12px; }
.flag-img-ir { background-position: -156px -70px; width: 20px; height: 12px; }
.flag-img-is { background-position: -178px -70px; width: 20px; height: 12px; }
.flag-img-it { background-position: -200px -70px; width: 20px; height: 12px; }
.flag-img-jm { background-position: -222px -70px; width: 20px; height: 12px; }
.flag-img-jo { background-position: -46px -82px; width: 20px; height: 12px; }
.flag-img-jp { background-position: -2px -84px; width: 20px; height: 12px; }
.flag-img-kr { background-position: -68px -84px; width: 20px; height: 12px; }
.flag-img-kw { background-position: -24px -84px; width: 20px; height: 12px; }
.flag-img-kz { background-position: -90px -84px; width: 20px; height: 12px; }
.flag-img-lb { background-position: -112px -84px; width: 20px; height: 12px; }
.flag-img-lt { background-position: -134px -84px; width: 20px; height: 12px; }
.flag-img-lu { background-position: -156px -84px; width: 20px; height: 12px; }
.flag-img-lv { background-position: -178px -84px; width: 20px; height: 12px; }
.flag-img-ly { background-position: -200px -84px; width: 20px; height: 12px; }
.flag-img-ma { background-position: -222px -84px; width: 20px; height: 12px; }
.flag-img-md { background-position: -46px -96px; width: 20px; height: 12px; }
.flag-img-me { background-position: -2px -98px; width: 20px; height: 12px; }
.flag-img-mk { background-position: -68px -98px; width: 20px; height: 12px; }
.flag-img-mt { background-position: -24px -98px; width: 20px; height: 12px; }
.flag-img-mx { background-position: -90px -98px; width: 20px; height: 12px; }
.flag-img-my { background-position: -112px -98px; width: 20px; height: 12px; }
.flag-img-ng { background-position: -134px -98px; width: 20px; height: 12px; }
.flag-img-nl { background-position: -156px -98px; width: 20px; height: 12px; }
.flag-img-no { background-position: -178px -98px; width: 20px; height: 12px; }
.flag-img-np { background-position: -200px -98px; width: 20px; height: 12px; }
.flag-img-nz { background-position: -222px -98px; width: 20px; height: 12px; }
.flag-img-oc { background-position: -46px -110px; width: 20px; height: 12px; }
.flag-img-om { background-position: -2px -112px; width: 20px; height: 12px; }
.flag-img-pa { background-position: -68px -112px; width: 20px; height: 12px; }
.flag-img-pe { background-position: -24px -112px; width: 20px; height: 12px; }
.flag-img-ph { background-position: -90px -112px; width: 20px; height: 12px; }
.flag-img-pk { background-position: -112px -112px; width: 20px; height: 12px; }
.flag-img-pl { background-position: -134px -112px; width: 20px; height: 12px; }
.flag-img-pr { background-position: -156px -112px; width: 20px; height: 12px; }
.flag-img-pt { background-position: -178px -112px; width: 20px; height: 12px; }
.flag-img-py { background-position: -200px -112px; width: 20px; height: 12px; }
.flag-img-qa { background-position: -222px -112px; width: 20px; height: 12px; }
.flag-img-ro { background-position: -46px -124px; width: 20px; height: 12px; }
.flag-img-rt { background-position: -2px -126px; width: 20px; height: 12px; }
.flag-img-ru, .flag-img-ru-RU { background-position: -68px -126px; width: 20px; height: 12px; }
.flag-img-sa { background-position: -24px -126px; width: 20px; height: 12px; }
.flag-img-se { background-position: -90px -126px; width: 20px; height: 12px; }
.flag-img-sg { background-position: -112px -126px; width: 20px; height: 12px; }
.flag-img-si { background-position: -134px -126px; width: 20px; height: 12px; }
.flag-img-sk { background-position: -156px -126px; width: 20px; height: 12px; }
.flag-img-sm { background-position: -178px -126px; width: 20px; height: 12px; }
.flag-img-sn { background-position: -200px -126px; width: 20px; height: 12px; }
.flag-img-so { background-position: -222px -126px; width: 20px; height: 12px; }
.flag-img-sv { background-position: -46px -138px; width: 20px; height: 12px; }
.flag-img-sy { background-position: -2px -140px; width: 20px; height: 12px; }
.flag-img-td { background-position: -68px -140px; width: 20px; height: 12px; }
.flag-img-th { background-position: -24px -140px; width: 20px; height: 12px; }
.flag-img-tn { background-position: -90px -140px; width: 20px; height: 12px; }
.flag-img-tr { background-position: -112px -140px; width: 20px; height: 12px; }
.flag-img-tt { background-position: -134px -140px; width: 20px; height: 12px; }
.flag-img-tw { background-position: -156px -140px; width: 20px; height: 12px; }
.flag-img-ua, .flag-img-uk-UA { background-position: -178px -140px; width: 20px; height: 12px; }
.flag-img-us { background-position: -200px -140px; width: 20px; height: 12px; }
.flag-img-uy { background-position: -222px -140px; width: 20px; height: 12px; }
.flag-img-vc { background-position: -46px -152px; width: 20px; height: 12px; }
.flag-img-ve { background-position: -2px -154px; width: 20px; height: 12px; }
.flag-img-vn { background-position: -68px -154px; width: 20px; height: 12px; }
.flag-img-wa { background-position: -24px -154px; width: 20px; height: 12px; }
.flag-img-za { background-position: -90px -154px; width: 20px; height: 12px; }

section.comments{
    clear: both;
    position: relative;
}

.popover.right > .arrow:after{
    border-right-color:#f7f7f7;
}
.commentPopover{
    position: relative;
    width: 100%;
    max-width: 100%;
    z-index: 0;
    margin-left: 0px!important;
}
.commentPopoverArrow{
    top:18px!important;
}
.popoverMediaBody{
    width:100%;
    padding-left: 80px;
}
ul.media-list li{
    width: 100%;
}
#commentsList .media-left{
    position: absolute;
    width: 74px;
}
#commentsList .media-list li {
    float: left;
    clear: both;
}
#commentsList .media-left, .media-body{
    float: left;
    display: block;
}
.footer-blockquote{
    float: left;
    width: 100%;
}
.commentPopoverTitle{
    padding: 8px 14px;
}

.center{
    text-align: center;
}


.language-panel {
    display: inline-block;
    vertical-align: middle;
    /*text-transform: uppercase;
    width: 50px;*/
    position: relative;
    text-align: center;
}
.language-panel .language-dropdown {
    will-change: transform;
    /*background: white;*/
    font-size: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 2px 0 6px;
    visibility: hidden;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.language-panel:hover .language-dropdown{
    visibility:visible;
    opacity:1
}
.language-panel .language-current{
    cursor:pointer;
    position:relative;
    display:inline-block;
    padding: 15px 0 0 0;
    color: #337ab7;
}
.language-panel .language-current:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /*background-color: #ed1c24;*/
    height: 2px;
    -webkit-transition: width 0.35s ease;
    -o-transition: width 0.35s ease;
    transition: width 0.35s ease
}
.language-panel .language-dropdown {
    will-change: transform;
    /*background: white;*/
    font-size: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    /*padding: 2px 0 6px;*/
    visibility: hidden;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease
}
.language-panel .language-dropdown a {
    display: inline-block;
    text-decoration: none;
    /*color: #ed1c24;*/
    font-size: 16px;
    /*margin: 7px 7px;*/
    position: relative
}
.language-panel .language-dropdown a:hover:after {
    width: 100%
}
.language-panel .language-dropdown a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    /*background-color: #ed1c24;*/
    height: 2px;
    -webkit-transition: width 0.35s ease;
    -o-transition: width 0.35s ease;
    transition: width 0.35s ease
}
@media(max-width:767px) {
    .language-panel {
        display: block;
        z-index: 1;
    }
    .language-panel .language-dropdown a {
        padding: 0 5px;
    }
}