/*
 Theme Name:   PNM Theme v.2
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*********** PNM CUSTOMER THEME - CUSTOM STYLES ***********/

/* Table of Contents:
 * 1 - Global Styles
 * 2 - Typography
 * 3 - Design Elements
        3A - Buttons
        3B - List Styling
        3C - Table Styling
        3D - Tabs
 * 4 - Header Area
 * 5 - Navigation
 * 6 - Footer
 * 7 - Browser and Device-Specific Display Fixes
 */



/*///////////////////////////////////////////// 1. GLOBAL STYLES /////////////////////////////////////////////*/

body {
    font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif; 
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1178px !important;
}

.elementor-widget:not(:last-child) {
    margin-bottom: 15px !important;
}



/*///////////////////////////////////////////// 2. TYPOGRAPHY /////////////////////////////////////////////*/

h1.elementor-heading-title, h1,
h2.elementor-heading-title, h2,
h3.elementor-heading-title, h3,
h4.elementor-heading-title, h4 {
    color: #1A93B1;
    font-weight: 600;
    line-height: 1.25;
}

h1.elementor-heading-title, h1 {
    font-size: 30px;
}

h2.elementor-heading-title, h2 {
    font-size: 22px;
}

h3.elementor-heading-title, h3 {
    font-size: 20px;
}

h4.elementor-heading-title, h4 {
    font-size: 18px;   
}

p {
    font-size: 16px;
    margin-bottom: 15px;
}

a {
    color: #1A93B1;
    font-weight: 500;
}

a:hover, a:focus {
    color: #23527c;
}



/*///////////////////////////////////////////// 1. DESIGN ELEMENTS /////////////////////////////////////////////*/

/*//////////////////////////////////////////// 3A: Buttons ////////////////////////////////////////////*/

a.elementor-button.elementor-button-link {
    background-color: #1a93b1;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    padding: 12px 20px;
}

a.elementor-button.elementor-button-link:hover,
a.elementor-button.elementor-button-link:focus {
    background-color: #F08200;
    cursor: pointer;
}

@media (max-width: 767px) {
    a.elementor-button.elementor-button-link {
        width: 100%;
    }
}


/*//////////////////////////////////////////// 3B: List Styling ////////////////////////////////////////////*/

.elementor-element ul, 
.elementor-element ol {
    margin-left: 40px;
    margin-top: 12px;
}

.elementor-element ul li, 
.elementor-element ol li {
    font-size: 16px;
    margin-bottom:  12px;
}

.elementor-element ul ul {
    margin-left: 30px;
}


/*//////////////////////////////////////////// 3C: Table Styling ////////////////////////////////////////////*/

table {
    margin: 10px 0 25px;
}

table th, table td {
    border: 1px solid #c9c3b4;
    padding: 10px;
    color: #000;
    font-size: 15px;
}

table th {
    background-color: #efece4;
    font-weight: 600;
}

/* Alternating row color */
table tr:nth-child(odd) {
    background-color: #f2eee463;
}

table td {
    color: #333;
    padding: 7px;
}

/* Email Icon */
table em.far.fa-envelope {
    padding: 0px 15px;
}

/* Incentive Schedule table on Advanced AC Tune-up page */ 
table.custom {
    max-width: 350px;
}

/*** Custom Styling for Responsive Tables ***/

/* Last column width */
.responsive td:last-child {
    min-width: 120px;
}

@media (max-width: 767px) {
    table.responsive, .responsive thead, .responsive th, .responsive tr, .responsive td {
        display: block;
    }

    table.responsive th {
        display: none;
    }

    table.responsive td {
        border-bottom: none;
    }

    table.responsive tr:last-child td:last-child {
        border-bottom: 1px solid #c9c3b4;
    }

    table.responsive td:nth-of-type(1), 
    table.responsive td:nth-of-type(1) a {
        background-color: #028097;
        font-weight: bold;
        color: #fff;
    }

    .responsive tr:nth-child(odd) {
        background-color: #fcfbf9;
    }

    .responsive tr:nth-child(even) {
        background-color: #fcfbf9;
    }
}


/*//////////////////////////////////////////// 3D: Tabs ////////////////////////////////////////////*/

/* Tab title */
.elementor-widget-tabs .elementor-tab-desktop-title, 
.eael-advance-tabs .eael-tabs-nav ul li {
    padding: 15px 25px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    font-size: 16px;
}

.elementor-tab-title, 
.eael-advance-tabs .eael-tabs-nav ul li {
    background-color: #127289 !important;
    color: #fff !important;
}

.elementor-tab-title.elementor-active,
.eael-advance-tabs .eael-tabs-nav ul li.active {
    background-color: #1a93b1 !important;
}

.elementor-tab-title:hover, 
.elementor-tab-title:focus,
.eael-advance-tabs .eael-tabs-nav ul li:hover,
.eael-advance-tabs .eael-tabs-nav ul li:focus {
    background-color: #1a93b1 !important;
}

/* Caret */
.eael-advance-tabs .eael-tabs-nav ul li:after {
    border-top-color: #1a93b1 !important;
}

/* Tab Body */
.elementor-widget-tabs .elementor-tab-content {
    border: 1px solid #ccc !important;
}

/* Shadow on Document thumbnails */
.shadow img, .eael-advance-tabs img {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25) !important;
}

/* Tab image height limit on desktop */
@media (min-width: 992px) {
    .eael-advance-tabs img {
        max-height: 325px;
        width: auto;
    }
}

/* Tab title width on mobile */
@media (max-width: 767px) {
    .eael-advance-tabs .eael-tabs-nav ul li {
        width: 100%;
    }
}


/*///////////////////////////////////////////////////// 4. HEADER AREA ///////////////////////////////////////////////////////*/
/*                                        Includes: Container, Logo, Title & Branding                                         */

.site-branding-container {
    display: flex;
    justify-content: space-between;
    flex: auto;
}

.main-title a {
    font-size: 22px;
    color: #1A93B1;
    font-weight: 500;
    line-height: 1;
}

.main-title a:hover,
.main-title a:focus {
    color: #1A93B1;
}


@media (max-width: 991px) {
    .inside-header {
        padding-right: 20px;
        padding-left: 20px;
        text-align: left;
        align-items: flex-start;
    }

    .site-header .header-image {
        width: 100px;
    }

    .main-title a {
        font-size: 18px;
    }
}

/***************** Hide Page Title *****************/

header.entry-header {
    display: none;
}



/*///////////////////////////////////////////////////// 5. NAVIGATION ///////////////////////////////////////////////////////*/

/***************** Menu body *****************/
.main-navigation .grid-container {
    background-color: #1A93B1;
}

.main-navigation .main-nav ul li a {
    padding-left: 35px;
    padding-right: 35px;
}


/***************** Menu text *****************/
.main-navigation .main-nav ul li a, 
.main-navigation .main-nav ul li.current-menu-item a {
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
}

.main-navigation .main-nav ul li.current-menu-item a {
    background-color: #093A46;
}

.main-navigation .main-nav ul li a:hover, 
.main-navigation .main-nav ul li a:focus {
    background-color: #093A46;
}


/***************** Dropdown Menu *****************/
.main-navigation ul ul {
    width: auto;
    white-space: nowrap;
}

ul.sub-menu li {
    background-color: #1a93b1;
}

.main-navigation.toggled .main-nav ul ul {
    border-bottom: none;
}

.main-navigation .main-nav ul ul li a, 
.main-navigation .main-nav ul li ul li.current-menu-item a,
.main-navigation .main-nav ul li.current-menu-item ul.sub-menu li a {
    padding: 20px 35px;
    font-size: 18px;
    font-weight: normal;
}


/***************** Tablet Menu *****************/
@media (max-width: 991px) and (min-width: 768px) {
    .main-navigation .main-nav ul li a, 
    .main-navigation .main-nav ul li.current-menu-item a {
        font-size: 16px;
        font-weight: normal;
        padding: 0 15px;
    }

    .menu-item-has-children .dropdown-menu-toggle {
        padding-right: 10px;
    }

    .main-navigation .main-nav ul ul li a, 
    .main-navigation .main-nav ul li ul li.current-menu-item a,
    .main-navigation .main-nav ul li.current-menu-item ul.sub-menu li a {
        font-size: 16px;
        font-weight: normal;
        padding: 15px;
        line-height: 1.75;
    }

    .main-navigation ul ul {
        white-space: normal;
        min-width: 220px;
    }
}


/***************** Mobile Menu *****************/
@media (max-width: 991px) {
    ul.sub-menu li {
        background-color: #0e7791;
    }

    .menu-toggle .gp-icon+.mobile-menu {
        display: none;
    }

    .main-navigation .menu-toggle,   
    button.menu-toggle:hover, 
    button.menu-toggle:focus {
        color: #fff;
        font-size: 26px;
        text-align: left;
    }

    .nav-below-header .main-navigation .inside-navigation.grid-container {
        padding: 0;
    }

}



/*///////////////////////////////////////////////////// 6. FOOTER ///////////////////////////////////////////////////////*/

/*********** Top Footer Section ***********/
.site-footer {
    margin-top: 80px;
}

.footer-widgets, 
.footer-widgets a {
    background-color: #1A93B1;
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
}

.site-footer a:hover, 
.site-footer a:focus {
    color: #fff;
}

/* Social Icons */
.site-footer .fab {
    font-size: 20px;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    text-align: center;
    padding-top: 12px;
    margin-right: 10px;
}

.site-footer .fab:hover,
.site-footer .fab:focus,
.footer-widgets a:hover, 
.footer-widgets a:focus {
    color:  #fff;
}

span.social-icon-label {
    display: none;
}


/*********** Bottom Footer Section ***********/
.site-info {
    margin-bottom: -26px;
}

.site-info, .site-info a {
    background-color: #127289;
    color: #fff;
}


/*********** Hide Copyright & GeneratePress text ***********/
.copyright-bar {
    display: none;
}



/*///////////////////////////////////////////////////// 7. BROWSER AND DEVICE-SPECIFIC DISPLAY FIXES ///////////////////////////////////////////////////////*/


@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        body {
            font-family: 'Roboto', sans-serif;
        }
    }
}