.email-left-box {

	@include respond('phone-land') {
		width: 100%;
		float: none;
        border: none;
		padding-bottom: 1.875rem !important;
	}

    .intro-title{
        background: var(--rgba-primary-1);
        padding: 1rem;
        margin: 1.875rem 0 1.25rem 0;

        h5{
            margin-bottom: 0;
            color: #6a707e;
            font-size: 0.875rem;

            i{
                font-size: 0.75rem;
                position: relative;
                bottom: 0.0625rem;
            }
        }

        i{
            color: var(--primary);

        }
    }
}
.email-right-box {
    padding-#{$dz-pos-left}: 15rem;
    padding-#{$dz-pos-right}: 1rem;

    @include media-breakpoint-between(sm, md) {
        padding-#{$dz-pos-left}: 0;
		padding-#{$dz-pos-right}:0;
		margin-#{$dz-pos-left}: 0!important;
		clear:both;
	}

    @include media-breakpoint-down(xs) {
        padding-#{$dz-pos-left}: 0;
        padding-#{$dz-pos-right}: 0;
    }

    .right-box-border{
        border-#{$dz-pos-right}: 0.125rem solid var(--rgba-primary-1);
    }

    .right-box-padding{

        @media screen and (min-width: 40.5625rem) and (max-width: 75rem){
            padding-#{$dz-pos-left}: 1.25rem;
        }

        @media(min-width: 106.25rem){
            padding-#{$dz-pos-left}: 0.9375rem;
        }
		@include media-breakpoint-between(sm, md) {
			padding-#{$dz-pos-left}: 0;			
		}
    }
}

.email-toolbar {
    display: flex;
    align-items: center;
    margin: 0 0.8rem;
    .btn-group {
        .btn {
           
            border: 0;
        }
        input{
            position: relative;
            top: 0.125rem;
        }
    }
}

.read-content {
    textarea {
        height:9.375rem;
		padding: 0.9375rem 1.25rem;
		border-radius:$radius;
    }

    &-email{
        font-size: 0.875rem;
    }

    h5{
        color: #6a707e;
    }

    p{

        strong{
            color: #6a707e;
        }
    }

    &-body{

        p{
            margin-bottom: 1.875rem;
        }
    }

    &-attachment{
        padding: 0.5rem 0;

        h6{
            font-size: 1.125rem;
            color: #6a707e;

            i{
                padding-#{$dz-pos-right}: 0.3125rem;
            }
        }

        .attachment{

            & > div:not(:last-child){
                border-#{$dz-pos-right}: 0.0625rem solid var(--border);
            }
        }
    }
}  

.compose-content {
    .wysihtml5-toolbar {
        border-color: var(--border);
    }
    .dropzone {
        background: var(--body-bg)!important;
    }

    h5{
        font-size: 1.0625rem;
        color: #6a707e;

        i{
            font-size: 1.125rem;
            transform: rotate(90deg);
        }
    }

    .dropzone{
        border: 0.0625rem dashed var(--border);
        min-height: 13.125rem;
        position: relative;
		border-radius:$radius;

        .dz-message{
            margin: 0;
            position: absolute;
            top: 50%;
            #{$dz-pos-left}: 50%;
            transform: translate(-50%, -50%);
        }
    }
}

.email-list {
    display: block;
    padding-#{$dz-pos-left}: 0;

    .message {
        position: relative;
        display: block;
        height: 3.125rem;
        line-height: 3.125rem;
        cursor: default;
        transition-duration: 0.3s;
        border-bottom: 1px solid var(--border);
        a {
            color: $l-ctl;
        }

        &-single{
           
            &.style-1,
            &.style-2,
            &.style-3,
            &.style-4{
                position: relative;
                &:after{
                    position: absolute;
                    content: "";
                    background-color: var(--primary);
                    top:0;
                    #{$dz-pos-left}: 0;
                    height: 100%;
                    width: 3px;
                }
            }
            &.style-2{
                &:after{
                    background-color: $success;
                }
                
            }
            &.style-3{
                &:after{
                    background-color: $warning;
                }
                
            }
            &.style-4{
                &:after{
                    background-color: $info;
                }
                
            }
           
            .custom-checkbox{
                margin-top: 0.125rem;
                margin-#{$dz-pos-left}:0.625rem;
            }

            i{
                color: $muted;
                font-size: 1.125rem;
                padding-#{$dz-pos-left}: .4rem;
            }


        }


        &:hover {
            transition-duration: 0.05s;
            background: rgba(152, 166, 173, 0.15);
        }

        .col-mail {
            float: #{$dz-pos-left};
            position: relative;
        }

        .col-mail-1 {
            width: 5.625rem;

            .star-toggle {
                display: block;
                float: #{$dz-pos-left};
                margin-top: 1.125rem;
                font-size: 1rem;
                margin-#{$dz-pos-left}: 0.3125rem;
            }

            .email-checkbox {
                display: block;
                float: #{$dz-pos-left};
                margin: 0.9375rem 0.625rem 0 1.25rem;
            }

            .dot {
                display: block;
                float: #{$dz-pos-left};
                border: .4rem solid transparent;
                border-radius: 6.25rem;
                margin: 1.375rem 1.625rem 0;
                height: 0;
                width: 0;
                line-height: 0;
                font-size: 0;
            }
        }

        .col-mail-2 {
            position: absolute;
            top: 0;
            #{$dz-pos-left}: 5.625rem;
            #{$dz-pos-right}: 0;
            bottom: 0;

            .subject {
                position: absolute;
                top: 0;
                #{$dz-pos-left}: 0;
                #{$dz-pos-right}: 5.5rem;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
            }

            .date {
                position: absolute;
                top: 0;
                #{$dz-pos-right}: 1.5rem;
            }
        }
    }
}

.email-checkbox {
    cursor: pointer;
    height: 0.9375rem;
    width: 0.9375rem;
    position: relative;
    display: inline-block;
    border-radius: .1rem;
    position: relative;
    top: 0.3125rem;
    box-shadow: inset 0 0 0 .1rem $l-ctl;

    input {
        opacity: 0;
        cursor: pointer;

        &:checked {
            label {
                opacity: 1;
            }
        }
    }

    label {
        position: absolute;
        top: .3rem;
        #{$dz-pos-left}: .3rem;
        #{$dz-pos-right}: .3rem;
        bottom: .3rem;
        cursor: pointer;
        opacity: 0;
        margin-bottom: 0 !important;
        transition-duration: 0.05s;
    }
}



.chat-wrap{
    padding: 1.0625rem 1.875rem;

    .media{

        .media-body{

            h6{
                font-size: 1.0625rem;
                color: #6a707e;
            }

            p{
                font-size: 0.875rem;
            }
        }
    }
}

.email-filter{

    @media (min-width: 40.5rem){
        padding-#{$dz-pos-left}: 1.25rem;
    }

    @media(min-width: 106.25rem){
        padding-#{$dz-pos-left}: 1.875rem;
    }

    .input-group{

        &-prepend{
            
            i{
                font-size: 0.875rem;
                color: $muted;
            }

            .input-group-text{
                border: 0;
                border-bottom: 0.0625rem solid #DDDFE1 !important;
                background: transparent;
            }
        }

        .form-control{
            padding: 0 0 0 0.3125rem;
            border: 0;
            font-size: 0.875rem;
            height: 1.875rem;
            color: $muted;
            border-bottom: 0.0625rem solid #DDDFE1;

            &::placeholder{
                font-size: 0.875rem;
                color: $muted;
            }
        }

        & > .form-control{
            min-height: 1.875rem;
        }
    }
}

.single-mail{
    display: block;
    padding: 1.5625rem 0;

    .media{
        padding-#{$dz-pos-left}: 1.25rem;
        padding-#{$dz-pos-right}: 1.25rem;

        @media(min-width: 106.25rem){
            padding-#{$dz-pos-left}: 1.875rem;
            padding-#{$dz-pos-right}: 1.875rem;
        }

        img{
            width: 3.4375rem;
            height: 3.4375rem;
            border-radius: 50%;
            margin-#{$dz-pos-right}: 0.9375rem;

            @media(min-width: 106.25rem){
                margin-#{$dz-pos-right}: 1.875rem;
            }
        }

        &-body{

            h6{
                color: #abafb3;
            }

            h4{
                font-size: 1rem;
                color: #6a707e;

                button{

                    i{
                        font-size: 1.125rem;
                        color: #abafb3;
                        font-weight: bold;
                        transform: rotate(90deg);
                    }
                }
            }

            p{
                font-size: 0.875rem;
                color: #abafb3;
            }
        }
    }

    &.active{
        background: var(--primary);

        h6,h4,p,i{
            color: $white !important;
        }
    }
}

@include respond ('tab-land'){
    .mail-left-body{
        &.dz-resp-tab{
            width: 18rem;
            position: fixed;
            height: 100vh;
            z-index: 2;
            transition: all 0.5s;
            #{$dz-pos-left}: -22rem;
            top: 0px;
            z-index: 999;
            display: block;
            &.active{
                #{$dz-pos-left}:0;
                background: var(--card);
                transition:all 0.5s;
                overflow-y:scroll;
                
            }
        
        }
    }
   
}
@include respond ('phone-land'){
	.mail-left-body{
		width: 18rem;
		position: fixed;
		height: 100%;
		z-index: 2;
		transition: all 0.5s;
		#{$dz-pos-left}: -22rem;
		top: 0px;
		z-index: 999;
		&.active{
			#{$dz-pos-left}:0;
			background: var(--card);
			transition:all 0.5s;
			overflow-y:scroll;
			
		}
	}
}

.email-tools-box,
.dz-resp-tool{
	display:inline-block;
	width:2.5rem;
	height:2.5rem;
	line-height:2.5rem;
	text-align:center;
	background-color:var(--rgba-primary-1);
	border-radius:$radius;
	color:var(--primary);
    display: none;
	
	&.active{
		background-color:$primary;
		color:$white;
	}
	
	
	@include respond ('phone-land'){
		display:inline-block!important;
		margin-#{$dz-pos-left}:auto;
	}
 
	&.active{
		&:before{
			content: '';
			display: block;
			position: fixed;
			top: 0;
			#{$dz-pos-left}: 0;
			width: 100vw;
			height: 100vh;
			background-color: #000;
			opacity: 0.2;
			
			z-index: 4;
		}
	}
}
@include respond ('tab-land'){
    .dz-resp-tool{
        display:inline-block!important;
        margin-#{$dz-pos-left}:auto;
    }
   
}

// }
.mail-list {
    margin-top: 1.25rem;
	border-bottom :1px solid var(--border);
	padding-bottom:1.25rem;
	
    a {
        border: 0;
        vertical-align: middle;
        padding: 0.625rem 0.9375rem;
        display: block;
        background: transparent;
        color: var(--text-dark);
        font-weight: 600;
        z-index: 1;
    }
    
    .change {
        color: #666666;
        font-weight: 500;
    }
    
    .list-group-item{
        border-radius: $radius;
        padding: 0.65rem 0.5rem 0.65rem 1rem;
        font-size: 0.938rem;
        font-weight: 400;
        margin-bottom: 0.225rem;
        overflow: hidden;
		display: flex;
		align-items: center;
		.badge{
			padding: 3px 5px;
			margin-#{$dz-pos-left}:auto;
		}
        i{
            font-size: 1.125rem;
			width : 2.5rem;
            padding-#{$dz-pos-right}: 1rem;
			text-align:center;
            color: var(--text);
        }
        svg{
			width: 1.45rem;
            margin-#{$dz-pos-right}: 1rem;
        }

        &.active{
            color: var(--primary);
            background-color: var(--rgba-primary-1)!important;
            span.badge{
                background-color: var(--primary);
            }

            i{
                color: var(--primary);
            }
        }
        &.change{
            margin-bottom: 0;
        }
     
        &:hover{
            background-color: var(--rgba-primary-1);
           
            i{
                color: var(--primary);
            }
            svg{
                path{
                    fill: var(--primary);
                    stroke: var(--primary);
                }
            }
        }
    }
}
.nav-tabs{
   &.mail-tab{
    li{
        border-bottom: 1px dashed var(--border);     
        
        .nav-link{
           color:var(--primary);
          

            &.style-1{
                position: relative;
                    &:after{
                        content: "";
                        position: absolute;
                        background-color: var(--secondary);
                        top: 0;
                        #{$dz-pos-left}: 0;
                        height: 123px;
                        width: 4px;
                    }
                }
                &.style-2{
                position: relative;
                    &:after{
                        content: "";
                        position: absolute;
                        background-color: $success;
                        top: 0;
                        #{$dz-pos-left}: 0;
                        height: 123px;
                        width: 4px;
                    }
                
                }
            
                padding: .75rem 1.5rem;
                border-radius: 0!important;
                width: 100%;
                text-align: #{$dz-pos-left};
                cursor: pointer;
              
                
                
                &:hover{
                    border-color:transparent;
                }
                &.active{
                    background-color: var(--rgba-primary-1);
                    border-color:transparent;
                    position: relative;
                    width: 100%;
                    &:after{
                        content: "";
                        position: absolute;
                        background-color: var(--primary);
                        top: 0;
                        #{$dz-pos-left}: 0;
                        height: 100%;
                        width: 4px;
                    }
                    
                }
            


        }
    }
       
        
            
        
    }
}



   
    

.mail-right-bx{
    p{
        white-space: pre-line;
    }
}

.email-height{
    min-height: auto!important;
}
@include respond('tab-land'){
    .read-content-bx{
        display: none;
    }
   
}







.contacts-search-1{
   border-bottom: 1px solid var(--border);
}
.mail-left-body{
    border-#{$dz-pos-right}: 1px solid var(--border);
    .dz-scroll{
        scrollbar-width:none;
    }
}
.inbox{
    display: flex;
    align-items: start;
    p{
		color: var(--text);
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        margin-bottom: 0;
		font-size: .85rem;
	}
}
.empty-msg-bx{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100vh;

    
}
@include respond ('tab-land'){
    .inbox-area-list{
        .height800{
            height: 58rem;
        }
    }
}
.mail-left-body{
    @include custommq($max:100rem){
        .height800{
            height: 49.5rem;
        }
    }
   
}



// email-send
.card{
    &.dz-send-bx{
        border: 1px dashed var(--border-dark);
        box-shadow: unset;
        img{
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 2px solid var(--card);
            margin-#{$dz-pos-right}: 8px;
        }
    
        
    }
}
.delete-icon-bx{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    display: inline-block;
    text-align: center;
    background-color: $danger;
    margin-bottom: 15px;
    i{
        font-size: 30px;
        color:$white;
        line-height: 2;
    }
}
.status-select {
	width:auto!important;
	.btn{
		    padding: 2px 10px;
			font-size: 12px !important;
			font-weight: 500 !important;
			border: 0 !important;
			border-radius: 4px;
			line-height: 1.8rem !important;
			height: 33px !important;

	}
	[title="Testing"]{
		background-color:rgba($warning , 0.6) !important;
		color:$warning!important;		
	}
	[title="Pending"],[title="Low"]{
		background-color:rgba($danger , 0.1) !important;
		color:$danger!important;		
	}
	[title="In Progress"]{
		background-color:rgba(187, 107, 217, 0.1)!important;
		color:$purple!important;		
	}
	[title="Complete"],[title="High"]{
		background-color:rgba($success , 0.1)!important;
		color:$success!important;		
	}
	[title="Medium"]{
		background-color:rgba(44, 44, 44, 0.1) !important;
		color:#888888!important;		
	}
}
