@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800);

body {
    /*font-family: 'Open Sans',sans-serif;*/
    font-family: sans-serif;
    font-size: 14px;
    color: #333;
    /*min-width: 1280px;*/
}

.navbar.octopus_header {
    background-color: #517fb1;
}

.navbar-default.octopus_header .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-default .navbar-brand {
    color: #ffffff;
    margin: -3px 40px 0 0;

}

.rates_drop ul.dropdown-menu{
    top: 6px;
    width: 100%;
    left: calc(-100%);
    border-top-left-radius: 6px;
    border-top-right-radius: 0;
}

.navbar-brand span{
    color: #fff;
    float: right;
    font-size: 7px;
    font-weight: 100;
    margin-top: -7px;
    text-transform: uppercase;
}

.octopus_header .link-orders, .octopus_header .link-schedule, .octopus_header .link-company, .octopus_header .link-accounting {
    padding-left: 42px;
    margin-right: 20px;
    background-image: url(../images/icon-customer.png);
    background-repeat: no-repeat;
}

.octopus_header .link-orders {
    background-position: 14px 14px;
}

.octopus_header .link-schedule {
    background-position: 14px -87px;
}

.octopus_header .link-company {
    background-position: 9px -184px;
}

.octopus_header .link-accounting {
    background-position: 14px -232px;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid #ffffff;
    border-radius: 4px;
}

.navbar-nav > li > a:hover {
    background-color: #638cb9 !important;
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: #eee;
    border-color: #337ab7;
}

.octopus_header li a {
    color: #fff !important;
}

.octopus_header li.dropdown.open a.dropdown-toggle {
    background-color: #638cb9 !important;
}

.octopus_header li.dropdown.open .dropdown-menu a {
    color: #666 !important;
}

.octopus_header .link-setting .glyphicon {
    position: relative;
    top: 3px;
    margin: 0 8px 0 0;
    font-size: 16px;
}

.choose_ratting a{
    background-color: #FF0000;
}

.choose_ratting.selected_ratting a{
    background-color: #638cb9
}

.panel-primary {
    border-color: #517fb1;
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #517fb1;
    border-color: #517fb1;
}

.panel-body.notification > div:nth-child(even){
    background-color: #eeeeee;
}

.panel-body.notification > div:nth-child(odd){
    background-color: #ffffff;
}



.ui-datepicker-today.following-holiday a{
    border: 1px solid #999 !important;
    background: #fbec88 !important;
    color: #666 !important;
}

.past-holiday a{
    border: 1px solid #C7C7C7 !important;
    background: #fff !important;
    color: #A6A6A6 !important;
}

.order_again{
    border-bottom: 1px dotted #517fb1;
    color: #517fb1;
    cursor: pointer;
}

.resend{
    margin-top: 10px;
}

.resend_form{
    display: none;
}

.following-holiday a{
    border: 1px solid #999 !important;
    background: #fff !important;
    color: #666 !important;
}

.following-anual a {
    border: 1px solid #999 !important;
    background: #fff !important;
    color: #F2B076 !important;
}

.past-anual {
    border: 1px solid #C7C7C7 !important;
    background: #fff !important;
    color: #A6A6A6 !important;
}



.week-day-holiday a{
    border: 1px solid #999 !important;
    background: #fff !important;
    color: #666 !important;
}

.peak-day a{
    border: 1px solid #ED826B !important;
    background: #fff !important;
    color: #ED826B !important;
}

.ui-datepicker-today {
    border: 1px solid black;
}

.selected-day {
    background-color: green;
}

.ui-datepicker-current-day {
    border: 1px solid yellow;
}

.page_title{
    font-size: 24px;
    padding: 0px 0px 14px 0px;
    color: #4db3a2;
    font-weight: bold;
}

.panel-default.panel-octopus > .panel-heading{
    font-size: 16px;
    color: #4db3a2;
    background: #FFFFFF;
    font-weight: bold;
    border-bottom: 2px solid #F2B076;
}

.panel-default.panel-octopus{

    border: none;
}

.add_block{
    padding: 15px 15px;
    background: #EEEEEE;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin: 5px 0px -15px 0px;
}

.help-block{
    font-size: 10px;
}

.balance {
    float: right;
    width: 200px;
    box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.25);
    padding: 20px 10px;
}

.balance_top {
    text-align: center;
    font-size: 18px;
    padding: 7px 0px;
}

.balance_middle {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    color: #517FB1;
    padding: 15px 0px;
}

span.attention {
    color: #517FB1;
    font-weight: bold;
}

.pay-price, .change-price, .wpm, .pay{
    font-weight: bold;
    color: #517FB1;
    display: block;
    text-align: left;
}

.module_block_top {
    background: #eee;
}

.module_block_top p{
    margin: 0;
}
.module_block_top_1 {
    width: 70%;
    float: left;
    padding: 7px;
    line-height: 34px;
}

.module_block_top_2 {
    float: left;
    width: 15%;
    padding: 7px;
    text-align: right;
    line-height: 34px;
}

.module_block_top_3 {
    float: left;
    width: 15%;
    text-align: right;
    padding: 7px;
}

.module_block_statuses{
    border-bottom: 1px dotted #eee;
}

.module_block_status{
    float: left;
    width: 20%;
    padding: 7px;
}

.module_block_text{
    padding: 7px;
}

.module_block_text .no_data{
    padding: 20px;
    text-align: center;
    color: #dddddd;
    font-weight: bold;
    font-style: italic;
}

.module_block {
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
}
.change-status{
    cursor: pointer;
}

.loader {
    height: 100%;
    width: 100%;
    background-image: url(images/loader.png);
}


.notification .panel-body{
    max-height: 700px;
    height: 500px;
    overflow-y: scroll;
    overflow-x: auto;
    font-size: 12px;
}

.notification .panel-body .row {
    border-bottom: 1px solid #D9EDF7 ;
    padding-top: 5px;
    margin: 0 auto;
}

.code {
    border: 1px solid #c3c3c3;
    border-left: 6px solid #ff9400;
    padding: 10px;
    font-size: 12px;
    background: rgba(255, 255, 136, 0.3);
    overflow: auto;
    color: #000;
    font-family: 'Consolas';
    margin: 20px 0 20px 0;
}

.company-today a{
    background: red !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.for_new{
    position: relative;
    width: 20px;
    display: inline-block;
}

.for_new span{
    background: red;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    width: 20px;
    line-height: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(0, 5px);
}

.for_new span.for_new_0{
    background: grey;
    opacity: 0.1;
}

@media (max-width: 1366px) {
    .octopus_header .link-orders, .octopus_header .link-schedule, .octopus_header .link-company, .octopus_header .link-accounting {
        margin-right: 0px;
    }
}

@media (max-width: 1300px) {
    .navbar-default .navbar-brand {
        margin: -3px 0px 0 0;
    }
    .navbar-default.octopus_header .navbar-nav > li > a {
        font-size: 12px;
    }
    .octopus_header .link-orders, .octopus_header .link-schedule, .octopus_header .link-company, .octopus_header .link-accounting {
        background-image: none;
        padding-left: 15px;
    }
    .dropdown-toggle.link-setting i{
        display: none;
    }
    .navbar{
        border: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

}

@media (max-width: 1040px) {
    .navbar-default.octopus_header .navbar-nav > li > a {
        font-size: 11px;
    }
}

@media (max-width: 990px) {
    .navbar-default.octopus_header .navbar-nav > li > a {
        font-size: 10px;
    }
    .octopus_header .link-orders, .octopus_header .link-schedule, .octopus_header .link-company, .octopus_header .link-accounting, .octopus_header .dropdown-toggle, .nav.navbar-nav.navbar-right > li > a{
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 850px) {
    .nav.navbar-nav.navbar-right li.dropdown:last-of-type{
        max-width: 113px;
    }
    .nav.navbar-nav.navbar-right li.dropdown:last-of-type > a{
        display: flex;
        align-items: center;
        overflow: auto;
        justify-content: flex-end;
    }
    .octopus_header .link-orders, .octopus_header .link-schedule, .octopus_header .link-company, .octopus_header .link-accounting, .octopus_header .dropdown-toggle, .nav.navbar-nav.navbar-right > li > a {
        padding-left: 8px;
        padding-right: 8px;
    }
    .navbar-default.octopus_header .navbar-nav > li > a {
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (max-width: 767px) {
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }
    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        background-color: #486e98;
    }
    .nav.navbar-nav.navbar-right li.dropdown:last-of-type{
        max-width: none;
    }
    .nav.navbar-nav.navbar-right li.dropdown:last-of-type > a{
        justify-content: flex-start;
    }
    .navbar-default.octopus_header .navbar-nav > li > a {
        font-size: 14px;
        padding-left: 20px;
    }
    .octopus_header li.dropdown.open .dropdown-menu a {
        color: #fff !important;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus, .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
        background-color: #486e98;
    }
}
