﻿/*
    primary green: #268274
    secondary blue: #0073b1
    grey: #6c757d
    alt grey: rgba(0,0,0,.05);
    light: #f8f9fa
    dark: #343a40
    grey-300: #dee2e6
    body: #212529
	danger: #dc3545
*/

/* Layout -------------------------------------------------- */

html, body {
    height: 100%;
    margin: 0;
    font-size: 14px;
}

.content {
    min-height: 100%;
}

.content-inside {
    padding-bottom: 90px;
}

.footer {
    height: 90px;
    margin-top: -90px;
}

main {
    min-height: 500px;
}

    main > .container-fluid {
        max-width: 1920px;
    }

.layout-container {
    padding: 10px 25px 15px 12px;
}

.section {
    padding: 2rem 0;
    position: relative;
}

.section-dark {
    background-color: #f8f9fa;
}

/* Header -------------------------------------------------- */

header h1 {
    color: #6c757d;
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 0.5rem;
}

header h2 {
    color: #6c757d;
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    margin: 0;
}

header nav a {
    font-size: 16px;
    color: #6c757d !important;
    text-decoration: none !important;
}

    header nav a:hover, header nav a:active, header nav a:focus {
        color: #268274 !important;
    }

header nav .dropdown-menu a {
    font-size: 16px;
    color: #6c757d !important;
    text-decoration: none !important;
}

    header nav .dropdown-menu a:hover, header nav .dropdown-menu a:active, header nav .dropdown-menu a:focus {
        color: white !important;
        background-color: #268274 !important;
    }

header nav button {
    outline-color: #dee2e6 !important;
}

header .nav-container {
    margin-top: auto;
}

header .dropdown-toggle::after {
    display: none;
}

/* Tables -------------------------------------------------- */

.table-th-border-bottom-1 th {
    border-bottom-width: 1px !important;
}

.row-selectable td:hover {
    cursor: pointer;
}

.row-hfss-error td {
    color: red;
}

tr.row-hfss-disabled td {
    opacity: 0.4;
}

tr:nth-of-type(even).row-hfss-disabled:hover td {    
    background-color: transparent;
}

.table-hover tbody tr:nth-of-type(even).row-hfss-disabled:hover {
    background-color: transparent;
}

tr:nth-of-type(odd).row-hfss-disabled:hover td {
    background-color: transparent;
}

.table-hover tbody tr:nth-of-type(odd).row-hfss-disabled:hover {
    background-color: rgba(0,0,0,.05);    
}

div.bookedMediaSupplierProductForm .table-hover tbody tr:hover {
    background-color: rgba(0,0,0,.175);
}

.row-selected {
    background-color: #268274 !important;
    color: #ffffff
}

.table-striped tbody tr:nth-of-type(odd) .text-disabled {
    color: white;
}

.table-striped tbody tr:nth-of-type(even) .text-disabled {
    color: rgba(0,0,0,.05);
}

.table-responsive table {
    transform: rotateX( 180deg );
    margin-top: 1rem;
    margin-bottom: 0;
}

.table-responsive {
    transform: rotateX( 180deg );
}

/* Tabs -------------------------------------------------- */
.nav-tabs {
    border-bottom: 4px solid #268274;
}

    .nav-tabs .nav-item {
        margin-bottom: 0;
        border-left: 1px solid #dee2e6;
    }

        .nav-tabs .nav-item:first-child {
            border-left: 0;
        }

    .nav-tabs .nav-link {
        color: #212529;
        border: none;
        background-color: rgba(0,0,0,.05);
        border-radius: 0 !important;
        cursor: pointer;
    }

    .nav-tabs.nav-tabs-lg .nav-link {
        padding: 20px 40px;
    }

    .nav-tabs .nav-item:first-child .nav-link {
        border-top-left-radius: 0.25rem !important;
    }

    .nav-tabs .nav-item:last-child .nav-link {
        border-top-right-radius: 0.25rem !important;
    }

    .nav-tabs .nav-link:hover {
        background-color: rgba(0,0,0,.1);
    }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        background-color: #268274;
        color: white !important;
    }

    .nav-tabs .nav-link-icon {
        position: relative;
    }

        .nav-tabs .nav-link-icon span {
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 16px;
            line-height: 16px;
            width: 16px;
            text-align: center;
            color: #666;
        }

        .nav-tabs .nav-link-icon.active span {
            color: white;
        }

/* Buttons -------------------------------------------------- */
.btn-grey, .bg-grey {
    background-color: rgba(0,0,0,.05);
}

    .btn-grey:hover {
        background-color: rgba(0,0,0,.1);
    }

.button-column {
    text-align: center;
    vertical-align: middle;
}

    .button-column a, .button-column .fa {
        width: 22px;
        height: 20px;
        line-height: 20px;
        display: inline-block;
    }

/* Badges ------------------------------------------------- */

.badge-lg {
    font-size: 1.25rem !important;
    line-height: 1.25rem !important;
}

/* Forms -------------------------------------------------- */

.select2::before {
    margin-bottom: 5px;
}

.select2 {
    width: 100% !important;
}

.dynamic-form .field-validation-error {
    display: block;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

/* General -------------------------------------------------- */

.box-shadow {
    box-shadow: 0 10px 20px rgba(0, 0, 0, .05);
}

.loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -10px;
    line-height: 20px;
    text-align: center;
}

.hide {
    display: none;
}

.disabled-div {
    pointer-events: none;
    opacity: 0.4;
}

/* Workflow -------------------------------------------------- */

.workflow-title, .section-title {
    margin-bottom: 2rem;
    font-weight: bold;
    color: #268274;
}

.workflow-button-container {
    height: 120px;
    overflow: auto;
    white-space: nowrap;
}

.workflow-comment-panel {
    width: 80%;
}

.workflow-comment-text-area {
    width: 100%;
}

.mediaWorkflowButton {
    position: relative;
    padding: 10px 40px;
    box-shadow: none !important;
}

    .mediaWorkflowButton span {
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 16px;
        line-height: 16px;
        width: 16px;
        color: #666;
        text-align: center;
    }

    .mediaWorkflowButton.btn-primary span {
        color: white;
    }

.workflow-debug-nfo {
    display: none;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    header nav li.root-item, header nav li.dropdown {
        margin-right: 0.5rem;
    }

    .content-inside {
        padding-bottom: 60px;
    }

    .footer {
        height: 60px;
        margin-top: -60px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    header .nav-container {
        margin-top: 0;
        position: absolute;
        right: 15px;
        bottom: 29px;
    }

    header nav li.root-item, header nav li.dropdown {
        margin-right: 0;
        margin-left: 1rem;
    }
}

.showPanelBtn {
    position: absolute;
    margin-left: 15px;
    height: 20px;
    line-height: 10px;
    z-index: 0;
}
 .tabPanelMargin {
     margin-left: 50px;
 }

 .tabColumnMargin {
     margin-right: 50px;
 }
 
.mandatory-option {
    color: #dc3545 !important;
    font-weight: bolder;
}

.group1-option {
    color: #07A0FF !important;
}

.group2-option {
    color: #FF9D00 !important;
}

.group3-option {
    color: #9000FF !important;
}

.group4-option {
    color: #00B61D !important;
}

.group5-option {
    color: #B53C00 !important;
}

.type-label-align {
    line-height: 17px;
    vertical-align: bottom;
}

.type-file-types-cell-lg {
    font-weight: 700;
}

.type-file-types-cell-sd {
    font-weight: 600;
}