/* 
 Theme Name:     Simply Savvy Web Solutions
 Author:         Simply Savvy Web Solutions
 Author URI:     https://simplysavvy.com.au
 Template:       Divi
 Version:        2.1
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.0.3
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 




/* DCDNA STYLE */

.tex-right {
    text-align: right;
}

/* Page Layout */

.full_w_row > .et_pb_row {
    width: 100% !important;
}

body #page-container {
    max-width: 100vw;
    width: 100%;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.single-llms_membership #page-container {
    overflow-y: auto;
}

body #page-container #main-content .entry-content {
    position: relative;
    z-index: 9;
    width: 100%;
}

/* Header */

#page-container #top-header,
header#main-header {
    transition: all 0s ease-in-out;
}
#page-container #top-header:not(.et-fixed-header),
header#main-header:not(.et-fixed-header) {
    /* position: relative !important;
    top: 0 !important; */
}
#page-container #et-main-area {
    padding-top: 237px;
}
.et_header_style_centered #main-header .container {
    display: flex;
    flex-direction: column;
}


/* */
.header_dashboard .llms-sd-header {
    position: relative;
    top: 240px;
}

/* Single Post */

body:not(.single-vimeo-video ) #main-content .wpfp-span {
    display: none;
}

.single-vimeo-video .favorite-container {
    margin-bottom: -50px;
    position: relative;
    z-index: 2;
}


/* DB Toolbar */

body:not(.logged-in) .db_toolbar {
    display: none;
}
.db_toolbar:not(.db_toolbar_inner) {
    background-color: #622181;
    position: relative;
    top: 238px;
    z-index: 9999;
}

/* llms dashboard */

.fullw_dashboard .llms-student-dashboard .llms-sd-header .llms-sd-title,
.fullw_dashboard .llms-student-dashboard .llms-sd-header + *,
.page-favourites.logged-in .entry-content .favorites-list,
.page-favourites.logged-in .entry-content {
    width: 80% !important;
    max-width: 1080px;
    margin: 0 auto;
}

.fullw_dashboard .llms-student-dashboard .llms-sd-header ul.llms-sd-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 25px;
    background-color: #622181;
    margin-bottom: 30px;
    display: none;
}
.fullw_dashboard .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item {
    border-right: 1px solid rgba(255,255,255,0.5);
    padding: 10px;
    transition: all 0.3s ease-in-out;
}
.fullw_dashboard .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item:last-child {
    border-right: 0 none;
}
.fullw_dashboard .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item .llms-sd-link {
    color: white;
    transition: all 0.3s ease-in-out;
} 
.fullw_dashboard .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item.current .llms-sd-link,
.fullw_dashboard .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item:hover .llms-sd-link {
    color: aqua;
}
.fullw_dashboard .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item .llms-sep {
    display: none;
}

/* Guest Dashboard */

.et_pb_section_1.et_pb_section.private_dash_sec {
    background: none !important;
}
.et_pb_section.private_dash_sec .et_pb_row.private_dash_row {
    width: 80% !important;
    max-width: 1080px !important;
    margin-bottom: 0 !important;
}

/* LLMS Tab Content */

body:not(.page-favourites) .fullw_dashboard .llms-student-dashboard .llms-sd-header {
    margin-bottom: 30px;
}
.fullw_dashboard .llms-student-dashboard .llms-sd-header + * {
    /* margin-bottom: 60px; */
}
.fullw_dashboard .llms-student-dashboard .llms-sd-tab > *:not(:last-child) {
    margin-bottom: 60px;
}

/* LLMS Login Logout */

.db_login_logout {
    padding: 0 !important;
}
.db_login_logout .et_pb_newsletter_description {
    margin: 0 !important;
}
.db_login_logout .et_pb_newsletter_description {
    width: 100% !important;
    text-align: center !important;
}
.db_login_logout .et_pb_module_header,
.db_login_logout .et_pb_newsletter_description_content *:not(a) {
    display: none !important;
}
.db_login_logout .et_pb_newsletter_description_content {
    font-size: 0 !important;
}
.db_login_logout .et_pb_newsletter_description_content .et-pb-icon {
    display: flex !important;
    border: 2px solid !important;
    border-radius: 100px !important;
    width: 40px !important;
    height: 40px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 7px !important;
}
.db_login_logout a {
    color: white !important;
    font-size: initial !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    line-height: 8 !important;
}

/* LLMS Button */

.fullw_dashboard .llms-student-dashboard button,
.fullw_dashboard .llms-student-dashboard *[class*="llms-button"] {
    background: #009ee0;
    border-radius: 10px;
    border-color: #009ee0;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}
.fullw_dashboard .llms-student-dashboard button:hover,
.fullw_dashboard .llms-student-dashboard *[class*="llms-button"]:hover {
    background-color: #622181;
    border-color: #622181;
}
.fullw_dashboard .llms-student-dashboard button::after,
.fullw_dashboard .llms-student-dashboard *[class*="llms-button"]::after {
    content: ' 9';
    font-family: ETmodules!important;
    position: relative;
    top: 2px;
    width: 10px;
    font-size: 0;
    transition: all 0.3s ease-in-out;
}
.fullw_dashboard .llms-student-dashboard button::after,
.fullw_dashboard .llms-student-dashboard *[class*="llms-button"]:hover:after {
    width: auto;
    font-size: initial;
}

/* Theme Button */

.et_pb_button::after {
    line-height: 1.7 !important;
}

/* Filters */

/* Search Filter  */

.dpdfg_filtergrid .dp-dfg-search {
    color: #622181;
    border: 1px solid;
    border-radius: 50px;
    margin: 0 auto;
    width: auto;
    overflow: hidden;
}
.dpdfg_filtergrid .dp-dfg-search .dp-dfg-search-input,
.dpdfg_filtergrid .dp-dfg-search .dp-dfg-search-input::placeholder {
    color: #622181;
}

/* Filter Tabs  */

.dp-dfg-filters ul {
    margin-bottom: 0px !important;
}
.dp-dfg-filters ul li {
    margin-bottom: 15px;
}
.dp-dfg-filters ul li a {
    position: relative;
    border-radius: 40px;
    margin: 0 5px !important;
    background-color: #e0e0e0 !important;
    color: #622181 !important;
    padding: 10px 20px 10px 20px !important;
    border-color: #622181 !important;
    transition: all 0.3s ease-in-out;
}
.dp-dfg-filters ul.dp-dfg-taxonomy-level-0 li a:first-child {
    /* padding-right: 20px; */
}

.dp-dfg-filters ul li a:hover,
.dp-dfg-filters ul li a.active {
    background-color: #622181 !important;
    color: #e0e0e0 !important;
}
.dp-dfg-filters ul.dp-dfg-taxonomy-level-0 li a::after {
    font-family: 'ETmodules';
    content: "3";
    font-size: 16px;
    position: absolute;
    right: 10px;
    top: 10px;
    font-weight: 800;
    transition: all 0.1s ease-in-out;
}
.dp-dfg-filters ul.dp-dfg-taxonomy-level-0 li a:first-child::after {
    display: none;
}
.dp-dfg-filters ul li a:hover::after,
.dp-dfg-filters ul li a.active::after {
    transform: rotate(180deg);
}

/* Filters Posts Grid */

.dp-dfg-items .dp-dfg-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.dp-dfg-items .dp-dfg-item .dp-dfg-overlay {
    position: absolute !important;
    top: 70px;
    left: 0;
    right: 0;
}
.dp-dfg-items .dp-dfg-item .simplefavorite-button {
    margin-top: 10px;
}

/* Page Favourites */

body:not(.page-favourites) .fav_back_btn {
    display: none;
}
.page-favourites #main-content .entry-content {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    top: -25px;
}
.page-favourites .fullw_dashboard.db_row {
    padding-bottom: 0 !important;
}


.page-favourites .llms-non-enrolled-student-content > .et_pb_row {
    width: 100%;
}
.page-dashboard #main-content .entry-content .et_pb_blurb_9.et_pb_blurb,
.page-favourites #main-content .entry-content .et_pb_blurb_9.et_pb_blurb {
    width: unset !important;
}
.page-favourites .lifterlms {
    /* margin-top: 30px; */
}
.page-favourites .llms-student-dashboard .llms-sd-header .llms-sd-title {
    /* font-size: 0; */
    display: none;
}
.page-favourites .llms-student-dashboard .llms-sd-header .llms-sd-title::after {
    /* content: "Favourites";
    font-size: xx-large; */
}
.page-favourites .llms-student-dashboard .llms-sd-header + * {
    display: none;
}
.page-favourites .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item.current .llms-sd-link {
    color: white;
}
.page-favourites .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item.current:hover,
.page-favourites .llms-student-dashboard .llms-sd-header ul.llms-sd-items .llms-sd-item.favourites .llms-sd-link {
    color: aqua;
}

/* My Favorites Grid */

body:not(.page-favourites) .lifterlms + .favs_cn {
    display: none;
}

.fav-items .favs_title {
    display: block;
    width: 100%;
}

/* .page-favourites .entry-content *** */

.fav-items {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px !important;
}
.fav-items .dp-dfg-item {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    flex-basis: 23%;
    position: relative;
    padding: 10px 10px 1em 10px;
    margin: 20px 1%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px #ccc;
    transition: all 0.3s ease-in-out;
}
.fav-items .dp-dfg-item:hover {
    box-shadow: 0 0 20px rgb(0 0 0 / 30%);
}
.fav-items .dp-dfg-item .entry-thumb {
    margin: -10px -10px 0px -10px;
    max-height: 155px;
    overflow: hidden;
}
.fav-items .dp-dfg-item .dp-dfg-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
}
.fav-items .dp-dfg-item .dfg_et_overlay:before {
    color: #F5F5F5;
}
.fav-items .dp-dfg-item .entry-title {
    text-align: center!important;
}
.fav-items .dp-dfg-item .entry-title a {
    font-size: 20px!important;
    color: #320E3B!important;
    line-height: 1.3em!important;
}
.fav-items .dp-dfg-item .entry-summary {
    font-size: 14px;
    line-height: 1.7;
}

/* Video posts grid */

.fav-items .dp-dfg-item .dp-dfg-custom-content button {
    font-size: 12px;
}

/* Single Video Post */

.single-vimeo-video #main-content .et_pb_section_0_tb_body {
    padding-top: 30px;
}

.single-vimeo-video .et_pb_post_title .et_pb_title_container {
    /* padding-right: 120px; */
}

.single-vimeo-video .et_pb_post_content .vimeotheque-player {
    margin-bottom: 30px;
    width: 100% !important;
}

/* favorites Button */

.simplefavorite-button {
    display: block !important;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 10px !important;
    font-size: 0 !important;
    background-color: #009ee0 !important;
    border-color: #009ee0 !important;
    color: #ffffff !important;
}
.simplefavorite-button i,
.simplefavorite-button::after {
    font-size: 12px !important;
}
.simplefavorite-button::after {
    content: 'Mark as Favourite';
}
.simplefavorite-button.active::after {
    content: 'Remove as Favourite';
}
.simplefavorite-button i {
    position: relative !important;
    left: unset !important;
}
.simplefavorite-button:hover {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #622181 !important;
}
.simplefavorite-button:not(.loading) .sf-icon-spinner {
    display: none;
}
.simplefavorite-button.active {
    background-color: rgb(98, 33, 129) !important;
    border-color: rgb(98, 33, 129) !important;
    color: rgb(224, 224, 224) !important;
}


/* Single video post button */

.single-vimeo-video .simplefavorite-button {
    display: inline-block !important;
    right: 0;
    z-index: 99;
}
.single-vimeo-video .simplefavorite-button i,
.single-vimeo-video .simplefavorite-button::after {
    font-size: 18px !important;
}


/* WP Simple Pay Form */

.simpay-form-wrap .simpay-form-title {
    display: none;
}
.simpay-form-wrap form {
    margin: 0 auto;
}
.simpay-form-wrap form .simpay-text-container:nth-child(1), 
.simpay-form-wrap form .simpay-text-container:nth-child(2) {
    width: 48%;
    display: inline-block;
    float: left;
}
.simpay-form-wrap form .simpay-text-container:nth-child(2) {
    margin-left: 4%;
}

.simpay-form-wrap form .simpay-btn {
    background-color: #320e3b !important;
    transition: all 0.3s ease-in-out;
}
.simpay-form-wrap form .simpay-btn:hover {
    background-color: #622181 !important;
}

/* Media Query */

@media only screen and (max-width: 1101px) {
    
    /* DB Toolbar */

    .db_toolbar:not(.db_toolbar_inner) {
        top: 275px;
    }
} /* max-width: 1101px */

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

    /* Header Page layout */

    #page-container #et-main-area {
        padding-top: 188px;
    }
    
    /* DB Toolbar */

    .db_toolbar:not(.db_toolbar_inner) {
        top: 188px;
    }

    /* My Favourties grid */

    .fav-items .dp-dfg-item {
        flex-basis: 31%;
    }

    /* LLMS Login Logout */

    .db_login_logout .et_pb_newsletter_description_content .et-pb-icon {
        width: 35px !important;
        height: 35px !important;
    }
    .db_login_logout a {
        font-size: 9px !important;
        line-height: 12 !important;
    }

} /* max-width: 980px */

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

	/* Guest Dashboard */

	body:not(.logged-in) .et_pb_section.private_dash_sec {
		display: block !important;
	}
	
    /* My Favourties grid */
    
    .dp-dfg-layout-grid .dp-dfg-item {
        /* width: 48% !important; */
    }
    .fav-items .dp-dfg-item {
        flex-basis: 48%;
    }
    
    
    /* Single Video */

    .single-vimeo-video .favorite-container {
        margin-top: 25px;
        margin-bottom: -40px;
        text-align: center;
    }
    .single-vimeo-video #main-content {
        text-align: center;
    }
    #main-content .et_builder_inner_content > .et_pb_section_0_tb_body > .et_pb_row_1_tb_body {
        padding-top: 0 !important;
    }
    .single-vimeo-video .et_pb_post_title .et_pb_title_container {
        padding-right: 0;
        /* margin-bottom: 80px; */
        text-align: center;
    }
    .single-vimeo-video .et_pb_post_content button.simplefavorite-button {
        left: 0;
        right: unset;
        width: auto;
        max-width: 180px;
        margin: 0 auto;
    }

    /* WP Simple Pay Form */

    .simpay-form-wrap form .simpay-text-container:nth-child(1), 
    .simpay-form-wrap form .simpay-text-container:nth-child(2) {
        width: 100%;
        display: block;
    }
    .simpay-form-wrap form .simpay-text-container:nth-child(2) {
        margin-left: 0;
}

} /* max-width: 767px */

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

    /* My Favourties grid */
    
    .dp-dfg-layout-grid .dp-dfg-item {
        /* width: 45% !important; */
    }
    .fav-items .dp-dfg-item {
        flex-basis: 45%;
    }
    
   
} /* max-width: 600px */

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

    /* Single Video page */

    .single-vimeo-video .simplefavorite-button i,
    .single-vimeo-video .simplefavorite-button::after {
        font-size: 16px !important;
    }

    /* My Favourties grid */
    
    .dp-dfg-layout-grid .dp-dfg-item {
        /* width: 100% !important; */
    }
    .fav-items .dp-dfg-item {
        flex-basis: 100%;
    }
   
} /* max-width: 490px */
