section.service div.cont div.row {
	display: grid;
    grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
    gap: 0;
    grid-gap: 40px 130px; /* 40px 60px */
    align-items: center;
}

section.service div.cont div.row a,
section.service div.cont div.row a:visited,  
{
	display: block;
	text-decoration: none !important; /* unset */
	color: blue !important;
}
section.service div.cont div.row a:hover {
	color: black !important;
	text-decoration: none !important;
}

section.service div.cont div.row a,
section.service div.cont div.row a div:not([class="name"]) {
	height: 100%;
	color: blue !important;
	text-decoration: none !important;
}

section.service div.cont div.row a:hover,
section.service div.cont div.row a:hover div:not([class="name"]) {
	color: black !important;
	text-decoration: none !important;
}

section.service div.cont div.row a div.item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

section.service div.cont div.thumb {
	overflow: hidden;
	display: flex;
	align-items: center;
}

section.service div.cont div.thumb img {
	height: auto;
	width: 100%;
	max-width: calc(100% - 60px);
	margin: auto;
	display: block;
	transform: scale(1);
	transition: all .4s;
}

section.service div.cont div.row a:hover {
	border: 6px solid rgb(41, 128, 185);
    /* transition: 0.2s ease-in-out; */
    background: #fafafa;
    margin: 4px;
    padding: 8px;
}

section.service div.cont div.row a:hover div.thumb img {
	transform: scale(1.1);
	transition: all .4s;
}

section.service div.cont div.name {
	font-weight: bold;
	text-align: center;
}

section.service div.cont div.name span {text-decoration: unset;}

section.service div.cont div.row a:hover div.name span {
	text-decoration: none; /* underline; */
}


section.service div.cont p {
	font-size: 16px;
	margin-bottom: 15px;
}

section.service div.cont h3,
section.service div.cont h2,
section.service div.cont h4 {
	margin-bottom: 20px;
	margin-top: 30px;

}

section.service div.cont ul li:not(:last-child) {margin-bottom: 10px;}

section.service p {
	display: inline-block;
}

section.service iframe {
	display: block;
	margin: auto;
}

section.service p:not(:last-child) {
	margin-bottom: 20px;
}

section.service .service-thumb {
	max-height: 400px;
	object-fit: contain;
}

section.service .pagination {margin-top: 40px;}

section.service .pagination * {
	font-size: 22px;
	text-decoration: unset!important;
	line-height: 1;
}

.nav-links {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-links > *:not(:last-child) {margin-right: 15px;}

section.service div.wp-video {
	margin: 30px auto;
}

section.service .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
	grid-gap: 20px;
}

section.service a[rel*="lightbox"] {
	display: block;
	width: 100%;
	height: 100%;
}

section.service a[rel*="lightbox"] img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}


section.service img[class*="wp-image-"] {
	display: block;
}

section.service table {
	width: 100%;
	border-collapse: collapse;
	margin: 30px auto;
}

section.service table td,
section.service table th {
	display: table-cell;
	padding: 5px 10px;
	border: 1px solid #000;
}

section.service .main-block {
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 40px;
}

section.service .content ul, section.service .content ol {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	padding-left: 20px;
}

section.service .content ul li:not(:last-child) {margin-bottom: 10px;}
section.service .content ol li:not(:last-child) {margin-bottom: 10px;}

section.service .form-block form {
	display: flex;
	flex-direction: column;
	width: 100%;
}

section.service .form-block form .label {
	display: flex;
	flex-direction: column;
}

section.service .form-block form .label br {display: none;}

section.service .form-block form .label:not(:last-child) {
	margin-bottom: 15px;
}

section.service .form-block form .label span {
	display: block;
	font-size: 12px;
}

section.service .form-block form input {
	 padding: 4px 6px;
	 height: 30px;
}

section.service .form-block form input,
section.service .form-block form textarea {
	margin: 5px 0 0 0;
	outline: unset;
	width: 100%;
	box-sizing: border-box;
	display: block;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 3px;
    font-size: 14px;
	background-color: #fff;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
}

section.service .form-block form textarea {
    padding-top: 4px;
    padding-left: 6px;
    height: 100px;
    resize: unset;
}

section.service .form-block form textarea:focus,
section.service .form-block form input:focus {
	border-color: #e9322d;
    -webkit-box-shadow: 0 0 6px #f8b9b7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #f8b9b7;
}

section.service .form-block form textarea:focus::placeholder,
section.service .form-block form input:focus::placeholder {font-size: 0;}

section.service .form-block form button[type=submit] {
	display: block;
	width: fit-content;
	text-transform: uppercase;
	cursor: pointer;
	margin: 30px 0 0 0;
	font-size: 20px;
	color: #FFF;
	padding: 8px 20px;
	border-radius: 4px;
	background-color: #56008D;
}

section.service .main-block > * {box-sizing: border-box;}

section.service .left-column {
	padding: 15px 10px;
	width: 100%;
	max-width: 250px;
	border: 1px solid #56008D;
	border-radius: 4px;
	height: fit-content;
}

section.service .left-column ul {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

section.service .left-column > ul {
	display: flex;
	flex-direction: column;
}

section.service .left-column > ul > li {
	font-size: 18px;
	padding: 10px;
}

section.service .left-column > ul li {
	color: #56008D;
	display: block;
	
	padding-left: 0;
}

section.service .left-column > ul > li:not(:last-child) {border-bottom: 1px solid #56008D;}

section.service .left-column > ul a.has-child {
	display: grid;
	grid-template-columns: auto max-content;
	align-items: center;
	justify-content: space-between;
	grid-gap: 15px;
}

section.service .left-column > ul a.has-child span {
	position: relative;
	width: 12px;
	height: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

section.service .left-column > ul a.has-child span:after,
section.service .left-column > ul a.has-child span:before {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background-color: #56008D;
	position: absolute;
}

section.service .left-column > ul > li li {
	font-size: 12px;
	padding: 4px 10px;
}

section.service .left-column > ul a.has-child span:before {transform: rotate(90deg);}

section.service .left-column > ul a.has-child.active span:before {content: unset;}

section.service .left-column > ul li a {
	display: block;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

section.service .left-column > ul a.has-child.active + ul {
	display: flex!important;
	flex-direction: column;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.header-video {
	position: relative;
	width: 100%;
}

.header-video video {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.header-video:after {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	display: block;
	background-color: rgba(0,0,0,0.6);
}

.header-video ul {
	padding: 0;
	margin: 0;
	list-style-type: unset;
}

.header-video ul li,
.header-video a {
	display: block;
}

.header-video ul li,
.header-video a,
.header-video span {
	color: #FFF;
	font-weight: 400;
	text-decoration: unset;
}

.header-video a:hover {text-decoration: underline;}

.header-video .cont {
	position: relative;
	z-index: 1;
}

.header-video__main-block {
	position: relative;
	color: #FFF;
	height: calc(100vh - 40px);
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-video__main-block > div {width: 100%;}

.header-video__top-block {
	position: relative;
	display: grid;
	grid-template-columns: max-content 1fr;
}

.header-video__top-block h2 {
	text-align: center;
	grid-column: 2/3;
	display: block;
	order: 3;
	text-transform: uppercase;
	margin: 0 auto;
	max-width: 450px;
	font-size: 22px;
	color: #FFF;

}

a.header-video__logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: fit-content;
	gap: 5px;
	order:2;
	max-width: 250px;
	text-decoration: unset;
	margin: 0 auto;
}

.header-video__logo img {
	width: 100%;
	height: auto;
	display: block;
}

.header-video__logo span {
	color: #FFF;
	font-size: 14px;
	text-align: center;
}

.header-video__top-block ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	order: 1;
}

.header-video__top-block ul li a img {
	width: 30px;
	height: auto;
}


.header-video__top-block ul li a:hover img {
	transition: all .4s;
	transform: scale(1.1);
}

.header-video__bottom-block {
	margin-top: 100px;
	display: flex;
	justify-content: space-between;
}

.header-video__bottom-block > div {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.header-video__bottom-block h3,
.header-video__bottom-block h4 {
	font-size: 20px;
	margin-bottom: 10px;
	display: block;
	width: fit-content;
}

figure.wp-block-video video {
	width: 100%;
	height: auto;
}

@media only screen and (max-width: 572.99px) {

	section.service .main-block {display: block;}

	section.service .left-column {
		max-width: 100%;
		margin-bottom: 40px;
	}

	section.service div.cont div.row a, 
	section.service div.cont div.row a div:not([class="name"]) {width: 100%;}

	section.service div.cont div.name span {font-size: 20px;}

	.header-video__main-block {height: 86vh;}

	.header-video__top-block,
	.header-video__bottom-block {
		display: flex;
		flex-direction: column;
	}

	.header-video__top-block *,
	.header-video__bottom-block * {
		grid-column: auto;
		grid-gap: 0;
	}

	.header-video__top-block ul {
		margin-bottom: 15px;
		flex-direction: unset;
		justify-content: center;
		align-items: center;
		gap: 20px;
	}

	.header-video__top-block h2 {margin-top: 20px;}

	.header-video__bottom-block {
		margin-top: 50px;
		gap: 30px;
	}
}

@media only screen and (max-width: 472.99px) {
	.header-video__main-block {height: 100vh;}

	.header-video__top-block h2 {font-size: 20px;}

	.header-video__bottom-block h3, 
	.header-video__bottom-block h4 {
		font-size: 17px;
		margin-bottom: 10px;
	}

	.header-video__bottom-block a {font-size: 15px;}
}