/*
Theme Name: IKS Child Theme
Description:  IKS Child Theme
Template:  ikstheme

*/

body{
	position: relative;
}


.first-screen{
	flex-direction: column;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #fe0000;
	min-height: 700px;
	height: 100vh;
	padding: 45px;
}

.first-screen img{
	/*margin: auto;*/
	width: 450px;
	height: auto;
}

.first-screen h1{
	color: #fff;
	margin-bottom: 15px;
	font-size: 72px;
}

h1, h2, h3, .h1, .h2, .h3,
h4, h5, h6, .h4, .h5, .h6{
	letter-spacing: 0;
}

.top-head-container{
	height: auto;
}



.main-header .custom-logo-link{
	flex: 0 0 160px;
	margin-right: auto;
}

.home .main-header{
	position: absolute;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	background-color: transparent;
}

.main-nav .menu .sub-menu > li > a{
	color: #1e1e1e;	
}

.main-nav .menu .sub-menu > li > a:hover{
	color: #fe0000;
}

.main-nav .menu .sub-menu{
	padding: 10px 0;
}

.main-header{
	background-color: #fe0000;
}

.main-nav .menu > li > a{
	color: #fff;
	text-transform: none;
	letter-spacing: 0;
	font-size: 16px;
	padding: 10px;
	font-weight: 400;
	text-transform: uppercase;
}


.home .top-head-container{
/*	flex-direction: column;*/
}

.home .head-contacts{
	/*margin-left: 0;
	flex-direction: row;*/
}

.head-contacts{
	margin-left: 15px;

}

.head-contacts a{
	color: #fff;
	display: block;
	padding: 5px;
}

.head-contacts a:hover{
	color: #fff;
}


.head-contacts li{
	margin-left: 0;
}

.head-contacts i{
	margin-right: 0;
}

.green{
	color: #36bb4c;
}

.title-block .title{
	font-size: 36px;
	letter-spacing: 0;
}

.title-block{
	margin-bottom: 30px;
}

.home .title-block{
	margin-bottom: 60px;
}

.no-padding.vc_row {
	margin:0;
	color: #fff;
}


.no-padding.vc_row .vc_column_container>.vc_column-inner {
	padding: 0;
	padding-top: 0 !important;
}


.custom-gallery-items {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.custom-gallery-items .custom-gallery-item {
	width: 33.33333333%;
	height: 213px;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	background-color: #fe0000;
}

.custom-gallery-items .custom-gallery-item.height-2x{
	height: 426px;
}

.video-container {
	overflow: hidden;
	position: relative;
	height: 213px;
	/*padding-bottom: 56.25%; /* 16:9 */
	/*padding-top: 0;
/*	height: 0;*/
	width: 100%;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.custom-gallery-items .custom-gallery-item.text-item {
	padding: 20px;
	background: #fe0000;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.custom-gallery-items .custom-gallery-item.text-item .custom-gallery-item-content{
	width: 100%;
}

.custom-gallery-items .custom-gallery-item.text-item h3{
	font-size: 16px;
	color: #fff;
}

.custom-gallery-items .custom-gallery-item.text-item p{
	font-size: 14px;
}

.custom-gallery-items .custom-gallery-item.text-item .btn{
	margin-bottom: 0;
}

.custom-gallery-items .custom-gallery-item.text-item .btn:hover{
	border-color: #fff;
	background-color: #fff;
	color: #fe0000;
}

.custom-gallery-separator {
	margin: 0 0 30px 0;
	text-align: center;
}

.small-icons .icon-box.horizontal .icon{
	height: 40px;
}

.small-icons .icon-box.horizontal h3{
	text-transform: none;
	letter-spacing: 0;
	font-size: 16px;
	margin: 0;
	line-height: 1.2;
}

.small-icons .icon-box.horizontal{
	padding-left: 55px;
}

.partners .partner img{
	object-fit: contain;
}

.partners{
	justify-content: center;
}

.main-footer{
	color: #171717;
	background-color: #fff;
	padding-top: 0;
}

.main-footer .footer-inner{
	padding-top: 30px;
	margin-top: 30px;
	border-top: 2px solid #fe0000;
}

.main-footer .footer-copyright{
	background-color: #fe0000;
	border-top: 0;
	padding-top: 15px;
	padding-bottom: 15px;
	color: #fff;
}

.main-footer .footer-copyright a{
	color: #fff;
}

.main-footer .footer-copyright a:hover{
	color: #fff;
}

.main-footer .widget-title{
	color: #fe0000;
	text-transform: none;
	font-size: 16px;
	margin-bottom: 10px;
}

.main-footer .widget-title:after{
	content: none;
}

.main-footer a{
	color: #333;
}

.main-footer a:hover{
	color: #fe0000;	
}

ul.foot-contacts {
	display: flex;
	flex-wrap: wrap;
	margin-top: 15px;
	margin-bottom: 0;
	justify-content: center;
}

ul.foot-contacts li {
	padding-left: 0;
}

ul.foot-contacts li a {
	color: #fe0000;
	padding: 5px;
	margin: 0;
}

ul.foot-contacts li {
	margin-bottom: 0;
}

ul.foot-contacts li i {
	position: static;
	width: auto;
	margin-right: 0;
	font-size: 20px;
}

ul.pdfs a{
	color: #fe0000;
		line-height: 1.2;
	display: block;
}

ul.pdfs li{
	position: relative;
	padding-left: 25px;
	margin-bottom: 10px;
}

ul.pdfs li:before{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	background-image: url(./img/pdf.png);
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	width: 16px;
	height: 16px;
}



.first-screen{
	padding-top: 90px;
}

.head-contacts i{
	font-size: 20px;
	margin-top: 0;
	margin: 0 10px;
}

.head-contacts a{
	padding: 0;
}

.first-screen h1{
	margin-top: 30px;
	font-size: 55px;
	font-weight: 400;
	text-transform: uppercase;
}

.btn-wrap{
	margin-bottom: 0;
}

.wp-content a.link-with-arrow:hover{
	text-decoration: none;
}

.mill{
	position: relative;
	width: 450px;
	height: 450px;
	flex: 0 0 auto;
}

.mill img{
	position: absolute;
	left: 0;
	bottom: 0;
	width: auto;
	height: auto;
}

.mill .mill-1{
	z-index: 3;
	top: 44px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 278px;
	transition: all 1s;
	transform-origin: center;
	transform: rotate(0deg);
	animation: rotating 9s linear infinite;
}

.mill .mill-2{
	z-index: 2;
}

.mill .mill-3{
	z-index: 1;
	display: none;
}




@keyframes rotating{
	from{
		transform: rotate(0deg);
	}
	to{
		transform: rotate(360deg);
	}
}

.partners .partner .image{
	border: 0;
}

.custom-gallery-item.video-item {
	background: #777;
}

.wpb_text_column + .btn-wrap {
	margin-top: -20px;
}


.main-footer .footer-copyright{
	background-color: #eee;
	color: #777;
}

.main-footer .footer-copyright a{
	color: #777;
}

.main-footer .footer-copyright a:hover{
	color: #777;
}

.sidebar .custom-logo-link{
	display: block;
	margin-bottom: 30px;
	text-decoration: none;
}

.sidebar .widget{
	border: 0;	
}

.sidebar .widget-title{
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	border-bottom: 0;
	background-color: #fff;
	padding-right: 15px;
	position: relative;
	z-index: 2;
}

.widget-header{
	position: relative;
}

.widget-header:after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	background-color: #fe0000;
}

.sidebar .widget ul{
	padding: 0;
}

.sidebar .widget ul li a{
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	margin-top: 10px;
}

.sidebar .widget ul li{
	padding-left: 20px;
	position: relative;
}

.sidebar .widget ul li:before{
	display: block;
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 10px;
	height: 1px;
	background-color: #fe0000;
}

form textarea, form input{
	margin-top: 0;
	margin-bottom: 30px;
}

.ctmg form.wpcf7-form {
	margin-top: -11px;
}


ul.social-list li {
	display: inline-block;
	padding: 0;
	margin-right: 15px;
}

ul.social-list li:before {
	display: none;
}

ul.social-list {
	padding: 0;
}


.home .main-nav .menu > li > a{
/*	font-size: 20px;*/

}

.main-nav .menu > li > a {
	font-size: 16px;
	font-weight: 500;
}

.ctmg .law_checkbox_container{
	margin-bottom: 15px;
}

.page-title{
	letter-spacing: 0;
}

.pagination .next.page-numbers{
	margin-left: 5px;
}

.pagination .prev.page-numbers{
	margin-right: 5px;
}

.pagination .page-numbers.current{
	background-color: #fe0000;
}

.all-footer{
	margin: 0;
}

.all-footer .btn{
	margin-bottom: 0;
}

.main-nav .menu .sub-menu > li.current-menu-item > a {
	color: #fe0000;
}

form input[type=submit]{
	display: inline-block;
	width: auto;
}

.mobile-menu-button span:before,
.mobile-menu-button span:after, 
.mobile-menu-button span{
	background: #fff;
}

.icon-box.horizontal.align-title {
	display: flex;
	align-items: center;
	padding: 0;
}

.icon-box.horizontal.align-title .icon {
	position: static;
	height: auto;
	margin: 0;
	margin-right: 10px;
}

.icon-box.horizontal.align-title h3 {
	margin: 0;
}

div.wpcf7 .form-lead + div.wpcf7-response-output, .form-lead .form-inner{
	max-width: none;
}

span.under-logo-text {
	display: block;
	text-align: center;
	text-decoration: none!important;
	color: #333;
	margin: 10px 0 0;
}

a:hover span.under-logo-text {
	text-decoration: none;
}

.blog-item{
	margin-bottom: 30px;
}

.blog-item img{
	width: 100%;
}

.blog-item .item-content{
	box-shadow: 0 0px 0px 1px rgba(0,0,0,.15);
}



.age-modal-content {
	max-width: 480px;
	background: #fff;
	padding: 40px;
	text-align: center;
	margin: auto;
}

.age-modal-content .age-modal-title {
	line-height: 1.2;
	font-weight: 500;
	color: #171717;
	font-size: 24px;
	margin: 0 0 20px;
}

.age-modal-content .age-modal-btns {
	display: flex;
	justify-content: center;
	align-items: center;
}

.age-modal-content .age-modal-btns a {
	margin: 0 10px;
}






.first-screen img {
	width: 100%;
	max-width: 850px;
}

.first-screen h1 {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	margin: 12px 0 0;
}


.main-nav{
	flex: 1;
}

.home .main-nav{
	justify-content: center;
}

.custom-gallery-separator img {
	width: auto;
	height: 34px;
}


.custom-gallery-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.custom-gallery-items .custom-gallery-item {
	width: auto;
	grid-row: span 1;
}

.custom-gallery-items .custom-gallery-item.height-2x {
	grid-row: span 2;
}


.single-portfolio ul.social-list a {
	font-size: 32px;
}



.footer-logo-container {
	padding-top: 30px;
	margin-top: 30px;
	margin-bottom: 10px;
	border-top: 2px solid #e62f32;
}

.footer-logo-container img {
	max-width: 560px;
	margin: auto;
	display: block;
}

.main-footer .footer-copyright {
	background: transparent;
}




.custom-gallery-items .custom-gallery-item.text-item .custom-gallery-item-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}

.custom-gallery-items .custom-gallery-item.text-item h3 {
	font-size: 24px;
	color: #fff;
	margin: auto 0;
}

.custom-gallery-items .custom-gallery-item.text-item .custom-gallery-item-content p {
	display: none;
}

.custom-gallery-items .custom-gallery-item.text-item h3:before{
	content: '«';
}


.custom-gallery-items .custom-gallery-item.text-item h3:after{
	content: '»';
}




.video-container{
	position: relative;
	padding-bottom: 56.25%;
	/* 16:9 */
	height: 0;
	overflow: hidden;
}

.video-container iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


table tfoot, table thead {
	background: #fe0000;
	color: #fff;
}