/*
Theme Name: Root Child
Theme URI: http://wpshop.biz/themes/root
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: root
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

.artcolf {
	min-height: 40px;
	padding: 5px;
  color: #fff;
}

.artcolf a {
  color: #403d3c;
  text-decoration: none;
}

.artcolf a:hover {
  color: #f2543c;
}

.artcolf ul li {
  list-style-type: none;
}

.artcolf li::before  {
content: "✔";
color: #159f0b;
padding: 5px;
}

.container-colonkif {
  display: grid;
  width: 100%;
  grid-gap: 5px;
  grid-template-columns: 1fr 1fr 1fr;
}

@media only screen and (max-width: 500px) {
  .container-colonkif {
    grid-template-columns: 1fr;
  }
}

.gbotton-one {
  	width: 100%;
	text-align: center;
  	margin: 10px 5px 30px 5px;
	min-width: 300px;
}

.btns-reg-one {
    display: inline-block;
    padding: 1.425rem 1.625rem 1.425rem 1.625rem;
    border: 1px solid #ff6c02;
    border-radius: 4px;
    background-color: #ff6c02;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.275rem;
    line-height: 0;
    text-decoration: none;
    transition: all 0.2s;
}

.btns-reg-one:hover {
	border: 1px solid #ff6c02;
	background-color: transparent;
	color: #ff6c02;
	text-decoration: none;
}

.gbottons {
  	width: 100%;
	text-align: center;
  	margin: 10px 5px 10px 5px;
	min-width: 300px;
}

.btns-reg {
    display: inline-block;
    padding: 1.425rem 1.625rem 1.425rem 1.625rem;
    border: 1px solid #ff6c02;
    border-radius: 4px;
    background-color: #ff6c02;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0;
    text-decoration: none;
    transition: all 0.2s;
}

.btns-reg:hover {
	border: 1px solid #ff6c02;
	background-color: transparent;
	color: #ff6c02;
	text-decoration: none;
}

/*Блок перелинковки*/
.tag-links{
  margin-top: 30px;
}
.tag-links {
    position: relative;
    z-index: 2;
    margin: 0 0 80px;
    background: #f7f3f1;
}

.container-links {
  position: relative;
    z-index: 2;
    max-width: 1308px;
    padding: 0 24px;
    margin: 0 auto;
}

.tag-links, .tag-grid {
  display: flex;
    max-width: 1228px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.tag-grid-link {
    width: 100%;
}

.tag-title, .tag-title-link {
    margin-top: 0.8em;
    margin-bottom: 1.8em;
    font-weight: 700;
    font-size: 1.3em;
    color: #7a7775;
}

.tag-title-link {
	text-align: center;
}

.tag-links, .tag-grid, .tags-list {
  margin: 20px 0 14px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
}

.tags-list-center {
  justify-content: center;
}

.tags-list li {
  list-style: none;
}

.tags-list ul, li {
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

.tags-list li {
    padding: 0 !important;
    margin: 0 14px 14px 0 !important;
    background: none;
}

.tags-list li a {
    position: relative;
    z-index: 4;
    display: table;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 9px 24px 11px;
    max-width: 100%;
    background-color: #ff6c02;
    border: 2px solid #ff6c02;
    border-radius: 30px;
    box-shadow: 0 3px 8px 2px rgb(0 0 0 / 6%);
    cursor: pointer;
}

.tags-list li a:hover {
  border: 2px solid #ff6c02;
  color: #ff6c02 !important;
  background-color: #fff;
}

/* Вопрос-ответ
--------------------*/
.aioseo-breadcrumbs {
  font-size: .8em;
  color: #000;
  margin-bottom: 10px;
}

.aioseo-breadcrumbs a {
  text-decoration: none;
  color: #000;
  transition: all .3s;
}

.is-form-id-1073 .is-search-submit,
.is-form-id-1073 .is-search-icon {
    border-left: 0!important;
	border-radius: 0 4px 4px 0!important;
}

.is-form-id-1073 .is-search-input {
	border-radius: 4px 0 0 4px!important;
}

.faq-section h1 {
    margin-top: 40px;
}

.post-type-archive .faq-section h1 {
    margin-top: 0;
}

.faq-section .no-questions {
    font-size: 18px;
    margin: 30px 0;
}

.question-block {
  background: #f5f1f8;
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 50px;
}

.question {
  font-size: 20px;
  margin-bottom: 20px;
}

.answer-block {
  display: flex;
  gap: 30px;
  line-height: 1.5;
}

.answer-block .author {
  text-align: center;
  flex-shrink: 0;
}

.answer-block .author img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.answer-block .author p {
  color: #f2543c;
  margin: 5px 0 0;
}

.answer-block .author p:before {
  content: none;
}

.answer-block .answer {
  position: relative;
  background: #fff;
  padding: 20px 20px 10px;
  box-shadow: 0 1px 10px rgb(146 123 165 / 10%);
}

.answer-block .answer:before {
  content: "";
  position: absolute;
  top: 16px;
  left: -12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 12px 9px 0;
  border-color: transparent #fff transparent transparent;
}

.answer-block .answer p,
.answer-block .answer li,
.answer-block .answer img {
  margin-bottom: 10px;
}

.faq-form {
  display: flex;
  gap: 40px;
  box-shadow: 2px 2px 4px #e2e2e2;
  border: 3px ridge #ff8b87;
  padding: 30px;
}

.faq-form .col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 40%;
  text-align: center;
}

.faq-form .col-left p {
  font-weight: 400;
}

.faq-form .col-left img {
  width: 100px;
}

.faq-form .col-right {
  width: 60%;
}

.input_your {
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  padding: 7px 15px;
}

.faq-form textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
}

.wpcf7-spinner,
.wpcf7 .ajax-loader,
.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 10px 0 0 !important;
  text-align: center;
}

.cat-select {
  position: relative;
  z-index: 10;
  margin-bottom: 10px;
}

.cat-select .cat-input {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 7px 15px;
  cursor: pointer;
  margin-bottom: 0;
}

.cat-select .dropdown {
  position: absolute;
  display: none;
  background: #fff;
  width: 100%;
  box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
  padding: 10px 15px 15px;
  top: 42px;
  left: 0;
  margin: 0;
}

.cat-select .dropdown li {
  list-style: none;
  font-size: 14px;
}

.cat-select .dropdown li span {
  display: block;
  padding-top: 5px;
  cursor: pointer;
}

.cat-select .dropdown li span:hover {
  color: #ff5b16;
}

.cat-select .dropdown ul {
  padding-left: 20px;
}

[name="faq_category"] {
  display: none !important;
}

.faq-section .entry-social {
  text-align: center;
  margin-top: 50px;
}

.faq-section .entry-social .entry-bottom__header {
  margin-bottom: 10px;
  font-weight: 600;
}

.faq-item a {
  font-size: 22px;
  font-weight: 500;
  color: #f2543c;
}

.faq-item .faq-date {
  font-size: 14px;
}

.faq-cat-grid-title {
  font-size: 26px;
  font-weight: 600;
  margin: 25px 0 10px;
}

.faq-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-cat-grid a {
  display: block;
  width: calc((100% - 30px) / 4);
  text-decoration: none;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  color: #333;
  padding: 15px;
  transition: .3s;
  box-shadow: 3px 3px 10px #d0d0d0;
}

.faq-cat-grid a:hover {
  color: #f2543c;
}

.faq-cat-grid a img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.faq-cat-grid a h3 {
  font-size: 16px;
  margin: 10px 0 0;
}

.child-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 60px;
}

.child-cat a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px solid #ff6c02;
	border-radius: 4px;
	background-color: #ff6c02;
	font-weight: 600;
	font-size: 0.875rem;
	width: calc((100% - 20px) / 3);
	text-decoration: none;
	line-height: 1;
	color: #ffffff;
	padding: 20px 10px;
	transition: .3s;
}

.child-cat a:hover {
    background: #fff;
}

@media screen and (max-width:1200px) {	
	.faq-cat-grid a {
		width: calc((100% - 10px) / 2);
	}	

	.child-cat a {
		width: calc((100% - 10px) / 2);
	}		
}

@media screen and (max-width:787px) {	
	.faq-cat-grid-title {
		font-size: 20px;
		margin: 40px 0 20px;
	}
	
	.cat-select .cat-input {
		font-size: 13px;
	}	
}

@media screen and (max-width:480px) {	
	.question-block {
		padding: 30px 20px;
	}

	.answer-block {
		flex-direction: column;
	}	

	.answer-block .answer:before {
		content: "";
		position: absolute;
		top: -12px;
		left: calc(50% - 6px);
		border-width: 0 9px 12px 9px;
		border-color: transparent transparent #fff transparent;
	}	

	.faq-form {
		display: block;
		padding: 30px 20px;
	}	

	.faq-form .col-left {
		display: block;
		width: 100%;
		margin-bottom: 30px;
	}	

	.faq-form .col-right {
		width: 100%;
	}	

	.faq-form .col-left img {
		width: 60px;
	}

	.faq-form [type="submit"] {
		width: 100%;
	}

	.faq-cat-grid a,
	.child-cat a {
		width: 100%;
	}
	
	.faq-item a {
		font-size: 18px;
	}
	
	.faq-section {
		margin-bottom: 50px;
	}	
}