:root {
    --light-blue: #CFDCE6;
    --dark-blue: #9EB1BE;
    --breakpoint-mobile: 1186px;
}

html, body {
    background-color: #005591;
    overflow: hidden;
}

h1 {
    font-size: 28px;
    color: #fff;
    margin: 10px 0 0 5vw;
}

#content > .row {
    box-shadow: none;
    margin-bottom: 0;
}

body > footer,
body > .footer-bottom {
    display: none;
}

.container {
    max-width: 1700px;
}

.main-container {
    border: none;
}

.close {
    background: url("/loga-ikony/ico-close.svg") 50% 50% no-repeat;
    width: 11px;
    height: 11px;
    cursor: pointer;
    margin-top: 12px;
    background-size: cover;
    filter: brightness(0) saturate(100%) invert(12%) sepia(67%) saturate(5762%) hue-rotate(356deg) brightness(97%) contrast(114%);
}

.tooltip {
    z-index: 12010;
    pointer-events: none;
}

.mfp-bg, .mfp-wrap {
    z-index: 1201;
}

.navbar {
    box-shadow: none;
}

.menu-user-buttons {
    margin: 0 !important;
}
.menu-login .menu-icon:hover .user-name,
.menu-login .menu-icon:hover .user-company {
    background-color: transparent;
    color: inherit;
}

.nav-top, .search-bar-block {
    display: none;
}

.nav-top2 {
    padding-top: 15px;
}

.site-header, main {
    background-color: #005591;
}

.info-btn {
    background: #DAECF2;
    border-radius: 50%;
    width: 17px;
    display: inline-block;
    height: 17px;
    color: #005591;
    line-height: 17px;
    text-align: center;
    cursor: pointer;
}

h1 .info-btn {
    font-size: 14px;
    margin-left: 10px;
    position: absolute;
    margin-top: 13px;
}

.torenit-row {
    margin: 0;
    font-size: 14px;
}

.layout-right {
    margin-right: -5px;
}

.torenit-search-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #EAEDF0;
    padding: 7px 15px;
    border-bottom: 1px solid var(--light-blue);
}

.torenit-search-box {
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.torenit-search-box label {
    margin: 0;
    color: #484A4D;
}

.torenit-top-btns-box a {
    text-decoration: underline;
    padding: 7px 10px;
    color: #000;
    font-size: 15px;
}

.label-row {
    background-color: #F4F6F7;
    color: #005591;
    font-size: 15px;
    white-space: nowrap;
    line-height: 38px;
    margin-bottom: 10px;
}

.layout-left {
    font-family: 'Roboto Condensed';
}

.layout-empty .label-row {
    color: #9EB1BE;
}

.nicescroll-rails-vr {
    margin-left: 8px;
}

.layout-left .col-profil.show-arrow:before {
    content: url("/static/images/icons/arrow-orange.svg");
    position: fixed;
    bottom: 15px;
    margin-left: 25px;
}

.layout-left-select {
    display: none;
}

.layout-left-select .title {
    color: var(--link-blue);
    font-weight: 700;
    font-size: 24px;
    padding: 15px 0;
}

.layout-left.layout-empty .label-row > div:first-child {
    color: #000;
}

.layout-left .label-row > div:not(:last-child) {
    padding: 0 0 0 25px;
}

.layout-mid .label-row {
    margin-bottom: 0;
}

.selector-row {
    white-space: nowrap;
}

.profilace-box .col-inner.variant {
    display: none;
}

#vyberte-profil {
    max-width: 160px;
    margin-left: 10px;
}

#profilace-title {
    margin-bottom: 7px;
    color: #242526;
    font-size: 18px;
    font-weight: 700;
}

.druh-select-box,
.profil-select-box,
.profilace-select-box {
    padding-bottom: 15px;
}

.col-druh,
.col-profil,
.col-profilace {
    overflow: hidden auto;
    margin-bottom: 45px;
}

.col-druh {
    flex: 0 0 146px;
}

.col-profilace {
    white-space: initial;
}



.col-inner {
    padding: 0 15px;
    cursor: pointer;
    overflow: hidden;
}

.col-inner.active {
    background-color: var(--header-blue);
    color: #fff;
    overflow: visible;
}

.col-inner.active img {
    filter: brightness(1.3);
}

.col-druh .col-inner {
    line-height: 40px;
    margin: 5px 0;
    background-position: 8px 50%;
    background-repeat: no-repeat;
    border-radius: 6px;
    border: 1px solid var(--light-blue);
}

.col-profil .col-inner,
.col-profilace .col-inner {
    line-height: 20px;
    border-radius: 6px;
    padding: 5px 15px;
}

.col-druh .col-inner > .row {
    flex-wrap: nowrap;
}

.col-druh {
    padding-right: 0;
}

.col-profil {
    padding: 0 10px;
}

.col-profilace {
    padding: 0 15px 0 0;
}

.rounded-btn {
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--light-blue);
    line-height: 1;
    padding: 0;
}

.rounded-btn:focus {
    outline: none;
}

.minus-btn, .plus-btn {
    width: 20px;
    background-color: var(--light-blue);
    outline: none;
}

.minus-btn {
    font-size: 21px;
    margin-right: 4px;
}

.plus-btn {
    margin-left: 4px;
}

.switch-row > .col > span {
    white-space: nowrap;
    margin-left: 4px;
    vertical-align: middle;
}

.info-row {
    margin-top: 10px;
    margin-bottom: 10px;
}

.layout-mid {
    border-left: 1px solid var(--dark-blue);
    border-right: 1px solid var(--dark-blue);
    background-color: #f5f8fa;
}

#qty-input {
    width: 42px;
    font-size: 16px;
    padding: 0;
    text-align: center;
    height: 32px;
}

#stavebni-vyska-input,
#delka-input {
    border-right: none;
    padding-right: 0;
}
#podlozky-budou {
    display: none;
}

#stavebni-vyska-input:focus + div > span,
#delka-input:focus + div > span {
    border: 1px solid var(--link-blue);
    border-left: none;
}

.was-validated_ #stavebni-vyska-input:invalid + div > span,
.was-validated_ #delka-input:invalid + div > span {
    border: 1px solid #D40000;
    border-left: none;
}

#add-to-list-form {
    margin: 0 -15px;
    padding: 10px 15px;
}

#add-to-list-form .form-group {
    margin-bottom: 5px;
}

#add-to-list-form .input-group-text {
    font-size: 14px;
    background: #fff;
    padding: 0 5px;
    color: #808080;
}

#add-to-list-form label {
    margin: 0;
}

#custom-file-upload.error {
    border: 2px solid #D40000;
    color: #D40000;
}

#add-to-list-row {
    display: flex;
    flex-direction: row;
}

#vlastni-oznaceni {
    /*max-width: 120px;*/
    margin-right: 6px;
    padding-right: 3px;
    padding-left: 8px;
    height: 32px;
}

#add-to-list-btn {
    margin-left: 5px;
    height: 32px;
    white-space: nowrap;
    max-width: 200px;
}

#canvas {
    width: 100%;
    cursor: pointer;
}

#schema-box > .col {
    padding: 0;
}


#add-to-cart-form .footer-btns img {
    max-width: 20px;
    margin-left: 10px;
}

#add-to-cart-form .label-row input::placeholder {
    color: #9EB1BE;
}

#delivery-info {
    color: #484A4D;
    font-size: 11px;
    line-height: 14px;
}

#print-btn {
    color: var(--azure-blue);
    border-color: var(--azure-blue);
}

#print-btn:hover {
    border-color: var(--azure-blue);
    text-decoration: none;
}

#print-btn img {
    filter: brightness(0) saturate(100%) invert(41%) sepia(72%) saturate(539%) hue-rotate(149deg) brightness(99%) contrast(96%);
}

#add-to-cart-btn {
    color: #2C6F42;
    background-color: var(--success-green);
    border-color: var(--success-green);
    margin-bottom: 25px;
}

#add-to-cart-btn:hover {
    color: #000;
    background-color: #2EE66B;
    border-color: #2EE66B;
}

#add-to-cart-btn img {
    filter: brightness(0) saturate(100%) invert(37%) sepia(9%) saturate(2659%) hue-rotate(87deg) brightness(90%) contrast(86%);
    margin-top: -2px;
}

#add-to-cart-btn:hover img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(2%) saturate(0%) hue-rotate(239deg) brightness(100%) contrast(100%);
}


#cart-table .tbody {
    max-height: 100%;
}

#cart-table .tbody-inner {
    border-bottom: 1px solid #9EB1BE;
    border-top: 1px solid #9EB1BE;
    padding: 0 20px 0 10px;
}

#cart-table .row.hover,
#cart-table .row.is-edit {
    background-color: #F5F8FA;
}

#cart-table .col-name {
    color: #242526;
    font-weight: 700;
    line-height: 1.2;
}
#cart-table .tbody .row {
    margin-top: 5px;
    margin-bottom: 5px;
}

#cart-table .hover .col-name {
    color: #005591;
}

#cart-table .row .col-price {
    display: block;
    white-space: nowrap;
}

#cart-table .row.hover .col-price {
    display: none;
}

#cart-table .row .col-buttons,
#cart-table .row .col-buttons-edit {
    display: none;
    text-align: right;
    white-space: nowrap;
}

#cart-table .row.hover .col-buttons {
    display: block;
}

#cart-table .row.is-edit .col-buttons {
    display: none;
}

#cart-table .row.is-edit .col-buttons-edit {
    display: block;
}

#upload-box .delete-btn,
#cart-table .row .col-buttons button {
    border: none;
    background: none 50% 50% no-repeat;
    width: 20px;
    height: 20px;
    padding: 6px;
}

#cart-table .row button.edit-list-btn {
    background-image: url("/loga-ikony/ico-edit.svg");
    margin-left: 0;
}

#cart-table .row button.edit-list-btn:hover {
    background-image: url("/loga-ikony/ico-edit-hover.svg");
    background-color: #005591;
}

#cart-table .row button.dupe-list-btn {
    background-image: url("/loga-ikony/ico-duplicate.svg");
}

#cart-table .row button.dupe-list-btn:hover {
    background-image: url("/loga-ikony/ico-duplicate-hover.svg");
    background-color: #005591;
}

#upload-box .delete-btn,
#cart-table .row button.delete-list-btn {
    background-image: url("/loga-ikony/ico-delete.svg");
}

#upload-box .delete-btn:hover,
#cart-table .row button.delete-list-btn:hover {
    background-image: url("/loga-ikony/ico-delete-hover.svg");
    background-color: #D40000;
}

#cart-table .row .col-buttons-edit button {
    margin-bottom: 5px;
}

#cart-table .row button.save-list-btn {

}

#cart-table .row button.cancel-list-btn {

}

#cart-table .col-description {
    color: #777B80;
}

#cart-table .thead {
    font-weight: 400;
    color: #808080;
    font-size: 14px;
    position: sticky;
    top: 0;
    background-color: #fff;
    padding-right: 20px;
    margin-left: -5px;
    white-space: nowrap;
}

#cart-table .tfoot > div {
    padding-top: 15px;
    position: sticky;
    bottom: 0;
    background-color: #fff;
}

#cart-table .tbody-empty-text {
    color: #9EB1BE;
}



@media (min-width: 576px) {
    .layout-left {
        -ms-flex: 0 0 30.2%;
        flex: 0 0 30.2%;
        max-width: 30.2%;
    }

    .layout-mid {
        -ms-flex: 0 0 28.134%;
        flex: 0 0 28.134%;
        max-width: 28.134%;
    }
}

@media (min-width: 992px) {

}

@media (min-width: 768px) {

}

@media (min-width: 1200px) {

}

@media (max-width: 1186px) {
    html, body {
        overflow: auto;
        background-color: unset;
    }
    .site-header, main {
        background-color: unset;
    }
    .nav-top2 h1 {
        display: none;
    }
    h2 {
        color: #242526;
        font-size: 18px;
    }
    .torenit-search-row,
    .layout-left,
    .layout-left-select,
    .layout-mid,
    .layout-right {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        display: none;
    }

    .layout-left-select {
        display: block;
    }

    .layout-left {

    }

    .layout-mid {
        background-color: transparent;
    }

    .layout-right {
        display: block;
    }
    .layout-right.layout-empty {
        display: none;
    }
    .label-row {
        display: none;
    }
    #add-to-list-form {
        background-color: #f5f8fa;
        padding-bottom: 20px;
    }
    #add-to-cart-form .label-row {
        display: block;
        color: var(--text-color);
        font-size: 18px;
        font-weight: 700;
        padding-bottom: 10px;
        background: transparent;
    }

    #profilace-title {
        margin-top: 10px;
    }

    #vlastni-oznaceni {
        max-width: 33%;
        min-width: 100px;
    }
    #add-to-list-form .form-group {
        margin: 0 2%;
    }

}

@media (max-width: 1360px) {
    .col-druh {
        flex: 0 0 116px;
    }
    .col-druh .col-inner .col-icon {
        display: none;
    }
}

@media (min-width: 1187px) {
    #navbarCollapse {
        display: none !important;
    }
    .navbar-container .logo-block {
        margin: 0 20px 0 0;
        max-width: fit-content;
    }
    .navbar > .container, .navbar >.container-fluid {
        flex-direction: row;
    }
}

@media print {
    .no-print,
    body > footer,
    .footer-bottom {
        display: none !important;
    }
}