/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.home-page-template .box-columns {
    width: 100%;
    min-height: 500px;
    height: calc(100vh - 95px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background-color: #000;
}

.box-columns a {
    color: #fff;
    overflow: hidden;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #000;
}

.box-columns a:hover .hover, .box-columns a:focus .hover {
    opacity: 1;
    display: block;
}

.box-columns a:hover:after, .box-columns a:focus:after {
    opacity: 1;
    display: block;
}

.home-page-template .box-columns .col {
    width: 33.333%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.box-columns .col.top-large>.top, 
.box-columns .col.bottom-large>.bottom {
    height: 67%;
}

.box-columns .col .parent {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.box-columns .col .parent.parent-h>div, 
.box-columns .col .parent.parent-h>a {
    width: 50%;
}

.home-page-template .box-columns a:before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.15);
    z-index: 3;
    -webkit-box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.25);
    box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.25);
}

@media screen and (max-width: 767px) {
    .box-columns a:before {
        background-color: rgba(0,0,0,0.05) !important;
        height: 100%;
        top: initial;
        bottom: 0;
        left: 0;
        z-index: 3;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }
}

.home-page-template .box-columns .content {
    position: relative;
    z-index: 4;
    text-align: center;
}

.home-page-template .box-columns a .hover {
    -webkit-filter: blur(7px);
    filter: blur(7px);
    display: block;
    opacity: 0;
    position: absolute;
    top: -7px;
    left: -7px;
    z-index: 2;
    width: calc(100% + 14px);
    height: calc(100% + 14px);
    -webkit-transition: ease all .5s;
    -o-transition: ease all .5s;
    transition: ease all .5s;
}

.home-page-template .full-bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.home-page-template .box-columns a:after {
    opacity: 0;
    z-index: 3;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('https://thequangorganization.com/wp-content/uploads/2023/10/noise.png');
    -webkit-transition: ease all .5s;
    -o-transition: ease all .5s;
    transition: ease all .5s;
}

.box-columns .col.top-large>.bottom, .box-columns .col.bottom-large>.top {
    height: 33%;
}

.box-columns .col>div, .box-columns .col>a {
    width: 100%;
}

.home-page-template .box-columns h2 {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}

.home-page-template .box-columns .reveal {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    display: none;
}

.home-page-template .box-columns p {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 5px;
}

.box-columns.mobile {
    display: none;
}

.box-columns .col .parent.parent-v>div, .box-columns .col .parent.parent-v>a {
    width: 100%;
    height: 50%;
}


@media screen and (max-width: 1023px)
{
    .box-columns h2 {
        text-shadow: 1px 2px 7px rgba(0,0,0,1);
    }
}

@media screen and (max-width: 960px)
{
    .box-columns .col .parent.parent-h>div, .box-columns .col .parent.parent-h>a {
        width: 100%;
        height: 50%;
    } 
    .box-columns .reveal {
        padding-top: 5px;
    }

    .box-columns p {
        font-size: 11px;
        line-height: 14px;
        margin-bottom: 0;
    }
}

/* #main {
    height: 100vh;
} */

@media screen and (max-width: 767px)
{
    .box-columns {
        height: 725px !important;
        /* height: 100vh !important; */
    }

    .box-columns a#box-5, .box-columns a#box-1, .box-columns a#box-3, .box-columns a#box-6, .box-columns a#box-8 {
        height: 115px;
    }

    .box-columns a#box-2 {
        height: 100px;
    }

    .box-columns a#box-3 {
        background-position: bottom;
    }

    .box-columns a#box-4 {
        height: 265px;
    }

    .box-columns a#box-4 {
        order: 1;
    }
    
    .box-columns a#box-5 {
        order: 2;
        width: 100%;
    }

    .box-columns a#box-6, .box-columns a#box-3 {
        width: 100%;
    }


    .box-columns a#box-7 {
        height: 165px;
        margin-top: -165px;
    }
}

@media screen and (max-width: 600px)
{
    .box-columns {
        height: calc(100vh - 70px);
    }
}

@media screen and (max-width: 480px)
{
    .box-columns.mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        min-height: 400px;
        /* height: 100vh; */
    }

    .box-columns a#box-1 {
        -webkit-box-ordinal-group: 7;
        -ms-flex-order: 6;
        order: 6;
    }

    .box-columns.mobile a {
        width: 50vw;
        height: 20%;
    }

    .box-columns h2 {
        font-size: 4vw;
        line-height: 4.25vw;
    }

    .box-columns.desktop {
        display: none;
    }

    .box-columns a#box-2 {
        -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
        order: 4;
    }

    .box-columns a#box-3 {
        -webkit-box-ordinal-group: 9;
        -ms-flex-order: 8;
        order: 8;
        background-position: center;
    }

    .box-columns a#box-4 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .box-columns a#box-5 {
        -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
        order: 5;
    }

    .box-columns a#box-6 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .box-columns a#box-7 {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .box-columns a#box-8 {
        -webkit-box-ordinal-group: 8;
        -ms-flex-order: 7;
        order: 7;
    }

    .box-columns a#box-9 {
        -webkit-box-ordinal-group: 10;
        -ms-flex-order: 9;
        order: 9;
        width: 100vw;
    }

    #footer {
        margin-top: 37%;
        height: 150px;
        /* display: none; */
    }
}

@media screen and (max-width: 435px)
{
    #footer {
        margin-top: 33%;
    }
}

@media screen and (max-width: 430px)
{
    #footer {
        margin-top: 35%;
    }
}

@media screen and (max-width: 390px)
{
    #footer {
        margin-top: 37%;
    }
}

@media screen and (max-width: 320px)
{
    #footer {
        margin-top: 33%;
    }
}

@media screen and (max-width: 767px) {
    .box-columns a#box-6 {
        order: 0;
    }

    .box-columns a#box-2, .box-columns a#box-7 {
        order: 1;
    }
}

@media only screen and (max-width: 800px)
{
    .fusion-copyright-notice {
        padding: 40px 0 15px !important;
    }
}