/*
Theme Name: alimashhadiolasl
Theme URI: http://kiantechno.net
Author: milad fallah
Author URI: http://kiantechno.com
Description: WordPress Theme downloads
Version:1.0
*/
/* css reset */
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, menu, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, menu, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
img{
	max-width: 100%;
	max-height: 100%;
}

body{
	font-size: 14px;
}
.clear{
	clear: both;
}
.padding{
	padding:0;
}
/* ==================================
               header
=====================================*/
header{
	width: 100%;
	height:150px;
}
.logo{
	padding: 45px 0 5px 0;
}
.logo h2{
	text-align: center;
	font-size: 30px;
	letter-spacing: 7px;
	color: #8a8a8a;
	font-family:palatino 
}
.menu-main{
	direction:ltr;
}
nav {
	position: fixed;
	top: 0;
	z-index: 9999;
	width: 100%;
	background-color: #fff;
	padding: 25px 0 0 0;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}
#mega-menu-wrap-top_menu, #mega-menu-wrap-top_menu #mega-menu-top_menu, #mega-menu-wrap-top_menu #mega-menu-top_menu ul.mega-sub-menu, #mega-menu-wrap-top_menu #mega-menu-top_menu li.mega-menu-item, #mega-menu-wrap-top_menu #mega-menu-top_menu a.mega-menu-link {
	text-align: center !important;
}

/* ==================================
               slider
=====================================*/
.slider-box{
	width: 100%;
	height: 800px;
}

.slider_container{
	width: 100%;
	margin: auto;
	clear: both;
}
.flex-caption{ position: absolute; right:11px; bottom:20px;}
.caption_title_line{ width:450px; height:75px; padding:5px 15px 10px 15px;background:url(images/slider_caption_bg.png) repeat;color: #303030;}
.flex-caption h2{ color:#303030;font-size:20px; padding:5px 0 5px 0; margin:0px;font-family: 'Ovo', serif;}

.flex-container a:active,
.flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {
	width: 100%;
}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	max-width: 100%;
	height: 800px;
	display: block;
}

.flex-pauseplay span {text-transform: capitalize;}
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}
.no-js .slides > li:first-child {display: block;}
.flexslider {position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
.flex-container {zoom: 1; position: relative;}

/* Direction Nav */
.flex-direction-nav li a {width:45px; height:42px; margin:0; display: block; position: absolute; right:11px; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li a.next {background:url(images/next.png) no-repeat center; bottom:184px;}
.flex-direction-nav li a.prev {background:url(images/prev.png) no-repeat center;bottom:141px;}
.flex-direction-nav li a.next:hover {background:url(images/next_a.png) no-repeat center;}
.flex-direction-nav li a.prev:hover {background:url(images/prev_a.png) no-repeat center;}
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;}
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 13px; height: 13px; display: block; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}

/* Media Queries
/*-----------------------------------------------------------------------------------*/

@media screen and (max-width: 1000px) {
	.slider_container{ width:90%; margin:0 0 0 2%; clear:both; background:none; padding:30px 0 0 0;}
	.flexslider {width: 100%; margin: 0; padding:0 0 30px 0;background:none;}
	.flex-direction-nav li a {width:45px; height:42px; margin:0; display: block; position: absolute; right:-10px; cursor: pointer; text-indent: -9999px;}
	.flex-direction-nav li a.next {background:url(images/next.png) no-repeat center; bottom:85px;}
	.flex-direction-nav li a.prev {background:url(images/prev.png) no-repeat center;bottom:40px;}
	.flex-caption { display:none;}
}



/* ==================================
             footer
=====================================*/
footer{
	width: 100%;
	background-color: #000;
}
.social-icon{
	width: 100%;
	background-color: #fff;
	text-align: center;
	padding: 5px 0 3px 0;
}
.social-icon ul{
	list-style: none;
}
.social-icon ul li{
	display: inline-block;
}
.fa-pinterest ,.fa-linkedin ,.fa-telegram ,.fa-instagram ,.fa-twitter {
	padding: 	6px 6px 7px 7px;
	color: #fff;
	background-color: #505050;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	margin: 0px 5px;
}
.fa-google-plus{
		color: #fff;
	background-color: #505050;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	margin: 0px 5px;
	padding: 6px 3px 7px 6px;
}
.fa-facebook{
	padding: 7px 9px 7px 10px;
		color: #fff;
	background-color: #505050;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	margin: 0px 5px;
}
.copyright{
	text-align: center;
}
.copyright h4{
	color: #fff;
	font-size: 10px;
	margin: 0;
	padding: 5px 0 0 0;
	background-color: #000;
	
}
.copyright h5 {
	color: #fff;
	font-size: 7px;
	line-height: 11px;
	margin: 0;
	padding: 0;
	background-color: #000;
	
}
.line-box{
	width: 100%;
	height: 66px;
	background-color: #fff;
	position: fixed;
	bottom: 0;
}
/* ==================================
            single post
=====================================*/
#gallery-1 .gallery-item {
    float: left!important;
    margin: 4px;
    width: 10%!important;
    border-radius: 26px;
}
#gallery-1 img {
    border: 2px solid #cfcfcf;
    border-radius: 5px;
    padding: 3px;
}






/* ==================================
           single page
=====================================*/
.single-page-info{
	padding: 50px 0 60px 0;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
	color: #555;
	cursor: default;
	background-color: #f7f7f7;
	border: 1px solid #ddd;
	border-bottom-color: transparent;
}
.nav-tabs>li>a {
	margin-left: auto;
	margin-right: -2px;
	border-radius: 4px 4px 0 0 !important;
	color: #848484;
}
.tab-content{
	padding:30px 10px;
	-webkit-border-radius: 0 0 5px 5px ;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}
.tab-content p{
	text-align: center;
	line-height: 30px;
	
}
.single-page {

	padding: 50px 0 ;
}
.content-single-page{
	padding:35px 20px;
}
.title-single-content h1{
	text-align: center;
	padding: 10px 0;
	background-color: #fff;
	font-size: 16px;
	border: 1px solid #ddd;
	
}
.wpape_gallery_button .apebtn-primary:active, .wpape_gallery_button .apebtn-primary.active, .wpape_gallery_button .apebtn-primary.is-active, .wpape_gallery_button .apebtn-primary-flat:active, .wpape_gallery_button .apebtn-primary-flat.active, .wpape_gallery_button .apebtn-primary-flat.is-active {
	background-color: #eeeeee !important;
	border-color: #eeeeee !important;
	color: #777777 !important;
}
.wpape_gallery_button .apebtn-primary:hover, .wpape_gallery_button .apebtn-primary:focus, .wpape_gallery_button .apebtn-primary-flat:hover, .wpape_gallery_button .apebtn-primary-flat:focus {
	background-color: #cccccc !important;
	border-color: #a0a0a0 !important;
	color: #FFF!important;
}
.wpape_gallery_button .apebtn-primary, .wpape_gallery_button .apebtn-primary-flat {
	background-color: #eeeeee !important;
	border-color: #eeeeee !important;
	color: #5f5f5f !important;
}
#wpape_gallery_5b64145d9ce4d .wpape-img-container {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid rgb(218, 218, 218)!important;
    -webkit-box-shadow: 0px 5px 7px rgba(34, 25, 25, 0.4);
    -moz-box-shadow: 0px 5px 7px rgba(34, 25, 25, 0.4);
    -o-box-shadow: 0px 5px 7px rgba(34, 25, 25, 0.4);
    -ms-box-shadow: 0px 5px 7px rgba(34, 25, 25, 0.4);
    box-shadow: 0px 5px 7px rgba(34, 25, 25, 0.4);
}
.content-post-single-box{
	width:100%;
	overflow:hidden;
}
.category-page{
    	width:100%;
    	padding:10% 0 15% 0;
}
.content-cat{
    	width:100%;
    	padding:5%;
border: 1px solid #eaeaea;
box-shadow: 0 0 6px #d7d7d7;
padding: 10px;
text-align: center;
margin: 5px;
}
.content-cat h3 a{
color: #4f4f4f;
}




/* ==================================
                 media
=====================================*/
@media (max-width: 768px){
.logo h2 {
    font-size: 17px;
}
header {
    width: 100%;
    height: 70px;
}
nav {
    padding: 0 0 0 0;
	}
	.logo {
    padding: 15px 0 5px 0;
}
.slider-box {
    width: 100%;
    height: 550px;
}
.slider_container {
    width: 100%;
    margin: 0;
    padding: 30px 0 0 0;
}
.flexslider .slides img {
    height: 520px;
}
	.nav-tabs > li {
    float: right;
    width: 100%;
    text-align: center;
}
	.wpcf7-validates-as-required ,.wpcf7-text ,.wpcf7-textarea{
		width:100%
	}


::after, ::before {

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}
element {

    margin-right: 5px;
    margin-bottom: 10px;
   

}
.wpape_gallery_button .apebtn-primary, .wpape_gallery_button .apebtn-primary-flat {

    background-color: #1B9AF7;
    border-color: #1B9AF7;
    color: #FFF;

}
.wpape_gallery_button .apebtn {

    width: 100%;
}
	
}
@media screen and (min-width: 250px) and (max-width: 900px){
.slider_container {
    width: 100%;
    margin: 0 0 0 2%;
    clear: both;
    background: none;
    padding: 30px 0 0 0;
}
#gallery-1 .gallery-item {

    float: left !important;
    margin: 4px;
        margin-top: 4px;
    width: 100% !important;
    border-radius: 26px;

}
	#gallery-2 .gallery-item {
    float: right;
    margin: 3px;
    text-align: center;
    width: 30%!important;
	}
}

@media screen and (min-width: 930px) and (max-width: 1000px){

#gallery-1 .gallery-item {

    float: left !important;
    margin: 4px;
        margin-top: 4px;
    width: 32% !important;
    border-radius: 26px;

}
}
@media screen and (min-width: 1100px) and (max-width: 1440px){

#gallery-2 .gallery-item {

margin: 5px!important;

width: 10%!important;
}
}



















