/*html,
body {
    min-height: 100%;
    overflow: hidden;
    margin: 0;
}*/

.tabs-default.tab-content .tab-pane {
    padding: 20px 21px;
    margin: 0 -20px -20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.ser {
    position: absolute;
    visibility: hidden;
    display: none;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    clip: rect(0px, 1px, 1px, 0px)
}

.nicetitle {
    position: relative;
    padding: 0;
    margin: 0;
    background: #fff;
    max-width: 80%;
    border-color: #000;
    border-width: 0 2px 2px 0;
    border-style: solid
}

.nicetitle p {
    padding: 0px;
    margin: 0px;
    position: relative;
    overflow: hidden;
    color: #000;
    font-size: 11px
}

nicetitle p.title_head {
    font-weight: normal
}

p.title_body {
    font-style: italic
}

iframe {
    /*width: 100%;*/
    /*height: 100%;*/
}

iframe:first-of-type {
    /*height: 85%;*/
}

.phototdw {
    margin-bottom: 10px;
    text-align: center;
    background: #fff;
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
}

.phototdw table {
    width: 100%;
    font-size: 100%;
}

.phototdw span {
    margin: 5px 10px 5px 5px;
    height: 120px;
    width: 120px;
    display: block;
    background: #f2f2f2 no-repeat 50% 50%;
    padding: 5px;
}

.phototdw span a {
    display: inline;
    margin: 3px 5px 0 0;
    width: auto;
    height: auto;
    background: none;
    float: right;
}

a {
    color: #a0a0a0;
    text-decoration: none;
}

a:hover {
    color: #912c2e;
    text-decoration: none;
}

/*ul {
    color: #a0a0a0;
    margin: 5px 0 10px 20px;
    padding: 0;
}*/

@media (max-width: 767px) {
    #general_panel .properties td {
        display: block;
    }
}

.size {
    width: 50px;
    display: inline;
    vertical-align: baseline;
}

#LOADIMG .box:nth-child(2), #LIBRARY .box {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 0px;
    left: 10px;
    box-shadow: 1px 1px 3px 0 #888 inset;
    box-shadow: none;
    background: rgba(0, 0, 0, 0);
    border: none;
    margin-bottom: 0;
}

#LOADIMG .box:nth-child(2) {
    top: 190px
}

#LOADIMG iframe, #LIBRARY iframe {
    display: block;
    /*position:absolute;*/
    top: 3px;
    right: 7px;
    bottom: 1px;
    left: 20px;
    width: calc(100% - 6px);
    height: calc(100% + 24px) !important;
    min-height: 300px;
}

#LIBRARY iframe {
    min-height: 330px;
}

.images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 30px;
    overflow: auto;
    padding: 10px 0;
}

.images > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.pages {
    position: absolute;
    bottom: 0;
    height: 22px;
    width: 100%;
    margin: 0;
}

.pages_str {
    display: none;
}

.pagination {
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    margin-top: 5px;
    font-size: 90%;
}

.pagination a {
    margin-right: 10px;
}

.pagination a:hover, .pagination a.active {
    color: #1e1e1e
}

.pagination a.active {
    font-weight: bold;
}

.pagination a.process {
    background: url(https://static.diary.ru/images/process.svg) center / contain no-repeat;
}

@media (max-width: 500px) {
    .pagination a span {
        display: none
    }
}

li .active{
    font-weight: bold!important;
}

html {
    overflow-y: auto;
    background-color: transparent;
}