﻿html, body {
    height: 100%;
}

@media screen and (min-width: 250px) {
    .fix-canvas-responsive-right {
        margin-right: 250px;
    }
}

hr {
    border-top-color: #d0d0d0;
}

.bullet-point:before {
    content: "\2022";
    margin-right: 4px;
}

.result-flex {
    /* Center tiles, without this it will still work and look decent */
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

/* Might be taken out if solution not found */
.box-dummy-wrapper {
    display: none;
}

#search-term {
    margin-top: 21px;
}

#result-controls {
    height: 30px;
    padding: 0 21px 0 21px;
}

/* Navbar */
.navbar {
    border: none;
    height: 60px;
    text-align: center;
    background-color: #707372;
}

#breadcrumb {
    margin-bottom: 15px;
    text-align: center;
    color: #707372;
}

#breadcrumb-series {
    font-size: 24px;
}

#breadcrumb-menu {
    font-size: 12px;
}

#breadcrumb .clickable {
    color: #337ab7;
}

#nav-logo {
    animation: fadeIn 1s linear;
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 540px) {
    #nav-logo {
        margin-left: 0 !important;
    }
}

@media (max-width: 630px) {
    main.fix-canvas-responsive-right #nav-logo {
        display: none;
    }
}

/* Sidebar */
.divider-bar {
    background-color: #bdbdbd;
    height: 1px;
    margin: 9px 18px 9px 18px;
}

.sidebar-input {
    margin: 18px 20px 18px 20px;
    text-indent: 0 !important;
    line-height: inherit !important;
}

.sidebar-tag {
    border: 1px solid whitesmoke;
    padding: 2px 4px 2px 4px;
    margin: 2px 2px 2px 2px;
    display: inline-block;
    background: #707372;
}

    .sidebar-tag .glyphicon {
        cursor: pointer;
        top: 2px;
    }

.tile-row {
    border-top: 1px solid #DFE1DF;
    margin: 0 21px 21px 21px;
    padding-top: 21px
}

.tag-row {
}

.add-tag {
    cursor: pointer;
    color: white;
    background-color: #eca154;
}

.reponsive-img-col img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Menu */

.menu-option {
    color: #707372 !important;
    font-family: 'MontserratMedium';
}

    .menu-option.bolder {
        /*font-weight: bolder !important;*/
    }

    .menu-option.dash:before {
        content: '\00B7 ';
    }

    .menu-option.xout:after {
        font-family: 'Glyphicons Halflings';
        content: "\e014";
        padding-right: 20px;
        float: right;
        font-size: 20px;
    }

    .menu-option.selected-last:before {
        font-family: 'Glyphicons Halflings';
        content: "\e080";
        font-size: 12px;
    }

.hover-none:hover {
    background: none !important;
}

.hover-light:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.hover-dark:hover {
    background: rgba(255, 255, 255, 0.17) !important;
}

.menu-option.background-light {
    background: rgba(255, 255, 255, 0.35);
}

.menu-option.background-dark {
    background: rgba(255, 255, 255, 0.1);
}

.menu-option.indent {
    padding-left: 2px;
}

.menu-option.selected-last {
    color: white !important;
}

/* Box/Tiles V2 */
.box-hr {
    margin: 0 35px 0px 35px;
    border-top-color: #e2e2e2;
}

.thumbnail-box {
    height: 300px;
    width: 350px;
    position: relative;
    border: 1px solid rgb(224, 224, 224);
    margin: 0px 5px 5px 0;
    cursor: pointer;
}

    .thumbnail-box img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        padding: 60px 60px 60px 60px;
        -webkit-user-drag: none;
        user-select: none;
        -webkit-user-select: none;
    }

    .thumbnail-box.thumbnail-padded img {
        padding: 80px 80px 80px 80px;
    }

    .thumbnail-box.caption-hidden img {
        bottom: 0 !important;
    }

    .thumbnail-box.caption-single-line img {
        bottom: 35px !important;
    }

    .thumbnail-box.caption-double-line img {
        bottom: 50px !important;
    }

.thumbnail-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

    .thumbnail-caption .thumbnail-title {
        margin-bottom: 10px;
        color: #707473;
        font-weight: 200;
        font-size: 12px;
    }

    .thumbnail-caption .thumbnail-description {
        margin-top: 10px;
        color: #707473;
        font-weight: 600;
        font-size: 13px;
    }

/* Slide Out */
.slideout-menu {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    width: 250px;
    overflow-y: auto;
    display: none;
}

.slideout-panel {
    position: relative;
    z-index: 1;
    /* ReSharper disable once CssNotResolved */
    will-change: transform;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
    overflow-x: hidden;
}

    .slideout-open .slideout-menu {
        display: block;
    }

.menu {
    background-color: #DFE1DF;
}

#menu {
    overflow-x: hidden;
}

/*#menu {
    overflow: hidden;
}

    #menu:hover {
        overflow-y: auto;
    }*/

.sidebar-nav {
    padding-top: 18px;
    padding-bottom: 77px;
}

/* Main Contents */

.contents {
    height: 100%;
    background-color: white;
}

.contents-wrapper {
    height: 100%;
    overflow-x: hidden;
}

/* Notes */
#menu-notes-wrapper {
    margin: 0 10px 0 10px;
    height: 50%;
}

#menu-notes {
    width: 100%;
    height: 100%;
    resize: vertical;
}

#menu-notes-btn {
    color: white;
}

#menu-allnotes-btn, #menu-feedback-btn {
    color: #707372 !important;
    font-family: 'MontserratMedium';
}

/* Keyword/Tag Search */

.fixed-tagsearch {
    position: fixed;
    bottom: 0;
    left: 20px;
    max-width: 210px;
    margin-bottom: 15px;
    border: solid rgb(106, 106, 106) 1px;
    padding: 10px 10px 10px 10px;
    background-color: grey;
    width: 100%; /* Firefox fix */
}

.add-tag {
    line-height: inherit; /* Fix for absolute position input groups */
}

    .add-tag .glyphicon-search {
        top: 2px; /* Fix for absolute position input groups */
    }

#add-tag-parent {
    position: relative;
    width: 140px;
}

#add-tag-input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
    background: transparent;
}

#add-tag-input-mask {
    color: #bfbfbf;
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 10;
}

/* Front page */

/*.front-square {
    float: left;
    position: relative;
    width: 25%;
    padding-bottom: 25%;
    overflow: hidden;
    margin-top: 15px;
}

.front-square-contents {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: grey;
    padding: 10px 10px 10px 10px;
}*/

.front-tile-panel {
    margin: 20px 0 20px 0;
}

.front-tile {
    padding: 0 0 0 0;
}

.front-tile-dummy {
    padding-top: 100%;
}

.front-tile-expandable {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.front-tile-chevron:after {
    content: ">>";
    font-size: 1.5em;
    font-weight: 100;
    position: absolute;
    bottom: 4px;
    right: 6px;
    cursor: pointer;
    color: white;
}

.front-tile-header {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.front-tile-caption {
    color: white;
    margin: 10px 20px 0 20px;
    font-size: 70%;
}

.front-tile a {
    color: #99ffff;
}

.main-banner {
    margin-right: -15px;
}

.tile-revision {
    float: right;
    color: #909090;
    font-size: 10px;
    margin-right: 21px;
}

@media (min-width: 1340px) {
    .front-tile-header {
        font-size: 20px;
    }

    .front-tile-caption {
        font-size: 85%;
        margin-top: 20px;
    }
}

@media print {
    html, body {
        height: auto !important;
    }

    #menu {
        display: none !important;
    }

    #result-controls {
        display: none !important;
    }

    #breadcrumb {
        display: none !important;
    }

    #view-scrollarrow {
        display: none !important;
    }

    .contents {
        transform: translateX(0) !important;
    }

    .fix-canvas-responsive-right {
        margin: 0;
    }

    .tile-row {
        border: none;
        padding: 0;
    }

    .tag-row {
        display: none !important;
    }

    .tile-revision {
        display: none !important;
    }

    thead {
        display: table-row-group;
    }

    tr {
        page-break-inside: avoid;
    }

    a[href]:after {
        content: none !important;
    }

    @page {
        margin: 0;
    }

    body {
        margin: 0.5in;
    }

    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }

    .col-md-12 {
        width: 100%;
    }

    .col-md-11 {
        width: 91.66666667%;
    }

    .col-md-10 {
        width: 83.33333333%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-8 {
        width: 66.66666667%;
    }

    .col-md-7 {
        width: 58.33333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-5 {
        width: 41.66666667%;
    }

    .col-md-4 {
        width: 33.33333333%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-2 {
        width: 16.66666667%;
    }

    .col-md-1 {
        width: 8.33333333%;
    }

    .col-md-pull-12 {
        right: 100%;
    }

    .col-md-pull-11 {
        right: 91.66666667%;
    }

    .col-md-pull-10 {
        right: 83.33333333%;
    }

    .col-md-pull-9 {
        right: 75%;
    }

    .col-md-pull-8 {
        right: 66.66666667%;
    }

    .col-md-pull-7 {
        right: 58.33333333%;
    }

    .col-md-pull-6 {
        right: 50%;
    }

    .col-md-pull-5 {
        right: 41.66666667%;
    }

    .col-md-pull-4 {
        right: 33.33333333%;
    }

    .col-md-pull-3 {
        right: 25%;
    }

    .col-md-pull-2 {
        right: 16.66666667%;
    }

    .col-md-pull-1 {
        right: 8.33333333%;
    }

    .col-md-pull-0 {
        right: auto;
    }

    .col-md-push-12 {
        left: 100%;
    }

    .col-md-push-11 {
        left: 91.66666667%;
    }

    .col-md-push-10 {
        left: 83.33333333%;
    }

    .col-md-push-9 {
        left: 75%;
    }

    .col-md-push-8 {
        left: 66.66666667%;
    }

    .col-md-push-7 {
        left: 58.33333333%;
    }

    .col-md-push-6 {
        left: 50%;
    }

    .col-md-push-5 {
        left: 41.66666667%;
    }

    .col-md-push-4 {
        left: 33.33333333%;
    }

    .col-md-push-3 {
        left: 25%;
    }

    .col-md-push-2 {
        left: 16.66666667%;
    }

    .col-md-push-1 {
        left: 8.33333333%;
    }

    .col-md-push-0 {
        left: auto;
    }

    .col-md-offset-12 {
        margin-left: 100%;
    }

    .col-md-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-md-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-md-offset-9 {
        margin-left: 75%;
    }

    .col-md-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-md-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-md-offset-6 {
        margin-left: 50%;
    }

    .col-md-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-md-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-md-offset-3 {
        margin-left: 25%;
    }

    .col-md-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-md-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-md-offset-0 {
        margin-left: 0%;
    }
}

/* Down array indicitor */
#view-scrollarrow {
    position: absolute;
    margin-left: -30px;
    width: 60px;
    height: 60px;
    bottom: 0;
    right: 50%;
    left: 50%;
    font-size: 40px;
    color: grey;
}

.clickable {
    cursor: pointer;
}
