/*
Theme Name: California
Theme URI: http://foxthemes.com/web/wp/california
Author: FOXTHEMES
Author URI: http://themeforest.net/user/fox-themes
Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready Wordpress theme with grid system layout. It is optimized for mobile touch and swipe.
Tags:  one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: california
*/

/* Default WP CSS
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 0 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 5px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

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

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

.sidebar-block p, .sidebar-block address, .sidebar-block hr, .sidebar-block ul, .sidebar-block ol, .sidebar-block dl, .sidebar-block dd, .sidebar-block table {
  margin-bottom: 21px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/* WordPress Gallery 
------------------------------------------ */

.gallery {
  margin-left: -0.5em;
  margin-right: -0.5em;
}

.gallery:after {
  display: table;
  content: "";
  clear: both;
}

.gallery-item {
  margin: 0;
  float: left;
  padding: 0.5em;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
}
.gallery-columns-2 .gallery-item {
    width: 50%
}
.gallery-columns-3 .gallery-item {
    width: 33.3333%
}
.gallery-columns-4 .gallery-item {
    width: 25%
}
.gallery-columns-5 .gallery-item {
    width: 20%
}
.gallery-columns-6 .gallery-item {
    width: 16.6667%
}
.gallery-columns-7 .gallery-item {
    width: 14.2857%
}
.gallery-columns-8 .gallery-item {
    width: 12.5%
}
.gallery-columns-9 .gallery-item {
    width: 11.1111%
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
  clear: left;
}


/* magu */

.swiper-slide{height:500px !important;}
.main-slider .swiper-slide .full-height{height:500px !important;}

.bg-bg-chrome {
    background-attachment: scroll;
    background-position: 50% 50%;
    background-repeat: no-repeat;
   /* background-size: contain !important;*/
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
    position: fixed;
}

/*hide news cat*/
.post-preview-category, .post-preview-tags{
 display:none;
}


.single-portfolio-title {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
display:block !important;
text-align:center !important;
justify-content:initial !important;
padding-bottom:2px !important;
}

.single-portfolio-title__wrapper{
width:auto !important;
}


.item-desc h5{
display:none;
}

@media screen and (min-width: 768px) {
	.content.page-body,
	.container.page-body,.main-header,
	.footer-sidebar,
	.main-footer {
		max-width: 750px;
		margin-left: auto;
		margin-right: auto;
	}
	.main-header {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media screen and (min-width: 992px) {
	.content.page-body,
	.container.page-body,.main-header,
	.footer-sidebar,
	.main-footer {
		max-width: 970px;
	}
}

@media screen and (min-width: 993px) {
	.main-header {
		top: 45px;
	}
	.content.page-body,
	.container.page-body {
		margin-top: 132px;
	}
}


@media screen and (min-width: 1200px) {
	.content.page-body,
	.container.page-body,
	.main-header,
	.footer-sidebar,
	.main-footer {
		max-width: 1170px;
		width: 100%;
	}
}
@media screen and (min-width: 1440px) {
	.content.page-body,
	.container.page-body,
	.main-header,
	.footer-sidebar,
	.main-footer {
		max-width: 1358px;
		width: 100%;
	}
}

/* woocommerce */

.woocommerce .simple-page-content ul li{
list-style:none !important;
}

#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li{
list-style:none !important;	
}


.related .products, .related .products h2 {
visibility:hidden;
}

ol {
    padding-left: 28px !important;
		
}