body {
    overscroll-behavior-y: none
}
.pretit-badge {

    width: 35px;
    display: inline-block;
    border-radius: 4px;
    text-align:center;
    margin-left: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #856012;
    background: #fff1d3;
    text-align: center;
}

#socket {
    width: 27px;
    display: inline-block;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 27px;
    text-align: center;
    background: #f81c1c;
    color: #fff;
    z-index: 50000;
    position: fixed;
    left: 10px;
    bottom: 10px;
}

#socket.on {
    background: #0abb87;
}

#socketMessages {
    position: fixed;
    z-index: 50000;
    height: 200px;
    width: 230px;
    bottom: 40px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 10px;
    -webkit-box-shadow: 3px 3px 15px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 3px 15px 2px rgba(0,0,0,0.75);
    box-shadow: 3px 3px 15px 2px rgba(0,0,0,0.75);
    border-radius: 4px;
    font-size: 12px;
}
#socketMessages hr {
    margin-top: 2px;
    margin-bottom: 2px;
    border-color: #777 !important;
}

.socketMessage {
    font-size: 11px;
}

.oi-badge {

    width: 27px;
    display: inline-block;
    border-radius: 4px;
    margin-left: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
}

.oi-badge.done {
    background: rgba(10,187,135,.1);
    color: #0abb87; 
}

.oi-badge.ordered {
    background: #fff1d3;
    color: #856012;
}

.oi-badge.outstanding {
    background: #ffb6b6;
    color: #f81c1c;
}

.oi-badge.planned {
    background: #82b3dc;
    color: #415a7f;
}

.oi-badge.target {
    background: #0abb87;
    width: 35px;
    color: #fff;
}

.form-control {
    
    height: 43px;
    border: none;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background: #e8f0fe;
    border: 1px solid transparent;
    font-size: 0.8rem !important;
    padding: .65rem 1rem !important;
    
}

.form-control-sm {
    height: 33px !important;
    border: none;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background: #e8f0fe;
    border: 1px solid transparent;
    font-size: 0.8rem !important;
    padding: .65rem 1rem !important;
}


.form-control:focus {
    color: #495057;
    outline: 0 !important;
    background: #e8f0fe;
    border: 1px solid #777;
    box-shadow: none!important;
}

select.form-control {
    padding: 0 !important;
    padding-left: 0.65rem !important;
}

.fc-white {
    background: #fff;
}

input[type='file'] {
    padding: 5px !important;
    padding-left: 0.65rem !important;
}

.input-group-text {
    background: rgba(235, 237, 242, 0.4);
    border: 0px solid rgba(235, 237, 242, 0.4);
}
.input-group-append {
    margin-left: 0px;
}
.btn {

    padding-left: 2.5rem;
    padding-right: 2.5rem;
    line-height: 50px;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-primary {
    background-color: #3ec0e9;
    border-color: #3ec0e9;
}

.btn-sm {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.675rem !important;
    line-height: 1.2 !important;
    border-radius: 0.2rem !important;
}

.btn-label {
    background-color: rgba(93,120,255,.1);
    color: #3ec0e9;
}

.btn-label-primary {
    background-color: rgba(88,103,221,.1);
}

.btn-label-primary:hover {
    background-color: #5867dd;
    color: #fff !important;
}

.btn-label-danger {
    background-color: rgba(255,0,0,.1);
}

.btn-label-danger:hover {
    background-color: rgba(255,0,0,.5);
}


.btn.btn-label-warning {
    background-color: rgba(255,184,34,.1);
}

.btn.btn-label-warning:hover {
    background-color: #ffb822;
    color: #111 !important;
}

.btn.btn-label-success {
    background-color: rgba(10,187,135,.1);
    color:rgb(100, 108, 154);
}

.btn.btn-label-success:hover {
    background-color: #0abb87;
    color: #fff !important;
}

.block { display: block }

hr {
    border-color: #f9f9f9;
}

.list-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eff0f6;
    min-height: 60px;
    padding-top: 15px;
    padding-left: 15px;
}

.list-title {
    font-size: 1rem;
    font-weight: 500;
}

.list-head {
    font-weight: 500;
    border-bottom: 1px solid #ddd;
    line-height: 35px;
    color: #595d6e;
    background: #ebedf2;
    border-radius: 4px 4px 0 0
}

.list-row {
    line-height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid #eff0f6;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    
}

.list-row.inactive {
    color: #ccc;
}

.list-row.darker {
    background: rgba(0,0,0,.1);
}

.list-row:hover {
    background:  rgba(255,184,34,.1);
}

.list-row.selected {
    background: rgba(10,187,135,.1);
}

.list-pager {
    line-height: 35px;
    font-weight:500;
}

.content-block {
    border-radius: 4px;
    width: calc(100% - 30px);
    margin: 15px;
    padding: 15px;
    background: #fff;
    overflow: auto;
}


.content-block-l2 {
    border-radius: 4px;
    width: calc(100% - 30px);
    margin: 15px;
    padding: 15px;
    background: #fff;
    overflow: auto;
    height: calc(100% - 100px);
}


.text-muted {
    color: #ccc !important;
}

.normal {
    font-weight: 100 !important;
}


.form-section-head {
    font-weight: 500;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 10px;
}

label {
    cursor: pointer;
}

#dateSelector {
    height: 60px;
    width: 100%;
    color: #222;
    background: rgba(255,255,255,1);
    padding: 15px;
}

#panelRight {
    height: calc(100% - 60px);
    position: fixed;
    right: 0px;
    width: 400px;
    top: 60px;
    background: rgba(255,255,255,1);
    bottom:0px;
    z-index:900;
    color: #222;
    overflow: hidden;
    
}


#territorySelector {
    background: white;
    width: 100%;
    overflow-y: auto;
}

#territoryPlanner {
    height: calc(100% - 60px);
    position: fixed;
    right: 0px;
    width: calc(100% - 650px);
    left: 250px;
    bottom:0px;
    z-index:5000;
    color: #222;
    overflow: auto;
    top: 60px;
    transition: all 0.3s ease-in-out;
    overflow-y: scroll;
    
}

@media (max-width: 1365px) {
    #territoryPlanner {
        left: 0;
        width: calc(100% - 400px);
    }
}

#territoryPlanner.active {
    top: 60px;  
}

#areaList .card-header {
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 0px;
    background: white;
}

#areaList .card-header a {
    line-height: 35px;
    font-weight: bold;
    display: block;
    cursor: pointer;
    font-size: 12px;
}

#areaList .card-header i {
    color: #3ec0e9;
}

#areaList .card {
    background: rgba(255,255,255,1);
    border-radius: 0px;
    font-size: 12px;
    border-left: 0px;
    border-right: 0px;
}

.treadListItem {
    line-height: 25px;
    cursor: pointer;
}

.treadListItem.active {
    font-weight: bold;
    background: rgba(0,0,0,0.3);
}

.monospace {
    font-family: monospace;
}

input[type=radio]{
    width: 20px;
    height: 20px;
     margin-top: -1px;
    vertical-align: middle;
}


.datepicker.dropdown-menu {
    font-size: 12px !important;
}

.datepicker-dropdown, .dropdown-menu {
    z-index: 100000 !important;
}

.select2-container--default .select2-selection--single {
    border-color: #ccc !important;
}

.fordaItem {
    padding: 5px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: move
}

.fordaItemPlaceholder {
    border: 1px dashed #ccc;
    height: 30px;
    border-radius: 4px;
    background: #e8f0fe;
    margin-bottom: 15px;
    margin-right: -15px;
    margin-left: -15px;
}

.planDets {
    display: none;
}

.ctrlUnit {
    border-radius: 4px;
    background: #f9f9f9;
    border: 2px dotted #ddd;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-bottom: 3px;
}

.ctrlUnit:hover {
    background: #82b3dc;
}

.ctrlUnit.active {
    border: 2px dashed #0abb87;
}

.cnt.active {
    background: #ebedf2 !important;
}

#minuteList {
    padding-right: 400px
}

.select2-container .select2-selection--single {
    height: 33px !important;
    background: #e8f0fe !important;
    border: 1px solid transparent  !important;
    font-size: 0.8rem !important;
    padding-left: 0.65rem !important;
    font-weight: normal;
}

#contProtector, #contentDef  {
    position: fixed;
    z-index: 88888;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    top: 0;
    left: 0;
    display: none;
   
}

#certCont {
    
    position: fixed;
    width: calc(100% - 200px);
    max-width: 1200px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: calc(85%);
    display: none;
    background: #fff;
    box-shadow: 0px 0px 14px 0px rgba(0,0,0,1);
    z-index: 888890;
}

.snackbar-container {
    z-index: 9999909999999 !important;
}

#mapCover {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 160000;
    padding-top: 5%;
    display: none;
}

#fordaMap {
    width: 90%;
    max-width: 1300px;
    height: 90%;
    overflow: auto;
    background: #fff;
    border-radius: 4px;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 3px 3px 15px 2px rgba(0,0,0,0.75);
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

input:disabled {
    background: #777 !important;
    color: #ccc !important;
}

#noLandscape {
    position: fixed;
    background: #000;
    text-align: center;
    width: 100%;
    height: 100%;
    font-size: 25px;
    z-index: 999999999999999999999;
    display: none;
    line-height: 100vh;
}

@media (orientation: landscape) and (max-width: 1024px)  and (max-height: 500px){
    #noLandscape {
        display: block;
    }
}

#mainContent { 
    overflow: auto; 
    padding-top: 0px !important;
    width: 100%;
    z-index: 50;
    top: 120px;
    
    
}

@media (min-width: 1025px) {
    #mainContent { 
        top: 60px;
    }
}

.modal-backdrop {
    z-index: 10000;
}

.modal {
    z-index: 10001; 
    margin-top: 100px;
}

#homeBtn {
    position: fixed;
    z-index: 9999999;
    top: 4px;
    left: 10px;
    padding: 5px;
    color: #5c7eac
}

#logoutBtn {
    color: #5c7eac;
}

#usermon {
    position: fixed;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #fff !important;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    top: 35px;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    
}

#mainTitle {
    text-align: center;
    padding-top: 18px;
    font-size: 16px;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
        
}

body {
 
    font-family: 'Roboto' !important;
}

#result {
    position: fixed;
    width: 100%;
    padding-bottom: 90px;
    top: 120px;
    overflow-y: auto;
    overflow-x: hidden;
}
.col-primary {
    color: #5c7eac !important;
}

@media (max-width: 1024px) {
#topNav {
    background: #000;
    border-bottom: initial !important;
}
}

#select {
    -webkit-appearance:none;
}

.btn-md {
    padding: 0.65rem 1.0rem !important;
    font-size: 0.975rem !important;
    line-height: 1.2 !important;
    border-radius: 0.2rem !important;
}