/*
 Theme Name:   Genesis Block Theme Child
 Theme URI:    https://davenicosia.com
 Description:  Genesis Block Theme child theme
 Author:       Dave Nicosia
 Author URI:   https://davenicosia.com
 Template:     genesis-block-theme
 Version:      1.0
*/

#page {
    padding-top: 0;
}

.site-title-wrap .custom-logo {
    width:  220px;
    max-width:  100%;
}

.site-header {
    background:  #fff;
}


.gb-layout-hero-1 h1 {
    text-shadow: 0 0 20px rgb(0, 0, 0, 0.1);
}

.main-navigation .sub-menu, .main-navigation .children {
    background: #00807e;
}
.site-header .sub-menu::before {
    border-bottom: 8px solid #00807e;
}

.main-navigation a {
    color: #4e403b;
}

.main-navigation li ul a, .main-navigation li ul li a {
    color: #fff;
}
.main-navigation li ul li:hover {
    background: #4e403b;
    color:  #fff;
}

.main-navigation ul li.current-menu-item ul a, .main-navigation ul li.current-page-item ul a {
    color:  #fff;
}

.wp-block-button__link {
    background: #00807e;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
}
.wp-block-button__link:hover {
    background: #4e403b;
}


.gb-slate-section-hero-with-buttons, .wp-block-genesis-blocks-gb-container.gb-layout-hero-1 {
    background-color:  #4e403b !important;
}

body.home .gb-slate-section-hero-with-buttons, body.home .wp-block-genesis-blocks-gb-container.gb-layout-hero-1 {
    background-color:  #00807e !important;
}


.site-content {
    padding:  0;
}

body .gb-button, body .nf-form-content button, body .nf-form-content input[type=button], body .nf-form-content input[type=submit], .wp-block-file a.wp-block-file__button {
    color: #fff !important;
    background-color: #00807e !important;
    border-radius: 9999px;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: 1.125em !important;
    padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
    text-align: center;
    text-decoration: none;
    word-break: break-word;
    box-sizing: border-box;
    font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6!important;
    height:  auto!important;
    font-weight: normal;
}
body .gb-button:hover, body .nf-form-content button:hover, body .nf-form-content input[type=button]:hover, body .nf-form-content input[type=submit]:hover, .wp-block-file a.wp-block-file__button:hover {
    background-color: #4e403b !important;
    color:  #fff !important;
}

body.home header#masthead {
    position: absolute;
    top: 0;
    left:  0;
    width:  100%;
    background: transparent;
}

body.home .main-navigation a {
    color:  #fff;
}

body.home .main-navigation ul li.current-menu-item a {
    color:  #fff;
}

figure.float-right img {
    float:  right;
    margin: 0 0 10px 30px;
}

.post-content .wp-block-table td {
    border:  none;
}

.gb-has-custom-background-color .nf-form-content .list-select-wrap .nf-field-element>div, .gb-has-custom-background-color .nf-form-content input:not([type=button]), .gb-has-custom-background-color .nf-form-content textarea {
    background:  #fff;
}

.site-footer {
    background: #f3f9f9;
}

.wp-block-file {
    text-align:  center;
}

.wp-block-file a {
    display:  block;
    margin-top:  10px;
}



@media only screen and (max-width: 640px) {


    figure.float-right img {
        float:  none;
        margin: 30px 0;
        width:  100%;
        max-width: 100%;
    }


}
