	
@media only screen and (min-width:768px) and (max-width: 1023px){
body .slide-nav{
	bottom: auto;
	top: 85vw;
}
body #sl-links a,
body.ci-open #sl-links a, body.home-tpl #sl-links a{
	pointer-events: none;
	opacity: 0;
	display: none;
}
	body .gallery .gallery-item{
	width: 49%;
}
	/*all*/
	main{
		width: 100%;
		overflow-x: hidden;
	}
	.mob-h{
		display: none;
		pointer-events: none;
	}
		/*header*/
		body .leng-nav.active-nav .sub-nav{
			opacity: 1;
			pointer-events: all;
		}

		body .leng-nav.active-nav > p::before{
			transform: rotate(-90deg);
		    -webkit-transform: rotate(-90deg);
		    -ms-transform: rotate(-90deg);
		}
		.leng-nav .sub-nav{
			-webkit-border-radius: 0;
		    -moz-border-radius: 0;
		    border-radius: 0;
		    width:300%;
		    left: -100%;
		    padding: 3em 0 1.5em 0;
		}

		.leng-nav:hover .sub-nav{
			opacity: 0;
			pointer-events: none;
		}

		.leng-nav:hover > p::before{
			transform: rotate(0deg);
		    -webkit-transform: rotate(0deg);
		    -ms-transform: rotate(0deg);
		}
		.header-links > .hg-clm{
			padding: 0 .5em;
		}
		.ks-shearch{
			padding: 0 5%;
		}
		.ks-shearch label{
			padding-bottom: 4em;
		}
		#mob-nav{
			position: relative;
			display: inline-table;
			vertical-align: middle;
		    text-align: left;
		    height: auto;
		}
		header .header-links,
		#mob-nav{
			width: -webkit-calc(50% - 31px);
		    width: -moz-calc(50% - 31px);
		    width: calc(50% - 31px);
		    width: calc(50% - 31px);
		    z-index: 2;
		}
		#mob-nav > section{
			position: relative;
			display: inline-table;
			vertical-align: middle;
			height: 1em;
			width: 2em;
			text-align: left;
			margin-top: -2px;
		}
		#mob-nav > section > div{
			position: absolute;
			width: 100%;
			border-bottom: 2px solid #fff;
			left: 0;
			top: 0;
		}
		#mob-nav >section > div:nth-child(2){
			top: 50%;
		}
		#mob-nav >section > div:last-child{
			top: auto;
			bottom: -2px;
		}
		#mob-nav >section.m-nav > div{
			border-color: #c42338;
		}
		#mob-nav >section.m-nav > div:nth-child(2){
			opacity: 0;
		}
		#mob-nav >section.m-nav > div:first-child{
				transform: rotate(45deg);
			    -webkit-transform: rotate(45deg);
			    -ms-transform: rotate(45deg);
		}
		#mob-nav >section.m-nav > div:last-child{
				transform: rotate(-45deg);
			    -webkit-transform: rotate(-45deg);
			    -ms-transform: rotate(-45deg);
		}
		#mob-nav >section.m-nav > div{
			top: 50%;
			bottom: auto;
		}
		#mob-nav{
			pointer-events: none;
		}
		#mob-nav > section{
			pointer-events: all;
		}
		#logo{
			line-height: 1;
		}
		#logo svg{
			height: auto;
			width: 60px;
		}
		#logo a{
			display: table;
			width: auto;
			height: auto;
		}
		header a, header p, header span, nav ul li a{
			font-size: 1em;
		}

		header.hg-t{
			width: 100%;
			left: 0;
		}
		.header-grid{
			 -webkit-border-radius: 0 ;
			  -moz-border-radius: 0 ;
			  border-radius: 0 ;
			  padding: .5em 2em;
		}
		.header-links svg{
			height: 1em;
		}
		.home-tpl #sl-links,
		#sl-links{
			opacity: 0;
			pointer-events: none;
		}
		.ci-open #sl-links, .ci-open .home-tpl #sl-links{
			opacity: 1;
		}
	    header #cont-info span {
			display: none;
		}
		#cont-info-des{
			width: 100%;
			z-index: 222;
		}
		#sl-links{
			z-index: 2222;
		}
		#cont-info-des .cont-info-grid * {
			text-align: left;
			margin-left: 0;
		}
		#cont-info-des .cont-des-sp{
			font-size: 1em;
		}
		#cont-info-des .cont-info-grid{
			width: 80%;
			text-align: left;
			margin-left: 0;
		}
		#cont-info-des a, #cont-info-des p, #cont-info-des span{
			font-size: 1em;
		}
		#ks-search,
		header .leng-nav{
			margin-right: 2em;
		}
		header .header-links #cont-info{
			margin-right: 3em;
			vertical-align: middle;
		    display: inline-table;
		    position: relative;
		    float: none;
		    width: 2em;
		    height: 2em;

		}
		header .header-links #cont-info .ks-b-btn{
			position: absolute;
			width: 100%;
			height: 100%;
			  -webkit-border-radius: 100% ;
			  -moz-border-radius: 100% ;
			  border-radius: 100% ;
			background-image: url(/wp-content/themes/krymsos/hg-w-img/phone-m.png);
		    background-size:50%;
		    background-repeat: no-repeat;
		    background-position: 50%;
		}
		header .header-links #cont-info .ks-b-btn:hover{
			    background-color: inherit;
		}
		.m-nav-open #ks-nav{
			    transform: translateX(0%);
    			-webkit-transform: translateX(0%);
    			-ms-transform: translateX(0%);
    			opacity: 1;
    			pointer-events: all;	
		}
		#ks-nav{
			width: 80vw;
			height: 100%;
			position: fixed;
			top: 0;
			left: 0;
			background: #000533;
			display: table;
			    transform: translateX(-100%);
    			-webkit-transform: translateX(-100%);
    			-ms-transform: translateX(-100%);
    		opacity: 0;
    		pointer-events: none;
		}
		#ks-nav > #main-nav-ks{
			display: table-cell;
			vertical-align: middle;
		}
		.leng-nav > p::before{
			left: 0;
			right: 0;
			margin: 0 auto;	
		}
		#main-nav-ks > li{
			width: 100%;
			text-align: left;
			padding-right: 0;
			padding-left: 15%;
			margin-bottom: 1em;
			position: relative;
    
		}
		#main-nav-ks > li.menu-item-has-children:last-of-type:before{
			content: none;
		}
		#main-nav-ks > li.menu-item-has-children::before{
			content: '';
			position: absolute;
			width: 80%;
			left: 10%;
			bottom: 0;
			border-bottom: 1px solid rgb(221 221 221 / 30%);
			z-index: 1;
		}
		li.menu-item-has-children > a{
			width: auto;
			text-align: left;
			font-size: 1.2em;
		}
		#main-nav-ks > li > a{
				font-size: 1.5em;
		}
 		#main-nav-ks > li.menu-item-has-children > a::before{
 			content: none;
 		}
 		#main-nav-ks > li > .sub-menu{
		    position: relative;
		    width: 100%;
		    text-align: center;
		    padding: 1em 0;
		    left: auto;
		    -webkit-border-radius: 0;
		    -moz-border-radius: 0;
		    border-radius: 0;
		    opacity: 1;
		    pointer-events: all;
		    padding-left: 2em;
 		}
 		#main-nav-ks > li > .sub-menu a {
 			padding: 0;
 			text-align: left;
 		}
		/*header*/
		/*footer*/
		.menu-item-has-children > .pc-h.f-nav-arrow{
			position: absolute;
			display: block;
			pointer-events: all;
			top: 0;
			right: 0;
			width: 1.2em;
			height: 1.2em;
		    background-image: url(/wp-content/themes/krymsos/hg-w-img/png/arrow_r.png);
		    background-size: contain;
		    background-repeat: no-repeat;
		    background-position: 50% 50%;
		    z-index: 2;
		}
		.menu-item-has-children > .pc-h.f-nav-arrow.active{
				transform: rotate(90deg);
			    -webkit-transform: rotate(90deg);
			    -ms-transform: rotate(90deg);
		}
		.menu-item-has-children .sub-menu{
			padding-left: 1em;
			padding-bottom: 2em;
		}


		footer .f-des, footer .ks_dontan{
			padding: 10% 5%;
		}
		.ks_dontan .don_des{
			font-size: 1em;
			font-family: 'ks-r';
		}
		footer .ks-b-btn span{
			font-size: 1em;
		}
		footer .f_nav > .hg-clm.f-nav,
		footer .f_nav > .hg-clm{
			width: 100%;
			text-align: center;
		}
		footer .f-sl-l span, footer .f-sl-l a{
			margin:  0 auto;
		}
		footer .des-nav{
			margin-bottom: 2em;
		}
		footer .des-nav,
		footer .f-des:last-child{
			font-size: .8em;
		}
		footer .f-des:last-child{
				border-bottom: 0px solid #000;
		}
		footer .hg-t{
			margin-bottom: 1em;
		}
		#main-nav-ks-f{
			width: 80%;
			margin: 2em auto;
		}
		#main-nav-ks-f > li{
			width: 100%;
			text-align: left;
		}
		#main-nav-ks-f .sub-menu{
			display: none;
		}
		footer .des-nav svg{
			height: auto;
    		width: 60px;
    		margin-bottom: 2em;
		}
		/*footer*/
	/*all*/
	/*home*/
	.cont-info-m.pc-h{
		position: relative;
		display: table;
		pointer-events: all;
		width: 100%;
		padding: 5%;
		background-color: #00154C;
		-webkit-border-radius: 0 0 25px 25px;
	    -moz-border-radius: 0 0 25px 25px;
	    border-radius: 0 0 25px 25px;
	    color:#fff;
	}
	.cont-info-m.pc-h *{
		color: #fff;
	}
	.cont-info-m.pc-h .cont-info-grid{
		width: 100%;
	}
	#home-slider{
		height: auto;
	}
	#home-slider .flickity-viewport{
		height: 100vw !important;
	}
	#home-slider .flickity-slider > .hg-t{
		height: 100vw;
	}
	#home-slider .slider-cont h2{
		font-size: 1.5em;
	}
	.slide-nav{
		width: 80%;
	}
	.slider-cont{
		width: 100%;
	}
	.sl-p-t.hg-t{
		position: relative;
		width: 100%;
		background: rgb(3 2 32 / 100%);
		left: auto;
		bottom: auto;
		-webkit-border-radius: 0;
	    -moz-border-radius: 0;
	    border-radius: 0;
	    padding: 1em;
	}
	.sl-p-t.hg-t article{
		width: 49%;
		position: relative;
		display: inline-table;
		padding: 2em;
		border-right: none;
		margin: 1em 0;
	}
	.sl-p-t.hg-t article a::after{
		content: '';
		position: absolute;
		width: 100%;
		left: 0;
		right: 0;
		bottom: -2em;
		border-bottom: 1px solid rgb(221 221 221 / 30%);
    
	}
	#home-slider .bgcov::after{
	background: rgb(1,4,19);
	background: -moz-radial-gradient(circle, rgba(1,4,19,0.3) 0%, rgba(1,4,19,1) 100%);
	background: -webkit-radial-gradient(circle, rgba(1,4,19,0.3) 0%, rgba(1,4,19,1) 100%);
	background: radial-gradient(circle, rgba(1,4,19,0.3) 0%, rgba(1,4,19,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#010413",endColorstr="#010413",GradientType=1);	
	}
	.slide-hg-n-items .tab-nav h2{
		padding-bottom: .5em;
	}
	.tab-nav.sl-tabs > .hg-clm.tab-m.sl{
		display: block;
		text-emphasis: center;
		margin-bottom: 2em;
	}
	.ks-sl_nav.sl.hg-clm{
		top: -9.5em;
	}
	/*home*/
	/*all*/
	.ks_post.ks-sp-p .post-des {
	    width: -webkit-calc(100% - 40.5vw);
	    width: -moz-calc(100% - 40.5vw);
	    width: calc(100% - 40.5vw);
	}
	.ks_post.ks-sp-p.bg_post .post-img{
		width: 100%;
		height: 100%;
	}
	.bg_post .post-des{
		height: 40vw;
	}
	.ks_post.ks-sp-p .post-img{
		width: 40vw;
		height: 40vw;
	}
	.ks_post.ks-sp-p{
		width: 100%;
	}
	.ks-p-slider .ks_post{
		width: 49.5%;
		margin-bottom: 0;
	}
	.ks_post{
		width: 48%;
		margin-bottom: 1em;
	}
	/*all*/
	/*cat-tpl*/
	.cat-tpl .sub-cat-tit .ks-bth-l.hg-clm.mob-h{
		display: inline-table;
		pointer-events: all;
	}

	/*cat-tpl*/
	/*post-tpl*/
	.commentlist, #comments, .comment-respond, .uc_comment, .post-grid{
		width: 90%;
	}
	.post-cont{
		padding: 0;
	}
	.post-tpl .post-sp-posts {
    background-color: #000533;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    margin: 5% 0;
    left: auto;
    margin: 2em auto;
    width: 100%;
	}
	.post-tpl .post-sp-posts > .hg-clm > .hg-clm, .post-tpl .post-sp-posts > .hg-clm{
		width: 100%;
		text-align: center;
	}
	.post-tpl .post-sp-posts > .hg-clm > .hg-clm.d_btn{
		text-align: center;
	}
	.t-posts{
		width: 100%;
	}
	.t-posts section{
		display: block;
		width: 100vw;
		margin-right: -5vw;
		overflow-x: scroll;
		white-space: nowrap;
		padding-right: 10vw;
	}
	.t-posts section .ks_post{
		width: 40vw;
		white-space: normal;

	}
	.ret-post .ks_post.bg_post .bg_post .post-des,
	.ret-post .ks_post.bg_post .bg_post .post-des{
		height:42vh;
	}
		/*page-tpl*/
	#about-tpl{
				width: 100%;
		display: block;

	}
	.page-tpl{
		padding-top: 8em;
		width: 100%;
		display: block;
	}
	.page-tpl .ks-bread{
		width: 100%;
	}
	.page-tpl .sub-cat-tit > .hg-clm{
		text-align: center;
		width: 100%;
	}
	/*post-tpl*/
	/*about-tpl*/
	.about-des .hg-clm{
		width: 100%;
	}
	.about-des .bgcov {
    position: relative;
    width: 100vw;
    height: 100vw;
    top: auto;
    right: 2vw;
	}
	.about-des .hg-clm.sub-des{
		margin-top: 0;
	}
	.about-des .hg-clm.sub-des::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100vw;
    right: 2vw;
    top: 0;
    background-color: #000533;
    -webkit-border-radius:  0 0 20px 20px;
    -moz-border-radius:  0 0 20px 20px;
    border-radius:  0 0 20px 20px;
	}
	.ww-about{
		padding: 10% 2.5%;
	}
	.acc-tit {
		padding-right: 2em;
	}
	.acc-tit span{
		font-size: 1.2em;
	}
	.page-tpl .acc-item{
		padding: 2em 1em;
	}
	.cont-grid > .hg-clm{
		width: 100%;
		text-align: center;
		font-size: .9em;
	}
	.cont-grid::before{
		content: none;
	}
	.cont-grid .hg-clm.cont-ls .cont_item:last-child{
		border-bottom: 1px solid #ddd;
		margin-bottom: 1em;
	}

	.parts-about{
		padding: 5% 2.5%;
	}
	.partner-acc .acc-item .acc-tit .acc-t-des.hg-clm{
	 width: -webkit-calc(100% - 4em);
    width: -moz-calc(100% - 4em);
    width: calc(100% - 4em);
}
.partner-acc .acc-item .bgcov{
	width: 3em;
	height: 3em;
	margin-right: .5em;
}
.part-about-des{
	width: 100%;
}
.project-post-grid .ks_post,
.media-post-grid .ks_post{
	margin: 2% ;
	width: 48%;
	-webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 15%);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.project-post-grid .ks_post .post-des,
.media-post-grid .ks_post .post-des{
	width: 100%;
}
.project-post-grid .ks_post::after,
.media-post-grid .ks_post::after,
.media-post-grid .ks_post::before,
.project-post-grid  .ks_post::before{
	content: none;
}
#about-tpl .ks-sl_nav.pc-h{
	position: relative;
	width: 100%;
	display: table;
	text-align: center;
	pointer-events: all;
	padding: 1em;
}
#about-tpl .ks-sl_nav.pc-h .hg-clm{
	vertical-align: middle;
	padding: 0 1em;
}
#about-tpl .ks-bth-l.pc-h{
	display: table;
	text-align: center;
	pointer-events: all;
}
#about-tpl .ks-sl_nav.pc-h svg path{
	fill: #000;
}
	/*about-tpl*/

}