/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #2e2823;
	color:#fff;
    text-shadow: none;
}

::selection {
    background: #2e2823;
	color:#fff;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */




body{
	background: url('../img/banner-bg.jpg') repeat;
}
.col-md-8.col-lg-8.col-sm-12.col-xs-12, .col-md-4.col-lg-4.col-sm-12.col-xs-12 {
  margin: 20px 0 0;
}

/* Top Header Area */


.top_header {
    display: block;
    margin: 0;
    padding: 15px 0;
}
.header_area .col-md-4.col-lg-4.col-sm-12.col-xs-12 {
  margin: 0;
}
.top_header_area {
    margin: 0;
    padding: 0;
}
.left {
    margin: 0;
    padding: 0;
}
.left span.contact {
    color: #f00;
}
.right {
	display: flex;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	height: 80px;
}
.right > ul#main_menu {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    text-align: right;
}
.right ul#main_menu > li {
    display: inline;
    margin: 0;
    padding:0 0 8px;
    position: relative;
}
.right ul#main_menu > li.donate-btn {
	background-color: #ED1C24;
	color: #fff;
	border-radius: 40px;
	margin: 0 !important;
	padding: 10px 5px !important;
}
.right ul#main_menu li a {
    color: #0089d0;
    display: inline-block;
    font-size: 16px;
    margin: 0;
    padding: 5px 12px;
    text-decoration: none;
}
.right ul#main_menu > li.donate-btn a {
	color:#fff ;
}
.right ul#main_menu li:hover a {
    color: #000;
}
.right ul#main_menu ul#sub_main_menu li:hover a {
    color: #000 !important;
}
.right ul#main_menu li:hover ul#sub_main_menu {
    display:block;
}
.right ul#main_menu li:hover ul#sub_main_menu li a {
    color: #0089d0;
}
.right ul#main_menu li ul#sub_main_menu {
  background: #fff none repeat scroll 0 0;
  display: none;
  left: 0;
  list-style: outside none none;
  margin: 0;
  padding: 10px 0 0;
  position: absolute;
  text-align: left;
  top: 100%;
  width: 150%;
  z-index: 10;
}
#sub_main_menu > li {
    margin: 0;
    padding: 0;
}
.right ul#main_menu li ul#sub_main_menu li a {
  border-bottom: 1px dotted #ccc;
  display: block;
  margin: 0 10px;
  padding: 5px 0;
}
.right ul#main_menu li ul#sub_main_menu li:last-child {
    border-bottom: 2px solid #f00;
    margin: 0;
}


/* Header Area */


.header_area {
    background: #f8f8f8 none repeat scroll 0 0;
    margin: 10px 0 0;
    padding: 20px 0;
	border-top: 1px solid #ccc;
}
.logo {
	margin: 0;
	padding: 0;
	height: 80px;
	display: flex;
}
.logo a{
	width:100%;
	height:100%;
	display:flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}
.logo img {
  margin: 0;
  padding: 0;
  width: 100%;
}
.ad {
    margin: 0;
    padding: 0;
    text-align: center;
	background:#FF438D;
}
.ad > img {
    height: 80px;
    margin: 0;
    padding: 0;
    width: 100%;
}



/*Slider Area*/


.slider_area {
    margin: 0;
    padding: 0;
	overflow:hidden;
}
.main_slider {
  display: block;
  margin: 0;
  overflow: hidden;
  padding: 0;
  height:500px;
}
.item > img {
    height: 500px;
    width: 100%;
}


.slider .owl-next {
  background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  padding: 0 15px !important;
  position: absolute;
  right: 0;
  top: 40%;
}
.slider .owl-prev {
  background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  padding: 0 15px !important;
  position: absolute;
  left: 0;
  top: 40%;
}
.owl-next::before {
  color: #fff;
  content: "\f105";
  font-family: fontawesome;
}
.owl-prev::before {
  color: #fff;
  content: "\f104";
  font-family: fontawesome;
}
.owl-theme .owl-controls .owl-page span {
  background: #AAC3A3;
}





/* About Area */

.about_area {
    background: #fff none repeat scroll 0 0;
    margin: 0;
    padding: 30px 0;
}
.single_about {
    margin: 0;
    padding: 10px 0;
}
.single_title {
    border-bottom: 1px solid #ddd;
    margin: 0 0 15px;
    overflow: hidden;
    padding: 0 0 5px;
}
.single_title > img {
	display: block;
	float: left;
	height: 60px;
	margin: 0;
	padding: 0px;
	width: 60px;
	border-radius: 5px !important;
	-webkit-border-radius: 5px;
	border: 1px solid #ddd;
}
.single_title > img::before {
  color: #000;
  display: block;
  height: 60px;
  width: 60px;
  border: 1px solid #ccc;
  border-radius: 5px;
 -webkit-border-radius: 5px;
}
span.name {
  color: #0099cc;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 0 10px;
  overflow: hidden;
  padding: 0;
  width: 75%;
}
.single_content {
  margin: 0;
  padding: 0 15px;
  text-align: justify;
}

a.read_more {
  color: #f00;
  display: inline-block;
  margin: 20px 0 0;
  padding: 0;
  text-decoration: none;
}

a.read_more:hover {
  color: #000;
}



/* Home Page Photo Gallery */

.photo_gallery_area {
    background: #fff none repeat scroll 0 0;
    margin: 0;
    padding: 10px 0 30px;
}
.photo_gallery {
    margin: 0;
    padding: 0;
}
.photo_gallery h3, .news > h3, .ad_title > h3, .comments > h3, .Author_comments h3, .header_title > h3 {
    border-bottom: 1px solid #ddd;
    color: #0099cc;
    display: block;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px;
    padding: 10px 0 15px;
	position:relative;
}
.header_title > h3::after {
	content: '';
	display: block;
	clear: both;
	width: 10%;
	height: 3px;
	background: #000;
	position: absolute;
	top: 77%;
	left: 0;
}

.header_title > p {
  color: #999;
  font-size: 12px;
  margin: 0 0 15px;
}


#photo_gallery_items .item a:hover img {
    opacity:.3;
}
#photo_gallery_items .item  img {
    height: 150px;
    width: 100%;
	transition: all .7s;
}
#photo_gallery_items .item {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 0 5px;
  padding: 10px;
}

#photo_gallery_items .item > p {
  color: #888888;
  font-size: 15px;
  font-weight: bold;
  margin: 10px 0 0;
  text-align: left;
}

#photo_gallery_items .owl-next {
  left: 100%;
  position: absolute;
  top: 45%;
}
#photo_gallery_items .owl-prev {
  right: 100%;
  position: absolute;
  top: 45%;
}




/* News and Ad Area */


.newsAndad_area {
    background: #fff none repeat scroll 0 0;
    margin: 0;
    padding: 15px 0 20px;
}
.news {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}

.single_news {
    display: block;
    margin: 0 0 10px;
    overflow: hidden;
    padding: 0 5px;
    width: 100%;
}
.new_date {
    background: #f4f4f4 none repeat scroll 0 0;
    border: 1px solid #ccc;
    display: block;
    float: left;
    font-weight: bold;
    margin: 0 15px 40px 0;
    padding: 12px 0;
    text-align: center;
    width: 10%;
}
p.new_update_content {
    font-size: 12px;
    margin: 0;
    overflow: hidden;
    padding: 0 5px;
}
span.new_update_title {
    color: #666666;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px;
    padding: 0;
}
.single_news a.read_more {
    margin: 0;
}

.single_ad_item {
  margin: 0 0 15px;
  padding:0 10px;
}


/* Comments Area */
.comments_area {
  background: #00ab9c none repeat scroll 0 0;
  color: #fff;
  margin: 0;
  padding: 20px 0 50px;
  border-bottom: 2px solid #666;
}

.comments > h3{color:#fff;}

.single_comment {
    display: block;
    margin: 15px 0 20px;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
.comment_user_icon {
    display: block;
    float: left;
    height: 65px;
    margin: 0 15px 0 0;
    overflow: hidden;
    text-align: center;
    width: 15%;
}
.comment_user_icon i {
    font-size: 50px;
}
.single_comment > p {
    margin: 0;
    overflow: hidden;
    padding: 0 10px 0 0;
    text-align: justify;
    width: 80%;
}
.comments_area .comments .single_comment p a.read_more{margin:0;}

.Author_comments h3{color:#fff;}


/* Footer Area */

.footer_area {
    background: #00918b none repeat scroll 0 0;
    margin: auto;
    padding: 20px 0 30px;
}
.footer_left {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}
.footer_left > ul#footer_nav {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.footer_left li {
    display: inline;
    margin: 0;
    padding: 0;
}
.footer_left li a {
    color: #fff;
    font-size: 12px;
    margin: 0 14px 0 0;
    padding: 0;
    text-decoration: none;
}
.footer_left li a:hover {
    color: #000;
}

.footer_right {
    margin: 0;
    padding: 0;
    text-align: right;
}
.footer_right > p {
    color: #fff;
    font-size: 10px;
    margin: 0;
    padding: 0;
}





/* Porishod Section*/

.pristo_porishod, .karjo_porishod {
  background: #fff none repeat scroll 0 0;
  margin: 0;
  padding: 20px 0;
}
.porishod_details {
  margin: 0;
  padding: 0;
  width: 100%;
}

p.post_title {
    color: #262626;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 5px;
    padding: 0;
}
.porishod_details > p span {
    color: #999999;
    font-size: 12px;
}
.porishod_details > p span i {
    color: #999999;
}
.porishod_details p span.author {
    color: #d93e39;
}
.image {
  border: 1px solid #cccccc;
  border-radius: 5px;
  height: 300px;
  margin: 0 0 20px;
  overflow: hidden;
  padding: 5px;
  background: #eee;
  text-align: center;
}
.image > img {
    height: 100%;
}
.main_contect > p {
	color: #666666;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 22px;
}
.main_contect blockquote {
    border-left: 4px solid #add3dd;
    color: #666;
    font-size: 14px;
    line-height: 22px;
    margin: 25px 0 10px;
    padding: 15px 20px 10px;
}



/* Karjo Porishod Section */
.porishod_list {
    margin: 0;
    padding: 0;
}
.porishod_list > ul {
    list-style: outside none none;
    margin: 0;
    padding: 0 30px;
}
#porishod_list > li {
    display: inline-block;
    margin: 0;
    padding: 0;
}
#porishod_list a {
    border-radius: 5px;
    color: #b3b3b3;
    display: block;
    margin: 0 0 5px;
    padding: 7px 12px;
    text-decoration: none;
	font-size:12px;
}
#porishod_list > li a.active {
	background:#6c9b55;
	color:#fff;
	font-weight:bold;
}

.porishod_korta {
    margin: 0;
    overflow: hidden;
    padding: 10px 0 10px 12px;
    width: 100%;
}
.single_korta {
    float: left;
    margin: 0 8px 10px 0;
    padding: 5px;
    width: 24%;
}
.single_korta > img {
    border: 1px solid #ddd;
    display: block;
    height: 180px;
    position: relative;
    text-align: center;
    width: 100%;
	color:#fff;
	border-radius:4px;
}
.single_korta h5 {
	border-bottom: 1px solid #ccc;
	color: #262626;
	font-size: 16px;
	margin: 0 0 10px;
	padding: 0 0 8px;
	max-height: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.single_korta > p {
    color: #262626;
    font-size: 15px;
    line-height: 22px;
    margin: 0;
    padding: 0;
}
.single_korta p span {
    color: #4d4d4d;
    font-size: 12px;
    margin: 0;
    padding: 0;
}


 #porishod_korta .mix{
	display: none;
}





/* Contact Page */



.contact_form_address {
    display: block;
    margin: 10px 0 20px;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
.left_address_bar {
    float: left;
    margin: 0 10px 0 0;
    overflow: hidden;
    width: 30%;
}
.contact_form {
    margin: 0;
    overflow: hidden;
    padding: 0 10px;
    width: 65%;
}
.contact_address {
    margin: 0 0 10px;
    padding: 5px;
}
.contact_title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 15px;
    padding: 0;
}
.contact_address > ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
#contact_list > li {
  display: block;
  margin: 0 0 10px;
  padding: 5px 7px;
}
#contact_list > li:hover {
    background:#F7F3E3;
}
#contact_list span {
    display: block;
    margin: 0;
    padding: 0;
}
#contact_list a {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.contact_title i {
    color: #dc4b46;
}
label i {
    color: #dc4b46;
}
input[type="text"], input[type="email"] {
    width: 78%;
}





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* Smartphones ----------- */

@media only screen and (min-device-width : 300px) and (max-device-width : 480px) {
	.ad { display: none;}
	
	.item > img {height: 200px;}
	
	#photo_gallery_items .owl-prev {right: 50%;top: 100%;}
	
	#photo_gallery_items .owl-next {left: 50%;top: 100%;}
	
	.newsAndad_area .col-md-4.col-lg-4.col-sm-12.col-xs-12 {display: none;}
	.footer_left li a {font-size: 8px;margin: 0 8px 0 0;}
	
	.right {text-align: right;position:relative;}
	.learg {display: none;}
	#collapseExample {background: #eee none repeat scroll 0 0;border-radius: 5px;margin: 10px 0 0;padding: 10px 5px;position: absolute;right: 0;width: 250%;z-index: 10;}
	.right ul#main_menu li a {font-size: 15px;}
	.mini {list-style: outside none none;margin: 0;padding: 0;text-align: left;}
	.right .mini li {display: block !important;}
	#dropdownMenu > ul#mini_sub_menu {margin: 0;padding: 0 0 0 20px;}
	#mini_sub_menu li a {display: block!important;font-size: 12px !important;margin: 0!important;padding: 0!important;}
	.right ul#main_menu ul#mini_sub_menu li:hover a {color: #000 !important;}
	.right ul#main_menu li:hover ul#mini_sub_menu li a {color: #f00;}
	.left_address_bar {float: none;width: 100%;}
	.single_korta {width: 98%;}

	.contact_form {width: 100%;}

	
	/* All title h3 */
	.photo_gallery h3, .news > h3, .ad_title > h3, .comments > h3, .Author_comments h3, .header_title > h3 {font-size: 15px;}
	
	#porishod_list a {font-size: 8px;}
	

	
	
	
	
	
	
}
   
/* Smartphones ----------- */

@media only screen and (min-device-width : 481px) and (max-device-width : 767px) {
	.logo {text-align: center;}
	.logo img {width: 50%;}
	
	.ad { display: none;}
	
	.item > img {height: 200px;}
	
	#photo_gallery_items .owl-prev {right: 50%;top: 100%;}
	
	#photo_gallery_items .owl-next {left: 50%;top: 100%;}
	
	.newsAndad_area .col-md-4.col-lg-4.col-sm-12.col-xs-12 {display: none;}
	.footer_left li a {font-size: 8px;margin: 0 8px 0 0;}
	
	.right {text-align: right;position:relative;}
	.learg {display: none;}
	#collapseExample  {position: absolute;right: 0;width: 200%;z-index: 10;}
	.right ul#main_menu li a {font-size: 15px;}
	.mini {list-style: outside none none;margin: 0;padding: 0;text-align: left;}
	.right .mini li {display: block !important;}
	#dropdownMenu > ul#mini_sub_menu {margin: 0;padding: 0 0 0 20px;}
	#dropdownMenu > ul#mini_sub_menu {margin: 0;padding: 0 0 0 20px;}
	#mini_sub_menu li a {display: block!important;font-size: 12px !important;margin: 0!important;padding: 0!important;}
	.right ul#main_menu ul#mini_sub_menu li:hover a {color: #000 !important;}
	.right ul#main_menu li:hover ul#mini_sub_menu li a {color: #f00;}
	.left_address_bar {float: none;width: 100%;}
	.single_korta {width: 98%;}

	.contact_form {width: 100%;}

	
	/* All title h3 */
	.photo_gallery h3, .news > h3, .ad_title > h3, .comments > h3, .Author_comments h3, .header_title > h3 {font-size: 15px;}
	
	#porishod_list a {font-size: 8px;}
	.porishod_list > ul {list-style: outside none none;margin: 0;padding: 0 0;}
	
	
}
   
   
/* Tablets ----------- */

@media only screen and (min-device-width : 768px) and (max-device-width : 991px) {
	.right button[data-target] {display: none;}
	.ad { display: none;}
	.logo {text-align: center;}
	.logo img {width: 50%;}
	
	.single_korta {width: 32%;}
	
	.porishod_list > ul {list-style: outside none none;margin: 0;padding: 0 0;}
	
	
	
	
}
    
/* Desktop ----------- */

@media only screen and (min-device-width : 992px) and (max-device-width : 1099px) {
	.right button[data-target] {display: none;}
	
	
	
	
	
	
	
	
	
}  

/* Learg Device ----------- */

@media only screen and (min-device-width : 1100px){
	.right button[data-target] {display: none;}
	
	
	
	
	
	
	
	
}
   
   
   
   

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
