/*
Theme Name:    YingXuan
Description:   YingXuan Theme by YingXuan
Author:        YingXuan
Template:      oceanwp
*/
@import url("style-2.css");

/* ---------------------------------------------------------------------------
Theme Blog Entries Grid Columns
--------------------------------------------------------------------------- */
.blog-entry.grid-entry {
	float: left;
	width: 30%;
	margin: 0% 1.5%;
}
.col-1, .col-2, .col-3, .col-4 {
	flex: unset;
	max-width: 100%;
}
a: focus {
	outline: 0px !important;
	outline: none !important;
}

/* ---------------------------------------------------------------------------
Theme Pagination
--------------------------------------------------------------------------- */
.page-numbers a, .page-numbers span:not(.elementor-screen-only), .page-links span {
	margin: 0;
}
.page-numbers .fa-angle-right:before {
	content: "\f30b";
}
.page-numbers .fa-angle-left:before {
	content: "\f30a";
}

/* ---------------------------------------------------------------------------
Theme Footer Style
--------------------------------------------------------------------------- */
.footer-widget {
	font-size: 15px;
}
.oceanwp-widget-recent-posts-li, .widget_categories li, .widget_recent_entries li, .widget_archive li, .widget_recent_comments li, .widget-recent-posts-icons li, .site-footer .widget_nav_menu li {
	border: none;
	padding: 0;
}
.oceanwp-widget-recent-posts-li:first-child, .widget_categories li:first-child, .widget_recent_entries li:first-child, .widget_archive li:first-child, .widget_recent_comments li:first-child, .widget-recent-posts-icons li:first-child, .site-footer .widget_nav_menu li:first-child {
	border: none;
}
/* ---------------------------------------------------------------------------
MainMenu WPML item
--------------------------------------------------------------------------- */
/*
.wpml-ls-item:before {
	content: "";
    position: absolute;
    background: #231815;
    width: 1px;
    height: 26px;
    top: 50%;
    transform: translateY(-50%);
}
*/
/* ---------------------------------------------------------------------------
Custom Post Type Title
--------------------------------------------------------------------------- */
.breadcrumbs {
	margin-bottom: 50px;
}
.breadcrumbs .trail-end, .breadcrumbs .trail-end a, .breadcrumb_last {
	color: #e5000f;
}
.block-title {
	border-top: 3px solid #e60012;
	border-bottom: 1px solid #231815;
	padding: 10px 0 10px 10px;
}
.block-title.linear {
	text-align: center;
	margin-bottom: 50px;
	border: none;
}
.block-title.linear h1, .block-title.linear h2 {
	font-size: 30px;
	color: #e5000f;
	padding: 10px 0;
}
.block-title h1 {
	font-size: 30px;
	margin: 0;
}
.block-title h2 {
	font-size: 22px;
	margin: 0;
}
.block-title.linear .red {
	border-width: 3px;
	border-style: solid;
	border-image: linear-gradient(to left, rgba(255, 255, 255, 1) 1%, rgba(216, 11, 38, 1) 50%, rgba(255, 255, 255, 1) 100%) 100% 0 0 0/3px 0 0 0 stretch;
}
.block-title.linear .orange {
	border-width: 3px;
	border-style: solid;
	border-image: linear-gradient(to left, rgba(255, 255, 255, 1) 1%, rgba(250, 206, 138, 1) 50%, rgba(255, 255, 255, 1) 100%) 100% 0 100% 0/3px 0 0 0 stretch;
	-moz-border-image:linear-gradient(to left, rgba(255, 255, 255, 1) 1%, rgba(250, 206, 138, 1) 50%, rgba(255, 255, 255, 1) 100%) 100% 0 100% 0/3px 0 0 0 stretch; /* Firefox */
    -webkit-border-image:linear-gradient(to left, rgba(255, 255, 255, 1) 1%, rgba(250, 206, 138, 1) 50%, rgba(255, 255, 255, 1) 100%) 100% 0 100% 0/3px 0 0 0 stretch; /* Safari & Chrome */
    -o-border-image:linear-gradient(to left, rgba(255, 255, 255, 1) 1%, rgba(250, 206, 138, 1) 50%, rgba(255, 255, 255, 1) 100%) 100% 0 100% 0/3px 0 0 0 stretch; /* Opera */
}
/* ---------------------------------------------------------------------------
Product Archive
--------------------------------------------------------------------------- */
.post-type-archive-product .sidebar, .tax-product-category .sidebar {
	
}
.post-type-archive-product .sidebar h4, .tax-product-category .sidebar h4 {
	font-size: 20px;
	margin-bottom: 30px;
}
.post-type-archive-product .sidebar ul, .tax-product-category .sidebar ul {
	list-style: none;
	margin: 0;
}
.post-type-archive-product .sidebar li, .tax-product-category .sidebar li {
	display: block;
	font-size: 18px;
	margin-bottom: 10px;
}
.post-type-archive-product .sidebar li::after, .tax-product-category .sidebar li::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f105";
	float: right;
}
.post-type-archive-product .item, .tax-product-category .item, .single-product .item, .single-brand .item {
	margin: 5%;
}
.post-type-archive-product .item .title, .tax-product-category .item .title, .single-product .item .title, .single-brand .item .title {
	text-align: center;
	font-size: 20px;
	line-height: 25px;
	padding: 15px 0;
}
/* ---------------------------------------------------------------------------
Product and Brand Single Page
--------------------------------------------------------------------------- */
/*
.single-product #main #content-wrap, .single-brand #main #content-wrap {
	width: 1000px;
}
*/
.single-product .row-container, .single-brand .row-container {
	margin: 50px 0;
}
.single-product .info {
	display: flex;
	flex-direction: column;
	margin-right: 50px;
}
.single-product .equalheight {
	display: flex;
	align-content: stretch;
	align-items: stretch;
}

.single-brand .equalheight {
	display: flex;
	width: 80%;
	margin: 0 auto;
	align-items: center;
}
.single-product .summary {
	border-bottom: 3px solid #e60012;
}
.single-product .summary ul {
	list-style: none;
}
.single-product .summary li {
	display: grid;
	grid-template-columns: 25% 75%;
}
.single-product .summary li .title {
	text-align: justify;
	padding: 5px;
	border-right: 1px solid #bfbfbf;
}
.single-product .summary li .content {
	padding: 5px 10px;
}
.single-product .block-bt {
	display: flex;
	align-items: flex-end;
}
.single-product .block-bt ul {
	display: flex;
	justify-content: space-between;
	list-style: none;
}
.single-product .block-bt li {
	display: inline-block;
	padding: 10px 45px;
	margin: 20px 0;
	border: 1px solid #e60012;
}
.single-product .block-bt li:hover {
	color: #ffffff;
	background: #e60012;
}
.single-product .block-content {
	padding: 20px;
}
/* ---------------------------------------------------------------------------
Brand Archive
--------------------------------------------------------------------------- */
.post-type-archive-brand .item {
	margin: 5%;
	padding: 50px;
	border: 1px solid #cbcbcb;
}
.post-type-archive-brand .item img {
	
}
.brand-content {
	text-align: justify;
	letter-spacing: 2px;
}
/* ---------------------------------------------------------------------------
News Archive
--------------------------------------------------------------------------- */
.news .item, .category .item {
	display: flex;
	margin-bottom: 50px;
}
.news .item:nth-child(even), .category .item:nth-child(even) {
	flex-direction: row;
}
.news .item:nth-child(odd), .category .item:nth-child(odd) {
	flex-direction: row-reverse;
}
.news .item .info, .category .item .info {
	flex-grow: 2;
	flex-shrink: 1;
	flex-basis: 55%;
	padding-top: 20px;
	margin-right: 50px;
	border-top: 1px solid #000000;
}
.news .item:nth-child(even) .info, .category .item:nth-child(even) .info {
	margin-left: 50px;
}
.news .item:nth-child(odd) .info, .category .item:nth-child(odd) .info {
	margin-right: 50px;
}
.news .item .img, .category .item .img {
	flex-grow: 1;
	flex-basis: 45%;
	max-height: 300px;
}
.news .item .img img, .category .item .img img {
	height: auto;
	width: auto;
	max-height: 100%;
	max-width: 100%;
}
.news .item .info .title {
	
}
.news .item .info .category, .category .item .info .category, .news .item .info .category a, .category .item .info .category a {
	color: #e5000f;
}
.news .item .info .excerpt, .category .item .info .excerpt {
	text-align: justify;
}
.news .item .info .date, .category .item .info .date {
	padding-bottom: 10px;
	border-bottom: 1px solid #000000;
}
.news .item .info .readmore, .category .item .info .readmore {
	float: right;
	padding: 5px 10px;
	color: #ffffff;
	background: #e60012;
	border: 1px solid #e60012;
}
.news .item .info .readmore:hover, .category .item  .info .readmore:hover{
	color: #e60012;
	background: none;
}
/* ---------------------------------------------------------------------------
Homepage News List
--------------------------------------------------------------------------- */
.home .item {
	display: flex;
	margin-bottom: 50px;
	flex-direction: row;
}
.home .item .info {
	flex-grow: 2;
	flex-shrink: 1;
	flex-basis: 65%;
	padding: 30px;
	background: #ffffff;
	margin-left: -10%;
	margin-top: 2%;
}
.home .item .info .topbar {
	display: flex;
	justify-content: space-between;
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: 1px solid #9f9f9f;
}
.home .item .img {
	flex-grow: 1;
	flex-basis: 40%;
	max-height: 300px;
}
.home .item .img img {
	height: auto;
	width: auto;
	max-height: 100%;
	max-width: 100%;
}
.home .item .info .title {
	
}
.home .item .info .category, .news .item .info .category a {
	color: #e5000f;
}
.home .item .info .excerpt {
	text-align: justify;
}
.home .item .info .date {
	
}
.home .item .info .readmore {
	float: right;
	padding: 0px 50px;
	color: #e60012;
	background: none;
	border: 1px solid #e60012;
}
.home .item .info .readmore:hover {
	color: #ffffff;
	background: #e60012;
}
/* ---------------------------------------------------------------------------
Single Post Table
--------------------------------------------------------------------------- */
.single-post table {
	max-width: 800px;
	margin: 0 auto;
}
/* ---------------------------------------------------------------------------
WPForms Style
--------------------------------------------------------------------------- */
div.wpforms-container-full.wpforms-contact .wpforms-form input[type=submit], 
div.wpforms-container-full.wpforms-contact .wpforms-form button[type=submit] {
	color: #e60012;
	padding: 10px 45px;
	border: 1px solid #e60012;
	background: none;
}

div.wpforms-container-full .wpforms-form input[type=submit]:hover, 
div.wpforms-container-full .wpforms-form input[type=submit]:active, 
div.wpforms-container-full .wpforms-form button[type=submit]:hover, 
div.wpforms-container-full .wpforms-form button[type=submit]:active, 
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover, 
div.wpforms-container-full .wpforms-form .wpforms-page-button:active {
	color: #ffffff;
    background: #e60012;
}
.wpforms-contact .wpforms-submit-container {
	text-align:center;
}
/* ---------------------------------------------------------------------------
Flexslider Style
--------------------------------------------------------------------------- */
#content .flexslider {
	margin: 0 0 20px;
}
.flex-direction-nav {
	line-height: 40px;
}
.product-featured .flex-control-thumbs li {
	width: 12.5%;
}
.slides .flex-direction-nav a:before {
	color: rgba(0, 0, 0, 0.3);
}
#carousel .flex-direction-nav a:before {
	color: rgba(0, 0, 0, 0.3);
	font-size: 20px;
}

/* ---------------------------------------------------------------------------
Responsive Style max-width: 1080px
--------------------------------------------------------------------------- */
@media only screen and (max-width: 1080px) {
	
}
/* ---------------------------------------------------------------------------
Responsive Style max-width: 768px
--------------------------------------------------------------------------- */
@media only screen and (max-width:768px){
	
}
/* ---------------------------------------------------------------------------
Responsive max-width: 480px
--------------------------------------------------------------------------- */
@media only screen and (max-width: 480px) {
	.wpml-ls-item:before {
		display: none;
	}
	.block-title.linear {
		margin-bottom: 25px;
	}
	.single-product .row-container, .single-brand .row-container {
		margin: 50px 0 25px 0;
	}
	.news .item:nth-child(even) , .news .item:nth-child(odd){
		flex-direction: column;
	}
	.news .item:nth-child(even) .info, .news .item:nth-child(odd)  .info {
		margin: 0px;
	}
	.home .item {
		flex-direction: column;
	}
	.home .item .info {
		margin-left: 0;
		margin-top: 0;
	}
	/*
	.post-type-archive-product .row .col-md-4, .post-type-archive-brand .row .col-md-4 {
		width: 50%;
	}
	*/
	.single-product .info {
		margin-right: 0;
	}
	.single-product .summary li {
		grid-template-columns: 40% 60%;
	}
	.single-product .summary li .title {
		font-size: 16px;
	}
	.single-product .summary li .content {
		font-size: 16px;
	}
}