.header-bg-img{display:none;}
.header-img{display:none; position:absolute; top:1rem;}

.topheader-navbar-spacer{position: relative;height:72px;}

.gregsheader.header-bg:before,
.gregsheader.header-bg{
    /* background-image: url('header-after1920white27.svg')!important; */
    background-color:rgba(255,255,255,0.7);
    box-shadow:4px 4px 2px var(--text);
    display: block;
    padding-bottom: 148px;
    padding-bottom: 95px;
    position: absolute;
    pointer-events: none;
    top: -6px;
    width: 107%;
    left: -6.9%;
    background-repeat: no-repeat;
    background-size: 1040px;
    background-position: 14% bottom;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
}
.logo-container{height:24px;}

.gregsheader.header-bg:before{
    content:"";
    top: 0;
    left:0;
    width:100%;
    height:100%;
    opacity:0.2;
}
.navbar-wrapper{
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
}

/* .container.logo-container{} */
body .custom-logo-link img,
body .custom-logo-link{
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
}
body .custom-logo-link{
    margin-right: 1rem;
    height: auto;
    position: relative;
    width: 4.2rem;
    top:-3.6rem;
    overflow:hidden;
    height:3.7rem;
}
.custom-logo-link img{top:0px;left:0;width:26rem;position:absolute;max-width:none;}

.logo-container .social-bar{
    top: -3.6rem;
    margin-left: auto;
    font-size:2.2rem;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
}

.logo-container .social-bar a{
    color:var(--text);
    margin-right:0.4em;
}
.logo-container .social-bar a:last-child{margin-right:0;}
.navbar.main-navigation{padding:1rem 15px;}

body.page-template-default .rot-body>.entry-content,
body.home .rot-body>.entry-content{margin-top:-1.85em;}
/* body .rot-body h1.entry-title{margin-top:-2.5rem!important;} */

.menuwrapper{top:0;}
@media(min-width:576px){
    .gregsheader.header-bg:before,
    .gregsheader.header-bg{
        padding-bottom: 8.4rem;
        padding-bottom: 5.2rem;
        background-size: 60rem;
        background-size: 100%;
        background-position: 10% bottom;
    }
    .navbar-wrapper{
        position: relative;
        top: 0;
    }
    body .custom-logo-link {
       position: relative;
       width:3rem;
       top:-3.6rem;
       height:3rem;
    }
    .custom-logo-link img{top:1px;left:0;width:20.6rem;position:absolute;max-width:none;}

    .logo-container .social-bar{font-size:1.8rem;}

    body.page-template-default .rot-body>.entry-content,
    body.home .rot-body>.entry-content{margin-top:-0.5rem; padding-top:1rem;}
}
@media(min-width:768px){
    .menuwrapper{top:6px;}
    .gregsheader.header-bg:before,
    .gregsheader.header-bg{
        padding-bottom: 10.3rem;
        padding-bottom: 6.2rem;
        background-size: 79rem;
        background-position: 10% bottom;
    }
    body .custom-logo-link {
        width:3.6rem;
        top: -3.5rem;
        height:3.6rem;
    }
    .logo-container{height:34px;}
    .custom-logo-link img{top:1px;left:0;width:25rem;}
    .logo-container .social-bar{top:-3rem;}
    body .custom-logo {top: 0;}
    body .rot-page-thumbnail h1{/*normal*/
        margin-top: -1.05em;
    }
    .rot-body>.entry-content{margin-top:0;}
}
@media(min-width:992px){

    .menuwrapper{top:-18px;}
    .gregsheader.header-bg:before,
    .gregsheader.header-bg{
        /* background-image: url('header-after1920white27.svg')!important; */
        padding-bottom: 6.4rem;
    }
    /* .rot-body>.entry-content{margin-top:-1em;} */
    body .rot-page-thumbnail h1{/*normal*/
        margin-top: -1.05em;
    }
    .navbar-wrapper{top:2rem;}
    .header-img{display:block;top:-59%; transition:all 0.7s;}
    .header-img.shrinkinpink{display:block; transform: scale(0.7) translate(17%, -2%);}

    /* #content.site-content{padding-top:132px!important;} */
    body.page-template-rotfull-width #content.site-content,
    body.trainings-template #content.site-content{padding-top:0px;}
    body .custom-logo-link{
        width:13.5rem;
        top: -3rem;
        height:3.3rem;
    }
    .custom-logo-link img{top:3px;left:0;width:22rem;}

    .logo-container .social-bar{font-size:2rem; top:-2.8rem;}

    body.scrolled100 .gregsheader.header-bg:before{
        opacity:1;
    }
}
@media(min-width:1200px){
    .gregsheader.header-bg:before,
    .gregsheader.header-bg{
        padding-bottom:6.8rem;
    }
    #content.site-content{padding-top:158px;}
    body.page-template-default #content.site-content,
    body.home #content.site-content{padding-top:172px!important;}
    /* body:not(.home) #content.site-content{padding-top:242px!important;} */
    /* body.page-template-rotfull-width #content.site-content{padding-top:0!important;} */
    body .custom-logo-link{
        top: -2.5rem;
        width: 13.2rem;
        height:3rem;
    }
    .custom-logo-link img{top:-49px;left:0;width:21.4rem;}

    body.scrolled100 .custom-logo-link{width:3rem; height:3rem; top:-2.6rem; }
    body.scrolled100 .custom-logo-link img{top:0;width:21.3rem;}

    body.scrolled100 .gregsheader.header-bg:before{width:100%; padding-bottom:6.2rem;}
    body.scrolled100 .gregsheader.header-bg {
        padding-bottom: 6.2rem;
        /* background-size: 100%; */
        width:36%;
        left:-7%;
        transform:skew(-20deg, 0deg);


    }
    body.scrolled100 .navbar-wrapper {
        top: -5.9rem;
    }
    body.scrolled100 .logo-container .social-bar{
        margin-left: 2rem;
    }
    body.scrolled100 .navbar-wrapper{pointer-events:none;}
    body.scrolled100 .navbar-wrapper .menuwrapper{width:65%!important; pointer-events:all; top:8px}
}
@media(min-width:1400px){
    /* #content.site-content{padding-top:252px!important;} */
}
@media(min-width:1650px){
    .header-img{display:block;top:-69%;right:0;width:87%;}
    .header-img.shrinkinpink{display:block; transform: scale(0.7) translate(17%, 3%);}
}
@media(min-width:1800px){
    body.scrolled100 .gregsheader.header-bg { width:40%;}
}


@media(min-width:1920px){
    .navbar-wrapper{top:3.4rem;}
    /* #content.site-content{padding-top:176px!important;} */
    body.page-template-default #content.site-content,
    body.home #content.site-content{padding-top:204px!important;}
    /* body #content.site-content{padding-top:264px!important;} */
    /* body .custom-logo-link{width: 6vw; top: 0.6rem;} */
}

@media(min-width:2300px){
    /* #content.site-content{padding-top:272px!important;} */
}

body .container {max-width: 96%;}
@media (min-width: 576px) {body .container{max-width: 520px; max-width:calc(96% + 0px);}}
@media (min-width: 768px) {body .container{max-width: calc(680px + 0px);}}
@media (min-width: 992px) {body .container{max-width: calc(900px + 0px);}}
@media (min-width: 1200px) {body .container{max-width: calc(82vw + 0px);}}
@media (min-width: 1400px) {body .container{max-width: calc(78vw + 0px);}}
@media (min-width: 1650px) {body .container{max-width: calc(70vw + 0px);}}
@media (min-width: 1800px) {body .container{max-width: calc(60vw + 0px);}}



li.nav-item{
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
    width: 100%;
    min-height: 1px;
    text-align:center;
    /* padding-right: 15px;
    padding-left: 15px; */
}

