/*
Theme Name: Seaweed Store
Author: Rogue Web Design
Author URI: https://roguewebdesign.ca
Description: Custom eCommerce Theme for Seaflora Skincare.
Version: 1.9.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: ocean, nature, responsive, clean
Text Domain: seaflora
*/

/* TYPOGRAPHY */

#loading-page {
    display: none;
}

body {
    --wp--preset--font-size--small: calc(14px + 0.2vw);
    --wp--preset--font-size--regular: calc(16px + 0.2vw);
    --wp--preset--font-size--large:  calc(20px + 0.2vw);
    --wp--preset--font-size--x-large: calc(24px + 0.2vw);
    --wp--style--global--content-size: 1500px;
    --wp--style--global--wide-size: 2000px;
    --wp--style--global--full-width-size: 100vw;
}

.has-regular-font-size {
    font-size: calc(16px + 0.2vw);
}

.schema-data {
    display: none;
}

@media screen and (min-width: 768px) {
    body {
        --wp--preset--font-size--large:  calc(26px + 0.2vw);
        --wp--preset--font-size--x-large: calc(40px + 0.2vw);
    }
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

hr {
    border: 1px solid #ddd;
    opacity: 0.5;
    clear: both;
}
a {
    text-decoration: none;
    color: #34A798;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    margin: 15px 0;
    font-weight: normal;
}

ul {
    margin: 0 30px;
    padding: 0 5px;
}

ul li {
    list-style: disc;
    padding: 5px 0;
}

ol li {
    padding: 10px 0;
}

p {
    margin: 15px 0 25px;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}

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

.border-box {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

blockquote {
    font-style: italic;
    margin: 0;
}

address {
    margin: 10px 0;
}

.green-text {
    color: #101010;
}

.break-title {
    display: block;
    font-weight: bold;
}

.grecaptcha-badge {
    display: none;
}

.newsletter-recaptcha-box-header {
    text-align: right;
    margin-top: 10px;

}

.videoWrapper, .wp-block-embed-youtube .wp-block-embed__wrapper {
	position: relative;
    height: 0;
    margin: 0 auto;
    max-width: 1280px;
    max-height: 720px;
    width: 100%;
    padding-bottom: 56.25%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.videoWrapper iframe, .videoWrapper object, .videoWrapper video, .videoWrapper embed,
.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.open-video-wrapper img {
    opacity: 0.8;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: 100%;
}

.open-video-wrapper:hover > img {
    opacity: 1;
}

body.fixIOSInputBug.modal-open {
    position: fixed;
    width: 100%;
}


#store-maintenance-notice {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 999999;
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    grid-template-columns: 100%;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 50px 4vw;
}

#store-maintenance-notice.show {
    display: grid;
}

.maintenance-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.maintenance-content h3 {
    font-weight: bold;
    font-size: 3.5rem;
}

.close-maintenance-notice {
    padding: 15px 25px;
    background: #34A798;
    color: #ffffff;
    border-radius: 8px;
    display:inline-block;
    cursor: pointer;
}

body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0;
    font-family: 'myriad-pro',sans-serif;
    font-display: swap;
    font-weight: 400;
    font-style: normal;
    font-size: calc(16px + 0.2vw);
}

.sf-info-icon {
    display: inline-block;
    font-size: 15px;
    margin: 0 15px 10px 0;
    color: #101010;
}

.sf-info-icon svg {
    width: 24px;
    fill: #101010;
}

.sf-info-icon svg path {
    fill: #101010;
}

.sf-info-icon span.icon,
.sf-info-icon span.name {
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.sf-info-icon span.name {
    margin-left: 4px;
    font-weight: bold;
}

.toggle {
    display: none;
}

#wrapper {
    min-height: 100vh;
}

.award img {
    display: block;
    width: 300px;
    margin: 20px auto;
    border-radius: 50%;
    box-shadow: 0 0 5px gold;
    margin: 0 auto;
    animation: glowaward 2s linear infinite 0s;
    -webkit-animation: glowaward 2s linear infinite 0s;
    -moz-animation: glowaward 2s linear infinite 0s;
}

.company-logo {
    flex: 0 50%;
    padding: 20px;
    box-sizing: border-box;
}

.company-logo img, .seaflora-award img {
    display: block;
    margin: 0 auto;
}

.award-item-container {
    padding: 0 4vw;
}
.seaflora-award {
    margin: 10px auto;
}

.seaflora-award img {
    max-width: 200px;
    margin: 0 auto 15px;
}

.award-content {
    text-align: center;
    padding: 20px;
}

.article-item {
    background: #fafafa;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
}

.article-item .dashicons {
    vertical-align: sub;
}

h4.award-title {
    margin: 0;
    font-weight: bold;
}

p.award-description {
    margin: 5px 0 0;
    font-style: italic;
}

#page404:before {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-line-side .woocommerce ul.products {
    margin-bottom: 0;
}

.product-line-side .woocommerce ul.products li.product {
    border-bottom: none !important;
    padding-bottom: 5px;
    margin-bottom: 0;
}

/* ==== PAGES ==== */

#main-content, #seaflora-dashboard {
    overflow: hidden;
}

#seaflora-dashboard {
    padding: 60px 4vw;
}


.company-sidebar {
    margin: 0 0 20px;
}

.company-sidebar label {
    display: block;
    margin: 0 0 5px;
}


/* ==== CONTACT PAGE ==== */

#rogue-map-canvas {
    height: 300px;
    width: 100%;
    margin: 0;
    clear: both;
}

#company-contact-form {
    padding: 0 4vw;
    overflow: hidden;
    margin: 20px auto;
}

.contact-links {
    width: 100%;
    overflow: hidden;
    padding: 50px 4vw;
}

.company-info-block {
    width: 100%;
    display: block;
    font-size: 16px;
    overflow: hidden;
    margin: 0 0 20px;
}

.company-info-block .button {
    margin: 0;
}

#contact-map-canvas {
    height: 300px;
    width: 100%;
}

.slide-testimonial {
    font-style: italic;
}

.slide-testimonial span.client-name {
    display: block;
    font-weight: bold;
    margin: 10px 0 0;
    font-style: normal;
    color: #101010;
}

.wp-block-quote cite {
    font-weight: bold;
    font-style: normal;
}

img.seaflora-featured-product {
    display: block;
    margin: 0 auto;
}

.why-partner-top {
    margin-bottom: 40px;
}

.why-partner-top img.circle-image {
    width: 300px;
    margin: 0 auto 40px;
}

.partner-quote blockquote {
    margin: 0 auto 1em;
    font-size: 22px;
}

#canada-shipping {
    background-image: url(images/canada.png);
}

#faqs {
    margin: 40px 0;
}

.single-faq-view {
    padding: 20px;
    background: #fafafa;
    text-align: center;
    margin-top: 10vw;
}

.faq {
    overflow: hidden;
    margin: 0 auto 15px;
}

.faq-header {
    background: #fafafa;
    overflow: hidden;
    padding: 20px;
    cursor: pointer;
    border: 1px solid #eeeeee;
}

.faq-header h3 {
    margin:0;
    font-size: 18px;
    max-width:90%;
    float: left;
}

.faq-header label.faq-switch {
    float: right;
    color: #101010;
}

.faq-header label.faq-switch .dashicons {
    width: auto;
    height: auto;
    font-size: 20px;
    cursor: pointer;
}

.faq-content {
    display: none;
    padding: 15px;
}

.resource-items {
    overflow: hidden;
}

.resource-items {
    margin-top: 20px;
}

.media-item {
    display: block;
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    margin: 10px auto;
    width: 100%
}

.media-item img {
    display: block;
    margin: 0 auto 10px;
}

.resource-item {
    display: table;
    padding: 10px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    margin: 0 auto 10px;
    width: 100%;
}

.resource-title, .resource-item .dashicons {
    display: table-cell;
    vertical-align: middle;
    font-size: 20px;
    cursor: pointer;
}

.resource-item .dashicons {
    width: 28px;
    height: 28px;
    font-size: 28px;
}


.contact-listing-marker {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    background: #ffffff;
    border: 3px solid #101010;
    position: absolute;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    animation-name: bounce;
    animation-fill-mode: both;
    animation-duration: 1s;
    text-align: center;
    transition: all 0.1s;
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -ms-transition: all 0.1s;
    opacity: 1;
    z-index: 6;
}

.contact-listing-marker:hover {
  margin: -25px 0 0 -20px;
  opacity: 1;
  z-index: 9999;
}

.map-marker-icon {
    cursor: pointer;
    position: absolute;
    color: #fff;
    top: 10.5px;
    font-weight: bold;
    left: 12px;
    font-size: 16px;
    z-index: 999;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
}

.map-marker-image {
    cursor: pointer;
    position: absolute;
    top: 3px;
    left: 8px;
    font-size: 16px;
    z-index: 999;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    width: 25px;
}

.recent-post {
    margin: 30px auto;
    overflow: hidden;
    max-width: 400px;
}

.post-thumbnail-box {
    position: relative;
    max-height: 450px;
    overflow: hidden;
}

.post-thumbnail-box img {
    display: block;
    width: 100%;
    transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -moz-transition: all 0.5s ease-in;
}

.post-thumbnail-box:hover > img {
    transform: scale(1.1) rotate(2deg);
    -webkit-transform: scale(1.1) rotate(2deg);
    -moz-transform: scale(1.1) rotate(2deg);
}

.post-content {
    padding: 20px;
}

.post-link {
    font-weight: bold;
}

.recent-post .post-content p {
    margin: 15px 0;
}

.post-meta-data .fa {
    margin: 0 5px 0 0;
}

.meta-data {
    margin-right: 10px;
    font-size: 14px;
}

.navigation {
    margin: 15px auto;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.navigation a, .navigation span.page-numbers {
    padding: 0.5em;
    display: flex;
    font-size: 20px;
    margin: 0.5em 0.2em;
    border-radius: 50%;
    align-items: center;
    align-content: center;
    justify-content: center;
    line-height: 0;
    width: 35px;
    height: 35px;
}

/* Custom Classes */

.button, a.wp-block-button__link {
    display: inline-block;
    padding: 15px 20px;
    margin: 15px 0;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    line-height: 1;
    border-radius: 0;
}

.button:hover > .fa {
    color: #101010;
}

.button.blue-button {
    background: #101010;
    color: #ffffff;
}

.button.blue-button:hover {
    background: #1188da;
}

.button span.dashicons {
    width: auto;
    height: auto;
    font-size: inherit;
}

.large-button {
    font-size: 24px;
}

footer {
    clear: both;
    overflow: hidden;
    width: 100%;
    padding: 20px 0 0;
    margin: 0 auto;
    font-size: 16px;
}

.socialmedia {
    overflow: hidden;
    display: inline-block;
}

.socialmedia a {
    padding: 10px;
    display: block;
    float: left;
    width: 50px;
    text-align: center;
    font-size: 20px;
}

.socialmedia a:hover{
    color: #101010;
}

li.seaflora-leave-review a {
    color: #101010;
    font-weight: bold;
}

li.seaflora-leave-review-proof {
    padding: 0;
}

span.seaflora-leave-review {
    display: block;
    margin: 0 0 60px;
    width: 100%;
}

span.seaflora-leave-review-text {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/* ==== VIDEO ==== */

.seaflora-video {
    position: relative;
	padding-bottom: 56.25% !important; /* 16:9 */
	height: 0;
}

.seaflora-video iframe, .seaflora-video video {
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    box-sizing: border-box;
}

#seaflora-video #video-content {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
}

#seaflora-video #video-content p {
    color: #fff;
    margin: 20px 0 0;
}

.video-content-container {
    padding: 10% 4%;
    margin: 0 auto;
    max-width: 700px;
    float: left;
}
#seaflora-video .video-content-container img {
    max-width: 300px;
}

/* ==== FOOTER ==== */

.footer-bottom {
    overflow: hidden;
    padding: 10px 0;
    margin: 50px 0 0;
}

#footer-navigation ul li {
    padding: 5px 15px;
}

#footer-navigation ul li a {
    padding: 5px;
    display: block;
    text-align: center;
}

.copyright p, .footer-location p {
    margin: 10px 0;
    font-size: 13px;
    text-align: center;
}

.footer-location p {
    font-style: italic;
}

.grid-footer-widgets {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.footer-widget {
    margin-bottom: 1em;
}

.footer-widget ul li ul li {
    border-bottom: none;
}

footer ul {
    margin: 0;
}

footer ul li {
    list-style: none;
}

#page404 {
    text-align: center;
    padding: 250px 0;
    position: relative;
}

#page404 h1 {
    border-left: none;
    font-size: 3em;
    z-index: 1;
    position: relative;
}

#page404 p {
    z-index: 1;
    position: relative;
    font-size: 18px;
}

#page404 a, #page404 .container {
    z-index: 1;
    position: relative;
}

#page404 .search-form {
    margin-top: 2em;
}

/* === TAGS ==== */

a[rel="tag"] {
    padding: 5px;
    display: inline-block;
    margin: 0 0 5px;
    border-radius: 3px;
}

.company-supports {
    overflow: hidden;
    text-align: center;
}

.company-supports .support {
    display: block;
    overflow: hidden;
    width: 320px;
    margin: 0 auto;
}

.company-supports .support a {
    display: block;
    overflow: hidden;
}

.company-supports .support a img.support-image {
    display: block;
}

h3.search-results-title {
    padding: 10px;
    background: #fafafa;
}

.search-results-container {
    overflow: hidden;
}

a.search-result {
    display: block;
    overflow: hidden;
}

a.search-result.search-result-product {
    display: inline-block;
    vertical-align: top;
    width: 47%;
    padding: 10px;
    margin: 0 1% 15px;
    text-align: center;
}

.search-result-product h4 {
    font-size: 16px;
}

.search-result-product img {
    display: block;
    margin: 0 auto;
    transition: all 0.2s ease-out 0s;
    -webkit-transition: all 0.2s ease-out 0s;
    -moz-transition: all 0.2s ease-out 0s;
}

.search-result-product:hover > img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}

a.search-result.search-result-page {
    width: 100%;
    padding: 10px;
    margin: 0 auto 10px;
    border-bottom: 1px solid #eeeeee;
}

a.search-result.search-result-page p {
    color: #101010;
    margin: 15px 0 0;
}

a.search-result.search-result-page h4 {
    color: #101010;
    font-weight: bold;
}

.seaflora-west-coast-support {
    padding: 30px 0 0;
    font-style: italic;
}


@media screen and (min-width: 500px) {

.company-logos {
    flex-wrap: nowrap;
}

}


@media screen and (min-width: 680px) {

.seaflora-award {
    display: grid;
    grid-template-columns: 200px auto;
    align-items: center;
}

.award-content {
    text-align: left;
}


ul.practice-list li {
    display: inline-block;
    vertical-align: top;
    width: 47.5%;
    margin: 0 1% 20px;
}

.company-supports .support {
    display: inline-block;
    vertical-align: middle;
}

.slide-testimonial {
    font-size: 20px;
}

.product-inner {
    display: table-cell;
    vertical-align: middle;
}

.product-inner {
    width: 40%;
}

.faq-header h3 {
    font-size: 20px;
}

.faq-header label.faq-switch .dashicons {
    font-size: 28px;
}

.navigation a, .navigation span.page-numbers {
    margin: 0.5em;
    font-size: 18px;
}

.navigation a span.dashicons {
    font-size: 24px;
}

a.search-result.search-result-product {
    width: 30%;
}

#thank-you-social .socialmedia a {
    width: 80px;
    font-size: 45px;
}

.grid-footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 0.5fr));
}

#footer-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

}

@media only screen and (min-width: 768px) {

#page-header {
    padding: 45px 0;
}

.faq-header label.faq-switch {
    display: block;
}

#footer-nav {
    float: right;
    margin: 10px 0;
}

#footer-nav ul li {
    display: inline;
    margin-right: 5px;
}

footer {
    padding: 50px 0 0;
}

#rogue-map-canvas {
    height: 400px;
}
.award-item-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 0.5fr));
    grid-gap: 20px;
}

}

@media screen and (min-width: 960px) {

#contact-table {
    display: table;
    width: 100%;
}

.contact-links, #message-company {
    display: table-cell;
}

#message-company {
    width: 60%;
}

.contact-links {
    width: 40%;
}

.company-info-block {
    margin: 0 0 20px;
}

label.company-address, .company-info-block .button {
    font-size: 18px;
}

#contact-map-canvas {
    height: 500px;
}

.socialmedia a {
    font-size: 19px;
    width: 50px;
}

#seaflora-video #video-content {
    bottom: 100px;
}

#seaflora-video .video-content-container img {
    max-width: 450px;
}

#seaflora-video #video-content p {
    font-size: 20px;
}

.resource-items {
    margin-top: 0;
}

.seaflora-west-coast-support {
    padding: 50px 0 0;
}

.grid-footer-widgets {
    grid-template-columns: repeat(3, minmax(0, 0.33fr));
}

}

@media screen and (min-width: 1200px) {

 ul.practice-list li {
    width: 31%;
}

.company-supports .support {
    width: 380px;
}

a.search-result.search-result-product {
    width: 22.6%;
}

.awards-text span:before {
    left: -5%;
    width: 110%;
    height: 110%;
}

.award-item-container {
    grid-template-columns: repeat(3, minmax(0, 0.3333fr));
}

}

@media screen and (min-width: 1400px) {

#rogue-map-canvas {
    height: 500px;
}

}


@media screen and (min-width: 2500px) {

.awards-text span:before {
    top: 5%;
}

}
