/***********************************************
* It is the custom CSS for Baumit CMS
* It overwrites the original template CSS rules
************************************************/


/* COLORS */

:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #868e96;
    --gray-dark: #343a40;
    --primary: #333;
    --secondary: #868e96;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}

body {
    color: #58626b;
}

.form-control {
    border-color: #d3d8da;
}

.form-control.focus,
.form-control:focus {
    border-color: #d3d8da;
    box-shadow: 0 0 12px #ccc;
}

.site-menubar-light .site-menu>.site-menu-item.open>a {
    color: #E2001A;
}

.site-menubar-light .site-menu .site-menu-sub .site-menu-item.hover>a,
.site-menubar-light .site-menu .site-menu-sub .site-menu-item:hover>a {
    color: #E2001A;
}

.site-menubar-light .site-menu>.site-menu-item.hover>a,
.site-menubar-light .site-menu>.site-menu-item:hover>a {
    color: #E2001A;
}

a:hover {
    color: #E2001A;
}

.site-menubar-light .site-menu>.site-menu-item.active>a {
    color: #E2001A;
}

.site-menubar-light .site-menu .site-menu-sub .site-menu-item.active>a {
    color: #E2001A;
}

.custom-select.is-invalid, .form-control.is-invalid, .was-validated .custom-select:invalid, .was-validated .form-control:invalid,.select2 .select2-selection.is-invalid  {
    border-color: #ff4c52;
}


/* HEADINGS */

.panel-body h4 {
    margin-bottom: 30px !important;
}


/* BUTTONS */

.btn {
    padding: .429rem 2rem;
}

.btn-intersearch {
    color: #fff;
    background-color: #263F8F;
    border-color: #263F8F;
    box-shadow: none;
}

.btn-intersearch.focus,
.btn-intersearch.hover,
.btn-intersearch:focus,
.btn-intersearch:hover {
    color: #fff;
    background-color: #4a68c0;
    border-color: #4a68c0;
    box-shadow: none;
}

.btn-intersearch.active,
.btn-intersearch:active {
    color: #fff;
    background-color: #263F8F;
    border-color: #263F8F;
    box-shadow: none;
}

.btn-intersearch.disabled,
.btn-intersearch:disabled {
    color: #fff;
    background-color: #5b6daf;
    border-color: #5b6daf;
    box-shadow: none;
}

.btn-danger {
    color: #fff;
    background-color: #d31919;
    border-color: #d31919;
    box-shadow: none;
}

.btn-danger.focus,
.btn-danger.hover,
.btn-danger:focus,
.btn-danger:hover {
    color: #fff;
    background-color: #d96f6f;
    border-color: #d96f6f;
    box-shadow: none;
}

.btn-danger.active,
.btn-danger:active {
    color: #fff;
    background-color: #d31919;
    border-color: #d31919;
    box-shadow: none;
}

.btn-danger.disabled,
.btn-danger:disabled {
    color: #fff;
    background-color: #af5b5b;
    border-color: #af5b5b;
    box-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #757575;
    border-color: #757575;
    box-shadow: none;
}

.btn-primary.focus,
.btn-primary.hover,
.btn-primary:focus,
.btn-primary:hover {
    color: #fff;
    background-color: #9E9E9E;
    border-color: #9E9E9E;
    box-shadow: none;
}

.btn-primary.active,
.btn-primary:active {
    color: #fff;
    background-color: #757575;
    border-color: #757575;
    box-shadow: none;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #9E9E9E;
    border-color: #9E9E9E;
    box-shadow: none;
}

.btn-primary:not([disabled]):not(.disabled):active,
.btn-primary:not([disabled]):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #9E9E9E !important;
    border-color: #9E9E9E !important;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 2px rgba(125, 125, 125, .5) !important;
}

.page-title .btn-primary {
    font-size: 20px;
    text-shadow: rgba(0, 0, 0, .15) 0 0 1px;
    font-weight: 400;
    line-height: 1.2;
    color: #37474f;
    background-color: #ddd;
    border-color: #ddd;
    box-shadow: none;
    vertical-align: text-bottom;
    padding: 4px 0 4px 14px;
    margin-right: 0;
}

.page-title .btn-primary.focus,
.page-title .btn-primary.hover,
.page-title .btn-primary:focus,
.page-title .btn-primary:hover {
    background-color: #eee;
    border-color: #ccc;
}

.page-title .btn-primary.active,
.page-title .btn-primary:active {
    background-color: #ccc;
    border-color: #ccc;
}

.btn-primary:not([disabled]):not(.disabled):active,
.btn-primary:not([disabled]):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #37474f;
    background-color: #ddd !important;
    border-color: #ddd !important;
    box-shadow: none !important;
}


/* FORMS */

input.labelauty:checked+label {
    background-color: #11C26D !important;
}

input.labelauty+label {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    width: 200px;
}

.no-round-left {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

input[type=checkbox],
input[type=radio] {
    border-color: #d3d8da !important;
}


/* NAVIGATION */

.site-navbar {
    background-color: #ddd;
}

.site-navbar .navbar-header .navbar-brand {
    color: #000;
}

.page-item.active .page-link {
    background-color: #11c26d;
    border-color: #05a85c;
}

.site-menubar-footer {
    background-color: #21292e;
}

.site-menubar-unfold .site-menu-section {
    padding: 0px 12px;
    /* margin-top: 20px; */
    font-size: 15px;
    line-height: 38px;
    color: #37474f;
    text-transform: uppercase;
    transition: all .25s, font .1s .15s, color .1s .15s;
    background-color: #efefef;
    font-weight: 400;
}

.site-menubar-unfold .site-menu-category {
    padding: 0 0;
    font-size: 15px;
    margin: 0 12px 0 12px;
    line-height: 32px;
    color: #76838f;
    text-transform: uppercase;
    transition: all .25s, font .1s .15s, color .1s .15s;
    font-weight: 400;
    border-bottom: 1px solid #ddd;
}

.site-menu-category-icon-wb {
    width: 1em;
    text-align: center;
    vertical-align: top;
    margin-right: 0;
    font-size: 20px;
}

.site-menu-category-icon-fa {
    padding-top: 6px;
    width: 1.4em;
    text-align: center;
    vertical-align: top;
    margin-right: 0;
    font-size: 18px;
}

.site-menu-category-icon-span {
    display: block;
    float: right;
    margin-right: 11px;
}

.site-menubar-unfold .site-menu>.site-menu-item>a {
    line-height: 34px;
}

.site-menu .site-menu-sub {
    padding: 0 0 5px 0;
}

.tt-dropdown-menu,
.tt-menu {
    border: solid 1px #d3d8da;
    background: white;
}

.tt-dropdown-menu .tt-suggestion,
.tt-menu .tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 300;
    line-height: 1.571429;
}

.tt-dropdown-menu .tt-suggestion:hover,
.tt-menu .tt-suggestion:hover {
    background: #f3f7f9;
}

h4.example-title {
    background-color: #eee;
    padding: 10px;
    border-radius: 3px;
}

.fixid-table-td td {
    max-height: 50px;
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.calculator-productType-form .product-row {
    position: relative;
    padding-right: 55px;
}

.calculator-productType-form .product-row i.fa {
    position: absolute;
    top: 0;
    right: 5px;
    width: 20px;
    height: 100%;
    cursor: pointer;
}

.calculator-productType-form .product-row i.fa:hover {
    color: #e94053;
}

.calculator-productType-form .product-row i.fa.fa-arrows-v {
    right: 30px;
    cursor: s-resize;
}

.table-form td .form-group {
    margin-bottom: 0;
}

.table-form td {
    vertical-align: middle;
}

.icon-height-fix .fa {
    line-height: 100%;
}

.link-widget-item-row {
    position: relative;
    padding-right: 55px;
}

.link-widget-item-row i.fa {
    position: absolute;
    top: 0;
    right: 5px;
    width: 20px;
    height: 100%;
    cursor: pointer;
}

.link-widget-item-row i.fa:hover {
    color: #e94053;
}

.link-widget-item-row i.fa.fa-arrows-v {
    right: 30px;
    cursor: s-resize;
}

#cms-global-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999999;
}

#cms-global-loader .loader-icon {
    position: absolute;
    font-size: 60px;
    color: #ffffff;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}

.fa-pulse {
    -webkit-animation: fa-spin 1s infinite steps(8);
    animation: fa-spin 1s infinite steps(8);
}

@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.color-square {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-top: 7px;
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

.input-group.is-invalid {
    border: 1px solid #ff4c52;
}

.input-group.is-invalid input,.input-group.is-invalid select,.input-group.is-invalid textarea {
 border: none;
}

.site-menu-icon.fa {
    min-width: 23px;
}

.site-menu-item:not(.site-menu-category)  [class^="icon-"], [class*=" icon-"] {
    top: 0px;
}

.date-remove {
    padding: 4px;
    font-size: 12px;
    line-height: 12px;
    border-radius: 0.2rem;
    min-width: 26px;
}

.modal-xl {
    max-width: 1060px;
    width: 85%;
}

@media (min-width: 991px) {
    .modal-xl {
        max-width: 85%;
        width: 85%;
    }
}

.modal-body-scrollable {
    overflow-y: auto;
    height: 80vh;
}

.note {
    color: #7d7c79;
    font-size: 13px;
    font-style: italic;
}

div.is-invalid {
    border-color: #ff4c52;
}