/*************************************************************/
/*  Full height                                              */

.full-height-minus-navbar {
    height: calc(100% - 154px);
}

/*************************************************************/
/*  Footer                                                   */

.footer {
    /*background-color: #F5F5F5;*/
    /*position: fixed;*/
    background-color: #EAEAEA;
    border-top: 16px solid #D59934 !important;
    height: 100%;
    padding-top: 4px;
    padding-bottom: 24px;
    margin-top: 30px;
}

.login-view {
    position: relative;
    min-height: 100%
}

.footer .footer-container {
    border-top: 1px solid black;
    padding-top: 24px;
}

@media screen and (min-width: 992px) {
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 120px;
        /*margin-top: 20px;*/
    }

    .login-view {
        position: relative;
        top: -50px;
        margin-bottom: 40px;
    }
}

/*************************************************************/
/*  Colors                                                   */

.color-red {
    color: #e74c3c;
}

.border-bottom-3-yellow {
    border-bottom: 3px solid #FFA000;
}

.border-top-2-yellow {
    border-top: 2px solid #FFA000;
}

.border-bottom-none-forced {
    border-bottom: none !important;
}

/*************************************************************/
/*  Navbar                                                   */

.navbar {
    margin-bottom: 64px; /* Adjust this margin to match desired height */
}

.navbar-brand .logo-viri-tony {
    right: 440px;
    top: -8px;
    position: absolute;
    width: 58px;
}

.navbar-brand .logo-travieso-kids {
    right: 305px;
    top: 8px;
    position: absolute;
    width: 106px;
}

.navbar-brand .logo-suns {
    right: 210px;
    top: 0;
    position: absolute;
    width: 72px;
}

.navbar-default {
    background: #FFF;
    border: none;
    border-bottom: 1px solid #686666;
    border-radius: 0;
}

@media (max-width: 768px) {
    .navbar-default {
        border-bottom: none;
    }
}

@media (max-width: 687px) {
    .logos-container {
        position: relative !important;
        width: 100%;
        display: block;
        right: 0 !important;
    }

    .logos-container img {
        max-width: 10%;
    }
}

.navbar-default .container-fluid {
    padding-left: 0;
}

.navbar-default .navbar-brand-wrapper {
    background: #FFF;
    padding: 0 16px;
    font-size: 0.8em;
}

.navbar-default .navbar-nav {
    margin-bottom: -37px; /* Adjust this margin to match desired height */
    margin-left: -15px;
}

.navbar-default .navbar-nav > li > a {
    background: #686666;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #FFF;
    margin: 90px 16px 0 0; /* Adjust this margin to match desired height */
    padding: 8px 12px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
    background: #FFA000;
    color: #FFF;
}

/* Right navbar items */
.navbar-nav.navbar-right.logout > li > a {
    background: #FFA000;
    margin: 19px 8px 0 8px; /* Adjust this margin to match desired height */
    border-radius: 8px 8px 0 0;
    color: #FFF;
}

.navbar-default .navbar-right > li > a {
    background: #FFA000;
    margin: 19px 8px 0 8px; /* Adjust this margin to match desired height */
    border-radius: 8px 8px 0 0;
}

.navbar-default .dropdown-menu > .active > a,
.navbar-default .dropdown-menu > .active > a:focus,
.navbar-default .dropdown-menu > .active > a:hover {
    background-color: #FFA000;
}

.logos-container {
    right: 35px;
    top: 20px;
    position: absolute;
    z-index: 1;
}

.logos-container img {
    position: relative;
    max-height: 60px;
    float: left;
    margin: 0px 40px 0 0;
}

.logos-container img:last-child {
    margin-right: 0px !important;
}

.logged .logos-container img:last-child {
    margin-right: 151px !important;
}

/***********************************************************/
/*  Modals                                                 */

.modal .modal-dialog .modal-header {
    background: #686666;
    color: #EFEFEF;
}

.modal .modal-dialog .modal-header > h4 {
    margin-bottom: 0;
    margin-top: 4px;
}

.modal .modal-dialog .modal-header .close {
    color: #FFF;
    opacity: 0.8;
}

.modal-content {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

/**************************************************************/
/* Table styles                                               */

table.table-bordered > thead > tr > th,
table.table-bordered > thead > tr > th > a,
table.table-bordered > tbody > tr > td > a > span {
    color: #D59934;
}

table.table-bordered,
table.table-bordered > thead > tr > th,
table.table-bordered > tbody > tr > td {
    border: 1px solid #323232;
}

/*************************************************************/
/*  Catalog viewer                                           */

.catalog-viewer {
    height: 100%;
}

.catalog-viewer .brands-list {
    border-right: 1px solid #EAEAEA;
    height: 100%;
    max-height: 100%;
    width: 250px;
    overflow-y: auto;
}

.catalog-viewer .brands-list .brand-item,
.catalog-viewer .seasons-list .season-item {
    background: #686666;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #EFEFEF;
    cursor: pointer;
    margin: 16px auto;
    max-width: 150px;
    padding: 8px;
    text-align: center;
    white-space: normal;
}

.catalog-viewer .brands-list .brand-item:hover,
.catalog-viewer .brands-list .active,
.catalog-viewer .seasons-list .season-item:hover,
.catalog-viewer .seasons-list .active {
    background: #FFA000;
    color: #FFF;
}

.catalog-viewer .seasons-list {
    border-top: 1px solid #EAEAEA;
    display: table-cell;
    height: 110px;
    max-height: 110px;
    max-width: 100%;
    overflow-x: auto;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    vertical-align: middle;
}

.catalog-viewer .seasons-list .season-item {
    display: inline-block;
    margin: 0 4px 0 4px;
    /*min-height: 56px;*/
    vertical-align: middle;
}

.catalog-viewer .styles-grid {
    height: 100%;
    width: calc(100% - 250px);
    overflow-y: auto;
    padding: 8px;
}

.catalog-viewer .styles-grid .style-item {
    background: #EAEAEA;
    display: inline-block;
    margin: 8px;
    max-width: 116px;
    padding: 4px 8px;
}

.catalog-viewer .styles-grid .style-item:hover {
    background: #CCCCCC;
}

.catalog-viewer .styles-grid .style-item > div:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-viewer .styles-grid .style-item .photo {
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    height: 85px;
    width: 100px;
}

/* Wraps columns for brands and styles grid  */
.catalog-viewer .top-columns-wrapper {
    display: flex;
    height: calc(100% - 110px);
}

/* Model details elements */
.catalog-viewer .model-details {
    width: calc(100% - 250px);
    height: 100%;
}

.catalog-viewer .model-details .details-top-cols-wrapper {
    display: flex;
    height: calc(100% - 45px);
}

.catalog-viewer .model-details .colors-list {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    width: 70px;
}

.catalog-viewer .model-details .colors-list .color-item {
    margin-top: 16px;
    max-width: 100%;
    width: 100%;
}

.catalog-viewer .model-details .colors-list .color-item img {
    width: 62px;
}

.catalog-viewer .model-details .picture-container {
    background-size: auto 100%;
    -webkit-background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: calc(100% - 250px - 70px);
}

.catalog-viewer .model-details .details-container {
    max-height: 100%;
    overflow-y: auto;
    padding: 0 8px;
    width: 250px;
}

.catalog-viewer .model-details .details-box {
    background: #ecf0f1;
    border-radius: 6px;
    padding: 16px;
}

.catalog-viewer .model-details .photos-list {
    border-top: 1px solid #EAEAEA;
    display: table-cell;
    height: 45px;
    max-height: 45px;
    max-width: 100%;
    overflow-x: auto;
    text-align: center;
    width: 100%;
    vertical-align: middle;
    white-space: nowrap;
}

.catalog-viewer .model-details .photos-list .picture {
    display: inline-block;
    margin: 0 8px 0 8px;
    vertical-align: middle;
}

.catalog-viewer .model-details .photos-list .picture img {
    height: 37px;
}

/***********************************************************/
/*  Login form                                             */

.site-login .panel {
    background-color: #EAEAEA;
    border: 0;
    border-radius: 0;
    margin: 0 auto;
}

.site-login h4 {
    margin-bottom: 0;
}

.panel {

}

.div-container {
    border: 1px solid black;
    height: 300px;
}

.div-info {
    /*width: 100%;*/
    /*height: 80px;*/
    border: 1px solid black;
}

.div-picture {
    height: 300px;
}

.info {
    border: 1px solid black;
}

.info-brand {
    height: 100px;
}

.td-ranges {
    padding: 0 !important;
}

.password-label {
    float: left;
}

/*******************************************************/
/* Devbridge auto complete                             */

.autocomplete-suggestions {
    background: #EFEFEF;
    padding: 4px;
}

.autocomplete-suggestions .autocomplete-suggestion {
    cursor: pointer;
    padding: 8px;
}

.autocomplete-suggestions .autocomplete-suggestion:hover {
    background: #686666;
    color: #EFEFEF;
}

.dropzone {
    padding: 0;
    height: 20vw;
    overflow-y: scroll;
    overflow-x: hidden;
    border-left: 1px solid #CCC;
    border-bottom: 0;
    border-right: 0;
}

/*******************************************************************/
/* Numeric Spinner                                                 */

.spinner {

}

.spinner input {
    text-align: right;
}

.input-group-btn-vertical {
    position: relative;
    white-space: nowrap;
    width: 1%;
    /*vertical-align: middle;*/
    display: table-cell;
    /*padding-top: 25px;*/
    top: 19px;
}

.input-group-btn-vertical > .btn {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-left: -1px;
    position: relative;
    border-radius: 0;
}

.input-group-btn-vertical > .btn:first-child {
    border-top-right-radius: 4px;
}

.input-group-btn-vertical > .btn:last-child {
    margin-top: -2px;
    border-bottom-right-radius: 4px;
}

.input-group-btn-vertical i {
    position: absolute;
    top: 0;
    left: 4px;
}

/**************************************************************/
/* Pagination                                                 */

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    color: white;
    background-color: #D59934;
    border-color: #D59934;
}

.pagination > li > a,
.pagination > li > span {
    color: #D59934;
}

.has-no-branch {
    border: 1px solid #a94442;
}

.span-error {
    color: #A94442;
}

/*********************************************/
/* Border Filter                            */
#w1-filters td {
    border: 1px solid #000000;
    background-color: #EAEAEA;
}

#w0-filters td {
    border: 1px solid #000000;
    background-color: #EAEAEA;
}