﻿.error-toan .form-message {
    color: red;
    font-size: 14px;
    margin-top: 8px;
    text-align: left;
}
.error-info{
    padding-left:120px;
}
.sa-button-container {
    display: flex;
    flex-flow: row-reverse;
    justify-content: center;
}
/*phan bao*/
.error .form-message {
    color: #d22200;
    font-size: 14px;
    padding-top: 8px;
}
.bds-more{
    width: 100%;
    padding: 20px 10px;
    border: 1px dashed #dedede!important;
    margin-top: 10px;
}
.create-article .content-block {
    border-radius: 8px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 15%);
    background-color: #fff;
    padding: 20px 15px 23px 15px;
}
.create-article .article-location .header_title {
    margin-bottom: 21px;
}
.create-article .article-info .divider {
    margin-top: 20px;
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 20px;
}
.create-article .article-info .info-bds-detail .wrap-type-house {
    margin-bottom: 12px;
}
.create-article .article-info .info-bds-detail .label {
    line-height: 46px;
}
.create-article .article-info .label {
    min-width: 120px;
}
.create-article .text-title {
    font-size: 16px;
    font-weight: bold;
    color: #65bd43;
}

.pd-t-20{
    padding-top: 20px;
    padding-bottom: 6px;
    font-size: 16px;
}
.create-article .text-desc {
    font-size: 12px;
    font-weight: 400;
    color: #626262;
}
.create-article .article-content .title-input {
    border-radius: 8px;
    height: 72px;
    outline: 0;
    overflow: hidden;
    border: none;
    resize: none;
    padding: 17px 12px;
    border: solid 1px rgba(43,43,43,0.2);
}
.create-article #editorContent {
    max-height: 200px;
    overflow: hidden;
    min-height: 120px;
}
#editorContent {
    height: inherit;
}
#Description {
    max-height: 200px;
    overflow: hidden;
    min-height: 120px;
}
.create-article .article-content .article-tag {
    flex-wrap: wrap;
}
.create-article .hr-1 {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.create-article .article-upload .upload-tab-item.active {
    color: #65bd43;
    font-weight: 600;
    border-bottom: 2px solid #65bd43;
}
.create-article .article-upload .upload-tab-item {
    color: #626262;
    width: 114px;
    font-size: 14px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.create-article .article-upload .upload-tab-item.active .icon {
    filter: invert(20%) sepia(85%) saturate(2152%) hue-rotate( 212deg ) brightness(92%) contrast(93%);
}
.create-article .article-upload .upload-tab-item .icon {
    margin-right: 7px;
}
.create-article .article-upload .upload-list {
    overflow-x: auto !important;
    border-radius: 8px;
    overflow-y: hidden;
    white-space: nowrap;
    user-select: none;
    border: 1px dashed #dedede;
    min-width: 100%;
    min-height: 140px;
    cursor: pointer;
    padding-top: 8px;
}
.create-article .article-upload .upload-list .image-container--upload {
    border-radius: 8px;
    justify-content: center;
    min-width: 191px;
    height: 100px;
    background-color: #f0f9fb;
}
.create-article .article-upload .upload-list .image-container--upload .font-base {
    font-size: 14px;
    color: #1a4bb7;
}
.create-article .article-upload .upload-list .image-container--upload span {
    margin-left: 11px;
}
.create-article .article-upload .upload-list .image-container--upload input {
    width: 100%;
    height: 100%;
    opacity: 0;
}
.jFiler-input-dragDrop {
    display: block;
    width: 100% !important;
    margin: 0 auto 25px auto;
    padding: 25px;
    color: #97A1A8;
    background: #fff !important;
    border: 1px dashed #dedede !important;
    border-radius: 8px;
    text-align: center;
    -webkit-transition: box-shadow 0.3s, border-color 0.3s;
    -moz-transition: box-shadow 0.3s, border-color 0.3s;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.create-article .article-info .contact-info {
    margin-top: 24px;
}
.create-article .article-info .contact-info .divider {
    margin-top: 8px;
    border-bottom: 1px solid rgba(43,43,43,0.15);
    margin-bottom: 24px;
}
.create-article .article-button {
    /*margin-top: 30px;
    margin-bottom: 26px;*/
}
.create-article .article-info .contact-info input[readonly]{
    background-color: #e9ecef;
    opacity: 1;
}
.create-article .article-button .btn-blue {
    border-radius: 8px;
    width: 191px;
    height: 44px;
    background-color: #65bd43;
    margin-bottom:40px;
}
.create-article input:focus{
    outline:none;
}
.btn-custom {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    transition: 0.3s;
    border: 1px solid transparent;
    outline: none !important;
}
.create-article .article-location .header__content p {
    border: solid 1px #d9e6fc;
    background-color: #f7fcfe;
    font-size: 14px;
    color: #2b2b2b;
    margin-left: -16px;
    margin-right: -16px;
    padding: 6px 32px 6px 28px;
    margin-bottom: 20px;
}
.create-article .article-location .header__content__icon-shie {
    margin-right: 12px;
    display: inline-block;
}
.create-article .input-group {
    height: calc(1.5em + .75rem + 2px);
    border-radius: 8px;
    border: solid 1px rgba(43,43,43,0.2);
}
.create-article .input-group .input-price {
    width: 30%;
    border-radius: 8px 0px 0px 8px;
}
.create-article .input-group .custom-input {
    border: none;
    height: calc(1.5em + .75rem);
}
input[type=number] {
    -moz-appearance: textfield;
}
.create-article .input-group .select-price {
    width: 70%;
    border-left: 1px solid #ced4da;
}
.create-article .article-info .select-create-article {
    display: flex;
}
#selUnitMoney {
    margin: 0;
    padding: 0;
    border: none;
    height: calc(1.5em + .5rem);
}
.create-article .article-info .detail-description-block .description-detail .text-des {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #65bd43;
    display: inline-block;
    max-width: 443px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 16px;
    width: calc(100% - 150px);
}
#btn_post:disabled {
    background-color: #e9ecef;
    color: #000!important;
    opacity: 1;
}

/* jFiler CSS*/
.jFiler > div.jFiler-row {
    margin-bottom: 20px;
}

.jFiler-items-grid .jFiler-item .jFiler-item-container {
    margin: 0 20px 10px 0 !important;
}

.jFiler-items-grid .jFiler-item .jFiler-item-container .jFiler-item-thumb {
    width: 145px;
    height: 145px;
    border: none;
}

.jFiler-items-grid .jFiler-item .jFiler-item-container {
    padding: 0 !important;
}

.jFiler-item .jFiler-item-container .jFiler-item-thumb img {
    margin: 0 auto;
}

.scrollbar {
    margin-left: 20px;
    width: 100%;
    height: auto;
    overflow-x: scroll;
    margin-bottom: 25px;
}

.scroll-type::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #dedede;
}

.scroll-type::-webkit-scrollbar {
    height: 8px;
    background-color: #fff;
}

.scroll-type::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #65bd43;
}

/*css reponsive*/
@media only screen and (max-width: 767px) {
    .create-article .article-location .header__content p {
        margin-left: -15px;
        margin-right: -15px;
    }
    .create-article .article-button .btn-blue {    
        width: 150px;
        height: 35px;
    }
    input[type=number] {
        -moz-appearance: textfield;
         height: calc(1.5em + .75rem + 2px);
    }
    .create-article .content-block{
        padding:0;
        box-shadow:none;
        border:none;
    }
    /*jFiler-items-grid*/
    .jFiler-items-grid .jFiler-item .jFiler-item-container .jFiler-item-thumb {
        width: 120px;
        height: 120px;
    }
    /*button-more*/
    .button-more{
        top: 280px;
    }  
}

/* fix css select2 */
.select2-container--default .select2-selection--single {
    height: calc(2.25rem + 2px);
    border: 1px solid #ced4da;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(2.25rem + 2px);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(2.25rem + 2px);
}    
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
    outline: none;
}

/*Quill editor*/
.ql-container .ql-snow .ql-editor {
    max-height: 200px;
    overflow: auto;
}
.ql-editor {
    min-height: 200px;
    font-size: 16px;
}
.create-article #editorContent {
    max-height: 200px;
    overflow: hidden;
    min-height: 200px;
}
#editorContent {
    height: inherit;
}
.create-article .ql-container.ql-snow {
    border-radius: 0 0 8px 8px;
}
.ql-container.ql-snow .ql-editor {
    max-height: 200px;
    overflow: auto;
}
.ql-editor::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.ql-editor::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.ql-editor::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #65bd43;
}

 /*css style cheked radio image default*/
input[name="avatarPost"] {
    opacity: 0;
    position: absolute;
}

label#circle-radio {
    position: relative;
    color:#333;
    font-weight:600;
    margin-left:18px;
    font-size:13px;
}

label#circle-radio::before {
    content: "";
    background: url("/img/icons/check-circle.svg");
    background-position: center;
    background-size: cover;
    width: 18px;
    height: 18px;
    position: absolute;
    right: 100%;
    top:0;
    transform: scale(0) rotateZ(180deg);
    transition: all 0.1s cubic-bezier(0.54, 0.01, 0, 1.49);
}

input[name="avatarPost"]:checked + label#circle-radio::before {
    transform: scale(1) rotateZ(0deg);
}

label#circle-radio::after {
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    right: 100%;
    top:0;
    border-radius: 50%;
}

/*button-more*/
.button-more {
    text-align: right;
   /* position: absolute;*/
    top: 205px;
    right: 30px;
    color: #65bd43;
    font-style: italic;
}
a.button-more:hover {
    color: #65bd43;
    text-decoration: underline;
}