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

input {
    padding: 15px 30px!important;
    border-radius: 30px;
    border: none !important;
    background: #fff !important;
    margin-right: 10px;
}

input.wpcf7-form-control.wpcf7-submit {
    background: #e30613 !important;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

footer#main-footer input[type="submit"] {
    width: 30%;
    margin: 0 !important;
    color: #fff;
    padding: 15px 10px !important;
}
footer#main-footer input[type="email"] {
    width: 65%;
}

span.ajax-loader {
    margin: 0 !important;
    width: 100% !important;
}

div#page-container {
    padding-top: 0 !important;
}

div#footer-info {
    text-align: center;
    width: 100%;
    font-size: 12px;
}

/* Layout */

img#logo {
    position: relative;
    top: 0px;
    max-height: 150%;
    height: 150% !important;
}

.et_pb_row {
    width: 90%;
    max-width: 1280px;
    margin: auto;
    position: relative;
}

/* typography */

body {
    line-height: 1.5em;
}

h1.banner {
    font-size: 46px;
}

span.big {
    position: relative;
    width: 100%;
    opacity: .1;
    font-size: 150px;
    top: 40px;
    font-family: alpine-script, sans-serif;
    font-weight: 400;
    font-style: normal;
}
a.btn {
    background: #ea082a;
    padding: 10px 30px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
}

span.red {
    color: #ea082a;
}

span.blue {
    color: #00bbb4;
}

/* Footer */

footer#main-footer .container {
    background: url(https://h2otogo.co.za/wp-content/uploads/2021/10/footer-bg-08-scaled.jpg);
    background-size: cover;
    width: 100%;
    max-width: 100%;
    padding: 0 10%;
}

div#footer-bottom .container {
    background: #fff;
}

footer#main-footer h3 {
    color: #fff !important;
}

/* COntact Us */

div#wpcf7-f71-p41-o1 input {
    width: 48%;
    border: 1px solid #ddd !important;
    margin: 0 2% 2% 0;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    border-radius: 30px;
    padding: 30px;
    width: 98%;
    border: 1px solid #ddd;
    margin-bottom: 2%;
    height: 130px;
}

/* Nutritional Facts */

.nutritional-facts.one {
    text-align: right;
}

.factsContainer {
    margin-bottom: 30px;
	position: relative;
}

.factsContainer h4 {
    color: #7a7a7a;
}


.factsContainer img {
    position: absolute;
    width: 50px;
    top: -20px;
    right: 0;
	z-index: -1;
}

.nutritional-facts.two .factsContainer img {
    position: absolute;
    width: 50px;
    top: -20px;
    left: 0;
}

/* Slider */

.product-container {
    display: flex;
    position: absolute;
    top: 0;
    height: 100%;
}

.textbox {
    background: rgba(0,0,0,0.7);
    padding: 12% 4% 5% 6%;
    width: 40%;
    text-align: left;
}

.et_pb_slide_description {
    padding: 0;
}

.et_pb_slide {
    padding: 0;
}

.slider-product img {
    width: 55%;
    position: relative;
    left: 80px;
    top: 80px;
}

.product-slider.glass .slider-product img {
    width: 45%;
    position: relative;
    left: 40px;
    top: 60px;
}

.product-slider.sparkling .slider-product img {
    width: 38%;
    position: relative;
    left: 60px;
    top: 60px;
}

.slider-product {
    width: 60%;
}

.product-slider {
    background-size: cover !important;
    margin-bottom: -20px;
}

.textbox a.btn {
    position: relative;
    top: 30px;
}

.zoom-hover:hover {
    transform: scale(1.1);
    transition: .6s;
}

.zoom-hover{
    transition: .6s;
}

/* Mobile */
@media(max-width:979px) {
h1.big {
    position: absolute;
    width: 100%;
    opacity: .1;
    font-size: 90px;
    top: -40px;
}
h1.banner {
    font-size: 20px;
}

.textbox p {
    line-height: 1.2em;
}

.textbox {
    background: none;
    padding: 0 20px;
    width: 100%;
    text-align: center;
    margin-top: -30px;
}

.product-slider {
    height: 550px;
    margin-bottom: 0;
}
.slider-product {
    width: 100%;
}
.textbox a.btn {
    font-size: 12px;
}
img.flag {
    display: none;
}

.product-container {
	background: rgba(0,0,0,0.7);
    display: grid;
    grid-template-columns: repeat(1, 1fr);
	}
.slider-product img {
    width: 60%;
    position: relative;
    left: 0;
    top: 50px;
}
.slider-product {
  grid-column: 1 / 1;
  grid-row: 1 / 1;
}
.textbox {
  grid-column: 1 / 1;
  grid-row: 2 / 2;
}
.product-slider.sparkling .slider-product img {
    width: 38%;
    position: relative;
    left: 0;
    top: 60px;
}
.product-slider.glass .slider-product img {
    width: 45%;
    position: relative;
    left: 0;
    top: 60px;
}
div#wpcf7-f71-p41-o1 input {
    width: 100%;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    border-radius: 20px;
    padding: 20px 30px;
    width: 100%;
}
}