/*
Theme Name: GeneratePress
Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Version: 3.3.0
Requires at least: 5.2
Tested up to: 6.2
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options

GeneratePress, Copyright 2014-2023 EDGE22 Studios LTD.
GeneratePress is distributed under the terms of the GNU GPL

GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2022 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/

/* Main */

:root{
	--main-color-red: #6b1f2b;
	--secondary-color-green: #008f4a;
	--transparent-color-red: rgb(107 31 43 / 75%);
}

body{
background: #ffffff;
}

main#main{
margin-top: unset;
}

div.inside-article{
padding-top: unset !important;
}

a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, 
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, 
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, 
.main-navigation .menu-bar-item:hover > a, 
.main-navigation .menu-bar-item.sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
color: var(--main-color-red);
}

h1.vc_custom_heading:after{
content: '';
display: block;
width: 35px;
height: 3px;
background: #000000;
margin-top: 15px;
}

@media (max-width: 1150px){

h1{
font-size: 32px !important;
line-height: normal !important;
}	

h2,h3{
font-size: 24px !important;
line-height: normal !important;
}
}

/* Header */

/*nav.main-navigation{
margin-left: unset !important;
}*/

nav.main-navigation div.main-nav{
display: flex;
justify-content: space-between;
}

nav.main-navigation div.main-nav ul li a{
padding-left: 10px;
padding-right: 10px;
}

nav.main-navigation ul li:hover,
nav.main-navigation ul li.menu-item.current_page_item{
border-bottom: 2px solid var(--main-color-red);
}

rs-fullwidth-wrap a.rev-btn{
padding: 10px 20px !important;
height: auto !important;
line-break: normal !important;
}

rs-fullwidth-wrap a.rev-btn:hover{
box-shadow: 7px 7px 5px rgba(0,0,0,.35);
-webkit-transform: translate(-5px, -5px) !important;
transform: translate(-5px, -5px) !important;
}

@media (max-width: 1150px){

rs-fullwidth-wrap rs-layer[data-type="text"]{
font-size: 19px !important;
text-shadow: 1px 1px 4px rgb(0, 0, 0);
}

rs-fullwidth-wrap a.rev-btn{
font-size: 15px !important;
margin-top: 15px !important;
}

div.inside-header.grid-container{
justify-content: space-between;
}

/*div.inside-header.grid-container button[data-nav="site-navigation"] svg{
fill: var(--main-color-red);
}*/
}

/* Index */

section#category-blocks div.vc_col-sm-4 div.wpb_wrapper{
display: grid;
transition: background .4s, box-shadow .4s;
border: 10px solid var(--main-color-red);
}

section#category-blocks div.vc_col-sm-4 div.wpb_wrapper:hover{
box-shadow: 0 0 0 5px var(--secondary-color-green);
}

section#category-blocks div.vc_col-sm-4 div.wpb_wrapper div.wpb_single_image,
section#category-blocks div.vc_col-sm-4 div.wpb_wrapper figure.wpb_wrapper,
section#category-blocks div.vc_col-sm-4 div.wpb_wrapper a.vc_single_image-wrapper,
section#category-blocks div.vc_col-sm-4 div.wpb_wrapper img{
height: 100%;
}

section#category-blocks div.vc_col-sm-4 div.wpb_wrapper h2.vc_custom_heading{
grid-row: 1;
grid-column: 1;
order: 2;
margin: auto 0 35px 0;
background: var(--transparent-color-red);
color: #ffffff;
font-size: 21px;
display: grid;
align-content: center;
width: 100%;
height: 65px;
padding: 10px 0px;
text-align: center;
font-weight: 700;
}

section#category-blocks div.vc_col-sm-4 div.wpb_wrapper h2.vc_custom_heading a{
text-align: center;
}

section#category-blocks div.vc_col-sm-4 div.wpb_wrapper div.wpb_single_image{
grid-row: 1;
grid-column: 1;
order: 1;
}

@media (max-width: 1150px){

section#category-blocks div.vc_col-sm-4:not(:last-of-type){
margin-bottom: 25px;
}
}

/* Contact */

form.wpcf7-form{
display: flex;
flex-direction: column;
grid-gap: 15px;
}

form.wpcf7-form span.wpcf7-form-control-wrap{
display: grid;
}

form.wpcf7-form p{
margin-bottom: unset;
}

form.wpcf7-form input{
width: 100%;
}

form.wpcf7-form textarea{
height: 75px;
}

form.wpcf7-form span[data-name="privacy"] span.wpcf7-list-item{
margin-left: unset;
}

form.wpcf7-form span[data-name="privacy"] span.wpcf7-list-item label{
display: grid;
grid-gap: 5px;
align-content: center;
grid-template-columns: auto 1fr;
}

form.wpcf7-form div.submit-container{
display: flex;
}

form.wpcf7-form div.submit-container input.wpcf7-submit{
background: var(--secondary-color-green);
padding: 10px 15px;
margin-right: auto;
margin-top: 25px;
}

/* Footer */

footer#footer{
background: var(--secondary-color-green);
padding-bottom: 35px;
}

footer#footer section#prefooter-map div.vc_column-inner{
padding-left: unset;
padding-right: unset;
}

footer#footer section#prefooter-map iframe{
height: 250px;
}

footer#footer section#footer-content div.icon-container div.wpb_raw_code:first-of-type{
margin-bottom: 15px;
}

footer#footer section#footer-content div.wpb_wrapper,
footer#footer section#footer-content div.wpb_wrapper a,
footer#footer section#footer-content div.wpb_wrapper p{
color: #ffffff;
text-decoration: none;
}

footer#footer section#footer-content div.icon-container p{
margin-bottom: unset;
}

footer#footer section#footer-content div.icon-container div.wpb_wrapper > *{
clear: both;
display: flex;
grid-gap: 5px;
}

footer#footer section#footer-content div.wpb_wrapper svg{
fill: #ffffff;
}

footer#footer section#footer-content div.time-table div.day{
display: grid;
grid-template-columns: 125px auto;
color: #ffffff;
}

@media (max-width: 1150px){

footer#footer section#footer-content{
padding: 0px 35px;
}
}