/* ==================== Body / Main ==================== */


body {
    background: #f5f5f5;
    min-height: 100vh;
    font-family: "KantarBrown-Light";
}

/* ==================== Alert Container ==================== */

.alert-container > div {
    margin-bottom: 3rem;
}

/* ==================== General Buttons ==================== */


.btn-primary-ci {
    background-color: #9c1e8d;
    border-color: #9c1e8d;
    color: #fff !important;
}

.btn-primary-ci:hover,
.btn-primary-ci:focus,
.btn-primary-ci:active,
.btn-primary-ci.active {
    background-color: #9c1e8d;
    border-color: #9c1e8d;
}

.btn-primary-ci.disabled:hover,
.btn-primary-ci.disabled:focus,
.btn-primary-ci.disabled:active,
.btn-primary-ci.disabled.active,
.btn-primary-ci[disabled]:hover,
.btn-primary-ci[disabled]:focus,
.btn-primary-ci[disabled]:active,
.btn-primary-ci[disabled].active,
fieldset[disabled] .btn-primary-ci:hover,
fieldset[disabled] .btn-primary-ci:focus,
fieldset[disabled] .btn-primary-ci:active,
fieldset[disabled] .btn-primary-ci.active {
    background-color: #9c1e8d;
    border-color: #9c1e8d;
}

@media all and (max-width: 500px) {
    .btn-block-switch {
        width: 100%;
        display: inline-block;
        margin: auto;
        margin-bottom: 0.6rem;
        margin-top: 0.6rem;
    }
}


/* ==================== Basic Form Elements ==================== */

input[type="text"] {
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.md-outline input[type="text"] {
    height: 45px !important;
}

/* ==================== Navbar Base ==================== */

.navbar {
    padding: 0;
    border-bottom: 4px solid #9c1e8d;
}

.navbar .navbar-brand img {
    max-width: 200px;
    max-height: 70px;
}

.navbar .nav-link,
.navbar .nav-link .fas,
.navbar .nav-link .fas::after,
.navbar .nav-item .nav-link:active,
.navbar .nav-item .nav-link:visited,
.navbar .nav-item .nav-link:focus {
    color: #fff !important;
    font-size: 1.2rem;
}

.navbar .dropdown-toggle {
    color: #fff !important;
}

.navbar .nav-item .nav-link.active,
.navbar .nav-item .nav-link.active .fas,
.navbar .nav-item .nav-link:hover {
    color: #00c7ff !important;
}


@media all and (max-width: 767px) {
    .navbar .nav-link {
        text-transform: uppercase;
    }
}

@media all and (max-width: 991px) {

    .navbar i {
        display: none;
    }

    .navbar-collapse {
        padding-top: 0.8rem;
        padding-bottom: 0.4rem;
    }

    .navbar .navbar-nav,
    .navbar form {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar .md-form {
        margin-top: 0;
    }


    .collapse {
        padding-top: 0.8rem;
        padding-bottom: 0.4rem;

    }


    .navbar-brand {
        margin-left: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media all and (min-width: 992px) {
    .navbar .md-form {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .navbar .dropdown-menu .dropdown-item.active,
    .navbar .dropdown-menu .dropdown-item:hover {
        color: #9c1e8d !important;
        background: none !important;
        box-shadow: none !important;
    }

}

@media all and (max-width: 991px) {
    .navbar .dropdown-menu {
        position: static !important;
        background: none !important;
    }

    .navbar .dropdown-menu .dropdown-item,
    .navbar .dropdown-menu .dropdown-item:active,
    .navbar .dropdown-menu .dropdown-item:visited,
    .navbar .dropdown-menu .dropdown-item:focus {
        background: none !important;
        font-size: 1.2rem;
        color: #fff !important;
        box-shadow: none !important;
    }

    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .active {
        color: #00c7ff !important;
    }

    .navbar .dropdown .show {
        border: none;
    }
}


@media all and (max-width: 991px) {
    .navbar .desktop-autocomplete {
        display: none;
    }
}

@media all and (min-width: 992px) {
    .navbar .mobile-autocomplete {
        display: none;
    }
}



/* ==================== User Menu ==================== */

.user-menu{
    background: #fff;
    padding-top: 0.5rem;
    border-bottom: 1px solid #eee !important;

}

.user-menu .nav-link,
.user-menu .nav-link .fas {
    color: #333 !important;
}

.user-menu .dropdown-menu .dropdown-item.active,
.user-menu .dropdown-menu .dropdown-item:hover {
    background: none !important;
    box-shadow: none !important;
    color: #999 !important;
}



/* ==================== Animated Burger Icon ==================== */


.animated-icon {
    width: 40px;
    height: 20px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.animated-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.animated-icon span {
    background: #fff;
}

.animated-icon span:nth-child(1) {
    top: 0px;
}

.animated-icon span:nth-child(2) {
    top: 10px;
}

.animated-icon span:nth-child(3) {
    top: 20px;
}

.animated-icon.open span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.animated-icon.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.animated-icon.open span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}


/* ==================== Content ==================== */

.wrap {
    min-height: 100vh;
}

.content {
    padding-bottom: 4rem;
    margin-top: 4rem;
}


@media all and (max-width: 767px) {
    .content {
        padding-bottom: 2rem;
        margin-top: 2rem;
    }
}


/* ==================== Badge ==================== */

.badge {
    padding: 0.3rem;
}


/* ==================== C.I ==================== */


/* ==================== Breadcrumb ==================== */

.breadcrumb-background {
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    background: none !important;
    padding: 0;
    margin: 0;
}

.breadcrumb,
.breadcrumb a,
.breadcrumb a:active,
.breadcrumb a:visited,
.breadcrumb a:focus {
    color: #333;
}


.breadcrumb a:hover {
    text-decoration: underline;
    color: #333;
}

/* ==================== Footer ==================== */

footer {
    background: #000000;
}

footer,
footer a,
footer a:active,
footer a:visited,
footer a:focus {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}


/* ==================== Listview ==================== */

.default-list-view {
    margin-top: 1rem;
}

.default-list-view .summary {
    margin-bottom: 1rem;
}

.default-list-view .pagination {
    margin-top: 1rem;
}

.default-list-view .active .page-link {
    background-color: #9c1e8d !important;
}


.default-list-view .list-group-item:hover {
    background: #fff;
}


/* ==================== Detailview ==================== */

.card form .card {
    border: none !important;
}

.card form .card-header {
    background: none !important;
}

.detail-view th {
    text-align: left !important;
}

.detail-view td {
    padding-bottom: 1.4rem !important;
}


@media all and (max-width: 991px) {
    .detail-view th {
        width: 50% !important;
        text-align: left !important;
    }
}


@media all and (max-width: 575px) {
    .detail-view th, .detail-view td {
        display: block !important;
        width: 100% !important;
    }

    .detail-view td {
        border: none !important;
        padding-bottom: 2.5rem !important;
    }

    .detail-view th {
        font-size: 1.2rem;
        padding-bottom: 0 !important;
        padding-top: 2rem !important;
    }


    .detail-view .card-header .float-right {
        float: none !important;
        margin-bottom: 2rem;
    }
}


.detail-view .detailview-button {
    color: #9c1e8d;
}


/* ==================== Accordion ==================== */

.accordion .card-header a {
    color: #000 !important;
}


/* ==================== Kartik File Input Button ==================== */


.btn-file {
    margin: 0 !important;
    line-height: 100% !important;
    padding: .84rem 2.14rem !important;
}

/* ==================== MDBootstrap Errors ==================== */

/* This overwrites the error class of mdbootstrap, it causes error to
 * yii because its set to invisible 
 */
.invalid-feedback {
    display: block;
}

/* ==================== Onoff Toggle switch ==================== */


.onoffswitch {
    position: relative;
    width: 90px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #9c1e8d;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 18px;
    margin: 6px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

/* ==================== Tabs ==================== */

.classic-tabs .nav-link {
    color: #9c1e8d !important;
}

/* ==================== Pretty checkboxes ==================== */

/* its overwritten by mdbootstrap for pretty checkboxes reset it */
.pretty input[type="checkbox"],
.pretty input[type="radio"] {
    pointer-events: auto;
}


/* ==================== Preloader ==================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    background-color: rgba(33, 33, 33, 0.4);
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #BA55D3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #FF00FF;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* ==================== OWL Carousel ==================== */

.owl-prev {
    position: absolute;
    top: 40%;
    margin-left: -25px;
    display: block !important;
    border: 0px solid black;
}

.owl-next {
    position: absolute;
    top: 40%;
    right: -25px;
    display: block !important;
    border: 0px solid black;
}

.owl-prev i, .owl-next i {
    transform: scale(2, 2);
    color: #ccc;
}

/* ==================== Kartik Popover / Editable ==================== */

/**
 *
 * MD Bootstrap overwrites some css of it, that causes display errors,
 * reset it to fix it
 *
 */

.popover .arrow{
    width: auto;
}

.kv-editable-popover{
    display: none;
}


/* ==================== Icon Picker ==================== */

/**
 *
 * MD Bootstrap overwrites some css of it, that causes display errors,
 * reset it to fix it
 *
 */

.iconpicker-popover {
    opacity: 1 !important;
 }