/*
Theme Name: MysticDragon
Author: MysticDragon
Version: 1.0.0
Text Domain: MysticDragon
*/

/* =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%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.sticky,
.bypostauthor,
.screen-reader-text {
    outline: none;
}

.gallery-item .gallery-caption {
    text-align: center;
    padding: 0 20px 15px;
}

/* =Elementor fix
-------------------------------------------------------------- */
.elementor-widget-text-editor {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
}

/* =WordPress admin bar fix
/* ----------------------------------------------- */

html {
    margin-top: 0 !important;
}

body.admin-bar {
    margin-top: 32px !important;
}

body.admin-bar .header,
body.admin-bar .mobile-nav {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 46px !important;
    }

    body.admin-bar .header,
    body.admin-bar .mobile-nav {
        top: 46px !important;
    }

}

@media screen and (min-width: 1920px) {
    .elementor-video{
        position: fixed;
        transition: opacity 2s ease-in;
        top: 50%;
        left: 50%;
        min-width: 100%;
        max-height: 600px;
        width: 100%;
        height: auto;
        z-index: -100;
        -ms-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        background: url(../../uploads/2020/03/Mystic-Dragon-site-landing-page-Animation-mp4-image.png) no-repeat;
        filter:opacity(76%);
        background-size: cover;
    }
    
}



@media screen and (max-width: 1920px) {
    .elementor-video{
        position: fixed;
        transition: opacity 2s ease-in;
        top: 50%;
        left: 50%;
        min-width: 100%;
        max-height: 600px;
        width: 100%;
        height: auto;
        z-index: -100;
        -ms-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        background: url(../../uploads/2020/03/Mystic-Dragon-site-landing-page-Animation-mp4-image.png) no-repeat;
        filter:opacity(76%);
        background-size: cover;
    }

}


@media screen and (max-width: 1890px) {
    .elementor-video{
        display:none !important;
    }
    
    /*.elementor-column-wrap>.elementor-widget-wrap>.elementor-element {
        width: 99%
    }*/
    
}

.elementor-aspect-ratio-169 .elementor-fit-aspect-ratio{padding-bottom:550px !important;}

.elementor-41 .elementor-element.elementor-element-2ca3a0f:not(.elementor-motion-effects-element-type-background), .elementor-41 .elementor-element.elementor-element-2ca3a0f > .elementor-motion-effects-container > .elementor-motion-effects-layer{
    background-size: cover !important;
}


/*@media screen and (max-width: 1100px) {*/
    .elementor-41 .elementor-element.elementor-element-2ca3a0f > .elementor-background-overlay {
    background-position: center 35px !important;
    background-repeat: no-repeat;
    filter: opacity(100%);
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 9;
    margin-top: 100px;
    }
/*}*/


@media screen and (max-width: 530px) {
    .elementor-41 .elementor-element.elementor-element-2ca3a0f > .elementor-background-overlay {
       background-size: 90%;
    }
}


.footer__top{
    background-image: url(../../uploads/2020/03/footer-bg-scaled.jpg);
    background-size: cover;
    height: 400px;
}

.header__right{
    width: 98% !important;
}

@media screen and (min-width: 1200px){
    .section__title {
        font-size: 3.7rem !important ;
    }
}

@media screen and (min-width: 1200px){
    .mainmenu {
        justify-content: center !important;
    }
}


@media screen and (max-width: 530px) {
.elementor-41 .elementor-element.elementor-element-2ca3a0f:not(.elementor-motion-effects-element-type-background), .elementor-41 .elementor-element.elementor-element-2ca3a0f > .elementor-motion-effects-container > .elementor-motion-effects-layer {        
    background-position-x: 496px;
    }
}