/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.3
Text Domain:  Avada
*/

/*
Hide login link in menu if user is logged in
*/
body.logged-in li.login-link{
    display: none;
}

.fusion-logo img {
    width: 88px;
    height: 88px;
}

/*
 * REMOVE RELATED PRODUCTS
 */
.related.products {
    display: none;
}

#menu-huvudmeny .fusion-megamenu .fusion-megamenu-title{
    cursor: default;
    border-bottom: 1px solid #ccc;
    margin-right: 1em;
    margin-left: 1em;
    padding: 0.5em 0 !important;
    text-indent: 1em;
}

#menu-huvudmeny .fusion-megamenu-wrapper .fusion-megamenu-holder{
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

#menu-huvudmeny .fusion-megamenu a{
    margin: 0 1em !important;
}

.fusion-mobile-menu-icons a{
    font-size: 30px !important;
    padding: 6px;
}

.fusion-megamenu-wrapper .fusion-megamenu-submenu{
    padding: 0.5em 0 1em 0 !important;
}

/*Fix for ipad bug that makes the header height going bananas in landscape mode*/
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    .fusion-header{
        max-height: 99px !important;
    }
}

/* Courses listing (utbildningar)' */

/*
All marked important to always override default styling
TODO: add more color choices
*/
.theme-color-bg-teal{ background-color: #00796B !important; }
.theme-color-bg-teal-hover:hover{ background-color: #00796B !important; }
.active .theme-color-bg-active-teal{ background-color: #00796B !important; color: white; }
.theme-color-fg-teal{ color: #00796B !important; }
.theme-color-fg-teal-hover:hover{ color: #00796B !important; }
.theme-color-border-teal{ border-color: #00796B !important; }

.theme-color-bg-purple{ background-color: #4A148C !important; }
.theme-color-bg-purple-hover:hover{ background-color: #4A148C !important; }
.active .theme-color-bg-active-purple{ background-color: #4A148C !important; color: white; }
.theme-color-fg-purple{ color: #4A148C !important; }
.theme-color-fg-purple-hover:hover{ color: #4A148C !important; }
.theme-color-border-purple{ border-color: #4A148C !important; }

.theme-color-bg-blue{ background-color: #1565C0 !important; }
.theme-color-bg-blue-hover:hover{ background-color: #1565C0 !important; }
.active .theme-color-bg-active-blue{ background-color: #1565C0 !important; color: white; }
.theme-color-fg-blue{ color: #1565C0 !important; }
.theme-color-fg-blue-hover:hover{ color: #1565C0 !important; }
.theme-color-border-blue{ border-color: #1565C0 !important; }

.theme-color-bg-green{ background-color: #388E3C !important; }
.theme-color-bg-green-hover:hover{ background-color: #388E3C !important; }
.active .theme-color-bg-active-green{ background-color: #388E3C !important; color: white; }
.theme-color-fg-green{ color: #388E3C !important; }
.theme-color-fg-green-hover:hover{ color: #388E3C !important; }
.theme-color-border-green{ border-color: #388E3C !important; }

.theme-color-bg-pink{ background-color: #AD1457 !important; }
.theme-color-bg-pink-hover:hover{ background-color: #AD1457 !important; }
.active .theme-color-bg-active-pink{ background-color: #AD1457 !important; color: white; }
.theme-color-fg-pink{ color: #AD1457 !important; }
.theme-color-fg-pink-hover:hover{ color: #AD1457 !important; }
.theme-color-border-pink{ border-color: #AD1457 !important; }

.theme-color-bg-orange{ background-color: #E65100 !important; }
.theme-color-bg-orange-hover:hover{ background-color: #E65100 !important; }
.active .theme-color-bg-active-orange{ background-color: #E65100 !important; color: white; }
.theme-color-fg-orange{ color: #E65100 !important; }
.theme-color-fg-orange-hover:hover{ color: #E65100 !important; }
.theme-color-border-orange{ border-color: #E65100 !important; }

.theme-color-bg-red{ background-color: #B71C1C !important; }
.theme-color-bg-red-hover:hover{ background-color: #B71C1C !important; }
.active .theme-color-bg-active-red{ background-color: #B71C1C !important; color: white; }
.theme-color-fg-red{ color: #B71C1C !important; }
.theme-color-fg-red-hover:hover{ color: #B71C1C !important; }
.theme-color-border-red{ border-color: #B71C1C !important; }

.theme-color-bg-deepblue{ background-color: #0d384b !important; }
.theme-color-bg-deepblue-hover:hover{ background-color: #0d384b !important; }
.active .theme-color-bg-active-deepblue{ background-color: #0d384b !important; color: white; }
.theme-color-fg-deepblue{ color: #0d384b !important; }
.theme-color-fg-deepblue-hover:hover{ color: #0d384b !important; }
.theme-color-border-deepblue{ border-color: #0d384b !important; }

.theme-color-bg-deeppurple{ background-color: #4b0d38 !important; }
.theme-color-bg-deeppurple-hover:hover{ background-color: #4b0d38 !important; }
.active .theme-color-bg-active-deeppurple{ background-color: #4b0d38 !important; color: white; }
.theme-color-fg-deeppurple{ color: #4b0d38 !important; }
.theme-color-fg-deeppurple-hover:hover{ color: #4b0d38 !important; }
.theme-color-border-deeppurple{ border-color: #4b0d38 !important; }

/* styling for each color in the list */
.course-link.theme-color-border-teal{ border-color: transparent; border-left-color: #00796B !important; }
.course-link.theme-color-border-teal:hover,
.course-link.theme-color-border-teal:active{ border-left-color: #66aea6 !important; background-color: #e5f1f0 !important; }

.course-link.theme-color-border-purple{ border-color: transparent !important; border-left-color: #4A148C !important; }
.course-link.theme-color-border-purple:hover,
.course-link.theme-color-border-purple:active { border-left-color: #9272ba !important; background-color: #ece7f3 !important; }

.course-link.theme-color-border-blue{ border-color: transparent !important; border-left-color: #1565C0 !important; }
.course-link.theme-color-border-blue:hover,
.course-link.theme-color-border-blue:active { border-left-color: #72a2d9 !important; background-color: #e7eff8 !important; }

.course-link.theme-color-border-green{ border-color: transparent !important; border-left-color: #388E3C !important; }
.course-link.theme-color-border-green:hover,
.course-link.theme-color-border-green:active { border-left-color: #87bb8a !important; background-color: #ebf3eb !important; }

.course-link.theme-color-border-pink{ border-color: transparent !important; border-left-color: #AD1457 !important; }
.course-link.theme-color-border-pink:hover,
.course-link.theme-color-border-pink:active { border-left-color: #cd729a !important; background-color: #f6e7ee !important; }

.course-link.theme-color-border-orange{ border-color: transparent !important; border-left-color: #E65100 !important; }
.course-link.theme-color-border-orange:hover,
.course-link.theme-color-border-orange:active { border-left-color: #f09666 !important; background-color: #fcede5 !important; }

.course-link.theme-color-border-red{ border-color: transparent !important; border-left-color: #B71C1C !important; }
.course-link.theme-color-border-red:hover,
.course-link.theme-color-border-red:active { border-left-color: #d37676 !important; background-color: #f7e8e8 !important; }

.course-link.theme-color-border-deepblue{ border-color: transparent !important; border-left-color: #0d384b !important; }
.course-link.theme-color-border-deepblue:hover,
.course-link.theme-color-border-deepblue:active { border-left-color: #6d8793 !important; background-color: #e6ebed !important; }

.course-link.theme-color-border-deeppurple{ border-color: transparent !important; border-left-color: #4b0d38 !important; }
.course-link.theme-color-border-deeppurple:hover,
.course-link.theme-color-border-deeppurple:active { border-left-color: #936d87 !important; background-color: #ede6eb !important; }

.programs-all h1:first-child{
    margin-top: 0em;
}

.programs-all h1{
    margin-top: 2em;
}


.courses-listing-title{
    padding: 1em 0;
    text-indent: 1em;
    margin-bottom: 0;
    margin-top: 0em;
}

.courses-listing > div{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: auto;
    padding: 1em;
    justify-content: flex-start;
}

.courses-listing h2{
    margin: 0;
    font-size: 1.5em !important;
}

.courses-listing p{
    font-size: 0.9em;
    margin: 0.2em 0 !important;
    /*flex-grow: 1; /* this will expand it to fit the row, but it's too spacey for my taste x_x# */
}

.course-link{
    overflow: hidden !important;
    border-left-style: solid;
    border-left-width: 6px;
    transition: border-color ease 0.2s, background-color ease 0.2s;
}

.course-link > .course-content-container{
    width: 500px;
    flex-grow: 1;
    box-sizing: border-box;
    padding: 0 1.8em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.course-link > a img{
    height: 150px;
}

@media screen and (max-width:500px){
    .course-link > a img {
        width: 100%;
        height: auto;
    }
}

.courses-listing > div .course-placeholder-img{
    background-color: white;
    border-radius: 100%;
    padding: 0.5em;
}

.courses-listing > div .course-placeholder-img img{
    height: 128px;
    width: 128px;
}

.course-content-nav{
    display: flex;
    flex-flow: row nowrap;
    margin-top: 0.5em;
    border-top: 1px solid #ddd;
    padding-top: 0.5em;
}

#main .course-content-nav a,
#main .kurslista-lista a{
    padding: 0.5em 1em;
    background-color: #0d384b;
    color: rgb(238, 238, 238);
    box-sizing: border-box;
    display: inline-block;
    border-radius: 4px;
    white-space: nowrap;
}

#main .kurslista-lista a.disabled{
    opacity: 0.2;
    color: gray;
    cursor: default;
}

#main .course-content-nav a span,
#main .kurslista-lista a span{
    margin-right: 0.5em;
    display: inline-block;
}

/* This one makes two inline elements play nice with each other */
#main .course-content-nav a span,
#main .course-content-nav a i,
#main .kurslista-lista a span,
#main .kurslista-lista a i{
    display: inline-block;
    vertical-align: middle;
}

.course-content-nav div:first-child {
    flex-grow: 1;
}

#main .course-content-nav a:hover,
#main .kurslista-lista a:hover
{ background-color: #3d5f6e; }

#main .course-content-nav a.course-read-more,
#main .course-content a.course-read-more{
    background-color: transparent;
    color: #ff6914;
}
#main .course-content-nav a.course-read-more:hover,
#main .course-content a.course-read-more:hover{ background-color: #ffe1d0; }

/* Do some adjustments on smaller screens */
@media screen and (max-width: 1000px) {
    .course-link > .course-content-container{
        width: 400px;
    }


}

@media screen and (max-width: 734px) {
    .course-link > .course-content-container{
        padding-left: 0;
        padding-top: 1em;
        padding-right: 0;
        width: 100%;
    }
}

/*
   Woo commerce styling changes, note that this probably shouldnt be here... <.<
*/



/* make it super duper specific because... uuh.. !important :p */
.fusion-custom-menu-item.fusion-menu-cart .fusion-widget-cart-number{
    color: white;
}

#main .product .product_title{
    font-size: 2em;
}

#main .product .price span,
#main .product .price .woocommerce-Price-currencySymbol{
    color: black;
}

#main .product .price span{
    font-size: 1.5em !important;
}

#main .product .price .woocommerce-Price-currencySymbol{
    font-size: 1em !important;
}

#wrapper .fusion-menu-cart-checkout{
    background-color: #0d384b;
}

#wrapper .fusion-menu-cart-checkout a{
    color: #ddd;
}

#wrapper .fusion-menu-cart-checkout:hover{
    background-color: #3d5f6e;
}

#wrapper .fusion-menu-cart-checkout:hover a{
    color: #fff;
}

#wrapper .fusion-custom-menu-item-contents.fusion-menu-cart-items{
    border-left-color: transparent;
    border-right-color: transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

#wrapper .fusion-main-menu .fusion-dropdown-menu .sub-menu{
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.fusion-button, .checkout-button, .single_add_to_cart_button {
    text-transform: none !important;
}

#content .product-border, #content .title-sep.sep-double {
    background-color: #ff6914;
    border: 0;
}

.avada-availability{
    display: none !important;
}

.woocommerce-Price-amount.amount{
    font-size: 1.25em !important;
}

/* Template styling for utbildningar */
#content .kurslista-container{
    margin-top: 2em;
}

#content .course-title{
    padding-bottom: 0.5em;
}

#content .course-content{
    padding: 1em 0em;
    overflow: hidden;
}

#content .kurslista-container.course-title .course-title-text{
    border-bottom: 2px solid gray;
    padding-bottom: 0.5em;
}

#content .course-title .course-title-text h1,
#content .course-title .course-title-text h2{
    margin: 0;
}

#content .course-title .course-title-text h1{
    font-size: 2em;
    flex-grow: 1;
}

#content .course-title .course-title-text h2{
    font-size: 1em;
    color: rgba(0,0,0,0.4);
    font-weight: 600;
}

#course-details-tab-nav{
    display: flex;
    flex-flow: row wrap;
}

#course-details-tab-content > div{
    display: none;
    padding: 1em 2em;
    min-height: 10em;
    max-height: 30em;
    overflow: auto;
    box-sizing: border-box;
}

#course-details-tab-content div.active{
    display: block;
}

#course-details-tab-nav > div:first-child a{
    padding-left: 1em;
}

#course-details-tab-nav a{
    padding: 0.5em 1em;
    margin-right: 0.5em;
    display: block;
    font-weight: 600;
}

@media only screen and (max-width: 800px){
    #content{
        font-size: 14px;
    }
    #course-details-tab-nav a{
        padding: 0.5em 0.8em;
        margin-right: 0.25em;
    }

}

#content .dynamic-border{
    border-bottom: 2px solid transparent;
}

#content .dynamic-color-faded{
    opacity: 0.7;
}


#course-details-tab-nav{
    border-bottom: 4px solid transparent;
}


#course-details-tab-content > div{
    border-left: 4px solid transparent;
}

/* Styling for kurser shortcode */
.programs-nav{
    display: flex;
    flex-flow: row wrap;
    margin-top: 1em;
    justify-content: flex-end;
}

.programs-nav a{
    padding: 1em;
    color: white !important;
}

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

    .programs-nav{
        flex-direction: column;
    }
}

#main .course-content a.course-read-more{
    padding: 0.5em 1em;
}

#main .course-content .read-more-jump{
    text-align: right;
    margin-bottom: 1em;
    clear: both;
}

.kurslista-lista{
    font-size: 1em;
    width: 100%;
}

.kurslista-lista tr:first-child td{
    border-top: 0;
}

.kurslista-lista td:first-child{
    font-weight: bold;
}

.kurslista-lista td a{
    opacity: 0.6;
}

.kurslista-lista td{
    padding: 0.33em 2em;
    border-top: 1px solid gray;
    color: black;
    cursor: default;
}

.kurslista-lista tr:hover td a{
    opacity: 0.8;
}

.kurslista-lista tr:hover td{
    background-color: #e6ebed;
}

.kurslista-lista tr td a:hover{
    background-color: #0d384b !important;
    opacity: 1;
}

@media screen and (max-width: 1000px){
    .kurslista-lista td{
        padding: 0.5em 1.5em;
    }
}

@media screen and (max-width: 800px){
    .kurslista-lista td{
        padding: 0.5em 1.25em;
    }


}

@media screen and (max-width: 700px){
    .kurslista-lista td.positions-left{
        display: none;
    }
}

@media screen and (max-width: 480px){
    .kurslista-lista{
        margin: 0 auto;
        font-size: 0.8em;
    }
    .kurslista-lista td{
        padding: 0.5em 0.5em;
    }
}

.info-field .info-field-explanation{
    display: none;
}

.course-information{
    margin-top: 1em;
}

.course-information .info-field{
    margin-bottom: 1em;
}

.course-information .info-field-title{
    font-weight: 600;
}

#content.kurs-anmalan h3, #content.kurs-anmalan h4{
    margin-bottom: 0.25em;
}

#content.kurs-anmalan h3{
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

#content.kurs-anmalan .info-field .info-field-value{
    margin: 0 1em;
}

#content.kurs-anmalan .info-field .info-field-value iframe{
    width: 600px;
    height: 300px;
    margin: 1em 0;
}

#content.kurs-anmalan .course-basic-cards{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 0.5em;

}

#content.kurs-anmalan .course-basic-cards .smaller{
    font-size: 0.8em;
}

#content.kurs-anmalan .course-basic-cards .dates{
    font-size: 0.9em;
}

#content.kurs-anmalan .course-basic-cards > div{
    margin: 0.5em 1em;
    width: 250px;
    min-height: 100px;
    text-align: center;
}

#content.kurs-anmalan .course-basic-cards h3{
    margin: 0;
    font-weight: 400;
    font-size: 1.25em;
    border-bottom: none;
}

#content.kurs-anmalan .course-basic-cards h3 i,
#content.kurs-anmalan .course-basic-cards h3 span{
    display: inline-block;
    vertical-align: middle;
}

#content.kurs-anmalan .course-basic-cards h3 span{
    margin-left: 0.5em;
}

#content.kurs-anmalan .course-basic-cards i{
    font-size: 1.5em;
}

#content.kurs-anmalan .course-basic-cards .card-text{
    margin-top: 0.5em;
}

#content.kurs-anmalan .course-basic-cards > div > div{
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding: 1em;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 2px rgba(0,0,0,0.3);
}

#content.kurs-anmalan .course-basic-cards > div:hover > div,
#content.kurs-anmalan .course-basic-cards > div:focus > div{

    cursor: default;
    background-color: rgba(0,0,0,0.12);
    color: black;
}

@media screen and (max-width: 1000px){
    #content.kurs-anmalan .info-field .info-field-value iframe{
        width: 500px;
        height: 250px;
    }

}

@media screen and (max-width: 950px){
    #content.kurs-anmalan .course-basic-cards{
        justify-content: space-around;
    }
}

@media screen and (max-width: 800px){
    #content.kurs-anmalan .info-field .info-field-value iframe{
        width: 400px;
        height: 200px;
    }
}

@media screen and (max-width: 480px){
    #content.kurs-anmalan .info-field .info-field-value iframe{
        width: 260px;
        height: 160px;
    }
}

.course-signup > div{
    margin: 0 1em;
}

#signup-content .signup-container{
    display: none;
    padding: 1em 0;
}

#signup-content .signup-container label,
#signup-content .signup-container input{
    display: block;
}

#signup-content .signup-container label[for=gdpr]{
    display: flex;
    margin-bottom: 1em;
}

#signup-content .signup-container label[for=gdpr] input{
    width: auto;
    margin-right: 1em;
    
}

#signup-content .signup-container input{
    width: 300px;
    margin-bottom: 1em;
}

#signup-content .signup-container p{
    font-style: italic;
    font-size: 80%;
}

#signup-content .signup-container.active{
    display: block;
}

#signup-content .signup-container #prerequisites{
    margin-bottom: 1em;
    display: flex;
    flex-flow: row wrap;
}

#signup-content .signup-container #prerequisites > div{
    display: flex;
    margin-right: 1em;
}

#signup-content .signup-container #prerequisites input[type=checkbox]{
    width: auto;
    margin-right: 0.5em;
}

#signup-content button[type='submit']{
    margin-top: 1em;

    display: inline-block;
    padding: 1em 2em;
    margin-right: 1em;
    color: rgba(0,0,0,0.8);
    border: 2px solid rgba(0,0,0,0.8);
    font-weight: 600;
}

#signup-content button[type="submit"]:disabled{
    color: rgba(0,0,0,0.4);
    background-color: rgba(0,0,0,0.2);
    border: 0;
    border-color: transparent;
    border-radius: 0;
}

button[type='button']{

    display: inline-block;
    padding: 0 2em;
    height: 3em;
    margin-right: 1em;
    color: rgba(0,0,0,0.8);
    background-color: white;
    border: 2px solid rgba(0,0,0,0.8);
    font-weight: 600;
}

button[type='button']:hover{
    cursor: pointer;
}

button[type="button"]:disabled{
    color: rgba(0,0,0,0.4);
    background-color: rgba(0,0,0,0.2);
    border: 0;
    border-color: transparent;
    border-radius: 0;
}

button[type='button'].green{
    border-color: #a0ce4e;
}

.login-message{
    background-color: #cfea42;
}

.login-message:not(:empty){
    padding: 1em;
    margin-top: 1em;
}

#kurs-anmal .signup-link{
    display: inline-block;
    padding: 0.5em 1em;
    margin-right: 1em;
    color: rgba(0,0,0,0.8);
    border: 2px solid rgba(0,0,0,0.8);
    font-weight: 600;
}

#kurs-anmal .signup-link.active{
    background-color: #0d384b;
    color: white;
}

#signup-nav{
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

#signup-content .usertype-select{
    margin-bottom: 1em;
}

#signup-content .usertype-select label{
    width: 150px;
}

#signup-content .usertype-select input{
    width: 60px;
}

#signup-content .usertype-select label, #signup-content .usertype-select input{
    display: inline-block;
}

button[type='submit'] {
    margin-top: 1em;
    display: inline-block;
    padding: 1em 2em;
    margin-right: 1em;
    color: rgba(0,0,0,0.8);
    border: 2px solid rgba(0,0,0,0.8);
    font-weight: 600;
    border-radius: 0;
}


#q-and-a-accordion.fusion-accordian .panel-title a:hover{
    color: #ff6914 !important;
}

#q-and-a-accordion.fusion-accordian .panel-title a:hover .fa-fusion-box{
    background-color: #ff6914 !important;
}

#q-and-a-accordion.fusion-accordian .panel-title .active .fa-fusion-box{
    background-color: #ff6914 !important;
}

#q-and-a-accordion.fusion-accordian .panel-body{
    margin-left: 2.5em;
}

.slider-link a, .tp-withaction a{
    display: inline-block;
    padding: 0.5em 1em;
    margin-right: 1em;
    color: rgba(255,255,255, 0.9);
    border: 2px solid rgba(255,255,255, 0.9);
    font-weight: 600;
    background-color: background-color: rgba(255,255,255,0);

    transition: background-color 300ms linear;
}

.slider-link a:hover, .tp-withaction a:hover{
    background-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255, 0.9);
    cursor: pointer;
}


/*MASSAGETESTET*/

.massage-title-text {

    margin-bottom: 2em;

}

.massage-test .question-div{
    padding-bottom: 2em;
    position: relative;
}

.massage-test .question-div:not(:last-of-type)::before {
    content: "";
    display: block;
    height: calc(100% - 2em - 1em);
    width: 1px;
    position: absolute;
    left: calc(1em);
    top: calc(2em + 0.5em);
    background-color: #bdbdbd;
    z-index: 1;
}

.massage-test .question-div .summary{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 1em;
}

@media only screen and (max-width: 480px){
    .massage-test .question-div .summary{
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }
}

.massage-test .question-div .summary > .step-icon {

    -webkit-flex: 0 1 2em;
    flex: 0 1 2em;

    width: 2em;
    height: 2em;

    margin-right: 1em;
}

.massage-test .question-div.gray-out .summary > .step-icon{
    opacity: 0.5;
}

.massage-test .question-div .summary > .step-icon .circle {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 0;
    padding: 50% 0;
    border-radius: 50%;

    -webkit-box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    background: #0d384b;
    color: white;

    text-align: center;
}


.massage-test .question-div .summary > .step-icon .circle span {

    color: white;

    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.massage-test .question-div .summary > .question{
    font-size: 1.2em;
    -webkit-flex: 0 1 calc(100% - 3em);
    flex: 0 1 calc(100% - 3em);
}

@media only screen and (max-width: 480px){
    .massage-test .question-div .summary > .question{
        margin-top: 2px;
    }
}

.massage-test .question-div.gray-out .summary > .question{
    opacity: 0.5;
}

.massage-test .question-div .step-body{
    margin-left: 3em;
    max-height: 0;
    transition: max-height 500ms linear;
    overflow: hidden;
}

.massage-test .question-div.active .step-body{
    max-height: 2000px;
}

.massage-test .question-div:not(.active) .step-body{
    display: none;
}

.massage-test .question-div .question-image{
    margin-bottom: 1em;
}

.massage-test .question-div .answers{
    -webkit-display: flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-justify-content: space-between;
    justify-content: space-between;

    margin-top: 1em;
}

.massage-test .question-div .answers > .answer{
    -webkit-flex: 0 1 calc(50% - 0.5em);
    flex: 0 1 calc(50% - 0.5em);
    padding: 1em;
    position: relative;

    margin-bottom: calc(1em);
}

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

    .massage-test .question-div .answers > .answer{
        -webkit-flex: 0 1 calc(100%);
        flex: 0 1 calc(100%);
        padding: 1em;
        position: relative;

        margin-bottom: calc(1em);
    }

}


.massage-test .question-div .answers > .answer.input{
    overflow: hidden;
    color: #fff;
    background-color: #0d384b;
    box-shadow:0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: 300ms;
    -webkit-transition: 300ms;
    -ms-transition: 300ms;

    min-height: 6vh;
}

@media only screen and (max-width: 480px){
    .massage-test .question-div .answers > .answer.input{
        min-height: 8vh;
    }
}

.massage-test .question-div .answers > .answer input{
    display: none;
}



.massage-test .question-div .answers > .answer.input label {
    font-weight: 400;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 1em;

    transition: 300ms;
    -webkit-transition: 300ms;
    -ms-transition: 300ms;
    position: relative;
    z-index: 3;
    display: block;
    /*height: 45px;
    line-height: 45px;*/

    display: flex;
    justify-content: center;
    align-items: center;

    webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;

}

.massage-test .question-div .answers > .answer.input label:hover{
    /*font-size: 1.2em;*/
}

.massage-test .question-div .answers > .answer.input.static{
    overflow: visible;
}

.click-effect {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    opacity: 0.4;
    background: #ff6914;
    border-radius: 50%;
}

.click-effect.static{
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 0;
    opacity: 1;
}

.checkmark {
    display: inline-block;
    position: absolute;
    z-index: 200;
    right: 0.5em;
    bottom: 0.25em;
    font-size: 2em;
}

.checkmark:after {
    content: '';
    display: block;
    width: 0.25em;
    height: 0.5em;
    border: solid green;
    border-width: 0 0.2em 0.2em 0;
    transform: rotate(45deg);
}

.massage-test .question-div .buttons{
    text-align: right;
}

.massage-test .question-div.final-step .buttons.left{
    text-align: left;
    margin-left: 3em;
    margin-top: 2em;
}

.massage-test .question-div .buttons button{
    margin-top: 1em;
    display: inline-block;
    padding: 1em 2em;
    color: rgba(0,0,0,0.8);
    border: 2px solid rgba(0,0,0,0.8);
    font-weight: 600;
    border-radius: 0;

    transition: all 300ms linear;
}

.massage-test .question-div .buttons :disabled{
    color: rgba(0,0,0,0.4);
    border: 2px solid rgba(0,0,0,0);
}

.woocommerce-MyAccount-navigation > ul li{
    border: 1px rgba(0,0,0,0);
    border-bottom: 1px!important;
}

.woocommerce-MyAccount-navigation .toggle-navigation{
    display: none;
}

@media only screen and (max-width: 768px){
    .woocommerce-MyAccount-navigation > ul{
        display: flex;
    }

    .woocommerce-MyAccount-navigation > ul li{
        margin-right: 1em;
    }

    .woocommerce-MyAccount-navigation > ul li a{
        border-bottom: 0 !important;
    }

    .woocommerce-MyAccount-navigation .toggle-navigation{
        text-align: center;
        display: block;
    }
}

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

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

    .woocommerce-MyAccount-content{
        border: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-content-box, .coupon, .cart_totals{
        border: 0 !important;
        padding: 0 !important;
    }

    table.cart .product-thumbnail, table.cart .product-price {
        position: absolute;
        left: -999em;
    }

    .shop_table tbody tr{
        height: auto !important;
    }

    .shop_table td {
        padding: 10px 0 !important;
    }

    .product-info{
        margin-top: 0 !important;
    }

    .product-title{
        white-space: pre;
    }

    .product-thumbnail{
        display: none !important;
    }

    .woocommerce-Price-amount.amount {
        font-size: 1em !important;
    }

    .product-subtotal{
        font-size: 1em;
        text-align: right !important;
    }

    .shop_table .product-remove {
        width: 10% !important;
    }

    .wc-proceed-to-checkout{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    .wc-proceed-to-checkout .fusion-update-cart{
        flex: 0 1 45%;
        margin-right: 2.5%
    }

    .wc-proceed-to-checkout .checkout-button{
        flex: 0 1 45%;
        margin-left: 2.5%;
        margin-top: 0 !important;
    }

    .wcppec-checkout-buttons{
        margin-top: 1em;
        flex: 1;
    }


}


.attendee-list{
    display: none;
}

.attendee-list > td{
    padding: 15px!important;
    margin: 10px;

    border: 1px solid #e0dede;
}

div.table{
    display: table;
    border-collapse: collapse;
    table-layout: auto;
    margin-top: 1em;
}

div.table.responsive{
    width: 100%;
}

div.table > div.head, div.table > div.body{
    display: table-header-group;
}

@media only screen and (max-width: 480px){
    div.table > div.head{
        display: none;
    }

    .mobile-space-between{
        justify-content: space-between;
    }
}

div.table  > div.head .row {
    border-bottom: 1px solid #e0dede;

    font-weight: 700;
    font-size: 0.8em;
}

div.table  > div.head .cell{
    padding-bottom: 0.8em;
}

div.table .row{
    display: table-row;
    margin: 0 !important;
}

div.table .cell{

}

div.table .cell > .mobile-title{
    display: none;
}

div.table.responsive .row .cell:last-child{
    width: 1px;
    white-space: nowrap;
}

@media only screen and (max-width: 480px){
    div.table .cell > .mobile-title{
        display: block;
        font-size: 0.7em;
    }

    div.table div.body .row{
        display: flex;
        flex-flow: row wrap;
    }

    div.table div.body .cell {
        padding: 0.3em 0 !important;
    }

    div.table div.body .cell.title{
        flex: 1 100%;
    }

    div.table div.body .cell.place, div.table div.body .cell.city, div.table div.body .cell.date{
        flex: 1;
    }

    div.table.responsive button{
        width: 100%;
        margin-right: 0;
    }


}

div.table div.head .cell, div.table div.body .cell{
    display: table-cell;
}

div.table div.body .cell{
    padding: 1em 0;
}

.flex{
    display: -webkit-flex;
    display: flex;

    align-items: center;
}

.space-between{
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.product.flex > *{
	justify-content: flex-start;
}

.border{
    border: 1px solid #e0dede;
}

.p1em{
    padding: 1em;
}

button.blue{
    padding: 0.5em 1em;
    background-color: #0d384b;
    color: rgb(238, 238, 238);
    box-sizing: border-box;
    display: inline-block;
    white-space: nowrap;

    height: 3em;
    
    text-transform: uppercase;
}

button.blue:hover {
    background-color: #3d5f6e;
    cursor: pointer;
}

.flex-table{
    display: -webkit-flex;
    display: flex;

    flex-flow: column;

    align-items: center;
}

.flex-table.border{
    border: 1px solid #e0dede;
}

.flex-table > .head{
    display: flex;
    flex: 1;
    width: 100%;

    border-color: #e0dede;
    border-bottom: 1px solid;

    margin-bottom: 0.25em;
}

.flex-table .head .cell{
    padding-bottom: 0.4em;
    font-weight: 700;
    font-size: 0.85em;

}

.flex-table > .body{
    display: flex;
    flex: 1;
    width: 100%;
    flex-flow: column;
}

.flex-table .row{
    display: flex;
    flex: 1;
    
    flex-flow: row wrap;

    justify-content: space-between;
    align-items: center;

    margin: 0 !important;

}

.flex-table .body .row.bar{
    padding: 0.8em;
    background: rgba(13, 56, 75, 0);
    color: rgba(13, 56, 75, 1);

    transition: all 200ms linear;
}

.flex-table .body .row.bar:hover{
    cursor: pointer;
}

.flex-table .body .row.bar.active{
    background: rgba(13, 56, 75, 1);
    color: white;
}

.flex-table .row.hidden{
    display: none;
}

.flex-table .row.title > h3{
	margin: 0;
	font-weight: bold;
}

.flex-table .body .row{
    padding: 0.8em 0;
}

.flex-table .body .row.visible{
    border-bottom: 2px solid rgba(13, 56, 75, 1);
}

.flex-table.border{
	padding: 1em;
	border: 1px solid lightgray;
}



/* Course table*/
.cell.course{
    flex: 0 1 55%;
}
.cell.room{
    flex: 0 1 25%;
}

.cell.date{
    flex: 0 1 15%;
}

.hide{
    display: none;
}

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

    .flex-table .head{
        display: none;
    }

    .flex-table .body .row {
        flex-flow: row wrap;
    }

    .cell{
        flex: 0 1 50%;
    }

    .cell.course{
        flex: 0 1 50%;
    }
    .cell.room{
        flex: 0 1 50%;
        font-size: 0.8em;
        text-align: right;
    }

    .cell.date{
        flex: 0 1 50%;
        font-size: 0.8em;
    }

    .cell.post-date{
        flex: 0 1 25%;
    }
}

div[id^='attendee-list'] > .cell {
    flex: 1;
}

/* Course attendee table*/
.cell.student{
    flex: 0 1 35%;
}
.cell.email{
    flex: 0 1 30%;
    font-size: 0.8em;
}
.cell.signupdate{
    flex: 0 1 10%;
    font-size: 0.8em;
}
.cell.itemcount{
    flex: 0 1 10%;
}
.attendee-list .cell.buttons{
    flex: 0 1 10%;
    min-width: 130px;
    text-align: right;
}

textarea.comment{
    resize: none;
}

textarea.comment[readonly]{
    border: 0;
}

.flex-table.attendee-list button{
	margin-right: 0 !important;
}

.cell.full-width{
    flex: 1 !important;
}

div.flex-table .row:after{
	content: none !important;
}

@media only screen and (max-width: 480px){
    .cell.student{
        flex: 0 1 50%;
    }
    .cell.email{
        flex: 0 1 50%;
        font-size: 0.6em;
        text-align: right;
    }
    .cell.signupdate{
        flex: 0 1 50%;
    }
    .cell.itemcount{
        flex: 0 1 50%;
        text-align: right;
    }
    .cell.buttons{
        flex: 0 1 100%;
    }

    .attendee-list .cell.buttons{
        flex: 0 1 100%;
        margin-top: 0.6em;
    }

    .attendee-list .cell.buttons button{
        margin-right: 0;
        width: 100%;
    }

    .cell.full-width{
        flex: 1 !important;
    }
}


/*course attendees bought products*/
div.flex-table .row.product .title{
	flex: 1;
}

div.flex-table .row.product .qty{
	flex: 1;
}

div.flex-table .row.product .buttons{
	min-width: 260px;
  text-align: right;
}

@media only screen and (max-width: 480px){
	div.flex-table .row.product{
		flex-flow: row wrap;
	}
	
	div.flex-table .row.product .title{
		flex: 0 1 100%;
	}
	
	div.flex-table .row.product .buttons{
		flex: 0 1 100%;
	}
	
	div.flex-table .row.product .buttons button{
		width: 100%;
	}
}

#main{
    min-height: 80vh;
}

.avada-myaccount-user{
    display: none !important;
}

.products.columns-4{
    display: flex;
    flex-flow: row wrap;
}
.products.columns-4 > li.product{
    flex: 0 1 25%;
}

.shop_table .coupon{
    display: none;
}
