/* Webfont: LatoLatin-Light */@font-face {
    font-family: 'LatoLatinWebLight';
    src: url('../fonts/LatoLatin-Light.eot'); /* IE9 Compat Modes */
    src: url('../fonts/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */
    url('../fonts/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */
    url('../fonts/LatoLatin-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Medium */@font-face {
    font-family: 'LatoLatinWebMedium';
    src: url('../fonts/LatoLatin-Medium.eot'); /* IE9 Compat Modes */
    src: url('../fonts/LatoLatin-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/LatoLatin-Medium.woff2') format('woff2'), /* Modern Browsers */
    url('../fonts/LatoLatin-Medium.woff') format('woff'), /* Modern Browsers */
    url('../fonts/LatoLatin-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Regular */@font-face {
    font-family: 'LatoLatinWeb';
    src: url('../fonts/LatoLatin-Regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */
    url('../fonts/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/LatoLatin-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: LatoLatin-Semibold */@font-face {
    font-family: 'LatoLatinWebSemibold';
    src: url('../fonts/LatoLatin-Semibold.eot'); /* IE9 Compat Modes */
    src: url('../fonts/LatoLatin-Semibold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/LatoLatin-Semibold.woff2') format('woff2'), /* Modern Browsers */
    url('../fonts/LatoLatin-Semibold.woff') format('woff'), /* Modern Browsers */
    url('../fonts/LatoLatin-Semibold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

html, body {
    height: 100%;
}

body {
    font-family: 'LatoLatinWeb';
    color: #53565a;
    font-size: 16px;
}

.main {
    min-height: 100%;
    padding: 92px 0 120px 0;
}

a:hover {
    text-decoration: none;
}

.container-fluid {
    padding: 0;
}

footer {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;

    -webkit-box-pack: justify!important;
    -ms-flex-pack: justify!important;
    justify-content: space-between!important;

    height: 78px;
    margin-top: -78px;
    padding: 0 65px;
    background-color: #727272;
}

footer .links a {
    font-size: 16px;
    color: #333333;
    margin-right: 35px;
}

footer .links a:hover {
    text-decoration: none;
}

.logo {
    width: 208px;
}

nav {
    height: 92px;
    margin-bottom: -92px;
    background-color: #fff;
}

.navbar-brand {
    margin-right: 20px;
}

.v-line {
    border: 0;
    border-right: 2px solid #0b2256;
    height: 54px;
    margin: 0 17px 0 0;
    width: 0;
}

.title {
    background-color: #76b452;
    padding: 33px 0;
}

.title h1 {
    color: #fff;
    width: 100%;
    font-size: 36px;
    text-align: center;
    font-family: 'LatoLatinWeb';
    margin: 0;
    padding: 0;
}

.title.title-left h1 {
    text-align: left;
    padding-left: 46px;
}

.menu-icon {
    width: 34px;
    height: 20px;
}

.menu-icon div {
    height: 0;
    border-bottom: 3px solid #0b2256;
    margin-bottom: 5px;
}

.menu-icon div:last-child {
    margin: 0;
}

.menu-icon .top-line {
    width: 34px;
}
.menu-icon .mid-line {
    width: 31px;
}
.menu-icon .bottom-line {
    width: 28px;
}

.curve svg {
    width: 100%;
}

nav .btn-icon:focus {
    box-shadow: none!important;
}

nav .nav-item {
    margin-right: 28px;
}

nav .nav-item .v-line {
    margin: 0;
}

nav .nav-item:last-child {
    margin: 0;
}

.navbar,
.content {
    padding-left: 24px;
    padding-right: 24px;
}

.content {
    width: 1140px;
    margin: 0 auto;
}


.chat-btn {
    font-family: 'LatoLatinWebSemibold';
    font-size: 16px;
    display: inline-block;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 0 23px;
    height: 50px;
    line-height: 50px;
    background-color: #0b2256;
    text-decoration: none;
}

.chat-btn:hover {
    text-decoration: none;
    color: #ffffff;
}

.login-form {
    width: 460px;
    margin: 25px auto;
}

.blue-btn {
    color: #fff;
    background-color: #0b2256;
    font-family: 'LatoLatinWebMedium';
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
}

.blue-btn:focus,
.blue-btn:hover {
    text-decoration: none;
    color: #fff;
}

.text-input {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border: 1px solid #cacaca;
    font-family: 'LatoLatinWebLight';
    padding: 0 17px;
    outline: 0;
}

.text-input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #9b9999;
}
.text-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #9b9999;
    opacity:  1;
}
.text-input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #9b9999;
    opacity:  1;
}
.text-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    #9b9999;
}
.text-input::-ms-input-placeholder { /* Microsoft Edge */
    color:    #9b9999;
}

.text-input::placeholder { /* Most modern browsers support this now. */
    color:    #9b9999;
}

.login-form .text-input {
    margin-top: 18px;
}

.login-form .blue-btn {
    margin-top: 32px;
}

.login-form .remember-checkbox-wrap {
    color: #0b2256;
    font-size: 14px;
}

.login-form .remember-checkbox-wrap input {
    margin-right: 7px;
}

.login-form .forgot-password {
    color: #9b9999;
    font-size: 14px;
}

h2 {
    color: #53565a;
    font-size: 32px;
    margin: 0;
}

.radio-wrap {
    display: inline-block;
    margin: 10px 10px 0 0;
}

.radio-wrap [type="radio"]:checked,
.radio-wrap [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
.radio-wrap [type="radio"]:checked + label,
.radio-wrap [type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
.radio-wrap [type="radio"]:checked + label:before,
.radio-wrap [type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #cdcdcd;
    border-radius: 100%;
    background: #fff;
}
.radio-wrap [type="radio"]:checked + label:after,
.radio-wrap [type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #0b2256;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.radio-wrap [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
.radio-wrap [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

table {
    border-top: 0;
    border-left: 1px solid #727272;
    border-right: 1px solid #727272;
    border-bottom: 1px solid #727272;
    font-size: 16px;
    color: #727272;
}

table thead td {
    background-color: #0b2256;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    font-size: 18px;
}

table thead td {
    border-top: 0!important;
    border-right: 2px solid #fff;
}

table thead td:last-child {
    border: 0;
}

table tbody td {
    border-top: 1px solid #cacaca;
    border-right: 1px solid #cacaca;
}

table tbody td:last-child {
    border-right: 0;
}

table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

table td.action {
    width: 260px;
}

table td.action.action-wide {
    width: 320px;
    white-space: nowrap;
}

table td.action.action-wide button,
table td.action.action-wide select {
    width: 148px;
}

.status-progress > span {
    font-family: 'LatoLatinWebLight';
    white-space: nowrap;
}

.progress {
    height: 8px;
    position: relative;
    background: #cacaca;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
}

.progress > span {
    display: block;
    height: 100%;
    background-color: #84bd00;
}

.gray-btn {
    color: #fff;
    width: 100%;
    display: block;
    background-color: #cacaca;
    border: 0;
    border-radius: 0;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    white-space:nowrap;
    padding: 0 12px;
}

.green-btn {
    color: #fff;
    width: 100%;
    cursor: pointer;
    font-family: 'LatoLatinWebSemibold';
    display: block;
    background-color: #84bd00;
    border: 0;
    border-radius: 0;
    height: 40px;
    line-height: 40px;
    white-space:nowrap;
    padding: 0 12px;
}

.completed-icon {
    background: url('../img/completed-icon.svg') no-repeat top left;
    background-size: contain;
    cursor: pointer;
    display: inline-block;
    height: 19px;
    width: 19px;
    margin-right: 7px;
    vertical-align: sub;
}

.white-btn {
    color: #0b2256;
    width: 190px;
    cursor: pointer;
    font-family: 'LatoLatinWebMedium';
    display: block;
    background-color: #fff;
    border: 2px solid #0b2256;
    border-radius: 0;
    height: 40px;
    line-height: 40px;
    white-space:nowrap;
    padding: 0 12px;
}

.fixed-width-btn {
    width: 190px;
}

.underlined-title {
    padding: 0 0 15px 0;
    border-bottom: 1px solid #cacaca;
}

.underlined-title h2 {
    margin: 0;
}

input.search {
    background-image: url("../img/search.svg");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 10px 10px;
    padding-left: 45px;
}


select#sort {
    width: 100%;
    border-radius: 0;
    border: 1px solid #cacaca;
    color: #333333;
    font-size: 16px;
    font-family: 'LatoLatinWebSemibold';
    height: 40px;
    /*line-height: 40px;*/

    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20version%3D%221.1%22%20x%3D%2212px%22%20y%3D%220px%22%20width%3D%2224px%22%20height%3D%225px%22%20viewBox%3D%220%200%206%203%22%20enable-background%3D%22new%200%200%206%203%22%20xml%3Aspace%3D%22preserve%22%20fill%3D%22%23333%22%3E%3Cpolygon%20points%3D%225.992%2C0%202.992%2C3%20-0.008%2C0%20%22/%3E%3C/svg%3E);
    background-position: 98% center;
    background-repeat: no-repeat;
    outline: none;
}

.green-select button {
    border-radius: 0;
    border: 0;
    background-color: #84bd00;
    color: #fff;
    font-size: 16px;
    font-family: 'LatoLatinWebSemibold';
    height: 40px!important;
    /*line-height: 40px;*/

    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    /*background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20version%3D%221.1%22%20x%3D%2212px%22%20y%3D%220px%22%20width%3D%2224px%22%20height%3D%225px%22%20viewBox%3D%220%200%206%203%22%20enable-background%3D%22new%200%200%206%203%22%20xml%3Aspace%3D%22preserve%22%20fill%3D%22%23fff%22%3E%3Cpolygon%20points%3D%225.992%2C0%202.992%2C3%20-0.008%2C0%20%22/%3E%3C/svg%3E);*/
    /*background-position: 98% center;*/
    /*background-repeat: no-repeat;*/
    outline: none;
}

.green-select button:active,
.green-select button:hover {
    background-color: #72a300!important;
}


.table-filters {
    display: table;
    width: 100%;
}

.table-filters > div {
    display: table-cell;
}

.table-filters .search-cell {
    width: calc(100% - 810px);
    padding-right: 25px;
    vertical-align: middle
}

.table-filters .sort-cell {
    width: 200px;
}

.table-filters .radio-buttons-cell {
    width: 610px;
    padding-right: 25px;
    display: table-cell;
}

.table-filters .radio-buttons-wrap {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;

    -webkit-box-pack: justify!important;
    -ms-flex-pack: justify!important;
    justify-content: space-between!important;

    -ms-flex-wrap: wrap!important;
    flex-wrap: wrap!important;
}

table.no-borders td {
    border: 0;
}

.svg-icon-btn img {
    height: 28px;
}

.svg-icon-btn {
    margin-right: 25px !important;
}

.svg-icon-btn:last-of-type {
    margin: 0;
}


.form-wrap {
    background-color: #f5f5f5;
    padding: 30px 0;
    border-top: 1px solid #cacaca;
    margin-top: 20px;
}

.warning {
    position: relative;
    width: 100%;
    padding: 17px 42px 17px 40px;
    text-align: center;
    background-color: #88d3fa;
    color: #0b2256;
    font-family: 'LatoLatinWebLight';
}

.warning span {
    font-family: 'LatoLatinWeb';
}

.warning a {
    text-decoration: underline;
    color: #0b2256;
}

.warning .close {
    position: absolute;
    right: 24px;
    top: 20px;
    width: 18px;
    height: 18px;
    color: #0b2256;
    cursor: pointer;
}

.warning .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 16px;
    width: 2px;
    background-color: #333;
    margin-left: -9px;
}
.warning .close:before {
    transform: rotate(45deg);
}
.warning .close:after {
    transform: rotate(-45deg);
}


.delete-modal,
.add-form-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0,0,0,0.5);
    overflow-x: hidden;
    overflow-y: auto;
}

.add-form-modal .add-form-content {
    position: relative;
    top: 0;
    left: 50%;
    padding: 25px 30px;
    width: 800px;
    background: #fff;
    margin-left: -400px;
    margin-top: 100px;
    margin-bottom: 100px;
    border-radius: 0;
}

.delete-modal .delete-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    padding: 25px 30px;
    width: 400px;
    background: #fff;
    margin-left: -200px;
    margin-top: -100px;
    border-radius: 0;
}

.delete-modal p {
    text-align: center;
    font-size: 18px;
    line-height: 34px;
}

.delete-modal button {
    width: 160px;
}

.add-form-modal table thead td {
    text-align: left;
    padding-left: 27px;
}

.add-form-modal .buttons {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    -webkit-box-pack: end!important;
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
}

.add-form-modal .buttons button {
    width: 160px;
}

@media (max-width: 1160px){
    .content {
        width: 100%;
    }
}

@media (max-width: 1060px){
    .table-filters .sort-cell {
        width: 160px;
    }

    .table-filters .radio-buttons-cell {
        width: 500px;
    }

    .table-filters .search-cell {
        width: calc(100% - 660px);
    }
}

@media (max-width: 900px){
    .table-filters .sort-cell {
        width: 160px;
    }

    .table-filters .radio-buttons-cell {
        width: 460px;
    }

    .table-filters .search-cell {
        width: calc(100% - 620px);
    }

    .add-form-modal .add-form-content {
        width: 90%;
        background: #fff;
        margin-left: -45%;
        margin-top: 60px;
        margin-bottom: 60px;
        border-radius: 0;
    }
}

@media (max-width: 840px){
    .table-filters {
        display: block;
    }

    .table-filters > div {
        display:  block!important;
        padding: 0!important;
        margin-bottom: 15px;
    }

    .table-filters .radio-buttons-cell {
        width: 100%;
    }

    .table-filters .sort-cell {
        width: 260px;
    }

    .table-filters .search-cell {
        width: 100%;
    }
}

@media (max-width: 760px){
    .title h1 {
        font-size: 30px;
    }

    .content h2,
    .add-form-modal h3{
        font-size: 28px;
    }

    table td.action.action-wide {
        width: 150px;
    }

    table td.action.action-wide button,
    table td.action.action-wide select {
        width: 140px;
        display: block!important;
        margin-bottom: 5px;
    }

    table td.action.action-wide select {
        margin-top: 8px;
    }
}

@media (max-width: 700px){
    .main {
        padding: 78px 0 120px 0;
    }

    nav {
        height: 78px;
        margin-bottom: -78px;
        background-color: #fff;
    }

    .logo {
        width: 120px;
    }

    footer {
        display: block!important;
        height: 110px;
        margin-top: -110px;
        padding-top: 10px;
    }

    footer > div {
        -ms-flex-pack: center!important;
        justify-content: center!important;
    }

    footer .links a:last-child {
        margin: 0;
    }

    footer .links {
        margin-bottom: 10px;
    }

    .main {
        padding: 78px 0 140px 0;
    }

    .title h1 {
        font-size: 28px;
    }

    .content h2,
    .add-form-modal h3{
        font-size: 26px;
    }

    table td.action {
        width: auto;
        white-space: nowrap;
    }

    .svg-icon-btn {
        margin-right: 25px;
    }
}

@media (max-width: 540px){
    .menu-icon {
        display: none;
    }

    .navbar-brand + .v-line {
        display: none;
    }

    .title h1 {
        font-size: 24px;
    }

    .content h2,
    .add-form-modal h3{
        font-size: 22px;
    }

    .login-form {
        width: 100%;
    }

    footer,
    .content,
    .navbar{
        padding-left: 20px;
        padding-right: 20px;
    }

}

@media (max-width: 500px){
    .table-filters .sort-cell {
        width: 100%;
    }

    .add-form-modal .add-form-content {
        width: 96%;
        margin-left: -48%;
        padding: 20px 15px;
    }
}

@media (max-width: 460px){
    .navbar-expand {
        -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
    }

    nav {
        height: 122px;
        margin-bottom: -122px;
        background-color: #fff;
    }

    .main {
        padding: 122px 0 140px 0;
    }

    .delete-modal .delete-modal-content {
        width: 90%;
        background: #fff;
        margin-left: -45%;
        margin-top: -100px;
        border-radius: 0;
    }

    .delete-modal button {
        width: 130px;
    }

    .add-form-modal .buttons button {
        width: 130px;
    }
}

@media (max-width: 380px){
    .delete-modal button {
        width: 104px;
    }
    .add-form-modal .buttons button {
        width: 104px;
    }
}

.btn-dark,
.page-item.active .page-link{
    background: #0b2256 !important;
    border-color: #0b2256 !important;
    padding-top: 12px;
}

.page-link {
    color: #0b2256 !important;
}

.page-item.active .page-link {
    color: #fff !important;
}

.disabled {
    cursor: not-allowed;
}

.alert.alert-secondary {
    background: #f9f9f9 !important;
}

.warning .close:before, .close:after {
    background: none;
}

input[type=submit] {
    border: none !important;
    width: 100% !important;
}

.error {
    font-weight: bold;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

input.error {
    border: 1px solid #dc3545;
}

table.table.gray thead td {
    background: #cacaca !important;
}

table.table.gray {
    border-left: 1px solid #cacaca;
    border-right: 1px solid #cacaca;
    border-bottom: 1px solid #cacaca;
}

.select2-container--default .select2-selection--single {
    border-radius: 0;
    border: 1px solid #cacaca;
}

.select2-container .select2-selection--single {
    height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}
