/*
 Theme Name:   plan to retire
 Theme URI:    https://www.understrap.com
 Description:  plan to retire Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Template:     understrap
 Version:      0.5.3
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/



/*****************************
****  Defaults & Globals
******************************/

body { 
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0;
}

a {
    color: #4CA6CF;
}

h1,
h2,
h4 {
    color: #1b6da6;
    line-height: 1;
}

h1 {
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 1rem;
}

h2 {
    font-size: 20px;
    font-weight: normal;
}

h3 {
    font-size: 20px;
    color: #000;
    font-weight: bold;
}

.header-flex {
    display: flex;
    justify-content: center; 
    align-items: stretch;     
    gap: 0;                 
    width: 100%;
}

 #image-info {
    width: 33.33%;       
    height: 300px;           
    object-fit: cover;     
    object-position: center; 
    
    display: block;
    max-width: 100%;
}

#retirement-logo {
    padding: 20px;
}


#educational-text {
    margin: auto;
    color: #fff;
    background-color: #1b6da6;
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 4px;
    font-size: xx-large;
    margin-top: 2px;
}

#instructor-image {
    height: 200px;
}


/*****************************
****  Components & Elements
******************************/

.white-button {
    background-color: #fff;
    color: #1b6da6;
    display: inline-block;
    padding: .5em .5em;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

/* Gravity Forms Submit Button */
#gform_submit_button_1 {
    color: #fff;
    text-align: center;
    background-color: #1b6da6;
    border: 1px solid #1b6da6;
    text-decoration: none;
    padding: 10px 30px;
}

#gform_submit_button_1:hover {
    color: #fff;
    background-color: #4f999e;
    border: 1px solid #1b6da6;
}



/*****************************
****  Main Content & Wrappers
******************************/

/*
#page-wrapper {
    padding: 2em 1.8em;
}

#content {
    padding-left: 3em;
    padding-right: 3em;
}
*/

/* Space between bottom of contenet and sidebar on mobile */
@media only screen and (max-width: 768px) {
    .content-area {
        padding-bottom: 1rem;
    }
    #retirement-logo{
        height: auto;
    }
}


/*****************************
****  Top Navigation & Banner
******************************/
#wrapper-navbar .navbar {
    background-color: transparent !important;
    padding-top: 0;
    padding-bottom: 0;
}

#wrapper-navbar li a {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

#wrapper-navbar a {
    color: #fff;
}

#wrapper-navbar a:hover {
    text-decoration: underline;
}

#wrapper-navbar li a:hover {
    text-decoration: none;
    color: #fff;
    /*background-color: #4f999e;*/
    background-color: #269ab5;
}

#wrapper-navbar li.current-menu-item a,
#wrapper-navbar li.current-menu-parent > a {
    background-color: #1b6da6;
    font-weight: bold;
}

#wrapper-navbar ul.dropdown-menu li.current-menu-item a {
    background-color: #1b6da6;
}

/* Dropdown Menus */
#wrapper-navbar ul.dropdown-menu {
    border: none;
    color: #fff;
    background: #83c2b9;
}

@media only screen and (max-width: 768px) {
    
    /* Dropdown Menus */
    #wrapper-navbar ul.dropdown-menu {
        border: none;
        color: #fff;
        background: none;
    }
    
}

/* BG Image */
#wrapper-navbar {
    overflow: hidden;
    position: relative;
    background-image: url('/wp-content/themes/plan-to-retire/img/Passport-Background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Title Image */
#wrapper-navbar #NavImageWrapper img {
    margin: auto;
}

/* Hamburger Icon */
.navbar-toggler-icon {
    width: auto;
    height: auto;
}

.navbar-toggler-icon .fa {
    color: #fff;
}



/*****************************
****  Sidebars
******************************/


/* Homepage Sidebar */
/********************/

/* Top Panel Row */
body.home #right-sidebar .panel-grid .top-row {
    background-color: #269ab5;
}

/* Bottom Panel Row */
body.about-the-course #right-sidebar .panel-grid .bottom-row,
body.home #right-sidebar .panel-grid .bottom-row {
    background-color: #1b6da6;
    color: #fff;
}

body.home #right-sidebar .panel-grid .panel-grid-cell {
    padding: 20px;
}

body.about-the-course #right-sidebar .panel-grid .top-row h4,
body.home #right-sidebar .panel-grid .panel-grid-cell h4{
    color:#fff;
}


body.home #right-sidebar .panel-grid .top-row h4 {
    font-size: 20px;
    line-height: 1.25; 
}

/* Read about the course button */
body.home #right-sidebar .panel-grid .top-row a {
    margin-top: .5rem;
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    text-align: center;
    background-color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;color: #fff;
}

body.home #right-sidebar .panel-grid .top-row a:hover {
    background-color: #ddefe2;
    text-decoration: none;
    border: 1px solid #fff;
}

body.home #right-sidebar .panel-grid .bottom-row h4 {
    font-size: 20px;
    line-height: 1.25; 
    color: #fff;
}

body.home #right-sidebar .panel-grid .bottom-row ul {
    padding-left: 20px;
}

/* Button */
body.home #right-sidebar .panel-grid .bottom-row a {
    margin-top: .5rem;
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    text-align: center;
    background-color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;
    color: #1b6da6 !important;
}
body.home #right-sidebar .panel-grid .bottom-row a:hover {
    background-color: #8cc2c9;
    text-decoration: none;
    border: 1px solid #fff;
}

.page-id-580 #right-sidebar {
    display: none;
}


/* About the Course Sidebar */
/****************************/

/* Top Panel Row */
body.about-the-course #right-sidebar .panel-grid .top-row {
    background-color: #1b6da6 !important;
}

/* Bottom Panel Row */
/* body.about-the-course #right-sidebar .panel-grid .bottom-row {
    background-color: #1b6da6;
    color: #fff;
} */

body.about-the-course #right-sidebar .panel-grid .panel-grid-cell {
    padding: 20px;
}

body.about-the-course #right-sidebar .panel-grid .top-row h4 {
    font-size: 20px;
    line-height: 1.25; 
}

/* Explore Course Topics button */
body.about-the-course #right-sidebar .panel-grid .top-row a {
    margin-top: .5rem;
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    text-align: center;
    background-color: #1b6da6;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;color: #fff;
}

body.about-the-course #right-sidebar .panel-grid .top-row a:hover {
    background-color: #ddefe2;
    text-decoration: none;
    border: 1px solid #fff;
}

body.about-the-course #right-sidebar .panel-grid .bottom-row h4 {
    font-size: 20px;
    line-height: 1.25; 
    color: #fff;
}

body.about-the-course #right-sidebar .panel-grid .bottom-row ul {
    padding-left: 20px;
}

/* Register for a Class Button */
body.about-the-course #right-sidebar .panel-grid .bottom-row a {
    margin-top: .5rem;
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    text-align: center;
    background-color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;
    color: #1b6da6 !important;
}

body.about-the-course #right-sidebar .panel-grid .bottom-row a:hover {
    background-color: #8cc2c9;
    text-decoration: none;
    border: 1px solid #fff;
}




/*****************************
****  Home Page
******************************/

/* Targets very specific H4 above class grid in content on Home Page */
body.home .entry-content h4 {
    margin: 1rem 0 .5rem 0;
}

/* Class Date/Time Columns */
#ClassDatesWrapper {
    text-transform: uppercase;
    line-height: 100%;
    
}

#ClassDatesWrapper .panel-grid-cell {
    border: 1px solid #269ab5;
    margin: .5rem 0 1rem 0;
}

/* Empty Class Date */
#ClassDatesWrapper .panel-grid-cell.panel-grid-cell-empty {
    visibility: hidden !important;
}

#ClassDatesWrapper span {
    display: block;
}

#ClassDatesWrapper h3.widget-title {
    text-align: center;
    background-color: #1b6da6;
    color: #fff;
    padding: 5px;
    font-weight: normal;
}

#ClassDatesWrapper .textwidget,
#ClassDatesWrapper .textwidget p {
    text-align: center;
}

#ClassDatesWrapper p {
    font-size: 15px;
    line-height: 1.5;
}

#ClassDatesWrapper .class-date {
    font-size: 36px;
    line-height: 1;
    font-weight: bold;
}
#ClassDatesWrapper .class-time {
    font-size: 20px;
    line-height: 1.5;
}

#ClassDatesWrapper a {
    display: inline-block;
    color: #fff;
    text-align: center;
    background-color: #1b6da6;
    border: 1px solid #1b6da6;
    text-decoration: none;
    padding: 10px 30px;
    margin-bottom: 1rem;
}

#ClassDatesWrapper a:hover {
    color: #fff;
    background-color: #4f999e;
    border: 1px solid #1b6da6;
}

/* Hosted At Info */
body.home .row-3 div:nth-child(2) {
    padding: 1rem 1rem 0 1rem;
    border: 1px solid #1b6da6;
}




/*****************************
****  Course Topics Page
******************************/

body.course-topics .widget_sow-button a {
    color: #fff;
    text-align: center;
    background-color: #1b6da6;
    border: 1px solid #1b6da6;
    text-decoration: none;
    padding: 10px 30px;
}

body.course-topics .widget_sow-button a:hover {
    color: #fff !important;
    background-color: #4f999e !important;
    border: 1px solid #1b6da6 !important;
}

@media only screen and (max-width: 768px) {
    body.course-topics .widget_sow-button a {
        margin-bottom: 1.5rem;
    }
}

body.course-topics .textwidget ul {
    padding-left: 15px;
}

body.course-topics .textwidget hr {
    margin-top: .5rem;
    margin-bottom: 1.5rem;
    background-color: #1b6da6;
}
body.course-topics .session-divider .textwidget hr {
    height: 2px;
}

body.course-topics .disclaimer {
    font-size: .8em;
}




/*****************************
****  Bio Pages
******************************/

.bio-sidebar {
    color: rgb(64,64,64);
}

.bio-content h3 {
    margin: 1em 0;
}

.bio-disclaimer {
    padding-top: 2em;
    font-size: .8em;
    color: rgb(128,128,128);
}

@media only screen and (max-width: 768px) {
    
    .bio-sidebar .sow-image-container {
        text-align: center;
    }
    
    .bio-sidebar p {
        text-align: center !important;
    }
    
    .bio-sidebar {
        margin-bottom: 30px;
    }
    
    .header-flex{
        display: block;

    }
    #image-info{
        width: 100%;
    }
}



/*****************************
****  Footer
******************************/

#wrapper-footer-full {
    color: #fff;
    padding: 2rem 3rem;
    background-image: url('/wp-content/themes/plan-to-retire/img/Passport-Background.jpg');
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1b6da6+50,83c2b9+100 */
    /* background: #1b6da6; Old browsers */
    /* background: -moz-linear-gradient(45deg, #1b6da6 50%, #83c2b9 100%); FF3.6-15 */
    /* background: -webkit-linear-gradient(45deg, #1b6da6 50%,#83c2b9 100%); Chrome10-25,Safari5.1-6 */
    /* background: linear-gradient(45deg, #1b6da6 50%,#83c2b9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b6da6', endColorstr='#83c2b9',GradientType=1 ); IE6-9 fallback on horizontal gradient */
}

#wrapper-footer-full p {
    font-size: .8em;
}

@media only screen and (max-width: 768px) {
    #wrapper-footer-full {
        padding: 2rem 15px 1rem 15px;
    }
}

#wrapper-footer-full hr {
    background-color: #fff;
    margin: .5rem 0 1.5rem 0;
}

#wrapper-footer-full a {
    color: #fff;
    text-decoration: none;
}
#wrapper-footer-full a:hover {
    color: #fff;
    text-decoration: underline;
}

#FooterRegisterButton a {
    font-size: 1em;
    font-weight: bold;
    border: 1px solid #fff;
    padding: 10px 20px;
    display: inline-block;
    text-align: center;
    background-color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    color: #1b6da6 !important;
    margin-bottom: 1rem;
}

#FooterRegisterButton a:hover {
    background-color: #8cc2c9;
    text-decoration: none;
    border: 1px solid #fff;
}




