body
{
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main
{
    flex: 1;
}

.hidden,
[hidden]
{
    display: none;
}

.fg-inherit
{
    color: inherit !important;
}
.bg-inherit
{
    background: inherit !important;
}

.no-border
{
    border: 0 !important;
}
.no-outline
{
    outline: 0 !important;
}

.no-padding-width
{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.no-padding-height
{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.no-margin-width
{
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.no-margin-height
{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.helper-button
{
    background: transparent;
}
.prepend-icon.text
{
    line-height: 20px !important;
}
.image-container > img
{
    height: auto !important;
}

.toolbar-center
{
    text-align: center;
}
.toolbar-center .toolbar-section
{
    float: none;
}

.ya-share2
{
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 2;
    transform: translateY(-50%);
}
@media screen and (max-width: 1040px)
{
.ya-share2
{
    display: none;
}}
.ya-share2__list
{
    padding: 0 !important;
}
.ya-share2__item
{
    margin: 0 !important;
    padding: 0 !important;
}
.ya-share2__item:hover
{
    opacity: 1 !important;
}
.ya-share2__link:hover
{
    opacity: .85;
}
.ya-share2__title
{
    display: none !important;
}
.ya-share2__badge
{
    border-radius: 0 !important;
}
.ya-share2__popup
{
    top: -192px !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.ya-share2__popup_visible
{
    left: 48px !important;
    /*transition: left 2s linear;*/
}
.input-file-wrapper
{
    border: 0 !important;
}
.input-file-wrapper ~ button
{
    left: 0;
    width: 100%;
}

::placeholder
{
    color: inherit;
    opacity: 0.6;
}
::selection
{
    color: #fff;
    background: #1ba1e2;
}

.container-fixed ~ .container
{
    margin-left: 64px;
}
.container-fixed
{
    position: fixed;
    top: 0;
    right: 0;
    min-width: 120px;
    width: calc(100% - 1040px);
    min-height: 240px;
    height: 100vh;
}
.container-fixed.container-offset
{
    top: 50px;
}
@media screen and (max-width: 1040px)
{
    .container-fixed ~ .container
    {
        margin: 0 auto !important;
    }
}

@media screen and (min-width: 1401px)
{
    .container-fixed
    {
        /* 1200 + 64 + 16 */
        width: calc(100% - 1280px);
    }
}

/* (960 + 64 + 16) = 1040 + 120 + 16 */
@media screen and (max-width: 1176px)
{
    .container-fixed
    {
        display: none;
    }
}

@media screen and (max-height: 240px)
{
    .container-fixed
    {
        display: none;
    }
}

.panel.closable > .heading:before
{
    content: "\d7";
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -1.3rem;
    right: .625rem;
    color: inherit;
    vertical-align: middle;
    font-size: 2rem;
    cursor: pointer;
}
.panel.closable > .heading > .close
{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 42px;
}

.nav-brand
{
    font-weight: bold;
}
.nav-brand.condensed
{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3125rem !important;
    font-weight: normal;
}
.nav-brand.condensed > span
{
    vertical-align: baseline;
    margin-right: 5px;
}

.nav-search
{
    margin-top: -.125rem;
}
.nav-upload
{
    margin-top: -.3125rem;
    margin-bottom: 0;
    width: 6.0625rem !important;
}

#nav-catalog-link
{
    text-transform: capitalize;
}
#nav-catalog
{
    width: 800px;
}
#nav-catalog .menu
{
    max-height: 80vh;
    overflow-y: auto;
}
#nav-catalog .menu a
{
    padding-left: .625rem;
}
#nav-catalog .frame
{
    display: none;
    color: #000;
}
#nav-catalog .frame:first-child
{
    display: block;
}
#nav-catalog .simple-list > li:last-child
{
    margin-top: .3125rem;
    margin-bottom: .625rem;
}
#nav-catalog .simple-list > li:last-child:before
{
    display: none;
}

#links-bar
{
    max-height: 15px;
    padding: 10px 0;
}

[class*="main-"]
{
    margin-top: 1rem;
}
[class*="main-"] .content
{
    padding: 1rem;
}

.main-search .content
{
    padding: 5rem 10rem
}
.main-search .clear
{
    background-color: transparent;
}
.main-search .greeting
{
    position: absolute;
    top: 5px;
    left: 12px;
    z-index: 1;
    width: 49%;
    font-weight: normal;
}

.main-types .other
{
    margin-left: 1.7rem;
}

.common-catalog .breadcrumbs2
{
    margin-top: 1rem;
}
.common-catalog .simple-list
{
    margin-top: .5rem;
    font-size: 1.25rem;
}
.common-catalog .simple-list li
{
    margin-bottom: 1rem;
}

.models-catalog .sidebar2 .title
{
    padding-bottom: 20px;
}
.models-catalog .sidebar2 .item
{
    padding-left: 1.5rem;
}

.abuse .header
{
    margin-top: 2rem;
}
.abuse .radio
{
    display: block;
}
.abuse .textarea
{
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.abuse [type="submit"]
{
    background: #60a917;
    color: #ffffff;
    border-color: #60a917;
}

.abuse-page,
.error-page
{
    margin: 5rem 0;
}

.static-page
{
    margin-bottom: 1rem;
}
.static-page > h1
{
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.viewer-title
{
    margin-bottom: 2rem;
}
.viewer-wrapper
{
    position: relative;
    background: #404040 url(/viewer_next/web/images/texture.png);
}
.viewer-decorator
{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 33px;
    background: #474747 url(/viewer_next/web/images/texture.png),
        linear-gradient(hsla(0, 0%, 32%, .99), hsla(0, 0%, 27%, .95));
}

.viewer-next
{
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 80vh;
}

.viewer-thumbs
{
    margin-bottom: 1.5rem;
}
.viewer-thumbs .carousel
{
    overflow-y: hidden;
}
.viewer-thumbs .carousel.bordered1
{
    border: 1px solid #1ba1e2;
}
.viewer-thumbs .grid
{
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}
.viewer-thumbs .thumb
{
    width: 90px;
}
.viewer-thumbs .badge
{
    position: absolute;
    top: 0.5rem;
    right: 0;
    padding: 0.25rem;
    color: #fff;
    background-color: #59cde2;
}
.viewer-thumbs .badge.active
{
    background-color: #0072c6;
}

.viewer-survey
{
    min-height: 100px;
}
.viewer-survey output
{
    display: none;
}
.viewer-survey span
{
    font-weight: bold;
}
.viewer-survey p
{
    font-size: 50%;
    margin: 0;
    padding-top: 20px;
}
.viewer-survey .answer
{
    float: right;
    font-weight: normal;
    white-space: nowrap;
}
.viewer-survey .answer > *
{
    margin-left: 0.5rem;
}

.viewer-transcript
{
    padding: .625rem;
    border-right: solid .625rem rgba(0, 0, 0, 0);
    overflow: hidden;
}

.viewer-similar
{
    padding: .625rem;
}
.viewer-similar .tile
{
    width: 120px;
    height: 120px;
}
.viewer-similar .tile-feed
{
    width: 250px;
    height: 250px;
}
.viewer-similar .image-overlay
{
    background-color: rgba(27,161,226,.8)
}

.download .back
{
    display: inline-block;
    margin: .625rem 0;
    font-size: 2rem;
    color: #000;
}
.download hr
{
    margin-bottom: 1rem;
}
.download .shortcut-button
{
    width: 9.5rem;
}
.download .shortcut-button.double
{
    width: 19rem;
}
.download .shortcut-button.disabled
{
    cursor: not-allowed;
}

.search .step-list
{
    margin-top: 1rem;
}
.search .step-list > li
{
    margin-bottom: 4rem;
}
.search .horizontal
{
    margin: 0;
}
.search .pagination
{
    margin-left: 2.5rem;
}

.auth
{
    margin-top: 1rem;
    margin-bottom: 3rem;
}
.auth .facebook
{
    color: #fff;
    background: rgb(59, 89, 152);
}
.auth .google
{
    color: #fff;
    background: rgb(220, 78, 65);
}
.auth .twitter
{
    color: #fff;
    background: rgb(29, 161, 242);
}
.auth .linkedin
{
    color: #fff;
    background: rgb(0, 119, 181);
}

.informer
{
    bottom: -1.75rem !important
}

.content > [id]:not(.active)
{
    display: none;
}

.preloader-count,
.preloader-count > .cycle
{
    width: 100px;
    height: 100px;
}
.preloader-count > .cycle
{
    margin: -50px 0 0 -50px;
}
.preloader-count > .progress
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: unset;
    margin: unset;
    background: unset;
}

#analyze > .preloader
{
    overflow: initial;
}
#analyze > .grid
{
    margin-left: 30px;
    margin-top: -10px;
}
#analyze .lead
{
    height: 40px;
}

#details-form
{
    margin-top: 10px;
    margin-left: 15px;
}
#details-form > .input-control
{
    height: auto;
    margin-bottom: 15px;
}
#details-form .helper-button
{
    height: 24px;
}

#details-form label
{
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}
#details-form input
{
    top: 4px;
    margin-bottom: 5px;
}

#details-form [data-role] ~ label,
#details-form input ~ label
{
    display: inline-block;
    top: -4px;
    margin: 0;
}
#details-form [data-role] ~ span,
#details-form input ~ span
{
    font-size: 90%;
    color: #999999;
}

#details-category button:not(:last-child)
{
    margin-right: 5px;
}

#finish .clap
{
    margin-top: -10px;
    margin-left: 15px;
}
#finish .lead
{
    font-size: 95%;
}
