
/*   
Theme Name: Веб студия IBoris design
Theme URI: iboris.ru
Description: Разработка сайтов для бизнеса. SEO продвижение и реклама в Яндекс Директ.
Author: Дмитрий Борисихин
Author URI: iboris.ru
Version: 1.0
*/
/* USER VARIABLES SECTION */

:root {
  --accent: #F36318;
	--text-color: #0E0E0E;
	--grey-color: #F0EFF3;
	--blue-color: #19253B;
	--red-color: #DC0155;
  --userfont: Montserrat, sans-serif;
  --systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	--regular-text: 16px;
	--line-height: 170%;
  --radius: 8px;
  --transition: 0.25s ease-out;
}

/* FONTS LOAD SECTION */

/* montserrat-300 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/iboris.ru/fonts/montserrat-v26-cyrillic_latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/iboris.ru/fonts/montserrat-v26-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/iboris.ru/fonts/montserrat-v26-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-900 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('/wp-content/themes/iboris.ru/fonts/montserrat-v26-cyrillic_latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* GENERAL CSS SETTINGS */
body {
  font-family: var(--userfont);
  font-size: var(--regular-text);
  line-height: var(--line-height);
  color: var(--text-color);
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
}
.border-top {
	border-top: 1px solid var(--grey-color);
}
.border-bottom {
	border-bottom: 1px solid var(--grey-color);
}
.img-fluid {
	width: 100%;
	height: auto;
}
iframe {
	border-radius: var(--radius);
}
blockquote {
	padding: 24px;
	background-color: var(--accent);
	color: white;
	border-radius: var(--radius);
}
blockquote p {
	margin-bottom: 0;
}
/* text settings */
h1	{
	font-weight: 700;
}
h2 {
	font-weight: 700;
}
h3 {
	font-weight: 700;
}
a {
	color: var(--red-color);
	text-decoration: none;
}
.fw-bold {
	font-weight: bold;
}
.text-start {
	text-align: left;
}
.text-center {
	text-align: center;
}
.text-end {
	text-align: right;
}
.text-uppercase {
	text-transform: uppercase;
}
.text-lowercase {
	text-transform: lowercase;
}
.text-small {
	font-size: 12px;
}
ul {
	list-style-type: none;
}
li {
	position: relative;
	padding-bottom: 6px;
}
li::before {
	content: url(/wp-content/themes/iboris.ru/img/svg/gear.svg);
	position: absolute;
	top: 4px;
	left: -26px;
}
.current-menu-item {
	border-bottom: 1px solid var(--red-color);
}
.current-menu-item a {
	color: var(--red-color) !important;
}
/* color settings */
.accent {
	color: var(--accent);
}
.blue {
	color: var(--blue-color);
}
.red {
	color: var(--red-color);
}
.grey {
	color: var(--grey-color);
}
.white {
	color: #fff;
}
.bg-grey {
	background-color: var(--grey-color);
}
.bg-accent {
	background-color: var(--accent);
}
.bg-blue {
	background-color: var(--blue-color);
}
.bg-red {
	background-color: var(--red-color);
}
/* button settings */
button {
	border: none;
}
.btn {
	padding: 12px 24px;
	border: 2px solid var(--red-color);
	display: inline-block;
	border-radius: var(--radius);
	color: var(--red-color);
	transition: var(--transition);
	text-decoration: none;
	line-height: 1;
	background-color: unset;
}
.btn:hover {
	color: #fff;
	background-color: var(--red-color);
	transition: var(--transition);
}
/* HEADER */
.logo {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.logo img {
	max-width: 360px;
}
.logo-text {
	letter-spacing: 4.48px;
}
.address, .working-days {
	font-size: 12px;
	position: relative;
	padding-left: 24px;
}
.address::before {
	content: url(/wp-content/themes/iboris.ru/img/svg/geo.svg);
}
.working-days::before {
	content: url(/wp-content/themes/iboris.ru/img/svg/clock.svg);
}
.address::before, .working-days::before {
	position: absolute;
	top: 4px;
	left: 0px;
}
.top-phone {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}
.main-phone {
	text-decoration: none;
	color: var(--text-color);
	font-size: 18px;
	font-weight: 700;
	position: relative;
	padding-left: 28px;
}
.main-phone::before {
	content: url(/wp-content/themes/iboris.ru/img/svg/phone-vibrate.svg);
	position: absolute;
	top: 3px;
	left: 0;
}
/* TOP MENU */
.main-menu {
	background-color: #fff;
	transition: var(--transition);
}
.top-menu {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
}
.top-menu li {
	padding-bottom: 0;
	border-bottom: 1px solid #fff;
	transition: var(--transition);
}
.top-menu li::before {
	content: none;
}
.top-menu li:hover {
	color: var(--red-color);
	border-bottom: 1px solid var(--red-color);
}
.top-menu li a {
	color: var(--text-color);
}
.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}
/* BANNER */
.banner-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
}
.banner-title {
	font-weight: 400;
}
.banner-subtitle {
	font-size: 20px;
}
.banner-img {
	display: flex;
	justify-content: center;
	background-color: var(--grey-color);
	border-radius: 1000px 1000px 0 0;
}
.banner-img img {
	padding: 12px;
}
/* TEXT BLOCK */
.text-block {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
}

.text-block__img {
	display: flex;
	justify-content: center;
}
.text-block__img img {
	padding: 8px;
	background-color: var(--grey-color);
	border-radius: var(--radius);
}
/* NUMBERS*/
.number-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	padding: 24px 48px;
}
.number-item__num {
	font-size: 40px;
	background-color: var(--grey-color);
	width: 150px;
	height: 150px;
	line-height: 1;
	border-radius: 150px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.number-item__text {
	text-align: center;
}

/* CARDS */
.card-item {
	border-radius: var(--radius);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
	height: 100%;
	justify-content: space-between;
}
.card-item__img {
	height: 200px;
	width: 200px;
	border-radius: 200px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 16px;
}
figure {
	margin: 0;
	padding: 0;
}
.card-item-service__img img {
	border-radius: 200px;
}
.card-item-service__img {
	height: 200px;
	width: 200px;
	border-radius: 200px;
	background-color: #fff;
	display: flex;
	align-items: center;
}
.card-img {
	height: unset;
}
.card-link {
	color: var(--text-color);
	transition: var(--transition);
}
.catalog .catalog-item:nth-child(odd):hover .card-item {
	color: #fff;
	background-color: var(--red-color);
	transition: var(--transition);
}
.catalog .catalog-item:nth-child(even):hover .card-item {
	color: #fff;
	background-color: var(--accent);
	transition: var(--transition);
}
/* TABLE */
.table-mobile__scroll {
	overflow-x: auto;
}
.table {
	width: 100%;
}
tbody, td, tfoot, th, thead, tr {
	border: 1px solid var(--grey-color);
}
tr {
	border-bottom: 1px solid var(--grey-color);
}
tbody tr:nth-child(even) {
	background-color: var(--grey-color);
}
.table th, .table td {
	padding: 24px;
}

/* ICONS */
.icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px;
	gap: 10px;
}
.icon-item__img {
	width: 150px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--grey-color);
	border-radius: 150px;
}

/* CLIENTS */
.swiper-clients {
	padding: 0 12px;
}
.slide-block {
	display: flex;
	justify-content: center;
	border: 2px solid var(--grey-color);
	border-radius: var(--radius);
	padding: 24px;
	height: 200px;
}
.slide-img {
	display: flex;
	align-items: center;
}
.swiper-pagination {
	position: unset;
	margin-top: 24px;
}
.swiper-pagination-bullet-active {
	background: var(--swiper-pagination-color, var(--red-color));
}
/* SECTION FORM */
.contacts-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 24px;
}
.contacts-block__phone, .contacts-block__email {
	position: relative;
	padding-left: 28px;
	color: var(--text-color);
}
.contacts-block__phone::before {
	content: url(/wp-content/themes/iboris.ru/img/svg/phone-vibrate-accent.svg);
	height: 18px;
	width: 18px;
	position: absolute;
	top: 3px;
	left: 0;
}
.contacts-block__email::before {
	content: url(/wp-content/themes/iboris.ru/img/svg/envelope.svg);
	height: 18px;
	width: 18px;
	position: absolute;
	top: 3px;
	left: 0;
}
/* FORM */
form.main-form {
	max-width: 450px;
	margin: 0 auto;
	padding: 24px 48px;
	background-color: white;
	border-radius: 10px;
}
.form-title {
  font-size: 16px;
}
.wrap-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.main-form input[type="text"] {
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius);
  background: var(--grey-color);
  border: none;
}
.check-policy {
  font-size: 10px;
  display: flex;
  gap: 8px;
	align-items: center;
}
.check-policy label {
	cursor: pointer;
	line-height: 1.2;
}
button:disabled {
	background: #999999;
	cursor: not-allowed;
	border-color: #999;
	color: white;
}
button:hover:disabled {
	background: #999999;
	border-color: #999;
}
/* Checkbox */
/* toggle-pill-color */
.toggle-pill-color input[type="checkbox"] {
  display: none;
}
.toggle-pill-color input[type="checkbox"] + label {
  display: block;
  position: relative;
  width: 3em;
  height: 1.6em;
  border-radius: 1em;
  background: var(--grey-color);
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
	user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
}
.toggle-pill-color input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 1.2em;
  height: 1.2em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0.2em;
  top: 0.2em;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.toggle-pill-color input[type="checkbox"]:checked + label {
  background: var(--red-color);
}
.toggle-pill-color input[type="checkbox"]:checked + label:before {
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
  left: 1.6em;
}
/* toggle-pill-color end */
/* FOOTER */
.logo-white {
	display: flex;
	flex-direction: column;
	gap: 24px;
	font-size: 12px;
	line-height: 1.4;
}
.logo-white img {
	max-width: 250px;
}
.footer-menu {
	padding-left: 0;
}
.footer-menu li::before {
	content: none;
}
.footer-menu li a {
	color: #fff;
}
.footer-menu .current-menu-item {
	border-bottom: unset;
}
.footer-contacts {
	text-align: right;
}
.footer-contacts li {
	padding-bottom: 4px;
}
.footer-contacts li::before {
	content: none;
}
.footer-contacts li a {
	color: #fff;
}
.social-links {
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: flex-end;
}
/* POPUP */
.overlay, .overlay-success {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9;
	display: none;
}
.popup, .popup-success {
	position: fixed;
	width: 320px;
	height: auto;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 1.5em;
	background-color: white;
	z-index: 10;
	display: none;
	border-radius: var(--radius);
}
.popup-close-btn {
	position: absolute;
	font-size: 2em;
	top: 0px;
	right: 0px;
	color: var(--text-color);
	line-height: 0.5;
	padding: 8px;
	border-radius: 0 var(--radius);
	cursor: pointer;
}
.popup-title {
	font-size: 18px;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 1em;
}
.popup form.main-form {
	padding: 0;
}
/* Breadcrumbs */
.breadcrumbs a {
	color: var(--red-color);
}

/* GALLERY */
.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 12px;
}
.gallery img {
	max-width: 230px;
	max-height: 230px;
	border-radius: var(--radius);
}
/* MOBILE MENU */
.mobile-menu-panel {
	position: fixed;
	z-index: 1000;
	bottom: 0px;
}
.mobile-menu-wrap {
	color: #fff;
	/* background-color: var(--accent); */
	width: 100%;
	border-radius: 16px 16px 0px 0px;
	/* box-shadow: 0px 0px 15px 0px rgb(230 32 11 / 70%); */
	text-align: center;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 12px;
	position: relative;
	justify-content: center;
}
.mobile-menu-panel a {
	color: white;
}
.call-me-btn, .write-me-btn {
	padding: 10px;
	border-radius: 8px 8px 0 0;
	min-width: 180px;
	width: 50vw;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}
.call-me-btn {
	background-color: #10A272;
}
.write-me-btn {
	background-color: #1B5B9E;
}
.mobile-menu-btn {
	height: 60px;
	width: 60px;
	display: flex;
	background-color: var(--accent);
	padding: 13px;
	border-radius: 100px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	align-items: center;
	justify-content: center;
	position: absolute;
	border: 2px solid white;
	color: white;
	bottom: 0;
}
.mobile-menu {
	height: 100vh;
	width: 100%;
	background-color: #fff;
	z-index: 2000;
	position: fixed;
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	top: 0;
	left: 0;
	transform: translateY(500%);
	transition: transform .5s ease-in-out;
	flex-direction: column;
	padding: 60px 30px;
	overflow-y: scroll;
}
.mobile-menu-active {
	transform: translate(0%);
}
.close-menu-btn {
	position: fixed;
	top: 10px;
	right: 10px;
	font-size: 40px;
	transition: all 0.2s;
	transform-origin: 50% 53%;
	display: block;
	line-height: 30px;
	text-align: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: var(--accent);
	text-decoration: none;
}
.mobile-menu ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--grey-color);
}
.mobile-menu li {
	padding: 10px 0;
	border-bottom: 1px solid var(--grey-color);
}
.mobile-menu li::before {
	content: none;
}
.mobile-menu a {
	color: var(--text-color);
}