/****************************/
/*** BOOTSTRAP OVERRIDES ***/
/**************************/

.navbar-title {
    margin-top: 15px;
    margin-bottom: 15px;
}

body {
    background-color: #eee;
}

#main {
    border-left: 1px solid #AAA
}

.breadcrumb li {
    display: inline-block;
}

.breadcrumb li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

hr {
    border-top-color: #ccc;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

/**************************/
/*** PAGE TRANSITION *****/
/************************/
.slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.slide.ng-enter,
.slide.ng-leave {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

.slide.ng-enter {
    left: 100%;
}

.slide.ng-enter-active {
    left: 0;
}

.slide.ng-leave {
    left: 0;
}

.slide.ng-leave-active {
    left: -100%;
}

/******************************/
/*********** SPINNER *********/
/******************************/

.sk-fading-circle {
    margin: 100px auto;
    width: 40px;
    height: 40px;
    position: relative;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {

    0%,
    39%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {

    0%,
    39%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

/*********************************/
/****** IMAGE GRID VIEW **********/
/*********************************/
@media(min-width: 576px) {
    .image-grid .thumbnail {
        height: 180px;
    }
}

@media(min-width: 992px) {
    .image-grid .thumbnail {
        height: 135px;
    }
}

@media(min-width: 1200px) {
    .image-grid .thumbnail {
        height: 200px;
    }
}

@media(min-width: 1440px) {
    .image-grid .thumbnail {
        height: 240px;
    }
}

.image-grid .thumbnail>img {
    height: 100%;
}

custom-checkbox {
    display: inline-block;
}

.check-wrapper label {
    margin-left: 5px;
    margin-bottom: 0;
}

.select-all-icon {
    cursor: pointer;
    margin-top: 0px;
    display: inline-block;
    color: rgb(160, 160, 160);
    font-size: 20px;
    opacity: 1;
    z-index: 10;
}

.select-all-icon .fa {
    vertical-align: middle;
}

/* unchecked state */
.select-all-icon .fa-check-circle,
.select-all-icon .fa-minus-circle {
    opacity: 0;
    display: none;
}

/* checked state */
.select-all-icon.checked .fa-minus-circle,
.select-all-icon.checked .fa-circle {
    opacity: 0;
    display: none;
}

.select-all-icon.checked .fa-check-circle {
    color: #4285f4;
    opacity: 1;
    display: inline-block;
}

/* indeterminate state */
.select-all-icon.indeterminate .fa-circle,
.select-all-icon.indeterminate .fa-check-circle {
    opacity: 0;
    display: none;
}

.select-all-icon.indeterminate .fa-minus-circle {
    color: orange;
    opacity: 1;
    display: inline-block;
}

.select-icon {
    color: rgb(230, 230, 230);
    font-size: 20px;
    position: absolute;
    top: 2px;
    left: 20px;
    opacity: 1;
    z-index: 10;
}

/*
.thumbnail-cell:hover .select-icon .fa-check-circle {
    opacity: 0;
    display: none;
}
*/
.thumbnail-cell .select-icon .fa-check-circle {
    opacity: 0;
    display: none;
}

.thumbnail-cell:hover .select-icon .fa-check-circle {
    opacity: 1;
    display: inline-block;
    cursor: pointer;
}

.thumbnail-cell:hover .select-icon .fa-circle {
    opacity: 0;
    display: none;
}

.thumbnail-cell .select-icon .fa-check-circle {
    opacity: 0;
}

.thumbnail-cell.selected .select-icon .fa-circle {
    opacity: 0;
    display: none;
}

.thumbnail-cell.selected .select-icon .fa-check-circle {
    color: #4285f4;
    opacity: 1;
    display: inline-block;
    z-index: 999;
}

/*
.thumbnail-cell:hover .select-icon {
    opacity: 1;
    cursor: pointer;
}
*/
/*
.thumbnail-cell.selected .select-icon {
    opacity: 1;
}
*/
/*
.thumbnail-cell.selected:hover .select-icon .fa-check-circle {
    opacity: 1;
    display: initial;
}
*/


.full-screen-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.image-preview-wrapper {
    position: absolute;
    width: 90%;
    max-height: 600px;
    top: 50%;
    margin-left: 5%;
    margin-top: -300px;
    background-color: #fff;
    overflow: hidden;
}

.image-preview-inner {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-image-wrapper {
    line-height: 580px;
    vertical-align: middle;
}

.image-detail {
    background-color: #fff;
    min-height: 100px;
}

.product-image {
    background: rgba(0, 0, 0, 1);
    width: 70%;
    height: 580px;
    overflow: hidden;
    position: relative;
    text-align: center;
    float: left;
    /* Double check if this is needed */
}

.product-image img {
    max-height: 100%;
}

.product-image:hover .gallery-nav-buttons {
    visibility: visible;
    opacity: 1;
}

.gallery-nav-buttons {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    top: 50%;
    width: 100%;
    height: 40px;
    margin-top: -25px;
    -webkit-transition: opacity 400ms ease-in-out;
    -moz-transition: opacity 400ms ease-in-out;
    transition: opacity 400ms ease-in-out;
}

.nav-btn.next {
    right: 0;
}

.nav-btn.prev {
    left: 0;
}

.gallery-nav-buttons a {
    color: rgba(255, 255, 255, .5);
    position: absolute;
    width: 35px;
    height: 80px;
    text-align: center;
    opacity: 0.8;
    cursor: pointer;
}

.product-information {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    width: 27.5%;
    margin: 20px 10px;
    float: left;
}

.close-btn {
    color: rgba(255, 255, 255, .5);
    position: absolute;
    top: 4px;
    right: 12px;
    cursor: pointer;
}

.close-btn:hover {
    color: rgba(255, 255, 255, .9);
}

.jqstooltip {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/** Login screen **/

.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}

.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

/*
 * Card component
 */
.card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/*
 * Form styles
 */
.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #userName,
.form-signin #password {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgb(104, 145, 162);
}

.btn.btn-signin {
    background-color: rgb(104, 145, 162);
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
    background-color: rgb(12, 97, 33);
}

.forgot-password {
    color: rgb(104, 145, 162);
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus {
    color: rgb(12, 97, 33);
}