li#toplevel_page_galery_core_setting {
    display: none !important;
}
.galery_core_setting .field {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid black;
    padding-top: 5px;
    padding-bottom: 5px;
}
li#toplevel_page_galery_core_setting div.wp-menu-name {
    padding: 2px !important;
    border-top: 1px solid white !important;
    border-bottom: 1px solid white !important;
}
li#toplevel_page_galery_core_setting .wp-menu-image.dashicons-before.dashicons-admin-generic{
    display: none !important;
}
li#toplevel_page_galery_core_setting img {
    margin-left: 10px !important;
}
.galery_core_setting button.setting_remove {
    width: 5%;
    border: 0px;
    background-color: transparent;
    color: red;
    font-size: 19px;
    font-weight: 800;
}
.galery_core_setting label.slideDownlabel {
    width: 92%;
    padding-left: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.galery_core_setting .setting p {
    display: flex;
    flex-direction: column;
}
.galery_core_setting .buttons {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 9%, rgba(148,233,201,1) 100%);
}
.galery_core_setting .setting {
    width: 40%;
}
.galery_core_setting>form{
    border: 1px solid;

    padding: 5px;
}
.galery_core_setting span.info{
    display:none;
}
.galery_core_setting span.info:not(:empty) {
    text-align: center;
    display: block;
    background-color:red;
    margin-left:25%;
    margin-right:25%;
    padding:5px;
    color:white;
}
.galery_core_setting span.info:not(:empty)::before{
    content:'Сначала выберите ';
}


.galery_core_setting .render_element{
    display:none;
}
.galery_core_setting .render_element:not(:empty){
    display:block;
}
.galery_core_setting .render_element.loading{
    opacity: 0.4;
    pointer-events: none;
}
.slideDownlabel {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.slideDown{
    display:none;
}
.slideDowninput{
    display: none;
}
.slideDowninput[type=checkbox]:checked+label::after{
    content: '-';
    display: flex;
    width: 1em;
    color: black;
    font-size: 25px;
    position: relative;
    text-align: center;
    font-weight: bold;
    justify-content: center;
}
.galery_core_setting .role_setting.ui-sortable-handle {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #46b450;
    margin: 5px;
    flex-wrap: wrap;
    padding-left: 15px;
}
.galery_core_setting .discount_setting {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #46b450;
    flex-wrap: wrap;
    padding-left: 10px;
    margin-bottom: 5px;
}
.role_discounts>label{
    float: left;
    margin-right: 15px;
}
.role_discounts>buttons{
    float: right;
}
.slideDowninput[type=checkbox]:checked+div.galery_slide_element_nav + .slideDown{
    display: block;
}
.slideDowninput[type=checkbox]+div.galery_slide_element_nav label::after {
    content: '+';
    display: flex;
    color: #000000;
    justify-content: center;
    border-radius: 50%;
    height: 23px;
    width: 23px;
    align-items: center;
    background: rgb(65,64,64);
    background: radial-gradient(circle, rgba(65,64,64,1) 0%, rgba(119,119,119,1) 100%);
    box-shadow: 0px 0px 4px 2px black;
}
.galery_core_setting{
    display:flex;
}
.galery_core_setting .setting {
    padding: 10px 10px 5px 5px;
    /* border: 1px solid; */
}
.galery_core_setting .info {
    width: 60%;
    background: #eeeeee;
    margin-top: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: inset 1px 1px 4px 2px black;
    background-image: url(/wp-content/plugins/galery_core/assets/images/bg.jpg);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 35px;
    font-weight: 900;
    color: white;
    max-height: 150px;
}
.galery_core_setting .info img{
    width:90px;
    height:auto;
}
.galery_core_setting_shorts.head-attr {
    display: flex;
}
.galery_core_setting_shorts.head-attr b {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    color: black;
    margin-bottom: 6px;
    white-space: nowrap;
}

.galery_core_setting_shorts.head-attr > div {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
    color:white;}

.galery_core_setting_shorts a {
    color: black;
    font-size: 18px;
}

.fa {
    color: black;
}


.galery_core_setting .image_select.form-field.term-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-end;
    align-items: center;
    justify-content: flex-start;
}
.galery_core_setting img.image_select_img.image_select {
    height: 180px;
    width: 180px;
    border-radius: 0px 0px 5px 5px;
}
.galery_core_setting img.icon {
    height: 25px;
    width: 25px;
    border-radius: 2px;
}
.galery_core_setting_role input {
    visibility: hidden;
}
.galery_core_setting_role ul.radios li{
    width:50%;
    display:inline-block;
}
.galery_core_setting_role ul.radios li input:checked+label {
    border: 1px solid;
}
.galery_core_setting .dependency_rules {
    display: flex;
    border: 1px solid;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: space-between;
    margin-top: 5px;
    box-shadow: 5px 3px 1px 0 #44ad1954;
}
.galery_core_setting .setting p label {
    width: 25%;
    background: #46b450;
    color: white;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}
.dependency_rules_setting {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid;
    padding: 5px;
    margin: 2px;
    justify-content: space-between;
}
.fa-minus-circle:before {
    content: "\f056";
    color: red;
}
.galery_core_setting .form-field {
    background: #767676;
    margin-top: 15px;
    border: 1px solid;
    padding: 2px;
}
.galery_core_setting .image-slot {
    display: flex;
    flex-direction: column;
}
.galery_core_setting .slideDown {
    background: #767676;	
    padding: 5px;
	border:1px solid #767676;
}
.galery_core_setting .image-slot label {
    border-radius: 5px 5px 0px 0px;
    background: #46b450;
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 14px;
}
.galery_core_setting .image_select {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.galery_core_setting p.form-field select {
    width: 75%;
}
.galery_core_setting div.form-field .label-text {
    display: flex;
    align-items: center;
    background: #767676;
}
.galery_core_setting .label-text label {
    width: 30%;
    padding: 5px;
    text-align: center;
    color: white;
    background: #46b450;
    border-radius: 5px;
    margin-right: 5px;
}
.galery_core_setting .setting p {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.galery_slide_element_nav {
    display: flex;
    align-items: center;
    padding: 5px;
    border: 1px solid;
    justify-content: space-between;
}
.galery_slide_element.ui-sortable-handle {
    border: 1px solid;
    background: #76767670;
}
.form-field p, .form-field select {
    max-width: 100%;
}
span.description {
    color: white;
    margin-right: 2px;
}
button.add_slide,input.dochanges {
    background: #46b450;
    color: white;
    padding: 5px 10px;
}
video.video-stream.html5-main-video {
    top: 0px !important;
    height: 510px !important;
}
.new_gelery_sliders .splide__slide img {
    vertical-align: bottom;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.new_gelery_sliders .splide__slide.video::after {
    border-color: #ff000000 transparent transparent #fff;
    border-style: solid;
    border-width: 9px 0 9px 17px;
    content: "";
    display: inline-block;
    margin-left: 4px;
    position: absolute;
    left: 40%;
    top: 40%;
}
.new_gelery_sliders div#thumbnail-carousel-track {
    margin-top: 10px;
}