/** 
Theme Name: rFlex
Theme URI: 
Author: Adrian Rafail
Description: rFlex theme customized for Copywritech
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
**/ 

html {
	overflow-x: hidden;
}

html,
body {
	background: #fff;
	color: #666;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.975rem;
	margin: 0;
	padding: 0;
}

body:not(.home) {
	background: #fff;
}

* {
	outline: none;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

ul li,
ol li {
	list-style: none;
}

.container {
	max-width: 1200px !important;
}

[class^="title-"] br {
	display: none;
}

.title-primary {
	color: #313131;
	font-family: 'Allura', cursive;
	font-size: 4rem;
	font-weight: 500;
	line-height: 1;
	margin: 0 0 1rem;
	padding: 0 0 .5rem;
	position: relative;
	text-rendering: optimizeLegibility;
}

.title-secondary {
	color: #313131;
	font-family: 'Allura', cursive;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 1.5rem;
	padding: 0 0 .5rem;
	position: relative;
	text-rendering: optimizeLegibility;
}

.title-cta {
	color: #f80000;
	font-size: 8rem;
	line-height: 80%;
	margin-bottom: 4rem;
}

.title-cta > span {
	color: #313131;
	display: block;
	font-size: 2rem;
	text-transform: uppercase;
}

.title-caps {
	text-transform: uppercase;
}

.title-primary span {
	display: block;
	font-size: 2.5rem;
	font-weight: 700;
}

[class^="title-"]::after {
	border-bottom: 2px solid #ca2017;
	bottom: 0;
	content: '';
	left: 0;
	position: absolute;
	transition: all .5s;
	width: 13rem;
}

.search-post [class^="title-"]::after {
	border-bottom: 2px solid #d3b379;
}

.title-center {
	text-align: center;
}

.title-center::after {
	left: calc(50% - 6.5rem);
}

.title-right{
	text-align: right;
}

.title-right::after {
	left: auto;
	right: 0;
}
.title-left {
	text-align: left;
}

.title-left::after {
	left: 0;
}

.section-title {
	margin: 1.5rem 0;
}

h3 {
	font-size: 1.5rem;
	font-weight: 600;
}

.no-fat {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.btn {
	border: 3px solid #313131;
	border-radius: 2em;
	display: inline-block;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	letter-spacing: .1125rem;
	padding: 1rem 3.5rem;
	text-transform: uppercase;
	transition: all .5s;
}

.btn-primary {
	font-size: 1.375rem;
}

.btn-primary:hover {
	background: #f80000;
	border-color: #f80000;
	color: #fff;
}

.btn-secondary {
	border: 1px solid #ca2017;
	color: #ca2017;
	font-weight: 400;
	letter-spacing: inherit;
	padding: .5rem 2rem;
}

.btn-secondary:hover {
	background: #ca2017;
	border-color: #ca2017;
	color: #fff;
}

.box-editor p .btn {
	margin-top: 2rem;
}

.box-type-image img {
	height: auto;
	width: 100%;
}

@media (max-width: 991.98px) {
	.btn-secondary {
		font-size: .875rem;
		font-weight: 600;
		padding: .25rem 1.5rem;
	}
}

/*----- home -----*/

/*#home-posts{
	max-height: 360px;
} */

.section-home-posts .pbox-list  {
	max-height: 20rem;
	position: relative;
	overflow: hidden;
}

.section-home-posts .pbox-list img  {
	height: 20rem !important;
	transition: all 1s;
}

.section-home-posts .pbox-list:hover img {
	 transform: scale(1.15);
}

.section-home-posts .box-content {
	background: rgba(0,0,0,.65);
	height: 100%;
	left: 0;
	padding: 0 2rem !important;
	position: absolute;
	top: 0;
}

.section-home-posts h3 {
	color: #fff;
	font-family: 'Allura', cursive;
	font-size: 2.25rem;
	font-weight: normal;
	line-height: 2.5rem;
	margin: 0 0 1.5rem 0;
	text-align: center;
}

.section-home-posts h4 {
	color: #fff;
	font-weight: 400;
	margin: 0 0 1.5rem 0;
	text-align: center;
}

.section-home-posts .btn-secondary {
	border: 1px solid #fff;
	color: #fff;
	font-weight: 400;
}

.section-home-posts .btn-secondary:hover {
	background: #fff;
	color: #313131;
}

.section-home-posts .owl-prev {
	left: 0;
	position: absolute;
	top: calc(50% - 1.09375rem)
}

.section-home-posts .owl-next {
	position: absolute;
	right: 0;
	top: calc(50% - 1.09375rem)
}

.site-hero .owl-next span,
.site-hero .owl-prev span,
.section-home-posts .owl-prev span,
.section-home-posts .owl-next span {
	background: rgba(202,32,23,.5);
	color: #fff;
	cursor: pointer;
	opacity: .75;
	padding: 1rem .75rem;
	transition: all .5s;
}

.site-hero .owl-prev:hover span,
.site-hero .owl-next:hover span,
.section-home-posts .owl-next:hover span,
.section-home-posts .owl-next:hover span  {
	opacity: .95;
}

.home2 {
	border: 3px solid #fff;
	margin: -17rem 0 0;
	z-index: 9991;
}
.home1 {
	margin:3rem 0 0 5rem;
	z-index: 9990;
}

/*----- site-header -----*/

.site-hero .owl-nav {
	position: absolute;
	top: 40%;
	width: 100%;
}

.owl-prev {
	left: 0;
	position: absolute;
	top: 0;
} 

.owl-next {
	position: absolute;
	top: 0;
	right: 0;
}

.search-icon,
.social-icon {
	color: #313131;
	cursor: pointer;
	font-size: 1.5rem;
	transition: all .5s;
}



.social-icon:hover {
	color: #ca2017;
		opacity: 1;
}

.site-hero img {
	height: auto;
	width: 100%;
	}
	
.main-menu {
	background: #d3b379;
}

.search-overlay {
	background: rgba(0,0,0,0.875);

	height: 100vh;
	left: 0;
	position: fixed;
	top: 0;
	width: 100vw;
	z-index: 9999;
}

.search-container {
	border-bottom: 2px solid #d3b379;
}

.search-container input,
.search-container button {
	background: none;
	border: 0;
	color: #fff;
	font-size: 1.75rem;
	opacity: .75;
	padding: .5rem;
}

.search-closer {
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	opacity: .5;
	position: absolute;
	top: 2rem;
	right: 3rem;
}

.slide {
	background-attachment: fixed !important;
	position: relative;
	height: calc(100vh - 175px);
	width: 100vw;
}


.map-box {
	position: relative;
}

.map-box img.map-source{
	filter: grayscale(100%);
	height: auto;
	opacity: .5;
	width: 100%;
}

.map-box .map-pin img {
	height: auto;
	width: 3.25rem;
}

.map-content {
	background: rgba(211,179,121,.5);
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
}   

.map-content .title-center {
	color: #313131;
	font-weight: normal;
	font-size: 1.25rem;
	margin: 1rem 0 2rem;
}

.map-content .title-center,
.map-content .map-link {
	text-align: center;
}

.map-content .btn {
	border-color: #ca2017;
	color: #ca2017;
}

.map-content .btn:hover {
	background: #ca2017;
	color: #fff;
}

.map-content .title-center::after {
	display: none;
}

.section-home-posts .pbox-list {
	position: relative;
}

.section-home-posts .pbox-list h4 {
	display: none;
}

.section-home-posts .pbox-list img {
	height: auto;
	max-width: 100%;
}

.section-home-posts .pbox-list .box-content {
	background: rgba(0,0,0,0.75);
	height: 100%;
	left: 0;
	padding: 1.5rem;
	position: absolute;
	top: 0;
}

.section-home-posts .pbox-list .box-content .title-secondary {
	color: #fff;
	font-size: 2.5rem;
}

h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
	font-weight: 400;
}

#fancybox-content img::after {
	content: attr(alt);
}


.current-lang {
	display: none;
}

@media (min-width: 1200px) { 

.slide-text {
	background: rgba(255,255,255,.75);
	left: 5%!important;
	max-width: 55% !important;
	padding: 3rem;
	position: absolute;
	top: 20%!important;
	z-index: 9990;
}

}


@media (min-width: 1920px) { 

.slide-text {
	background: rgba(255,255,255,.75);
	left: 10%;
	max-width: 45%;
	padding: 3rem;
	position: absolute;
	top: 28%;
	z-index: 9990;
}
}

@media (min-width: 992px) {
	.site-header {
		background: #fff;
		padding: .75rem 0 0!important;
	}
	
	.site-logo img {
		height: auto;
		max-width: 18rem;
	}
	
	.main-menu {
		margin-top: .75rem;
	}
	
	.main-menu .menu {
		align-items: center;
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		width: 100%;
	}
	.main-menu ul li a {
		color: #313131;
		display: block;
		font-family: 'Merriweather', serif;
		font-size: 1rem;
		font-weight: 700;
		padding: .75rem 1rem;
		text-rendering: geometricPrecision;
		transition: all .5s;
	}
	

	.main-menu ul li:hover > a,
	.main-menu ul li a:hover {
		background: #ca2017;
		color: #fff;
	}
	
	.menu-item-has-children > .sub-menu {
		background: #d3b379;
		display: none;
		min-width: 20rem;
	}
	
	.menu-item-has-children {
		position: relative;
	}
	
	.menu-item-has-children:hover > .sub-menu {
		display: block;
		left: 0;
		position: absolute;
		top: 100%;
		z-index: 9998;
	}
	
	.menu-item-has-children:hover .sub-menu .sub-menu {
		background: #e3c794;
		left: 100%;
		top: 0;
	}
	
	.main-menu .sub-menu li {
		display: block;
	}
	
	.main-menu .sub-menu li a {
				border-bottom: 1px solid rgba(255,255,255,0.125);
		display: block;
		padding: .5rem;
	}
	
	.section-home-about img {
		border-radius: 50%;
	}

.slide-text {
	background: rgba(255,255,255,.75);
	left: 10%;
	max-width: 35%;
	padding: 2rem;
	position: absolute;
	top: 27%;
	z-index: 9990;
}

.slide-title {
	border-bottom: 2px solid #ca2017;
	color: #313131;
	font-family: 'Allura', cursive;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
	margin-bottom: 1.5rem;
	padding-bottom: .75rem;
}

.slide-caption {
	color: #666;
	font-size: 1.125rem;
	line-height: 1.75;
}
}

@media (min-width: 992.98px) and (max-width: 1299.98px){
	.main-menu ul li a {
		color: #313131;
		display: block;
		font-family: 'Merriweather', serif;
		font-size: 1rem;
		font-weight: 700;
		padding: .75rem;
		text-rendering: geometricPrecision;
		transition: all .5s;
	} 
}

@media (max-width: 991.98px) {
	.title-primary {
		font-size: 2.5rem;
		font-weight: 400;
	}
	.section-home-posts .pbox-list .box-content .title-secondary,
	.title-secondary {
		font-size: 2rem;
		font-weight: 400 !important;
	}
	
	.site-header {
		background: rgba(211,179,121,.2);
		padding: .5rem 0;
	}
	
	.menu-trigger {
		padding-top: .875rem;
		width: 2rem;
	}
	
	.site-logo {
		padding-left: 0 !important;
		min-height: 40px;
		width: auto;
	}
	
	.section-intro .col-md-4 {
		display: none !important;
	}
	
	.social-mobi {
		left: .5rem;
		position: absolute;
		top: 1.5rem;
	}
	
	.social-icon {
		color: #fff;
		font-size: 2rem;
		/*opacity: .5;*/
	}
	
	.menu-trigger {
		height: 3rem;
		position: relative;
		width: 50%;
		z-index: 9999;
	}
	.menu-line {
		background: #313131;
		height: 3px;
		margin: 0 0 6px 0;
		width: 2rem;
		z-index: 9999
	}
	.menu-line:nth-of-type(3) {
		margin: 0;
	}
	.main-menu {
		display: none;

	}
	.main-menu > ul {
		max-width: 90%;
		margin: auto;
		padding: 3rem 0 1rem;
	}
	.main-menu ul li > ul {
		display: none;
	}
	
	.main-menu ul li.expanded-menu > ul {
		display: block;
	}
	.main-menu ul li {
		position: relative;
		text-align: center;
	}
	.main-menu ul li a {
		border-bottom: 1px solid rgba(255,255,255,0.25);
		color: #313131;
		display: block;
		font-family: 'Merriweather', serif;
		font-size: 1.125rem;
		font-weight: 700;
		padding: .5rem .5rem;
		position: relative;
		text-align: left;
		text-rendering: geometricPrecision;
		transition: all .5s;
	}
	.main-menu ul li li  a {
		font-size: .975rem;
		background: rgba(255,255,255,.05)
	}
	
	.main-menu ul li li li a {
		background: rgba(0,0,0,.025);
		padding-left: 2.5rem;
	}
	
	.main-menu ul li .expander {
		background: rgba(255,255,255,0.125);
		color: #313131;
		font-size: 2rem;
		font-weight: 500;
		padding: .5rem .75rem;
		position: absolute;
		right: 0;
		top: 0;
	}
	
	.main-menu ul li .expander::before {
		content:"+";
	}
	
	.main-menu ul li.expanded-menu > .expander::before {
		content:"-";
	}
	
	.retractor {
		font-size: 4rem !important;
		font-weight: 300 !important;
		top: 0 !important;
	}
	
	.main-menu ul li:not(.menu-item-has-children) .expander {
		display: none !important;
	}
		
	.search-container input,
.search-container button {
	background: rgba(255,255,255,0.25);
}
	
	.show-menu {
		align-content: start;
		display: flex !important;
		height: 100%;
		left: 0;
		overflow: auto;
		padding-top: 2rem;
		position: fixed;
		top: 0;
		width: 100% !important;
		z-index: 9998;
	}
	.show-menu ul {
		margin: auto;
	}
	.close-menu {
		opacity: .5;
		position: fixed !important;
		right: 1rem;
		top: 2rem;
	}
	
	.close-menu .menu-line {
		background: #fff;
	}
	
	.close-menu .menu-line:nth-of-type(1) {
		left: 0;
		position: absolute;
		top: 0;
		transform: rotate(45deg);
		width: 100%
	}
	.close-menu .menu-line:nth-of-type(2) {
		position: absolute;
		right: 0;
		top: 0;
		transform: rotate(-45deg);
		width: 100%;
	}
	.close-menu .menu-line:nth-of-type(3) {
		display: none !important;
	}
	.listing-post {
		padding-bottom: 1rem;
	}
	.slide {
		height: auto;
	}
	.slide-text {
		background: #ebebeb;
		color: #313131;
		font-family: 'Merriweather', serif;
		margin-top: -2rem;
		padding: 1.5rem;
		position: relative;
		text-align: center;
	}
	.slide-title {
		font-size: 1.125rem;
		margin-bottom: 1rem;
	}
	.title-left,
	.title-right {
		text-align: center;
	}
	.title-left::after,
	.title-right::after {
		left: calc(50% - 6.5rem);
	} 
	.box-content {
		padding: 1rem;
		text-align: justify;
	}
	.box-type-spacer > div {
		height: 2rem !important;
	} 

}

/*----- single -----*/

.post-meta {
	margin: 2rem 0;
}

.single-pic img {
	height: auto;
	width: 100%;
}

.entry {
	line-height: 1.75;
}

.entry ul li{
	list-style: disc;
	list-style-position: inside;
}

blockquote {
	border-left: 5px solid #f5f5f5;
	color: #666;
	font-size: 1.125rem;
	font-style: italic;
	margin: 2rem 0;
	padding: 0 0 0 1rem;
}

.wp-block-gallery  {
	padding: 1.5rem 0;
}

.entry ul,
.entry ol {
	margin: 0 0 0 1rem;
}

.alignright {
	float: right;
	margin: 0 0 1.5rem 1.5rem;
	
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1.5rem 0;
	max-width: 100%;
}

.aligncenter,
.alignnone {
	clear: both;
	margin: 1.5rem auto;
}

.widget .aligncenter,
.widget .alignnone {
	margin: 0 auto .25rem;
	opacity: .75;
	transition: all .5s;
}

.widget .aligncenter:hover,
.widget .alignnone:hover {
	opacity: 1;
}

.entry img {
	height: auto;
	max-width: 100%;
}

.entry h2 {
	clear: both;
	color: #313131;
	font-family: 'Merriweather', serif;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.125;
	margin: 0 0 1.5rem!important;
    padding: 0 0 1rem!important;
    position: relative;
	text-align: center;
    text-rendering: optimizeLegibility;
}

.entry h3 {
	clear: both;
	color: #313131;
	font-family: 'Merriweather', serif;
	font-size: 1.975rem;
	font-weight: 400;
	margin: 0 0 1.5rem;
    padding: 0 0 1rem;
    position: relative;
	text-align: center;
    text-rendering: optimizeLegibility;
}

.entry h4 {
	clear: both;
	color: #313131;
	font-family: 'Merriweather', serif;
	font-size: 1.875rem;
	font-weight: 400;
	margin: 0 0 1.5rem;
    padding: 0 0 1rem;
    position: relative;
	text-align: center;
    text-rendering: optimizeLegibility;
}

.entry h5 {
	color: #313131;
	font-family: 'Merriweather', serif;
	font-style: italic;
	font-size: 1.75rem;
	font-weight: 400;
	text-align: center;
}

.entry h6 {
	color: #313131;
	font-family: 'Merriweather', serif;
	font-style: italic;
	font-size: 1.675rem;
	font-weight: 400;
	text-align: center;
}


.entry h2::after,
.entry h3::after,
.entry h4::after,
.entry h5::after,
.entry h6::after{
    border-bottom: 2px solid #ca2017;
    bottom: 0;
    content: '';
    left: calc(50% - 6.5rem);
    position: absolute;
    transition: all .5s;
    width: 13rem;
}

.entry * + h2,
.entry * + h3,
.entry * + h4,
.entry * + h5,
.entry * + h6 {
	margin-top: 2.5rem;
}

figcaption {
	
	display: block;
	font-size: .875rem;
	margin: 0 !important;
	text-align: center;
	width: 100%;
}

.section-contact-info .far,
.section-contact-info .fas {
	color: #ca2017;
	margin-right: .5rem;
}

.entry table {
	margin: 0 auto;
}

.entry h2 {
	font-size: 1.25rem;
	margin: 0;
	padding: .5rem;
	text-transform: none !Important;
}

.entry td h2:after {
	display: none;
}

.page-id-342 .entry .pricing-table  tr td,
.entry .pricing-table  tr td {
	border-left: 1px solid #fff;
	padding: .5rem;
}

.entry .pricing-table  tr td:first-child {
	border: 0;
}

.entry .pricing-table tr {
	background: #f6f5f5;
	border-bottom: 1px solid #fff;
}
.entry .pricing-table  td {
	background: #f6f5f5
}

.entry .pricing-table  td[colspan="2"] {
	background: #ebebeb;
	color: #313131;
	text-transform: uppercase;
	text-align: center;

}

.project-child  img {
	height: auto;
	width: 100%;
}

.project-child {
	position: relative;
}

.project-child span {
	height: 100%;
	position: absolute;
	
}

.post-pic {
	
	max-height: 160px;
	overflow: hidden;
	
}

@media (min-width: 992px) {
	main.single-page,
	main.single-post {
		padding: 2rem 0;
	}
	.single-pic {
		margin-bottom: 2rem;
	}
	.post-meta li {
		font-size: .875rem;
		opacity: .875;
		padding: 0 1rem 0 0;
		text-transform: uppercase;
	}
	.post-meta li a {
		color: #313131;
	}
	.post-meta li .far,
	.post-meta li .fas {
		color: #d3b379;
		margin: .25rem .5rem 0 0;
	}
	
}

@media (max-width: 991.98px) {
	main.single-page,
	main.single-post {
		padding: 2rem 0;
	}
	.post-listing {
		padding: 0 !important;
	}
	.navi-container {
		padding: 0 0 2rem 0 !important;
	}
}

/*----- listing -----*/

.blog-title {
	background: #f8f8f8;

	padding: .5rem;
}

.blog-title .title-primary {
	font-family: 'Allura', cursive;
	font-size: 3.5rem;
	font-weight: 400;
	margin: 0;
}

.blog-title .title-primary::after {
	display: none;
}


.blog-title [class^="title-"] {
	padding: 1.25rem 0 .75rem 0;
}

.listing-post img {
	height: auto;
	margin-bottom: 1rem;
	width: 100%;
}

.listing-post .entry {
	padding-bottom: 1rem;
}

.listing-post .title-secondary {
	font-family: 'Merriweather', serif;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 1.125rem 0;
	padding: .75rem 0 .75rem 0;
}

.listing-post:hover .title-secondary::after {
	width: 100%;
}

.post-excerpt {
	padding: 0 0 1rem 0;
}

.navi-container {
	padding: 1rem 0;
}

.wp-pagenavi {
	padding: 1rem;
}

.wp-pagenavi a,
.wp-pagenavi span {
	border: 0;
	font-family: 'Merriweather', serif;
	font-size: 1.25rem;
	padding: .5rem 1rem;
}

.wp-pagenavi a {
	color: #313131;
	transition: color .5s;
}

.wp-pagenavi a:hover {
	color: #ca2017;
}



.wp-pagenavi span.current {
	color: #ca2017
}

@media (min-width: 992px) { 
	.listing-post {
		padding: 1.5rem 1rem;
	}
}

@media (max-width: 991.98px) {

	.blog-title {
		margin-bottom: 2rem;
		padding: 1rem 0;
	}
	
	.listing-post {
		margin-bottom: 2rem;
	}
	
	.listing-post {
		text-align: center;
	}
	
	.listing-post .entry {
		text-align: justify;
	}
	
	.listing-post .btn {
		margin: auto;
	}
	
	span.pages {
		display: block;
		text-align: center;
	}
	.page-id-6563 .entry .pricing-table,
	.page-id-342 .entry .pricing-table,
	.pricing-table {
		max-width: 100% !important;
		width: 100% !important;
	}
	
	.pricing-table tr td{
		display: inline-block;
		font-size: .875rem;
		padding: .25rem;
		max-width: 50%;
		width: 50%;
	}
	.entry .pricing-table  td[colspan="2"] {
	
		max-width: 100%;
		width: 100%;
	}
}

/*----- shop -----*/

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	margin: 0;
	padding: 0 1rem 3rem 0;
	text-align: center;
}

.woocommerce ul.products li.first,
.woocommerce-page ul.products li.first {
	clear: none;
}

.woocommerce-breadcrumb {
	display: none;
}

.prod-listing {
	padding: 3rem 0;
}

.woocommerce-loop-product__title {
	color: #313131;
	font-family: 'Merriweather', serif;
    font-size: 1.25rem !important;
	font-weight: 400;
	text-align: center;
}


.woocommerce ul.products li.product .price {
	color: #ca2017;
	font-size: 2rem !important;
	padding: 1.5rem 0;
	text-align: center;
}

.woocommerce div.product {
	padding: 4rem 0;
}

.woocommerce #content div.product .woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs,
.woocommerce-page #content div.product .woocommerce-tabs,
.woocommerce-page div.product .woocommerce-tabs {
	margin-top: 3rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: #ebebeb;
	border: 0;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-color: #ebebeb;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
	display: none;
}

.prod-title {
	padding-bottom: 3rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #ca2017;
	font-size: 2rem !important;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce ul.products li.product .button {
	background: #d3b379;
	border-radius: 0;
	color: #313131;
	display: inline-block;
	font-weight: 400;
	padding: 1rem 2rem;
	transition: all .5s;
}

.woocommerce #respond input#submit.alt:hover ,
.woocommerce a.button.alt:hover ,
.woocommerce button.button.alt:hover ,
.woocommerce input.button.alt:hover ,
.woocommerce ul.products li.product .button:hover {
	background: #ca2017;
	color: #fff;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
	float: none;
	width: 100%;
}

.quantity {
	float: none !important;
	margin: 0 !important;
	width: 100%;
}

.woocommerce .quantity .qty {
	height: 48px;
	width: 100%;
}

.woocommerce div.product div.summary {
	margin-bottom: 0;
}

.woocommerce #respond input#submit,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: #313131;
	border-radius: 0;
	color: #fff;
	padding: 1rem 2rem;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
		background: #ca2017;
	color: #fff;
}

.woocommerce table.shop_table {
	border-radius: 0;
}

#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
	height: 3rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
box-sizing: border-box;
outline: none;
padding: .675rem;
}
.select2-container .select2-selection--single,
.select2-container .select2-selection--single .select2-selection__rendered {
	height: 41px;
}

.woocommerce form .form-row label {
	color: #313131;
	font-size: .9125rem;
	text-transform: uppercase;
}

.entry .woocommerce h2::after,
.entry .woocommerce h3::after,
.entry .woocommerce h4::after,
.entry .woocommerce h5::after,
.entry .woocommerce h6::after {
	display: none;
}

.entry .woocommerce h2,
.entry .woocommerce h3,
.entry .woocommerce h4,
.entry .woocommerce h5,
.entry .woocommerce h6 {
	text-align: left;
}

.wc_payment_methods li,
.payment_methods li,
.methods li{
	list-style: none !important;
}




@media (max-width: 991.98px) {
	.woocommerce ul.products[class*=columns-] li.product,
	.woocommerce-page ul.products[class*=columns-] li.product {
		margin: 0 0 2rem 0;
		width: 100%;
	}
}


/*----- site-footer -----*/

.site-footer {
	background: #313131;
	color: #a7a3a3;
	padding: 2rem 0;
}

.site-footer .widget-title {
	border-bottom: 2px solid #ca2017;
	color: #fff;
	font-family: 'Merriweather', serif;
	font-size: 1.375rem;
	margin-bottom: 1.5rem;
	padding: .5rem 0;
	position: relative;
	text-transform: uppercase;
}

.site-footer .widget-title::before {
	content:'';
	display: block;
	height: 32px;
	left: 0;
	position: absolute;
	top: 0;
	width: 32px;
	
}

.site-footer .textwidget .btn{
	margin-top: 1rem;
}


.site-footer ul li {
	border-bottom: 1px solid rgba(255,255,255,0.125);
	padding: 0 0 .75rem 0;
	margin: 0 0 .75rem 0;
}

.site-footer .social-icon {
	
	font-size: 2.5rem;
	opacity: .5;
	transition: all .5s;
}

.site-footer .social-icon:hover {

	opacity: .7;
}



.rpwe-block h3 {
	color: #fff;
	font-size: 1.125rem!important;
	font-weight: 500!important;
	/*margin: 0 0 .5rem 0;*/
}
.rpwe-summary {
	font-size: .975rem !important;
	line-height: 1.5rem;
	
}

.rpwe-summary .more-link {
	color: #fff;
	display: block;
	font-size: .875rem!important;
	letter-spacing: .1125rem;
	margin-top: .75rem;
	opacity: .75;
	text-transform: uppercase;
	transition: all .5s;
}

.rpwe-summary .more-link:hover {
	letter-spacing: .125rem;
	opacity: 1;
}
@media (max-width: 991.98px) {
	.site-footer {
		padding: 1rem 0;
	}
	.site-footer .widget {
		padding-bottom: 2rem;
	}
	.map-box {
		border-bottom: 1px solid #fff;
	}
	.map-box .map-pin img {
		width: 2.5rem;
	}
	.map-content .title-center {
		font-size: 1.5rem;
	}
}

.gallery-item img {
	border-color: #fff !important;
	height: auto;
}

.tab-content.current {
	display: block;
}

.tab-content {
	display: none;
}

.ba-gallery img {
	height: auto;
	width: 200px;
}

.ba-tabs {
	background: #f4f5f6;
	margin: auto;
}

.ba-tabs li {
	min-height: 72px;
}
.ba-tabs li span {
	height: 100%;
}

.ba-tab {
	background: #f4f5f6;
	border: 2px solid #f4f5f6;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.125;
	max-width: 150px !important;
	text-align: center;
	white-space: break-spaces;
}

.ba-tab.current {
	background: #fff;
	border-bottom-color: #fff;
}

.ba-gallery {
	justify-content: center;
}

.ba-gallery .alignleft,
.ba-gallery .alignright,
.ba-gallery .aligncenter,
.ba-gallery .alignnone {
	float: none;
	margin: 0;
	
}

@media (min-width: 992px) {

.ba-gallery {
	margin: auto;
	max-width: 1200px;
	padding: 1rem 0;
}

.ba-gallery a {
	min-height: 150px;
	padding: .25rem;
	display: block;
	text-align: center;
	width: calc(100% / 8);
}

.ba-gallery a img {
	max-width: 100%;
}


.ba-gallery a span {
	font-size: 12px;
	line-height: 1;
}

}

@media (max-width: 991.98px) {
	
.ba-tabs {
	overflow-x: scroll;
	justify-content: flex-start !Important;
	
}
	
.ba-tab {
	box-sizing: border-box;
	max-width: 40% !important;
	width: 40% !important;
}
	
.ba-gallery a {
	padding: .25rem;
	display: block;
	text-align: center;
	width: 50%;
}
}

.site-footer #text-3 img {
	max-height: 3rem;
	margin: .25rem;
	width: auto;
}

.box-type-editor .gallery-item {
	margin: 0 !important;
	padding: 0;
}

.box-type-editor .gallery-item a {
	display: block;
}

.box-type-editor .gallery-item img {
	height: auto;
	max-width: 100%;
}

.box-type-map {
	min-height: 15rem;
}

.map-box > img {
	min-height: 15rem;
	width: auto;
}

@media (max-width: 1199.98px) {
	.map-box h2 {
		font-size: 1.25rem !important;
	}
}

@media (max-width: 800px) {
	.section-home-about img {
		max-width: 100% !important;
	}
	.blog-title [class^="title-"] {
		font-size: 2.5rem;
		padding: 0;


	}

}

.wp-pagenavi {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}


.section-home-posts .pbox-list {
	max-height: 20rem;
}
