/*
Theme Name: IRP Energy 2024
Theme URI: https://www.intergrid.cat
Author: Intergrid
Author URI: https://www.intergrid.cat
Description: Custom Style for IRP Energy
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: irpenergy2024
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.media-text-block-wide > .wp-block-media-text__content {
    padding: 0 0 !important;
}

.media-text-block-wide > .wp-block-media-text__content h2 {
    font-size: 3vw;
}

.wp-block-site-logo {
    padding: 1rem;
}

.wp-block-navigation-item__label {
    color: black;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}

.wp-block-navigation-item__label a:hover {
    color: var(--wp--preset--color--contrast);
    text-decoration: none;
}

.wp-block-navigation a:where(:not(.wp-element-button)):hover {
    text-decoration: none;
}

.wp-block-navigation-item.current-menu-item.wp-block-navigation-link .wp-block-navigation-item__label {
    text-decoration: none;
    color: var(--wp--preset--color--contrast);
}

.wpcf7-form label {
    font-family: 'Helvetica', sans-serif;
    font-weight: 700;
}

.wp-block-navigation-submenu {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}

.wp-block-navigation-item.navigation-contact-menu.wp-block-navigation-link {
    padding: 0.5rem 1rem;
    background-color: var(--wp--preset--color--contrast);
    border-radius: 10px;
}

.floating-form {
    background-color: #b6e4e2;
    background-image:   linear-gradient(to bottom, rgba(45, 115, 99, 0.24), rgba(10, 14, 21, 0.85)),
			url('https://www.irp-energy.com/wp-content/uploads/2024/04/como-instalar-placas-solares.jpg');
    background-size: cover;
    border-radius: 1rem;
    box-shadow: 5px 5px 10px 1px rgba(0,0,0,.2); 
}

.floating-form > div:nth-child(2) {
    background-color: #b6e4e2;
    padding: 2rem;
}

.floating-form input[type=text], input[type=email] {
    width: 85% !important;
}

@media (min-width: 600px) {
    .wp-block-navigation-item.navigation-contact-menu.wp-block-navigation-link.current-menu-item a span {
        color: white;
    }

    .wp-block-navigation-item.navigation-contact-menu.wp-block-navigation-link a span {
        color: white;
    }

    .wp-block-navigation-item.navigation-contact-menu.wp-block-navigation-link:hover a span {
        color: black;
    }
}

@media screen and (min-width: 1200px) {
    div#main {
        margin: 50px;
    }
}

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

}

/* Phones to tablets 767px and below */
@media screen and (max-width: 767px) {

}

/* Phones 480px and below */
@media screen and (max-width: 480px) {
    .contact-details-block {
        padding-top: 2rem;
    }
}
