/*
Theme Name: Studio Spinnato Block Theme
Theme URI: https://github.com/studiopress/genesis-block-theme/
Author: Asher Rosenquist
Author URI: https://mediaworksweb.com/
Template: genesis-block-theme
Description: A theme custom-built for Studio Spinnato, November 2023
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genesis-block-theme
Domain Path: /languages/
*/


body {
    line-height: 1.6;
    background: #fff;
    font-family: raleway, sans-serif;
    min-height: 800px;
    color: #3a3a3a;
}

/* Core functions */

.site-title-wrap {
    display: inline-block;
    vertical-align: top;
    max-width: 15%;
    width: 100%;
    position: relative;
    margin-top: -15px;
}
.top-navigation > .container {
    max-width: 9900px;
    margin: 25px .5em 10px .5em!important;
    padding: 0 !important;
}
.meta-list, .featured-image {
    display: none !important;
}
.single .entry-title {
    margin-top: -145px !important;
}
.wp-block-columns {
    margin: 0;
}
.container {
    padding: 0 5%;
}
.site-content, .alignfull, .alignwide {
    margin: 0;
    padding: 0;
}
.site-header {
    background: none;
}
.site-identity{
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.custom-logo{
    margin: 0 0.5em;
}
.top-navigation-right{
    margin: 0 0 0 auto;
}

.alignwide {
    max-width: 9900px;
}
#page {
    padding: 0;
}
#primary {
    width: 100%;
    max-width: 1400px;
    min-height: 650px;
    padding: 0 5%;
    box-sizing: border-box;
}



                             
/*Site-unique
===============================================================================*/

.intbanner h2 {
    padding: 20px 0;
    font-size: 1.8em !important;
}

.headercall a, .headermail a{
    padding-left: 7px !important;
    padding-left: 7px !important;
    position: relative;
    font-size: 20px;
}
.headercall {
    margin-left: 50px !important;
}
.headermail {
    margin-left: 10px !important;
}

#menu-main-menu {
    margin-right: 10px !important;
}

.homecols {
    gap: 20px;
    user-select: none;
}

.homebox2 {
    transition: .15s linear;
    cursor: pointer;
}

.homebox2 h3 {
    color: white !important;
    letter-spacing: 8px;
}

.homeblur, .intblur {
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    padding: 12px 0 24px 0 ;
}

.intblur h3{
    letter-spacing: 4px !important;
    font-size: 1.35em !important;
}
.intblur p {
    color: white !important;
    margin-bottom: 0 !important;
    font-size: .9em !important;
}

.gspb_container:hover .homebox2 img {
    filter: brightness(.75);
    transition: .15s linear;
}

.ighandle {
    letter-spacing: 8px;
}

.headericons li {
    display: inline-block !important;
    white-space: nowrap !important;
    width: auto !important;

}

.headericons {
    padding-left: 25px;
}

.menu-item-181 > a, .headericons > a, .menu-item-38 a:first-child {
    display: none !important;
}

.headericons li:hover a {
    background-color: transparent !important;
}

.top-navigation-right {
    max-width: 85%;
}

/*Nav
===============================================================================*/

.top-navigation {
    background: #fff !important;
    user-select: none;
}

.site-identity {
    padding: .35em 0 !important;
}

.main-navigation ul {
    position: relative;
    line-height: 1 !important;
    padding-bottom: .8em; 
    padding-top: .4em;
}
.main-navigation li {
    font-size: 1.15em;
    display: inline-block;
    margin: 0 -2px;
    padding: 0 !important;
    font-family: halyard-display, sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
}


/* top-level menu items */
.main-navigation li a {
    color: #313243;
    z-index: 9999;
    height: 1.8em;
    transition: linear 0.08s !important;
    margin-bottom: 0 !important;
    padding: 0em 0em 0 2em;
    line-height: 1.6 !important;
}
.main-navigation li a:hover {
    color: #427698 !important;
}


/* Sub-menus */

/* sub menu container */
.main-navigation .sub-menu {
    opacity: 0;
    background: white;
    left: 0px !important;
    pointer-events: none !important;
    margin: -22px 0 0 -3px !important;
    padding-top: 1em;
    border-radius: 0 !important;
    border-top: none;
    transition: .09s linear;
    box-shadow: 0px 5px 10px rgba(0,0,0,.1);
    width: calc(100% + 120px);
}
.menuspace .sub-menu a, .menuspace .sub-menu li {
    margin-right: 0em !important;
}
.menuspace .sub-menu{
    width: 90% !important;
}

.main-navigation li li{
    font-weight: normal !important;
    font-size: 1.5em;
    margin: 0;
}

/* all sub menu items follow these rules: */
.main-navigation li ul li a {
    color: #313243 !important;
    padding: .15em 0em .15em 2em;
    font-size: 70%;
    width: calc(100% + 0px) !important;
    height: 100% !important;
}




/* Current menu items */

/* links of current menu item */
.main-navigation ul li.current-menu-item a, .main-navigation ul li.current-page-item>a {
    color: #427698;
    z-index: 999999 !important;
    transition: linear 0.15s !important;
    text-shadow: none !important;
    pointer-events: none;
}
/* children of parent menu item, which is the current one */
.main-navigation ul li.current-menu-item ul a, .main-navigation ul li.current-page-item ul a {
    border: none !important;
    background: white !important;
    pointer-events: none !important;
}
/* hover over the above */ 
.main-navigation ul li.current-menu-item ul a:hover {
    background-color: #acacb0 !important;
}







.menu-item-has-children:hover {
    cursor: default !important;
}
/* disable "triangle" on sub menu containers */
.site-header .sub-menu::before {
    display: none !important;
}  

.main-navigation li.noclick {
    cursor: default !important;
}
.main-navigation li.noclick>a {
    pointer-events: none;
}


/* ancestry */
.main-navigation .current-page-ancestor a{
    color: #427698;
}
.main-navigation .current-page-ancestor ul li a {
    outline: none !important;
}



.single h2 {
    font-size: 1.75em !important;
    margin-top: 45px !important;
}
.single h3 {
    font-size: 1.5em !important;
    margin-top: 35px !important;
}
.nodesktop {
    display: none !important;
}




                       
/*Base Elements
===============================================================================*/

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-family: halyard-display, serif;
    margin: 0.5em 0;
    color: #427698;
}

/* hide h1s on pages, screen-reader friendly */
.page .entry-header, .page .entry-title {
    text-transform: none;
    visibility: hidden;
    position: absolute !important;
    left: -9999px;
}
.entry-header {
    margin-bottom: 0 !important;
}
.post-template-default .entry-header, .post-template-default .entry-title {
    display: block !important;
}
.post-template-default .entry-title {
    padding-top: 20px;
}
.post-template-default .entry-content {
    padding-bottom: 50px;
}
.home .entry-header, .home .entry-title {
    margin: 0 !important;
    padding: 0 !important;
}


h2{
    font-size: 3.0em;
    line-height: 108%;
}
h3{
    font-size: 2em;
    margin-bottom: .2em !important;
    font-weight: 300 !important;
}
h4 {
    font-size: 1.45em;
    margin-bottom: .5em !important;
    font-weight: 300 !important;
}
h5 {
    font-size: 1.3em;
}

.entry-byline {
    display: none;
}



/* lists */
.entry-content ul, .entry-content ol {
    margin: 0;
    padding: 0 0 1em 1em;
}
.entry-content li {
    margin: 0 !important;
}
.entry-content ul {
    list-style: none;
}
/* create custom bullets */
.entry-content ul:not(.wp-block-post-template)>li:before {
    content: "";
    border-color: transparent #363;
    border-style: solid;
    border-width: 0.25em 0 0.25em 0.4em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1em;
    position: relative;
}

ul.wp-block-post-template {
    margin-bottom: 3%;
    padding: 0;
}
ul.wp-block-post-template > li + li {
    margin-top: 2em !important;
}



.aligncenter {
    margin-bottom: 0 !important;
}

.entry-content p {
    margin: 0 0 1em
}



/* body links */

.site .entry-content a:hover {
    transition: .09s linear;
}
a img:hover {
    opacity: 0.8;
    transition: .09s linear;
}
img{
    transition: .09s linear;
}


/* buttons */

a.gb-button, a.wp-block-button__link, .pt-cv-wrapper .btn-success, .gform_button {
    background-color: transparent !important;
    font-family: halyard-display, sans-serif !important;
    transition: .075s linear;
    color: #427698 !important;
    user-select: none;
    border: 1px solid #427698 !important;
    border-radius: 0;
    padding: 20px 52px;
    letter-spacing: 4px;
    font-size: 1.25em;
}
a.gb-button:hover, a.wp-block-button__link:hover, .pt-cv-wrapper .btn-success:hover, .gform_button:hover {
    color: white !important;
    background-color: #427698 !important;
}

.gform_button {
    letter-spacing: 2px !important;
}


.home .gb-button {
    margin-top: 20px;
}
.home a.gb-button, .home a.wp-block-button__link, .home .pt-cv-wrapper .btn-success {
    margin-top: 8px !important;
}
.home .gb-block-button {
    margin-bottom: 0 !important;
}

.site-content .wp-block-image {
    margin: 0;
}




/* topbar */


/* gravity forms */

.formbox {
    margin-top: -85px;
    z-index: 99 !important;
    background-color: white;
    box-shadow: 0px 12px 18px rgba(0,0,0,.2); 
}
.gform_heading {
    display: none !important;
}
.gform-body .gfield_label, .gform-field-label {
    font-weight: normal !important;
}
.gfield_required {
    color: #3da1ff !important;
    font-weight: bold !important;
}
.gform_validation_errors h2 {
    font-size: 130% !important;
}


                             
/*Footer
===============================================================================*/

.site-footer li::marker {
    display: none !important;
}

.site-footer {
    padding: 20px 0 0 0;
    background-color: #ffffff !important;
    
}
.site-footer:after {
    content: "";
    background: url(../../../wp-content/uploads/2023/12/footer.png);
    background-size: 100% 130px;
    width: 100%;
    height: 130px;
    left: 0;
    bottom: 0;
    position: absolute;
    display: block;
}

.site-footer li {
    color:#364c60 !important;
    line-height: 175%;
}

.footerbottomlinks, .footerbottomlinks li {
    display: inline-block;
    font-size: 100%;
}

.copyright {
    font-size: 80%;
}

.footerbottomlinks li {
    padding-right: 25px !important;
    text-align: right;
    z-index: 9999 !important;
}

.site-footer a {
    color:#3a3a3a !important;
    z-index: 9999 !important;
    position: relative !important;
}

.mobilespacer {
    display: none
}

.noshadow img {
    box-shadow: none !important;;
}


#sb_instagram > #sbi_images .sbi_item:nth-child(1) {
	padding-left: 0 !important;
}

#sb_instagram > #sbi_images .sbi_item:nth-child(4) {
	padding-right: 0 !important;
}





           
/*Responsive
===============================================================================*/


/* desktop/mobile toggles */

.nodesktop {
    display: none;
}
.nomobile, .notablet {
    display: block;
}

@media (max-width: 1000px) {
	
#page	#sb_instagram > #sbi_images .sbi_item:nth-child(1) {
	padding-left: 5px !important;
}

#page #sb_instagram > #sbi_images .sbi_item:nth-child(4) {
	padding-right: 5px !important;
}

    .headermail    {
        margin-left: 0 !important;
    }
    .headermail  a {
        padding-left: 0 !important;
    }

    .nodesktop {
        display: block !important;
    }

    .notablet {
        display: none !important;
    }

    .mobilespacer {
        display: block !important;
    }
    .reverse-mobile {
        display: grid;
    }
    .reverse-mobile .wp-block-column:nth-of-type(1){
        order: 2;
    }


    /* mobile nav */
    .mobile-navigation {
        background-color: white !important;
    }
    .menu-toggle {
        font-family: halyard-display, sans-serif;
        color:rgb(54, 76, 96);
    }
    .menu-toggle span:hover, .mobile-navigation span:hover, .button-toggle:hover span, .button-toggle:focus {
        color: #acc2d5 !important;
    }

    /* mobile menu bg color */
    .drawer-menu-explore {
        background-color: white !important;
        padding-bottom: 5px !important;
    }
    .drawer-navigation {
        padding: 0 !important;
    }

    .drawer-navigation ul li a {
        color:rgb(54, 76, 96) !important;
    }



    .site-title-wrap {
        max-width: unset !important;
    }
    .custom-logo-link {
        margin-top: 10px !important;
    }




    /* open dropdown button */
    .toggle-sub {
        background-color: white !important;
        border: 1px solid #364c60;
        color:rgb(54, 76, 96) !important;
        padding: 10px 0 !important;
    }
  

    .menusep a{
        border-right: none !important;
    }
    .submenucategory {
        font-size: 1.2em !important;
    }
    .submenucategory a, .sub-menu li.submenucategory:first-child a {
        padding-left: 0 !important;
    }
    .menusep li:not(.submenucategory) a {
        font-size: 80% !important;
        padding: 0 0 0 15px !important;
    }
    
}


    
@media (max-width: 781px) {
    
    .nomobile {
        display: none !important;
    }

    .ighandle {
        font-size: 1.8em !important;
        letter-spacing: 2px !important;
    }
    .igcols {
        gap: 0 !important;
    }

    .topbar ul li:nth-child(3) a:before {
        top: 0px !important;
        margin-left: -21px;

    }

    .topbar ul li:nth-child(2) a:before {
        top: 0px !important;
        margin-left: -21px;
    }

    .topbar ul li:nth-child(1) a{
        display: none !important;
    }

    .site-footer .wp-block-image img {
        margin-left: 1em !important;
    }
    .site-footer .wp-block-columns {
        gap: 0 !important;
        padding-right: 1em !important;
    }

    .site-footer:after {
        display: none !important;
    }

    .footerbottomlinks > a {
        margin-left: 20px !important;
    }
    




}