* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.green {
    background: #22c55e;
}

.red {
    background: #dc2626;
}

.green_violet {
    background: #22c55e;
    position: relative;
    z-index: 1;
}

.red_violet {
    background: #dc2626;
    position: relative;
    z-index: 1;
}

.red_violet::after,
.green_violet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    border-radius: 0 25px 25px 0;
    background-color: #7c3aed;
    z-index: -1;
}

.nav_tab {
    min-height: 350px;
}

.num {
    /* background: url(https://www.freeiconspng.com/uploads/electrical-icon-15.png); */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.num:hover {
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
}

.mdl {
    display: none;
}

.overlay {
    background: rgba(0, 0, 0, 0.753);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 5;
}

.modal-open {
    display: none;
}


/* .modal-open {
    background: rgba(0, 0, 0, 0.61);
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
} */


/* .overlay {
    display: none;
} */


/* .overlay {
    background: rgba(0, 0, 0, 0.61);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
} */


/* -------------Login Box Design----------- */

.container1 {
    position: relative;
    max-width: 460px;
    width: 100%;
    margin: 0 auto 100px;
}

.card:first-child {
    background: #fafafa;
    height: 10px;
    border-radius: 5px 5px 0 0;
    margin: 0 10px;
    padding: 0;
}

.card {
    position: relative;
    background: #ffffff;
    border-radius: 5px;
    padding: 60px 0 40px 0;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    transition: 0.3s ease;
}

.card.alt {
    position: absolute;
    top: 60px;
    right: -35px;
    z-index: 1;
    width: 70px;
    height: 70px;
    background: none;
    border-radius: 100%;
    box-shadow: none;
    padding: 0;
    transition: 0.4s ease;
    overflow: hidden;
}

.card.alt .toggle {
    position: relative;
    background: #db2777;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    color: #ffffff;
    font-size: 28px;
    line-height: 70px;
    text-align: center;
    cursor: pointer;
}

.card.alt .toggle:before {
    content: "";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.container1.active .card.alt {
    top: 20px;
    right: -1%;
    width: 102%;
    min-width: 100%;
    height: auto;
    border-radius: 5px;
    padding: 60px 0 40px;
    z-index: 1;
}

.container1.active .card.alt .toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    z-index: -1;
    /* transform: scale(20); */
    transition: transform 0.3s ease;
}

.container1.active .card.alt .toggle:before {
    content: "";
}

.card.alt .title .close {
    position: absolute;
    cursor: pointer;
    top: -8px;
    right: 40px;
    display: inline;
    color: #ffffff;
    font-size: 58px;
    font-weight: 400;
}

.card.alt .title .close:before {
    content: "×";
}

@media(max-width: 991px) {
    .container1 {
        max-width: 360px;
        width: 100%;
    }

    .card.alt {
        right: 4px;
    }

    .menu li {

        display: block;

    }

    nav {

        border-top: 1px solid gray;

        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;

        position: absolute;

        background: white;

        top: 100%;

        left: 0;

        width: 100%;

        height: 0;

        overflow: hidden;

        transition: 0.5s ease-in-out;

        z-index: 20;

    }

    nav a {

        border-top: 1px dotted black;

    }

    .open {

        height: auto;

    }
}
.bg-violet-400,
.bg-violet-500{
    background: #6739b6 !important;
}
.bg-green-500,
.bg-green-400{
    background: #39b54a;
}
.bg-red-500,
.bg-red-400{
    background: #e54d42;
}


.radio_custom:checked~label {
    background: red;
}


.dropdown {
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.closed {
    height: 0;
    opacity: 0;
    visibility: hidden;
}