body.home.custom-background{
    background-color:#1b1b1c;
}
body .bg-primary{
    background-color: var(--primary) !important;
}
body .bg-secondary{
    background-color: var(--secondary)!important;
}
body .bg-white07{
    background-color: var(--white07)!important;
}
body .bg-white09{
    background-color: var(--white09)!important;
}
body .bg-grey07{
    background-color: var(--grey07)!important;
}
body .bg-greylight04{
    background-color: var(--greylight04)!important;
}
.color-primary{color:var(--primary)!important;}
.color-secondary{color:var(--secondary)!important;}
.color-text{color:var(--text)!important;}
.color-light{color:var(--light)!important;}

.trainings-ul li strong,
.inverted-rounded,
.inverted-rounded-dark,
.inverted-rounded-light{
    font-weight: 500;
    font-family: 'Commissioner', sans-serif;
    color: white;
    padding: 0.3em 1em!important;
    border-radius: 10px;
    display:inline-block;
    background-color:var(--grey07);
    width:100%;
    text-align:center;
}
.inverted-rounded-dark{
    color:var(--text);
}
.training-fitness .widget-title.inverted-rounded{
    color:white;
    background-color: var(--grey07);
    margin-bottom:1.3rem;
    /* width:auto; */
}
.training-boxing .widget-title.inverted-rounded{
    color:var(--text);
    background-color: var(--white07);
    margin-bottom:1.3rem;
    /* width:auto; */
}
.training-boxing .trainings-ul li strong{
    background-color:var(--gray);
    color:var(--secondary-darkened);
    width:auto;
}

.training-fitness .widget-title.inverted-rounded{
    color:white;
}
body .rot-container-light h1,
body .rot-container-light h2,
body .rot-container-light h3,
body .rot-container-light h4,
body .rot-container-light h5,
body .rot-container-light h6,
.rot-container-light .wpcf7-form h1,
.rot-container-light .wpcf7-form h2,
.rot-container-light .wpcf7-form h3,
.rot-container-light .wpcf7-form h4,
.rot-container-light .wpcf7-form h5,
.rot-container-light .wpcf7-form h6 {
    color: var(--text);
    font-family:"Advent Pro", sans-serif!important;
    /* font-weight: 300; */
}
h1.rot-title,
body .rot-container-dark h1,
body .rot-container-dark h2,
body .rot-container-dark h3,
body .rot-container-dark h4,
body .rot-container-dark h5,
body .rot-container-dark h6,
.rot-container-dark .wpcf7-form h1,
.rot-container-dark .wpcf7-form h2,
.rot-container-dark .wpcf7-form h3,
.rot-container-dark .wpcf7-form h4,
.rot-container-dark .wpcf7-form h5,
.rot-container-dark .wpcf7-form h6 {
    color: var(--light);
    font-family:"Advent Pro", sans-serif;
    /* font-weight: 300; */
}

.font-weight-600{
    font-weight: 600;
    line-height: 1.36;
}
.advent{font-family:"Advent Pro", sans-serif!important;}
.rot-container-dark{
    color:var(--light);
}
.rot-container-light{
    color:var(--text);
}
.rot-container-light .lead{
    font-weight:500;
}
/*pages*/
body .entry-content .rot-container-light h2,
body .entry-content .rot-container-dark h2,
/*trainings*/
body .rot-container-light .entry-content  h2,
body .rot-container-dark .entry-content h2{
    background-color: rgb(255 255 255 / 70%);
    display: block;
    padding: 0.5em 0.5em;
    color: var(--text);
    font-weight: 500;
    border-radius:10px;

    border-radius:0;
    /* overflow:hidden; */
    padding-right:3rem!important;
    position:relative;
    background:transparent;
    z-index:1;
    padding-left:0.5rem;

    display:inline-block;
}

body .entry-content .rot-container-light h2{
    color:white;
    display:inline-block;
}
body .entry-content .rot-container-light h2:after,
body .entry-content .rot-container-dark h2:after,
/*trainings*/
body .rot-container-light .entry-content  h2:after,
body .rot-container-dark .entry-content h2:after{
    content: '';
    position: absolute;
    top: -5%;
    left: -46rem;
    width: 63rem;
    height: 110%;
    background: var(--white07);
    z-index: -1;
    transform: skew(-20deg, 0deg);
    box-shadow: 4px 4px 0 var(--text);


    left: calc(-20% - 30vw);
    width: calc(120% + 30vw)
}
body .entry-content .rot-container-light h2:after{
    background-color: var(--primary);
    left: calc(-20% - 10rem);
    width: calc(120% + 10rem);
}

body .training-boxing .entry-content h2{color:white!important;}
body .training-boxing .entry-content h2:after{
    background: var(--primary07);
}



@media(min-width:768px){
    body .entry-content .rot-container-light h2{
        display:inline-block;
    }
    body .entry-content .rot-container-light h2:after{
        width: calc(180% + 10rem);
    }
}
@media(min-width:992px){
    body .entry-content .rot-container-light h2,
    body .entry-content .rot-container-dark h2{
        display:inline-block;
        padding: 0.5em 1.5em 0.5em 0.5rem;
    }

    body .entry-content .rot-container-light h2:after{
        width: calc(120% + 10rem);
    }
}
@media(min-width:1200px){
    /* body .entry-content .rot-container-dark h2:after{width:69rem;} */
    body .entry-content .rot-container-light h2:after{
        width: calc(120% + 20vw);
        left: calc(-20% - 20vw);
    }
}
body .card{background-color:transparent;border:none;}

.gregs-feature{
    width: 14rem;
    height: 10rem;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    font-size: 1.6rem;
    z-index: 3;
    background: var(--white07);
    color: var(--text)!important;
    border-radius: 14px;
    text-align: center;
    transform: rotate(0deg);
}
.gregs-feature h3{
    color: inherit!important;
    font-weight:400;
    text-align: center;
    margin-bottom: 1rem;
    font-size:inherit;
}
body{position:relative;}
.rot-background-image-blurry,
.rot-background-image{
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    width:100vw;
    background-size:cover;
    background-position: 40% top;
    z-index:-1;
}
.veil-of-eternal-darkness{
    position:absolute;
    top:0;left:0;width:100%;height:100%;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    z-index:0;
    pointer-events: none;
}
.trainings-template .veil-of-eternal-darkness{opacity:0.3;}

@media (min-width: 576px) {
    .rot-background-image-blurry, .rot-background-image{background-position:35% top;}
}
@media (orientation: landscape) {.rot-background-image-blurry, .rot-background-image{background-position:50% top;background-size:152%;}}
@media (min-width: 768px) {
    .rot-background-image-blurry, .rot-background-image{background-position:35% top;background-size:cover;}
    /* .gregs-feature{top:340px;left:10px;} */

}
@media (min-width: 992px) {
    .rot-background-image-blurry, .rot-background-image{background-position:35% top;background-size:cover;}
    .gregs-feature{width: 100%;height: 8rem;font-size: 1.85rem; font-weight:400;}
    .gregs-feature h3{margin-bottom:0.2rem;}
}
@media (min-width: 1200px) {
    /* .gregs-feature{top:480px;} */
}

body .rot-page-thumbnail{
    margin-top: 0;
    margin-bottom:0;
    height:0;
}
body .rot-page-thumbnail h1{/*normal*/
    margin-top: -6rem;
    margin-bottom:0;
    position: absolute;
    color:rgba(255,255,255,0.7);
    font-weight:500;
    font-size:2.1rem;
}
body .rot-page-thumbnail h1{margin-top:-2.8rem;font-size:2.4rem;}/*xl*/

#content.site-content{margin-top:0.4rem; transition:all 0.3s 0.4s;}
body.trainings-template #content.site-content,
body.page-template-rotfull-width #content.site-content{margin-top:0rem;}
body.page-template-rotfull-width .entry-content{margin-top:0rem;}

/* body.page-template-default #content.site-content{
    margin-top:0;
} */

@media (min-width: 576px){
    body .rot-page-thumbnail h1{margin-top:-2.4rem;font-size:2.2rem;}
    #content.site-content{margin-top:-1.3rem;}
    body.trainings-template #content.site-content,
    body.page-template-rotfull-width #content.site-content{margin-top:0rem;}
}
@media (min-width: 768px) {
    body .rot-page-thumbnail h1{margin-top:-4.4rem;font-size:2.2rem;}
    #content.site-content{margin-top:-1rem;}

    body:not(.page-template-rotfull-width):not(.trainings-template).gregsnav-visible #content.site-content{margin-top:4rem;}

}
@media (min-width: 992px) {
    /* body.page-template-rotfull-width #content.site-content{margin-top:-2.6rem;} */
    body.page-template-rotfull-width #content.site-content{margin-top:0rem;}
}
@media (min-width: 1200px) {

}
@media (min-width: 1920px) {
}


.video-link{position:relative;}
/* .video-link:before{
    content:"new";
    position:absolute;
    right:-2rem;
    color:white;
} */

.rot-widget-title-xs{
    top: 0.2rem;
    position: relative;
    font-weight: 500;
    font-size: 1.4rem;
    color: #68a871;
    text-align: left;
}

.closeable-stuff i.close-it:hover{
    color: var(--text);
}
.closeable-stuff i.close-it{
    opacity:1;
    font-family: FontAwesome;
    font-size: 2rem;
    display: block;
    position: absolute;
    z-index: 22;
    right: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    /* background-color: rgba(255,255,255,0.7); */
    color: var(--secondary);
    text-align: center;
    line-height: 1;
    cursor:pointer;
}
/* .closeable-stuff.removed-permanently{animation:shrink 0.8s linear;} */
.closeable-stuff.removed-permanently{opacity:0!important;}


.rot-inline-img{
    margin-top:2rem;
    margin-bottom:2rem;
}

.rot-page-thumbnail h1{
    font-size: 1rem;
    font-weight: 800;
}
.rot-content-row h3{
    font-weight:400;
}

.prefooter{
    display:none;
    position: absolute;
    height: 8.5vw;
    width: 100%;
    transform: translateY(-100%);
}
.prefooter:before{
    z-index: 10;
    height: auto;
    background-image: url(./gregsheader/footer-before1920white23.svg);
    background-size: 220vw;
    background-position: 73% calc(100% + 2px);
    content: "";
    display: block;
    position: absolute;
    top: auto;
    bottom: -30%;
    left: 0;
    right: 0;
    width: 100%;
    background-repeat: repeat-x;
    padding-bottom:132px;

}



.entry-content>div:last-child{padding-bottom:1rem!important;}
.rot-article.hentry{
    margin-bottom:0;
}

.site-footer aside section {border-top:none;}
.site-footer .widget-title{color:var(--secondary);}
.site-footer .widget-title{
    color: var(--secondary);
    background-color: var(--grey07);
    display: inline-block;
    padding: 8px 14px;
    /* border-radius: 15px; */
    font-size: 1.05rem;
    letter-spacing: 0.9px;
    font-family: 'Advent Pro';
    font-weight: 400;
}
.site-footer .widget ul>*{list-style: none!important;}
.site-footer .widget ul{list-style:none!important;padding-left:39px;}
.footer-widgets .widget ul li {
    padding-top: 3px;
    padding-bottom: 3px;
    position: relative;
    height: 1.8em;
    font-size:1rem;
    width:100%;
}


.footer-widgets .widget ul li:nth-child(2) a:before{transform:rotate(0deg);}
.footer-widgets .widget ul li:nth-child(3) a:before{transform:rotate(0deg);}

.site-footer{
    background:var(--white07)!important;
    position:relative;
    padding-top:2rem!important;
    padding-bottom:1.4rem!important;
}
.footer-widgets .widget{
    padding-left:0; padding-right:0;
}

.site-footer .widget a:not([class*="social-"]) {
    color: var(--dark)!important;
    /* display: inline-block; */
    height: 1.4em;
    /* position: absolute; */
    display: block;
    position: absolute;
    top: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: -44px;
    /* margin-right: -39px; */
    padding-left: 44px;
    overflow: hidden;
    width: calc(100% + 39px);
    font-size:0.9rem;
}

.site-footer .widget a:not([class*="fa-"]):not([class*="social-"]):before {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    bottom: 0;
    height: 115.2%;
    width: 1.1em;

    background-repeat: no-repeat;
    background-size: 90.8%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    overflow: visible;

}
.site-footer .widget a[class*="fa-"]:before {
    position: absolute;
    top: 4px;
    left: 7px;
    bottom: 0;
    height: 115.2%;
    width: 1.1em;
    font-size:1em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
/* .site-footer .widget a[class*="fa-"]:hover:before {font-size:1.2em; height:120%; width:1.2em; margin-top:-0.2em;margin-left:-0.2em;}
.site-footer .widget a:not([class*="fa-"]):hover:before {height:120%; width:1.2em; margin-top:-0.2em;margin-left:-0.2em;} */
.site-footer .widget a:hover {
    font-weight:600;
}
.after-footer{
    background:#e1e1e1;
    position:relative;
    font-weight:400;
    font-size:1em;
}
.after-footer .mickey-social{
    position:relative;
    top:0!important;
}
.after-footer .widget{
margin-bottom:0.7em;
}

.love a:hover{animation: flicker-fast 0.5s infinite;}
.love a:active,
.love a{color:var(--secondary)!important;}

#shortcode-widget-9{-ms-flex-order: 2; order: 2;}
#shortcode-widget-8{-ms-flex-order: 1; order: 1;}
#custom_html-7{-ms-flex-order: 3; order: 3;}
@media(min-width:768px){
    #shortcode-widget-9{-ms-flex-order: 1; order: 1;}
    #shortcode-widget-8{-ms-flex-order: 2; order: 2;}
    #custom_html-7{-ms-flex-order: 3; order: 3;}

    .after-footer .widget{
        margin-bottom:1.2em;
        }

}
@media(max-width:991px){
    .hide-heading-md-down h2{
        display:none!important;
    }
}
.trainings-ul{
    padding-left:1.5rem;
}
.trainings-ul li{
    margin-bottom:0.5rem;
}
