/* General */

body {
    font-family: 'Open Sans Condensed', sans-serif;
    background: url('../img/background_road.jpg') no-repeat fixed center;
    background-size: cover;
    color: #333;
    font-weight: bold;
    /*-webkit-filter: blur(10px); -moz-filter: blur(10px); -o-filter: blur(10px); -ms-filter: blur(10px); filter: blur(10px);*/
}
input[type="text"], input[type="email"], input[type="time"], input[type="number"], input[type="password"], input[type="date"], select {
    background-color: #fafafa;
    border: 1px solid #999;
    border-radius: 5px;
    min-height: 40px;
}
textarea, div[contenteditable="true"] {
    background-color: #fafafa;
    min-height: 80px;
    font-weight: bold;
    border: 1px solid #999;
    border-radius: 5px;
    resize: none;
    padding: 0.5rem;
    height: 2.3125rem;
}
div[contenteditable="true"] {
    overflow: scroll;
    height: auto;
}
select {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: bold;
}
input {
    font-weight: bold;
}
input[disabled] {
    background-color: #fff !important;
    border-color: #ccc;
}
input.input-with-right-postfix {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
}
input.error, .postfix.drv-error {
    border-color: #f17a72 !important;
    color: #f17a72;
}
.postfix.postfix-right, button.postfix-right, .button.postfix-right {
    height: 40px;
    border: 1px solid #999;
    border-radius: 0 5px 5px 0;
}
.panel {
    background-color: #eee;
    border: 1px solid #999;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
}
.panel.small {
    padding: 10px;
    margin-bottom: 10px;
}
.small-lead {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: bold;
    cursor: default;
}
.small-lead.inline {
    margin-bottom: 10px;
    line-height: 40px;
}
.lead.inline {
    margin-bottom: 10px;
    line-height: 40px;
}

form small {
    margin-top: -12px;
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}
input[type="checkbox"].no-margin {
    margin: 0 !important;
}
a, a:focus  {
    color: #7dcec8;
}
a:hover {
    color: #68aca7;
}
a[disabled] {
    pointer-events: none;
}
.red-link {
    color: #f17a72;
}
.red-link:hover {
    color: #cd6761;
}
.swal-button {
    margin: 0 5px 0;
}
.no-margin-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.reveal-modal{
    position : fixed;
    top: 10% !important;
}
.reveal-modal.absolute {
    position: absolute;
    margin-bottom: 10%;
}
.float-right {
    float: right;
}
.float-left {
    float: left;
}
.padding-0 {
    padding: 0 !important;
}
.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently not supported by any browser */
}
button, .button {
    background-color: #7dcec8;
    border-radius: 5px;
    font-family: 'Open Sans Condensed', sans-serif;
    padding: 10px 30px;
    font-weight: bold;
}
button.icon-no-margin i, .button.icon-no-margin i {
    margin: 0;
}
.button-group-picker .button.active {
    background-color: #7dcec8 !important;
}
button i, .button i {
    margin-right: 6px;
}
button.no-margin, .button.no-margin {
    margin: 5px 0 0 !important;
}
button.small-margin, .button.small-margin {
    margin: 10px 0 !important;
}
button.gray, .button.gray, .button-group-picker .button {
    background-color: #c5c5c5 !important;
    color: #fff;
    font-size: 1rem;
}
button.red, .button.red, .button-group-picker.red .button {
    background-color: #f17a72 !important;
}
button.red.reversed, .button.red.reversed  {
    background-color: transparent !important;
    color: #f17a72;
    padding: 10px 0;
}
button.red.reversed:hover, button.red.reversed:focus, .button.red.reversed:hover, .button.red.reversed:focus {
    background-color: transparent !important;
    color: #ff0000 !important;
}
button.green, .button.green, .button-group-picker.green .button {
    background-color: #7dcec8 !important;
}
button.green.reversed, .button.green.reversed  {
    background-color: transparent !important;
    color: #7dcec8;
    padding: 10px 0;
}
button.green.reversed:hover, button.green.reversed:focus, .button.green.reversed:hover, .button.green.reversed:focus {
    background-color: transparent !important;
    color: #00ff00 !important;
}
button.small, .button.small {
    padding: 5px 20px !important;
}
button.medium, .button.medium {
    padding: 10px 20px !important;
    font-size: 14px;
}
button.narrow, .button.narrow {
    margin-bottom: 0 !important;
    cursor: pointer;
}
button.narrow i, .button.narrow i {
    margin: 0 !important;
}
button:hover, button:active, button:focus,
.button:hover, .button:active, .button:focus,
.button-group-picker .button:hover {
    background-color: #68aca7 !important;
}
button.red:hover, button.red:active, button.red:focus,
.button.red:hover, .button.red:active, .button.red:focus,
.button-group-picker.red .button:hover, .button-group-picker.red .button:active, .button-group-picker.red .button:focus {
    background-color: #cd6761 !important;
}
button.gray:hover, button.gray:active, button.gray:focus, .button.gray:hover, .button.gray:active, .button.gray:focus {
    background-color: #aaa !important;
}
button:disabled, button:disabled:hover,
.button:disabled, .button:disabled:hover,
button[disabled], button[disabled]:hover,
.button[disabled], .button[disabled]:hover {
    background-color: #a7cace !important;
}
button.red:disabled, button.red:disabled:hover {
    background-color: #f1c9c6 !important;
}
.button-group-picker {
    margin-top: 5px;
}
.brand-red-text {
    color: #f17a72;
}
.brand-blue-text {
    color: #7dcec8;
}
.brand-green-text {
    color: #73ce67;
}
.brand-red-back {
    background-color: #f17a72;
}
.brand-blue-back {
    background-color: #7dcec8;
}
.brand-green-back {
    background-color: #73ce67;
}
.for-print {
    display: none;
}
.tran {
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
#wrapper {
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
}
label {
    color: #666;
    font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
    color: #7dcec8;
    font-weight: bold;
    font-family: 'Open Sans Condensed', sans-serif;
}
h1.red, h2.red, h3.red, h4.red, h5.red, h6.red {
    color: #f17a72;
}
h5, h6 {
    color: #555 !important;
}
a h1:hover {
    color: #68aca7;
}
.input-label {
    line-height: 40px;
    vertical-align: middle;
}
.input-div {
    float: left !important;
}
.input-button {
    margin: 20px auto 0;
}
.form-error {
    color: #f17a72;
    line-height: 35px;
    display: none;
}
@media only screen and (max-width: 40em) {
    .form-error {
        margin-top: -10px;
        margin-bottom: 20px;
        text-align: center;
    }
}
.form-error i {
    font-size: 22px;
    margin-right: 5px;
}
.form-note {
    color: #7dcec8;
    line-height: 22px;
    font-size: 14px;
    vertical-align: middle;
}
.form-note i {
    font-size: 22px;
    margin-right: 5px;
}
.form-edit {
    margin-top: 25px;
    border-top: 1px solid #ccc;
    padding: 15px 0;
}
.form-edit.no-margin {
    margin-top: 0;
}
.form-break {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0 20px;
}
fieldset {
    border-radius: 5px;
    margin-top: 0;
    padding-top: 7px;
    padding-bottom: 7px;
}
fieldset legend {
    font-size: 1.3rem;
    padding: 0 10px;
}
fieldset legend.red {
    color: #f17a72;
}
.h-nav {
    display: flex;
    align-items: center;
}
.h-nav a:not(.button), .h-nav h1 {
    color: #7dcec8;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 2.75em;
    line-height: 60px;
    display: inline-block;
}
.h-nav-buttons {
    margin-left: auto;

}
.h-nav-buttons a {
    line-height: normal;
}
.h-nav-buttons a:hover {
    color: #fff !important;
}
.h-nav h1.red {
    color: #f17a72;
}
.h-nav a:hover {
    color: #68aca7;
}
.sub-h-nav {
    line-height: 70px;
    vertical-align: middle;
    color: #f17a72;
    margin-left: 20px;
}
.delete-icon {
    font-size: 22px !important;
    color: #666 !important;
}
.delete-icon:hover {
    color: #444;
}
.progress, .meter {
    border-radius: 6px !important;
}
.progress {
    height: 35px;
    background-color: #eeeeee;
    border-color: #b2b2b2;
    padding: 0;
    position: relative !important;
}
.meter {
    background-color: #7dcec8 !important;
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
    display: inline-block !important;
}
.meter-full {
    border-bottom-right-radius: 6px !important;
    border-top-right-radius: 6px !important;
    background-color: #f17a72 !important;
    display: inline-block !important;
}
.hours-text {
    line-height: 35px;
    vertical-align: middle;
    position: absolute;
    top: 0;
}
.hours-text:last-of-type {
    right: 10px;
}
.modal-close {
    line-height: 44px;
    vertical-align: middle;
    color: #999;
}
.modal-close:hover {
    color: #777;
}
*:focus {
    outline: 0;
}
.switch-on {
    position: absolute;
    left: -50px;
    top: 8px;
    color: white;
    font-weight: bold;
    font-size: 12px;
}
.switch-off {
    position: absolute;
    left: -25px;
    top: 8px;
    color: white;
    font-weight: bold;
    font-size: 12px;
}
.switch {
    padding: 3px 0 0;
}
.switch label {
    background-color: #ccc;
}
.switch input:disabled + label {
    background-color: #eee;
}
.switch input:checked + label {
    background: #7dcec8;
}
p.lead {
    font-weight: bold;
}
.text-normal {
    font-weight: normal !important;
}
.text-bold {
    font-weight: bold !important;
}
.text-gray {
    color: #777 !important;
}
.text-green {
    color: #7dcec8;
}

.accordion {
    margin-left: 0;
}


/* Pagination */
.pagination {
    display: flex !important;
    justify-content: center;
    padding-top: 10px;
}
ul.pagination li.current a, ul.pagination li.current button {
    background-color: #7dcec8;
}

/* Autocomplete suggestions */
.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
    font-weight: bold;
    font-size: 15px;
}
.autocomplete-suggestion {
    padding: 4px 10px;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}
.autocomplete-suggestion:last-of-type {
    border-bottom: none;
}
.autocomplete-suggestion-vip {
    color: #7dcec8
}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #f17a72; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }
.light-break {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0 10px;
}

/* Tables */
table {
    border: none;
    border-spacing: 0;
    width: 100%;
}
table tr td, table tr th {
    border-bottom: 1px solid #ccc;
    height: 60px;
    font-size: 15px;
    color: #666;
}
table tr th {
    border-bottom: 3px double #ccc;
}
table tr th {
    font-size: 16px;
    color: #333;
}
table tr th.small {
    font-size: 14px;
    height: auto;
}
.table-with-borders td:not(:last-of-type), .table-with-borders th:not(:last-of-type) {
    border-right: 1px solid #ccc !important;
}
table tr:hover > td {
    background-color: #ebebeb;
    cursor: pointer;
}
table th.sortable:hover {
    cursor: pointer;
}
table th.sortable i {
    margin-left: 5px;
}
.table-actions button, .table-actions .button {
    text-align: center;
    padding: 8px 15px !important;
    display: inline-block;
    margin-bottom: 0;
}
.table-actions button i, .table-actions .button i, .button i.no-margin, button i.no-margin  {
    margin: 0 !important;
}
table.no-padding td {
    padding: 5px 2px;
}
table td.no-hover:hover, table td.no-hover tr:hover, table.no-hover:hover tr:hover td, tr.no-hover:hover td {
    background-color: transparent !important;
}
table.sub-table td, table tr.small-cell td {
    height: auto;
    padding: 13px;
}
table td.no-bottom-border {
    border-bottom: none;
}
table td.no-padding {
    padding: 0;
}
table.small-padding td, table.small-padding th {
    padding: 7px 5px !important;
}
table.normal-cursor td, table.normal-cursor th, tr.normal-cursor td {
    cursor: default !important;
}

.profile-pic, .lesson-profile-pic {
    height: 36px;
    width: 36px;
    border-radius: 18px;
    border: 1px solid #666;
    display: inline-block;
}
.profile-avatar, .lesson-profile-avatar {
    height: 36px;
    width: 36px;
    border-radius: 18px;
    border: 3px solid #7dcec8;
    line-height: 30px;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    color: #7dcec8;
    font-size: 13px;
}
.lesson-profile-pic, .lesson-profile-avatar {
    height: 60px;
    width: 60px;
    border-radius: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}
#lesson-advice {
    margin-top: 10px;
    margin-bottom: 15px;
}
.lesson-advice-box {
    background-color: #eeeeee;
    border-radius: 15px;
    min-height: 100px;
    display: inline-block;
    padding: 10px 20px;
    width: 100%;
}
.lesson-advice-box:after {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(238, 238, 238, 0);
    border-right-color: #eee;
    border-width: 16px;
    margin-top: -16px;
    z-index: 0;
}
.lesson-advice-name {
    color: #777;
}
@media only screen and (max-width: 40em) {
    .lesson-advice-box {
        min-height: 200px;
    }
    .lesson-profile-pic, .lesson-profile-avatar {
        margin-top: 70px;
        margin-bottom: 70px;
    }
}
.lesson-advice-text {
    font-size: 1.1em;
    color: #333;
    margin-top: 5px;
}
.lesson-advice-subtext {
    font-size: 1em;
    color: #777;
}
.lesson-drawing img {
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
}
.hidden {
    display: none;
}
.hidden-reg, .hidden-important {
    display: none !important;
}
.table-arrow {
    font-size: 22px;
    color: #888;
}

/* Search row */
#search-row {
    margin: 20px 0;
    padding: 15px 0 0;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}
#search-row.no-margin {
    margin: 0 !important;
}
#search-row.no-top-border {
    border-top: none;
}
#search-row.no-bottom-border {
    border-bottom: none;
}

.input-button-search {
    padding: 4px 15px 6px;
    margin-top: 0px;
    background-color: #eee;
    border: 1px solid #999;
    border-left: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    color: #333;
    font-size: 20px;
    height: 40px;
}
.input-search {
    border-radius: 0px !important;
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
    border-right: none !important;
}

/* Add row */
#add-row {
    margin: 0 0 20px;
    padding: 15px 0 0;
}
#add-row div {
    line-height: 70px;
    vertical-align: middle;
}

/* Footer */
footer {
    margin: 25px 0;
    background-color: #2a3644;
    border-radius: 8px;
    color: white;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
}
footer div {
    font-family: 'Open Sans Condensed', sans-serif !important;
    padding: 12px 20px;
}
@media only screen and (max-width: 40em) {
    footer div {
        padding: 12px 20px;
    }
}
footer div#logo {
    font-family: 'Open Sans Condensed', sans-serif !important;
    padding: 0px 0px;
}
footer div a {
    color: #fff;
}
footer div a:hover {
    color: #7dcec8;
}
footer #footer-logo {
    display: inline-block;
    background: url('../img/logo_foora.png');
    background-size: 120px 32.5px;
    width: 120px;
    height: 42.5px;
    margin-left: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Cookies */
#cookies {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    text-align: center;
    background-color: #404a57;
    color: #fff;
    font-size: 0.9em;
}
#cookies-agree {
    margin-left: 10px;
    color: #afb7cc;
}
#cookies-agree:hover {
    color: #c6c6cc;
}

/* Mobile sidenav */
aside.mobile-nav {
    background: #2a3644;
}
.mobile-nav-icon {
    color: #fff;
    font-size: 23px;
    display: block;
    transition: 0.5s ease;
}
.mobile-nav-icon:focus, .mobile-nav-icon:active {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    color: #fff;
}
aside.mobile-nav {
    padding: 20px 0 0;
    list-style-type: none;
}
aside.mobile-nav ul {
    margin: 0;
}
aside.mobile-nav ul li {
    border-bottom: 1px solid #404a57;
    list-style-type: none;
}
aside.mobile-nav ul li a {
    padding: 14px 20px;
    color: #fff;
    display: block;
}
aside.mobile-nav ul li span {
    margin-left: 10px;
}
aside.mobile-nav ul li:last-of-type {
    border-bottom: none;
}

/* Sidenav */
nav#side-nav {
    background-color: #2a3644;
    border-bottom-left-radius: 8px;
    padding: 0 !important;
    align-items: stretch;
}

nav#side-nav ul {
    margin: 0px 0 100px;
    list-style-type: none;
    width: 100%;
}
nav#side-nav ul li {
    border-bottom: 1px solid #404a57;
}
nav#side-nav ul li a {
    padding: 14px 20px;
    color: #fff;
    display: block;
}
nav#side-nav ul li a.active {
    background-color: #7dcec8;
}
nav#side-nav ul li a.active:hover {
    background-color: #68aca7;
}
nav#side-nav ul li a:last-of-type {
    border-bottom: none;
}
nav#side-nav ul li a:hover {
    background-color: #404a57;
}
nav#side-nav ul li a span {
    line-height: 36px;
    vertical-align: middle;
    margin-left: 10px;
    font-size: 18px;
}
#unlock-nav {
    background-color: #7dcec8;
    font-size: 1.5em;
    display: block !important;
    text-align: center;
}
#unlock-nav a {
    color: #fff;
    padding: 10px 15px;
}
#unlock-nav i {
    margin-right: 10px;
}
.nav-caret {
    float: right;
}
.subnav {
    background-color: #6db4af;
}
.subnav ul {
    margin: 0 !important;
    padding: 0;
}
.subnav ul li a {
    color: #fff;
    padding: 10px 20px 10px 30px !important;
    font-weight: normal;
    font-size: 17px;
}
.subnav ul li.active a {
    font-weight: bold;
    background-color: #65A7A2 !important;
}

.subnav ul li:hover a {
    background-color: #69AEA9 !important;
}

.subnav ul li:not(:last-of-type) {
    border-bottom: 1px solid #69AEA9 !important;
}

/* Main container */
main#container {
    background-color: #fff;
    border-bottom-right-radius: 8px;
    padding: 15px 25px;
    align-items: stretch;
}

/* Main dashboard container */
#dash-main {
    min-height: 300px;
    background-color: #fff;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    padding: 30px 100px 50px;
}
@media only screen and (max-width: 40em) {
    #dash-main {
        padding: 5px 30px 50px;
    }
    #dash-main .dash-element .dash-candidate-navtext {
        float: left;
    }
    #dash-main .dash-element .dash-candidate-navtext span {
        margin-top: 15px;
        text-align: left;
    }
}
#dash-main .columns {
    float: left !important;
}
#dash-main .dash-element {
    margin: 20px 0 0;
    display: block;
    background-color: #7dcec8;
    text-align: center;
    border-radius: 8px;
    padding: 20px;
    color: #fff;
    font-size: 20px;
}
#dash-main .dash-element:hover {
    background-color: #68aca7;
}
#dash-main .dash-element img {
    display: block;
    margin: 0 auto;
}
#dash-main .dash-element span {
    margin-top: 20px;
    display: block;
}

/* Topbar */
header {
    width: 100%;
    height: 70px;
    background-color: #f17a72;
    padding: 10px;
    z-index: 50;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
}
header #header-logo a {
    display: inline-block;
    background: url('../img/logo_foora.png');
    background-size: 120px 32.5px;
    width: 120px;
    height: 32.5px;
    padding: 24px;
    margin-left: 0;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 40;
}

header #header-logo a.pro {
    /*use this class if we want a pro logo in the future */

    /*display: inline-block;*/
    /*background: url('../img/logo_foora_pro.png');*/
    /*background-size: 189px 40px;*/
    /*width: 189px;*/
    /*height: 40px;*/
    /*padding: 5px;*/
}
@media only screen and (max-width: 40em) {
    header #header-logo a.pro {
        /*background-size: 135px 30px;*/
        /*width: 135px;*/
        /*height: 30px;*/
        /*padding: 5px;*/
        /*margin-top: 5px;*/
    }
}
header #header-nopic {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border: 3px solid #fff;
    display: inline-block;
    line-height: 37px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
}
header #header-pic {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border: 3px solid #fff;
    display: inline-block;
    background-size: cover;
    background-position: center;
}
header #header-name {
    height: 40px;
    line-height: 1;
    vertical-align: middle;
    color: #fff;
    margin-left: 5px;
    display: inline-block;
}
header #header-profile {
    cursor: pointer;
}
#profile-drop {
    margin-top: 15px;
    border-radius: 5px;
    background-color: #2a3644;
    color: #fff;
}
#profile-drop:focus {
    outline: none;
}

/* Login */
#login {
    margin-top: 20%;
    border-radius: 8px;
}
#login header {
    position: relative;
    height: 55px;
    background-color: #f17a72;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 10px;
}
#login header .logo {
    display: inline-block;
    background-image: url('../img/logo_foora.png');
    background-size: 129px 35px;
    width: 129px;
    height: 35px;
}
#login header .login {
    float: right;
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
    color: #fff;
    margin-right: 10px;
}
.login-container {
    position: relative;
    height: auto;
    padding: 25px 40px 15px;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    margin-bottom: 10px;
}
#login form {

}
#login form input {
    margin-top: 5px;
}
#login form label {
    cursor: default;
}
#login .login-error {
    padding: 10px;
    background-color: #C43E35;
    color: #fff;
}
.login-links a {
    font-size: 0.9em;
    color: #f17a72;
}
.login-links a:hover {
    color: #cd6761;
}

/* Vahicles list */
span.car-color {
    height: 30px;
    width: 30px;
    border-radius: 15px;
    border: 1px solid #666;
    display: block;
}
div#color-boxes {
    line-height: 40px;
    vertical-align: middle;
}
.color-box {
    height: 20px;
    width: 20px;
    margin: 0 5px;
    border: 1px solid #ccc;
    display: inline-block;
    line-height: 30px;
    border-radius: 10px;
    vertical-align: middle;
    cursor: pointer;
}
.color-box.active, .color-box:hover {
    height: 30px;
    width: 30px;
    margin: 0;
    border-radius: 15px;
}
#vehi-pic {
    margin-top: 10px;
    padding-bottom: 0;
}
.form-pic img {
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .30);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .30);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .30);
    height: 100px;
    float: right;
}

/* Users list */
.users-circle {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
    color: white;
    display: inline-block;
    margin-right: 5px;
    font-size: 14px;
}
.users-true-circle {
    background-color: #690;
}
.users-false-circle {
    background-color: #f17a72;
}
.users-instructor-circle {
    background-color: #33b5e5;
}
.users-admin-circle {
    background-color: #aa66cc;
}
.users-multi-circle {
    background-color: #690;
}

/* Candidate profile */
#hours-table, #hours-table tr, #hours-table td {
    cursor: default;
}
#profile-card {
    padding-top: 20px;
}
#profile-card .profile-title, #profile-card .profile-data {
    line-height: 1.9;
}
.profile-data, .drv-data {
    color: #888;
}
.profile-initials {
    height: 120px;
    width: 120px;
    border-radius: 60px;
    border: 7px solid #7dcec8;
    line-height: 110px;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    color: #7dcec8;
    font-size: 40px;
}
#profile-hours {
    margin-top: 40px;
    margin-bottom: 20px;
}
#profile-hours.candidate-profile {
    margin-top: 30px;
    margin-bottom: 30px;
}
#candidate-invoices-container {
    margin-left: 1rem;
    padding-left: 1rem;
    margin-right: 1rem;
    padding-right: 1rem;
}
#candidate-invoices-container .invoice-head {
    border-bottom: 1px solid #ccc;
    color: #000;
    padding-top: 10px;
    padding-bottom: 10px;
}
#candidate-invoices-container .invoice-item {
    border-bottom: 1px solid #ddd;
    color: #333;
    padding-top: 10px;
    padding-bottom: 10px;
}

.candidate-dash-account {}
@media only screen and (max-width: 40em) {
    #profile-hours {
        margin-top: 20px;
    }
    .candidate-dash-account {
        margin-top: 20px;
    }
}
.lesson-sub-heading {
    color: #2a3644;
}
.lesson-mistakes-layout {
    border-right: 1px solid #999;
    /*min-height: 80px;*/
}
.lesson-theory-item {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}
.lesson-break {
    width: 100%;
    height: 1px;
    background-color: #999;
    margin: 10px 0 20px;
    display: inline-block;
}
.common-mistakes-item, .mistakes-layout {
    color: #777;
    font-size: 14px;
    line-height: 25px;
    vertical-align: middle;
    padding-bottom: 5px !important;
    margin: 5px 10px 0 !important;
}
.common-mistakes-item {
    border-bottom: 1px solid #ccc;
}
.common-mistakes-item:last-of-type {
    border-bottom: 0 none;
}
.common-mistakes-item img {
    height: 25px;
}
.exam-mistake-item {
    margin-left: -5px !important;
    margin-right: -5px !important;
}
.common-mistakes-heading {
    /*margin-bottom: 7px !important;
    margin-top: 15px !important;*/
    color: #222;
    margin: 15px 10px 7px !important;
}
.done-color {
    color: #7dcec8;
}
.notdone-color {
    color: #f17a72;
}
#profile-headings {

}
@media only screen and (max-width: 40em) {
    .page-break {
        margin-top: 15px !important;
        margin-bottom: 10px !important;
    }
    #profile-headings a {
        margin-bottom: 0;
        margin-top: 6px;
        bottom: 0 !important;
    }
    .profile-candidate-data {
        margin-top: 20px;
    }
    #profile-card-name {
        margin-top: 10px;
        font-size: 1.3em;
        color: #7dcec8;
    }
}
.sticky-candidate-nav {
    margin: -15px -25px 0;
    height: 50px;
    background-color: #404a57;
}
.sticky-candidate-nav.fixed {
    margin: 0 0 0 -25px;
    left: auto !important;
    min-width: 0;
}
.sticky-candidate-nav .sub-nav {
    overflow: visible;
}
.sticky-candidate-nav .active a {
    background: #7dcec8 !important;
}
.sticky-candidate-nav .active a:hover {
    color: #fff !important;
}
.sticky-candidate-nav a {
    font-family: 'Open Sans Condensed', sans-serif;
    color: #fff !important;
}
.sticky-candidate-nav a:hover {
    color: #7dcec8 !important;
}
.profile-container small {
    font-size: 80%;
    margin-bottom: -5px;
    color: #888;
    display: block;
}
.profile-container p.lead {
    margin-bottom: 0.4rem;
}
.profile-container p.lead i {
    font-size: 80%;
    min-width: 16px;
    text-align: center;
    margin-right: 4px;
}

/* DRV */
.drv-type-icon {
    font-size: 1.2em;
}
#drv-wrapper, #candidate-wrapper {
    padding-bottom: 40px;
}
.drv-card {
    padding: 0;
}
.drv-license {
    color: #7dcec8;
}
.drv-heading, .subheading {
    color: #f17a72;
    font-size: 1.5em;
    line-height: 2;
    margin-top: -10px;
    margin-bottom: 10px;
}
.drv-title, .drv-data {
    line-height: 1.9;
}
.drv-break, .page-break {
    width: 100%;
    height: 1px;
    background-color: #999;
    margin: 20px 0 20px;
}
.page-break.small {
    margin: 10px 0 20px;
}
.page-break.tiny {
    margin: 5px 0 10px;
}
.page-break.light {
    background-color: #ccc;
}
.page-break.almost-feather-like {
    background-color: #ddd;
}
.page-break.feather-like {
    background-color: #eee;
}
.drv-km {
    color: #888;
}
.drv-items-heading, .lessons-items-heading {
    padding: 10px 0;
}
.drv-item, .lesson_item, .exam-item {
    border-top: 1px solid #ccc;
    padding: 10px 0;
}
.drv-item.active, .lesson_item.active, .exam-item.active {
    background-color: #2a3644;
    color: #fff;
}
.drv-item:hover, .lesson_item:hover, .exam-item:hover {
    background-color: #eee;
    cursor: pointer;
}
.drv-item.active:hover, .lesson_item.active:hover, .exam-item.active:hover {
    background-color: #38485a;
    color: #fff;
}
.drv-item-data {
    background-color: #eee;
    padding: 30px;
    line-height: 1.7;
    position: relative;
}
.drv-item-data.hidden {
    display: none;
}
.drv-item-data a {
    color: #68aca7;
}
.drv-item-data a:hover {
    color: #7dcec8;
}
.arrow-down {
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #2a3644;
    position: absolute;
    top: 0;
}
.drv-vehicle-box {
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: 7px !important;
    margin-bottom: 7px !important;
}
.drv-vehicle-box div {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.drv-item-arrow, .exam-item-arrow {
    margin-right: 8px;
}
.drv-heading-arrow {
    margin-left: 8px;
}
#drv-none, .lesson-none, .error-msg {
    font-size: 1.2em;
    color: #f17a72;
    margin-top: 30px;
    margin-bottom: 30px;
    display: none;
}
#drv-none i, .lesson-none i, .error-msg i {
    font-size: 7em;
    margin-bottom: 30px;
}
.error-msg {
    display: block;
}
.lesson-none {
    display: block;
    color: #7dcec8;
    margin-top: 30px !important;
}
#instructor-spinner {
    margin-bottom: 16px;
    height: 40px;
    padding-left: 0;

    display: flex;
    align-items: center;
}
#instructor-spinner i {
    font-size: 24px;
    display: none;
}
/* DRV icons */
.drv-item .icon-lesson {
    height: 24px;
    width: 24px;
    display: inline-block;
    background-size: 24px;
}
.drv-item .icon-exam-lesson {
    background-image: url('/templates/img/ikona_izpitna_ura_dark.png');
}
.drv-item.active .icon-exam-lesson {
    background-image: url('/templates/img/ikona_izpitna_ura.png');
}
.drv-item .icon-normal-lesson {
    background-image: url('/templates/img/ikona_navadna_ura_dark.png');
}
.drv-item.active .icon-normal-lesson {
    background-image: url('/templates/img/ikona_navadna_ura.png');
}
.drv-item .icon-waiting-lesson {
    background-image: url('/templates/img/ikona_cakalna_ura_dark.png');
}
.drv-item.active .icon-waiting-lesson {
    background-image: url('/templates/img/ikona_cakalna_ura.png');
}
.drv-item .icon-double-lesson {
    background-image: url('/templates/img/ikona_dvojna_ura_dark.png');
}
.drv-item.active .icon-double-lesson {
    background-image: url('/templates/img/ikona_dvojna_ura.png');
}
.map-row {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #999;
}
.table-date {
    opacity: 0.8;
}
.table-date:hover td{
    background-color: #fff !important;
    cursor: default !important;
}
.table-date td {
    background: url('/templates/img/red_dot.png') repeat-x left;
    height: 25px;
    height: 25px;
    text-align: center;
    border-bottom: none;
}
.table-date span {
    background: #fff;
    padding: 0 5px;
    color: #ec7c71;
    font-size: 0.9em;
}
.table-drv-row td {
    border-top: 1px solid #ccc;
    border-bottom: none;
}
.table-date + .table-drv-row td {
    border: none;
}
.table-drv-header th {
    border: none;
}
.vehicle-km-form {
    margin-top: 25px;
}
.vehicle-km-form label {
    text-align: left;
}

/* Contact */
.contact-row {
    margin-top: 30px !important;
}
.contact-data {
    line-height: 1.8;
    margin-top: 10px;
}
.contact-data a {
    color: #333;
}
.contact-data a:hover {
    color: #666;
}
.contact-data img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 20px auto 10px;
    border: 1px solid #ddd;
}

.delete-icon a {
    font-size: 26px !important;
    color: #666 !important;
    padding-right: 30px;
}
.delete-icon a:hover {
    color: #444;
}

/* Overview */
.overview-layout {
    border-top: 1px solid #9a9a9a;
    padding-top: 20px;
    margin-top: 20px !important;
}
.stat-column {
    padding-left: 2em;
}
.stat-row > .columns {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
.stat-row > .columns:first-of-type {
    padding-left: 0.5rem;
}
.stat-row > .columns:last-of-type {
    padding-right: 0.5rem;
}
#overview-tiles {
    margin-bottom: 2rem;
}
.overview-card {
    border-radius: 5px;
    background-color: #7dcec8;
    color: #fff;
    padding-top: 1.5em;
    padding-bottom: 3em;
    position: relative;
    cursor: pointer;
}
.overview-card.active:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(236, 124, 113, 0);
    border-top-color: #7dcec8;
    border-width: 20px;
    margin-left: -20px;
}
.overview-card.red {
    background-color: #ec7c71;
}
.overview-card.red.active:after {
    border-top-color: #ec7c71;
}
.overview-card .icon-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.overview-card i {
    color: rgba(255,255,255,0.15);
    font-size: 6vw;
}
.overview-card .hint {
    position: absolute;
    font-size: 12px;
    text-align: center;
    width: 100%;
    bottom: 7px;
}
.overview-card .data {
    font-size: 4em;
    margin-bottom: -15px;
}
#overview-warnings .accordion li a i {
    width: 16px;
    text-align: center;
}
.overview-content:not(.active) {
    display: none;
}
.send-notice button {
    text-align: center;
    padding: 5px 10px !important;
    display: block;
    margin-bottom: 0;
    float: right;
}
.send-notice button i {
    margin: 0 !important;
}
.warning-count {
    float: right;
}
.instructor-row th {
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #ccc;
    background-color: #f5f5f5;
}

.instructor-row:hover {
    cursor: pointer;
}

.notifications-column {
    /*border-right: 1px solid #9a9a9a;*/
}
.notification-item {
    border-bottom: 1px solid #9a9a9a;
    padding: 1em 2em 1em 1em;
}
.notification-item:last-of-type {
    border-bottom: 0 none;
}
.notification-item:first-of-type {
    padding-top: 0.2em;
}
.notifications-text {
    color: #888;
    padding-left: 1em;
    line-height: 1.7;
    font-size: 1em;
}
.notifications-text a {
    color: #7dcec8;
}
.notifications-text a:hover {
    color: #68aca7;
}
.notifications-text span {
    color: #ec7c71;
}
.notification-hide {
    color: #9a9a9a;
    cursor: pointer;
}
.notification-hide:hover {
    color: #999;
}
.show-hidden, .hide-hidden {
    margin-top: 5px;
    color: #999;
    font-size: 0.9em;
}
.show-hidden:hover, .hide-hidden:hover {
    color: #777;
    cursor: pointer;
}
.notification-hidden {
    display: none;
    background-color: #eee;
    height: 27px;
}


.warning-title {
    font-size: 1.3em;
    line-height: 1.5;
    vertical-align: middle;
    color: #ec7c71;
    margin-bottom: 10px;
}
.warning-icon {
    margin-right: 10px;
    font-size: 1.5em !important;
}

/* Candidate dash */
.candidate-dash {
    border-bottom: 1px solid #bbb;
    padding-bottom: 20px;
}
.candidate-dash-data {
    margin-top: 20px !important;
}
.candidate-dash-mistakes {
    border-right: 1px solid #bbb;
    min-height: 260px;
}
.candidate-dash-mistake-item, .candidate-mistake-item {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
    color: #444;
    font-size: 0.9em;
    line-height: 23px;
}
.practice-lesson-item {
    font-size: 1em;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: none;
    color: #777;
    border-bottom: 1px solid #ddd;
    min-height: 40px;
    line-height: 40px;
}
.practice-lesson-item .practice-title {
    line-height: 50px;
    height: 50px;
}
.practice-lesson-item .practice-title span {
    line-height: 1.5;
    display: inline-block;
}
.practice-lesson-item .icon-practice {
    height: 50px;
    line-height: 50px;
    padding-top: 5px;
}
.practice-lesson-item:last-of-type {
    border-bottom: none;
}
.stat-bar-minus {
    padding-right: 0 !important;
}
.stat-bar-plus {
    padding-left: 0 !important;
}
.stat-bar-minus .stat-display {
    background: #ec7c71;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 25px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
.stat-bar-plus .stat-display {
    background: #4fc02c;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 25px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}
@media only screen and (min-width: 40.063em) {
    .practice-lesson-item:nth-of-type(2n - 1) {
        border-right: 1px solid #ddd;
    }
    .practice-lesson-item:nth-last-of-type(2) {
        border-bottom: none;
    }
}

/*.practice-lesson-item div {
    background: url('/templates/img/gray_dot.png') repeat-x left;
}
.practice-lesson-item div span {
    background: #fff;
    padding: 10px;
}*/
.candidate-dash-mistake-item:last-of-type, .candidate-mistake-item:last-of-type, .practice-lesson-item:last-of-type {
    border-bottom: 0px none;
}
.candidate-dash-mistake-item .mistake-category, .candidate-mistake-item .mistake-category {
    display: block;
    font-size: 0.8em;
    color: #777;
}
.candidate-dash-mistake-item .mistake-pic {
    line-height: 46px;
    vertical-align: middle;
}
.candidate-dash-mistake-item .mistake-pic img {
    height: 30px;
}
.candidate-mistake-item {
    line-height: 17px;
    padding-top: 7px;
    padding-bottom: 7px;
}
.candidate-mistake-item img {
    line-height: 34px;
    height: 34px;
}
@media only screen and (max-width: 40em) {
    .candidate-dash-mistakes {
        border-right: none;
    }
}

/* Candidates list */
#candidates-order {
    margin-left: 10px;
    cursor: pointer;
}
#candidates-order:hover {
    color: #666;
}

/* Help bubble */
#help-wrapper {
    background-color: #fff;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    text-align: center;
    padding: 20px;
    border-radius: 7px;
    line-height: 2;
}
#help-wrapper a {
    color: #7dcec8;
}
#help-wrapper a:hover {
    color: #68aca7;
}
#help-wrapper p {
    margin-bottom: 0.7em;
}
@media only screen and (max-width: 86em) {
    #help-wrapper {
        display: none !important;
    }
}
@media only screen and (min-width: 86.063em) and (max-width: 90em) {
    #help-wrapper {
        width: 200px !important;
        bottom: 10px !important;
        right: 10px !important;
    }
}
@media only screen and (min-width: 90.063em) and (max-width: 119.88em) {
    #help-wrapper {
        max-width: 200px !important;
    }
}
@media only screen and (min-width: 119.90em) {
    #help-wrapper {
        width: 300px !important;
    }
}

/* Support bubble */
#support-wrapper {
    background-color: #fff;
    position: fixed;
    top: 90px;
    right: 20px;
    width: 200px;
    text-align: center;
    padding: 20px;
    border-radius: 7px;
}
#support-wrapper a {
    color: #7dcec8;
}
#support-wrapper a:hover {
    color: #68aca7;
}
#support-wrapper p {
    margin-bottom: 0.7em;
}
@media only screen and (max-width: 86em) {
    #support-wrapper {
        display: none !important;
    }
}
@media only screen and (min-width: 86.063em) and (max-width: 90em) {
    #support-wrapper {
        width: 200px !important;
        right: 10px !important;
    }
}
@media only screen and (min-width: 90.063em) and (max-width: 119.88em) {
    #support-wrapper {
        max-width: 200px !important;
    }
}
@media only screen and (min-width: 119.90em) {
    #support-wrapper {
        width: 300px !important;
    }
}

.labels-cat:last-of-type {
    position: absolute;
}


/* Lesson overview */
#map-canvas {
    height: 400px;
}
#map-canvas img {
    max-width: none;
}
.lesson-overview-map {
    margin-top: 20px;
    padding-top: 20px;
    /*border-top: 1px solid #ccc;*/
    height: 440px;
}
#sidenav-lessons, #sidenav-theory, #sidenav-mobile-lessons, #sidenav-mobile-theory {
    padding: 10px;
    margin: 0;
    background-color: #6db4af;
    overflow: hidden;
}
#sidenav-mobile-lessons {
    padding: 10px 20px;
}
#sidenav-theory {
    padding: 0;
}
#sidenav-lessons .columns, #sidenav-theory .li, #sidenav-mobile-lessons .columns, #sidenav-mobile-theory li {
    padding: 0 !important;
    display: inline-block;
    float: left;
}
#sidenav-lessons .columns a, #sidenav-mobile-lessons .columns a, #sidenav-mobile-theory li a {
    text-align: center;
    height: 44px;
    width: 44px;
    line-height: 44px;
    border-radius: 10px;
    vertical-align: middle;
    padding: 0;
    margin: 0 auto;
}
#sidenav-lessons .columns a.block-hour, #sidenav-mobile-lessons .columns a.block-hour, #sidenav-mobile-theory li a.block-hour {
    width: auto !important;
}
#sidenav-mobile-lessons .columns a  {
    display: block;
    color: #fff;
}
#sidenav-mobile-theory li {
    display: block;
    width: 100%;
    text-align: center;
}
#sidenav-mobile-theory li a {
    color: #fff;
}
#sidenav-theory li {
    border-bottom: 1px solid #5C9995 !important;
}
#sidenav-theory li:last-of-type {
    border-bottom: 0 none !important;
}
#sidenav-theory li:hover {
    background-color: #fff;
}
#sidenav-lessons .columns a:hover, #sidenav-lessons .columns a.active, #sidenav-lessons .columns a.active:hover,
#sidenav-mobile-lessons .columns a:hover, #sidenav-mobile-lessons .columns a.active, #sidenav-mobile-lessons .columns a.active:hover,
#sidenav-mobile-theory li a:hover, #sidenav-mobile-theory li a.active, #sidenav-mobile-theory li a.active:hover {
    color: #538985;
    background-color: #fff !important;
}
#sidenav-theory li.active {
    background-color: #538985 !important;
}
#sidenav-theory li.active a {
    color: #fff;
}
#sidenav-theory li a:hover, #sidenav-theory li.active a:hover {
    color: #fff;
    background-color: #538985 !important;
}
.empty_map {
    background-size: contain;
    min-height: 400px;
    background: url('/templates/img/map_empty.png') no-repeat center;
    line-height: 400px;
    text-align: center;
}
.empty_map span {
    font-size: 1.5em;
    color: #f17a72;
    text-align: center;
    text-shadow: 1px 2px 1px rgba(0,0,0,0.5);
}
.lesson-box {
    border-radius: 5px;
    background-color: #7dcec8;
    color: #fff;
    text-align: center;
    padding-bottom: 1em;
}
.lesson-box .data {
    font-size: 3.8em;
    line-height: 100px;
    height: 100px;
}
.lesson-data-box {
    float: right;
    color: #ec7c71;
    position: relative;
    right: 0;
    font-size: 1.2em;
    line-height: 50px;
    padding-top: 20px;
}
.lesson-data-box i {
    margin-right: 5px;
    margin-left: 30px;
}
.lesson-data-box i:first-of-type {
    margin-left: 0;
}
@media only screen and (max-width: 40em) {
    .lesson-data-box {
        text-align: center;
        width: 100%;
        padding-top: 0;
    }
    .mobile-title {
        text-align: center;
    }
    .lesson-box {
        margin-bottom: 20px;
    }
}
.lesson-mistake-marker {
    color: #fff;
    font-size: 15px;
    width: 30px;
    height: 35px;
    padding-top: 2px;
    text-align: center;
    background-image: url('../img/pointer.png');
}
.lesson-mistake-item {
    float: left !important;
    border-bottom: 1px solid #ccc;
}
.lesson-mistake-name {
    text-overflow: ellipsis;
    overflow: hidden;
}
/*.lesson-mistake-item:nth-child(2n+1) {
    border-right: 1px solid #ccc;
}*/
.lesson-mistake-item:last-of-type {
    border: 0 none;
}
.lesson-mistake-item .mistake-pic {
    text-align: center;
    border-left: 1px solid #ccc;
    padding-left: 10px;
    padding-right: 0;
}
.nav-lesson-exam {
    background-color: #ec7c71;
    height: 12px;
    width: 12px;
    border-radius: 6px;
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: -20px;
}
.nav-lesson-locked {
    background-color: #ec7c71;
    height: 14px;
    width: 14px;
    border-radius: 7px;
    position: absolute;
    bottom: 2px;
    right: 50%;
    margin-right: -20px;
    line-height: 14px;
    font-size: 10px;
    color: #fff;
}
.nav-lesson-locked-opacity {
    opacity: 0.6;
}
.nav-lesson-unlocked {
    background-color: #73ce67;
    height: 14px;
    width: 14px;
    border-radius: 7px;
    position: absolute;
    bottom: 2px;
    right: 50%;
    margin-right: -20px;
    line-height: 14px;
    font-size: 10px;
    color: #fff;
}
.lesson-block {
    margin-right: -50px !important;
}
#lesson-mobile-menu, #theory-mobile-menu {
    background-color: #2a3644;
    color: #fff;
    padding: 15px;
}
#lesson-mobile-nav, #theory-mobile-nav {
    margin: -15px -25px 20px;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
}
#lesson-mobile-list, #theory-mobile-list {
    padding: 0;
}
#lesson-mobile-list #sidenav-mobile-lessons {

}

.modal-p {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Form notes (errors) */
.input-note {
    background-color: transparent !important;
    margin-top: -10px !important;
    color: #666 !important;
    margin-bottom: 0.5rem !important;
    text-align: right;
    display: none;
}
.input-note.input-error {
    color: #ec7c71 !important;
}

/* Theory tabs */
.theory-tab-holder {
    margin-top: 15px;
}
.theory-tab {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    cursor: pointer !important;
}
.theory-tab a {
    font-family: 'Open Sans Condensed', sans-serif !important;
}
.theory-tab:last-of-type {
    border-right: 1px solid #ccc;
}
.theory-tab:not(.active) {
    border-bottom: 1px solid #ccc;
}
.theory-tab:focus, .theory-tab:focus{
    outline: 0;
}
.theory-item {
    border-radius: 10px;
    padding: 20px 0 40px;
    background-color: #fff;
    margin-bottom: 20px !important;
}
.theory-item:nth-child(2n) {
    background-color: #eee;
    margin-bottom: 40px !important;
}
.theory-item-advice {
    padding: 10px 0 10px;
}
.theory-item strong {
    color: #7dcec8;
    margin-right: 8px;
}
.theory-advice {
    border: 2px solid #ec7c71;
    border-radius: 8px;
    margin: 0;
    padding: 15px;
    width: 100%;
    color: #ec7c71;
}
.theory-advice legend {
    font-size: 1.4em;
}

/* Instructor overview */
.instructor-overview {
    line-height: 1.7em;
}

.instructor-overview.weekend {
    background-color: #dddddd;
}

.instructor-overview.missing {
    background-color: #f17a72;
}

.instructor-overview.holiday {
    background-color: #7dcec8;
}

.instructor-overview td {
    width: 16.6666%;
    padding: 5px 10px;
    height: 50px;
}
.instructor-overview.title {


}
.instructor-overview.title td {
    border-bottom: 1px solid #999;
    color: #222;

}
.instructor-overview.data td {
    border-bottom: 1px solid #ccc;
    color: #666;
}

/* Sales */
#sales-text {
    margin-top: 25px;
}
#sales-text div div:first-of-type {
    font-weight: 500;
    font-size: 1.3em;
    margin-bottom: 10px;
}
#sales-text div div {
    margin-bottom: 25px;
}

/* Ordering */
#order-bar {
    margin: 20px 0 0;
    background-color: #ec7c71;
    border-radius: 7px;
    color: #fff;
    padding: 10px;
    display: block;
}
#order-bar div {
    height: 45px;
    line-height: 45px;
}
#order-bar div span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5;
}
@media only screen and (max-width: 40em) {
    #order-bar div {
        height: 105px;
        line-height: 105px;
    }
}
#order-breadcrumbs {
    margin: 20px 0;
    border-bottom: 1px solid #ccc;
}
#order-breadcrumbs .breadcrumbs {
    background: none;
    border: none;
}
#order-breadcrumbs .breadcrumbs > *:before {
    font-family: FontAwesome;
    content: "\f054";
    margin-right: 25px;
    color: #777;
}
#order-breadcrumbs .breadcrumbs:first-of-type > *:first-of-type:before {
    content: "";
    margin-right: 0;
}
.breadcrumbs > * {
    font-size: 1em !important;
    margin-left: 25px;
    text-transform: none;
}
.breadcrumbs > *:first-of-type {
    margin-left: 0;
}
#order-breadcrumbs .breadcrumbs a {
    color: #777;
}
#order-breadcrumbs .breadcrumbs *.active a {
    color: #f17a72;
}
#order-breadcrumbs .breadcrumbs > *:hover a, #order-breadcrumbs .breadcrumbs > *:focus a {
    color: #999;
    text-decoration: none;
}
#sales-image {
    margin-top: -60px;
}
@media only screen and (max-width: 40em) {
    #sales-image {
        margin-top: 10px;
    }
    #order-button {
        text-align: center;
    }
}
#sales-table {
    margin-top: 25px;
}
#sales-table .header {
    line-height: 48px;
    font-size: 1.4em;
    font-weight: normal;
}
#sales-table .header:nth-of-type(2), #sales-table .header:nth-of-type(3) {
    text-align: center;
}
#sales-table .header:nth-of-type(2) {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
#sales-table .button {
    margin-top: 15px;
    margin-bottom: 0;
}
#sales-table tr td {
    cursor: default;
}
#sales-table tr td:nth-of-type(2), #sales-table tr td:nth-of-type(3) {
    text-align: center;
    width: 30%;
}
#sales-table tr td:nth-of-type(2) {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
#sales-table tr:last-of-type td {
    font-size: 1.3em;
    height:auto;
    border-bottom: none;
    color: #333;
}
#sales-table tr:last-of-type:hover td {
    background-color: transparent;
}
#sales-table tr td:first-of-type {
    font-size: 1em;
    color: #333;
}
#order-discount {
    color: #fff;
    position: absolute;
    bottom: 8.5%;
    left: 26%;
    font-size: 14px !important;
}
#sales-table div:nth-of-type(3n) {
    background-color: #eee;
}

.foora-pro-table {
    background-color: #FFFFFF;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 25px;
}
.foora-pro-table tr {
    border: none;
}
.foora-pro-table tr:nth-child(even) { 
    background-color: #F8F8F8; 
} 
.foora-pro-table th {
    border: none;
    text-align: center;
}
.foora-pro-table td {
    border: none;
    text-align: center;
}

/* Front page */
#front-main {
    background-color: #fff;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 15px 25px;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
}
#front-main p {
    font-size: 16px;
    line-height: 1.65;
    font-family: 'Open Sans', sans-serif;
    margin-top: 20px;
}
#front-main p a {
    color: #f17a72;
}
#front-main p a:hover {
    color: #c2665d;
}
#front-main p:first-of-type {
    margin-top: 40px;
}
#front-register {
    background-color: #f17a72;
    border-radius: 7px;
    padding: 60px 20px 0;
    margin-top: -112px;
}
#front-register-pic {
    margin-top: -60px;
    margin-bottom: 0;
}
@media only screen and (max-width: 40em) {
    #front-register-pic {
        margin-top: 10px;
        margin-bottom: 0;
    }
}

#front-register h4 {
    color: #fff;
}
#front-register a {
    margin-top: 15px;
}
.front-school {
    margin-top: 10px;
    margin-bottom: 10px;
}
.front-school a {
    background-color: #e9e9e9;
    padding: 10px 5px;
    border-radius: 5px;
    display: block;
    color: #333;
}
.front-school a:hover {
    background-color: #d9d9d9;
}
.front-box-container .front-box {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    margin-right: 10px;
    margin-left: 10px;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    height: 100%;
}
.front-box-container .front-box p {
    font-family: 'Open Sans', sans-serif;
    color: #666;
    font-size: 14px;
    line-height: 1.65;
}
.front-box-container .front-box span {
    text-align: center;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
}
.front-box-container .front-box span img {
    border-radius: 5px;
}
.front-box-container {
    margin-top: 20px;
    padding: 0;
}
@media only screen and (min-width: 41.063em) {
    .front-box-container:first-of-type .front-box {
        margin-left: 0;
    }
    .front-box-container:last-of-type .front-box {
        margin-right: 0;
    }
}
.front-school-box img {
    height: 60px;
    display: block;
    margin: 5px auto 10px;
}
.front-school-banner {
    padding: 10px 30px;
    border-radius: 5px;
    color: #fff;
    font-size: 1.2em;
}
.front-school-banner:hover {
    color: #fff;
}
#front-school-grid {
    margin-top: 10px;
    margin-bottom: 20px;
}
#front-quotes {
    background-color: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .50);
    margin-top: 20px;
    padding-bottom: 1.25rem;
}
#front-quotes div {
    border-left: 1px solid #dddddd;
}
#front-quotes blockquote {
    quotes: "“" "”" "“" "”";
    padding-bottom: 0;
    height: 100%;
    border: none;
}
#front-quotes blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.1em;
    vertical-align: -0.5em;
}
#front-quotes blockquote cite {
    margin-top: 10px;
}

/* Practice */
.practice-item {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 1.1em;
    margin-right: 1rem !important;
    margin-left: 1rem !important;
}
.practice-item:last-of-type {
    border: 0 none;
}
.icon-checkmark {
    background-image: url('/templates/img/checkmark.png') !important;
    background-size: 24px !important;
    display: inline-block;
    height: 24px;
    width: 24px;
}
.icon-crossmark {
    background-image: url('/templates/img/crossmark.png') !important;
    background-size: 24px !important;
    display: inline-block;
    height: 24px;
    width: 24px;
}
.icon-nonmark {
    background-image: url('/templates/img/nonmark.png') !important;
    background-size: 24px !important;
    display: inline-block;
    height: 24px;
    width: 24px;
}
.icon-practice:nth-of-type(1) {
    opacity: 1;
}
.icon-practice:nth-of-type(2) {
    opacity: 0.9;
}
.icon-practice:nth-of-type(3) {
    opacity: 0.8;
}
.icon-practice:nth-of-type(4) {
    opacity: 0.7;
}
.icon-practice:nth-of-type(5) {
    opacity: 0.6;
}
.icon-practice:nth-of-type(6) {
    opacity: 0.5;
}
.practice-title {
    color: #777;
}
.candidate-dash-practice {
    border-right: 1px solid #ccc;
    min-height: 260px;
    position: relative;
}
.candidate-dash-practice canvas {
    margin-top: 10px;
}
.candidate-dash-practice a {
    margin-top: 5px;
    margin-bottom: 5px;
}
@media only screen and (max-width: 40em) {
    .candidate-dash-practice {
        border-right: 0 none;
        border-bottom: 1px solid #ccc;
        padding-bottom: 20px;
    }
}

/* Lesson edit */
.lesson-edit-theory {
    padding-left: 5px;
    padding-right: 5px;
}
.lesson-edit-theory .panel {
    cursor: pointer;
    margin-bottom: 10px;
}
.lesson-edit-theory .panel.active {
    background-color: #4fc02c;
    color: #fff;
}
.lesson-data-edit h4:hover {
    color: #68aca7;
}
#lesson-edit-success {
    padding: 50px 20px;
}
.revision-icon {
    padding-left: 5px;
    padding-right: 5px;
}

/* New drv */
.drv-new-item {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
}
.drv-new-item:last-of-type {
    border-bottom: 0;
}
.drv-new-item:nth-of-type(2n) {
    background-color: #f9f9f9;
}
.drv-input-label {
    display: inline-block;
    font-size: 0.8em;
    cursor: default;
}
.drv-new-item .form-break {
    margin: 5px 0 10px;
}
.drv-new-item:nth-of-type(2n) .form-break {
    background-color: #bbb;
}
.drv-new-item .drv-new-num-table {
    display: table;
    border-right: 1px solid #ccc;
}
.drv-new-item:nth-of-type(2n) .drv-new-num-table {
    border-right: 1px solid #bbb;
}
.drv-new-item .drv-new-num-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.drv-new-item .drv-button {
    display: block;
}
.drv-new-item input, .drv-new-item select, .drv-new-item button {
    margin-bottom: 5px;
    margin-top: 5px;
}
.drv-new-item-vehicle, .drv-new-item-lessons {
    padding-left: 5px;
    padding-right: 5px;
}
.drv-new-item-vehicle .panel, .drv-new-item-lessons .panel {
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}
.drv-new-item-vehicle .panel {
    padding-top: 25px;
    padding-bottom: 25px;
}
.drv-new-item-vehicle .panel i, .drv-new-item-lessons .panel i {
    margin-right: 5px;
}
.drv-new-item-vehicle .panel.active, .drv-new-item-lessons .panel.active {
    background-color: #4fc02c;
    color: #fff;
}
.drv-new-item-vehicle .panel.active {
    cursor: default;
}

#newDrvModal ul {
    font-size: 14px;
}
#newDrwMainSideForm {
    border-left: 1px dotted #ccc;
}
.drv-new-title {
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.drv-new-title button {
    margin-left: auto;
    margin-bottom: 0;
}
.vehicle-edit-icon {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vehicle-edit-icon i {
    font-size: 120px;
    margin-top: -15px;
    color: rgba(255,255,255,0.2);
}
.vehicle-item-value span {
    font-size: 14px;
}
#kmModalCar {
    display: block;
    font-size: 20px;
    margin: -5px auto 5px;
}
#kmModalCar span {
    font-size: 14px;
}
.drv-item-vehicle-list {
    list-style: none;
    margin-left: 0 !important;
    margin-bottom: 10px;
    font-size: 1px;
}
.drv-item-vehicle-list li div {
    font-size: 12px;
    margin-top: -5px;
    color: #777;
}
.drv-item-vehicle-list li {
    font-size: 1rem;
}
.drv-item-vehicle-list li:not(:last-of-type) {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.vehicle-item-value {
    margin: -20px -20px 0;
    padding: 20px 20px 0;
}
.vehicle-item-actions {
    font-size: 12px;
    position: absolute;
    width: 100% !important;
    margin-left: 0 !important;
    right: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
}
.vehicle-item-actions .columns {
    padding: 2px;
    border-top: 1px dotted rgba(255,255,255,0.5);
    font-weight: normal;
}
.vehicle-item-actions .columns:first-of-type {
    border-bottom-left-radius: 5px;
    border-right: 1px dotted rgba(255,255,255,0.5);
}
.vehicle-item-actions .columns:last-of-type {
    border-bottom-right-radius: 5px;
}
.vehicle-item-actions .columns:hover {
    color: #4fc02c;
    background-color: #fff;
}
.drv-new-item h6 {
    color: #777 !important;
}
.drv-new-item p {
    font-weight: bold;
}
.drv-new-content {
    display: flex;
}
.drv-new-header .columns:not(:last-of-type), .drv-new-content .columns:not(:last-of-type) {
    border-right: 1px solid #eee;
}
.drv-new-content .columns {
    align-items: stretch;
    padding-top: 8px;
    text-align: center;
}
.drv-new-header {
    display: flex;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
#save-drv-document, .h-nav button, .h-nav .button {
    margin-bottom: 0;
    margin-left: auto;
}
.drv-item-action-edit {
    color: #7dcec8;
    cursor: pointer;
}
.drv-item-action-edit:hover {
    color: #68aca7;
}
.drv-item-action-trash {
    color: #f17a72;
    cursor: pointer;
}
.drv-item-action-trash:hover {
    color: #cd6761;
}
.drv-new-item-candidate.other {
    display: none;
}
.drv-new-item-candidate.other.show {
    display: block !important;
}
.drv-new-item-candidate .candidate-other {
    font-size: 14px;
    color: #666;
}

/* Candidate accordion */
.accordion .accordion-navigation > a, .accordion dd > a {
    font-family: 'Open Sans Condensed', sans-serif;
    border-bottom: 5px solid #e3e3e3;
}
.accordion .accordion-navigation:last-of-type > a, .accordion dd:last-of-type > a {
    border-bottom: none;
}
.accordion .accordion-navigation.active > a, .accordion dd.active > a {
    background-color: #e3e3e3;
}

/* Archive */
.top-bar {
    margin: -16px -25px 15px;
}
.archive.top-bar a {
    padding: 0 20px !important;
}
.archive.top-bar .name {
    display: flex;
    align-items: center;
    background-color: #444;
}
.archive.top-bar .name h3 {
    font-size: 16px;
    color: #eee;
    padding-left: 20px;
    padding-right: 20px;
}
.archive.top-bar li.active a {
    background-color: #7dcec8 !important;
}
.archive.top-bar li.active a:hover {
    background-color: #68aca7 !important;
}


/* Statistics **/
.tabs.no-margin-tabs {
    margin: -15px -25px 15px;
    background-color: #404a57;
}
.tabs.no-margin-tabs li a {
    background-color: #404a57;
    color: #fff;
    border-right: 1px solid #4f5a69;
}
.tabs.no-margin-tabs li a:hover {
    background-color: #4f5a69;
}
.tabs.no-margin-tabs li.active a:hover {
    background-color: #eee;
}
#statistics-content h2 {
    font-size: 2rem;
}
#statistics-content p {
    margin-top: -5px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
#statistics-content .statistics-header {
    border-bottom: 1px solid #ccc;
    padding: 0 10px;
}
.statistics-chart {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}
.statistics-table .statistics-table-sub-header th {
    text-align: center;
    padding: 10px;
    height: auto;
}
.statistics-table .statistics-table-sup-header {
    text-align: center;
    padding: 15px;
    height: auto;
}
.statistics-table tr:nth-of-type(2n) td {
    background-color: #f9f9f9;
}
.statistics-table .border-left {
    border-left: 1px solid #ccc;
}
.statistics-table .border-right {
    border-right: 1px solid #ccc;
}
.statistics-table td:not(.statistics-table-data-main) {
    text-align: center;
}
.statistics-table tr:hover td {
    background-color: #ebebeb;
}
.statistics-legend-tip {
    font-size: 14px;
    font-weight: normal;
    margin-top: 10px;
    width: 100%;
    text-align: right;
}
.statistics-table .statistics-table-emphasis {
    background-color: #ebebeb !important;
}
.statistics-table-actions button, .statistics-table-actions .button {
    text-align: center;
    padding: 5px 10px !important;
    display: block;
    margin-bottom: 5px;
}
.statistics-table-actions .button {
    display: table;
    margin-bottom: 0;
}
.statistics-table-actions button i, .statistics-table-actions .button i  {
    margin: 0 !important;
}
#messageModal .lead.hours-mail-candidate {
    font-weight: bold;
}
#send-notice-button {
    margin-top: 15px;
    margin-bottom: 0;
}
.statistics-date-picker {
    padding-top: 5px;
}
.statistics-date-picker, .statistics-date-picker label {
    font-weight: normal;
}
.statistics-date-picker label {
    font-size: 15px;
}
.statistics-date-picker select {
    margin-top: 3px;
}

/* POS */
#price-without-tax {
    margin-top: 4px;
    font-size: 20px;
}
.table-invoice-row input, .table-invoice-row select {
    margin-bottom: 0;
}
.table-invoice-new-item {
    background: rgba(241, 122, 114, 0.25);
}
#pos-client-data, #pos-payer-data {
    margin-bottom: 8px;
}
#pos-client-data span, #pos-payer-data span {
    font-weight: normal;
    font-size: 18px;
    line-height: 1.5;
}
#pos-client-data span strong, #pos-payer-data span strong {
    display: block;
    font-size: 20px;
}
#pos-client-remove, #pos-payer-remove {
    float: right;
}
#pos-invoice-data input {
    margin-bottom: 5px;
}
.pos-invoice-data-overview .row:not(:last-of-type) {
    padding-bottom: 5px;
    border-bottom: 1px solid #e2e2e2;
}
.pos-invoice-data-overview .row {
    margin-bottom: 5px;
}
.table-invoice-sum table tr td {
    padding: 10px 00px;
    height: auto;
    text-align: right;
    border-bottom: 1px solid #ddd;
}
.table-invoice-sum table tr:last-of-type td {
    border-bottom: none;
}
.table-invoice-sum > td {
    border-bottom: none;
    padding: 5px 0 !important;
}
.table-invoice-sum:hover td {
    background-color: transparent !important;
    cursor: default;
}
.table-invoice-sum #pos-invoice-new-row-td {
    padding: 10px !important;
    vertical-align: top;
}
.table-invoice-sum.no-border > td {
    border-bottom: none;
}
.invoice-buttons {
    text-align: center;
}
.invoice-buttons button, .invoice-buttons .button {
    margin-bottom: 0;
}
.invoice-products-table td:not(:first-of-type) {
    /*border-left: 1px solid #ccc;*/
}
.invoice-products-table td {
    font-size: 14px;
    height: auto;
    padding: 15px 10px;
    border-bottom: 1px solid #e2e2e2;
}
.invoice-products-table thead {
    background-color: transparent;
}
.invoice-products-table thead th {
    font-size: 16px;
    border-bottom: 2px solid #ccc;
    height: auto;
}
.invoice-products-table tr:hover td {
    cursor: default;
    background-color: transparent;
}
.table-invoice-sum.small-padding table td {
    padding: 10px !important;
    color: #333;
}
p.invoice-signature {
    font-size: 18px;
    line-height: 1.4;
    font-weight: bold;
    display: none;
}
.invoice.top-bar, .invoice.top-bar li a {
    background-color: #7dcec8 !important;
}
.invoice.top-bar li.red a {
    background-color: #f17a72 !important;
}

/* CPP */
.cpp-row {
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-bottom: 1px solid #ccc;
}
.cpp-cat-row {
    font-size: 14px;
    text-align: center;
    color: #777;
    border-right: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cpp-row:last-of-type {
    border-bottom: none;
}
.cpp-cat-row span {
    display: block;
    font-size: 32px;
    margin: auto auto 0;
}
.cpp-cat-row div {
    margin: -10px auto auto;
}
.cpp-row-new {
    border-bottom: none;
}
.cpp-row-new .columns {
    display: flex;
    align-items: center;
}
.cpp-row-new .cpp-cat-row {
    font-size: 20px;
    justify-content: center;
}
.cpp-trainee {
    padding: 0 7px;
    margin-bottom: 8px;
}
.cpp-trainee:nth-of-type(3n + 1) {
    padding-left: 15px !important;
}
.cpp-trainee:nth-of-type(3n) {
    padding-right: 15px !important;
}
.cpp-trainee:nth-of-type(-n+3) {
    margin-top: 10px;
}
.cpp-trainee:last-of-type {
    margin-bottom: 10px;
}
.cpp-trainee .cpp-trainee-content {
    background-color: #f5f5f5;
    padding: 8px 15px;
    display: flex;
    align-items: center;
}
.cpp-trainee:nth-child(2n) .cpp-trainee-content {
    background-color: #fafafa;
}
.cpp-trainee .cpp-trainee-content .cpp-trainee-remove {
    cursor: pointer;
    margin-left: auto;
}
#cpp-course-trainees-container {
    border-left: 1px solid #ddd;
}
#cpp-course-data-container > .columns {
    padding-top: 15px;
    padding-bottom: 15px;
}
.cpp-trainee-category {
    width: 100%;
    background-color: #eee;
    padding: 10px 15px;
}
.cpp-trainee-row {
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
    color: #777;
}
.cpp-trainee-row small {
    font-size: 70%;
}
.cpp-trainee-row a {
    float: right;
}
.cpp-trainee-row.presence {
    cursor: pointer;
    color: #396640;
}
.cpp-trainee-row .cpp-presence-line {
    display: none;
}
.cpp-trainee-row.presence.missing {
    color: #a11821;
}
.cpp-trainee-row.presence.missing .cpp-presence-line {
    width: 100%;
    position: absolute;
    display: block;
    height: 1px;
    background-color: #a11821;
    left: 0;
    top: 50%;
}
.cpp-trainee-row.presence:not(.no-border):nth-of-type(2n) {
    border-right: 1px solid #eee;
}
.cpp-trainee-row:last-of-type {
    border-bottom: none;
}
.cpp-subtitle {
    margin-top: -15px;
}
.cpp-trainee-missing {
    float: right;
    font-size: 70%;
    display: none;
}
.cpp-trainee-presence-icon {
    min-width: 16px;
    text-align: center;
}
.cpp-lesson-row {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
.cpp-lesson-row:last-of-type {
    border-bottom: none;
}
.lesson-details.cpp-trainee-row.presence {
    cursor: default;
    color: #6ca312;
}
.lesson-details.cpp-trainee-row.presence.missing {
    color: #e61c2b;
}
#lesson-detail-frame {
    width: 100%;
    border: none;
    min-height: 400px;
}
.lead.cpp {
    margin-bottom: 0;
    line-height: 40px;
}
.cpp-line-height {
    line-height: 40px;
}

/* School premises */
.school-premises-data .columns {
    margin-top: 20px;
}
.school-premises-data small {
    font-size: 80%;
    margin-bottom: -5px;
    color: #888;
    display: block;
}
.school-premises-data p.lead {
    margin-bottom: 0.4rem;
}
.school-premises-data p.lead i {
    font-size: 80%;
    min-width: 16px;
    text-align: center;
    margin-right: 4px;
}
.general-search {
    border-top: 1px solid #9a9a9a;
}
.general-search input {
    margin-top: 10px;
    margin-bottom: -10px;
}

.absence-toggle {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    border: 1px solid #7dcec8;
    border-radius: 0.625rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.absence-toggle button {
    background-color: unset;
    border-radius: unset;
}

.absence-toggle button.is-active:hover, button.is-active:focus {
    background-color: #7dcec8 !important;
}

.absence-toggle button:hover {
    background-color: unset !important;
}

.absence-toggle .tbutton {
    background: transparent;
    color: #7dcec8;
    margin-bottom: 0;
    -webkit-flex: 1 0 0;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
}

.absence-toggle .tbutton:nth-child(n+1) {
    border-left: 1px solid #7dcec8;
}

.absence-toggle .tbutton.is-active {
    background: #7dcec8;
    color: #fefefe;
}

.dataTables_paginate {
    display: inline-block;
}

.paginate_button {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.paginate_button.current {
    background-color: #7dcec8;
    color: white;
    border-radius: 5px;
}

.paginate_button:hover:not(.current) {
    background-color: #ddd;
    border-radius: 5px;
}

.work-button {
    margin-top:10px;
}

.premises-error {
    margin-top:18px;
}

.fixed_header tbody{
    /*display:block;*/
    overflow:auto;
    height:200px;
    width:100%;
}
.fixed_header thead tr{
    /*display:block;*/
}

.fixedTheory {
    position: fixed;
    top: 0;
    bottom: auto;
}

.absTheory {
    position: absolute;
    bottom: 0;
    top: auto;
}

#withdrawal-pdf {
    color:white;
}
#withdrawal-pdf:hover {
    color:white;
}
.color-foora-pink {
    color: #f17a72
}
.color-foora-green {
    color: #7dcec8;
}
