﻿.tab_control {
    width: 100%;
    height: calc(100% - 40px);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
    /*border-radius: 8px;*/
    /*background-color: white;*/
    overflow: hidden;
    /*background: #F9F9F9;*/
}

.tab_item_header_container {
    height: 44px;
    width: 100%;
    /*background: linear-gradient(45deg, #12B2B3 0%, #56E0E0 100%);*/
    /*background: linear-gradient(45deg,#F7F7FD 0%, #7065F0 100%);*/
    /*background: linear-gradient(45deg,#7065F0 0%, #7065F0 100%);*/
    /*background: #121317;
    box-shadow: 0px 30px 40px rgba(0, 0, 0, 0.1);*/
}

.tab_inner_container {
    height: calc(100% - 44px);
    width: 100%;
    position: relative;
}

.tab_item {
    display: inline-flex;
    float: right;
    height: 100%;
    text-align: center;
    cursor: pointer;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
    transition: all .3s;
    color: white;
    transition: .3s all;
    direction: rtl;
    border: 1px solid #E5E5E5;
    align-items: center;
}

    .tab_item:hover {
        /*border-bottom: #FF0039 2px solid;*/
        /*color: #CBCFD4;*/
    }

.tab_item_detail {
    width: 100%;
    height: calc(100% - 17px);
    overflow: auto;
    position: absolute;
    top: 5px;
    right: 0;
    left: 0;
    bottom: 0;
    transition: .3s opacity,.3s visibility;
}

.tab_item_hide {
    visibility: hidden;
    opacity: 0;
}

.tab_selected_tab {
    /*border-bottom: #ffffff 1px solid;*/
    /*color: #CBCFD4;*/
    color: black;
    /*  border-top-right-radius: 5px;
    border-top-left-radius: 5px;*/
    background: white;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    background: #EAEAEA;
    border-top: #006DA7 3px solid;
}

.form_tab {
    display: inline-flex;
    height: 40px;
    float: right; 
    cursor: pointer; 
    color: #000000;
    padding-right: 3px;
    padding-left: 6px;
    position: relative;
    margin-right: 2px;
    margin-left: 2px;
    flex-direction: row-reverse;
    overflow: hidden;
    font-size: 12px;
    border-radius: 10px;
    border: 1px solid #E5E5E5;
    border: 1px solid transparent;
    align-items: center;
    min-width: 80px;
    transition: .3s all ease-out;
}

    .form_tab:hover {
        /*border-top: 2px #1F8EFA solid;*/
        /*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
    }


.form_tab_shadow {
    /*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
}


.form_tab_lbl {
    display: inline-block;
    height: 100%;
    float: right;
    /* line-height: 40px; */
    cursor: pointer;
    text-align: right;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    direction: rtl;
    /* display: flex; */
    align-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}


.form_tab_closer {
    display: inline-block;
    height: 20px;
    /*width: 26px;*/
    min-width: 20px;
    width: 20px;
    float: right;
    background-image: url('img/closewhite.svg');
    background-size: contain;
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #BDDBF0;
    margin-left: 8px;
    /*  display: none;
    visibility: collapse;*/
    /*width: 0;*/
    transition: .3s all ease-out;
    opacity: 0;
    animation: fadeOut 0.3s ease forwards;
}

    .form_tab_closer:hover {
        animation: pulse 1s infinite;
    }

/*.form_selected_tab {
    display: inline-block;
    height: 100%;
    width: 5px;
    float: right;
    background-image: url('Imgs/admin_panel/selected.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: .2s all;
    opacity: 1;
    background-size: 0;
}*/

@keyframes fadeInUp {
    from {
        opacity: 0;
       
    }

    to {
        opacity: 1; 

    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
         
    }

    to {
        opacity: 0;
        width: 0;
        visibility: collapse;
        min-width:  0px;
        /*display:none;*/
    }
}

.image-box:hover .icon-overlay {
    animation: fadeInUp 0.3s ease forwards;
}

.form_selected_tab {
    color: black;
    background: #E9F2F8;
    border: 1px #BDDBF088 solid;
    transition:.3s all ease-out;
    transform:scale(1.05);
    margin-left:10px;
    margin-right:10px;
}


    .form_selected_tab > .form_tab_closer {
        background-image: url('img/closeblack.svg');
        display: block;
        visibility: visible;
        /*width: 20px;*/
        animation: fadeInUp 0.3s ease forwards;

    }

    .form_selected_tab .form_selected_tab_border_bottom {
        /*border-bottom: 3px #FFFFFF solid;*/
        /*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
        /*background: #FF0039;
        box-shadow: 0px 0px 8px #FF0039;*/
        /*  background-color: #FFFFFF;*/
    }

.form_selected_tab_border_bottom {
    position: absolute;
    margin: auto;
    bottom: 0px;
    right: 0;
    left: 0;
    height: 2px;
    transition: all .3s ease-out;
}

.form_selected_icon {
    width: 30px;
    float: right;
    background-image: url('Imgs/admin_panel/selected.png');
    opacity: 1;
    animation: tada 1s ease infinite;
    background-size: 24px 24px;
}





@media screen and (max-width: 767px) {
    .form_tab { 
        min-width:  0 ; 
    }
}
