/*  */
.show {
    display: block;
}
.hide {
    display: none;
}
.tab-active {
    border-top: 5px solid var(--blue) !important;
    border-left: 2px solid var(--blue) !important;
    box-shadow: 5px 5px 10px var(--bggray) !important;
}
.main-dashboard{
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "tabs tabs"
    "panel sidepanel";
    grid-gap: 30px 20px;
}

.label-width {
    width: 30% !important;
}

.link-tabs {
    display: grid;
    grid-area: tabs;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 10px;
    margin-top: .7rem;
}

.tabs {
    padding: .7rem 0;
    min-height: 8rem;
    position: relative;
    border-radius: 10px;
    transition: 300ms;
    box-shadow: 5px ​5px 10px var(--gray);
    border-top-left-radius: 50px;
    background-color: #f1f1f1;
    border-bottom-right-radius: 30px;
    border-top: 5px solid var(--gray);
    border-left: 2px solid var(--bggray);
}
.tabs:hover {
    cursor: pointer;
    box-shadow: 10px 20px 25px var(--bggray);
    transition: 300ms;
    border-top: 5px solid var(--darkgray);
    border-left: 2px solid var(--darkgray);
}

.tabs h6 {
    position: absolute;
    top: .8rem;
    right: 20px;
}
.tabs-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: .8rem 1.5rem .8rem 1.5rem;
}
.tabs i{
    font-size: 1.8rem;
}
.tabs-bottom i {
    right: 0;
    float: right;
    display: inline;
    color:var(--gray)
}
.tabs-bottom p {
    display: inline;
    color: black;
    font-weight: 500;
}
.big {
    font-size: 3rem;
    padding: .2rem 0 1rem 1.5rem;
}

.panel {
    grid-area: panel;
    padding: 1rem;
    padding-bottom: 2rem;
    box-shadow: 10px 10px 20px var(--gray);
    border-radius: 10px;
    min-height: 18rem;
    position: relative;
}
.panel h4 {
    height: 2rem;
    font-weight: 600;
}
.panel #edit_btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
#cancel_btn {
    margin-right: 1rem;
}

#update_btn,#cancel_btn {
 float: right;
}

.company_panel {
    position: relative;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 3px 3px 10px 0px var(--gray);
    border-radius: 10px;
    transition: 300ms;
}
.company_panel:hover {
    box-shadow: 3px 3px 10px 0px darkgray;
    transition: 300ms;
    cursor: pointer;
}

.company_panel .panel-status {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    font-weight: bold;
    color: orange;
    font-size: .8rem;
}
.company_panel h6 {
    line-height: 150%;
}

.form {
    padding:1rem;
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.2);
    border-radius: 10px;
}

.form_status {
    bottom: 1.4rem;
    right: 1rem;
    font-weight: bold;
    margin-top: .5rem;
}

.form li {
    line-height: 120%;
    font-weight: 500;
    display: inline-block;
    width: auto;
    font-size: 100%;
    padding-bottom: .2rem;
}

.form span {
    font-weight: bold;
    letter-spacing: 1.5px;
    padding-left: .5rem;
}
.collapsible {
    position: relative;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}
.collapsible i {
    position: absolute;
    right: 1rem;
    top: 2rem;
    color: greenyellow;
}
.active1 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background-color: var(--bggray);
    border-bottom: 2px solid white;
}
.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: var(--bggray);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0px 10px 10px 0px rgba(0,0,0,.1);
}
.content:hover {
    box-shadow: 0px 10px 10px 5px rgba(0,0,0,.1);
    transition: 300ms;
}
.sidepanel {
    grid-area: sidepanel;
    border: 2px solid var(--bggray);
    padding-top: 1rem;
    border-radius: 10px;
    height: fit-content;
}

.sidepanel li {
    font-weight: 500;
    padding:.7rem 0rem .7rem .4rem;
    margin: 4px 0;
    background: white;
    transition: 300ms;
}
.sidepanel li:hover {
    box-shadow: 2px 2px 10px var(--darkgray);
    cursor: pointer;
    transition: 300ms;
}

.sidepanel .innerdiv {
    padding:.5rem;
    background: var(--gray);
}

.faq h5{
    font-weight: 600;
}
.faq{
    margin: 1rem 0;
}
.cancleConfirmation{
    position:relative;
    background-color: var(--blue);
    padding: 1rem;
    bottom: 2rem;
    height: 9.5rem;
    border-radius: .3rem;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    /* display: none; */
}


/* css for tab view start here */
@media only screen and (max-width:768px){
    .main-dashboard{
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;
        grid-template-areas: inherit;
    }
    .link-tabs{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,1fr);
    }
    .tabs i{
        font-size: 3rem;
    }
    .tabs .fa-chevron-right{
        font-size: .8rem;
    }
    .link-tabs{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }
    .panel{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .sidepanel{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 3;
        grid-row-end: 4;
    }
    .company_panel{
        padding: .8rem;
    }
    .company_panel .panel-status{
        font-size: .6rem;
    }
}

/* css for mob view start here */
@media only screen and (max-width:425px){
    .tab-active {
        border-top: 3px solid var(--blue) !important;
        border-left: 1px solid var(--blue) !important;
    }
    .tabs{
        min-height: 0;
        padding: 0;
        border-top: 3px solid var(--gray);
        border-left: 1px solid var(--bggray);
    }
    .alert {
        top: -35px;
    }
    .tabs-bottom{
        display: none;
    }
    .tabs i{
        font-size: 1rem;
        padding: .6rem;
        margin: 0 .3rem;
    }
    .tabs h6{
        font-size: .6rem;
        right: 10px;
        width: 5rem;
        overflow-wrap: break-word;
    }
    .collapsible {
        font-size: .8rem;
        padding:.4rem;
        margin-top: .4rem;
        padding-bottom: 1rem;
    }
    .panel {
        padding: 0;
        box-shadow:none;
        min-height: 0;
        position: relative;
    }
}