/* admin css */
.extended-custom-required{
    color: red !important;
    font-size: 15px;
}
.wp-extend-row{
    width: 100%;
}
.wp-extend-col{
    width: 50%;
}
.extended-custom-error{
    border: 1px solid #ff3333 !important;
}
.extended-custom-error:focus{
    box-shadow: 0 0 0 1px #ff3333 !important;
}
/* extended-custom-cpt */
#extended-custom-cpt table,
#extended-custom-custom-fields table,
#extended-custom-tax table{
    width: 100%;
}
#extended-custom-cpt table tr,
#extended-custom-custom-fields table tr,
#extended-custom-tx table tr{
    height: 50px;
}

#extended-custom-cpt table td:nth-child(1),
#extended-custom-custom-fields table td:nth-child(1),
#extended-custom-tax table td:nth-child(1){
    width: 25%;
}
#extended-custom-cpt .inner-tbl td:nth-child(1),
#extended-custom-custom-fields .inner-tbl td:nth-child(1),
#extended-custom-tax .inner-tbl td:nth-child(1){
    padding-right: 50px;
    padding-left: 10px;
}
#extended-custom-cpt .inner-tbl td:nth-child(2),
#extended-custom-custom-fields .inner-tbl td:nth-child(2),
#extended-custom-tax .inner-tbl td:nth-child(2){
    padding-left: 10px;
}
#extended-custom-cpt label,
#extended-custom-custom-fields label,
#extended-custom-cpt input,
#extended-custom-custom-fields input,
#extended-custom-tax label,
#extended-custom-tax input,
.extended-custom-user-custom-fields label{
    font-size: 16px;
}
#extended-custom-cpt .label,
#extended-custom-custom-fields .label,
#extended-custom-tax .label,
.extended-custom-user-custom-fields label{
    font-weight: 500;
}
.extended-custom-dashicon-picker-container{
    background: #fff;
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
    width: 260px;
    height: 290px;
    overflow: hidden;
    border: 1px solid #c3c4c7;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}
.extended-custom-dashicon-picker-container .dashicon-picker-list{
    text-align: center;
}
.extended-custom-dashicon-picker-container .dashicon-picker-list li{
   display: inline-block;
   padding: 5px;
   border: 1px solid #dfdfdf;
    margin: 5px;
}
.extended-custom-dashicon-picker-container .dashicon-picker-list li:hover{
    background: #f0f0f1;
}

.extended-custom-dashicon-picker-container .dashicon-picker-list li a,
.extended-custom-dashicon-picker-container .dashicon-picker-control a{
    text-decoration: none;
}
.extended-custom-dashicon-picker-container .dashicon-picker-control a{
    display: inline-block;
}
.extended-custom-dashicon-picker-container .dashicon-picker-control{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.extended-custom-dashicon-picker-container  a{
    box-shadow: none !important;
}
.extended-custom-dashicon-picker-container  a span{
    color: #373737;
}
.wp-extend-selected-menu{
    display: inline-block;
    border: 1px solid;
    padding: 7px;
}

#menu-posts-wp_extended.wp-has-current-submenu ul.wp-submenu.wp-submenu-wrap{
    border-left: 0px solid transparent;
}

/* Custom fields sections */
.all-custom-field-list-table {
    border: 1px solid #d5d9dd;
    border-collapse : collapse;
}
.all-custom-field-list-heading{
    border-bottom:1px solid #ccd0d4 ;
}
.all-custom-field-list-heading li label {
   font-weight: 700;
}
#extended-custom-custom-fields-list .custom-fields-wrap .custom-fields-list .toggle-tbl table{
    border-collapse: collapse;
}
#extended-custom-custom-fields-list .custom-fields-wrap .custom-fields-list .toggle-tbl td:nth-child(1),
.extended-custom-user-custom-fields td:nth-child(1){
    background-color: #F9F9F9;
}
ul.extended-custom-custom-fields-headings{
    white-space: nowrap;   
    padding-left: 10px;
}
.custom-fields-heading{
    cursor: pointer;
}
ul.extended-custom-custom-fields-headings li{
    display: inline-block;
    width: 29%;
}
ul.extended-custom-custom-fields-headings li:last-child,
ul.extended-custom-custom-fields-headings li:first-child{
    width: 8%;
}
#extended-custom-custom-fields-list .custom-fields-wrap {
    border-bottom: 1px solid #d5d9dd  ;
}
#extended-custom-custom-fields-list .custom-fields-wrap .custom-fields-heading{
    transition: 0.5s;
}
#extended-custom-custom-fields-list .custom-fields-wrap .show .custom-fields-heading{
    background-color: #2271b1;
    color: #fff;
    transition: 0.5s;
}
#extended-custom-custom-fields-list .custom-fields-wrap .custom-field-main-table.show{
    border:  1px solid #2271b1 ;
}
.extended-custom-field-order{
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #d5d9dd;
    border-radius: 100%;
}

table.custom-field-main-table.default .custom-fields-list,
.extended-custom-hide,
table.custom-field-main-table.default .custom-fields-list .toggle-tbl{
    display: none;
}

.extended-custom-user-custom-fields{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #F0F0F1;
}
.extended-custom-user-custom-fields td,
.extended-custom-user-custom-fields th{
    height: 40px;
    padding-left: 20px;
}
.extended-custom-user-custom-fields tr {
    border-bottom: 1px solid #F0F0F1;
}
.extended-custom-user-custom-fields td input,
.extended-custom-user-custom-fields td select,
.extended-custom-custom-meta-wrap select{
    width: inherit
}
.extended-custom-mediaupload-wrap {
    display: flex;
    align-items:center;
}
.extended-custom-mediaupload-wrap a{
    text-decoration: none;
}
.extended-custom-uploadimage img{
    max-width: 400px;
    height: auto;
    border: 1px solid #F0F0F1;
}
.extended-custom-mediaupload-wrap .extended-custom-removeimg{
    margin-left: 20px;
}
@media (max-width:1400px){
    #extended-custom-cpt .inner-tbl td:nth-child(1),
    #extended-custom-custom-fields .inner-tbl td:nth-child(1),
    #extended-custom-tax .inner-tbl td:nth-child(1){
        width: 40%;
        padding-right: 30px;
    }  
    .wp-extend-col{
        width: 100%;
    } 

    .extended-custom-uploadimage img{
        max-width: 300px;
    }
    .extended-custom-mediaupload-wrap .extended-custom-removeimg{
        margin-left: 10px;
    }
    ul.extended-custom-custom-fields-headings li{
        width: 25%;
    }
    ul.extended-custom-custom-fields-headings li:last-child,
    ul.extended-custom-custom-fields-headings li:first-child{
        width: 10%;
    }
}   
@media (max-width:1000px){
    .extended-custom-mediaupload-wrap,
    .extended-custom-uploadimage{
        display: block;
    }
    .extended-custom-mediaupload-wrap .extended-custom-removeimg{
        margin-left: 0px;
    }
}   
@media (max-width:850px){
    #extended-custom-cpt .inner-tbl td:nth-child(1),
    #extended-custom-custom-fields .inner-tbl td:nth-child(1),
    #extended-custom-tax .inner-tbl td:nth-child(1){
        padding-right: 20px;
    }   
    .extended-custom-user-custom-fields td,
    .extended-custom-user-custom-fields th{
        padding-left: 10px;
    }
}
@media (max-width:500px){
    .extended-custom-uploadimage img {
        max-width: 180px;
    }
    ul.extended-custom-custom-fields-headings li{
        width: 25%;
    }
    ul.extended-custom-custom-fields-headings li:last-child,
    ul.extended-custom-custom-fields-headings li:first-child{
        width: 10%;
    }
    .extended-custom-field-order{
        height: 25px;
        width: 25px;
        line-height: 25px;
    }
    ul.extended-custom-custom-fields-headings{
        text-align: center;
    }
}