@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

/* ========================================================================
   Component: layout
 ========================================================================== */
:root {
    font-size: 12px;
}

body, .wrapper .section-container {
    background-color: #f7f6f6;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.667rem;
    color: #232323;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #232323;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #232323;
}

p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    font-weight: 400;
    font-size: 0.75rem;
    color: #232323;
}

a {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    font-weight: 400;
    font-size: 0.75rem;
    color: #232323;
    text-decoration: underline;
}

input {
    background: #FFFFFF;
    border-radius: 4px !important;
}

.wrapper .aside-container {
    background-color: #f3f3f3;
}

.layout-fixed .wrapper .topnavbar-wrapper {
    border-bottom: 2px solid #b70f0a;
}

.text-warning, .text-red {
    color: #b70f0a !important;
}

h3.subtitle {
    font-size: 1rem;
    font-weight: 400;
}

.form-wrapper .row.settings {
    margin-bottom: 5px;
}

.settings-back-btn {
    padding-top: 30px;
    font-size: 1rem;
    color: #616161;
}

.settings-row {
    margin-left: 0;
    margin-right: 0;
}

.grey, .grey * {
    color: #7a7a7a;
}

.btn.btn-lg {
    font-size: 1rem;
    text-transform: uppercase;
}

.btn.btn-lg i {
    margin-right: .5em;
    font-size: 0.9rem;
}

.content-wrapper > .content-heading {
    display: flex;
    padding-bottom: .5rem;
}

.content-wrapper .content-heading h2 {
    font-size: 32px;
    font-weight: 400;
    color: #000;
    margin-top: 1rem;
    margin-bottom: 0;
}

.content-wrapper > .content-info > * {
    margin: .25rem 0;
}

.content-wrapper > .content-info .description {
    padding: .5rem 0;
    color: black;
}

.content-wrapper > .content-info .position {
    font-size: 16px;
}

.content-wrapper > .content-info .fa {
    margin-right: .5rem;
}

.content-wrapper > .content-heading > div:first-child {
    font-size: 32px;
    color: #000;
}

@media (max-width: 1020px) {
    .content-wrapper > .content-heading > div:first-child {
        font-size: 24px;
    }
}

@media (max-width: 1020px) {
    .content-wrapper > .content-heading > div:first-child {
        font-size: 18px;
    }
}

.content-wrapper > .content-heading > div + div {
    margin-left: auto;
}

/* .content-section */
.content-section {
    margin: 40px 0;
}

.content-section .small-heading {
    display: flex;
    align-items: center;
    padding-bottom: .5rem;
}

.content-section .small-heading h2 {
    font-size: 36px;
    font-weight: 100;
}

@media (max-width: 1020px) {
    .content-section .small-heading h2 {
        font-size: 24px;
    }
}

@media (max-width: 1020px) {
    .content-section .small-heading h2 {
        font-size: 18px;
    }
}

.content-section .small-heading h3 {
    font-size: 14px;
    font-weight: 100;
    margin: 0;
    color: #000;
}

.content-section .small-heading .form-group {
    margin-bottom: 0;
}

.content-section .small-heading > div + div {
    margin-left: auto;
}

a {
    color: #232323;
}

a:hover {
    color: #232323;
}

.v-middle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.flex {
    display: flex;
    justify-content: space-between;
}

.customer-info .flex {
    padding-bottom: 0;
}

.person-info .flex {

}

.hover {
    position: relative;
}

.hover .hover-item {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
}

.hover:hover .hover-item {
    display: block;
    background: rgb(255 255 255 / .9);
}

.hover:hover .hover-item > * {
    margin: 0 .25rem;
    color: #000;
    opacity: 0.5;
}

.hover:hover .hover-item > *:hover {
    opacity: 1;
}

/* ========================================================================
   Component: top-navbar
 ========================================================================== */
.topnavbar {
    background-color: #f3f3f3;
    background-image: none;
    background-repeat: repeat-x;
}

@media (min-width: 992px) {
    .topnavbar .navbar-nav > .nav-item.show > .nav-link, .topnavbar .navbar-nav > .nav-item.show > .nav-link:hover, .topnavbar .navbar-nav > .nav-item.show > .nav-link:focus {
        box-shadow: 0 -3px 0 #b70f0a inset;
    }
}

.topnavbar .navbar-nav > .nav-item > .navbar-text {
    color: #fff;
}

.topnavbar .navbar-nav > .nav-item > .nav-link, .topnavbar .navbar-nav > .nav-item.show > .nav-link {
    color: #232323;
}

.topnavbar .navbar-nav > .nav-item > .nav-link:hover, .topnavbar .navbar-nav > .nav-item > .nav-link:focus, .topnavbar .navbar-nav > .nav-item.show > .nav-link:hover, .topnavbar .navbar-nav > .nav-item.show > .nav-link:focus {
    color: #322121;
}

.topnavbar .dropdown-item.active, .topnavbar .dropdown-item:active {
    background-color: #b70f0a;
}

.layout-fixed .wrapper .section-container {
    margin-top: 0;
}

.content-wrapper {
    border: 0px !important;
    padding: 40px;
    max-width: 1200px;
}

@media (max-width: 1020px) {
    .content-wrapper {
        padding: 40px 20px 20px 20px;
    }
}

.content-wrapper > .content-section:first-child {
    margin-top: 0;
}

/* forms */
.form-control {
    border-radius: 4px;
    /*color: #c0c0c0;*/
    color: #495057;
    border-color: #f3f3f3;
}

.input-group-text {
    font-size: 14px;
    background-color: #d6d6d6;
    border-color: #d6d6d6;
}

.form-wrapper {
    padding: 1rem 0;
}

.form-wrapper .form-group {
    /*padding: 0 1rem;*/
}

@media (max-width: 768px) {
    .form-wrapper .form-group {
        padding: 0;
    }
}

.form-wrapper .form-group .is-valid, .form-wrapper .form-group .is-invalid {
    border: 1px solid #b70f0a;
}

.form-wrapper .form-group .valid-feedback ul, .form-wrapper .form-group .invalid-feedback ul {
    list-style: none;
    padding: 0;
}

.form-wrapper .form-group .valid-feedback ul li, .form-wrapper .form-group .invalid-feedback ul li {
    font-size: 12px;
    color: #b70f0a;
}

.form-wrapper .form-control {
    /* border-radius: 0; */
    /* height: 50px; */
    /* padding: .5rem !important; */
    /* font-size: 16px; */
}

.form-wrapper textarea.form-control {
    height: auto;
    resize: none;
    min-height: 80px;
}

.form-wrapper .buttons {
    display: flex;
    align-items: center;
}

.form-wrapper .buttons a {
    text-decoration: underline;
    text-transform: uppercase;
}

.form-wrapper label .text-warning {
    margin-left: .25rem;
}

.form-wrapper .switch-group > label {
    margin: 1rem 0;
}

.form-wrapper .switch-group .form-group {
    padding: 0;
}

.form-wrapper .switch-group .form-group .switch {
    display: inline-block;
}

.switches-wrapper {
    margin: 1rem 0;
}

.switches-wrapper.form-inline .form-group {
    margin-right: 2rem;
}

/* ========================================================================
   Component: sidebar
 ========================================================================== */
.wrapper .aside-container .aside-inner {
    padding-top: 0;
}

.brand-logo {
    /*padding: 2rem;*/
    max-width: 8rem;
    margin-left: 2.333rem;
    margin-top: 50px;
}

.brand-logo .slim-logo {
    display: none;
}

/*
@media(max-width: 1020px){
     .brand-logo{
        padding: .5rem;

     }
    .brand-logo img{
        display: none;
    }
    .brand-logo .slim-logo{
        display: block;
        max-width: 2rem;
        margin: 0 auto;
    }   
}
*/

.nav-title {
    padding: 1rem 2.333rem;
    /*margin-top: 0.5rem;*/
}

.sidebar h2 {
    font-size: 1.667rem;
    font-weight: 400;
}

.sidebar h3 {
    font-size: 1rem;
    font-weight: 400;
    /*padding-top: 0.5rem;*/
}

.sidebar {
    background-color: #e8e7e7;
}

.sidebar:after {
    display: none;
}

.sidebar .nav-heading {
    color: #919DA8;
}

.sidebar-nav > li > a > span,
.sidebar-nav > li > a > em {
    font-size: 1rem;
}

.sidebar-nav > li.active > a > span {
    font-weight: 500;
}

.sidebar-nav > li > a,
.sidebar-nav > li > .nav-item {
    color: #232323;
    text-decoration: none;
    padding: 20px 24px;
}

.sidebar-nav > li > a:focus,
.sidebar-nav > li > a:hover,
.sidebar-nav > li > .nav-item:focus,
.sidebar-nav > li > .nav-item:hover {
    color: #b70f0a;
}

.sidebar-nav > li > a > em,
.sidebar-nav > li > .nav-item > em {
    color: inherits;
}

.sidebar-nav > li.active,
.sidebar-nav > li.active > a,
.sidebar-nav > li.active > .nav-item,
.sidebar-nav > li.active .sidebar-nav,
.sidebar-nav > li.open,
.sidebar-nav > li.open > a,
.sidebar-nav > li.open > .nav-item,
.sidebar-nav > li.open .sidebar-nav {
    background-color: #f7f6f6;
    color: #322121;
}

.sidebar-nav > li.active > .nav-item > em,
.sidebar-nav > li.active > a > em,
.sidebar-nav > li.open > .nav-item > em,
.sidebar-nav > li.open > a > em {
    color: #322121;
}

.sidebar-nav > li.active {
    border: 0;
    padding-left: 5px;
}

.sidebar-subnav {
    background-color: #fff;
}

.sidebar-subnav > .sidebar-subnav-header {
    color: #515253;
}

.sidebar-subnav > li > a, .sidebar-subnav > li > .nav-item {
    color: #515253;
}

.sidebar-subnav > li > a:focus, .sidebar-subnav > li > a:hover, .sidebar-subnav > li > .nav-item:focus, .sidebar-subnav > li > .nav-item:hover {
    color: #b70f0a;
}

.sidebar-subnav > li.active > a, .sidebar-subnav > li.active > .nav-item {
    color: #b70f0a;
}

.sidebar-subnav > li.active > a:after, .sidebar-subnav > li.active > .nav-item:after {
    border-color: #b70f0a;
    background-color: #b70f0a;
}

/* responsive */
/*
@media(max-width: 1020px){
    .wrapper .aside-container,
    .wrapper .aside-inner{
        width: 50px !important;
    }
    .wrapper .section-container, .wrapper .footer-container{
        margin-left: 50px;
    }
    .sidebar-nav > li > a > em ~ *, .sidebar-nav > li > .nav-item > em ~ *{
        display: none;
    }
    .sidebar-nav > li > a, .sidebar-nav > li > .nav-item{  
        padding: 12px; 
    }
}

*/
@media (max-width: 767.98px) {
    .sidebar-toggle {
        padding: .5rem;
        top: 0;
    }

    .sidebar-toggle em {
        color: #333333;
    }
}

/* buttons */
.btn-group .btn {
    margin-left: 0;
    margin-right: 0;
}

.btn-fa i, .btn-fa em {
    font-size: 0.75rem !important;
    font-weight: 400;
    line-height: 1em;
}

.btn i {
    margin-right: .25rem;
}

a.btn-primary, a.btn-secondary, a.btn-third {
    text-decoration: none;
    padding: 0.833rem 1.667rem;
    margin-left: 0;
}

.btn-primary {
    background-color: #fcd2cf;
    border-color: #fdd9d7;
    color: #000;
    height: 40px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    opacity: 1;
    padding: 0 1.667rem;
    border-radius: 4px;
    /*margin: 0;*/
}

.btn-delete {
    background-color: red;
    border-color: red;
    color: white;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    height: 40px;
    opacity: 1;
    padding: 0 1.667rem;
    border-radius: 4px;
}

.btn-disabled {
    opacity: 0.3 !important;
    text-decoration: line-through !important;
}


a.btn-delete {
    text-decoration: none;
    padding: 8px 20px;
    color: white;
}

.btn-secondary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    height: 40px;
    padding: 0 20px;
    border-radius: 4px;
    background: #ebebeb;
    color: #232323;
}

.btn-edit {
    background: #aaaaaa;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.btn-third {
    font-family: 'Montserrat', sans-serif;
    height: 40px;
    padding: 0 20px;
    border-radius: 4px;
    background: #d7eb5a;
    color: #232323;
    font-size: 1rem;
    font-weight: 500;
}

.btn-primary:hover {
    /*opacity: .75;*/
    color: #000;
    background-color: #fdd9d7;
    border-color: #fdd9d7;
}

.btn-secondary:hover {
    background: #ebebeb;
    border-color: #d6d6d6;
}

.btn-edit:hover {
    background: #aaaaaa;
    border-color: #d6d6d6;
}

.btn-third:hover {
    background-color: #d7eb5a;
    border-color: #5cb85c;
}

.mt-a {
    margin-top: auto;
}

.ml-a {
    margin-left: auto;
}

.mb-0 {
    margin-bottom: 0;
}

.btn.hover {
    margin: 0;
    line-height: 0;
}

.btn-text-danger {
    color: #b70f0a;
}

.btn-text-danger:hover {
    color: #960804;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #b70f0a;
    border-color: #b70f0a;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #960804;
    border-color: #960804;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(117, 171, 239, 0.5);
}

@media (max-width: 1020px) {
    html {
    }

    .btn {
        font-size: 14px;
    }
}

.simple-layout {
    background: #dddddd;
}

.simple-layout .card {
    background: #f7f6f6;
    border-radius: 4px;
}

.simple-layout .card .card-header {
    display: block;
    text-align: center;
    border-bottom: 0;
}

.simple-layout .card .card-header img {
    max-width: 100px;
}

/* .select2 */
.select2-container--default .select2-selection--single {
    border: 1px solid #dde6e9;
    box-shadow: 0 0 0 #000 !important;
    font-size: 0.875rem;
    height: 2.1875rem;
    padding: 0.175rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.52857;
    background-color: #f3f3f3;
    background-clip: padding-box;
    border: 1px solid #f7f6f6;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
    padding-right: 2rem;
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #495057;
    font-size: 14px;
    border-radius: 4px;
}

.select2-selection__clear {
    right: -.5rem;
    font-size: 1.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    width: 30px;
    border-radius: 0 10px 10px 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    font-size: 30px;
    border-width: 8px 5px 0 5px;
    border-color: #000 transparent transparent transparent;
    margin-top: -4px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #000 transparent;
    border-width: 0 5px 8px 5px;
}

.select2-container--open .select2-dropdown--below {
    overflow: hidden;
}

/* history-block popup */
.swal2-content {
    max-height: 40rem;
    overflow: auto;
    padding-bottom: .1rem !important;
}

.history-block {
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
}

.history-popup table td, .history-popup table th {
    font-size: 1rem;
    padding: .25rem 1rem !important;
}

.history-popup table th {
    font-weight: 400;
    color: #555 !important;
}

.history-popup table td:first-child, .history-popup table th:first-child {
    text-align: left;
}

.history-block .badge + br + .badge {
    margin-top: .2rem;
}

/* filtrace */
.filter {
    display: flex;
}

.filter-wrapper {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 1rem;
}

.filter-item-wrapper {
    max-width: 22rem;
    min-width: 12rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.switch {
    min-width: 14rem;
    max-width: 22rem;
    margin-left: 1rem;
}

.filter-item-wrapper > * {
    margin: 0 .25rem;
}

.filter-item-wrapper > * > * {
    margin: .25rem 0;
}

.filter-item-wrapper.input-group input {
    margin-right: 0;
    margin-left: 0;
    background: white;
    height: 30px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #232323;
}

.filter-item-wrapper.input-group .input-group-append {
    margin-left: 0;
}

.filter-item-wrapper.input-group .input-group-text {
    margin: 0 !important;
    height: 2.1875rem;
}

.filter-item-wrapper.button-plus {
    max-width: 2rem;
    min-width: 4rem;
}

.filter-item-wrapper.first {
    justify-content: flex-start;
}

.filter-item-wrapper.first .right {
}

.filter-item-wrapper.first .right a {
    margin: .1rem;
}

.right button {
    color: #d6d6d6;
    border: none;
    background: none;
}

button.active {
    color: black;
}

.right button:hover {
    color: white;
}

/* datatable fulltext */
.search.form-group .input-group {
    position: relative;
}

.search.form-group .input-group .input-group-addon {
    position: absolute;
    display: block;
    width: 2rem;
    height: 2rem;
    right: 0;
    margin-right: 0;
    z-index: 2;
    text-align: center;
    line-height: 2rem;
}

/* bootgrid-table */
.bootgrid-table .col-actions .btn {
    opacity: 0.25
}

.bootgrid-table tr:hover .col-actions .btn {
    opacity: 1
}

.bootgrid-table thead th {
    vertical-align: top;
}

.bootgrid-table tbody td {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.bootgrid-table tbody tr:hover td {
    background-color: #dee2e682;
}

.bootgrid-header {
    margin-top: 0;
}

.bootgrid-footer {
    margin-bottom: 0;
}

.dropdown-menu {
    padding: 0 !important;
}

/* pagination */
.pagination .page-item:not(.disabled) {
    cursor: pointer;
}

.pagination .page-item.disabled a {
    /* opacity: 0.25; */
    background-color: #f3f3f3;
    color: #000;
    border-color: #f3f3f3;
}

.page-item:first-child .page-link {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.page-link {
    color: #000;
    border-color: #f3f3f3;
}

/* dashboard */
.dashboard .heading {
    display: flex;
    white-space: nowrap;
    margin-bottom: 2rem;
}

.dashboard .heading select {
    margin-left: 2rem;
    max-width: 15rem;
}

.card {
    padding: 1rem 0;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 0;
    background: #fff;
}

.card > * {
    padding-left: 1rem;
    padding-right: 1rem;
}

.card .header span {
    font-size: 12px;
}

.card .header span:first-child {
    font-size: 14px;
    color: #000;
}

.card .header > * {
    color: #aaaaaa;
    margin-right: 1rem;
}

.card .header i:hover {
    color: #000;
}

.card .header > i {
    margin-right: 0;
    cursor: pointer;
}

.card .header.user-line h3 {
    padding: 0;
    color: #000;
    font-size: 14px;
    flex-basis: 33%;
}

.card .header.user-line .position {
    font-size: 10px;
    color: #fff;
    background-color: rgb(122 122 122 / 1);
    padding: .1rem .5rem;
    border-radius: 4px;
}

.card .header.user-line a:last-child {
    margin-right: 0;
}

.card.card-free {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.card.card-grey {
    padding: 15px;
    background-color: #f7f6f6;
    border-radius: 4px;
}

.card ul {
    padding-left: 2.5rem;
    border-top: 1px solid #eaeaea;
    margin-top: 1rem;
    padding-top: .5rem;
}

.card ul li {
    font-size: 14px;
    padding: .125rem 0;
    color: #000;
}

.card .form-wrapper .form-group {
    padding: 0rem;
}

.card .btn {
    display: inline-block !important;
}

.card.period ul {
    list-style: none;
    padding-left: 0;
}

.card.period ul li input {
    margin-right: .5rem;
    vertical-align: middle
}

.modal .card {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    padding: 0;
    margin-bottom: 0;
}

.card > small {
    font-size: 12px;
    /* padding-bottom: .5rem; */
    color: #888;
    /* border-bottom: 1px solid #737373; */
}

.card h3 {
    padding-top: .5rem;
    padding-bottom: .5rem;
    font-weight: 400;
    font-size: 18px;
    margin: 0;
}

.card .card-no-data {
    display: flex;
    align-items: center;
}

.card .card-no-data i {
    font-size: 2.167rem;
    margin-right: 2rem;
}

.card .card-no-data h2 {
    color: #7a7a7a;
    font-size: 1.25rem;
    font-weight: 400;
}

.card .card-no-data p {
    font-size: 1rem;
    color: #7a7a7a;
    margin-bottom: 0;
}

.card .card-no-data a {
    font-size: 1rem;
    color: #7a7a7a;
    margin-bottom: 0;
}

.card.card-list {
    padding-bottom: 0;
}

.card.card-list .card-header {
    padding-bottom: 1rem;
}

.show-child-hover:not(:hover) .hover {
    display: none;
}

.show-child-hover:not(:hover) .visible {
    visibility: hidden !important;
}

.card.calendar-item .name {
    color: #000;
    margin-bottom: .25rem;
}

.card.calendar-item .account {
    font-size: 12px;
}

.card.calendar-item a {
    color: #afafaf;
}

.card.calendar-item a:hover {
    color: #000;
}

/* pagination */
.pagination {
    padding-left: 0 !important;
    padding-top: 0 !important;
    border: 0 !important;
}

/* modal */
.modal .modal-content {
    border: 0;
}

.modal .modal-body {
    padding: 0 !important;
}

.modal .modal-body .card-header {
    padding: 1rem;
    font-size: 18px;
}

/* progress-box */
.progress-box {
    display: flex;
}

.progress-box span {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    text-align: center;
    color: #fff;
    font-weight: 600;
    border: 1px solid #fff;
}

.progress-box .box.nb span {
    border-left: 0;
    border-right: 0;
}

.progress-box {
    padding-top: 1rem;
    position: relative;
}

.progress-box .box .red {
    background-color: #b70f0a;
}

.progress-box .box .red-light {
    background-color: #fdd9d7;
}

.progress-box .box .orange {
    background-color: #ffc581;
}

.progress-box .box .grey {
    background-color: #aaaaaa;
}

.progress-box .box .grey-light {
    background-color: #f2f2f2;
}

.progress-box small {
    display: block;
    font-size: .75rem;
}

.progress-box strong {
    display: block;
    position: absolute;
    font-weight: 400;
    font-size: .75rem;
    top: 0;
}

.progress-box.progress-wide span {
    width: auto;
}

.progress-box.progress-content span {
    width: auto;
    padding: .125rem .5rem;
    height: auto;
    width: auto;
}

/* table */
.table-hoverable thead tr th {
    font-size: 1rem;
    font-weight: 400;
    border-bottom: 1px solid #444444;
    padding: 0.25rem 0;
}

.table-hoverable thead tr th a i {
    color: #aaa;
    font-size: 1rem;
}

.table-hoverable tbody tr:hover {
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
}

.table-hoverable tbody td small {
    display: block;
}

.wrapper-event {
    height: 100%;
}

.wrapper-event > div {
    display: flex;
    align-items: center;
    align-items: stretch;
}

.wrapper-event .date > * {
    display: block;
    text-align: center;
    vertical-align: middle;
    line-height: 1em;
    color: #000;
}

.wrapper-event .date {
    background-color: #ebebeb;
    padding: 0.75rem 1rem;
}

.wrapper-event .date strong {
    font-size: 1.2rem;
}

.wrapper-event .date small {
    font-size: 2rem;
}

.wrapper-event .name {
    background-color: #f7f6f6;
    padding: 0.75rem 1rem;
    position: relative;
    margin-right: 2rem;
    position: relative;
    width: 100%;
}

.wrapper-event .name:after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1rem 0 1rem 2rem;
    border-color: transparent transparent transparent #f7f6f6;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
}

.wrapper-milestone {
    /* padding-left: 0 !important; */
}

.wrapper-milestone .milestone-item {
    border-left: .75rem solid transparent;
    padding-left: .75rem;
    min-height: 4rem;
    position: relative;
    border-color: #f2f2f2;
}

.wrapper-milestone .milestone-item.red {
    border-color: #b70f0a;
}

.wrapper-milestone .milestone-item.red-light {
    border-color: #fdd9d7;
}

.wrapper-milestone .milestone-item.orange {
    border-color: #ffc581;
}

.wrapper-milestone .milestone-item.grey {
    border-color: #aaaaaa;
}

.wrapper-milestone .milestone-item.grey-light {
    border-color: #f2f2f2;
}

.box-grey {
    display: inline-block;
    background-color: #f7f6f6;
    padding: 0.125rem .5rem;
}

/* event-header */
.event-header {
    max-width: 70%;
}

.event-header .event-statuses {
    padding: 0;
    list-style-type: none;
    font-size: 1rem;
    line-height: 1.1em;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 1.5rem;
}

.event-header .event-statuses li {
    float: left;
    color: #232323;
    position: relative;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    width: 24.68%;
    height: 30px;
    line-height: 30px;
    font-size: 1rem;
    background: white;
}

.event-header .event-statuses li:after {
    content: '';
    border-left: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    position: absolute;
    top: -1.6px;
    left: 100%;
    z-index: 20;
}

.event-header .event-statuses li.active {
    background: #fcd2cf;
}

.event-header .event-statuses li.active:after {
    border-left-color: #fcd2cf;
}

.event-header .people {
    font-size: 1.333rem;
    font-weight: 700;
    margin-top: 2rem;
}

.event-header .col-form-label {
    font-size: 1rem;
    font-weight: 400;
}

.event-header .date > * {
    display: block;
}

.event-header .date strong {
    font-size: 18px;
    color: #000;
}

.event-header .date small {
    font-size: .75rem;
    color: #929292;
}

.event-header h1 {
    color: #000;
    font-weight: 400;
    font-size: 32px;
    margin: .75rem 0;
}

.event-header .owner {
    color: #929292;
}

.event-header .tabs {
    margin: 1rem 0;
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #737373;
}

.event-header .tabs li {
    display: inline-block;
}

.event-header .tabs li a {
    color: #929292;
    margin-right: 1rem;
    margin-bottom: .25rem;
    display: block;
}

.event-header .tabs li.active a {
    color: #000;
    /* font-size: 1.2rem; */
    font-weight: 600;
}

.event-info-content h4 {
    border-bottom: 1px solid #737373;
    font-weight: 400;
    padding: 1rem 0;
    margin-bottom: 2rem;
    font-size: 12px;
}

.event-info-content .wrapper-milestone {
    padding-left: 0;
}

.event-info-content > .budget {
    margin: 2rem 1% 2rem;
}

/*.event-info-content > .budget .flex {*/
/*    margin: .5rem 0;*/
/*}*/

.event-info-content > .budget .flex small {
    display: block;
    font-size: 12px;
}

.event-info-content > .budget .flex span {
    display: block;
    font-size: 18px;
}

.event-info-content > .budget .flex > div:last-child {
    text-align: right;
}

.event-info-content > .budget .flex ~ .flex span {
    display: block;
    font-size: 14px;
}

.event-schedule {
    position: relative;
    margin: 3rem 0 1rem 0;
}

.event-schedule .lines {
    background-color: #ebebeb;
    height: 50px;
}

.event-schedule .line {
    position: absolute;
    height: 50px;
}

.event-schedule .line.type-1 {
    background-color: #f1cfce;
}

.event-schedule .line.type-2 {
    background-color: #b70f0a;
}

.event-schedule .line.type-3 {
    background-color: #f1cfce;
}

.event-schedule .line.type-4 {
    background-color: #ffc581;
}

.event-schedule .line span {
    position: absolute;
    top: -2rem;
    white-space: nowrap;
    color: #000;
    font-weight: 600;
}

.event-schedule > .hours {
    height: 2rem;
}

.event-schedule > .hours > .hour {
    position: absolute;
    transform: translateX(-50%);
}

.event-schedule > .hours > .hour:nth-child(1) {
    transform: translateX(0);
}

.event-schedule > .hours > .hour:last-child {
    transform: translateX(-100%);
}

.event-schedule .hour {
    font-size: 19px;
}

.budget-graph-wrapper .budget-graph {
    margin: 2px 0;
    height: 1.2rem;
    position: relative;
}

.budget-graph-wrapper .budget-graph > div {
    position: absolute;
    background-color: #bfc0c0;
    height: 100%;
    left: 0;
    max-width: 100%;
    border-right: 2px solid #fff;
}

.budget-graph-wrapper .budget-graph.budget {
    height: 3.5rem;
}

.budget-graph-wrapper .budget-graph.budget > div {
    background-color: #d7eb5a;
    height: 3.5rem;
}

.budget-graph-wrapper .budget-graph.costs {
    height: 3.5rem;
}

.budget-graph-wrapper .budget-graph.costs > div {
    /*background-color: #d7eb5a;*/
    height: 3.5rem;
}

/* event list */
.event-info-list {
    width: 100%;
    background: #FFFFFF;
    border-radius: 4px;
    margin-bottom: 10px;
    height: 60px;
}

.event-info-list a {
    text-decoration: none;
}

.event-info-list > div {
    height: 60px;
    line-height: 60px;
}

.event-info-list > div > a,
.event-info-list > div > h2 {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.event-info-list .time_to_left {
    font-style: italic;
    color: #d6d6d6;
    font-weight: 100;
}

.event-info-list .date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.167rem;
    color: #232323;
}

.event-info-list .name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #232323;
}

.event-info-list .people {
    font-weight: 500;
    font-size: 1rem;
    color: #232323;
    line-height: 1.667rem;
    margin-top: 1.667rem;
}

.event-info-list .status {
    font-size: 0.75rem;
    line-height: 1.667rem;
    height: 20px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.event-info-list .status.status_-1 {
    background: #ffa382;
    color: #FFFFFF;
}

.event-info-list .status.status_0,
.event-info-list .status.status_1 {
    background: #d6d6d6;
    color: #232323;
}

.event-info-list .status.status_2 {
    background: #ffc957;
    color: #232323;
}

.event-info-list .status.status_3,
.event-info-list .status.status_4 {
    background: #5cb85c;
    color: #FFFFFF;
}

.list_-1,
.list_0,
.list_1,
.list_2,
.list_3,
.list_4 {
    border-left: 10px solid;
    border-radius: 4px;
}

.list_-1 {
    border-color: #ffc3ae;
}

.list_0 {
    border-color: #ffc3ae;
}

.list_1 {
    border-color: #ebebeb;
}

.list_2 {
    border-color: #ffd783;
}

.list_3, .list_4 {
    border-color: #72bb53;
}

/* da-filter */
.da-filter {
    padding: 0;
    list-style: none;
    margin-bottom: 2rem;
}

.da-filter li {
    display: inline-block;
    background-color: #f7f6f6;
    color: #000;
    position: relative;
    margin: 0;
    cursor: pointer;
}

.da-filter li a {
    padding: .5rem 1rem .5rem 1rem;
    display: block;
}

.da-filter li.active {
    background-color: #b70f0a;
    color: #fff;
}

.da-filter li.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: .75rem 1rem 0 1rem;
    border-color: #b70f0a transparent transparent transparent;
}

/* event-ahead-wrapper */
.event-ahead-wrapper {
    display: flex;
}

.event-ahead-wrapper select {
    max-width: 15rem;
    margin-left: 2rem;
}

/* box*/
.box {
    margin-bottom: 2rem;
}

.box h3 {
    border-bottom: 1px solid #737373;
    font-size: 1rem;
    font-weight: 400;
    color: #888;
    padding: 0.25rem 0;
    line-height: 1.52857;
}

.person {
    margin-bottom: 1rem;
}

.person > * {
    display: block;
}

.person span {
    font-size: 1rem;
}

/* document-items */
.document-items .document {
    margin: 1rem 0;
    align-items: center;
}

.document-items .document > div:nth-child(2n) {
    flex: 0 0 80%;
}

.document-items .document strong {
    display: block;
    font-weight: 400;
}

.document-items .document small {
    display: block;
}

.dropify-wrapper {
    height: 7rem !important;
    /*margin: 2rem 0 1rem 0;*/
    background-color: #fafafa !important;
}

/* history-list */
.history-wrapper > div {
    max-height: 20rem;
    overflow: auto;
    padding-right: 1rem;
}

.history-list {
    margin: .5rem 0;
}

.history-list .customer:after, .history-list .venue:after {
    content: '';
    clear: both;
    display: block;
}

.history-list .customer p, .history-list .venue p {
    margin-bottom: 0;
    padding: .5rem 1.5rem .5rem .75rem;
    position: relative;
    display: inline-block;
    max-width: 47%;
}

.history-list .customer p:after, .history-list .venue p:after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    border-style: solid;
    border-width: .75rem 0 0 1rem;
    border-color: transparent transparent transparent #aaaaaa;
}

.history-list .venue p:after {
    border-style: solid;
    border-width: 0 1rem .75rem 0;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    border-color: transparent #f7f6f6 transparent transparent;
}

.history-list .customer p small, .history-list .venue p small {
    position: absolute;
    display: block;
    color: #aaaaaa;
    right: 0;
    bottom: -1rem;
}

.history-list .customer p a, .history-list .venue p a {
    text-decoration: underline;
}

.history-list .customer + .customer p, .history-list .venue + .venue p {
    margin-top: 1.5rem;
}

.history-list .customer p {
    background-color: #aaaaaa;
    color: #fff;
}

.history-list .venue p {
    float: right;
    background-color: #f7f6f6;
}

.history-list .venue p small {
    left: 0;
}

/* fullcalendar */
.fc h2 {
    font-size: 1rem;
    line-height: 30px;
    font-weight: 500;
    min-width: 110px;
}

.fc-unthemed td,
.fc-unthemed .fc-list-heading td {
    border: 0;
}

.fc .fc-button-group {
    border-radius: 4px;
    overflow: hidden;
}

.fc-left {
    background: #ebebeb;
    border-radius: 4px;
    height: 30px;
}

.fc-left h2::first-letter {
    text-transform: uppercase;
}

.fc-day-number {
    font-size: 1rem;
}

.fc-left button {
    background: #d6d6d6 !important;
    color: white;
    font-size: 1rem;
    border-radius: 0 !important;
}

.fc-left .fc-prev-button {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.fc-left .fc-next-button {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

.fc .fc-state-default {
    /*background: none;*/
    text-shadow: none;
    box-shadow: none !important;
    border: 0;
    background-color: #aaaaaa !important;
    height: 30px;
    padding: 0 .8rem;
}

.fc .fc-state-default.fc-state-active {
    background-color: #e0e0e0;
}

.fc-widget-header .fc-mon {
    border-top-left-radius: 5px;
}

.fc-widget-header .fc-sun {
    border-top-right-radius: 5px;
}

.fc .fc-body .fc-day-top {
    color: #aaaaaa;
    font-size: 18px;
    padding: 5px 10px 0 0;
}

.fc .fc-body .fc-day {
    border: 1.5px #F7F6F6 solid;
}

.fc-body td {
    border: 2px #F7F6F6 solid;
}

.fc .fc-body .fc-future, .fc .fc-body .fc-past {
    background: #FFFFFF;
}

.fc .fc-body .fc-today {
    background: #FFFFFF;
}

.fc .fc-body .fc-sat, .fc .fc-body .fc-sun {
    background: #ebebeb;
}

.fc .fc-body .fc-other-month {
    background: #d6d6d6;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1rem;
}

.fc .fc-head .fc-day-header {
    color: #fff;
    font-size: 0.833rem;
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    padding: 5px;
    border: 0;
    background: #7a7a7a;
}

.fc .fc-body .fc-event-container {
}

.fc .fc-body .fc-event-container a {
    border: 0;
    padding: 5px;
    margin: 0;
    border-radius: 4px;
}

.fc .fc-body .fc-event-container .fc-content {
}

.fc .fc-body .fc-event-container .fc-title {
    color: #000;
    font-size: 0.917rem;
    font-weight: 500;
}

.fc .fc-body .fc-event-container .fc-title small {
    display: block;
}

.event-info .status {
    border-radius: 4px;
    padding: 2px 5px;
}

.event-info .header, .event-info .header a {
    color: #000;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
}

.expired {
    background-color: #ebebeb;
}

.reserved {
    background-color: #ffd783;
}

.confirmed {
    background-color: #72bb53;
}

.canceled {
    background-color: #ffc3ae;
}

/*booked*/
.fc-event.color_2, .event-info .status.status_2 {
    background-color: #ffc956;
    color: #232323;
}

.event-info .header.color_2 {
    background-color: #ffd783;
}

/*reserved*/
.fc-event.color_3, .event-info .status.status_3 {
    background: #5cb85c;
}

.event-info .header.color_3 {
    background: #72bb53;
}

.status .status_3,
.status .status_4 {
    background: #5cb85c;
    color: white;
    font-size: 0.75rem;
}

/*confirmed*/
.fc-event.color_4, .event-info .status.status_4 {
    background: #5cb85c;
}

.event-info .header.color_4 {
    background: #72bb53;
}

/*archived*/
.fc-event.color_5, .event-info .status.status_5 {
    background-color: #e6e6e6;
}

.event-info .header.color_5 {
    background-color: rgb(230 230 230 / 80%);
}

/*cancelled*/
.fc-event.color_0, .fc-event.color_1, .event-info .status.status_0, .event-info .status.status_1 {
    /*background-color: #cccccc;*/
    background: #ebebeb;
}

.fc-event.color_1 {
    color: #232323;
}

.event-info .status.status_1 {
    color: #232323;
    background: #d6d6d6;
}

.event-info .header.color__0, .event-info .header.color_1 {
    background: #ebebeb;
    /*background-color: rgb(204 204 204 / 80%);*/
}

.color_1 .date {
    color: #7a7a7a;
}

/*Declined*/
.header.color_-1 {
    background: #ffc3ae;
}

.header.color_-1 .date, .header.color_2 .date {
    color: #232323;
}

.header.color_-1 .status {
    background: #ffa382;
}

.fc-event.color_-1, .event-info .status.status_-1 {
    background: #ffa382;
}

.event-info .header.color_4 {
    background: #72bb53;
}

.status .status_-1 {

}

/*overdue*/
.fc-event.color_XX, .event-info .status.status_XX {
    background-color: #b30d0d;
}

/* event thumb */
.event-info .header.colorXX {
    background-color: rgb(179 13 13 / 80%);
}

.event-info .header.color_-1,
.event-info .header.color_2,
.event-info .header.color_-1 a,
.event-info .header.color_2 a,
.fc .fc-body .color_-1 .fc-title,
.fc .fc-body .color_2 .fc-title,
.fc .fc-body .color_1 .fc-title,
.event-info .header.color_1,
.event-info .header.color_1 a {
    color: #232323;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.event-info .header.color_0,
.event-info .header.color_3,
.event-info .header.color_4,
.event-info .header.color_0 a,
.event-info .header.color_2 a,
.event-info .header.color_3 a,
.event-info .header.color_4 a,
.fc .fc-body .color_3 .fc-title,
.fc .fc-body .color_4 .fc-title,
.fc .fc-body .color_XX .fc-title {
    color: #fff;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.tooltipevent {
    width: 250px;
    position: absolute;
    z-index: 10001;
    background: #fff;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
    border-radius: 4px;
}

.event-info {
    position: relative;
}

.event-info .content .name {
    line-height: 1.333rem;
    min-height: 30px;
}

.event-info .header, .event-info .content, .event-info .footer {
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 12px;
}

.event-info .footer {
    padding-bottom: 10px;
}

.event-info .footer, .budget {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.people {
    font-weight: 500;
    font-size: 1rem;
    color: #232323;
}

.event-info .header {
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
}

.event-info .header > * {
    margin: 0 5px;
}

.event-info .header .date {
    font-size: 1.167rem;
    font-weight: 500;
    text-align: left;
    line-height: 1.25em;
}

.event-info .header .status {
    font-size: 0.75rem;
}

.event-info .header .close {
    font-size: 14px;
    text-shadow: none;
}

.event-info .content .name {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
}

.event-info hr {
    border-color: #d6d6d6;
    margin: 0;
}

.event-info hr + hr {
    display: none;
}

.event-info .time_to_left {
    position: absolute;
    font-style: italic;
    top: -1.5rem;
    color: #d6d6d6;
    font-weight: 100;
    margin-left: .5rem;
}

.event-info .manager {
    padding: 10px 15px;
}

.event-info .manager small {
    color: #aaaaaa;
    font-weight: 400;
}

.event-info .manager > div {
    display: flex;
    color: #000;
    align-items: center;
    margin: 0.25rem 0 0 0;
}

.event-info .manager > div > div:first-child {
    background-color: #aaaaaa;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    margin-right: 1rem;
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
}

.event-info .manager > * > div:last-child {
    font-size: 14px;
    line-height: 1em;
}

.persons-wrapper, .customers-wrapper, .suppliers-wrapper, .events-wrapper {
    display: flex;
    margin: 1rem -1%;
    flex-wrap: wrap;
}

.events-wrapper.events-wrapper-list {
    display: flex;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.events-wrapper.js_events-wrapper.events-wrapper-list .row.event-info-list {
    margin: 0.3rem 0;
}

.persons-wrapper .person-info, .customers-wrapper .customer-info, .suppliers-wrapper .supplier-info, .events-wrapper .event-info {
    flex-basis: 23%;
    margin: 2rem 1% 1rem;
    background: #fff;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
    border-radius: 4px;
}

@media (max-width: 1020px) {
    .persons-wrapper .person-info, .customers-wrapper .customer-info, .suppliers-wrapper .supplier-info, .events-wrapper .event-info {
        flex-basis: 31%;
    }
}

@media (max-width: 768px) {
    .persons-wrapper .person-info, .customers-wrapper .customer-info, .suppliers-wrapper .supplier-info, .events-wrapper .event-info {
        flex-basis: 48%;
    }
}

@media (max-width: 500px) {
    .persons-wrapper .person-info, .customers-wrapper .customer-info, .suppliers-wrapper .supplier-info, .events-wrapper .event-info {
        flex-basis: 100%;
        margin: .5rem 0;
    }
}

.event-info-content .js_company-wrapper .person-info, .event-info-content .js_suppliers-wrapper .supplier-info {
    flex-basis: 100%;
    margin: 0 0 2rem 0;
}

/* supplier thumb */
.supplier-info {
    position: relative;
}

.supplier-info hr {
    margin: 0;
    padding: 0;
}

.supplier-info > * {
    padding: 15px;
}

.supplier-info .flex {
    justify-content: left;
    align-items: center;
}

.supplier-info .name {
    font-size: 18px;
    text-align: left;
}

.supplier-info .logo {
    background-color: #FFC107;
    width: 3.333rem;
    height: 3.333rem;
    line-height: 3.333rem;
    margin-right: 1rem;
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
}

.supplier-info .logo i {
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #000;
}

.supplier-info .logo.technic {
    background-color: #ffc3ae;
}

.supplier-info .logo.other {
    background-color: #b70f0a;
}

.supplier-info .logo.other i {
    color: #fff;
}

.supplier-info .contact .fa {
    margin-right: .5rem;
}

/* person thumb */
.person-info {
    position: relative;
}

.person-info hr {
    margin: 0;
    padding: 0;
}

.person-info > * {
    padding: 15px;
}

.person-info .flex {
    justify-content: left;
    align-items: center;
}

.person-info .company-name {
    padding-bottom: 0;
}

.person-info .name {
    font-size: 18px;
    text-align: left;
}

.person-info .logo {
    background-color: #aaaaaa;
    width: 3.333rem;
    height: 3.333rem;
    line-height: 3.333rem;
    margin-right: 1rem;
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
}

.person-info .info {
    justify-content: space-between;
}

.person-info .contact .fa {
    margin-right: .5rem;
    color: #606060;
}

.person-info .name a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: #232323;
}

.person-info a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    color: #000000;
}

/* cards */
.cards {
}

.cards .card {
    flex-basis: 23%;
    margin: 2rem 1% 1rem;
    background: #fff;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
}

.cards-2 .card {
    flex-basis: 48%;
}

.cards-3 .card {
    flex-basis: 31%;
}

.cards-4 .card {
    flex-basis: 23%;
}

.cards-5 .card {
    flex-basis: 18%;
}

.card-budget {
    padding-left: 0;
    padding-right: 0;
}

.card-budget > * {
    padding-left: 1rem;
    padding-right: 1rem;
}

.card-budget .list {
    border-top: 1px solid #eaeaea;
    margin: 1rem 0 0 0;
    padding-top: 1rem;
}

.card-budget .list .item {
    margin: 0.5rem;
}

.card-budget .list .dot {
    background-color: #f9a19a;
    color: #fff;
    font-size: .7rem;
    width: 1rem;
    height: 1rem;
    text-align: center;
    line-height: 1rem;
    border-radius: 50%;
    margin-right: .25rem;
}

.card-budget .price {
    font-size: 1.2rem;
}

.card-budget .list.budget {
    /* margin-top: 0; */
}

.card-budget .list.cost {
    margin-bottom: 1rem;
}

.card-budget .list.budget .dot {
    background-color: #d7eb5a;
}

.card-budget .list.over-budget .dot {
    background-color: #72bb53;
}

.card-budget .list.cost .dot {
    background-color: #f9a19a;
}

/* customer thumb */
.customer-info {
    position: relative;
}

.customer-info hr {
    margin: 0;
    padding: 0;
}

.customer-info > * {
    padding: 15px;
}

.customer-info .name {
    min-height: 60px;
}

.customer-info .name a {
    font-size: 1.25rem;
    text-align: left;
    font-weight: 500;
    text-decoration: none;
    color: #232323;
}

.customer-info .info .events-count,
.person-info .info .events-count {
    font-weight: 600;
    font-size: 1rem;
    color: #000000;
}

/* content-section issues */
.content-section.issues .small-heading > * {
    margin-left: 0;
}

.content-section.issues .small-heading > *:first-child {
    width: 24rem;
}

.content-section .buttons {
    margin-top: 3rem;
}

.issue-wrapper {
    display: flex;
    margin: 1rem 0;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 00px rgba(0, 0, 0, 0.1);
    z-index: 1;
    background-color: #fff;
    justify-content: normal;
    align-items: center;
    cursor: pointer;
    transform: scale(1);
    transition: all 200ms ease-in-out;
}

.issue-wrapper:hover {
    transform: scale(1.01);
}

.issue-wrapper > * {
    padding: .5rem 1rem;
}

.issue-wrapper:before {
    position: absolute;
    top: 0;
    left: 0;
    width: .75rem;
    height: 100%;
    content: '';
    display: block;
    background-color: transparent;
}

.issue-wrapper.red:before {
    background-color: #b70f0a;
}

.issue-wrapper.red-light:before {
    background-color: #fdd9d7;
}

.issue-wrapper.orange:before {
    background-color: #ffc581;
}

.issue-wrapper.grey:before {
    background-color: #aaaaaa;
}

.issue-wrapper.grey-light:before {
    background-color: #f2f2f2;
}

.issue-wrapper .date {
    width: 6rem;
    text-align: center;
}

.issue-wrapper .date small {
    font-size: 2.2rem;
    display: block;
    line-height: 1em;
    margin-top: -.5rem;
}

.issue-wrapper .date strong {
    font-size: 1rem;
    font-weight: 100;
    text-transform: uppercase;
}

.issue-wrapper .event-name {
    width: 17rem;
    font-size: 1.2rem;
}

.issue-wrapper .milestone {
    width: 20rem;
    color: #000;
    font-size: 1.4rem;
}

.issue-wrapper .author {
    width: 17rem;
    color: #929292;
}

.issue-wrapper .time-to-left {
    color: #929292;
    text-align: right;
    width: 10rem;
    margin-left: auto;
    padding-right: 2rem;
    font-size: 1rem;
}

.event-info .time-to-left {
    color: #c0c0c0;
    font-size: 1rem;
    font-weight: 400;
}

.issue-wrapper.red .time-to-left, .issue-wrapper.red-light .time-to-left {
    color: #000;
}

/* venue-edit */
.venue-edit .add-space-form:not(.hidden) + a, .venue-edit .add-user-form:not(.hidden) + a {
    display: none;
}

.venue-edit ul li {
    color: #616161;
}

/*.venue-edit form[name=form_venue_venue] .form-group, .venue-edit form[name=form_venue_venue] .buttons {*/
/*    max-width: 30rem;*/
/*}*/

/* voucher-info */
.voucher-info {
    margin: 4rem auto;
    max-width: 70rem;
    text-align: center;
}

@media (min-width: 991px) {
    .voucher-info {
        text-align: left;
    }
}

.voucher-info p {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    padding-bottom: 4px;
}

.voucher-info p + p {
    font-size: 0.833rem;
    color: #666
}

.item.row.budget-item {
    margin: 0px !important;
}

.budget-col {
    padding-right: 10px;
}

.col-2.budget-col {
    padding: 0px;
}

/*Login page*/
.login-card {
    width: 380px;
    padding: 2.5rem 2rem;
    border-radius: 4px;
    background: #c0c0c0;
}

.login-card h2 {
    font-size: 1.667rem;
    margin-bottom: 25px;
    padding: 0px;
}

.login-card label {
    font-size: 1rem;
    color: #000000;
    margin: 0;
    padding: 2px;
}

.login-card .card-body {
    padding: 0px;
}

.login-card .btn-primary {
    border: 0;
    height: 40px;
}

.login-card a.text-muted {
    font-size: 0.833rem;
}

.login-card input {
    height: 40px;
    border-radius: 4px !important;
    padding: 4px 8px;
    color: #232323 !important;
    font-size: 1rem;
    font-weight: 500;
}

::placeholder,
.login-card input::placeholder,
.login-card input::-moz-placeholder,
.login-card input::-ms-input-placeholder,
.login-card input::-webkit-input-placeholder {
    font-style: italic !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    border-radius: 4px !important;
}

.login-footer {
    position: absolute;
    bottom: -40px;
    width: 100%;
    height: 220px;
    background: white;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Venue edit form */
#venue-edit-form-group .form-group {
    margin-bottom: 0;
}

#venue-edit-form-group input {
    border: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text, .input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text, .input-group > .input-group-prepend:first-child > .btn:not(:first-child), .input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) {
    margin: 0;
    width: 35px;
}

/* Venue profile form in venue form*/
.venue-profile-list {
    background: white;
    border-radius: 4px;
    padding: 15px;
    height: 200px;
    overflow: auto;
}

/*.venue-profile-list input[type=checkbox] {*/
/*    -ms-transform: scale(1.2); !* IE *!*/
/*    -moz-transform: scale(1.2); !* FF *!*/
/*    -webkit-transform: scale(1.2); !* Safari and Chrome *!*/
/*    -o-transform: scale(1.2); !* Opera *!*/
/*    height: 1rem;*/
/*    color: #232323;*/
/*    background-color: white !important;*/
/*}*/
.venue-profile-list .form-check-input:checked ~ .form-check-label::before {
    border-color: #D7B1D7;
    background-color: #D7B1D7;
}

.venue-profile-list .form-check-label {
    margin-left: 0.4rem;
}

.form-check-input {
    margin-top: 0.2rem;
}

.form-check {
    margin-bottom: 5px;
}

.venue-profile {
    background: #ebebeb;
    border-radius: 4px;
    color: black;
    padding: 15px;
}

.settings-footer {
    font-size: 0.833rem;
    color: #232323;
    font-weight: 400;
    margin-top: 1rem;
}

/*Drag and drop upload*/
.upload-area {
    width: 70%;
    height: 200px;
    border: 2px solid lightgray;
    border-radius: 4px;
    margin: 0 auto;
    margin-top: 100px;
    text-align: center;
    overflow: auto;
}

.upload-area:hover {
    cursor: pointer;
}

.upload-area h1 {
    text-align: center;
    font-weight: normal;
    font-family: sans-serif;
    line-height: 50px;
    color: darkslategray;
}

#file {
    display: none;
}

/* Thumbnail */
.thumbnail {
    width: 80px;
    height: 80px;
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 4px;
    float: left;
}

.size {
    font-size: 12px;
}

/*From mirek.css*/
.hidden {
    display: none !important;
}

.pull-right {
    float: right;
}

.event-ahead-wrapper {
    margin-bottom: 2rem;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/*priprava*/
.chart.schedule .type-1 {
    background-color: rgba(255, 0, 0, 0.5);
}

/*program*/
.chart.schedule .type-2 {
    background-color: rgba(255, 0, 0);
}

/*po akci*/
.chart.schedule .type-3 {
    background-color: rgba(0, 0, 255);
}

/*catering*/
.chart.schedule .type-4 {
    background-color: yellow;
}

.supplier-info,
.person-info,
.customer-info,
.event-info,
.event-info-list {
    cursor: pointer;
}

#myModal .close {
    color: #000;
}

input.form-control.datetimepicker.flatpickr-input.input {
    border-radius: 4px;
    background: white;
}

.switch-bg {
    background: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 7px;
    margin-top: 1px;
    height: 40px;
}

.switch-bg label {
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
}

.description-note {
    background: #d6d6d6;
    padding: 0 1rem;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    height: 40px;
    font-size: 0.917rem;
    color: #232323;
    line-height: 40px;
}

.channels-first {
    background: white;
    height: 60px;
    border-bottom: 1px solid #e4eaec;;
    margin: auto;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.channels {
    background: white;
    height: 60px;
    border-bottom: 1px solid #e4eaec;;
    margin: auto;
}

.channels-last {
    background: white;
    height: 60px;
    margin: auto;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.portals-logo .img-responsive {
    max-width: 150px;
    padding: 10px;
    margin-top: 10px;
    opacity: 0.3;
}

.portals-contact p {
    line-height: 60px;
    text-align: right;
    color: #7a7a7a;
    font-size: 0.917rem;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

.shadow-box {
    background: #fff;
    padding-top: 10px;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
}

.price.total-budget {
    font-size: 2rem !important;
}

.price.total-billed {
    font-size: 1.8rem !important;
}

.form-group-col {
    padding: 0px;
}

.col-form-label {
    color: #000000;
    padding: 0;
}

input#name {
    height: 50px;
    font-size: 1.25rem;
    line-height: 50px;
    color: #232323;
    font-weight: 500;
}

.form-wrapper .form-control {
    height: 40px;
    line-height: 40px;
    color: #232323;
    font-size: 1rem;
    font-weight: 500;
}

#perex {
    border-radius: 4px !important;
}

.input-with-desc input {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #232323;
}

.title {
    font-size: 2.5rem;
    color: #000000;
    font-weight: 400;
    margin-left: -2px;
    margin-bottom: 0;
}

.content-heading {
    padding-top: 0.25rem !important;
}

.event-id {
    font-size: 0.833rem;
    color: #aaaaaa;
    font-weight: 400;
}

.event-header .date h2 {
    font-size: 1.667rem;
    line-height: 1.8rem;
    color: #000000;
    font-weight: 400;
}

.event-header .date h2 small {
    font-size: 1rem;
    color: #606060;
    font-weight: 300;
    margin-left: 0.5rem;
}

.event-header .time {
    font-size: 1rem;
    font-weight: 500;
    color: #232323;
}

#description {
    height: 300px;
    border-radius: 4px;
    font-size: 1rem;
    color: #c0c0c0;
}

.drop-picture {
    bottom: 0;
    width: 101%;
    margin-top: 25px;
}

.images {
    /*height: 500px;*/
    margin-bottom: 10px;
}

.images-container {
    min-height: 500px;
}

.venue-main-picture {
    width: 100%;
    border-radius: 4px;
}

.venue-picture-left {
    width: 49%;
    margin-right: 1%;
    border-radius: 4px;
}

.venue-picture-right {
    width: 49%;
    margin-left: 1%;
    border-radius: 4px;
}

/* Container needed to position the button. Adjust the width as needed */
.venue-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.venue-container-others {
    position: relative;
    width: 50%;
    height: 100px;
    text-align: center;
}

/* Make the image responsive */
.venue-container img, .venue-container-others img {
    width: 100%;
    height: auto;
    max-height: 200px;
}

/* Style the button and place it in the middle of the container/image */

.venue-btn {
    background-color: #ebebeb;
    color: #232323;;
    font-size: 1em;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    display: none;
}

.venue-container .venue-btn-first, .venue-container-others .venue-btn-first {
    position: absolute;
    bottom: 0;
    right: 120px;
}

.venue-container .venue-btn-second, .venue-container-others .venue-btn-second {
    position: absolute;
    bottom: 0;
    right: 150px;
}

.venue-container .venue-btn-third, .venue-container-others .venue-btn-third {
    position: absolute;
    bottom: 0;
    right: 180px;
}

.pictures-background {
    background: white;
    padding: 20px;
    border-radius: 4px;
    height: 500px;
}

.dropify-wrapper {
    border-radius: 4px;
    margin-top: 10px;
}

.venue-gallery {
    min-width: 50%;
}

.venue-gallery .row {
    padding: 10px;
}

.venue-gallery .col-md-6 {
    text-align: center;
}

img.venue-picture {
    border-radius: 4px;
    height: 200px;
}

.venue-btn-position {
    position: absolute;
    width: 100%;
    margin-top: -30px;
    text-align: center;
    /*display: none;*/
}

.btn-open-gallery {
    width: 101%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
}