:root{
	--border-color:#e9ecef;
}
.seo_rule.setting .rule_list {
    width: 100%;
}
.main_pop_cats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.main_pop_cats h2 {
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	padding: 0 10px;
	width: 100%;
}
.main_pop_cats h3 {
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
	padding: 10px;
	width: 100%;
	margin: 0px;
}
.main_pop_cats .pop_cat {
	border: 1px solid var(--border-color);
	width: calc((100% - 30px) / 4);
}
@media (max-width: 769px){
	.main_pop_cats .pop_cat {
		border: 1px solid var(--border-color);
		width: calc((100% - 10px) / 2);
	}
}
.rule_list>div {
    padding: 5px;
}
.custom_function {
	padding: 5px;
}
.theme_settings .rule_list .meta_field_input, .theme_settings .rule_list .xpath_field_input,.theme_settings .rule_list .meta_field_func {
	min-width: 20%;
}
.theme_settings .rule_list .meta_field_input input, .theme_settings .rule_list .xpath_field_input input, .theme_settings .rule_list .meta_field_func input{
	width: 100%;
}

.parser_docs {
	padding: 5px;
	text-align: right;
}
.parser_header_body span {
	font-size: 14px;
}
.choice_template{
	width: 100%;
	height: 40px;
	margin-top: 20px;
}
.parser_header{
	background:#F0F0F1;
}
.parser_docs {
	padding: 5px;
	gap: 5px;
	display: flex;
	justify-content: flex-end;
	border-bottom: 1px solid #c4c3c3;
}
.parser_header_body {
	padding: 5px;
}
.parser_content {
	margin-top: 2px;
	display: flex;
	gap: 20px;
}
.rht, .lft {
	width: 50%;
}
.lft {
	background: #F0F0F1;
	display: flex;
	flex-direction: column;
}
.lft .m-select {
	margin-bottom: 10px;
}
.process-title {
	font-size: 30px;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.progress-bar {
	background: white;
	border-radius: 10px;
}
.progress-bar span {
	display: flex;
	align-items: center;
	justify-content: flex-end !important;
}
.process-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

.process-buttons .btn{
	border-radius: 50%;
	width: 50px;
	height: 50px;
	font-size: 12px;
}
.process-buttons .btn, .state-info .btn {
	background-color: #F1F3F7;
	-webkit-box-shadow: inset 4px 4px 4px 0 #cdcfd2, inset -4px -4px 4px 0 #ffffff, 4px 4px 8px 0 #cdcfd2;
	box-shadow: inset 4px 4px 4px 0 #cdcfd2, inset -4px -4px 4px 0 #ffffff, 4px 4px 8px 0 #cdcfd2;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 0px;
}

.process-buttons .btn:hover,.state-info .btn:hover {
	background-color: #FF0000;
	-webkit-box-shadow: inset 4px 4px 4px 0 #d10000, 4px 4px 8px 0 #cdcfd2;
	box-shadow: inset 4px 4px 4px 0 #d10000, 4px 4px 8px 0 #cdcfd2;
	color:white;
}
.rht {
	color: white;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13px;
	justify-content: space-between;
}
.state-info {
	background: #909090;
}
.state-info, .send-mail {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 5px;
}
.lft span {
	display: flex;
	align-items: center;
	justify-content: center;
}
.rht span {
	display: flex;
	gap: 15px;
	align-items: center;
}

.rht span .btn{
	font-size: 15px;
}

 .theme_settings .empty_save {
	 display: flex;
	 align-items: center;
	 gap: 5px;
 }
div.theme_settings {
	margin: 10px 20px 0 2px;
	max-width: 70%;
	margin-right: auto;
}
.theme_settings .tab {
    display: block;
    padding: 5px;
    border: 1px solid #222222;
}
.shortcode.choice {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    padding: 15px;
    outline: 2px dashed #fff;
    outline-offset: -5px;
    border-radius: 10px;
}
.short-code-preview {
    width: 98%;
    padding: 5px;
    background: white;
    border-radius: 5px;
}
.short-code-preview strong {
    user-select: none;
}
.theme_settings .short-code-preview span {
    border: 1px dashed #cddce8;
    padding: 3px;
}
.shortcode.choice .m-select {
  width: 85%;
}
.shortcode.setting .m-select {
  margin: 10px 0;
}
.theme_settings .remove, .theme_settings .sh {
    width: 24px;
    height: 24px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    border-radius: 5px;
    padding: 2px;
}
.theme_settings .remove:before {
    content: 'X';
}
.theme_settings .sh:before{
content: 'V';	
}


.theme_settings input{
	border: 0px;
	border-radius: 2px;
}

.theme_settings .top_bar.chorts {
    display: flex;
    background-color: #222222;
    border-radius: 10px;
    height: 45px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: -8px;
    /*z-index: 2;*/
}
.shortcode.setting .rule_list>div>div {
    padding: 5px;
    border-radius: 0 0 10px 10px;
    border: 1px solid #222222;
}
.shortcode.setting .rule_list {
    width: 100%;
	z-index:99999;
}
.theme_settings .buttom_bar {
	display: flex;
	justify-content: flex-end;
	padding: 5px 10px;
	background: #979797;
	border-radius: 0px 0px 10px 10px;
}
.theme_settings .template_name {
    display: flex;
    align-items: center;
    padding: 5px;
    background: red;
    color: white;
    border-radius: 5px;
    margin: 5px 0;
    width: 100%;
}
.template_name.import_export {
    display: flex;
    flex-wrap: wrap;
}
.theme_settings .template_name p {		
	margin: 2px 2px;
	padding-right: 5px;	
}

ul.draggable-list.p_settings>li {
	display: flex;
	flex-direction: row;
	align-content: stretch;
	align-items: center;
	border: 1px solid #979797;
	margin: 5px 3px;
	border-radius: 2px;
	background: #c2c0c0;
	outline: 2px dashed rgb(151 151 151);
	outline-offset: -5px;
	padding: 5px;
	gap:10px;
}
.theme_settings .template_list>li.over{
	background-color: red;
}
ul.draggable-list.p_settings p {
	margin: 0px;
}
.theme_settings ul[draged] li *:not([draggable]){
	pointer-events: none;
}
.color.settings li {
    list-style: none;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    flex-direction: row;
}
.theme_settings li {
    list-style: none;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.theme_settings .logo_preview li{
    flex-direction: row;	
}
.theme_settings h2{
	color:#fff;
}
.theme_settings h3.title {
	width: 100%;
	color:black;
}

.theme_settings {
  margin: 10px 20px 0 2px;
  max-width: 75%;
}
.theme_settings .tab_contents * {
    box-sizing: border-box;
}
.theme_settings .tabs {
  flex-direction: row;
  display: flex;
  min-height: 50vh;
}

.theme_settings .tab_contents {
    flex-grow: 1;
}
.theme_settings .tab_contents .setting {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.theme_settings .tab_list {
    width: 300px;
    padding: 5px;
    background-color: #222;
}
.theme_settings .tab_list a {
  width: 300px;
  text-align: center;
}

.theme_settings .tab_list a.tablinks.button {
  color: #999;
  border-radius: 0px;
  background-color: #2c2c2c;
  border: 0px;
  box-shadow: 0px 0px;
  font-size: 14px;
  padding: 5px 10px 5px 10px;
}
.theme_settings .tab_list a.tablinks.button.active {
  color: #999;
  border-radius: 0px;
  background-color: #101010;
  border: 0px;
  box-shadow: 0px 0px;
  font-size: 14px;
  padding: 5px 10px 5px 10px;
}
.theme_settings .tab_list a.active:hover,.theme_settings .tab_list a {
  color: white;
  background-color: #101010;
  box-shadow: 0px 0px;
}
[hide], .hide {
  display: none;
}

.theme_settings span {
	border: 1px solid black;
}

.theme_settings span img {
	position: relative;
}

.theme_settings .color_preview {
	display: flex;
}

.theme_settings button, .theme_settings a.button {
  padding: 5px 30px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  margin-right: 10px;
  border: none;
  border: 1px solid black;
  background: #f0f0f1;
  color: black;
}

.theme_settings .colors .top_bar {
	display: flex;
	align-items: center;
}

.theme_settings .colors {
	display: flex;
	flex-wrap: wrap;
}

.theme_settings input[type="text"] {
    border: 1px solid #eeeeee;
    height: 30px;
    outline: 0;
    flex-grow: 1;
}

.theme_settings button:hover {
	text-shadow: 0 0 black;
}

.theme_settings button.blue {
	background: blue;
	color: white;
}

.theme_settings button.white {
	background: white;
	color: black;
}

.theme_settings button.red {
	background: red;
	color: white;
}

.theme_settings_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: black;
	color: white;
	padding: 10px;
}

@media(max-width:767px) {
	.theme_settings {
		max-width: 100%;
	}

	.theme_settings button {
		padding: 5px 10px;
	}

	.theme_settings_header {
		flex-direction: column;
	}
}

.theme_settings .settings {
  padding: 15px;
  outline: 2px dashed #fff;
  outline-offset: -5px;
  border-radius: 10px;
}

.theme_settings textarea {
	resize: vertical;
	width: 100%;
	max-width: 100%;
	min-height: 125px;
}

.theme_settings .logo_preview {
	display: flex;
	align-items: center;
}

.theme_settings .logo_preview img {
  max-width: 120px;
  margin-right: 15px;
  background: white;
  padding: 5px;
  border-radius: 10px;
  outline: 2px dashed #fff;
}

.theme_settings .colors span {
	border-radius: 6px;
	margin-right: -10px;
	width: 45px;
	height: 35px;
	align-items: center;
	justify-content: center;
	display: flex;
	padding-right: 5px;
}

/*Включаем слайдер*/
.main_slide .main_pop_cats .pop_cat {
  width: 100%;
}
.main_slide .main_pop_cats{
	display:block;
}
/*Включаем слайдер*/

.add_new {
    display: flex;
    justify-content: space-between;
}
.add_new .m-select {
    width: 80%;
}

a.button.white.import_export.export {
    background: red;
	color:white;
}
a.button.white.import_export {
    margin-top: 20px;
}

.template_name.import_export textarea {
overflow-x: hidden;
}