.email-left-box {
	/* width: 15rem;
    float: left;
    padding: 0 1.25rem 1.25rem 1rem;
    // border: 0.0625rem solid rgba(0, 0, 0, 0.125);
    border-top: 0;
    border-left: 0; */

	@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{
            // font-size: 1.0625rem;
            color: var(--primary);

        }
    }
}
.email-right-box {
    // padding-top: 1.875rem;
    padding-#{$dz-pos-left}: 0rem;
    padding-#{$dz-pos-right}: 0rem;

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

    // &.generic-position{
    //     padding-left: 15rem;

    //     @media(min-width: 106.25rem){
    //         padding-left: 18.75rem;
    //     }
    // }

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

.toolbar {
    .btn-group {
        .btn {
            // background: $dark;
            border: 0;
            // color: $white;
            // i {
            //     color: $white!important;
            // }
        }
        input{
            position: relative;
            top: 0.125rem;
        }
    }
}

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

    &-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 #DDDFE1;
            }
        }
    }
}  

.compose-content {
    .wysihtml5-toolbar {
        border-color: $l-border;
    }
    // .textarea_editor {
    //     background: $l-bg!important;
    // }
    .dropzone {
        background: $l-bg!important;
    }

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

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

    .dropzone{
        border: 0.0625rem dashed #DDDFE1;
        min-height: 13.125rem;
        position: relative;

        .dlab-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;
        a {
            color: $l-ctl;
        }

        &-single{
            .custom-checkbox{
                margin-top: 0.125rem;
            }

            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}: 0;
                // width: 4rem;
                // padding-left: 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;
    }
}

.mail-list {

    a {
        vertical-align: middle;
        padding: 0.625rem 0.9375rem;
        display: block;
        background: transparent;
        color: $l-ctd;
        // font-size: 1.0625rem;
        font-weight: 600;
    }

    .list-group-item{
        color: #6a707e;
        padding: 0.75rem 1.0625rem;

        i{
            font-size: 1rem;
            padding-#{$dz-pos-right}: 0.625rem;
            color: #cccccc;
        }

        &.active{
            color: $white;

            i{
                color: $white;
            }
        }
    }
}

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
















