/**
Theme Name: WM
Author: Whiteboard Marketing
Author URI: https://www.whiteboard-mktg.com
Description: Child theme for WM Astra.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wm
Template: astra
*/

/* Spacing */
.m-auto {
    margin: auto !important;
}

.m-0 {
    margin: 0px !important;
}

.p-0 {
    padding: 0px !important;
}

.m-0 {
    margin: 0px !important;
}

.m-10 {
    margin: 10px !important;
}

.m-20 {
    margin: 20px !important;
}

.m-30 {
    margin: 30px !important;
}

.m-2em {
    margin: 2em !important;
}

.m-4em {
    margin: 4em !important;
}

.p-0 {
    padding: 0px !important;
}

.p-10 {
    padding: 10px !important;
}

.p-20 {
    padding: 20px !important;
}

.p-30 {
    padding: 30px !important;
}

.p-2em {
    padding: 2em !important;
}

.p-4em {
    padding: 4em !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-2em {
    margin-top: 2em !important;
}

.mt-4em {
    margin-top: 4em !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-2em {
    margin-bottom: 2em !important;
}

.mb-4em {
    margin-bottom: 4em !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.pt-2em {
    padding-top: 2em !important;
}

.pt-4em {
    padding-top: 4em !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pb-30 {
    padding-bottom: 30px !important;
}

.pb-2em {
    padding-bottom: 2em !important;
}

.pb-4em {
    padding-bottom: 4em !important;
}

.mw-100 {
    max-width: 100px;
}

.mw-200 {
    max-width: 200px;
}

.mw-300 {
    max-width: 300px;
}

.mw-400 {
    max-width: 400px;
}

.mw-500 {
    max-width: 500px;
}

.mw-600 {
    max-width: 600px;
}

.mw-700 {
    max-width: 700px;
}

.mw-800 {
    max-width: 800px;
}

/* END spacing */

/* Blog Image Fix */
body.post-template-default.single.single-post article .post-thumb-img-content img {
    height: 500px !important;
    width: 800px;
    object-fit: contain;
}

@media (max-width: 600px) {
    body.post-template-default.single.single-post article .post-thumb-img-content img {
        height: auto !important;
        width: 100%;
        object-fit: inherit;
    }
}

/* END Blog Image Fix */
/* Blog Post styles */
body.post-template-default.single.single-post article {
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}

body.post-template-default.single.single-post .post-thumb-img-content {
    background: white;
    text-align: center;
    padding: 0px;
}

body.post-template-default.single.single-post h1.entry-title {
    font-size: 28px !important;
}

body.post-template-default.single.single-post .ast-single-post-order {
    text-align: center;
}

body.post-template-default.single.single-post div#primary {
    margin-top: 0px;
    padding: 0;
}

body.post-template-default.single.single-post article.post {
    padding: 2em;
}

.blog-list h4.uagb-post__title.uagb-post__text {
    margin-top: 15px;
}

/* END Blog Post styles */


.wp-block-group__inner-container h2,
.wp-block-group__inner-container h3,
.wp-block-group__inner-container h4,
.wp-block-group__inner-container h5,
.wp-block-group__inner-container h6 {
    display: block;
    clear: none;
}

.gform_wrapper.gravity-theme input[type=color],
.gform_wrapper.gravity-theme input[type=date],
.gform_wrapper.gravity-theme input[type=datetime-local],
.gform_wrapper.gravity-theme input[type=datetime],
.gform_wrapper.gravity-theme input[type=email],
.gform_wrapper.gravity-theme input[type=month],
.gform_wrapper.gravity-theme input[type=number],
.gform_wrapper.gravity-theme input[type=password],
.gform_wrapper.gravity-theme input[type=search],
.gform_wrapper.gravity-theme input[type=tel],
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=time],
.gform_wrapper.gravity-theme input[type=url],
.gform_wrapper.gravity-theme input[type=week],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    height: 50px;
}



/*********** CUSTOM FOR WMX ***********/

div#ast-desktop-header .ast-builder-html-element p {
    line-height: 20px;
}

.opacity-img {
    opacity: .4;
}

.br {
    border-radius: 20px;
}

.inner-block-unset .uagb-container-inner-blocks-wrap {
    position: unset !important;
}

/* Service Boxes */
.hover-boxes .wp-block-uagb-info-box,
.hover-boxes .wp-block-uagb-info-box h3.uagb-ifb-title,
.hover-boxes .wp-block-uagb-info-box p,
.hover-boxes .wp-block-uagb-info-box img {
    transition: .3s all;
}

.hover-boxes .wp-block-uagb-info-box {
    border-radius: 20px;
    background: white;
}

.hover-boxes .wp-block-uagb-info-box:hover {
    background: var(--ast-global-color-0);
}

.hover-boxes .wp-block-uagb-info-box:hover h3.uagb-ifb-title {
    color: white;
}

.hover-boxes .wp-block-uagb-info-box:hover p {
    color: white;
}

.hover-boxes .wp-block-uagb-info-box:hover img {
    opacity: .8;
}

.hover-boxes .uagb-ifb-content {
    padding: 20px;
}

.hover-boxes .uagb-ifb-content img {
    border-radius: 12px;
}

/* END Service Boxes */


/* SVG lines */
.line-design {
    position: relative;
    overflow: hidden !important;
}

.line-design .cls-1 {
    fill: none;
    stroke: var(--wp--preset--color--ast-global-color-1);
    stroke-opacity: .5;
    stroke-width: 2px;
}

.line-design.color-bg .cls-1 {
    stroke: white;
}

.line-design svg.hero-line {
    position: absolute !important;
    bottom: 0px;
    left: -60px;
    width: 100%;
    height: 270px;
    z-index: 1;
}

.line-design.services-line svg.hero-line {
    position: absolute !important;
    bottom: 0px;
    left: -160px;
    width: 100%;
    height: 180px;
    z-index: 1;
}

.line-design svg.double-line {
    position: absolute !important;
    top: -15px;
    right: -60px;
    width: 500px !important;
    height: 800px;
    z-index: 1;
}

.line-design svg.horizontal-line {
    position: absolute !important;
    top: 200px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

@media (max-width: 921px) {
    .line-design svg.hero-line {
        left: 0px;
        bottom: -211px;
    }

    .line-design.services-line svg.hero-line {
        left: 0px;
    }

    .line-design svg.horizontal-line {
        top: auto;
        bottom: 200px;
    }

    .line-design svg.horizontal-line .cls-1 {
        stroke-width: 4px;
    }
}

/* END SVG lines */

/* Media Queries */
@media (max-width: 1400px) {
    a.header-address {
        display: none;
    }
}

@media (max-width: 921px) {

    #primary,
    #secondary {
        padding: 0px;
        margin: 0;
    }
}


/* END Media Queries */


/*********** END - CUSTOM FOR WMX ***********/




/* END CUSTOM FOR WMX */

@media (min-width:921px) {
    #ast-mobile-header {
        display: none;
    }
}

.entry-content figure.alignright {
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 20px;
}

@media (max-width: 800px) {
    .entry-content figure.alignright {
        float: none !important;
        width: 100%;
        margin: 0 !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 1410px) {
    a.ast-custom-button-link {
        display: none !important;
    }
}

@media (max-width: 921px) {
    a.ast-custom-button-link {
        display: block !important;
    }
}

body.default-logo-aspect-ratio .custom-logo-link img {
        height: auto !important;
        width: 250px !important;
        max-width: 100% !important;
    }

