.webhost-mailbox-right-top-bar {
    height: 65px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    flex-direction: row;
    background: #FFF;
}

.webhost-mailbox-right-top-bar-left {
    font-size: 2rem;
    font-weight: bold;
    padding-left: 3rem;
    align-items: center;
    justify-content: flex-end;
    /* background-color: red; */
    display: inherit;
    flex-direction: row-reverse;
    width: 50%;
}

.webhost-mailbox-right-top-bar-right {
    padding-right: 3rem;
    align-items: center;
    justify-content: flex-end;
    /* background-color: yellow; */
    flex-direction: row;
    display: inherit;
    width: 50%;
}

.top-bar-right-setting {
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    margin-right: .6rem;
    font-size: 1.5rem;
}
/* Might need to be deleted */
.top-bar-right-direction{
    display: inline-flex;
    width: 68px;
    height: 34px;
    vertical-align: middle;
    margin-left: 1rem;
    font-size: 1.5rem;
}
.direction-left, .direction-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #C4D1E0;
    color: #76798b;
}
.direction-left {
    border-radius: 3px 0 0 3px;
}
.direction-right {
    border-left: none;
    border-radius: 0 3px 3px 0;
}
.direction-left:hover, .direction-right:hover {
    background: #EDF2F8;
}

.mailbox-content {
    background-color: #EBF3FF;
    width: 100%;
    margin: auto;
}

.mailbox-content-wrap {
    width: 80%;
    margin: auto;
    /* border: 2px solid red; */
}



.mailbox-content-wrap .setting-content .webhost-spacing-img{
    max-height: 38px;
    padding: 5px 0;
}

.mailbox-content-head-wrap {
    margin-bottom: 1.5rem;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    flex-direction: row;
    height: 70px;
}

.mailbox-content-head-left-wrap {
    display: inherit;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-left: 0;
    /* background-color: red; */
}

.mailbox-content-head-right-wrap {
    display: inherit;
    justify-content: flex-end;
    /* background-color: green; */
    align-items: flex-end;
    padding-right: 0;
}

.mailbox-content-head-right-wrap 
.mailbox-content-head-right-item > input[type='button']{
    background-color: #0068A8;
    width: 131px;
    height: 36px;
    margin-top: 10px;
    font-size: 1.3rem;
}

.mailbox-content-head-left-top {
    /* background-color: yellow; */
    margin-top: 15px;
    font-size: 1.6rem;
    font-weight: bold;
}

.mailbox-content-head-left-top a {
    word-break: break-all;
}

.mailbox-content-head-left-bottom {
    max-height: 3.5rem;
}

.mailbox-selected-menu.dyna-webhost-selected-menu-container.fixed {
	width: calc(100% - 642px);
}

.key-blank-part {
    margin-top: 10px;
}

.up-key-bottom-blank {
    margin-top: 15px;
}

.blank__key-up {
    margin-bottom: 1px;
}

.blank__blank-bottom > input[type="text"] {
    /*margin-top: 5px;*/
    border-radius: 3px;
}

#email-address-input {
    display: none;
    width: 100%;
    height: 30px;
}

.checked-email {
    position: relative;
    font-size: 14px;
    top: -3px;
    left: 8px;
}

.key-select-part {
    margin-top: 30px;
}

.key-select-part-title {
    padding-bottom: 3px;
    font-weight: bold;
    border-bottom: 1px solid #DDD; 
}

.key-select-part-content {
    margin-top: 9px;
}

.top-title-bottom-select {
    margin-top: 0.5rem;
}

.select__top-title {

}

#div-action-required {
    width: 100px;
    height: 20px;
    border-radius: 5px;
    background-color: #FDE8E8;
    color: #9B1D1C;
    line-height: 20px;
    text-align: center;
    margin-left: 140px;
    margin-bottom: 5px;
    font-size: 11px;
    border: 1px solid #9B1D1C;
}

#div-primary-email {
    float: left;
}

.select__bottom-select {
    position: relative;
}
.select__bottom-select > select {
    margin-top: 3px;
    width: 95%;
    height: 34px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.full-width .select__bottom-select > select {
    width: 100%;
}

.full-width .select__bottom-select > i {
    position: absolute;
    top: 1.3rem;
    right: 2rem;
}

.select__bottom-select > i {

    color: #798C9C;
    margin-left: -23px;
    
}

.showmore {
    color: #3C92E7;
}

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

.setting-content form:nth-child(n+2) {
    border-top: 1px solid #ccc;
    margin-top: 5px;
}

.contentpart {
    box-sizing: border-box;
    display: flex;
    /* height: 200px; */
    /* outline: 1px solid red; */
    padding-top: 1.5rem;
    padding-bottom: 2.7rem;
}

.setting-content form:nth-child(n+2) .contentpart {
    padding-top: 2.5rem;
}

.setting-content form:nth-child(n+2) .contentpart .right-form{
    padding-top: 1.3rem;
}

.left-title {
    margin-top: 1.963rem;
    font-size: 1.775rem;
    /* background-color: yellow; */
}

.right-forms {
    padding: 0;
}

.right-forms .right-form:nth-child(n+2) {
    margin-top: 3rem;
}

.right-form {
    padding: 1.5rem;
    border-radius: 3px;
    background-color: #FFF;
}

.right-form input[type="radio"]{
    vertical-align: middle;
}

.top-title-bottom-input {
    margin: 1rem 0 0.5rem
}

.top-title {
    margin-bottom: 0.3rem;
}

.bottom-input > input{
    height: 3.2rem;
    margin-bottom: 0;
    padding-left: 1rem;
    font-size: 1.4rem;
}

.bottom-input + div {
    /*color: #7F90A1;*/
    margin-bottom: 1.6rem;
}

.left-checkbox-right-title {
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
}
.left-checkbox {
    margin-right: 10px;
    height: 16px;
}
.left-checkbox > input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.right-form .big-btn .button {
    padding: 1rem 1.5rem !important;
    background-color: #0068A8 !important;
}

.save-btn {
    height: 55px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 2rem;
}

.save-btn.big-btn > input[type="submit"] {
    padding: 1rem 1.5rem;
    background-color: #0068A8 ;
}


/* left-title-right-checkbox  */

.left-title-right-checkbox {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.4rem;
    margin-top: 0.7rem;
}

.left-title-right-checkbox .right-checkbox__checkbox  {
    margin-left: 1rem;
}

.richtext > textarea{
    width: 100%;
    /* visibility: hidden; */
    /* display: none; */
}

.top-title-bottom-richtext {
    margin-top: 1rem;
}

.left-title-right-info {
    display: flex;
    align-items: center;
    height: 3.5rem;
}
.left-title-right-info:nth-child(odd) {
    background-color: #eee;
}
.left-title-right-info .left-title__for-info,
.left-title-right-info .right-info__for-info {
    flex: 1;
}

.webhost-mailbox-right-top-bar-menu {
    display: none;
}

/* tablet and phone */ 
@media screen and (max-width: 1024px) {
    .mailbox-content-wrap {
        width: 100%;
        margin: auto 1.5rem;
        padding-right: 3rem;
    }
    .contentpart {
        flex-direction: column;
    }
    .contentpart > .col-md-5,
    .contentpart > .col-md-7 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .left-title {
        margin-bottom: 1.5rem;
    }

    .webhost-mailbox-right-top-bar-menu {
        display: flex;
        width: 5%;
        align-items: center;
        justify-content: center;
    }
    .webhost-mailbox-right-top-bar-menu.mailbox-admin {
        display: inline-flex;
        margin-right: 15px;
        line-height: 1;
        vertical-align: text-bottom;
    }

    .webhost-mailbox-right-top-bar-left {
        width: 45%;
    }

}

/* PC small cscreen */
@media screen and (min-width: 1024px) and (max-width: 1200px) {
    .mailbox-content-wrap {
        width: 100%;
        margin: auto 1.5rem;
        padding-right: 3rem;
    }
}

/* tablet */
@media screen and (max-width: 767px) {
    .mailbox-content-head-wrap {
        flex-direction: column;
        height: auto;
        margin-left: 1rem;
    }

    .mailbox-content-head-right-wrap {
        padding-left: 0;
        justify-content: flex-start;
    }
}