@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #24366e;
    border-color: #1861ac;
}
    .btn-primary:hover {
        color: #fff;
        background-color: darken(#24366e, 15%);
        border-color: darken(#24366e, 15%)
    }
    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: darken(#24366e, 15%);
        border-color: darken(#24366e, 15%)
    }
        .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 .2rem rgba(38,143,255,.5)*/
            box-shadow: 0 0 0 .2rem red
        }
    .btn-primary.focus, .btn-primary:focus {
        box-shadow: 0 0 0 .2rem rgba(38,143,255,.5)
    }
    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: red;
        border-color: #007bff
    }
.btn-outline-primary {
    color: #24366e;
    border-color: #24366e
}
    .btn-outline-primary:hover {
        color: #fff;
        background-color: #24366e;
        border-color: #24366e
    }
app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 100;
}
.hidden {
    display: none;
}
.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, #24366e 30%, #FFFFFF 90%);
}

    .sidebar .top-row {
        background-color: #24366e;
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.colorRadio [type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.colorRadio [type=radio] + img {
    cursor: pointer;
}
.colorRadio [type=radio]:checked + img {
    outline: 2px solid #26b050
}

/*.konfCheckbox [type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    /*display:none;*/
}
/*.konfCheckbox [type=checkbox] + img {
    cursor: pointer;
    background-image: url(../img/checkbox-false.png);
    width: 50px;
    height: 50px;
}
    .konfCheckbox [type=checkbox]:checked + img {
        cursor: pointer;
        background-image: url(../img/checkbox-true.png);
        width: 50px;
        height: 50px;
    }*/

/*.cbl {
    display: inline-block;
    background-image: url(../img/checkbox-false.png);
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    background-size:25px;

}*/
input[type="checkbox"]{
    display: none;
}
.cb {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
    z-index: -50;
}
    .cb + label {
        display: inline-block;
        background-image: url(../img/checkbox-false.png);
        background-repeat: no-repeat;
        width: 30px;
        height: 30px;
        background-size: 30px;
    }
.cb:checked + label {
    background-image: url(../img/checkbox-true.png);
}
.deductSwitch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 30px;
}

    .deductSwitch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
.deductSlider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border: 1px solid #24366e;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 5px;
}

    .deductSlider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 93px;
        bottom: 3px;
        background-color: #24366e;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 5px;
    }

input:checked + .deductSlider {
    background-color: white;
}

input + .deductSlider {
    /*box-shadow: 0 0 1px #24366e;*/
}

input:checked + .deductSlider:before {
    -webkit-transform: translateX(-90px);
    -ms-transform: translateX(-90px);
    transform: translateX(-90px);
}
.stepBox {
    /*background-color: green;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 1px;
    left: 250px;
    border: 3px solid black;
    text-align: center;
    border-radius: 25px;*/
    position: relative;
    /*font-size: 120px;*/
    padding-top: -2px;
    margin: 0px 0px 0px 0px ;
    width: 4em;
    height: 4em;
    float: left;
    color: #24366e;
    border: 6px solid #24366e;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}
    .stepBox > span {
        position: relative;
        width: 100%;
        z-index: 1;
        left: 0;
        top: 0;
        /*width: 5em;
        line-height: 5em;*/
        padding-top: -2px;
        font-size: 3em;
        color: #24366e;
        display: block;
        text-align: center;
        vertical-align:top;
        white-space: nowrap;
    }

.mee-tooltip {
    display: inline;
    position: relative;
    z-index: 999
}

    .mee-tooltip .mee-tooltip-item {
        /*background: rgba(0, 0, 0, 0.1);*/
        /*border: solid 1px black;*/
        /*border-radius: 100px;*/
        cursor: pointer;
        display: inline-block;
        font-weight: 500;
        padding: 0;
    }

    .mee-tooltip .mee-tooltip-content {
        position: absolute;
        z-index: 9999;
        max-width: 320px;
        min-width: 160px;
        left: 50%;
        /*margin: 0 0 20px calc(attr(width)*-1);*/
        margin-bottom: 20px;
        bottom: 100%;
        text-align: center;
        font-size: 14px;
        line-height: 30px;
        /*-webkit-box-shadow: -5px -5px 15px rgba(48, 54, 61, 0.2);
        box-shadow: -5px -5px 15px rgba(48, 54, 61, 0.2);*/
        background: #24366e;
        opacity: 0;
        cursor: default;
        pointer-events: none;
        border-radius: 5px;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }

        .mee-tooltip .mee-tooltip-content::after {
            /*content: '';
            top: 100%;
            left: 50%;
            border: solid transparent;
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-color: #2a3035 transparent transparent;
            border-width: 10px;
            margin-left: -10px ;*/
            
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -10px;
            border-width: 10px;
            border-style: solid;
            border-color: #24366e transparent transparent transparent;
        }

        .mee-tooltip .mee-tooltip-content img {
            position: relative;
            /*height: 140px;*/
            display: block;
            float: left;
            margin-right: 1em;
            border-radius: 5px 5px 0px 0px;
        }

    /*.mee-tooltip .mee-tooltip-item::after {
        content: '';
        position: absolute;
        max-width: 320px;
        height: 20px;
        bottom: 100%;
        left: 50%;
        pointer-events: none;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%)
    }*/

    .mee-tooltip:hover .mee-tooltip-item::after {
        pointer-events: auto
    }

    .mee-tooltip:hover .mee-tooltip-content {
        pointer-events: auto;
        opacity: 1;
        /*-webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0deg);
        transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0deg)*/
    }

    .mee-tooltip:hover .mee-tooltip-content2 {
        opacity: 1;
        font-size: 18px ;
    }

    .mee-tooltip .mee-tooltip-text {
        font-size: 14px;
        line-height: 24px;
        display: block;
        padding: 1.31em 1.11em 1.11em 1.11em;
        color: #fff;
        text-align: center;
    }
.mee-vc-cart {
    margin-top: 20px;
}
.mee-header-bg-blue {
    background-color: #24366e !important;
}




.quantity {
    float: left;
    margin-right: 15px;
    background-color: #eee;
    position: relative;
    width: 80px;
    overflow: hidden


}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

