@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700&display=swap');
body {
    font-family: "Lato", sans-serif;
    max-width: 100%;
    height: max-content;
    overflow-x: hidden;
}

body .container{
    width: 100%;
    max-width: 1400px;
}

#dle-content{
    background: none;
    box-shadow: none;
    border: none;
}

.sidebar  .content_box__container{
    /* padding: 11px 10px 0px 6px;
    position: relative; */

        padding: 20px 10px 20px 6px;
    
}


.mail_box_list{
    max-height: 80vh;
    overflow: auto;   
}



.mail_box_list::-webkit-scrollbar {
    width: 5px;
    cursor: pointer;
}
.mail_box_list::-webkit-scrollbar-track {
    background-color: var(--color-window);
    border-radius: 0 0 15px 0;
    height: calc(100% - 15px);
}
.mail_box_list::-webkit-scrollbar-thumb {
    height: 10px;
    background-color: var(--color-primary);
}

ul {
    height: max-content;
    display: block;
    text-decoration: none;
    margin: 0px;
    padding: 0px;

}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.free_email {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.free_email .content_title {
    font-size: 14px;
    font-weight: 700;
    padding: 9px 24px 27px;
    border-radius: 15px 15px 5px 5px;
    width: max-content;
    min-width: 135px;
    height: -moz-max-content;
    height: max-content;
    text-align: center;
    /* background: #39A7E7; */
    background-color: var(--color-primary);
    color: var(--color-contrast);
    /* color: white; */
    letter-spacing: 0.5px;
    margin-bottom: -22px;
}

.count_massage{
    width: max-content;
    margin-left: auto;
    display: flex;
    align-items: center;
}
.count_massage__text{
    /* color: rgba(138, 138, 138, 0.50); */
    color: var(--color-font);
    /* EDIT  */
    font-size: 14px;
    font-weight: 700;
}
.count_massage__icon{
    width: 16px;
    height: 15px;
    margin-left: 4px;
    margin-bottom: -1px;
}

.count_massage__icon svg{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.content .content_title{
    display: flex;
    align-items: center;
    justify-content: center;
}
.content_title__copy_btn{
    width: 16px;
    min-width: 16px;
    height: 16px;
    display: block;
    margin-left: 4px;
    cursor: pointer;
}

.content_title__copy_btn svg{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.free_email .sidebar {
    width: 33%;
    /* width: 34.5718799368%; */
    /* max-width: 500px; */
    margin-bottom: 30px;
}
.free_email .content {
    width: 63%;
    /* max-width: 837px; */
}

.content_box {
    width: 100%;
    height: -moz-max-content;
    height: max-content;
    margin-bottom: 50px;

    filter: drop-shadow(var(--shadow-window));
}


.sidebar .content_box{
    margin-bottom: 20px;
}

.content_box__info_email{
    margin-top: 30px;
}

.content_box .content_box__container {
    /* background-color: white; */
    background-color: var(--color-window);

    width: 100%;
    min-height: 150px;
    height: -moz-max-content;
    height: max-content;
    border-radius: 15px;
    /* background: white; */
    /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1); */
    position: relative;
}

.content_box__img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: white;*/
    background-color: var(--color-contrast) ;
    
}
.content_box__img img {
    width: 100%;
    height: -moz-max-content;
    height: max-content;
    -o-object-fit: contain;
        object-fit: contain;
}

.sidebar ul {
    display: block;
    /* padding: 20px 10px; */
    padding: 0px 5px 0px 10px;
}
/* EDIT------------ */
.sidebar ul li{
    margin-bottom: 10px;
}

.sidebar ul li a{
    height: 44px;
    border-radius: 5px;
    /* background: #F5F5F5; */
    /* background: transparent; */
    background-color: var(--color-element);
    display: flex;
    align-items: center;
    padding: 0px 13px;
    cursor: pointer;
}

.sidebar ul li a:hover{
    /* background: #dbd9d9; */
    background: var(--color-contrast);
}

.sidebar ul .selected_mail a{
    /* background: #39A7E7; */
    background:  var(--color-contrast);
}

.sidebar ul .selected_mail a:hover{
    /* background: #3297d1; */
    background:  var(--color-contrast);
}
/* EDIT------------------ */

.sidebar ul li h5 {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    margin: 0px;
    padding: 0px;
    margin-left: 14px;
}

.sidebar ul .selected_mail h5{
    /* color: white; */
}

.sidebar ul .selected_mail .count_massage__text{
    /* color: white; */
}

.sidebar ul .selected_mail .count_massage__icon path{
    /* fill: white; */
}
/* EDIT------------------ */


.sidebar ul li:last-child{
    margin-bottom: 0px;
}
/* EDIT------------------ */

.content__btn_box button:last-child {
    margin-right: 0px;
}


.content_box__container {
    padding: 11px 16px;
}


.content__head{
    align-items: start;
    display: flex;
    justify-content: space-between;
}
.content__head_btn{
    display: flex;
    align-items: center;
}
.content__head_btn a{
    padding: 0px 22px;
    display: block;
    border-radius: 15px;
    height: 29px;
    line-height: 29px;
    color: var(--color-font);
    background-color: var(--color-window);
    /* box-shadow: 0px 0px 10px 0px var(--shadow-window); */
    filter: drop-shadow(var(--shadow-window));
    font-size: 14px;
    margin-left: 6px;
    cursor: pointer;
}

.content__head_btn .head_btn_active{
    background-color: var(--color-primary);
    color:  var(--color-contrast);
}


.content h1{
    /* color: #000; */
    color: var(--color-font);
    font-family: "Lato", sans-serif;
    font-size: 24px;
    line-height: 24px!important;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0px;
    padding: 0px;
    /* margin-top: 7px; */
    margin-bottom: 14px;
}

.free_email__navigation{
    margin: 11px 0px 14px;
}

.free_email__navigation ul{
    /* color: #515151; */
    color: var(--color-font);
    font-size: 14px;
    font-weight: 400;

}

.free_email__navigation ul ol{
    display: flex;
    align-items: end;
}

.free_email__navigation li{
    margin-right: 4px;
}

.free_email__navigation li:last-child{
    margin-bottom: 0px;
}

.free_email__navigation li a{
     /* #515151; */
     color: var(--color-font);
}
      
/* ------------------------------- */

.mail_container{
    width: 100%;
    height: max-content;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
}
.message_list{
    width: 30%;
    height: max-content;
    position: relative;
    min-height: 400px;
    /* height: 300px; */
    /* overflow: auto; */
}

.message_list::-webkit-scrollbar {
    width: 5px;
}
.message_list::-webkit-scrollbar-track {
    /* background-color: #fcfcfc; */
    background-color: var(--color-window);
    border-radius: 0 0 15px 0;
    height: calc(100% - 15px);
}
.message_list::-webkit-scrollbar-thumb {
    height: 10px;
    /* background-color: #00adfd; */
    background-color: var(--color-primary);
    cursor: pointer;
}

.message_list ul{
    width: 100%;
    height: max-content;
}

.message_list li{
    display: block;
    width: 100%;
    height: max-content;
    /* border-radius: 15px; */
    border-radius: 5px;
    padding: 15px;
    /* margin: 2px 0px; */
    cursor: pointer;
    /* background: var(--color-element); */
}  


.prev_message__not_buy_alias{
    position: relative;
    /* border: 1px solid #F5F5F5; */
    /* border: 1px solid var(--color-font); */
}

/* .message_list .prev_message__not_buy_alias{
    border-bottom: 1px solid #F5F5F5;
}
.message_list .prev_message__not_buy_alias:last-child{
    border-bottom: none;
} */

.prev_message__not_buy_alias::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
}

.message_list li:hover{
    background: var(--color-element);
}

@media screen and (max-width: 700px){
    .message_list li:hover{
        opacity: 0.9;
    }
}




.message_list .message_item__select{
    background: var(--color-element);
}

.message_list .message_item__select:hover{
    /* opacity: 0.9; */
    background: var(--color-element-hover);
}

.message_list .prev_message__head{
    display: flex;
    justify-content: space-between;
    align-items: end;
}


.message_list h5{
    color: var(--color-font);
    /* color: #444444; */
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-style: normal;
}  

.message_list .prev_message__head h5{
    max-width: 65%;
}
.message_list .prev_message__head span{
    max-width: 35%;
    font-size: 12px;
    /* color: #BFBFBF; */
    color: var( --color-secondary);
    font-weight: 600;
}

.message_list .message_item__select h5{
    /* color: #444444; */
    color: var(--color-font);
}

.message_list p{
    /* color: #515151; */
    color: var(--color-font);
    font-size: 12px;
    /* font-weight: 300; */
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    padding-top: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-style: normal;
}                           
                     


.message_view{
    width: 69.4%;
    height: max-content;
    min-height: 420px;
    position: relative;
    border-radius: 5px;
    /* border: 1px solid #F0F1F3; */
    border: 1px solid var(--color-element);
    /* background: var(--color-element); */

}

.mail_not_selected {
    width: max-content;
    max-width: 100%;
    height: max-content;
    /* color: #515151; */
    color: var(--color-font);
    font-size: 18px;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}


.mail_not_selected__no_buy_alias{
    width: max-content;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.mail_not_selected__no_buy_alias svg{
    width: 52px;
    height: max-content;
    margin: 0px auto;
}
.mail_not_selected__no_buy_alias span{
    color: var(--color-font);
    font-size: 18px;
    line-height: 24px;
    /* font-weight: 400; */
    font-weight: 700;
    margin-top: 12px;
}

.no_buy_alias__btn{
    margin: 12px auto 0px;
    width: max-content;
}
.no_buy_alias__btn button{
    padding: 8px 15px;
    outline: none;
    border: none;
    color: var(--color-contrast);
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    border-radius: 5px;
    background: var(--color-primary);
    cursor: pointer;
}


.mail_message {
    width: 100%;
    min-height: 100%;
    /* background: rgba(240, 241, 243, 0.2); */
    font-size: 16px;
    color: var(--color-font);
}

.mail_message__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 0px;

}
.mail_message__head h4{
    width: max-content;
    height: max-content;
    max-width: 60%;

    /* color: #515151; */
    color: var(--color-font);
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
}

.mail_message__head p{
    width: max-content;
    height: max-content;
    max-width: 38%;

    /* color: #BFBFBF; */
    color: var(--color-font);
    font-size: 12px;
    font-weight: 400;
}
.mail_message__sender{
    color: var(--color-font);
    /* color: #515151; */
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
    padding: 0px 20px;
    display: block;
}

.mail_message .mail_message__text{
    margin-top: 18px;
    width: 100%;
    word-wrap: break-word;
    color: var(--color-font);
}



.mail_message__text  .messageBody{
    max-width: 100%;
    min-width: 100%;
    height: max-content;
    min-height: 400px;
    max-height: 400px;
    border: none;
    font-size: 16px;
    line-height: 20px;
    outline: none;
    overflow:  auto;

    color: var(--color-font)!important;
    /* color: #515151!important;  */
    font-size: 14px!important;
    line-height: 18px!important;
    /* word-break:break-all!important; */
    word-wrap: break-word!important;

    text-align: center!important;

    padding: 10px 12px;
}

.mail_message__text  .messageBody a{
    color: var(--color-primary-font);
    text-decoration: underline;
    max-width: 100%;
}

.messageBody tbody,
.messageBody table,
.messageBody thead,
.messageBody div,
.messageBody img{
    text-align: center!important;
    align-items: center!important;
    margin: 0 auto!important;
}

/* 
.mail_message__text iframe::-webkit-scrollbar {
    width: 5px;
}
.mail_message__text iframe::-webkit-scrollbar-track {
    background-color: #fcfcfc;
    border-radius: 0 0 15px 0;
    height: calc(100% - 15px);
}
.mail_message__text iframe::-webkit-scrollbar-thumb {
    height: 10px;
    background-color: #00adfd;
    cursor: pointer;
} */


.loader{
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.loader img{
    width: 100%;
    height: 100%;
}


.messages_loader{
    position: relative;
}

.messages_loader img{
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}



/* ----------------------------- */

.info_mail{
    width: 100%;
    height: max-content;
    padding: 0px 4px;
    padding-bottom: 39px;
}

.info_mail h2 {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0px 0px;

}
.info_mail p {
    color: #515151;
    font-size: 14px;
    font-weight: 400;
    padding-top: 8px;
}




.info_mail__head h2 {
    margin: 19px 0px 0px;
    
}



.easy_block__card_box{
    width: 100%;
    height: max-content;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}

.easy_block__card{
    width: 46%;
    height: max-content;
    display: flex;
    align-items: center;
}

.easy_block__card img{
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.easy_block__card p{
    padding: 0px 0px 0px 10px;
}

.easy_block__card p a{
    color: #39A7E7;
}


/*  */

.info_mail__advantages{}

.advantages__card_box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.advantages_card{
    width: 48%;
    height: max-content;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.advantages_card__img_box{
    width: 88px;
    height: 72%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages_card__img_box img{
    width: 100%;
    object-fit: contain;
}

.advantages_card__text_box{
    width: 60%;
    width: calc( 100% - 100px);
    margin-left: 12px;
    margin-top: 5px;
}

.advantages_card__text_box h3{
    color: #515151;
    font-size: 14px;
    font-weight: 700;
    margin: 0px;
    padding: 0px;
}


.info_mail__advantages ul{
    margin-left: 15px;
    margin-top: 12px;
}
.info_mail__advantages li{
    list-style-type:disc;
    margin-top: 12px;
}


@media screen and (max-width: 1400px){
    
    .free_email .sidebar {
        width: 36%;
    }
    .free_email .content {
        width: 60%;
    }

}

@media screen and (max-width: 1200px){
    
    .curr_lang__es .sidebar {
        width: 28%;
    }
    .curr_lang__es .content {
        width: 70%;
    }

}


@media screen and (min-width: 700px){
    .message_list{
        /* max-height: 400px; */
        max-height: 490px;
        overflow: auto;
        padding-right: 5px;
    }
    
    
}


@media screen and (max-width: 1000px){

    .free_email {
        position: relative;
    }

/* 
    .private_mail_content_title {
        position: absolute;
        top: 0;
    } */

    .content__head{
        width: 100%;
        position: absolute;
        top: 0;
    }

    .free_email .sidebar {
        width: 100%;
        max-width: 100%;
        /*  */
        margin-top: 70px;
    }

    .mail_box_list{
        max-height: 350px;
        overflow: auto;
    }

    .free_email .content {
        width: 100%;
        max-width: 100%;
    }



    /* .curr_lang__es .free_email .sidebar {
        width: 28%;
    }
    .curr_lang__es .free_email .content {
        width: 70%;
    } */


}


@media screen and (max-width: 700px){


    
    .free_email .content_title{
        font-size: 12px;
        line-height: 14px;
    }

    .content_title__copy_btn{
        width: 14px;
        min-width: 14px;
        height: 14px;
    }

/* --------- */

    .sidebar ul li h5 {
        font-size: 12px;
        line-height: 14px;
    }

    .count_massage__text{
        font-size: 12px;
    }

    .count_massage__icon{
        width: 14px;
        height: 13px;
    }

/* ------------- */
    .content .content_box__mail_generator{
        margin-top: 0px;
    }

    .content__head_btn{
        min-width: max-content;
    }

    .content__head_btn a{
        padding: 0px 12px;
        width: max-content;
        height: 22px;   
        line-height: 22px;
        font-size: 12px;
    }

    .content h1{
        font-size: 18px;
        line-height: 20px!important;
    }
    
        
    .mail_container{
        flex-wrap: wrap;
    }
    .message_list{
        width: 100%;
        min-height: max-content;
        overflow: auto;
    }
    
    .message_list ul{
        width: max-content;
        min-width: max-content;
        height: max-content;
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }
    
    .message_list li{
        width: 250px;
        min-height: 70px;
        height: max-content;
        padding: 8px 12px;
        margin: 0px 5px;
    }  

    .message_list li{
        background: var(--color-element);
    }

    .message_list .message_item__select {
        background: var(--color-element-hover);
    }
    
    .message_list h5{
        font-size: 12px;
    }  
    .message_list p{
        font-size: 12px;
    }                           
                         
    .message_view{
        width: 100%;
        min-height: 320px;
    }

    .mail_message{
        margin-top: 4px;
    }

    .mail_message__head{
        padding: 10px 8px 0px;
    }

    .mail_message__sender{
        padding: 0px 8px;
    }
    .mail_message__text iframe{
        min-height: 300px;
        font-size: 12px;
        line-height: 16px;
        padding: 8px;
    }
    /* -------------------------- */

    
    .mail_message__head h4{
        font-size: 14px;
        line-height: 16px;
    }

    .easy_block__card{
        width: 100%;
        margin-bottom: 12px;
    }

    .easy_block__card_box .easy_block__card:last-child{
        margin-bottom: 0px;
    }

    .advantages_card {
        width: 100%;
    }


    .info_mail h2{
        font-size: 16px;
        line-height: 18px;
    }

    .info_mail p{
        font-size: 12px;
        line-height: 16px;
    }

    .advantages_card__text_box h3{
        font-size: 12px;
    }
}

@media screen and (max-width: 600px){

    .free_email .sidebar {
        width: 100%;
        max-width: 100%;
        margin-top: 100px;
    }

    .content__head{
        flex-direction: column;
    }

    .private_mail_content_title{
        width: 100%;
    }

    .content__head_btn{
        width: 100%;
        min-width: 10px;
        margin-left: 0px;
        margin-top: 12px;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .content__head_btn a{
        margin-left: 0px;
        margin-right: 4px;
        margin-bottom: 4px;
    }
}
/* -------------------------------------------------- */

.search_content {
    width: 100%;
    height: -moz-max-content;
    height: max-content;
    margin: 4px 0px 10px;
    /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10); */
    border-radius: 5px;
    border: 1px solid var(--color-element);
    
}
.search_content .search_content_container {
    width: 100%;
    height: -moz-max-content;
    height: max-content;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.search_content input {
    width: 100%;
    max-width: 100%;
    height: 39px;
    border-radius: 5px;
    background: var(--color-element);
    border: 0px;
    padding: 0px 0px 0px 20px;
    outline: none;
}
.search_content button {
    height: 100%;
    width: -moz-max-content;
    width: max-content;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0px 13px 0px 20px;
    background: var(--color-element);
    border-radius: 0px 10px 10px 0px;
    border-color: transparent;
    cursor: pointer;
}

.search_content button img{
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

.theme-dark .search_content button img{
    filter: invert(1);
}

.search_content button svg{
    fill: var(--color-primary); 
}

@media screen  and ( max-width: 1200px ){
    .search_content input {
        height: 32px;
    }
}





.content_box__mail_generator{
    margin-top: 20px;
}
.content_box .mail_generator{
    min-height: 50px;
    padding: 15px 16px;
}

.mail_generator h5{
    color: var(--color-font);
    /* color: #515151; */
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.mail_generator .mail_container{
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.mail_generator .mail_container input{
    width: 100%;
    height: 44px;
    border-radius: 5px;
    /* background: #F5F5F5; */
    color: var(--color-font);
    background-color: var(--color-element);
    /* color: #353535; */
    font-size: 14px;
    font-weight: 400;
    padding-left: 20px;
    outline: none;
    border: none;
}

.mail_generator .mail_container button{
    padding: 13px 20px;
    border: 0px;
    outline: none;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.2s;
}

.mail_generator .mail_container button:hover{
    opacity: 0.9;
}

.mail_generator__btn_blue{
    /* color: #FFF;
    background: #39A7E7; */
    color: var(--color-contrast);
    background: var(--color-primary);
}
.mail_generator__btn_yellow{
    /* background: #FFCA5A;
    color: #515151; */
    color: #515151;
    background: var(--color-accent);
}

.mail_generator__btn_yellow svg{
    margin-left: 8px;
    fill: #515151;
    /* fill: var(--color-contrast)!important; */
}


.mail_generator__btn_blue span{
    width: max-content;
    max-width: 100px;
} 


.mail_container__info{
    margin-top: 12px;
    display: flex;
    align-items: start;
    justify-content: space-between;
}
.mail_container__info p{
    /* color: #515151; */
    color: var(--color-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    display: block;
    width: 80%;
    width: calc( 100% - 24px );
}

.mail_container__info p svg{
    fill: var(--color-font)!important;
    /* stroke: var(--color-font)!important; */
}

.mail_container__info p b{
    font-weight: 700;

    display: inline-flex;
    align-items: center;
}

.mail_container__info p b svg{
    margin-left: 5px;
}

.mail_container__info p span{
    border-bottom: dashed 1px var(--color-font);
    position: relative;
    cursor: pointer;
}


.mail_container__icon{
    width: 17px;
    height: 17px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #FFCA5A; */
    color: #515151;
    /* color: var(--color-font); */
    background: var(--color-accent);
}


@media screen and (max-width: 700px){

    .mail_generator .mail_container{
        justify-content: right;
    }

    .mail_generator .mail_container button{
        margin-left: 0px;
        margin-top: 12px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .mail_generator__btn_yellow svg{
        width: 16px;
    }

    .mail_generator .mail_container button:last-child{
        margin-left: 10px;
    }

}





/* -------------------------------------------------------- */



.sidebar .content_box__container_services{
    padding: 20px 17px;
    height: max-content;
    min-height: 35vh;
    min-height: max( 35vh, 250px);
    position: relative;
}

.service__list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0px 0px;

}

.loader_select_service{
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.loader_select_service img{
    width: 100%;
    height: 100%;
}

.services__item_s{
    width: 49%;
    height: 40px;
    margin: 5px 0;
    /* background-color: rgba(0, 0, 0, 0.048); */
    background-color: var(--color-element);
    border-radius: 5px;
    position: relative;
    z-index: 11;
    cursor: pointer;
}

.service_item_disabled{
    background-color: rgba(0, 0, 0, 0.020);
    cursor: default;
}



.item-s__box{
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    transition: 0.1s;
}

@media screen and ( min-width: 850px ){

    .item-s__box:hover{
        border-radius: 5px;
        background-color: var(--color-element-hover);
    }
    
}


/* 
.services__item_s .checked {
    border-radius: 5px!important;
    background-color: rgb(0, 174, 255)!important;
    color: white!important;
} */


.item-s__img{
    width: 25px;
    min-width: 25px;
    max-width: 25px;
    min-height: 25px;
    height: max-content;
    max-height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    background-color: white;
    border-radius: 50%;
    overflow: hidden;
}
.item-s__img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service_item__text {
    width: 100%;
}

@media screen and ( max-width: 550px) {
    .service_item__text {
        width: 70%;
        overflow: hidden;
    } 
}

.services__item_s span{
    /* color: #000; */
    color: var(--color-font);
    font-size: 12px;
    font-weight: 500;
    padding-right: 10px;
    position: absolute;
    width: max-content;
    height: max-content;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.item-s__box h5{
    transition: font-size 0.2s;
    height: 17px;
    /* font-size: 12px; */
    font-size: 14px;

    font-weight: 500;
    margin-left: 5px;
    max-width: 85%;
    overflow: hidden;
    margin-right: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    padding-right: 10px;
    /* color: black; */
    color: var(--color-font);
}

.service__list .select_service{
    border-radius: 5px!important;
    /* background-color: rgb(0, 174, 255)!important; */
    background-color: var(--color-primary)!important;;
}


.select_service .item-s__box h5,
.select_service span {
    color: var(--color-contrast)!important;
    /* color: white!important; */

}


@media screen and ( max-width: 410px){
    .item-s__box h5{
        max-width: 65%;
    }
}

@media screen and ( max-width: 345px){
    .item-s__box h5{
        max-width: 50%;
    }
}
/* ---------------------------------- */


.big-service-selector__title{
width: 95%;
margin: 15px auto 7px;
font-size: 14px;
font-weight: 400;
color: #6D7885;
}

.big-service-selector {
    height: calc(100% - 50px);
    margin-top: 12px;
    /* padding: 0px 0px 13px; */
    border-radius: 15px;
    /* box-shadow: 0 0 8px #e3e3e3; */
    /* background: #FDFDFD; */
}

.big-service-selector .service-selector {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    height: 44px;
    background: #F5F5F5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    /* margin-left: 13px; */
    /* padding-left: 13px; */
}

.service-selector .item-s__box{
    padding-left: 13px;
}


/* 
.service-selector  .item-s__box img{
    margin-left: 40px;
} */

/* .service-selector .service_favorites{
margin: 0px 13px;
} */

.big-service-selector .service-selector::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #444;
    display: inline-block;
    position: absolute;
    /* right: 6px; */
    right: 13px;
    transition: transform .3s ease;
}

.big-service-selector .open::after {
    transform: rotate(180deg);
}

.big-service-selector .service-selector h5 {
    color: rgba(0, 0, 0, 0.8);
    margin-left: 13px;
}

.big-service-selector .service-selector img {
    border-radius: 50%;
    background-color: #FFFFFF;
    /* margin-left: 13px; */
    height: 75%;
}

.big-service-selector  .item_services__box img {
    margin-left: 13px;
}

.big-service-selector .dropdown-content {
    position: absolute;
    /* width: calc(100% - 75px); */
    width: calc(100% - 44px);
    z-index: 1;
    max-height: 312px;
    overflow-y: scroll;
    background-color: #fefefe;
    box-shadow: -8px 8px 8px rgba(227, 227, 227, 50%), 8px 8px 8px rgba(227, 227, 227, 50%);
    border-radius: 0 0 10px 10px;

    left: 0;
    right: 0;
    margin: auto;
}

.dropdown-content input {
    width: 100%;
    background: #F5F5F5;
    border: none;
    border-radius: 5px;
    outline: 0;
    padding-left: 13px;
}

.dropdown-content form::after {
    content: '\26B2';
    font-size: 30px;
    width: max-content;
    height: max-content;
    color: #51c5fa;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(-40deg);

    margin-right: 13px;
}

.big-service-selector .dropdown-content::-webkit-scrollbar {
    width: 5px;
}
.big-service-selector .dropdown-content::-webkit-scrollbar-track {
    background-color: #fcfcfc;
    border-radius: 0 0 15px 0;
    height: calc(100% - 15px);
}
.big-service-selector .dropdown-content::-webkit-scrollbar-thumb {
    height: 10px;
    background-color: #00adfd;
}


.big-service-selector .dropdown-content .dropdown-item {
    transition: background-color 100ms ease, color 100ms ease;
    display: flex;
    align-items: center;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    margin: 10px 5px 10px 10px;
}

.big-service-selector .dropdown-content .dropdown-service-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px 10px 5px 10px;
}

.big-service-selector .dropdown-content .dropdown_service_item__authorized{
    padding-left: 40px;
}


.big-service-selector .dropdown-content .dropdown-item:not(:first-child):not(.active):hover {
background-color: #e5e5e5;
}
.big-service-selector .dropdown-content .dropdown-item img {
    border-radius: 50%;
    background-color: #FFFFFF;
    height: 90%;
}

.big-service-selector .dropdown-content .dropdown-service-item img {
    border-radius: 50%;
    background-color: #FFFFFF;
    height: 90%;
}




.big-service-selector .dropdown-content .dropdown-item .info{
    width: 124px;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;

}
.big-service-selector .dropdown-content .dropdown-item h5{
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 17px;
    margin-left: 10px;

}
.big-service-selector .dropdown-content .active {
    background-color: #00aeff;
    color: white;
}
.big-service-selector .dropdown-content .dropdown-item .info p{
    margin-left: 10px;
    font-weight: 700;
}

.big-service-selector .buy-block {
    margin-top: 10px;
    height: 70px;
    background: #F5F5F5;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.big-service-selector .buy-block p {
    height: 17px;
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    margin-right: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    padding-right: 10px;
    color: #515151;
    margin-bottom: 5px;
}

.big-service-selector .buy-block span {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 17px;
    color: #000000;
}

.big-service-selector .buy-block .amount {
    width: 25%;
    margin-left: 15px;
}

.big-service-selector .buy-block .price {
    width: 25%;
}

.big-service-selector .buy-block .buy {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}
.big-service-selector .buy-block .buy a {
    margin-right: 10px;
}

.services__box .big-service-selector {
    padding: 0;
    box-shadow: none;
    background: none;
    width: 95%;
    margin: 20px auto 0px;
}
.services__box .big-service-selector .service-selector h5{
    color: black;
}

.services__box .big-service-selector .dropdown-content {
    width: calc(100% - 25px);   
}

.country-top-services {
transition: filter 0.3s;
display: flex;
flex-wrap: wrap;
padding: 0 0 0 0;
margin-top: 45px;
border-radius: 15px;
box-shadow: 0 0 8px #e3e3e3;
background: #FDFDFD;
}

.country-top-services .header {
padding: 20px 20px 0 20px;
}
.country-top-services .header h4 {
max-width: 80%;
font-weight: 700;
font-size: 24px;
line-height: 31px;
color: #353535;
/*margin-left: 35px;*/
/*margin-top: 37px;*/
}

.country-top-services .header p {
margin-top: 5px;
font-size: max(2.2rem,12px);
}
.country-top-services .container {
padding: 10px;
}

.country-top-services .container .top-service{
transition: filter 0.5s;
padding: 0;
}

.country-top-services .container .top-service h5 {
height: 19px;
margin-top: 13px;
line-height: 18px;
font-size: 18px;
font-weight: 700;
max-width: 93%;

overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}

.country-top-services .container .top-service .price {
margin-top: 3px;
font-size: 14px!important;
}

/* ------------------------------------- */



.sidebar .content_box__pay_service{
    padding: 20px;
}

.content_box__pay_service h3{
    /* color: #000; */
    color: var(--color-font);
    font-size: 16px;
    font-weight: 500;
}

.service_info_box{
    margin-top: 26px;
}
.service_info_box__service_info_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}


.service_info_box__item_price{
    margin: 12px 0px 10px;
}



.service_info_item__name{
    /* color: #515151; */
    color: var(--color-font);

    font-size: 16px;
    font-weight: 400;
}

.service_info_item__value{
    display: flex;
    align-items: center;
    justify-content: left;
    width: 50%;
}

.service_info_item__value_img{
    padding: 6px;
    border-radius: 5px;
    border: 1px solid var(--color-element-hover);
}


/* .service_info_item__value_img{
    width: 40%;
} */

.service_info_item__value img{
    width: 26px;
    max-height: 30px;
    margin-right: 4px;
}
.service_info_item__value span{
    color: var(--color-font);
    /* color: var(--color-secondary); */
    /* color: #515151; */
    font-size: 16px;
    font-weight: 400;
}
.service_info_item__value span b{
    font-weight: 700;
    color: var(--color-font);
}
/* -------- */

.service_info_box__item_price .service_info_item__value{
    width: max-content;
    height: max-content;
}

.service_info_box__item_price .service_info_item__value span,
.service_info_box__item_price .service_info_item__value span b{
    color: var(--color-primary);
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
}
                               
/* -------------- */
.count_service_mail{
    display: flex;
    align-items: center;
    width: 60%;
    padding: 6px;
    border-radius: 5px;
    border: 1px solid var(--color-element-hover);
}

.count_service_mail button{
    width: 25px;
    height: 25px;
    outline: none;
    border: none;
    /* color: white; */
    font-size: 14px;
    font-weight: 400;
    /* background-color: #39A7E7; */
    background-color: var(--color-primary);
    color: var(--color-contrast);

    border-radius: 5px;
    cursor: pointer;
}

/* .count_service_mail button:last-child{
    border-radius: 0px 3px 3px 0px;
} */

.count_service_mail input{
    border-radius: 0px;
    width: 35px;
    min-width: 25px;
    width: calc( 100% - 50px );
    height: 25px;
    text-align: center;
    font-size: 14px;
    background-color: transparent;
    border-color: transparent; 
    color: var(--color-font);
}
    

.rental_time_service{
    margin-left: 12px;
}

.rental_time_service select{
    width: 78px;
    /* height: 25px; */
    height: 39px;

    border-radius: 5px;
    border: 1px solid var(--color-element-hover);
    background: var(--color-window);
    font-size: 14px;

    color: var(--color-font)
}
.rental_time_service select option{
    border: 1px solid var(--color-element-hover);
}

@media screen and (max-width: 1200px){

    .service_info_item__value{
        width: 60%;
    }

    .rental_time_service{
        width: 40%;
        width: calc( 40% - 12px );
    }

    .rental_time_service select {
        width: 100%;
    }

}

@media screen and (max-width: 550px){

    /* .count_service_mail button{
        width: 23px;
        height: 23px;
        font-size: 12px;
    }

    .rental_time_service{
        margin-left: 8px;
    }
    
    .count_service_mail input{
        width: 30px;
        height: 23px;
        font-size: 12px;
    }

    .rental_time_service select{
        width: 70px;
        font-size: 12px;
        height: 23px;
    } */

    .service_info_item__value{
        width: 50%;
    }

    .rental_time_service{
        width: 50%;
        width: calc( 50% - 12px );
    }

    .rental_time_service{
        margin-left: 8px;
    }
    
    .service_info_box__item_price .service_info_item__value span{
        font-size: 18px;
        line-height: 18px;
    }

}

@media screen and (max-width: 400px){
    
    .service_info_item__value{
        width: 55%;
    }
}
               
.pay_service__purchase_information{
    /* margin-top: 50px; */
    border-top: 1px solid var(--color-element-hover);
    padding-top: 15px;
}
.pay_service__purchase_information p{
    color: var(--color-font);
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}
            
.pay_service__btn_box{
    margin-top: 49px;
    width: max-content;
    margin-left: auto;
}
.pay_service__btn_box button{
    /* height: 43px; */
    height: max-content;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.pay_service__btn_box button:disabled{
    /* background: #a0a0a0; */
    background-color: var(--color-element-hover);
    cursor: default;
    cursor: not-allowed;
}
/* 
.theme-dark{
    background: var(--color-secondary-hover);

}

.theme-dark{

} */

/* .theme-light{} */

.pay_service__close_btn{
    /* background-color: #E7E7E7; */
    /* background-color: var(--color-element-hover0); */
    /* color: #515151; */
    background-color: var(--color-secondary);
    color:  var(--color-contrast);
}


.pay_service__close_btn:hover{
    /* background-color: #f5f4f4; */
    background-color: var(--color-secondary-hover);
}

.pay_service__pay_btn{
    /* color: #FFFFFF; */
    color: var(--color-contrast);
    /* background-color: #39A7E7; */
    background-color: var(--color-primary);
    margin-left: 14px;
}


@media screen and (max-width: 550px){

    .pay_service__purchase_information{
        /* margin-top: 30px; */
        padding-top: 12px;
    }
    .pay_service__purchase_information p{
        font-size: 12px;
        line-height: 16px;
    }
                
    .pay_service__btn_box{
        margin-top: 29px;
    }

    .pay_service__btn_box button{
        padding: 9px 22px 8px;
        font-size: 12px;    
    }
}

/* --------------------------------------------- */


.sidebar .all_service_and_mail{
    /* padding: 15px 15px 15px; */
    padding: 0px;
    min-height: 10px;
}

.all_service_and_mail__table_service{
    padding: 15px 15px 15px;
    /* height: 40vh;
    max-height: 500px;
    min-height: 300px; */
    /* overflow: auto; */
}

.all_service_and_mail__table_service{}

.table_service__head{
    width: 100%;
    height: max-content;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.table_service__head span{
    /* color: #515151; */
    color: var(--color-font);
    font-size: 12px;
    font-weight: 500;
}

.table_service__name{
    /* width: 45%; */
    width: 58%;
    /* min-width: 45%; */
    min-width: 55%;

    height: max-content;
    display: flex;
    text-align: center;
    position: relative;
    z-index: 5;
}




.table_service__name img{
    margin-right: 8px;
    width: 15px;
    max-height: 15px;
    background: white;
}

.table_service__head .table_service__name span{
    margin-right: 50px;
}

           
.table_service__expireAt{
    width: 30%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.table_service__expireAt span{
    margin-left: 5px;
    /* color: #515151; */
    color: var(--color-font);

    font-size: 12px;
    font-weight: 500;
}

.table_service__expireAt img{
    width: 13px;
    height: 13px;
    margin-top: -2.5px;
}
 
.table_service__count{
    width: 12%;
    display: flex;
    justify-content: right;
    margin-right: 3.5%;
    position: relative;
}

/* .table_service_count_mew_message .mail_count_icon::after{
    position: absolute;
    content: '';
    right: -3px;
    top: 0px;
    width: 6px;
    height: 6px;
    display: block;
    background-color: #39A7E7;
    border-radius: 50%;
} */


.table_service__count .mail_count_icon{
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.table_service__count .mail_count_icon img{
    width: 100%;
    height: 100%;
}



.table_service__count span{
    margin-right: 4px;
}



.table_service__body{
    margin-top: 17px;

    height: max-content;
    max-height: 400px;
    min-height: 35vh;
    min-height: max( 35vh, 250px);
    overflow: auto;
    position: relative;
}

/* @media screen and (max-width: 550px){
    .table_service__body{
        max-height: 400px;
        min-height: 15vh;
        min-height: max( 15vh, 250px);
    }
} */

.loader_rent__email{
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

.loader_rent__email img{
    width: 100%;
    height: 100%;
}


.table_service__body .service_mail_item{
    padding: 15px 13px 14px;
    /* overflow: hidden; */
    transition: all 0.2s;
    cursor: pointer;
}



.service_mail_item__buy .table_service__expireAt{
    width: 0px;
    overflow: hidden;
}


.service_mail_item__buy .table_service__count{
    width: 22%;
    justify-content: center!important;
}


.table_service__count__btn{
    width: 0px;
    height: 0px;
    position: relative;
    overflow: hidden;
    right: -200px;
}

.table_service__count__btn button{
    padding: 7px 15px;
    outline: none;
    border: none;

    color: var(--color-contrast);
    font-size: 12px;
    font-weight: 700;

    border-radius: 5px;
    background: var(--color-primary);
    cursor: pointer
}


.table_service__mail_nested_list .service_mail_item__buy {
    padding: 8px 13px;
}


.service_mail_item__buy .table_service__count__btn{
    width: 33%;
    height: max-content;
    right: 0px;
    display: flex;
    justify-content: end;
}






.service_mail_item__active{
    border-radius: 5px;
    /* background: #F5F5F5; */
    background: var(--color-element-hover);
}

.table_service__service{
    margin-bottom: 18px;
}

.table_service__body .table_service__service:last-child{
    margin-bottom: 0px;
}

.table_service__service_item{
    width: 100%;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
    cursor: pointer;
}




.table_service__body .table_service__name{
    color: var(--color-font);
    /* color: #515151; */
    font-size: 14px;
    height: max-content;
    font-weight: 400;
}

.table_service__name img{
    border-radius: 50%;
}

.table_service__body .service_mail_item__buy .table_service__name{
    width: 57%;
    min-width: 57%;
}

.table_service__body .table_service__name span{
    max-width: 100%;
    height: max-content;
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-align: left;    
    color: var(--color-font); 

    overflow-wrap: break-word;
}

.table_service__body .table_service__body .table_service__name span{
    max-width: 100%;
}



.service_mail_item__buy .table_service__body .table_service__count{
    width: 10%;
    justify-content: center!important;
}



.table_service_btn{
    cursor: pointer;
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -3px;
    margin-left: 5px;
}
.table_service_btn img{
    width: 14px;
    height: 14px;
    background-color: transparent;
}

.theme-dark .table_service_btn img{
    filter: invert(1);
}

/* .table_service_btn__open
.table_service_btn__close{
    
} */

.table_service__body .table_service__expireAt{
    color: var(--color-font);
    /* color: #515151; */
    font-size: 12px;
    font-weight: 500;
    height: max-content;
    justify-content: center;
}

.table_service__body .table_service__count{
    color: var(--color-secondary);
    /* color: rgba(138, 138, 138, 0.80); */
    font-size: 14px;
    font-weight: 500;
    height: max-content;
    text-align: right;
    justify-content: right;
    margin-right: 0%;
}


.table_service__mail_item_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
    

.table_service__mail_nested_list .mail_nested_list__item .table_service__name{
    /* padding-left: 23px; */
    padding-left: 13px;
}


.table_service__service_mail_list .mail_nested_list__item {
    position: relative;
    margin-left: 15px;
    padding-left: 10px;
}

.service_nested_item__active{
    /* background-color: #fbfafa; */
    background-color: var(--color-element);

}

.mail_nested_list__item::after{
    content: '';
    width: 24px;
    height: 120%;
    position: absolute;
    left: 0px;
    top: -70%;
    /* background-color: #ffffff; */
    border: 1px solid var(--color-element-hover);
    border-right: none;
    border-top: none;
    border-radius: 0px 0px 0px 5px;
    z-index: 2;
}

/* --------------------------------- */

.all_service_and_mail__btn_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    border-radius: 0px 0px 15px 15px;
    /* background: #F5F5F5; */
    background: var(--color-window);
}

.all_service_and_mail__btn_box button{
    display: block;
    width: 49%;
    height: max-content;
    padding: 11px 0px 12px;

    color: var(--color-contrast);
    font-size: 14px;
    font-weight: 600;

    border-radius: 5px;
    background: var(--color-primary);
    border: none;
    cursor: pointer;
}

.all_service_and_mail__btn_box button:disabled{
    background: var(--color-element-hover);
    cursor: default;
}
                                                    
/* -------------------------- */


.btn_come_back{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;

    color: var(--color-font);
    /* color: rgba(0, 0, 0, 0.80); */
    font-size: 16px;

    border-radius: 15px;
    /* background: #FFF; */
    background-color: var(--color-window);
    /* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10); */
    filter: drop-shadow(var(--shadow-window));
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
    opacity: 1;
}

.btn_come_back span{
    padding-left: 10px;
}

.btn_come_back svg{
    margin-bottom: 2px;
    fill: var(--color-font)!important;
}

.btn_come_back:hover{
    /* background: #f3f3f3; */
    opacity: 0.8;
    /* background: var( --color-secondary-hover); */
}


@media screen and (max-width: 540px){

    .table_service__body .table_service__count{
        width: 16%;
    }

    .table_service__body .table_service__count span{
        font-size: 12px;
    }

    .table_service__count__btn button{
        padding: 4px 10px;
    }

    .service_mail_item__buy .table_service__count__btn{
        height: max-content;
        /* width: max-content; */
        width: 40%;
    }

    .all_service_and_mail__btn_box{
        padding: 15px 10px;
    }
    
    .all_service_and_mail__btn_box button{
        padding: 9px 0px 8px;
        color: #FFF;
        font-size: 12px;
    }



                      
}


/* -------------- Toltip ---------------- */


.tooltip {
    position: fixed;
    max-width: 540px;
    border-radius: 15px;
    background: var(--color-window);
    box-shadow: var(--shadow-window);
    padding: 7px 11px 9px;
    color: var(--color-font);
    font-size: 12px;
    z-index: 10;
}

/* ------------------------------------------ */

.add_service_show_title{
    margin-top: 15px;
    /* width: max-content; */
    width: 100%;
    height: max-content;
    cursor: pointer;
}

.add_service_show_title:hover .add_service_show_title__icon{
    border: 1px solid var(--color-font);
    /* color: #6D7885; */
    color: var(--color-font);
}
.add_service_show_title:hover .add_service_show_title__icon span{
    color: var(--color-font);
}

.add_service_show_title h5{
    color: var(--color-font);
    font-size: 14px;
    font-weight: 400;
}
.add_service_show_title__box{
    display: flex;
    align-items: center;
    margin-top: 14px;
}
.add_service_show_title__box p{
    color: var(--color-font);
    font-size: 14px;
    font-weight: 400;
    margin: 0px;
    margin-left: 11px;
}
.add_service_show_title__icon{
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-primary);
    border-radius: 5px;
}
                                     
.add_service_show_title__icon span{
    color: var(--color-primary);
    display: block;
    font-size: 19px;
    line-height: 19px;
    font-weight: 400;
    margin-left: 1px;
}




/* ----------- */

.content_box .add_service_box{
    padding: 30px 20px 30px;
}

.add_service_box h3{
    color: var(--color-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    margin-top: 0px;
}
.add_service_box p{
    color: var(--color-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin-top: 6px;
    margin-bottom: 0px;
}

.add_service_content{
    margin-top: 22px;
}

.add_service_content label{
    width: 100%;
    display: block;
    height: max-content;
    margin-bottom: 12px;
}
.add_service_content label span{
    display: block;
    color: var(--color-font);
    font-size: 16px;
    font-weight: 400;
}
.add_service_content label input {
    width: 100%;
    height: 47px;
    font-size: 14px;
    margin-top: 6px;
    padding: 0px;
    padding-left: 12px;

    border-radius: 5px;
    border: 0px solid var(--color-element);
    background: var(--color-element);

    outline-color: var(--color-primary);
}



.content_box .add_service_content__checkbox{
    width: 100%;
    height: max-content;
    display: flex;
    align-items: start;
    margin-top: 6px;
}

.content_box .add_service_content__checkbox input{
    width: 16px;
    height: 16px;
    outline-color: #1da2f0;
    border: 1px solid #39A7E7;
    position: relative;
    margin-top: 0px;
    left: 0;
}

.content_box .add_service_content__checkbox span{
    margin-left: 10px;
    font-size: 14px;
    line-height: 18px;
}

.add_service_box .pay_service__btn_box{
    margin-top: 24px;
}

.add_service_box button{

}

/* ------------------------------- */

.content_box_popup{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 100;
}

.content_box_popup .content_box_popup__bg{
    width: 100%;
    height: 100%;
    background-color: #0000003a;
    backdrop-filter: blur(3px);
}

.popup_animate-enter-active {
    animation: 0.3s ease-in shop_popup;
}
.popup_animate-leave-active {
    animation: 0.3s ease-in hide_popup;
}

@keyframes shop_popup {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;

    }
}

@keyframes hide_popup {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;

    }
}

.content_box_popup .add_service_box{
    width: 500px;
    max-width: 95%;
    height: max-content;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}


.content_box_popup__close_btn{
    position: absolute;
    right: -46px;
    top: 0px;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.content_box_popup__close_btn img{
    width: 100%;
    height: 100%;
}

.close_btn__pc{}
.close_btn__mobile{
    display: none;
}


@media screen and (max-width: 800px){

    .close_btn__mobile{
        display: block;
    }

    .close_btn__pc{
        display: none;
    }
    
    .content_box_popup__close_btn{
        right: 10px;
        top: 10px;
        width: 20px;
        height: 20px;
    }

    .theme-dark .content_box_popup__close_btn img{
        filter: invert(1);
    }

    
    .add_service_box h3{
        font-size: 14px;
        line-height: 18px;
    }
    .add_service_box p{
        font-size: 12px;
        line-height: 16px;
        margin-top: 4px;
    }

    .add_service_content{
        margin-top: 18px;
    }

    .add_service_content label{
        margin-bottom: 8px;
    }
    .add_service_content label span{
        font-size: 12px;
    }
    .add_service_content label input {
        height: 36px;
        font-size: 12px;
        margin-top: 4px;
        padding-left: 8px;
    }

    .content_box .add_service_content__checkbox input{
        width: 14px;
        height: 14px;
    }

    .content_box .add_service_content__checkbox span{
        margin-left: 8px;
        font-size: 12px;
        line-height: 16px;
    }

    .add_service_box .pay_service__btn_box{
        margin-top: 18px;
    }
    
}



/* -=----------DISCOUNT---------- */

.service_info_box__discount{
    width: 100%;
    height: max-content;
    margin-top: 19px;

    border-radius: 5px;
    background: rgba(248, 173, 13, 0.20);
    /* background-color: var( --color-accent-hover ); */
    padding: 12px 11px;
    display: flex;
    align-items: center;
}
.service_info_box__discount_icon{
    width: 27px;
    height: 27px;
}
.service_info_box__discount_icon svg{
    width: 100%;
    height: 100%;
    fill: #F8AD0D;
    /* fill:  var( --color-accent )!important; */
}


.service_info_box__discount_text{
    margin-left: 12px;
}
.service_info_box__discount_text h5{
    color: var( --color-font );
    font-size: 14px;
    font-weight: 700;
}

.service_info_box__discount_text span{
    color: var( --color-font );
    font-size: 14px;
    font-weight: 400;
}
.service_info_box__discount_text span b{
    position: relative;
    width: max-content;
    height: max-content;
    margin-left: 4px;
}

.service_info_box__discount_text span b::before{
    content: '';
    position: absolute;
    /* top: 0; */
    bottom: 40%;
    width: 100%;
    height: 1px;
    /* margin: auto; */
    background-color: red;
}


@media screen and (max-width: 550px){

    .service_info_box__discount_text h5{
        font-size: 12px;
    }

    .service_info_box__discount_text span {
        font-size: 12px;
    }
}


/* -------------------- api ------------ */

.api_content{
    width: 100%;
    height: max-content;
    margin-top: 20px;
} 
.api_container{
    width: 100%;
    height: max-content;
} 

.api_card{
    width: 100%;
    display: block;
    position: relative;
    margin-bottom: 12px;
} 

.api_container .api_card:last-child{
    margin-bottom: 0px;
}

.api_card h4 {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    color: white;
    background: var(--color-primary);
    /* background-color: rgb(0, 174, 255); */
    padding: 0px 10px;
    cursor: pointer;

    border-radius: 5px;
} 

.api_card__container{
    width: 100%;
    height: 0px;
    padding-top: 0px;
    overflow: hidden;
    overflow-x: auto;
    transition: all 0.2s;

}

#api_1:checked ~ .api_card__container{
    height: 490px;
}

#api_2:checked ~ .api_card__container{
    height: 340px;
}

#api_3:checked ~ .api_card__container{
    height: 590px;
}

#api_4:checked ~ .api_card__container{
    height: 340px;
}

#api_5:checked ~ .api_card__container{
    height: 290px;
}

#api_6:checked ~ .api_card__container{
    height: 480px;
}

#api_7:checked ~ .api_card__container{
    height: 370px;
}


.api_card__container h5{
    font-size: 14px;
    line-height: 16px;
    margin: 20px 0px 5px;
}                        
.api_card__container pre{
    /* min-width: 100%; */
    min-width: 500px;
    padding: 5px 10px;
    border-left: 2px solid var(--color-primary);
    background: var(--color-element);
    border-radius: 0px 5px 5px 0px;

    background-color: var(--color-element);
}
                                
                        

@media screen and (max-width: 1000px){
    .api_content {
        margin-top: 0px;
    }

    
}

@media screen and (max-width: 600px){
    
    .api_card h4 {

        font-size: 12px;
    }

    .api_card__container pre{

        font-size: 12px!important;
    }

}

/* ---------------------- Archive ------------------- */



.archive{
    margin-top: 20px;
}
.archive_container{
    padding: 20px 0px 0px;
}

.archive__container{
    width: 100%;
    max-width: 100%;
    overflow: auto;
    padding-bottom: 4px;
}

.archive__container::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}
.archive__container::-webkit-scrollbar-track {
    background-color: var(--color-window);
    border-radius: 0 0 15px 0;
    width: calc(100% - 15px);
    height: 4px;
}

/* .archive__container::-webkit-scrollbar-button {
    width: 5px;
    display: block;
    position: relative;
    height: 5px;
    background-color: var(--color-primary);
}

.archive__container::-webkit-scrollbar-button::before{

    position: absolute;
    content: '▶';
    color: white;
    font-size: 12px;
    line-height: 12px;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;

} */

.archive__container::-webkit-scrollbar-thumb {
    height: 4px;
    background-color: var(--color-primary);
    cursor: pointer;
}

.archive table{
    width: 100%;
    height: max-content;

    /* border-spacing: 3px;
    border: 1px solid #ccc;
    border-spacing: 3px; */
    border-spacing: 0px;
    border-collapse: collapse;
    overflow: hidden;
    /* min-width: 720px; */
    min-width: 540px;
}
.archive table thead{
    width: 100%;
}
.archive table thead tr{
    /* background-color: var( --color-element ); */
}


.archive table thead tr th,
.archive table tbody tr td{

    padding: 4px 5px;
    text-align: center;
    border: 1px solid var(--color-secondary);
}


.archive table tbody{}


.archive table tbody tr{}
.archive table tbody tr:nth-child(odd){
    background-color: var( --color-element );
}




.archive table tbody tr td{
}
.archive table tbody tr td span{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}


.archive table tbody tr td span img{
    width: 20px;
    height: 20px;
}

.theme-dark .archive table tbody tr td span img{
    filter: brightness(10);
}


.archive table tbody tr td button{
    font-size: 12px;
    padding: 4px 18px 3px;
    border-radius: 15px;
    background-color: var(--color-primary);
    color: var(--color-contrast);
    border: 0px;
    margin: 3px 4px;
    cursor: pointer;
    transition: all 0.2s ;
}

.archive table tbody tr td button span{
    min-width: 43px;
    height: 13px;
}
.archive table tbody tr td button img{
    width: 12px;
    height: 12px;
}

.archive table tbody tr td button:disabled{
    background-color: var( --color-primary_disabled );
}

.archive table tbody tr td button:hover{
    background-color: var(--color-primary-hover);
}


@media screen and ( max-width: 1200px ){
    
    .archive table thead tr th,
    .archive table tbody tr td{
        font-size: 12px;
        line-height: 16px;
        padding: 3px 2px;
    }
    .archive table tbody tr td span{
        font-size: 12px;
        line-height: 16px;
    }
 
}


/* ------------------------ */


.popup_restoreMail{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
}


.popup_restoreMail-enter-active {
    animation: 0.3s ease-in shop_popup;
}
.popup_restoreMail-leave-active {
    animation: 0.3s ease-in hide_popup;
}



.popup_restoreMail__bg{
    width: 100%;
    height: 100%;
    background-color: #0000003a;
    backdrop-filter: blur(3px);
}
.popup_restoreMail__content{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 500px;
    max-width: 95%;
    height: max-content;
    background-color: var(--color-window);
    filter: drop-shadow(var(--shadow-window));
    border-radius: 15px;
}

.content_box_popup__close_btn{
    /* width: 14px;
    height: 14px;
    position: absolute;
    right: 12px;
    top: 12px; */
    position: absolute;
    right: -46px;
    top: 0px;
    width: 36px;
    height: 36px;
    cursor: pointer;
}
.content_box_popup__close_btn img{
    width: 100%;
    height: 100%;
}

.popup_restoreMail__content_container{
    width: 90%;
    height: max-content;
    margin: 0 auto;
    padding: 20px 0px;
}

.popup_restoreMail__content_container h3{
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: var(--color-font);
    margin: 0px;
}
.popup_restoreMail__content_container h3 b{
    font-weight: 400;
    color: var(--color-primary);
}

.popup_restoreMail__content_container ul{
    margin-top: 20px;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-font);
}
.popup_restoreMail__content_container ul li{
    display: flex;
    align-items: end;
    width: 100%;
    margin-bottom: 8px;
}
.popup_restoreMail__content_container ul li span{}
.popup_restoreMail__content_container ul li b{
    margin-left: 6px;
}

.popup_restoreMail__total_price{
    margin: 12px 0px 0px;
    font-size: 18px;
    line-height: 22px;
}
.popup_restoreMail__total_price span{}
.popup_restoreMail__total_price b{
    margin-left: 6px;
    color: var(--color-primary);
}


/* background-color: var(--color-primary); */

.popup_restoreMail__btn_box{
    display: flex;
    justify-content: right;
    margin-top: 12px;
}
.popup_restoreMail__btn_box button{
    height: max-content;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: var(--color-secondary);
    transition: all 0.2s;
    color: var(--color-contrast);
}

.popup_restoreMail__btn_box button:last-child{
    margin-left: 14px;
}

.popup_restoreMail__btn_box .popup_restoreMail__success{
    background-color: var(--color-primary);
    min-width: 60px;
}

.popup_restoreMail__btn_box .popup_restoreMail__success:hover{
    background-color: var(--color-primary-hover);
}

.popup_restoreMail__btn_box .popup_restoreMail__success span{
    width: max-content;
    height: max-content;
}
.popup_restoreMail__btn_box .popup_restoreMail__success span img{
    width: 12px;
    height: 12px;
}

.theme-dark .popup_restoreMail__success img{

    filter: brightness(10);
}


@media screen and (max-width: 800px){
    
    .popup_restoreMail .close_btn__pc{
        display: block!important;
    }

    .content_box_popup__close_btn{
        right: 12px;
        top: 12px;
        width: 22px;
        height: 22px;
    }

    .theme-dark .popup_restoreMail .content_box_popup__close_btn img{

        filter: invert(0);
    }

    
}


@media screen and ( max-width: 600px ){
    

    
    .popup_restoreMail__content_container h3{
        font-size: 18px;
        line-height: 22px;
    }

    
    .popup_restoreMail__content_container ul{
        font-size: 14px;
        line-height: 18px;
    }

    .popup_restoreMail__content_container ul li span{}
    .popup_restoreMail__content_container ul li b{
        margin-left: 6px;
    }
    
    .popup_restoreMail__total_price{
        font-size: 16px;
        line-height: 20px;
    }
    

    .popup_restoreMail__btn_box button{
        font-size: 14px;
        line-height: 14px;
    }
    
    .popup_restoreMail__btn_box .popup_restoreMail__success{
        min-width: 60px;
    }
    
    .popup_restoreMail__btn_box .popup_restoreMail__success img{
        margin-bottom: -2px;
    }

    

}


