/*
 Theme Name:   SEMPERFIT
 Template:     oceanwp
*/

html,body {
  overflow-x: hidden;
}

#site-logo #site-logo-inner {
  max-width: 200px !important;
}

a:hover {
  text-decoration: none !important;
}

.container {
  margin: 0 auto !important;
}

header#site-header {
  background-color: #5b5a5d;
  border-bottom: 0;
  z-index: 999999;
}
.home .page-header {
  display: none;
}

/* Header */

.menu_button {
  cursor: pointer;
  font-weight: 900;
  font-size: 20px;
  position: absolute;
  bottom: 7px;
  color: #fff;
  margin-left: 40px;
}


.header_elements {
  float: right;
  height: 74px;
}

.header_elements > div {
  float: left;
}
.header_elements .search_input {
  position: relative;
  top: 50%;
  margin-right: 25px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.header_elements .search_input #search {
  min-width: 280px;
  min-height: 34px;
  padding: 5px 10px;
  background-color: #fff;
  border-radius: 14px;

}

.header_elements .search_input .submit_search {
  position: absolute;
  right: 8px;
  top: 3px;
}

.header_elements .search_input .icon-magnifier {
  font-size: 20px;
  position: absolute;
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 5px 0px;
  font-weight: bold;
}

.header_elements .search_input .submit_search input[type='submit'] {
  opacity: 0;
  width: 30px;
  height: 30px;
  padding: 0;
}

.header_icons .cart-contents {
  display: inline-block;
  margin-top: 11px;
}

.cart-contents-count {
  margin-left: -10px;
  top: 5px;
  position: relative;
}

.cart-contents:before {
    font-family:WooCommerce;
    content: "\e01d";
    font-size:28px;
    margin-top:10px;
    font-style:normal;
    font-weight:400;
    padding-right:5px;
    vertical-align: bottom;
    color: #fff;
}
.cart-contents:hover {
    text-decoration: none;
}
.cart-contents-count {
    color: #fff;
    background-color: #2ecc71;
    font-weight: bold;
    border-radius: 10px;
    padding: 1px 6px;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    vertical-align: top;
}

.login_icon:before {
  font-family: WooCommerce;
  content: "\e03a";
  font-size: 28px;
  margin-top: 10px;
  font-style: normal;
  font-weight: 400;
  padding-right: 5px;
  vertical-align: bottom;
  color: #fff;
}

/* Menu */

.site_menu {
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  z-index: 9999;
  width: 100%;

  height: 500px;
  border-bottom: 2px solid #5b5a5d;

  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -ms-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.site_menu .site_menu_inner {
  left: 0;
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;

  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -ms-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.site_menu.open {
  opacity: 1;
  visibility: visible;
  top: 73px;
}
.admin-bar .site_menu.open {
  top: 106px
}


.site_menu .cat_content,
.site_menu .cat_names {
  background-color: rgba(255,255,255,.9);
}

.site_menu .cat_names {
  padding: 25px 55px;
  border-right: 2px solid #5b5a5d;
}

.site_menu .cat_content {
  flex: 1;
  height: 100%;
  position: relative;
}

.site_menu .menu_prod_cat {
  font-size: 19px;
  color: #5b5a5d;
  text-transform: uppercase;
  padding: 5px 0;
}

.site_menu .menu_prod_cat .cat_text {
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.cat_underline {
  width: 0;
  height: 3px;
  background-color: #a3bd31;

  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

	.site_menu .cat_text:hover .cat_underline,
	.site_menu .menu_prod_cat.active .cat_underline {
		width: 100%;
	}
.menu_prod_cat .triangle {
  opacity: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent #a3bd31;
  position: absolute;
  bottom: 12px;
  right: -15px;

  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.site_menu .menu_prod_cat.active .triangle {
  opacity: 1;
}

.content_cat {
  display: none;
  flex-wrap: wrap;
}

.content_cat.active {
  display: flex;
  height: 100%;
}

.content_subcat {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.content_subcat .subcat_bg {
  transform: scale(1);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -ms-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.content_subcat:hover .subcat_bg {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  background-color: rgba(0,0,0,.7);

  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -ms-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.content_subcat:hover .overlay {
  opacity: 0.6;
}

.content_subcat.half {
  flex: 0 0 50%;
  height: 50%;
}
.content_subcat.third {
  flex: 0 0 33.33%;
  height: 50%;
}


.content_subcat .subcat_title {
  padding: 0 10px;
  width: 100%;
  position: absolute;
  top: 50%;
  text-transform: uppercase;
  text-align: center;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.content_subcat .subcat_title h3 {
  pointer-events: none;
  padding: 10px 15px;
  margin: 0;
  display: inline-block;
  font-size: 19px;
  color: #fff;
  /*background-color: #5b5a5d;*/
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -ms-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.content_subcat:hover h3 {
  background-color: #a3bd31;
}

.goback_menu {
  display: none;
  z-index: 991;
  left: 0;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  color: #fff;
  background-color: #a3bd31;

  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.goback_menu div {
  font-size: 22px;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.toggledLeft {
  left: 0;
}

/* Elements */

.vc_btn3-container {
  display: block !important;
  text-align: center;
}

#content .vc_btn3-container .vc_btn3 {
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  background-color: #a3bd31;
  margin: 20px 0;
}

/* Page */

#main #content-wrap {
    padding-top: 0 !important;
}

.page-header-inner .page-header-title {
  color: #a3bd31;
}

.trail-items a {
  color: #a3bd31;
}
.trail-items a:hover,
.trail-items a:active {
  color: #a3bd31;
}

/* Products */

.woocommerce .woocommerce-ordering .orderby span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.home .woocommerce .products {
  margin-top: 60px;
}

html.home .products.oceanwp-row .col {
  padding: 0 5px;
}

.page .amount,
.product .amount,
html .woocommerce ul.products li.product .price .amount {
  color: #a3bd31;
}


html .woocommerce ul.products li.product .woo-entry-inner li.title {
  text-align: left;
  margin-bottom: 0;
}


html .woocommerce ul.products li.product li.title a {
  color: #727175;
  font-size: 17px;
  line-height: 1.3;
}

html .woocommerce ul.products li.product li.inner {
  text-align: left;
}

html .woocommerce ul.products li.product li.btn-wrap {
  text-align: left;
}

.woo-entry-image img {
  width: 100%;
}
html .woocommerce ul.products li.product .woo-entry-inner li.image-wrap {
  margin-bottom: 0;
}

html .woocommerce ul.products.grid li.product li.category {
  padding: 4px 0;
  background-color: #b1c74e;
}
html .woocommerce ul.products.grid li.product li.category a,
html .woocommerce ul.products.grid li.product li.category a:hover  {
  color: #fff;
}

.single-product .page-header-title {
  display: none;
}

.single-post-title.product_title {
    font-weight: 400;
    font-size: 37px;
    padding: 0;
    border: 0;
}

.woocommerce-product-details__short-description {
	max-width: 400px;
	margin-bottom: 50px;
}

.woocommerce-product-details__short-description p {
	line-height: 1.3;
}

.variations,
.variations tr,
.variations td {
	display: block;
}
.woocommerce div.product form.cart .variations td.label {
	width: 100% !important;
}
.variations .label {
	padding-bottom: 5px !important;
}

.variations .label label {
    font-size: 21px;
    line-height: 1;
    font-weight: 400 !important;
}

.woocommerce div.product form.cart .variations tr:first-child td.value {
	max-width: 250px;
	border: 0;
}

body {
  font-family: 'Roboto', sans-serif;
}

.admin-bar .site_menu.open {
/*top: 73px;*/
}
.site_menu {
    border-left: 2px solid #5b5a5d;
    border-right: 2px solid #5b5a5d;
}
.site_menu .menu_prod_cat .cat_text {
font-size: 16px;
}
.menu_button {
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
  position: absolute;
  bottom: 14px;
  color: #fff;
  margin-left: 40px;
  border-bottom: 2px solid #b1c74e;
  line-height: 1.5;
}
.site_menu {
z-index: 99999;
max-width: 1600px;
margin: auto;
  right: 0;
  left: 0;
}

.row_cats {
margin: 0 -10px;
display: flex;
}
.col_cats {
padding: 0 5px;
width: 33.33%;
}

.home_category {
cursor: pointer;
margin: 10px 0;
height: 296px;
width: 100%;
text-align: center;
}

.home_category.smallSq  {
  height: 350px;
}

.home_category.bigSq {
height: 550px;
}


.home_cat_inner {
height: 100%;
  background-size: cover;
  background-position: center;
}

.overlay {
background-color: rgba(0,0,0,.56);
}

.cat_inner_cont {
display: inline-block;
}

.home_category .subcat_title h3 {
font-weight: 400;
padding: 5px 10px;
}

.flex-viewport {
margin: 0 !important;
}

.flex-control-nav {
margin-top: 20px !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
display: flex;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
width: 33.33% !important;
float: none !important;
margin-right: 0 !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
width: 90%;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li:nth-child(2) {
text-align: center;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li:nth-child(3) {
text-align: right;
}

html .woocommerce div.product .product_title {
font-size: 36px !important;
border-bottom: 0 !important;
padding-bottom: 0;
margin-top: 20px;
}

#content .vc_btn3-container .vc_btn3 {
  margin: 0px 0 20px;
  padding: 13px 30px;
}

/* Prods carousel */

#slider-next,
#slider-prev {
  display: none !important;
}

.caroufredsel_wrapper {
  height: 190px !important;
}
.yith_magnifier_gallery {
  height: 100% !important;
}

.yith_magnifier_gallery li {
  height: 100% !important;
}

.yith_magnifier_gallery li + .yith_magnifier_gallery li {
  padding-right: 5px;
}

a.yith_magnifier_thumbnail.oceanwp-lightbox img {
  width: 100%;
}

/*
* Archive page
*/

.page-subheading {
  display: none !important;
}

.archive .page-header {
  background-size: cover;
  background-position: center;
  height: 300px;
  margin-bottom: 20px;
}

.archive .page-header-title {
  position: absolute;
  bottom: -34px;
  padding: 10px;
  text-transform: uppercase;
  color: #fff;
  background-color: #a3bd31;
}

.archive .page-header-inner {
  height: 100%;
}

.archive .subcatgories_row {
  display: flex;
}

.subcategory {
  width: 16.66%;
  padding: 0 5px;
}

.subcategory .subcat_img {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.subcatgories_row {
  margin-left: -5px;
  margin-right: -5px;
}

.cats_subcategories {
  margin-top: 70px;
}

.subcat_title_archive {
  font-size: 30px;
  margin-bottom: 30px;
}

.subcategory h3 {
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.subcategory:hover h3 {
  background-color: #a3bd31;
  color: #fff;
}

.woocommerce ul.products li.product .outofstock-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  min-height: 0;
  min-width: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  background-color: rgba(63,195,135,0.8);
  color: #fff;
  padding: 8px 12px;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  font-weight: 300;
  z-index: 9;
  background-color: rgba(0,0,0,0.8);
}

/*
* Footer
*/

#footer-widgets {
    margin-top: 70px !important;
}


#media_image-2 {
    margin-top: -118px;
}

.mobile_search {
	display: none;
	visibility: hidden;
	opacity: 0;
    position: absolute;
    width: 100%;
    bottom: -25px;
    background-color: rgba(255,255,255,.9);	
	-webkit-transition: .3s;
	-moz-transition: .3s;
	-ms-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
}

.mobile_search.visible {
	opacity: 1;
	visibility: visible;
	bottom: -45px;
}

/*
* Media Queries
*/

@media(max-width: 1024px) {
  .row_cats {
    flex-flow: row wrap;
  }
  .col_cats {
    flex: 0 0 50%;
  }
  .col_cats:nth-child(3) {
    display: flex;
    flex: 0 0 100%;
  }
  .col_cats:nth-child(3) .home_category + .home_category {
    margin-left: 10px;
  }
  .home_category.smallSq {
    height: 250px;
  }
  .home_category.bigSq {
    height: 350px;
  }
  #media_image-2 {
      margin-top: -95px;
  }
  body .oceanwp-row .span_1_of_6 {
    width: 33.33% !important;
  }
}

@media(max-width: 970px) {
  .content_subcat[data="elems3"] {
    height: 33.33%;
    flex: 0 0 100%;
  }
  .content_subcat[data="elems6"] {
    height: 33.33%;
    flex: 0 0 50%;
  }
}

@media(max-width: 959px) {
  .page-header-title {
    width: auto;
    text-align: center;
  }
  .header_elements .search_input #search {
    min-width: 240px;
  }
}

@media(max-width: 767px) {
  .content_subcat[data="elems2"] {
    height: 50%;
    flex: 0 0 100%;
  }
  .site_menu {
    border-left: 0;
    border-right: 0;
  }
  .site_menu .site_menu_inner {
    width: 200%;
  }
  .site_menu .menu_prod_cat {
    font-size: 17px;
    padding: 8px 0;
    text-align: center;
  }
  .site_menu .cat_names {
    padding: 25px 30px;
    width: 100vw;
  }
  .site_menu .cat_content {
    width: 100vw;
  }
  .goback_menu {
    display: block;
  }
  .toggledLeft {
    left: -100% !important;
  }

  .col_cats {
    flex: 0 0 100%;
  }
  .home_category {
	margin: 5px 0;
    height: 250px !important;
  }
  .col_cats:nth-child(3) {
    display: block;
  }
  .col_cats:nth-child(3) .home_category + .home_category {
    margin: 0;
    margin-bottom: 10px;
  }

  .subcategory .subcat_img {
    height: 130px;
  }
  .search_input {
	position: absolute !important;
    width: 31px;
    height: 31px;
    margin: 0 !important;
    right: 77px;	  
    /*display: none;*/
  }
  .search_input #search {
	display: none;		
  }
  .search_input .submit_search input {
	display: none; 
  }
  .header_elements .search_input .icon-magnifier {
	right: -7px;
    top: -4px;
    color: #fff;	
  }	
  #site-logo #site-logo-inner {
    max-width: 140px !important;
  }
  .site_menu .cat_names {
    border-right: 0;
  }
  #media_image-2 {
    display: none;
  }
  body .oceanwp-row .span_1_of_6 {
    width: 50% !important;
  }
  .mobile_search {
    display: block;
  }
	body.home .woocommerce .products {
		display: flex;
		flex-wrap: wrap;
	}
	.woocommerce .products .product {
		flex: 0 0 50%;
	}
}


@media(max-width: 767px) and (min-width: 580px) {
  body .oceanwp-row .span_1_of_4 {
    width: 50% !important;
  }
}

@media(max-width: 580px) {
	/*
	.woo-entry-image-swap.woo-entry-image {
		height: 280px;
	}
	.woo-entry-image-swap.woo-entry-image img {
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		transform: translateY(-50%);
    	position: absolute;
    	top: 50%;
    	left: 0;
	}*/
	.home_category {
    	height: 120px !important;
	}
}
@media(max-width: 670px) {
  .admin-bar .site_menu.open {
      top: 99px;
  }
  .site_menu.open {
      top: 53px;
  }

  #site-header-inner {
    padding: 0px 0 5px;
  }
  #site-logo {
    float: left;
    height: 100%;
    display: table;
    display: inline-block;
    width: auto;
  }
  #site-logo #site-logo-inner {
    max-width: 140px !important;
    display: inline-block !important;
    height: auto !important;
  }
  #site-logo #site-logo-inner a img {
    width: 85px !important;
	margin-top: 15px;
  }
  .menu_button {
    position: relative;
    font-size: 16px;
    top: 8px;
    display: inline-block;
    margin-left: 40px !important;
  }
  .header_elements {
    float: right;
    height: auto;
    display: inline-block;
    margin-left: 20px;
    margin-top: 5px;
  }
  .cart-contents:before,
  .login_icon:before {
    font-size: 24px;
  }
  .header_icons .cart-contents {
    margin-top: 0;
  }

  .subcategory {
    width: 33.33%;
  }

}

@media(max-width: 414px) {
  .woocommerce .woocommerce-ordering .orderby {
    width: 100% !important;
  }



}
