.mob-menu{
	display: none;
	position: relative;
	float: left;
    cursor: pointer;
    padding: 15px; 
    width: 24px;
    height:20px;
    z-index: 1000;
    transform: rotate(0deg);
    transition: all 0.5s ease-in-out 0s;
}
.mob-menu span{
	display: block;
	position: absolute;
    background: #000;
    border-radius: 3px;
    height: 3px;
    margin-bottom: 3px;
    width: 24px;
}
.mob-menu span:nth-child(1){
	top: 16px;
}
.mob-menu span:nth-child(2),
.mob-menu span:nth-child(3){
	top: 22px;
}
.mob-menu span:nth-child(4){
	top: 28px;
}
.mob-menu.open span:nth-child(1){
	top: 18px;
	width: 0%;
	left: 50%;
}
.mob-menu.open span:nth-child(2){
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.mob-menu.open span:nth-child(3){
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.mob-menu.open span:nth-child(4){
	top: 18px;
	width: 0%;
	left: 50%;
}
/*-------------------------------------------------------*/
/*  Media min width 768px for desktop
/*-------------------------------------------------------*/
@media all and (min-width: 768px){ 
.nav li:hover ul ul,
.nav .fa-angle-right,
.sidebar-menumob{
    display: none;
}
.nav li:hover ul,
.nav li:hover ul li:hover ul{
    display: block;
}
.nav .fa-caret-down{
	padding-left: 5px;
}
.nav .fa-caret-right{
	position: relative;
	float: right;
	top: -24px; 
	right: 12px;
	/*right: -10px;*/
}
.nav li ul .fa-caret-down{
	display: none;
	position: relative;
	float: right;
	top: -24px; 
	margin-right: 10px;
}
.nav ul ul{
    left: 100%;
    margin-top: -36px;
    position: absolute;      
}
#nav li a.current, .popup-click.current {
    border-bottom: 0;
}
#nav li a.current{
	background: #222;
}
.contacts{
	margin-right: 15px;
}

.shared{
    float: right;
}
}
/*-------------------------------------------------------*/
/*  Media max width 768px for mobile
/*-------------------------------------------------------*/
@media all and (max-width: 768px){ 
.wrapper,
.fix,
.content{
	width: 100%;
}
.container{
	height: auto;
	padding-bottom: 0;
}
.mob-menu{
	display: block;
}
.wrapper,.container{
	overflow: hidden;
}
.q1, .q2, .q3, .q4, .q5, .q6, .q7, .q8, .q9, .q10, .q11, .q12{
	width: 100%;
}
/*-------------------------------------------------------*/
/*  Header
/*-------------------------------------------------------*/
.hh{
	padding: 0;
}
.top-menu{
	position: relative;
	margin-right: 0;
	float: none;
}
.logo{
	position: relative;
	z-index: 1000;
}
.fixed{
	width: 100%;
}
.nav{
	display: none;
	background: #000;
	position: absolute;
	overflow: hidden;
	top:50px;
	width: 100%;
	z-index: 1000;
}
.nav li{
	position: relative;
	border-bottom: 1px solid #131313;
	padding-left: 0;
	width:100%;
}
.nav li:last-child,.sidebar-menu li:last-child{
	border-bottom: none;
}
.nav li a{
	color: #fff;
	padding: 14px 15px 14px 30px;
}
.nav li a{
	display: block;
}
.nav li ul{
	padding-left: 0;
}
.nav ul{
	position: static;
}
.nav ul li{
	background:#252525;
	width: 100%;
	padding-right: 0;
	white-space: normal;
}
.nav ul li, .nav ul li li {
    border-bottom: none;
    border-top: 1px solid #131313;
}
.nav ul li a{
	padding: 14px 15px 14px 45px;
}
.nav ul ul li a{
	padding: 14px 15px 14px 60px;
}
.nav ul ul li, 
.nav-left ul ul li, 
.nav-right ul ul li{
	border-left: 0;
	padding: 0;
}
#nav li a.current{
	background: #111;
    border-bottom: 0;
    padding-bottom: 14px;
}
.nav li.current-menu-item a {
	border-bottom: 0;
	padding-bottom: 14px;
}
/* arrows */
.nav .fa-caret-down,
.nav .fa-caret-right,
.nav .fa-angle-right{
	position: absolute;
	top: 18px; 
	color: #fff;
}
.nav li .fa-angle-right{
	left:15px;
}
.nav ul li .fa-angle-right{
	left:30px;
}
.nav ul ul li .fa-angle-right{
	left:45px;
}
.nav .fa-caret-down{
	right: 20px;
}
.nav .fa-caret-right,
.nav .fa-caret-right:before{
	display: none;
}
.nav .sub-menu .fa-caret-down{
	display: none;
}
.nav ul.sub-menu li.current-menu-item a{
    background: #555;
    padding-bottom: 14px;
}
.nav .current_page_item{
	background: #111;
}
.nav li.current_page_item:last-child{
	border-bottom: 1px solid #131313;
}
/*-------------------------------------------------------*/
/*  Popup box
/*-------------------------------------------------------*/
.popup{
	margin: 0px auto;
	width: 100%;
	height: 100%;
	border-radius: 0;
}
/*-------------------------------------------------------*/
/*  Header search
/*-------------------------------------------------------*/
.search-top{
	padding-right: 15px;
}
.search-top,.search-form-top{
	margin-right: 0px;
}
.search-top,.search-form-top{
	margin-right: 0px;
}
.search-btn{
}
.search-field{
	width: 100%;
	/*border-left: 0;*/
}
/*-------------------------------------------------------*/
/*  Sidebar
/*-------------------------------------------------------*/
.ss{
	margin-top: 0;
}
.ss{ /* if right sidebar */
	margin:0;
}
.sidebar{
	width: 100%;
	padding-bottom: 5px;
	margin-bottom:55px;
	border-bottom: 1px solid #ccc;
}
.sidebar-search,.search-form{
	margin: 15px 0;
}
.sidebar-menu,.sidebar-title{
	margin: 0;
}
.sidebar-menu h2{
	padding: 15px 0px;
}
.sidebar-menu li{
	border-bottom: 1px dotted #ccc;
}
.sidebar-menu .children li:first-child{
	border-top: 1px dotted #ccc;
}
.sidebar-menu li a{
	position: relative;
	display: inline-block;
	padding-top: 15px; 
	padding-bottom: 20px;
}
.sidebar-title{
	padding: 0px 0px 0px 10px;
}
#calendar_wrap,.tagcloud{
	margin-top: 10px;
	margin-bottom: 15px;
}
.search2{
	margin-top: 15px;
}
/*-------------------------------------------------------*/
/*  Change position element for desktop
/*-------------------------------------------------------*/
.first,.second{
	position: relative;
	left: 0;
}
/*-------------------------------------------------------*/
/*  Footer 
/*-------------------------------------------------------*/
.footer{
	position: static;
}
.footer{
	border-top: 0;
	padding: 0px;
}
.footer li{
	border-bottom: 1px dotted #555;
	padding: 14px 0px;
}
.footer-menu-1,
.footer-menu-2{
	left: 100%;
}
.ff{
	padding: 0px;
}
.scroll{
	display: block;
}
.nav-bot{
	right: 100%;
	width: 100%;
}
.nav-bot span.soc{
    display: inline-block;
}
.nav-bot li a i{
	display: none;
}
.nav-bot li{
	display: block;
}
.nav-bot li:first-child{
    padding-left: 15px;
}
.footer-menu-1,
.footer-menu-2,
.footer-menu-1 ul li,
.footer-menu-2 ul li{
	float:none;
}
.footer-menu-1 ul li:first-child{
	padding-left: 15px;
}
.footer-menu-2 li:last-child{
	/*border:0;*/
}
.fa-circle-up{
	color: #000;
}
.copyright{
	padding: 14px 15px;
}

/*-------------------------------------------------------*/
/*  Article
/*-------------------------------------------------------*/
.post{
	margin-bottom:0;
}
.post-content .more,.edit{
	line-height: 3;
	float: none;
	clear: both;
}
.edit a{
	display: block;
	cursor: pointer;
}
.cattags{
	display: none;
}
.gallery-item{
	display: block;
	clear:both;
	width: 100%;
}
.gallery-item img{
	float:none;
	display: block;
    margin: 0 auto;
}
.wp-caption-text{
	border:0;
}
.sidebar-menu li.pop_post a.th{
	display: inline;
}
/*-------------------------------------------------------*/
/*  Popular posts
/*-------------------------------------------------------*/
.pop_post{
    /*float: left;*/
    width: 100%;
    margin-top: 20px;
}
.pop_post img{
	width: auto;
}
.pop_post h3{
	padding-top: 0px;
	text-decoration: none;
}
.image_pop{
	display: block;
    float: left;
    padding: 0px 13px 5px 0;
}
.image_pop img{
}
.pop_post a{
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;
}
.pop_desc{
	display: block;
	padding-bottom: 10px;
}
.pop_date{
	top: 15px;
}
/*-------------------------------------------------------*/
/*  Default page navigation
/*-------------------------------------------------------*/
.cc{
	position: relative;
	padding-bottom: 0;
}
.pagenav{
	position: absolute;
	bottom: 13px; 
	margin-bottom: 0;
	width: 100%;
}
.next{
	position: absolute;
	right: 32px;
}
.next,.prev{
    padding: 5px 0;
}
/*-------------------------------------------------------*/
/*  Dagenavi page navigation
/*-------------------------------------------------------*/
.wp-pagenavi span{
	padding: 10px;
}
.wp-pagenavi{
	position: absolute;
	bottom: -5px;
}
.wp-pagenavi a, .wp-pagenavi span{
	display: block;
	float: left;
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 10px;
	margin-right:10px;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current{
	border-color: #000;
}
.wp-pagenavi span.current{
	font-weight: bold;
}
/*-------------------------------------------------------*/
/*  Wordpress default comments
/*-------------------------------------------------------*/
#commentform{
	margin-bottom: 20px;
}
#commentform input{
	width:         calc(100% - 20px);
	width:    -moz-calc(100% - 20px);
	width: -webkit-calc(100% - 20px);
}
#commentform input#submit{
	width: 100%;
}
#commentform textarea{
	width: 		   calc(100% - 30px);
	width:    -moz-calc(100% - 30px);
	width: -webkit-calc(100% - 30px);
}
.down,.docs{
	float:none;
	margin: 0px auto;
}
.down{
	margin-bottom: 15px;
}
.paylogos{
	display:none;
}
} /* end @media 768 */
/*-------------------------------------------------------*/
/*  Media max width 640px 
/*-------------------------------------------------------*/
@media all and (max-width: 640px){
.flex-descr{
		display: none;
	}
}
/*-------------------------------------------------------*/
/*  Media max width 400px 
/*-------------------------------------------------------*/
@media all and (max-width: 400px){
	.image,
	.image_pop{
		float: none;
	}	
	.post-content img,
	.image_pop img {
		width: 100%;
		height: auto !important;
	}
}

/*-------------------------------------------------------*/
/*  Media max width 360px 
/*-------------------------------------------------------*/
@media all and (max-width: 360px){
	.comment-author{
		width: 100%;
		text-align: center;
	}
	.comment-content{
		overflow: visible;
		padding-left:0;
	}
	.nav-next {
    	float: left;
	}
}
