/*
Theme Name: shab
Author: RaftKorn
*/

/* NULL */

HTML, BODY, DIV, SPAN, APPLET, OBJECT, IFRAME, H1, H2, H3, H4, H5, H6, P, BLOCKQUOTE, PRE, A, ABBR, ACRONYM, ADDRESS, BIG, CITE, CODE, DEL, DFN, EM, FONT, IMG, INS, KBD, Q, S, SAMP, SMALL, STRIKE, STRONG, TT, VAR, B, U, I, CENTER, DL, DT, DD, OL, UL, LI, FIELDSET, FORM, LABEL, LEGEND {margin: 0;padding: 0;border: 0;outline: 0;font-size: 100%;vertical-align: baseline;background: transparent;}
SUP, SUB {line-height: 1px;}
BODY {line-height: 1;}
UL {list-style: none;}
:focus {outline: 0;}
INS {text-decoration: none;}
DEL {text-decoration: line-through;}
input::-moz-focus-inner {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary, .block {display: block;}
audio, canvas, video {display: inline-block;}
audio:not([controls]) {display: none;height: 0;}

[hidden] {display: none;}
.none, .hidden {display: none;}

.clear, .clr {clear: both;}
hr.clear, hr.clr {padding: 0;margin: 0;height: 1px;overflow: hidden;border: 0;}

.alignright, .right { float: right; }
.alignleft, .left { float: left; }
.center { text-align: center; }
.centered, .aligncenter {
	display: block;
	margin: 0 auto;
	}

img.alignright, img.right {
	margin: 0 0 7px 20px;
	display: inline;
	}
img.alignleft, img.left {
	margin: 0 20px 7px 0;
	display: inline;
	}
a img {
	border: none;
	}
img {
	max-width: 100%;
	}

.entry img {
	height: auto;
	}

/* END NULL */


/* BASE */

body {
	color: #fff;
	font-size: 14px;
	line-height: 18px;
	font-family: Tahoma, Arial;
	background: #282828;
	text-align: center;
	}

.wrap {
	width: 980px;
	margin: 0 auto;
	text-align: left;
	}

input, textarea {
	font-family: Tahoma, Arial;
	}

a {
	color: #fff;
	text-decoration: none;
	transition: all 0.3s 0.02s ease;
	}

a:hover {
	color: #fff;
	text-decoration: underline;
	}

p, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .title, .entry table, .entry form, .entry ul, .entry ol, .entry hr, blockquote {
	margin: 0 0 20px 0;
	}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .title {
	color: #fff;
	font-weight: bold;
	}
h1, .h1, .title{
	font-size: 26px;
	line-height: 30px;
	}
h2, .h2{
	font-size: 24px;
	line-height: 28px;
	}
h3, .h3{
	font-size: 22px;
	line-height: 26px;
	}
h4, .h4{
	font-size: 20px;
	line-height: 24px;
	}
h5, .h5{
	font-size: 18px;
	line-height: 22px;
	}
h6, .h6{
	font-size: 16px;
	line-height: 20px;
	}


.table, .entry table {
	border-spacing: 0;
	border-collapse: collapse;
	border-top: 1px solid #959596;
	border-left: 1px solid #959596;
	}

.table tr th, .entry table tr th{
	border-bottom: 1px solid #959596;
	border-right: 1px solid #959596;
	background: #f4f4f4;
	padding: 8px 10px;
	}

.table tr td, .entry table tr td{
	border-bottom: 1px solid #959596;
	border-right: 1px solid #959596;
	padding: 8px 10px;
	}

.entry table.nobord, .entry table.nobord tr th, .entry table.nobord tr td {
	border: 0;
	padding: 0;
	background: none;
	}

.entry ul, ul.list {
	padding: 0 0 0 20px;
	list-style: none;
	}

.entry ol, ol.list {
	padding: 0 0 0 25px;
	list-style: none;
	}

.entry ul ul, .entry ol ol, .entry ol ul, .entry ul ol, ul.list ul, ol.list ol, ol.list ul, ul.list ol {
	margin: 5px 0 0 0;
	}

.entry ol > li, ol.list > li {
	margin: 7px 0 7px 10px;
	list-style: decimal outside;
	}

.entry ul > li, ul.list > li {
	margin: 7px 0 7px 10px;
	list-style-type: disc;
	}

blockquote {
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

/* END BASE */


/* FORM */

.form_line{
	padding: 0 0 15px 0;
	}

.lab{
	display: block;
	padding: 0 0 2px 0;
	}

.inp{
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	padding: 10px 20px;
	background: #fff;
	border: 1px solid #b2b2b2;
	border-radius: 3px;
	-webkit-appearance: none;
	color: #000;
	font-size: 15px;
	line-height: 18px;
	}

.ta{
	box-sizing: border-box;
	width: 100%;
	height: 100px;
	padding: 10px 20px;
	background: #fff;
	border: 1px solid #b2b2b2;
	border-radius: 3px;
	-webkit-appearance: none;
	color: #000;
	font-size: 15px;
	line-height: 18px;
	vertical-align: bottom;
	}

.form_sub {
	position: relative;
	}

.btn {
	display: inline-block;
	box-sizing: border-box;
	min-height: 40px;
	padding: 10px 20px;
	border: 1px solid #57b64d;
	background: #57b64d;
	border-radius: 5px;
	transition: all 0.3s 0.02s ease;
	-webkit-appearance: none;
	color: #fff;
	font-size: 16px;
	line-height: 18px;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	}

.btn:hover{
	border-color: #ca2a3c;
	background-color: #ca2a3c;
	color: #fff;
	text-decoration: none;
	}

.form_sub .wpcf7-spinner {
	position: absolute;
	top: -5px;
	right: -5px;
	}

/* END FORM */


/* HEADER */

header {
	display: none;
	}

.logo{
	float: left;
	width: 100px;
	height: 50px;
	padding: 20px 0 0 10px;
	}

.logo img{
	vertical-align: bottom;
	}


.show_nav{
	display: none;
	width: 40px;
	height: 23px;
	margin: 10px;
	position: relative;
	cursor: pointer;
	}
.show_nav span, .show_nav:before, .show_nav:after{
	content: " ";
	display: block;
	width: 100%;
	height: 3px;
	background: #000;
	border-radius: 2px;
	position: absolute;
	left: 0px;
	transition: all 0.3s 0.02s ease;
	}
.show_nav span{
	top: 10px;
	}
.show_nav:before {
	top: 0px;
	}
.show_nav:after {
	top: 20px;
	}
.show_nav.open span{
	display: none;
	}
.show_nav.open:before{
	transform: rotate(45deg);
	top: 10px;
	}
.show_nav.open:after{
	transform: rotate(-45deg);
	top: 10px;
	}

@media (min-width: 761px) {
.main_nav{
	display: block !important;
	}
}

.main_nav > ul{
	display: flex;
	justify-content: space-around;
	}

.main_nav > ul > li {
	width: 100%;
	margin: 0 2px;
	position: relative;
	}

.main_nav > ul > li > a{
	display: block;
	}

.main_nav > ul > li > a:hover, .main_nav > ul > li.current-menu-item > a, .main_nav > ul > li.current-menu-parent > a, .main_nav > ul > li.current-menu-ancestor > a{
	background: #eee;
	}

.main_nav > ul > li > ul{
	display: block;
	width: 180px;
	padding: 15px 20px;
	position: absolute;
	top: 120%;
	left: 0px;
	background: #fff;
	box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;
	}

.main_nav > ul > li:hover > ul{
	top: 100%;
	opacity: 1;
	visibility: visible;
	}

.main_nav ul li ul li {
	display: block;
	padding: 5px 0;
	}


.search_inp {
	float: left;
	width: 152px;
	}

.search_inp input {
	width: 130px;
	height: 16px;
	padding: 2px 10px;
	background: none;
	border: 1px solid #959596;
	}

.search_sub {
	float: left;
	width: 72px;
	padding: 0 0 0 10px;
	}

.search_sub input {
	width: 70px;
	height: 22px;
	background: none;
	border: 1px solid #959596;
	cursor: pointer;
	}

/* END HEADER */


/* HOME */

/* END HOME */


/* POSTS */

#content {
	padding: 40px 20px;
	}

.video {
	position: relative;
	width: 100%;
	padding-top:56.25%;
	overflow: hidden;
	margin: 0 0 40px 0;
	}

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

.video {
	position: relative;
	width: 100%;
	padding-top:56.25%;
	overflow: hidden;
	margin: 0 0 40px 0;
	}


.gallery {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 0 30px 0;
	}

.galler {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	width: 300px;
	padding: 10px;
	}


.gallery_tabs {
	padding: 0 0 20px 0;
	}

.gallery_tabs a {
	padding: 4px 5px;
	margin: 0 2px;
	border-radius: 4px;
	}

.gallery_tabs a.active {
	background: #000;
	}

.gallery_tabs a:hover {
	text-decoration: none;
	}

#gallery_m {
	display: none;
	}


.post_list {
	padding: 0 0 20px 0;
	}

.post_list_t {
	padding: 0 0 3px 0;
	font-weight: bold;
	}

.p_nav {
	padding: 10px 0;
	}

.p_nav a, .p_nav span {
	display: inline-block;
	padding: 4px 10px;
	margin: 0 5px 0 0;
	background: #57b64d;
	color: #fff;
	}

.p_nav a:hover, .p_nav .current {
	background: #ca2a3c;
	}

.post {
	padding: 0 0 10px 0;
	}

/* END POSTS */


/* FOOTER */

footer {
		display: none;
	}

/* END FOOTER */



/* WP OTHER */

.wp-caption {
	box-sizing: border-box;
	max-width: 100%;
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding: 4px;
	margin: 10px;
	border-radius: 3px;
	}

.wp-caption img {
	max-width: 100%;
	height: auto;
	padding: 0;
	border: 0 none;
	}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
	}

.wpcf7-not-valid { 
	border-color: #ad2929 !important;
	color: #ad2929; 
	}

/* END WP OTHER */