/*
  Theme Name: Консультация Психолога
  Theme URI: http://yousite.kz/
  Description: site
  Author: Dostan Aitkhozhin
  Version: 1.0
*/
*{
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
.menu-triger{
  display: none;
}
nav{
  background: #fff;
  margin: 0 auto;
  width: 100%;
  border-bottom: 1px solid #e9e9e9;
  border-top: 1px solid #e9e9e9;
}
nav > div {
  width: 1200px;
  margin: 0 auto;
}
nav > div > ul > li > a{
  cursor: pointer;
text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    color: #000;
}
nav > div > ul > li > a:hover{
  color:#135a90;
}
nav > div > ul > li{
  position: relative;
  display: inline-block;
margin: 20px 40px 20px 0px;
}
.sub-menu{
  text-align: left;
  z-index: 9999;
  padding: 7px;
  background: #eceff1;
  color: #000;
  width: 250px;
  position: absolute;
  top:42px;
  left: 0;
  right: 0;
  margin: 0;
  display: inline-block;
  border-radius: 10px;
}
.sub-menu > li{
  list-style-type: none;
  margin: 10px;
}
.sub-menu > li > a{
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 300;
  font-size:16px;
  font-family: 'Roboto', sans-serif;
  color:#000;
}
html{
  position:relative;
}
.block1{
  width: 100%;
  height: auto;
  padding-bottom: 30px;
 }
.block1 > header{
  width: 1250px;
  height: 100px;
  margin: 0 auto;
}
.block1 > header > .logo{
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-size: 28px;
    font-weight: 500;
    margin: 39px 0px 0px 30px;
}
.block1 > header > .adres{
background: url(images/bal.png) no-repeat 5% 50%;
background-size: 15px;
display: inline-block;
text-decoration: none;
color: #000;
font-size: 22px;
font-weight: 500;
padding-left: 30px;
margin: 30px 0px 0px 217px;
}
.block1 > header > .mail{
background: url(images/mail.png) no-repeat 5% 50%;
background-size: 25px;
display: inline-block;
text-decoration: none;
color: #000;
font-size: 22px;
font-weight: 500;
padding-left: 50px;
margin: 30px 0px 0px 50px;
}
.block1 > header > .tel{
background: url(images/tel.png) no-repeat 5% 50%;
background-size: 20px;
display: inline-block;
text-decoration: none;
color: #000;
font-size: 22px;
font-weight: 500;
padding-left: 35px;
margin: 30px 0px 0px 50px;
}
#background{
  position: relative;
  background: url(images/image1.png) no-repeat 90% 34%;
    background-position: 100% 100%;
    background-size: 440px;
    background-repeat: no-repeat;
    height: 400px;
}
.block1 > .vn{
  margin: 0 auto;
  width: 1200px;
  background: #fff;
}
.block1 > .vn > .viva{
    color: #1e2769;
    font-size: 16px;
    width: 1200px;
    padding: 9px;
    margin: 20px auto 0px;
    background: #b8ebff;
    text-align: center;
    border-radius: 10px;
    font-weight: 400;
    line-height: 30px;
}
.block1 > .vn > .viva2{
    color: #000;
    font-size: 16px;
    width: 950px;
    padding: 9px;
    margin: 20px auto 0px;
    text-align: center;
    border-radius: 10px;
    font-weight: 400;
    line-height: 30px;
}
.block1 > .vn > h1{
  width: 700px;
    text-decoration: none;
    font-size: 55px;
    font-weight: 600;
    color: red;
    text-align: left;
    margin-top: 93px;
}
.block1 > .vn > h2{
  width: 700px;
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    color: #000;
    text-align: left;
    margin-top: 40px;
}

.block1 > .vn > p{
  background: url(images/gal.png) no-repeat 0% 50%;
  background-size: 20px;
  width: 400px;
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  margin: 10px 0px 0px 30px;
  padding-left: 30px;
}
.block1 > .vn > .but{
  position: absolute;
cursor: pointer;
border-radius: 5px;
background: #0077ff url(images/click.png) no-repeat 96% 50%;
background-size: 23px;
width: 260px;
text-align: center;
text-decoration: none;
color: #fff;
font-size: 18px;
font-weight: 500;
margin: 81px auto 50px;
padding: 12px;
}

.block2{
display: block;
width: 100%;
height: auto;
 }
.block2 > .vn > h1{
background-size: 61px;
text-align: center;
color: #000;
font-size: 35px;
font-weight: 500;
padding-top: 30px;
margin-top: 10px;
margin-bottom: 50px;
}
.block2 > .vn{
margin: 0 auto;
width: 1250px;
text-align: center;
}
.block2 > .vn > .kp{
background: #fff;
    margin: 10px;
    font-size: 17px;
    font-weight: 300;
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: 275px;
    height: 390px;
    padding: 5px 25px 40px 28px;
    border: 1px solid #c7c7c7;
    border-radius: 10px;
    text-align: center;
}
.block2 > .vn > .kp > .thumb > a > img{
  width: 200px;
  height: auto;
}
.block2 > .vn > .kp > b{
 padding-bottom: 15px;
    display: block;
    font-size: 26px;
    font-weight: 400;
}
.block2 > .vn > .kp > a{
  color: #054896;
  text-decoration: none;
 margin: 20px auto 0px;
    display: block;
    font-size: 17px;
    font-weight: 400;
    position: absolute;
    bottom: 5px;
    left: 28px;
    right: 0px;
    text-align: left;
}
.block2 > .vn > .but{
cursor: pointer;
background: #2aab92 url(images/click.png) no-repeat 96% 50%;
background-size: 23px;
width: 260px;
text-align: center;
text-decoration: none;
color: #fff;
font-size: 18px;
font-weight: 500;
margin: 30px auto 0px;
padding: 12px;
}
.block4{
display: block;
background: #f1f1f145;
border-top-left-radius: 240px;
    border-top-right-radius: 240px;
width: 100%;
height: auto;
padding-bottom: 30px;
 }
.block4 > .vn > h1{
text-align: center;
color: #000;
font-size: 35px;
font-weight: 500;
padding-top: 41px;
margin-top: 10px;
margin-bottom: 50px;

}
.block4 > .vn{
margin: 0 auto;
width: 1250px;
text-align: center;
}
.block4 > .vn > .kp > b{
  display: block;
}
.block4 > .vn > .kp{
    background: #f3f3f3;
    margin: 10px;
    font-size: 18px;
    font-weight: 300;
    vertical-align: top;
    display: inline-block;
    width: 400px;
    height: 140px;
    text-align: left;
    padding: 25px 25px 25px 80px;
    border-radius: 10px;
    position: relative;
    line-height: 26px;
}
.block4 > .vn > .kp > img{
  position: absolute;
  width: 40px;
  height: auto;
  left: 15px;
  top:25px;
}
.block4 > .vn > .but{
cursor: pointer;
border-radius: 5px;
background: #0077ff url(images/click.png) no-repeat 96% 50%;
background-size: 23px;
width: 260px;
text-align: center;
text-decoration: none;
color: #fff;
font-size: 18px;
font-weight: 500;
margin: 30px auto 50px;
padding: 12px;
}



.block5 > .vn > h1{
background: url(images/mar.png) no-repeat 32% -60%;
background-size: 61px;
text-align: center;
color: #000;
font-size: 35px;
font-weight: 500;
padding-top: 41px;
margin-top: 10px;
margin-bottom: 50px;
}

/**/
.block6-1{
display: block;
background: #fff;
width: 100%;
height: 640px;
 }
.block6-1 > .vn > h1{
text-align: center;
color: #000;
font-size: 35px;
font-weight: 500;
padding-top: 30px;
margin-top: 10px;
margin-bottom: 50px;

}
.block6-1 > .vn{
margin: 0 auto;
width: 1250px;
text-align: center;
}
.block6-1 > .vn > .kp{
    background: #fff;
    margin: 10px;
    font-size: 18px;
    font-weight: 300;
    vertical-align: top;
    display: inline-block;
    width: 250px;
    height: 265px;
    text-align: left;
    padding: 50px 14px 50px 14px;
}
.block6-1 > .vn > .kp > p{
background: url(images/gal2.png) no-repeat 1% 14%;
    font-size: 15px;
    font-weight: 300;
    color: #000;
    padding-left: 27px;
    margin-top: 20px;
}
.block6-1 > .vn > .but{
cursor: pointer;
background: #0077ff url(images/click.png) no-repeat 96% 50%;
background-size: 23px;
width: 260px;
text-align: center;
text-decoration: none;
color: #fff;
font-size: 18px;
font-weight: 500;
margin: 30px auto 0px;
padding: 12px;
border-radius: 5px;
}


.category{
    display: block;
    background: #fff;
    width: 100%;
    height: auto;
    padding-bottom: 30px;
 }
.category > .vn{
margin: 0 auto;
text-align: center;
}
.category > .vn > .kp{
    background: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 10px;
    font-size: 18px;
    font-weight: 300;
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: 150px;
    height: 160px;
    text-align: left;
    padding: 47px;
    border: 1px solid #ccc;
    text-align: center;
}
.category > .vn > .kp:hover{
  transition: opacity 1s ease-in-out;
  opacity: 0.7;
}
.category > .vn > .kp > a{
text-decoration: none;
position: absolute;
left: 0px;
right: 0px;
margin: 0 auto;
top: 40%;
font-size: 21px;
font-weight: 500;
color: #000;
text-shadow: 1px 1px 2px #fff;
}
.category > .vn > .but{
cursor: pointer;
background: #2aab92 url(images/click.png) no-repeat 96% 50%;
background-size: 23px;
width: 260px;
text-align: center;
text-decoration: none;
color: #fff;
font-size: 18px;
font-weight: 500;
margin: 30px auto 0px;
padding: 12px;
}



.block7{
display: block;
background: #f1f1f145;
border-top-left-radius: 240px;
    border-top-right-radius: 240px;
width: 100%;
height: 300px;
 }
.block7 > .vn{
margin: 0 auto;
width: 1250px;
text-align: center;
}
.block7 > .vn > h1{
text-align: center;
color: #000;
font-size: 35px;
font-weight: 500;
padding-top: 30px;
margin-top: 10px;
margin-bottom: 50px;
}
.block7 > .vn > h2{
text-align: center;
color: #000;
font-size: 25px;
font-weight: 300;
padding-top: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.block7 > .vn > h3{
text-align: center;
color: #000;
font-size: 25px;
font-weight: 300;
padding-top: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.block7 > .vn > h4{
text-align: center;
color: #000;
font-size: 20px;
font-weight: 400;
padding-top: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.overlay{
  display: none;
  width: 100%;
  min-height: 100%;
  background-color: rgba(9,9,9,0.9);
  overflow: hidden;
  position: fixed;
  top: 0px;
  z-index: 500;
  transition: 0.3s;
}
.mail-form-over {
    position: relative;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 23px rgba(0,0,0,0.3);
    margin-top: 10%;
    width: 390px;
    padding: 10px;
}
.mail-form-over > h3 {
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    color: #000;
}
.mail-f-over {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #ccc;
    border: 1px solid #ccc;
    width: 310px;
    height: 50px;
    margin-top: 25px;
    padding-left: 5px;
    outline: none;
}
.mail-f-but-over {
    background: #0077ff;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin-top: 20px;
    color: #fff;
    cursor: pointer;
    border: none;
    display: inline-block;
    width: 317px;
    height: 70px;
    transition: all 0.9s ease;
    outline: none;
}
.mail-form-over > .mail-over-close {
    width: 30px;
    height: 30px;
    background: url(images/mail-close.png) no-repeat 50% 50%;
    position: absolute;
    top: 3px;
    right: 3px;
    transition: all 0.7s ease;
    cursor: pointer;
}
.page{
  width: 1200px;
  margin: 0 auto 50px;
}
.page > h1{
text-align: left;
color: #000;
font-size: 30px;
font-weight: 500;
padding-top: 30px;
margin-top: 10px;
margin-bottom: 50px;
}
.page > .pg1{
  display: inline-block;
  width: 810px;
  vertical-align: top;
  margin-top: 20px;
}
.page > .pg1 > p{
  line-height:25px;
  font-size: 18px;
  font-weight: 300;
}
.page > .pg1 > h2{
  line-height:25px;
  font-size: 25px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 10px;
}
.page > .pg2 {
    background: url(images/krit.png) 50% 31% no-repeat;
    background-size: 150px;
    display: inline-block;
    width: 300px;
    height: 400px;
    margin-left: 50px;
    vertical-align: top;
    border: 1px solid #d0dcd9;
    position: relative;
  }
.page > .pg2 > .ogl{
  font-size: 20px;
  font-weight: 400;
  margin-top: 20px;
  text-align: center;
}
.page > .pg2 > .vn{
width: 250px;
    margin: 0 auto;
    left: 0;
    right: 0;
    position: absolute;
    bottom: 78px;
    font-size: 16px;
    font-weight: 300;
    margin-top: 20px;
    text-align: center;
}
.page > .pg2 > .but{
  position: absolute;
    cursor: pointer;
    background: #0077ff url(images/click.png) no-repeat 96% 50%;
    background-size: 23px;
    width: 230px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin:0 auto;
    left: 0;
    right: 0;
    bottom: 15px;
    padding: 12px;
}
.page > .krohi{
  width: 1250px;
  margin: 0 auto;
}
.page > .krohi > a{
  text-decoration: none;
}
blockquote {
  margin: 20px 0 1em; /* Отступы */
  padding: 0 1em; /* Внутренние отступы */
  border-left: 4px solid #333; /* Левая граница */
  color: #666; /* Цвет текста */
  font-style: italic; /* Курсивное начертание */
}
.page > .pg1 > ul {
    list-style-image: url(images/gal2.png);
    margin: 15px 0px 15px 0px;
    padding: 0 0 0 3em;
    font-size: 14px;
}

.page > .pg1 > ul > li {
  margin: 5px 0px; /* Отступы */
}

.faq .question {
  margin-bottom: 10px;
}

.faq .question h3 {
  margin: 0;
  cursor: pointer;
}

.faq .answer {
  display: none;
}

.faq .answer p {
  margin: 0;
}

blockquote {
    margin: 20px 0 1em;
    padding: 0 1em;
    border-left: 4px solid #333;
    color: #666;
    font-style: italic;
}
.custom-mail-form {
    max-width: 400px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.custom-mail-input {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    background-color: #eee;
    font-size: 16px;
    color: #333;
}
.custom-mail-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 10px;
}
.table-data td, th {
  border: 1px solid #dddddd;
  padding: 10px 5px 5px 10px;
  font-size: 12px;
}
td{
    border: 1px solid #ccc;
    padding: 7px;
    font-size: 14px;
}
th {
  text-align: left;
  padding: 10px;
  background-color: #000;
  color: #fff;
  font-weight: 900;
}
tr:nth-child(2n-1) {
  background: #f9f9f9;
}
tr:hover {
  background-color: #e7e7e7;
}

/*Часто задаваемые вопросы*/
.accordion {
  max-width: 1200px;
  margin: 40px auto;
  font-family: sans-serif;
  border-radius: 6px;
}

.accordion-item {
  border-bottom: 1px solid #ccc;
}

.accordion-header {
font-size:18px;
  background: #fff;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header .icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.accordion-header.active .icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 15px 20px;
  background: #fff;
  color: #333;
}

footer{
  background: #f1f1f145;
  width: 100%;
  height: 80px;
  text-align: center;
}
footer > div{
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  padding-top: 35px;
}
footer > div > a{
  text-decoration: none;
  color: #000;
  font-weight: 300;
  font-size: 15px;
}
.important-disclaimer {
  background-color: #fff3cd; /* мягкий желтый фон */
  color: #856404; /* тёмный янтарный текст */
  border-left: 6px solid #ffc107; /* акцент на важность */
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 18px;
  border-radius: 8px;
  font-weight: 500;
}


.reviews-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  overflow: hidden;
}
.reviews-slider-wrapper > h2{
	text-align:center;
	margin-bottom:40px;
}
.reviews-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.review-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  padding: 20px;
  align-items: center; /* Выравнивание по вертикали */
  background-color: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-card {
  display: flex;
  align-items: center;
  width: 100%;
}

.review-photo {
  margin-right: 20px; /* Расстояние между фото и текстом */
}

.photo-wrap {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-info {
  flex-grow: 1;
}

.review-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.review-text {
  font-size: 16px;
  color: #444;
}

.review-nav {
  text-align: center;
  margin-top: 20px;
}

.review-nav button {
  padding: 10px 16px;
  margin: 0 10px;
  font-size: 18px;
  cursor: pointer;
  background-color: #ffc107;
  color: white;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.review-nav button:hover {
  background-color: #ff9800;
}
/*звонилка*/
.call{
background: url(images/call.gif) no-repeat 50% 50%;
    background-size: 217px;
    width: 90px;
    height: 90px;
    border-radius: 100px;
    position: fixed;
    right: 30px;
    bottom: 200px;
}
.whats{
background: #1cb935 url(images/wats.png) no-repeat 50% 50%;
    background-size: 45px;
    border: 5px solid #fff;
    width: 75px;
    height: 75px;
    border-radius: 100px;
    position: fixed;
    right: 30px;
    bottom: 100px;
}