/*
    Theme Name: Yella Grille Training
    Theme URI: https://www.sperlinginteractive.com
    Description: Sperling Interactive WordPress Starter Theme
    Version: 1.0
    Author: Sperling Interactive
  Theme URI: https://www.sperlinginteractive.com
*/
/*------------------------------------*\
    

\*------------------------------------*/
/* global box-sizing */
*,
*:after,
*:before {
    box-sizing: border-box;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

* {
    min-width: 0;
    min-height: 0;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    color: #444;
    font: 400 17px/1.7 'Open Sans', sans-serif;
    font: 400 1.7rem/1.7 'Open Sans', sans-serif;
}

/* clear */
.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
    height: auto;
}

/* Lightspeed Lazy load fade in */
img[data-lazyloaded] {
    opacity: 0;
}

img.litespeed-loaded {
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

a {
    text-decoration: none;
    color: #5d2966;
}

a:hover {
    color: #321537;
}

a:hover {}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

input:focus {
    border: 1px solid #04A4CC;
    outline: 0;
}

p,
ul,
ol {
    font-size: 1.7rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.25;
}

h2 {
    font-size: 3.6rem;
    line-height: 1.25;
}

h3 {
    font-size: 3.2rem;
    line-height: 1.25;
}

h4 {
    font-size: 2.8rem;
    line-height: 1.25;
}

h5 {
    font-size: 2.4rem;
    line-height: 1.25;
}

h6 {
    font-size: 2rem;
    line-height: 1.25;
}

blockquote {
    margin: 25px 0;
    padding: 25px 0 25px 5vw;
    font-style: italic;
    border-top: 1px solid;
    border-bottom: 1px solid;
    font-weight: 700;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 2560px;
}

.main {
    flex: 1 auto;
    width: 100%;
    height: 100%; 
}

.container {
    max-width:1280px; 
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.container-thin {
    max-width:1000px; 
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.container-left {
    max-width: 700px;
    align-self: center;
    flex: 1 auto;
    width: 100%;
    height: 100%;
    padding: 90px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: flex-end; */
}

/* header */
.header {
    position: relative;
    padding: 20px 0;
    -webkit-box-shadow: 0px 5px 5px 0px rgb(93 41 102 / 15%);
    box-shadow: 0px 5px 5px 0px rgb(93 41 102 / 15%);
}

.header .columns {
    margin-bottom: 0;
}

.menu-area {
	justify-content: space-between;
}

.logo {
    flex: 0 1 auto;
}

.logo a {
    display:inline-block;
    margin-right: 60px;
}

.logo-img {
    backface-visibility: hidden;
    max-height: 50px;
}

.login-logo-img {
    backface-visibility: hidden;
    max-height: 80px;
}

/* -- NAV -- */
/* setup */
.nav {
    padding: 10px 20px 10px 0;
    flex: 0 1 auto;
    display: none;
}

.nav ul {
    padding: 0;
    list-style-type: none;
    margin:0;
}

.nav li {
    display: inline-block;
    position: relative;
}

.nav a {
    color: #5A486A;
    padding: 0 15px;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.nav #search-button {
    color: #5A486A;
}

.nav li:hover ul.sub-menu  {
    /* display: block; */
    /* animation */
    visibility:visible;
    opacity:1;
    filter:alpha(opacity=100);
}

.nav li ul.sub-menu ul.sub-menu {
    /* display: none; */
    left: 149%;
    top: 0;
}

.nav li:hover ul.sub-menu ul.sub-menu {
    /* display: none; */
    left: 149%;
    top: 0;
    /* animation */
    position:absolute;
    z-index:1;
    visibility:hidden;
    opacity:0;
    filter:alpha(opacity=0);
    -webkit-transition:300ms ease;
    -moz-transition:300ms ease;
    -o-transition:300ms ease;
    transition:300ms ease;
}

.nav ul.sub-menu li:hover ul.sub-menu {
    /* display: block; */
    left: 149%;
    top: 0;
    /* animation */
    visibility:visible;
    opacity:1;
    filter:alpha(opacity=100);
}

ul.sub-menu {
    background: #ededed;
    border-radius: 4px;
    width: 225px;
    text-align: left;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 1.4rem;
    /* display: none; */
    z-index: 100;
    -webkit-box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.23);
    -moz-box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.23);
    box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.23);
    border-bottom: solid 5px #5d2966;
    /* animation */
    position:absolute;
    visibility:hidden;
    opacity:0;
    filter:alpha(opacity=0);
    -webkit-transition:300ms ease;
    -moz-transition:300ms ease;
    -o-transition:300ms ease;
    transition:300ms ease;
}

.sub-menu li {
    padding:5px;
}

.sub-menu a {
    font-size: 1.6rem;
    font-weight:normal;
    color: #5A486A;
}

.sub-menu a:hover {
    font-size: 1.6rem;
    font-weight:normal;
    color: #130f17;
}

ul.sub-menu a {
    display: block;
    padding: 10px;
}

ul.sub-menu li {
    display: block;
}

/* animated lines */
.nav > ul > li > a {
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: #5A486A;
  padding: 20px 0px;
  margin: 0px 20px;
  display: inline-block;
  position: relative;
  opacity: 1;
}

/* .nav > ul > li > a:hover {
  opacity: 0.7;
} */

.nav > ul > li > a::before {
  transition: 300ms;
  height: 2px;
  content: "";
  position: absolute;
  background-color: #5d2966;
}

.nav > ul > li > a::before {
  width: 0%;
  bottom: 10px;
}

.nav > ul > li > a:hover::before {
  width: 100%;
}

/* current item handling */
.nav > ul > .current-menu-item > a::before,
.nav > ul > .current-menu-parent > a::before {
    width: 100%;
    bottom: 10px;
    height: 2px;
  content: "";
  position: absolute;
  background-color: #5d2966;
  opacity: 1;
}

.sub-menu > .current-menu-item > a,
.sub-menu > .current-menu-parent > a {
    font-size: 1.6rem;
    font-weight:normal;
    color: #5d2966;
}

.nav > ul > .menu-login {
    margin-left:60px;
}

.nav > ul > .menu-login > a {
    color: #5d2966;
    font-family: 'Gotham-Medium';
}

.nav > ul > .menu-login > a:hover {
    color: #ab7040;
}

.nav > ul > .menu-login > a:before {
    display: none;
}

.nav > ul > .nav-logout > a {
    color: #5d2966;
    background-color: #dccadd;
    padding: 10px 20px;
    border-radius:40px;
    transition: all 0.3s;
}

.nav > ul > .nav-logout > a:hover {
    background-color: #5d2966;
    color: #FFFFFF;
}

.nav > ul > .nav-logout > a:before {
    display: none!important;
}

.logged-in .menu-get-started {
    display: none!important;
}

.menu-login.hide-on-nologin {
    display: none;
}

.logged-in .menu-login.hide-on-login {
    display: none;
}

.logged-in .menu-login.hide-on-nologin {
    display: inline-block;
}

button#responsive-menu-pro-button {
    display: none!important;
}

.logged-in button#responsive-menu-pro-button {
    display: inline-block!important;
}

/* sidebar */
.sidebar {}

/* footer */
.footer {
    background: #eee;
    padding: 20px;
    margin-top: 80px;
}

.footer .copyright {
    text-align:center;
}

.pagination {
    font-size: 1.6rem;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* COURSES */
.yella-courses h1, .home h1 {
    color: #5d2966;
    text-align:center;
    margin-top: 80px;
    margin-bottom: 0;
}

.single-sfwd-courses h1 {
    color: #5d2966;
}

.learndash-wrapper .ld-alert-success {
    border-color: #5d2966;
    background-color: #dccadd
}

.learndash-wrapper .ld-alert-success .ld-alert-icon {
    background-color: #5d2966;
}

/* LOGIN */
.login-bg-column {
    padding:0; 
    height: auto;
}

.login-bg {
    min-height:300px; 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.login-text-wrapper {
    background-color: #5d2966e0;
    color: white;
    padding: 30px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    max-width: 100%;
}
.login-text-wrapper p {
    color: #FFFFFF;
}

.login-container {
    max-width: 400px;
}

.frm_logout_link {
    color: #5d2966;
    background-color: #dccadd;
    padding: 10px 20px;
    border-radius:40px;
    transition: all 0.3s;
    display: block;
    text-align:center;
}

.frm_logout_link:hover {
    background-color: #5d2966;
    color: #FFFFFF;
}

/*------------------------------------*\
    LEARNDASH
\*------------------------------------*/

.ld-course-list-items.row {
    justify-content: center;
}

/* .learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
   background: #5d2966!important; 
} */

/* .ld-secondary-color {
    color:#5d2966!important;
} */

.ld-course-list-items .ld_course_grid .thumbnail.course.learndash-complete .ld_course_grid_price:before {
    border-top: 4px solid #005240!important;
    border-right: 4px solid #005240!important;
}

.ld-course-list-items .ld_course_grid .thumbnail.course.learndash-complete .ld_course_grid_price {
    background: #019e7c!important;
}

/* Change Hex Values to Alter Course Grid Colors */
 
.ld-course-list-items .ld_course_grid .thumbnail.course a.btn-primary {
    color: white;
    background-color: #5d2966;
    border: none;
}
.ld-course-list-content
.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled,
.ld-course-list-content
.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price,
.ld-course-list-content
.ld-course-list-items 
.thumbnail.course .ld_course_grid_price.free {
    background: #5d2966;
}
.ld-course-list-content
.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled:before,
.ld-course-list-content
.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price:before,
.ld-course-list-content
.ld-course-list-items 
.thumbnail.course .ld_course_grid_price.free:before {
    border-top: 4px solid #5d2966;
    border-right: 4px solid #5d2966;
}

.ld_course_grid h3 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #5d2966;
}

.ld_course_grid .caption {
    padding: 20px!important;
}

.ld-course-list-items .ld_course_grid .ld_course_grid_button {
    margin: 20px 0 0 0!important;
}

.ld-course-list-items .ld_course_grid .thumbnail.course a.btn-primary {
    font-size: 1.7rem;
    padding: 15px;
}

.ld-course-list-content {
    margin-top: 80px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    ACF GOOGLE MAP
\*------------------------------------*/

.acf-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    border: #ccc solid 1px;
    margin: 20px 0;
  }

   /* Fixes potential theme css conflict. */
  .acf-map img {
   max-width: inherit !important;
  }


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (min-width:320px) {}

@media only screen and (min-width:480px) {}

@media only screen and (min-width:769px) {
    .nav {
        display: block;
    }
    .login-bg-column {
        height: 100%;
    }
    .login-bg {
        min-height:600px; 
        display: flex; 
        flex-direction: column; 
        justify-content: flex-end; 
        height: 100%;
    }
    .login-text-wrapper {
        background-color: #5d2966;
        color: white;
        padding: 30px;
        margin-left:-75px;
        margin-bottom: 75px;
        max-width: 80%;
    }
}

@media only screen and (min-width:1024px) {}

@media only screen and (min-width:1140px) {}

@media only screen and (min-width:1280px) {}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {}

.bypostauthor {}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
    * {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .nav,
    .sidebar,
    .home-slider,
    #respond {
        display: none;
    }

    @page {
        margin: 2cm;
    }
}
