﻿.overlay-header {
    height: 40px;
    /*border: 1px solid blue;*/
}
.overlay-header > span {
    margin: 5px 15px;
    font-size: 16px;
}
.overlay-header > span i {
    vertical-align: bottom;
}
.overlay-header > ul {
    margin: 5px 10px;
}
.overlay-header a {
    color: rgba(55,63,73, 0.8);    
}
.overlay-header a:hover {
    color: rgb(55,63,73);  
}
.overlay-header a > i {
    font-size: 1.50em;
}

.asset-content .carousel-control {
    color: rgba(55,63,73, 0.8);
    opacity: 0.8;
}
.asset-content .carousel-control:hover {
    color: rgb(55,63,73);
    opacity: 1;
}

section.overlay-sandbox-active.asset-page {
    margin-bottom: 132px;
}

.asset-preview {
    text-align: center;
}

    .asset-preview img {
        max-height: 62vh;
        max-width: 49vw;
    }

.asset-preview ul {
    list-style: none;
    padding-left: 0px;
}

.asset-preview .nsfw {
    position: absolute;
    display: inline-block;
    top: 40px;
    left: 10px;
    font-size: 20px;
    /*font-weight: bold;*/

    -webkit-transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
}

.asset-preview .nsfw span {
    /*display: block;
    font-family: 'Roboto Condensed', sans-serif;
    border: 3px solid #dd4b39;
    background-color: transparent !important;*/
    position: relative;
    display: inline-block;
    color: red;
    padding: 15px;
    background-color: rgba(255,255,255, 0.95);
    box-shadow:inset 0px 0px 0px 10px red;
}


.asset-preview .nsfw span:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('/images/stamp-imprint.jpg');
  mix-blend-mode: lighten;
}

.loading-fullscreen.clear-bkg:before {
    content: '';
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-color: transparent;
}

.asset-metadata .hr-line {
    border-top-color: rgba(55,63,73, 0.2);
}

.asset-metadata {
    text-align: center;
    margin-bottom: 50px;
    font-size: 13px;
}

.asset-metadata .metadata .row.header label {
    font-size: 11px;
}

.asset-metadata .metadata .row {
    margin: 0px 0px 5px 0px;
}

.admin-asset .metadata .row > div,
.admin-asset .metadata .form-group > div,
.asset-metadata .metadata .row > div,
.asset-metadata .metadata .form-group > div {
    padding-left: 5px;
    text-align: left;
}

.admin-asset .metadata .row label,
.admin-asset .metadata .form-group label,
.asset-metadata .metadata .row label,
.asset-metadata .metadata .form-group label {
    text-align: left;
}

.asset-metadata input, .asset-metadata select {
    height: 24px;
}

.asset-metadata input {
    display: block;
    font-size: 12px;
}
.asset-metadata textarea {
    font-size: 12px;
}

.metadata-tags span.label {
    font-size: 90%;
    line-height: 2;
}

/*
.asset-metadata .admin-metadata {
    background-color: rgb(205, 70, 74);
    color: #fff;
    border-radius: 5px;
    border: 1px solid rgb(55, 63, 73);
    padding-top: 5px;
}
*/


.asset-metadata .geomap,
.asset-location-tab .geomap {
    display: inline-block;
    text-align: center;
    width: 95%;
    height: 200px;
}


    .asset-metadata .geomap .map,
    .asset-location-tab .geomap .map {
        /*max-width: 500px;*/
        height: 90%;
        border: 1px solid rgba(55,63,73, 0.2);
        /*display: none;*/
    }

    .asset-metadata .geomap .map-text,
    .asset-location-tab .geomap .map {
        font-size: 12px;
        color: #4c5866;
        padding-top: 5px;
    }



.asset-metadata .tab-content {
    margin-top: 20px;
}

.asset-metadata .nav-tabs {
    border-bottom: 0px;
}

.asset-metadata .nav-tabs > li, .nav-pills > li {
    float:none;
    display:inline-block;
    *display:inline; /* ie7 fix */
     zoom:1; /* hasLayout ie7 trigger */

}

.asset-metadata .nav-tabs, .nav-pills {
    text-align:center;
}

.asset-metadata .nav-tabs > li.active > a,
.asset-metadata .nav-tabs > li.active > a:hover,
.asset-metadata .nav-tabs > li.active > a:focus {
    background-color: rgba(55, 63, 73, 0.95);  /*rgb(2, 159,160);*/
    color: #fff;
    border-bottom-color: #ddd;
}

.asset-metadata .nav-tabs > li > a {
    color: rgb(55, 63, 73);
    border-radius: 5px;
}
.asset-metadata .nav-tabs > li > a:hover {
    background-color: rgba(55, 63, 73, 0.1);
    border-bottom-color: transparent;
}


.asset-image-wrapper {
    padding-left: 5px;
}

.asset-image-container {
    position: relative;
    margin: auto;
    /*display: inline-block;*/
    /*overflow: hidden;*/
}

.asset-thumbnails > ul {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}
.asset-thumbnails > ul li {
    padding: 0px 3px;
}
    .asset-thumbnails > ul li div.active {
        border: 2px solid rgb(2,159,160);
        padding: 2px;
        border-radius: 3px;
    }

    .asset-thumbnails > ul li img {
        object-fit: cover;
        object-position: center;
        border-radius: 3px;
        font-family: 'object-fit: cover; object-position: center;';
    }

    .asset-thumbnails > ul li img.icon {
        object-fit: contain;
        object-position: center;
        font-family: 'object-fit: contain; object-position: center;';
    }

@media only screen and (min-width: 300px) {
    .asset-thumbnails > ul li img {
        height: 20px;
        width: 30px;
    }
}

@media only screen and (min-width: 400px) {
    .asset-thumbnails > ul li img {
        height: 30px;
        width: 45px;
    }
}

@media only screen and (min-width: 500px) {
    .asset-thumbnails > ul li img {
        height: 40px;
        width: 60px;
    }
}

@media only screen and (min-width: 600px) {
    .asset-thumbnails > ul li img {
        height: 50px;
        width: 70px;
    }
}

@media only screen and (min-width: 700px) {
    .asset-thumbnails > ul li img {
        height: 50px;
        width: 80px;
    }
}

@media only screen and (min-width: 1100px) {
    .asset-thumbnails > ul li img {
        height: 55px;
        width: 90px;
    }
}


.asset-prev,
.asset-next {
    position: relative;
    top: 50%;
    z-index: 5;
}
.asset-prev {
    margin-left: 0px;
}
.asset-next {
    margin-right: 0px;
}

    .asset-prev > img,
    .asset-next > img {
        height: 50px;
        width: 90px;
        object-fit: cover;
        object-position: center;
        border-radius: 3px;
        font-family: 'object-fit: cover; object-position: center;';
    }

/*#AssetImage {
    display: block;
}*/

.file-image-display {
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.bounding-box {
    position: absolute;
    display: none;
    /*border: 3px solid rgba(55, 63, 73, 0.5);*/
    border: 3px solid rgba(55, 63, 73, 0.8);
    border-radius: 5px;
}

    .bounding-box.manual .outer-triangle {
        border-left: 15px solid transparent;
        border-right: 15px solid rgba(55, 63, 73, 0.8);
        border-bottom: 15px solid transparent;
        height: 0;
        width: 0;
        position: absolute;
        right: 0px;
        z-index: 1007;
    }

    .bounding-box.manual.face .outer-triangle {
        border-right-color: rgb(2,159,160);
    }

.bounding-box.face {
    border-color: rgb(2,159,160);
    cursor: pointer;
}
    .bounding-box.face.prototype {
        border-color: rgb(146,2,160);
    }

.person-face-tag.manual {
    background-color: rgb(255, 215, 0);
    color: black
}
.person-face-tag.unknown {
    background-color: rgb(224, 131, 65);
}
.person-face-tag.linked {
    background-color: rgb(2, 159, 160);
}
.person-face-tag.private {
    background-color: rgb(112, 48, 160);
}
.face-origin-linked-border {
    border: solid 3px rgb(2, 159, 160);
    border-radius: 2px;
}
.face-origin-linked-non-member-border {
    border: solid 3px rgb(76, 88, 102);
    border-radius: 2px;
}
.face-origin-linked-private-border {
    border: solid 3px rgb(172, 0, 255);
    border-radius: 2px;
}
.face-origin-unknown-border {
    border: solid 3px rgb(224, 131, 65);
    border-radius: 2px;
}
.face-origin-manual-border {
    border: solid 3px rgb(255, 215, 0);
    border-radius: 2px;
}

.face-origin-excluded-border {
    /*border: solid 3px rgb(77, 88, 102);*/
    border: solid 3px rgb(0,0,0);
    border-radius: 2px;
}

.bounding-box.private {
    border-color: rgb(172, 0, 255);
}

.bounding-box.face {
    border-color: rgb(2,159,160);
    cursor: pointer;
}
.bounding-box.manual {
    border-color: rgb(255, 215, 0);
    cursor: pointer;
}
.bounding-box.unknown {
    border-color: rgb(224, 131, 65);
}

.bounding-box.excluded {
    /*border-color: rgb(77, 88, 102);*/
    border-color: rgb(0,0,0);
}

.bounding-box.show {
    border-color: rgba(200,0,0,0.9);
    border-width: 4px;
}

.person-highlight {
    border-color: rgba(200,0,0,0.9) !important;
}

.metadata-people ul {
    list-style: none;
}

.metadata-people ul .person-name {
    width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metadata-people ul div.person-face-wrapper {
    border: 3px solid rgba(55, 63, 73, 0.8);
    border-radius: 5px;
    height: 70px;
    width: 70px;
    overflow: hidden;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.metadata-people ul div.person-face-wrapper.tiny {
    border: 2px solid rgba(55, 63, 73, 0.8);
    height: 50px;
    width: 50px;
}

.metadata-people ul div.person-face {
    transition: all .2s ease;
    /*vertical-align: middle;*/
    /*object-fit: cover;*/
    cursor: pointer;
}

.metadata-people ul div.person-face-wrapper.face {
    border-color: rgb(2,159,160);
}

/*.metadata-people ul div.person-face-wrapper.face.show {
    border-color: rgb(2,159,160);
}*/

/*.metadata-people ul div.person-face.show,*/
.metadata-people ul div.person-face-wrapper.show {
    border-color: rgba(200,0,0,0.9);
}

/* rename from .text to .text-scalex5 as causing formatting issues with salesforce live chat formatting */
.text-scalex5 {
     transform:scale(1.5);
    -ms-transform:scale(1.5); /* IE 9 */
    -moz-transform:scale(1.5); /* Firefox */
    -webkit-transform:scale(1.5); /* Safari and Chrome */
    -o-transform:scale(1.5); /* Opera */
}


.jconfirm ul.person-faces > li.thumb div.info {
    font-size: 12px;
    
}

.jconfirm ul.person-faces > li.thumb div.info > .clip {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jconfirm ul.person-faces > li.thumb.selected div.img-icon,
.jconfirm ul.person-faces > li.thumb.selected img {
    border-color: rgb(205,70,74);
}

.jconfirm ul.person-faces > li.thumb {
    height: 100px;
    /*width: 100px;*/
    padding: 0px 0px;
}

.jconfirm ul.person-faces > li.thumb div.img-icon {
    text-align: center;
    padding: 15px;
}

.jconfirm ul.person-faces > li.thumb div.img-icon,
.jconfirm ul.person-faces > li.thumb img {
    object-fit: contain;
    object-position: center;
    min-height: 100px;
    max-height: 100px;
    /*max-width: 100px;
    height: 100px;
    width: 100px;*/
    border: 2px solid rgb(55, 63, 73);
    border-radius: 5px;
}

ul.person-faces > li.divider {
    color: rgba(55, 63, 73, 0.9);
    vertical-align: middle;
}


/* VA icons */
.va-icons .fa-circle {
    color: rgb(2,159,160);
    opacity: 0.80;
}

.va-icons .fa-registered,
.va-icons .fa-ban {
    color: rgb(205,70,74);
    opacity: 0.80;
}


/*.va-icons .badge.restriction {
    background-color: rgb(205,70,74);
    line-height: 1.6em;
    border-radius: 50%;
    font-size: 16px;
    font-weight: normal;
    min-width: 30px;
}*/


/* JCrop Override*/

.jcrop-holder img {
    object-fit: contain;
}
