@font-face {
    font-family: 'vazir';
    src: url('../fonts/vazir.woff2') format('woff2'),
    url('../fonts/vazir.woff') format('woff');
    font-weight: normal;
    font-display:swap;
}
body.kerasno-admin-page #wpbody *,
#kepro_toolbar_wrapper,
#kepro_toolbar_wrapper *,
.kerasno-toolbar,
.kerasno-toolbar *,
#keproai_items_wrapper,
#keproai_items_wrapper * {
    font-family: 'vazir' !important;
}
#kepro_toolbar_wrapper,
#kepro_toolbar_wrapper * {
    font-size: 15px;
    letter-spacing: -0.5px;
}
*.dashicons,
.dashicons:before,
button i.mce-ico:before {
    font-family: dashicons !important;
}
.postbox.acf-postbox {
    border: none !important;
    background-color: transparent !important;
}
.postbox.acf-postbox .postbox-header {
    display: none !important;
}
.acf-fields>.acf-tab-wrap .acf-tab-group li a {    
    background: #fff !important;
    border: none !important;
}
.acf-tab-wrap.-left .acf-tab-group {
    right: -24% !important;
}
.acf-tab-wrap.-left .acf-tab-group li a {
    font-size: 15px !important;
    color: #334155 !important;
}
html[dir=rtl] .acf-tab-wrap.-left .acf-tab-group li.active a {
    font-weight: bold;
    color: #374fe7 !important;
    background-color: #ebedfc !important;
    border: 1px solid #afb8f5 !important;
    border-radius: .25rem !important;
}
.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover {
    color: #374fe7 !important;
}

// right column
html[dir=rtl] .acf-fields.-sidebar:before {
    position: absolute;
    right: -24%;
    border: none !important;
    padding: 20px !important;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.acf-fields.-sidebar:before {
    background-color: #fff !important;
    background: #fff !important;
}
html[dir=rtl] .acf-fields.-sidebar {
    margin: 0 22% 0 0 !important;
    padding: 0 !important;
    background: #fff !important;
    background-color: #fff !important;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
html[dir=rtl] .acf-tab-wrap.-left .acf-tab-group {
    padding: 20px !important;
}
.acf-tab-wrap.-left .acf-tab-group li {    
    margin-bottom: 6px !important;
}


body.kerasno-admin-page #titlewrap {
    max-width: 1300px;
}
body.kerasno-admin-page .inside.acf-fields.-top {
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    max-width: 1300px;
}
body.kerasno-admin-page input#title {
    border: none;
    padding: 10px 20px !important;
    height: 50px !important;
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-content: flex-start;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    border-radius: 8px;
}


// radio
ul.acf-radio-list input[type=radio]:checked::before {
    width: 15px;
    height: 15px;
    margin: 4px;
}
ul.acf-radio-list input[type=radio] {
    width: 25px;
    height: 25px;
}
ul.acf-radio-list.acf-bl li {
    margin-bottom: 10px;
}

//checkbox
.acf-input .acf-switch {
    border-radius: 50px;
}
.acf-switch .acf-switch-slider {
    border-radius: 50px !important;
}

//image uploader
.acf-image-uploader {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    border: 2px dashed #ccc;
    padding: 25px;
    border-radius: 8px;
}
.acf-tab-wrap.-top ul li.active {
    border: 2px solid #2438ce !important;
    margin: 10px !important;
    padding: 4px;
    border-radius: 8px;
}
.acf-tab-wrap.-top ul li.active a {
    color: #374fe7 !important;
    background: #ebedfc !important;
}
.inside.acf-fields.-top {
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, .05) 0px 1px 2px 0px;
}
.acf-switch.-on {
    background: #374fe7 !important;
    border-color: rgb(1, 34, 51) !important;
}

body.kerasno-admin-page {
    .postbox {
        border-radius: 8px;
        border: none !important;
        .postbox-header {
            border: none;
        }
        #major-publishing-actions {
            background: #fff;
            border-radius: 0px 0px 8px 8px;
            border: none !important;
        }
    }
    .wp-list-table {
        border: none;
        tr {
            background-color: #fff;
        }
    }
    .acf-admin-notice {
        border-radius: 8px;
        max-width: 1300px;
        margin: 0 auto !important;
    }

    .notice:not(.acf-admin-notice):not(.kepro_hot_notice) {
        display: none !important;
    }
}
.acf-button-group label.selected {
    border-color: #374fe7;
    background: #374fe7;
}
.acf-field.acf-field-62778c5733649,
.acf-field.acf-field-61f130b93ce8a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.wrap.acf-settings-wrap h1 {
    padding-right: 60px;
}
body.kerasno-admin-page .acf-tab-wrap.-top ul.acf-hl.acf-tab-group {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    padding: 0;
    overflow: hidden !important;
}
body.kerasno-admin-page .acf-tab-wrap.-top ul.acf-hl.acf-tab-group li {
    width: 100%;
    text-align: center;
}
body.kerasno-admin-page .acf-fields>.acf-tab-wrap {
    overflow: hidden;
}