@import "../fonts/source-sans-pro/source-sans-pro.css";

body {
}

#PRS {
    overflow-x: scroll;
    background-color: #FFFFFF;
    height: calc(100vh - 86px);
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-left:  0;
}

.dirty {
    background-color: rgba(255, 250, 201, 1);
}

@media (min-width: 2500px)  {
    #PRS {
        width: 2400px;
    }
}

@media (min-width: 2100px) and (max-width: 2500px) {
    #PRS {
        width: 2000px;
    }
}

@media (min-width: 1700px) and (max-width: 2100px) {
    #PRS {
        width: 1600px;
    }
}

@media (min-width: 1300px) and (max-width: 1700px) {
    #PRS {
        width: 1200px;
    }
}

@media (min-width: 900px) and (max-width: 1300px) {
    #PRS {
        width: 800px;
    }
}

@media (max-width: 899px) {
    #PRS {
        width: 400px;
    }
}

/*@media (min-width: 1200px)*/

/*@media (min-width: 992px)*/

/*@media (min-width: 768px)*/


.page {
    /* overflow-x: scroll; */
    height: 100%;
    width: 600px;
    /* padding-bottom: 100px; */
}
.invisible {
    visibility: hidden;
    pointer-events: none;
}
.icon {
    max-height: 20px;
    max-width: 20px;
}

.glyphicon {
    /* color: black; */
    /* width: 12px; */
    /* height: 12px; */
    font-size: 21px;
}

.form-control {
    margin: 2px 5px;
}

.panel-title {
    font-size: 28px;
    width: calc(100% - 6px);
    height: 42px;
    margin-bottom: 5px;
    position: absolute;
    top: 0px;
    border-bottom: 1px solid #E2E2E2;
    background-color: white;
}

.panel-title-text {
    margin-top: 0;
    margin-right: 43px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.panel-scroll-area {
    max-height: calc(100vh - 145px);
    position: absolute;
    top: 42px;
    overflow-y: auto;
    width: calc(100% - 6px);
    background-color: #fff;
}

.model-box {
    /*margin-right: 35px;*/
    /* margin-top: 42px; */
}
.model-select,
.model-stub {
    cursor: pointer;
}
.special-item {
    background-color: #efefef;
}
.model-select .small-title {
    width: calc(100% - 30px);/*to override the normal two icon assumption*/
    line-height: 20px;
    padding-top: 3px;
}
.model-select {
    padding: 0;
    width: 100%;
    margin-bottom: 0px;
    background-color: rgba(34, 34, 34, 0.03);
    border: none;
}
.many-select .glyphicon-arrow-right {
    color: #00cf00;
}

.read-only-link {
    color: #ce8955;
}

.small-title,
.small-title p {
    display: inline-block;
    /* padding-right: 10px; */
    font-size: 16px;
    width: calc(100% - 70px);
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hover-darken:hover,
.active {
    background-color: lightgrey;
}

/***  Two column key + value layout****/
.list-group-item {
    padding-right: 0;
}
.inline-key-value * {
    display: inline-block;
}

.inline-key-value .input-md {
    width: calc(100% - 9px);
}
.key-title {
    padding-right: 5px;
    font-weight: 800;
    text-transform: capitalize;
    width: 42%;
    text-align: right;
    line-height: 37px;/*Vertical centering of labels*/
    padding-left:  0;
    overflow: hidden;
    border-right: 1px solid lightgrey;
}
.field-value {
    width: 58%;
    padding-left:  5px;
    /* border-left: 1px solid lightgrey; */
}

.file-link-container{
    width: 100%;
    overflow-y: visible;
    display: block;
}

.download-link {
    display: block;
}

.form-horizontal .form-group {
    margin-right: 0; /*To override forms.less negative margin*/
}
.inline-key-value .checkbox {
    width: 26px;/*doesn't have a width otherwise*/
    margin-left: 5px;
}

.list-filter{
    width: 100%;
}
.squeeze-filter{
    width: calc(100% - 31px);
}

.icon {
    margin-left: 5px;
    margin-right: 5px;
}

.close-panel {
    position: absolute;
    font-size: larger;
    /* margin-right: 34px; */
    cursor: pointer;
    top: -9px;
    right: 9px;
}

.layout-panel {
    display: inline-block;
    width: 400px;
    height: calc(100% - 5px);
    overflow-y: hidden;
    overflow-x: auto;
    padding: 2px 3px;
    position: relative;
}

.large-panel {
    width: 970px;
}

.nav-container {
    width: 200px;
    background: transparent;
    padding-left: 0;
}

/*-------------------------------------------------------------*/
/*-==============-BEGIN DJANGO CORE BOILER PLATE==============--*/
/*-------------------------------------------------------------*/

/*:focus{
    outline: 2px solid rgba(99, 215, 253, .5);
    background-color:white;
}*/

a:focus{
    outline-offset:0;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    box-sizing:border-box;
    padding-bottom: 50px;
    height: 100%;
    overflow-y: hidden;
    background: lightgrey;
}


h2, h2 a{
    font-size: 21px;
    font-weight:600;
    color:inherit;
}

h3, h4 {
    font-size: 13px;
    font-weight: 400;
}


.panel-heading h1, .panel-heading h2, .panel-heading h3{
    margin: 0 0 5px 0;
}

section h1 {
    font-size: 18px;
    font-weight:600;
}

section h1, section h2 {
    margin-bottom: 20px;
}

h3, h4 {
    font-weight: 400;
}

section h4 {
    font-size: 11pt;
}

a {
    color: #7cb9ff;
}

a:hover {
    color: #7cb9ff;
    /*with underline*/
}

/*-------------------------------------------------------------*/
/*-----header-----*/
/*-------------------------------------------------------------*/
.row, .full-width {
    width: 100%;
}

.market-row {
    margin-left:  0;
}
header {
    position: relative;
    /* z-index: 100; */
    background-color: #FFFFFF;
    width: 100%;
    height: 81px;
    top: 0;
    /* min-width: 1200px; */
    color: white;
}
header:after{
    content: "";
    width: 100%;
    height: 1px;
    background-color: black;
    position: absolute;
    bottom: 5px;
    left: 0px;
}

header a, header button {
    height: 38px;
    line-height: 38px;
}

header .btn, #header .btn {
    padding: 8px 10px 8px 10px;
}
header .buttonHolder {
    min-width: 256px;
}


header h1 {
    margin: 0 0px;
    font-size: 47px;
    font-weight: 400;
    /* background:#606060; */
    color: black;
    text-align: center;
}

header div {
    overflow:auto;
}

header p {
    float: none;
}
header .header_logo{
    height: 67px;
    display: block;
    /*margin-top: 15px;*/
    /* width: 167px; */
    float: right;
}
.header-title {
    height: 90px;
}

/*-------------------------------------------------------------*/
/*-----navigation menu-----*/
/*-------------------------------------------------------------*/
#setupMenu {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 194px;
    list-style: none;
    padding-left: 0;
    /* margin-bottom: 54px; */
    margin-top: 5px;
    max-height: calc(100vh - 126px);
    overflow-y: auto;
    direction: rtl;
    z-index: 1;
}
#setupMenu-before {
    content:"";
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 170px;
    height: 6px;
    z-index: 100;
    background: 
    
    
    -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.3)), color-stop(100%,rgba(0,0,0,0)));
    visibility: hidden;
}
#setupMenu-after{
    content:"";
    position: fixed;
    top: calc(100vh - 72px);
    left: 0;
    display: block;
    width: 170px;
    height: 6px;
    z-index: 100;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,rgba(0,0,0,0.3)), color-stop(100%,rgba(0,0,0,0)));
    visibility: hidden;
}

#setupMenu h2:first-child a{
    border-top:1px solid #eeeeee;
}

#setupMenu h2, #setupMenu h3, #setupMenu h4 {
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-left: 0;
}

#setupMenu a {
    color: #606060;
    display: block;
    text-decoration: none;
    line-height: 38px;
    padding-left: 4px;
    transition: background-color .2s ease;
    width: 182px;
    cursor: pointer;
    position: relative;
    margin-bottom: 1px;
    margin-right: 4px;
    direction: ltr;
    background-color: white;
}

#setupMenu a:before {
    content:"";
    display:block;
    width:100%;
    height:1px;
    background-color:#eeeeee;
    position:absolute;
    bottom:-1px;
    left:-5px;
}

#setupMenu a:hover{
    background-color:#eeeeee;
}

#setupMenu a.active:hover{
    background-color:#606060;
}

#setupMenu h3 a, #setupMenu h4 a {
    padding-left:30px;
}

#setupMenu a.active {
    background-color: #606060;
    margin-left: 1px;
    color: white;
    font-weight: 400;
    -webkit-border-radius: 0 4px 4px 0;
    /* width: 175px; */
    margin-right: 0;
}
#setupMenu span {
    width: 5px;
    height: 38px;
    -webkit-border-radius:0 2px 2px 0;
}
/*--------- right border on results nav menu -----*/
#setupMenu h2:before,
#setupMenu h3:before,
#setupMenu h4:before {
    content: "";
    width: 5px;
    height: 37px;
    display: block;
    position: absolute;
    right: 5px;
    top: -1px;
    border-top: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    border-radius: 0 2px 2px 0;
}

#setupMenu .incomplete {
    font-weight: 600;
    font-style: italic;
    color: #999;
    background-color: #f6da40;
}

.completed {
    background-color: #767676;
}

a.active .completed {
    background-color: #5CBE69;
}


#setupMenu .empty_subcategory {
    display: none;
}

#setupMenu .toggle.btn {
    position: absolute;
    top: 5px;
    left: 120px;
    height: 18px !important;
    width: 30px !important;
    min-height: 18px !important;
    min-width: 30px !important;
    border: 1px solid #ccc;
    outline: none;
}
#setupMenu .toggle.btn span {
    height: 16px;
    background-color: #b2b2b2;
    outline: none;
    border-radius: 0;
    right: -2px;
    top: -2px;
}
.toggle-group label{
    font-style: normal;
    font-size: 11px;
    text-transform: lowercase;
    margin-top: 0;
}
.toggle-group .btn, .toggle-group .btn:hover{
    min-width: 0px;
}
#setupMenu .toggle-off {
    box-shadow: none;
    color: #898989;
    padding-left: 9px;
    background: transparent;
    right: -3px;
}
#setupMenu .toggle-off:hover {
    outline: none;
}
#setupMenu .toggle-on {
    padding-right: 10px;
    right: auto;
}
#setupMenu .toggle-group {
    top: -1px;
    -webkit-transition: left .15s;
}


/*-------------------------------------------------------------*/
/*-----3-column layout-----*/
/*-------------------------------------------------------------*/

.layout-panel .fragment{
    height: 100%;
    /* position: relative; */
    display: block;
    overflow: auto;
    padding-bottom: 10px;
}
.layout-panel .fragment input.textinput,
.layout-panel .fragment input.textInput
.layout-panel .fragment select,
.layout-panel select.productiontypelist {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: 500px;
}

ul {
    padding-left: 5px; /*prevent style inheritance from above*/
    list-style: none;
}

.nav.navbar-nav.pull-right {
    margin-right: 41px;
}

.dropdown-toggle {
    color: black;
}


/*-------------------------------------------------------------*/
/*-==============-END DJANGO CORE BOILER PLATE==============--*/
/*-------------------------------------------------------------*/

.group-required {
    color: orange;
    font-size: larger;
}

.group-label {
    text-align: right;
    padding-right: 0px;
    text-transform: uppercase;
    font-size: smaller;
}


/*-------------------------------------------------------------*/
/*-==============EXECUTIVE DASHBOARD==============--*/
/*-------------------------------------------------------------*/

.dashboard-list {
    width: 100%
}

.dashboard-list th {
    background-color: #5f5c61;
    color: white;
    font-weight: 800;
    font-size: 16px;
    padding: 5px 10px;
}

.dashboard-list td {
    padding: 3px;
}

.dashboard-title {
    width: 100%;
    color: white;
    margin-bottom: 0;/*butts up against the Table header*/
    padding: 2px 7px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.dashboard-job-row {
    cursor: pointer;
}

/*-------------------------------------------------------------*/
/*-==============MOBILE STYLING==============--*/
/*-------------------------------------------------------------*/
@media (max-width: 800px) {
}
@media (max-width: 600px) {
    #PRS {
        width: 320px;
        height: calc(100vh - 53px);
    }
    .layout-panel {
        width: 320px;
    }
    .nav-container {/* #34 Fixed: skinnier nav width was ignored on mobile*/
        width: 200px;
    }
    input.form-control.input-md {
        width: calc(100% - 10px); /*Text inputs were running into the edge*/
    }
    header {
        height: 53px;
    }
    header h1 {
        font-size: 27pt;
    }
    .logo-container {
        display: none;
    }
}
