/*
 Theme Name:     Safari Vinegar
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Safari Vinegar Theme
 Author:         David Snyman
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

div#headerBanner {
    margin-top: -81px;
}

.et_pb_module.et_pb_fullwidth_code.et_pb_fullwidth_code_0 {
    padding-top: 0 !important;
}

span.divider {
    width: 2px;
    height: 20px;
    background: #fcca25;
    display: inline-block;
    margin: 0 10px;
}

#main-header .container {
    width: 100%;
}

div#page-container {
    overflow: hidden;
}

.about-textblock-images img {
    width: 50%;
    padding-right: 20px;
}
.about-textblock-images {
    display: flex;
    width: 70%;
    margin-left: 30%;
}



/* Fonts */

@font-face {
	font-family: RobotoCondensed-Regular;
	src: url('/wp-content/themes/SafariVinegar/fonts/RobotoCondensed-Regular.ttf');
}

h1, h2, h3 {
	font-family: RobotoCondensed-Regular;
	line-height: 1.3em;
	color: #000;
}

h2 {
	font-size: 20px !important;
}

.product-categories h2 {
	font-size: 16px !important;
}

.how-to h3 {
	font-size: 16px !important;
}

h2.how-to-nav a {
    font-weight: 300 !important;
    padding: 0 20px;
}

body {
	font-family: RobotoCondensed-Regular;	
	line-height: 1.3em;
	font-size: 16px;
}

a.white {
    color: #fff;
    font-weight: 600;
}

a {
    color: #fcca25;
    font-weight: 600;
}

h1 a {
    font-weight: 300;
}

div#spirit-grape-vinegar a {
    color: #000;
}

div#rice-malt-vinegar a {
    color: #000;
}

div#apple-cider-vinegar a {
    color: #000;
}

div#balsamic-wine-vinegar a {
    color: #000;
}

/* Footer */

footer.et-l.et-l--footer .social-contact img {
    width: 70px;
}

footer.et-l.et-l--footer .social-contact {
   margin-top:0 !important;
}

.footer div {
    width: 23.5%;
	margin-right: 30px !important;
	
}
.footer {
    display: flex;
    align-items: center;
}

.footer div:last-child {
    margin-right: 0 !important;
}

.footer-menu a {
    padding-right: 20px;
    color: #fff;
}

.footer-menu {
    display: flex;
    width: 14% !important;
}


.newsletter {
    width: 33% !important;
    margin-right: 2%;
}

.newsletter p {
    padding: 0;
}

.footer .wpcf7 {
    width: 100%;
}

.newsletter input.wpcf7-form-control.wpcf7-submit {
    padding: 10px 20px !important;
    background: #fcca25;
	width: 25%;
	margin: 0 !important;
}

.newsletter input {
    padding: 10px !important;
    border: none;
	width: 75%;
	margin: 0 !important;
}

.libstar-logo {
    display: flex;
    width: 25% !important;
    align-items: center;
    margin-right: 30px !important;
}

.copyright {
    text-align: left;
	width: 38% !important;
}


/* Text and Body */

.et_pb_row {
    width: 90%;
    max-width: 1280px;
}


/* Home Product Range */

.btn-align .et_pb_text_inner {
    height: 100%;
    padding-bottom: 30px;
}
.btn-align a.align-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.btn-align .et_pb_module {
    height: 100%;
}

/* Recipes */

#recipes ul.et_pb_tabs_controls {
    display: none;
}

.et_pb_tabs {
    border: none;
}

.recipe-details h1:nth-child(2):before {
    content: "|";
    padding: 0 10px;
}

.recipeLoop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 460px;
}

.recipeImage {
    background-size: cover;
    grid-column: 2 / 2;
    grid-row: 1;
}

.recipeLoopContent {
    display: flex;
    padding: 5%;
    position: relative;
    grid-column: 1 / 2;
    grid-row: 1;
}

.recipe-details h1 {
    text-transform: uppercase;
	font-size: 26px;
    border-bottom: 1px solid;
    display: inline-block;
    margin-bottom: 60px;
}

.recipe-details p {
    color: #000;
    font-weight: 300;
    margin: 30px 0;
}

.recipe-details a {
    position: absolute;
    bottom: 15%;
}

.recipeGrid:nth-of-type(1) .recipeLoopContent a {
    color: #fff;
}
.recipeGrid:nth-of-type(1) .recipeLoopContent {
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
    background-size: cover;
}

.recipeGrid:nth-of-type(3n-1) .recipeLoopContent a {
    color: #a37e40;
}
.recipeGrid:nth-of-type(3n-1) .recipeLoopContent h1 {
    color: #a37e40;
}
.recipeGrid:nth-of-type(3n-2) .recipeLoopContent h1 {
    color: #fff;
}
.recipeGrid:nth-of-type(3n-2) .recipe-details a {
    color: #fff !important;
}
.recipeGrid:nth-of-type(2) .recipeLoopContent {
    background: #f7f5ed;
	grid-column: 2 / 2;
    grid-row: 1;
}
.recipeGrid:nth-of-type(2) .recipeImage {
	grid-column: 1 / 2;
    grid-row: 1;
}

.recipeGrid:nth-of-type(3n) .recipeLoopContent h1 {
    color: #a37e40;
}

.recipeGrid:nth-of-type(3n) .recipeLoopContent a {
    color: #a37e40;
}

.recipeGrid:nth-of-type(4) .recipeLoopContent {
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
	grid-column: 2 / 2;
    grid-row: 1;
}
.recipeGrid:nth-of-type(4) .recipeImage {
	grid-column: 1 / 2;
    grid-row: 1;
}

.recipeGrid:nth-of-type(4) .recipeLoopContent a {
    color: #ffffff;
}
.recipe-product img {
    max-height: 520px;
}

.recipe-details {
    width: 100%;
    padding: 10% 5% 10% 10%;
}

.et_pb_tab {
    padding: 0;
}

.recipeGrid:nth-of-type(2n) .recipeLoopContent {
	grid-column: 2 / 2;
    grid-row: 1;
}
.recipeGrid:nth-of-type(2n) .recipeImage {
	grid-column: 1 / 2;
    grid-row: 1;
}

.recipeGrid.category .recipeLoop:nth-of-type(2n) .recipeLoopContent {
	grid-column: 2 / 2;
    grid-row: 1;
}
.recipeGrid.category .recipeLoop:nth-of-type(2n) .recipeImage {
	grid-column: 1 / 2;
    grid-row: 1;
}

.recipeGrid:nth-of-type(3n+1) .recipeLoopContent {
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
}
.recipeGrid:nth-of-type(3n-1) .recipeLoopContent {
    background: #f7f5ed;
}

.recipeGrid.category .recipeLoop:nth-of-type(3n+1) .recipeLoopContent {
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
}

.recipeGrid.category .recipeLoop:nth-of-type(3n-1) .recipeLoopContent {
    background: #f7f5ed;
}

.recipeGrid.category.howTo .recipeLoop:nth-of-type(2n) .recipeLoopContent {
    background: #fff;
}

.howTo .recipeLoopContent .recipe-details {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
}
.recipeGrid.category.howTo .recipeLoop:nth-of-type(2n-1) .recipeLoopContent {
    background: #f5f2e9;
}

.recipeGrid.category .recipeLoop:nth-of-type(3n-1) .recipeLoopContent a {
    color: #a37e40 !important;
}
.recipeGrid.category .recipeLoop:nth-of-type(3n-1) .recipeLoopContent h1 {
    color: #a37e40;
}

/* Recipe Single */

.recipeContent {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 60px;
	row-gap: 40px;
	align-items: start;
}

.productImage {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.recipeDetails {
    grid-column: 3 / 6;
    grid-row: 2;
	align-self: start;
}

.recipeMethod {
    grid-column: 6 / 10;
    grid-row: 2;
    padding-left: 60px;
}

.divider-line {
    grid-column: 6 / 6;
    grid-row: 2;
    height: 100%;
    width: 2px;
    background: #a37e40;
}

.recipeButtons {
    grid-column: 1 / 10;
    grid-row: 1;
    text-align: right;
}

.recipeButtons button {
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
    background-size: cover;
    color: #fff;
    margin-left: 15px;
    padding: 5px 20px;
    border: none;
    font-size: 16px;
    font-weight: 600;
}

.recipeButtons a {
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
	background-size: cover;
    color: #fff;
    margin-left: 15px;
    padding: 5px 20px;
}

.header {
    grid-column: 3 / 6;
    grid-row: 1;
}

.topDetails {
    margin-bottom: 30px;
    margin-top: 30px;
}

.topDetails p {
    padding: 0;
}

.middleDetails {
    margin-bottom: 30px;
}

.topDetails h2 {
    margin-bottom: 30px;
}

.recipeContent h3 {
    font-weight: 600;
}

/* Sliders */

div#headerBanner .et_pb_module {
    padding: 0 !important;
}

.bannerContainer img {
    position: absolute;
    top: 0;
    left: 0;
}

.homeSlider {
    height: 52vw;
    overflow: hidden !important;
}

.bannerContainer {
    height: 52vw;
    overflow: hidden !important;
    position: relative;
}

img.icon {
	animation: moveup 3s;
    z-index: 2;
}

img.fruit {
	animation: moveup 3s;
}

img.product {
	animation: moveproduct 5s;
}

img.heading {
	animation: hidetext 5s;
}

@keyframes moveup {
  0% {top: 100%;}
  100% {top: 0;}
}

@keyframes moveproduct {
  0% {top: 100%;}
  50% {top: 100%;}
  100% {top: 0;}
}

@keyframes hidetext {
  0% {opacity: 0;}
  50% {opacity: 0;}
  100% {opacity: 1;}
}

/* Products Single */

.et_pb_title_container h1 {
    font-size: 36px;
    font-weight: 600;
}

.productImages img {
    max-height: 600px;
}

.productImages {
    padding: 0 30%;
    margin: 0 auto;
    border-left: 2px solid #a07a3c;
}

.product-tabs ul.et_pb_tabs_controls {
    background-color: transparent;
}

.product-tabs .et_pb_tabs_controls li {
    border: none;
	border-right: 1px solid #000;
    text-transform: uppercase;
	height: 16px !important;
	line-height: 16px;
}

ul.et_pb_tabs_controls li:last-child {
    border-right: none;
}

ul.et_pb_tabs_controls:after {
    border-top: none;
}

.product-tabs {
    border: none;
}

.productAbout {
    padding-top: 50px;
}

.product-tabs .et_pb_tabs_controls li:first-child a {
	padding-left: 0;
}

.product-tabs .et_pb_tabs_controls li a {
    padding: 0 30px;
    font-weight: 300;
}

.et_pb_tab_active a {
    font-weight: 900 !important;
}

a.product_back {
    color: #a07a3c;
}

.productAbout p {
    line-height: 2em;
}

/* Products Full */

.acv-products-align {
    align-items: flex-end;
}

/* Related Products */

.related-product img {
    width: auto;
    height: 320px;
    margin-bottom: 30px;
}
.related-product {
    width: 33%;
    text-align: center;
}
.related-product-container {
    display: flex;
    align-items: flex-end;
}
.productLoop {
    text-align: center;
}
.productLoop .productImage img {
    height: 400px;
    width: auto;
    margin-bottom: 30px;
}
.productsGrid .productLoop:last-child {
    margin-right: 0;
}
.productsGrid .productLoop {
    width: 32%;
    margin-right: 2%;
}
.productsGrid {
    display: flex;
}

/* product Animation */

.prod-shake img:hover {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s;

  /* When the animation is finished, start again 
  animation-iteration-count: infinite;*/
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* COntact Us */

.social-contact {
    display: flex;
    margin-top: 30px;
    width: 20%;
}

input {
    padding: 10px !important;
    width: 48%;
    margin-right: 2% !important;
    margin-bottom: 2% !important;
}

textarea {
    width: 98%;
    padding: 10px;
}

input.wpcf7-form-control.wpcf7-submit {
    width: 98%;
    background: #fcca25;
    border: none;
}

input[name="your-subject"] {
    width: 98%;
}

/* Related Recipes */

.related-recipeGrid {
    display: flex;
}

.related-recipeLoop:last-child {
    margin-right: 0;
}

.related-recipeLoop a.recipe-button {
    position: absolute;
	left: 50%;
	transform:translateX(-50%);
    bottom: -60px;
    color: #fff;
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
	background-size: cover;
    padding: 10px 20px;
}

.recipeTitle h3 {
    margin-top: 20px;
}
.related-recipeLoop {
    width: 31.4%;
    margin-right: 3%;
    text-align: center;
    position: relative;
}

/* Product Tables */

span.measure {
    float: right;
}

table.product-info {
    width: 100%;
}

table.product-info th {
    border: 1px solid;
    padding: 5px 10px;
}
table.product-info td {
    border: 1px solid;
    padding: 5px 10px;
}

a.how-to-btn {
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: url(https://safarivinegar.co.za/wp-content/uploads/2021/09/gold-bg.jpg);
    background-size: cover;
    padding: 10px 20px
}

/* How To Recipes */

.recipe-how-to {
    text-align: center;
}

.recipe-how-to a {
    display: inline-block;
    margin-top: 30px;
    background: #B79568;
    padding: 5px 20px;
    color: #fff;
    position: absolute;
    bottom: -50px;
	left: 50%;
	transform: translatex(-50%);
}

.recipe-how-to {
    position: relative;
    height: 100%;
    min-height: 420px;
}

.recipe-how-to .recipeImage {
    margin-bottom: 20px;
}

.rhtGrid {
    position: relative;
    display: flex;
}

.recipe-how-to {
    width: 31.3%;
    margin-right: 3%;
}

.productTitle {
    color: #B79568;
}

/* Mobile */

@media (max-width:979px) {
.howTo .recipeLoopContent .recipe-details {
    position: relative;
    top: 0;
    transform: none;
    width: 100%;
}
h2.how-to-nav a {
    font-weight: 300 !important;
    padding: 0 10px;
    font-size: 16px;
}
div#spirit-grape-vinegar a {
    color: #000;
}
div#rice-malt-vinegar a {
    color: #000;
}
div#apple-cider-vinegar a {
    color: #000;
}	
div#balsamic-wine-vinegar a {
    color: #000;
}	
.related-product-container {
    display: initial;
}

.related-product {
    width: 100%;
}
.recipeContent {
    display: initial;
}

.recipeMethod {
    padding-left: 0;
}

.recipeButtons {
    text-align: left;
}

.recipeButtons a {
    font-size: 12px;
    margin-left: 0;
    margin-right: 5px;
}

.recipeButtons button {
    font-size: 12px;
    margin-right: 5px;
    margin-left: 0;
}
header#main-header {
    padding-bottom: 0 !important;
}
.related-recipeGrid {
    display: initial;
}
.related-recipeLoop {
    width: 100%;
    margin-bottom: 50px;
}
.related-recipeLoop a.recipe-button {
    position: relative;
    left: auto;
    bottom: -20px;
}
.footer div {
    width: 100% !important;
    margin-bottom: 40px;
}
.footer {
    display: initial;
}
.footer .wpcf7 {
    margin-bottom: 0;
}
span.select_page {
    display: none !important;
}
div#et_mobile_nav_menu {
    margin: 0 !important;
}
div#et-top-navigation {
    position: absolute !important;
    top: 0;
}
.logo_container {
    padding-bottom: 20px !important;
}
.et_header_style_split .et_mobile_menu {
    top: 43px;
}
div#headerBanner {
    padding-top: 63px;
}
header#main-header {
    background: #000000;
}
	
.recipeLoop {
    display: initial;
}
.recipeImage {
    display: block;
    height: 300px;
}
.recipe-details h1 {
    font-size: 18px;
    margin-bottom: 40px;
}
.recipe-details a {
    position: absolute;
    bottom: 9%;
}
.recipe-details p {
    margin: 20px 0 30px;
}
.recipe-details {
    padding: 10% 3% 10% 2%;
}
.et_pb_accordion_item {
    padding: 20px 0 0;
    border: none;
	    background: #fff
}
h5.et_pb_toggle_title {
    display: inline-block;
    position: relative;
    bottom: 20px;
    margin-left: 20px;
    width: 70%;
}
.rhtGrid {
    display: initial;
}
.recipe-how-to {
    width: 100%;
    margin-right: 0;
}
.recipe-how-to .recipeImage {
    height: auto;
}
.recipe-how-to {
    margin-bottom: 80px;
}
ul.et_pb_tabs_controls li a {
    padding: 0 10px !important;
}
ul.et_pb_tabs_controls {
    display: flex;
}
.et_pb_title_container h1 {
    font-size: 24px;
    font-weight: 600;
}
.productImages {
    padding: 0 30%;
    margin: 0 auto;
    border-left: none;
}
.productsGrid .productLoop {
    width: 100%;
    margin-bottom: 50px;
}
.productsGrid {
    display: initial;
}
div#homeProducts img {
    padding: 30px 40px;
}
	
div#homeProducts {
    display: initial;
}
}

/* Home Slider */

.et_pb_slide {
    padding: 0 !important;
}

.et_pb_slide_description {
    padding: 0 !important;
}

.et_pb_slide .et_pb_container.clearfix {
    height: 100% !important;
    min-height: 100px !important;
}

/* use Cases */

.product-use {
    width: 60px;
    margin-right: 10px;
}
.product-uses-container {
    display: flex;
}

