/*===========================
 --CONTAIN--

1. Common style
2. Planning calendar
3. Menu

MEDIA-QUERIES

===========================*/


/* 1. Common style
==========================================*/

html,
body {
    height: 100%;
}

body {
    padding-top: 50px;
}

.g-sp-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -- Padding left -- */
.g-pl_4 {
    padding-left: 4px;
}

.g-pl_6 {
    padding-left: 6px;
}

.g-pl_8 {
    padding-left: 8px;
}

.g-pl_10 {
    padding-left: 10px;
}

.g-pl_15 {
    padding-left: 15px;
}

.g-pl_20 {
    padding-left: 20px;
}


/* -- Padding left -- */
.g-pr_4 {
    padding-right: 4px;
}

.g-pr_6 {
    padding-right: 6px;
}

.g-pr_8 {
    padding-right: 8px;
}

.g-pr_10 {
    padding-right: 10px;
}

.g-pr_15 {
    padding-right: 15px;
}

.g-pr_20 {
    padding-right: 20px;
}


/* -- Padding top -- */
.g-pt_4 {
    padding-top: 4px;
}

.g-pt_6 {
    padding-top: 6px;
}

.g-pt_8 {
    padding-top: 8px;
}

.g-pt_10 {
    padding-top: 10px;
}

.g-pt_15 {
    padding-top: 15px;
}

.g-pt_20 {
    padding-top: 20px;
}


/* -- Padding bottom -- */
.g-pb_4 {
    padding-bottom: 4px;
}

.g-pb_6 {
    padding-bottom: 6px;
}

.g-pb_8 {
    padding-bottom: 8px;
}

.g-pb_10 {
    padding-bottom: 10px;
}

.g-pb_15 {
    padding-bottom: 15px;
}

.g-pb_20 {
    padding-bottom: 20px;
}

/* -- Margin left -- */
.g-ml_4 {
    margin-left: 4px;
}

.g-ml_6 {
    margin-left: 6px;
}

.g-ml_8 {
    margin-left: 8px;
}

.g-ml_10 {
    margin-left: 10px;
}

.g-ml_15 {
    margin-left: 15px;
}

.g-ml_20 {
    margin-left: 20px;
}


/* -- Margin left -- */
.g-mr_4 {
    margin-right: 4px;
}

.g-mr_6 {
    margin-right: 6px;
}

.g-mr_8 {
    margin-right: 8px;
}

.g-mr_10 {
    margin-right: 10px;
}

.g-mr_15 {
    margin-right: 15px;
}

.g-mr_20 {
    margin-right: 20px;
}


/* -- Margin top -- */
.g-mt_4 {
    margin-top: 4px;
}

.g-mt_6 {
    margin-top: 6px;
}

.g-mt_8 {
    margin-top: 8px;
}

.g-mt_10 {
    margin-top: 10px;
}

.g-mt_15 {
    margin-top: 15px;
}

.g-mt_20 {
    margin-top: 20px;
}


/* -- Margin bottom -- */
.g-mb_4 {
    margin-bottom: 4px;
}

.g-mb_6 {
    margin-bottom: 6px;
}

.g-mb_8 {
    margin-bottom: 8px;
}

.g-mb_10 {
    margin-bottom: 10px;
}

.g-mb_15 {
    margin-bottom: 15px;
}

.g-mb_20 {
    margin-bottom: 20px;
}


.wrap {
    min-height: 100%;
    height: auto;
    margin: 0px auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.row-flex {
    display: flex;
    flex-flow: row wrap;
}

.row-flex-v-center {
    align-items: center;
}

.efkoAppsPopover:hover {
    background-color: #0280a9;
}

.nested_tabs.tabs-krajee.tabs-left .nav-tabs,
.nested_tabs.tabs-krajee.tabs-right .nav-tabs {
    width: 251px;
}

.nested_tabs.tabs-krajee.tabs-left .tab-content {
    margin-left: 250px;
    min-width: 500px;
}

/* ---логотип в щапке --- */
.navbar-brand > img {
    display: inline-block;
    margin-top: -10px;
    padding-right: 5px;
    max-height: 36px;
}

/* ---/логотип в щапке --- */

/* 2. Planning calendar
==========================================*/

.tab-calendar__info-weekend {
    background: #ec8b8b none;
    width: 34px;
    height: 21px;
    display: inline-block;
    margin-bottom: -5px;
}

.tab-calendar__info-vacation {
    background: #4e87ec none;
    width: 34px;
    height: 21px;
    display: inline-block;
    margin-bottom: -5px;
}

/* 3. Menu
==========================================*/
.menu__holidays .dropdown-menu {
    min-width: 320px;
}

.menu__holidays-day {
    color: #fff;
    padding: 10px 15px;
    text-transform: none;
    border-top: 1px solid #ddd;
}

.menu__holidays-day span {
    display: inline-block;
    font-size: 13px;
    color: #fff;
}

.menu__holidays-footer {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.btn__holidays {
    display: inline-block !important;
    width: 290px;
}

.menu__holidays-day-title {
    font-size: 13px;
    text-transform: none;
    color: #fff !important;

}

.menu__notification-item {
    position: relative;
}

.menu__notification-indicator {
    display: inline-block;
    height: 12px;
    width: 12px;
    background: #ec8b8b;
    border-radius: 50%;
    border: 1px solid #fff;
    position: absolute;
    top: -8px;
    right: -4px;
}

#form-content .panel-heading {
    background: #008CBA; 
    color: #fff;
}

#form-content .panel-heading .b-logo {
    height: 37px;
}

#form-content .panel-heading .b-logo img {
    display: block;
    height: 100%;
    margin: 0 auto;
}

#form-content .panel-heading .panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
}

#form-content .panel-body .btn-submit {
    width: 100%;
    text-align: center;
}

.captcha-body img {
    padding: 2px;
    border: 1px solid;
    margin-bottom: 5px;
    border-radius: 4px;


}

.captcha-body ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
    list-style: none;
    color: red;
    position: relative;
    left: -40px;
}

form div {
    margin-bottom: 10px;
}