@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;
    position: relative;
}
.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: var(--color-primary);
    color: var(--color-contrast);
    letter-spacing: 0.5px;
    margin-bottom: -22px;
}

.count_massage{
    width: max-content;
    margin-left: auto;
    display: flex;
    align-items: center;
}
.count_massage__text{
    color: var(--color-secondary);
    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;
    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: 29%;
    /* width: 34.5718799368%; */
    /* max-width: 500px; */
}
.free_email .content {
    width: 67%;
    /* max-width: 837px; */
}

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

.content_box__info_email{
    /* margin-top: 30px; */
}

.content_box .content_box__container {
    background-color: var(--color-window);
    width: 100%;
    min-height: 150px;
    height: -moz-max-content;
    height: max-content;
    border-radius: 15px;
    /* background: white; */
    box-shadow: var(--shadow-window);
}

.content_box__img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: white; */
}
.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;
    display: flex;
    align-items: center;
    padding: 0px 13px;
    cursor: pointer;
}

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

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

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

.sidebar ul li h5 {
    color: var( --color-font);
    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 h1{
    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: var(--color-secondary);
    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{
    color: var(--color-secondary);
}
      
/* ------------------------------- */

.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: var(--color-window);
    border-radius: 0 0 15px 0;
    height: calc(100% - 15px);
}
.message_list::-webkit-scrollbar-thumb {
    height: 10px;
    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: 5px;
    padding: 15px;
    /* margin: 2px 0px; */
    cursor: pointer;
}  


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

@media screen and (min-width: 700px){
    /* .message_list li:hover{
        opacity: 0.9;
    } */
    .message_list li:hover{
        background-color: var(--color-element-hover);
    }
    
}




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

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

}

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


.message_list h5{
    color: var(--color-font);
    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: var(--color-secondary);
    font-weight: 600;
}

.message_list .message_item__select h5{
    color: var(--color-font);
}

.message_list p{
    color: var(--color-secondary);
    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 var(--color-element);
    /* background: rgba(240, 241, 243, 0.01); */
    background-color: var(--color-window);

}

.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_message {
    width: 100%;
    min-height: 100%;
    /* background: rgba(240, 241, 243, 0.2); */
    font-size: 16px;
}



.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: 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: var(--color-element); */
    color: var(--color-secondary);
    font-size: 12px;
    font-weight: 400;
}
.mail_message__sender{
    color: var(--color-font);
    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;
}

.mail_message__text textarea{
    max-width: 100%;
    min-width: 100%;
    height: max-content;
    min-height: 400px;
    border: none;
    font-size: 16px;
    line-height: 20px;
    outline: none;
    padding: 10px 20px;
    background-color: var(--color-window);
}

.mail_message__text textarea::-webkit-scrollbar {
    width: 5px;
}
.mail_message__text textarea::-webkit-scrollbar-track {
    background-color: var(--color-window);
    border-radius: 0 0 15px 0;
    height: calc(100% - 15px);
}
.mail_message__text textarea::-webkit-scrollbar-thumb {
    height: 10px;
    background-color: var(--color-primary);
    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; */
    color: var(--color-font);
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0px 0px;

}
.info_mail p {
    color: var(--color-secondary);
    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 (min-width: 700px){
    .message_list{
        /* max-height: 400px; */
        max-height: 490px;
        overflow: auto;
        padding-right: 5px;
    }
    
    
}


@media screen and (max-width: 1000px){
    .free_email .sidebar {
        width: 100%;
        max-width: 100%;
    }

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

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


    .content_box__mail_generator{
        margin-top: 0px;
    }



}


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


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

    .content_title__copy_btn{
        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 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 textarea{
        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;
    }
}



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

.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;
}

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

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

@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);
    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: var(--color-element);
    color: var(--color-font);
    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: var(--color-contrast);
    background: var(--color-primary);
}
.mail_generator__btn_yellow{
    background: var(--color-accent);
    color: #515151;
}

.mail_generator__btn_yellow svg{
    margin-left: 8px;
}

.mail_container button span{
    width: max-content;
    max-width: 130px;
}

@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;
    }

}


/* -----------------------Content head */
.content_head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.content_head h1{
    margin: 0px;
}

.content_head__private_btn svg{
    width: 16px;
    margin-left: 8px;
}


.content_head__private_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: max-content; */
    /* max-width: 200px; */
    width: 175px;
    height: 29px;
    text-align: center;
    line-height: 29px;
    color: #fff;
    font-size: 14px;
    /* text-transform: uppercase; */
    text-decoration: none;
    font-family: sans-serif;
    box-sizing: border-box;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #03a9f4);
    background-size: 400%;
    border-radius: 30px;
    z-index: 1;
    animation: animate 43s linear infinite;
  }


  .curr_lang__es .content_head__private_btn {
    width: 220px;
    min-width: 220px;
  }
   

   
  @keyframes animate {
    0% {
      background-position: 0%;
    }
    100% {
      background-position: 400%;
    }
  }
   
  .content_head__private_btn:before {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #03a9f4);
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: .40s;
  }
   
  .content_head__private_btn:before {
    /* filter: blur(10px);
    opacity: 0.4; */
    animation: animate 43s linear infinite;
  }


  .content_head__private_btn:hover{
    color: white;
  }

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

     @media screen and (max-width: 1000px){
        
        .content_head{
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;

            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .content_head h1{
            margin: 0px;
            font-size: 20px;
            line-height: 26px;
            margin-right: 8px;
        }
        

        .content_box__mail_generator{
            margin-top: 0px;
        }

        /* .content_head__private_btn{
            font-size: 12px;
            line-height: 12px;
            min-width: 155px;
            height: 26px;
        } */

        /* .content_head__private_btn svg{
            width: 14px;
        } */

        .free_email__navigation{
            position: absolute;
            top: 35px;
        }
        

        .sidebar{
            margin-top: 80px;
        }
   
    }


    @media screen and (max-width: 500px){
        
        .content_head h1{
            margin: 0px;
            font-size: 16px;
            line-height: 20px;
            margin-right: 8px;
        }
        

        .content_head__private_btn{
            font-size: 12px;
            line-height: 12px;
            min-width: 155px;
            height: 26px;
        }

        .curr_lang__es .content_head__private_btn {
            min-width: 190px;
        }

        .content_head__private_btn svg{
            width: 14px;
        }

        .free_email__navigation{
            position: absolute;
            top: 35px;
        }
        

        .sidebar{
            margin-top: 90px;
        }

    }


    @media screen and (max-width: 420px){
        
        .free_email__navigation{
            position: absolute;
            top: 45px;
        }

        .sidebar{
            margin-top: 90px;
        }

    }

/*

  @media screen and (max-width: 500px){
    .content_head{
        justify-content: start;
        flex-direction: column;
        align-items: start;
    }

   .content_head__private_btn{
        margin-left: auto;
        margin-top: 12px;
    } */
 /* 
    .content_head__private_btn svg{
        height: ;
        width: 12px;
    } 

  }*/


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


  
.banner_container{
    width: 100%;
    height: max-content;
    margin-bottom: 50px;
}
.banner_private_mail{
    width: 100%;
    height: max-content;
    display: block;
    position: relative;
}

.banner_private_mail img{
    width: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

/*  */


.banner_private_mail__mobile{
    display: none;
}


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

    .banner_private_mail__pc{
        display: none;
    }

    .banner_private_mail__mobile{
        display: block;
    }


}