/**
 * Theme Name:     Australian Writers' Centre Theme - MOBILE
 * Author:         Australian Writers' Centre
 * Template:       hello-elementor
 * Text Domain:    australian-writers-centre-theme
 * Description:    A plain-vanilla &amp; lightweight theme for Elementor page builder
 * Version:        2.1
 */
.col2-set-mobile {
    display: flex;
}

@media (min-width: 1024px) {
    .menu-item-102318 {
        display: none !important;
    }
}

@media screen and (max-width: 1024px) {
    .boom_bar .boom_bar-inner-container {
        padding: 0 20px;
    }
}

@media (min-width: 768px) {
    #billing_city_field, #billing_state_field {
        float: left;
        clear: unset;
        width: 32%;
        margin-right: 13px;
    }   

    #billing_postcode_field {
        float: left;
        clear: unset;
        width: 31%;
        margin-right: 0px;
    }

    .elementor-512 .elementor-element.elementor-element-94ce052 {
        width: 100% !important;
    }
}

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

    .custom-testimonial{
        font-size: 18px;
    }
    .boom_bar {
        display: block!important;
    }    

    .elementor-512 .elementor-element.elementor-element-7e2eef85 {
        margin-top: -60px !important

    }

    /*.elementor-139 .elementor-element.elementor-element-1684084 {*/
    /*    margin-top: 160px !important;*/ /*Boom bar changes*/
    /*}*/


    .elementor-512 .elementor-element.elementor-element-94ce052 {
        width: 100% !important;
    }

    .awc-product-variation .product-variation-row>.product-variation-addtocart>.product-var-add-to-cart, .awc-product-variation .product-variation-row>.product-variation-addtocart>.product-var-add-to-cart-link{
        width:100%;
        margin: 0 auto 20px auto !important;
    }
}

@media screen and (max-width: 782px) {
    html {
        margin-top: 80px !important;
    }

    .elementor-101878 .elementor-element.elementor-element-d56be1b {
        margin-top: 0px !important;
    }

    .boom_bar {
        /*display: unset;*/
    }

    #cross-sell-text {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .custom-testimonial {
        padding: 38px 28px 10px 20px !important;
        margin: 0px auto;
        background-color: #D0E5ED;
        position: relative;
        font-weight: 600 !important;
        text-align: right;
    }

    .elementor-sub-item.elementor-item-active{
        color: #555 !important;
    }
}

@media screen and (max-width: 768px) {
    .boom_bar {
        display: block!important;
    }

    .elementor-512 .elementor-element.elementor-element-7e2eef85 {
        margin-top: -60px !important;
        position: fixed;
        top: 0;
        box-shadow: 0 0 5px 2px rgba(153,153,153,.5);
    }

        .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row > .elementor-column:first-child {
        width: 30%;
    }

    .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row > .elementor-column:last-child {
        width: 70%;
    }

    .menu-item-102318 {
        background-color: #f72a94 !important;
    }

    .menu-item-102318 a.elementor-item-active {
        color: white !important;
    }


    .elementor-inner{
        margin-top: 100px;
    }

}

/**
 * MAIN HEADER AND NAVIGATION
 * ---------------------------------
 */
@media (max-width: 768px) {
    .elementor-element.elementor-element-7e2eef85 {
        padding: 10px;
    }

    .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row {
        align-items: center;
    }

    .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row > .elementor-column:first-child {
        width: 70%;
    }

    .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row > .elementor-column:last-child {
        width: 30%;
    }

    .elementor-menu-toggle ~ .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        top: 60px;
        left: -60%;
    }

    /*new menu positioning*/
    .site-logo .elementor-widget-wrap {
        display: flex;
        align-items: center;
        flex-flow: row;
        justify-content: center;
    }

    .site-logo .elementor-widget-wrap > .elementor-element:first-child {
        /*width: 20%;*/
        /*margin-right: 25px;*/
    }

    /*right menu*/
    #awc-main-menu-navigation > .elementor-container > .elementor-row {
        justify-content: space-between;
    }

    #awc-main-menu-navigation > .elementor-container > .elementor-row > div {
        flex-basis: 25%;
    }

    p, ul, ol {
        margin: 0px;
    }

    body.elementor-kit-559 p, .awc-product-list .awc-product-list__info p {
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 18px;
    }

    .home .awc-product-list__price__duration {
        /*display: inline;*/
        /*padding-right: 15px;*/
        margin-bottom: 10px !important;
        font-weight: 700 !important;
    }

    .awc-product-list__price__duration {
        /*display: inline;*/
        /*padding-right: 15px;*/
        margin-bottom: 10px !important;
    }

    .home .awc-product-list__price__price {
        /*display: inline;*/
        /*padding-right: 15px;*/
        margin-bottom: 10px !important;
    }

    .home .awc-product-list__price__date {
        /*display: inline;*/
        /*padding-right: 15px;*/
        margin-bottom: 10px !important;
        font-weight: 700 !important;
    }

    .graduate-success-book div div img {
        max-width: 100px;
    }

    .lessons-include ol {
        padding-inline-start: 0px;
    }

    .gallery .gallery-item {
        height: 150px;
        width: 30%;
        margin-right: 5px !important;
    }

    .elementor-element-6411837 > .elementor-container > .elementor-row {
        flex-direction: row !important;
        flex-wrap: nowrap;
    }

    .site-logo .elementor-widget-wrap > .elementor-element:first-child {
        width: auto;
        margin-right: auto;
    }

    .elementor-element-6411837 > .elementor-container > .elementor-row > .elementor-element:first-child {
        width: 30%;
    }

    .elementor-element-6411837 > .elementor-container > .elementor-row > .elementor-element:last-child {
        width: 70%;
    }

    .elementor-menu-toggle ~ .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        left: -60%;
    }

    .hide-link-on-desktop {
        display: block !important;
    }

    .awc-product-list .awc-product-list__price .awc-product-list__price__status {
        /*padding-left: 20px;*/
    }

    .awc-col-2 {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .awc-col-2 p {
        display: inherit;
        text-align: center;
    }

    .elementor-nav-menu--dropdown .elementor-item.highlighted, .elementor-nav-menu--dropdown .elementor-item:hover {
        color: #0E93AB !important;
    }

    .woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
        right: 0;
    }

    .woocommerce-checkout #payment ul.payment_methods .stripe-card-group, #stripe-exp-element, #stripe-cvc-element {
        width: 100%;
    }

    .woocommerce-checkout #payment div.form-row:not(.place-order) {
        padding: 0;
    }

    body.elementor-kit-559 {
        margin-top: 0 !important;
    }

    /*Additional CSS*/
    /*body.elementor-kit-559 {
        margin-top: 80px !important;
    }*/

    .awc-review-filter {
        flex-direction: column;
    }

    .awc-product-list__info ul{
        padding-inline-start: 20px;
    }
    .awc-product-list__info ul li{
        font-size: 13px;
        margin-bottom: 4px;
    }
}

@media screen and (width: 768px) {
    .elementor-512 .elementor-element.elementor-element-7e2eef85 {
        top: 80px !important;
        top: 0px !important;
        padding-top: 20px;
    }

    body.elementor-kit-559 {
        margin-top: 0 !important;
    }

    .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row > .elementor-column:first-child {
        width: 50%;
    }

    .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row > .elementor-column:last-child {
        width: 50%;
    }

    .site-logo img {
        height: auto !important;
        margin-top: -25px;
        width: 80% !important;
    }
}

@media (max-width: 576px) {
    .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout {
        flex-direction: column;
    }

    /**JP 09 14 2022 for reviews page*/
    #awc-main-reviews, .awc-page{
	    margin-top: 60px;
    }

    .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
        width: 100%;
    }

    .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout .course-btn {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout .checkout-button {
        width: 100%;
    }

    .post-154 .page-header .entry-title {
        width: 70%;
        margin: auto;
        margin-top: -20px;
        margin-bottom: 0px;
        border-bottom: solid 5px #00b1cd;
    }

    .elementor-512 .elementor-element.elementor-element-7e2eef85.awc-fixed-menu {
        position: fixed !important;
        top: 0 !important;
        margin-top: -60 !important;
        box-shadow: 0 0 5px 2px rgba(153, 153, 153, 0.5);
    }

    .elementor-element-7e2eef85 img {
        height: auto !important;
        width: 100% !important;
    }

    .col2-set {
        display: flex;
        flex-direction: column;
    }

    .col-2 {
        display: flex;
        flex-direction: column-reverse;
    }

    .col-2:nth-child(1) {
        order: 1;
    }

    .col-2:nth-child(2) {
        order: 3;
    }

    .col-2:nth-child(3) {
        order: 5;
    }

    .col-2:nth-child(4) {
        order: 0;
    }

    .col-2:nth-child(5) {
        order: 2;
    }

    #order_review_mobile {
        display: block;
    }

    #order_review_desktop {
        display: none;
    }

    #payment_method_container_mobile {
        display: block;
    }

    #payment_method_container_desktop {
        display: none;
    }

    .wc-credit-card-form .form-row-last {
        margin-left: 10px;
    }

    .awc-sale-product-list tr {
        display: flex;
        flex-flow: row wrap;
    }

    .awc-sale-product-list .awc-product-list__image, .awc-sale-product-list .awc-product-list__image {
        display: block !important;
        flex-basis: 25%;
        padding-right: 0;
        margin-right: 0;
    }

    .awc-sale-product-list .awc-product-list__info {
        flex-basis: 75%;
        padding-left: 5px;
    }

    .awc-sale-product-list .awc-product-list__info .awc-product-list__info__title {
        margin-top: 0;
        font-size: 21px;
    }

    .awc-sale-product-list .awc-product-list__price {
        flex-basis: 100%;
    }

    .awc-sale-product-list .awc-product-list__button {
        flex-basis: 100%;
    }

    .awc-sale-product-list .awc-product-list__info p {
        font-size: 15px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    .awc-sale-product-list {
        width: 100%;
    }

    .awc-modal .awc-modal__dialog {
        top: 60%;
        width: 98%;
    }

    .awc-modal {
        overflow-y: scroll;
    }

    .boom_bar {
        display: block !important;
        z-index: 0;
        /*position: absolute !important;*/
    }

    .awc-modal__dialog .awc-modal-close {
        top: 30px;
        right: 0;
    }

    .awc-modal__dialog .awc-modal-header {
        padding: 27px;
    }
}

@media screen and (max-width: 420px) {
    .boom_bar {
        display: block!important;
    }

    .home-presenter-thumb {
        margin-top: 10px;
    }

    /*.elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row >.elementor-column:first-child{*/
    /*width: 50%;*/
    /*}*/
    /*.elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row >.elementor-column:last-child{*/
    /*width: 50%;*/
    /*}*/
    blockquote.orange-quote {
        position: relative;
        margin-top: 50px;
        margin-right: 10px;
        margin-bottom: 20px;
        margin-left: 10px;
        padding-left: 0px;
        line-height: 1.4;
    }

    .review-book {
        display: none !important;
    }

    .review-white-box {
        min-height: 200px !important;
    }

    .elementor-139 .elementor-element.elementor-element-84e68b3 {
        margin-top: 10px !important;
    }

    .awc-product-list .awc-product-list__price .awc-product-list__price__status {
        margin-top: 15px;
		margin-bottom:15px;
    }

    .elementor-element-7e2eef85 img {
        width: 160px !important;
        margin-left: 20px;
        padding-top: 0px;
    }

    .gallery .gallery-item {
        height: 180px !important;
    }

    .elementor-element-e08c139 .gallery .gallery-item {
        height: 180px !important;
        margin-right: 10px !important;
        width: 30% !important;
    }

    .awc-product-list td:not(.awc-product-list__image):not(.rhs-product-info), .awc-sale-product-list td:not(.awc-product-list__image):not(.rhs-product-info) {
        padding: 5px 10px !important;
    }

    .gallery-icon.portrait, .gallery-icon.landscape {
        height: 100%;
    }

    .gallery-icon.portrait img, .gallery-icon.landscape img {
        height: 100% !important;
        object-fit: cover;
    }

    #writing-quest-for-kids-books .gallery .gallery-item {
        height: 260px !important;
    }

    #writing-quest-for-kids-books .gallery-icon.portrait img, .gallery-icon.landscape img {
        object-fit: contain;
    }

    .awc-product-variation .product-variation-row .product-variation-location,
    .awc-product-variation .product-variation-row .product-variation-datetime,
    .awc-product-variation .product-variation-row .product-variation-duration,
    .awc-product-variation .product-variation-row .product-variation-presenter,
    .awc-product-variation .product-variation-row .product-variation-price, .awc-product-variation
    .product-variation-row .product-variation-addtocart
    .awc-product-variation .product-variation-row>.product-variation-addtocart>.product-var-add-to-cart-link{
        width: 100% !important;
    }

    .elementor-1147 .elementor-element.elementor-element-edf1651 > .elementor-element-populated,
    .elementor-element.elementor-element-828a337,
    .elementor-element.elementor-element-ce0f9d0,
    .elementor-element.elementor-element-6d26cdc {
        padding: 20px 20px 0 20px !important;
    }

    #more-success-stories {
        margin-left: 10px;
    }

    body.elementor-kit-559 h3 {
        /**margin-top: 30px;**/
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .elementor-element.elementor-element-2638613 li, .elementor-element.elementor-element-12d1d9e li {
        padding-right: 30px;
    }

    .elementor-widget-text-editor, .elementor-heading-title {
        padding: 10px 12px !important;
    }

    .elementor-element-08103c9, .elementor-element-c87d2f5, .elementor-element-d032bb8 {
        padding: 0 !important;
    }

    .elementor-element-4d05fd4 .elementor-widget-text-editor {
        padding: 0 20px !important;
    }

    .elementor-element-4d05fd4 .elementor-widget-container {
        padding: 20px 20px 10px 20px !important;
    }

    .elementor-element-d28b4f8 .elementor-heading-title {
        padding: 0px 30px !important;
    }

    .elementor-1207 .elementor-element.elementor-element-c3c1fd5:not(.elementor-motion-effects-element-type-background) {
        background-image: none !important;
    }

    table.awc-product-list .awc-col-2 p {
        margin: auto;
        padding: 0;
        text-align: center;
        display: block;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    /*.elementor-element-84e68b3 .elementor-element-populated {
        margin: 0px 0px 0px 10px !important;
    }*/

    .elementor-512 .elementor-element.elementor-element-7e2eef85 {
        margin-bottom: 10px !important;
    }

    .elementor-element.elementor-element-7e2eef85 > .elementor-container > .elementor-row {
        margin-bottom: 0px !important;
    }

    .elementor-page-1135 .elementor-widget-video {
        margin-bottom: 10px !important;
    }

    .elementor-element-544da26 h3 {
        margin-top: 5px !important;
    }

    .elementor-element-911b707 .elementor-element-populated {
        margin: 0px 10px 0px 0px !important;
    }
    allison_books #gallery-2 {
        display: flex;
        flex-flow: row wrap;
    }

    .allison_books #gallery-2 .gallery-item {
        flex-basis: 50%;
        width: 50% !important;
        margin: 0 !important;
        height: 100% !important;
    }

    .allison_books #gallery-2 .gallery-item img {
        height: auto !important;
        object-fit: initial !important;
    }
}

@media (max-width: 415px) {
    .elementor-512 .elementor-element.elementor-element-7e2eef85 {
        margin-top: -60px !important

    }
    .awc-modal .awc-modal__dialog {
        top: 50%;
    }

    .awc-modal-content p {
        font-size: 19px !important;
    }

    .cross-sell-description h5 {
        line-height: 1.4;
    }
}

@media (max-width: 375px) {
    .awc-modal .awc-modal__dialog {
        top: 50%;
    }
}

@media (max-width: 320px) {
    .awc-modal .awc-modal__dialog {
        top: 50%;
    }
}

@media screen and (max-width: 580px){
table.awc-product-list .awc-col-2 p {
    margin: auto;
    padding: 0;
    text-align: center;
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
}
}

