/*
Theme Name: La Llama Fest
Author: Copymouse Studio
Author URI: https://www.downtownmelody.com/_x/Y29weW1vdXNlLmNvbQ/
Version: 1.0.0
*/

/* Theme
   ========================================================================== */
html{
    font-size: 10px;
}
html, body{
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    line-height: 1.7em;
    color: #333;
}
body{
    overflow-x: hidden;
    font-size: 18px;
}
body.noscroll{
    overflow-y: hidden !important;
}
body *{
    box-sizing: border-box;
    line-height: inherit;
}
*{
    outline: 0;
}
a{
    color: inherit;
}
img,
svg{
    display: block;
    max-width: 100%;
    height: auto;
}
p{
    margin: 0 0 3rem;
}
@media (max-width: 834px){
    p{
        margin-bottom: 2rem;
    }
}
ul, ol{
    margin: 0 0 3rem;
    padding-left: 5rem;
}
ul > li > ul,
ol > li > ol{
    margin: 0;
}
.clear{
    clear: both;
}

/* ## Headings
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6{
    font-weight: 900;
    line-height: 1.2em;
    margin: 0 0 20px;
}
h1{
    font-size: 36px;
    font-size: 2.25rem;
}
h2{
    font-size: 30px;
    font-size: 1.5rem;
}
h3{
    font-size: 27px;
    font-size: 1.5rem;
}
h4{
    font-size: 20px;
    font-size: 1.25rem;
}
h5{
    font-size: 18px;
    font-size: 1.13rem;
}
h6{
    font-size: 16px;
    font-size: 1rem;
}

/* ## WordPress
--------------------------------------------- */
a.aligncenter img{
    display: block;
    margin: 0 auto;
}
a.alignnone{
    display: inline-block;
}
.alignleft{
    float: left;
    text-align: left;
}
.alignright{
    float: right;
    text-align: right;
}
a.alignleft,
a.alignnone,
a.alignright{
    max-width: 100%;
}
img.centered,
.aligncenter{
    display: block;
    margin: 0 auto 24px;
}
img.alignnone,
.alignnone{
    margin-bottom: 12px;
}
a.alignleft,
img.alignleft,
.wp-caption.alignleft{
    margin: 0 24px 24px 0;
}
a.alignright,
img.alignright,
.wp-caption.alignright{
    margin: 0 0 24px 24px;
}
.wp-caption-text{
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}
.clear{
    clear: both;
}

/* ## Single
-------------------------------------------- */
.single .content{
    margin-bottom: 40px;
}
.single .content p{
    margin-bottom: 20px;
    font-weight: 300;
}
.single .content ol,
.single .content ul{
    margin-bottom: 28px;
    margin-left: 40px;
}
.single .content ol > li{
    list-style-type: decimal;
}
.single .content ul > li{
    list-style-type: disc;
}
.single .content ol ol,
.single .content ul ul{
    margin-bottom: 0;
}
.single .content code{
    background-color: #333;
    color: #ddd;
}

/* ## Tables
--------------------------------------------- */
body:not(.woocommerce-page) table{
    border: 1px solid #ddd;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 20px;
    width: 100%;
}
body:not(.woocommerce-page) th{
    font-weight: 500;
}
body:not(.woocommerce-page) td,
body:not(.woocommerce-page) th{
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    line-height: 1.3em;
    padding: 7px;
    text-align: left;
}
body:not(.woocommerce-page) td:last-child{
    border-right-width: 0;
}
body:not(.woocommerce-page) tr:last-child td{
    border-bottom-width: 0;
}
body:not(.woocommerce-page) tr:nth-of-type(even){
    background: #f7f7f7;
}

/* Theme
   ========================================================================== */
#wrapper{
    box-sizing: border-box;
    position: relative;
    min-height: 100%;
    padding-bottom: 60px; /* Equal to height of footer */
}
#p-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#p-header{
    background: none;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 999;
    box-sizing: border-box;
    background-color: #fff;
}
body.page-template-home #p-header{
    color: #fff;
    background-color: transparent;
}
#p-header .hgroup a{
    display: block;
    text-decoration: none;
}
#p-header .hgroup a img{
    height: 50px;
}
#p-header .h1{
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 10px 0;
}
#p-header .h2{
    font-size: 1rem;
    line-height: 1.2em;
    margin: 0;
}
#p-header .fa-bars,
#p-header .fa-times{
    display: none;
}
#p-header nav ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
#p-header nav ul li{
    display: inline-block;
    padding: 0 15px;
}
#p-header nav ul li a{
    text-decoration: none;
    display: block;
    padding: 10px 0;
}
#p-header nav ul li:hover a{
    border-bottom: 2px solid #fff;
}
#p-header nav ul li.current-menu-item a{
    font-weight: 700;
}

/* Homepage */

#fullpage .section{
    width: 100%;
    height: 100vh;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
#fullpage .section .layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2);
    z-index: 10;
}
#fullpage .section .video_layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#fullpage .section .box_info{
    max-width: 960px;
    margin: 0 auto;
    font-size: 25px;
    line-height: 30px;
    position: relative;
    z-index: 100;
    display: table;
    width: 80%;
    height: 100%;
    box-sizing: border-box;
}
#fullpage .section .box_info .box_info_cell{
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}
#fullpage .section .box_info .title{
    max-width: 780px;
    font-size: 80px;
    line-height: 90px;
    margin-bottom: 7px;
    margin-left: auto;
    margin-right: auto;
    font-family: Poppins;
    font-weight: bold;
}
.post-type-archive-brand #fullpage .section .box_info .title{
    margin-bottom: -17px;
}
#fullpage .section .box_info .title:hover{
    color: #fff;
}
#fullpage .section .box_info .excerpt{
    max-width: 610px;
    margin: 0 auto;
    font-size: 20px;
}
#fullpage .section .box_info .view_project{
    border-bottom: 1px solid #fff;
    line-height: 1;
    font-size: 20px;
    margin: 15px 10px;
    color: #fff;
    display: inline-block;
    font-weight: 300;
    text-decoration: none;
    padding-bottom: 5px;
}
.post-type-archive-brand #fullpage .section .box_info .view_project{
    margin-top: 5px;
}
#fullpage .section .arrow_down{
    position: absolute;
    z-index: 100;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 85px;
    cursor: pointer;
}
#fullpage .section .slider_counter{
    position: absolute;
    right: 50px;
    bottom: 80px;
    color: #fff;
    z-index: 10;
}
#fullpage .selection_container{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}
#fullpage .video_loop{
    z-index: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.appear{
    opacity: 0;
    -webkit-transition: all 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -moz-transition: all 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -o-transition: all 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    transition: all 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -webkit-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -moz-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -o-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
    transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
    transition-delay: .2s;
    position: relative;
    transform: translateY(40px);
    -moz-transform: translateY(40px);
    -webkit-transform: translateY(40px);
    -o-transform: translateY(40px);
}
.appear.appeared{
    opacity: 1;
    transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
}

/* # Single
---------------------------------------------------------------------------------------------------- */
body:not(.page-template-home) #p-main{
    margin: 0 auto;
    max-width: 768px;
    padding: 10rem 5rem 5rem 5rem;
}
article h1{
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
}
article .entry{
    text-align: justify;
}

.video-wrapper{
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.video-wrapper iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* # Gravity
---------------------------------------------------------------------------------------------------- */
.gform_wrapper .gform_footer input.gform_button{
    background: #333;
    color: #fff;
    font-size: 1.5rem;
    padding: 15px 25px;
    border: 0;
    cursor: pointer;
    border-radius: 0;
}

/* # Reponsive
---------------------------------------------------------------------------------------------------- */
@media (max-width: 992px){
    #p-header{
        padding: 1rem 1.2rem 0;
    }

    #p-header .h1{
        font-size: 1.6rem;
    }

    #p-header .fa{
        font-size: 2rem;
        position: relative;
        cursor: pointer;
    }

    #p-header .fa-bars{
        display: inline-block;
    }

    #p-header .overlay.active{
        position: fixed;
        overflow: auto;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 9999999;
        color: #333;
        display: flex;
        align-items: center;
    }

    #p-header .overlay.active .fa-bars{
        margin: 14px 15px 0 0;
        display: none;
    }

    #p-header .overlay.active .fa-times{
        position: absolute;
        font-size: 2rem;
        z-index: 9;
        top: 1rem;
        right: 1.2rem;
        display: block;
    }

    #p-header .overlay nav{
        display: none;
    }

    #p-header .overlay.active nav{
        display: block;
        width: 100%;
    }

    #p-header nav ul{
        text-align: center;
        height: auto;
    }

    #p-header nav > ul > li{
        display: block;
        margin: 0;
        padding: 0;
        font-size: 1.5rem;
        height: auto;
    }

    #p-header nav > ul > li > a{
        padding: 1.3rem 2rem;
        display: block;
        line-height: 1em;
    }

    #p-header nav ul li.current-menu-parent > a,
    #p-header nav ul li.current-menu-item > a,
    #p-header nav ul li:hover{
        font-weight: 700;
    }
}
@media (max-width: 768px){

    #p-header .hgroup a img{
        height: 40px;
    }

    body:not(.page-template-home) #p-main{
        padding: 7rem 3rem 3rem 3rem;
    }

    article h1{
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    article .entry{
        text-align: left;
    }

}
@media (max-width: 544px){

    body:not(.woocommerce-page) table,
    body:not(.woocommerce-page) thead,
    body:not(.woocommerce-page) tbody,
    body:not(.woocommerce-page) th,
    body:not(.woocommerce-page) td,
    body:not(.woocommerce-page) tr{
        display: block;
        width: 100% !important;
    }

    body:not(.woocommerce-page) th{
        display: none;
    }

    body:not(.woocommerce-page) td{
        padding: 6px 12px;
    }

    body:not(.woocommerce-page) td:before{
        content: attr(data-title);
        font-weight: 600;
        float: left;
        margin: 0 10px 0 0;
    }

    body:not(.woocommerce-page) td{
        border-right-width: 0;
    }

    body:not(.woocommerce-page) tr:last-child td{
        border-bottom-width: 1px;
    }

    body:not(.woocommerce-page) tr:last-child td:last-child{
        border-bottom-width: 0;
    }

    img{
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    #fullpage .section .box_info .title{
        font-size: 2rem;
        line-height: 1;
    }

    #fullpage .section .box_info .excerpt{
        font-size: 17px;
    }

    #fullpage .section .arrow_down{
        bottom: 2rem;
        width: 17px;
    }

}