﻿/*#region Font*/
@font-face {
    font-family: 'linecons';
    src: url('../fonts/linecons.eot');
    src: url('../fonts/linecons.eot?#iefix') format('embedded-opentype'), url('../fonts/linecons.woff') format('woff'), url('../fonts/linecons.ttf') format('truetype'), url('../fonts/linecons.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*#endregion Font*/

/* #region Main */
* {
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: Source Sans Pro, Open Sans, Trebuchet MS, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

body {
    min-height: 100vh;
    position: relative;
}
/* #endregion Main */

/*#region Content*/
.content-wide {
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.content {
    position: relative;
    width: 95%;
    max-width: 1366px;
    min-width: 300px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 2.5%;
    padding-right: 2.5%;
}

.content-header {
    max-width: initial;
}

.maincontent {
    padding-top: 76px;
}
/*#endregion Content*/

/*#region Common*/
.hide {
    display: none;
    opacity: 0;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.fc-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fr-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.fc-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.fc-top-top {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.fr-top {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row;
}

.fc-btm {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
}

.fr-btm {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: row;
}

.f-wrap {
    flex-wrap: wrap;
}

.f-no-wrap {
    flex-wrap: nowrap;
}

.singleLine {
    height: 2px;
    width: 160px;
    display: block;
    background-color: #d7d7d7;
    margin-bottom: 40px;
}

.doubleLine {
    height: 2px;
    width: 160px;
    display: block;
    background-color: #d7d7d7;
    margin-bottom: 40px;
}

    .doubleLine::after {
        content: "";
        height: 2px;
        width: 70px;
        display: block;
        background-color: #d7d7d7;
        margin-top: 10px;
        margin-left: 45px;
    }

.bounce {
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}
/*#endregion Common*/

/* #region Parallax */
.parallax {
    position: relative;
    height: 280px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.device-ios .parallax {
    background-attachment: scroll !important;
}

.sub-parallax {
    height: 200px;
    font-size: 42px;
    letter-spacing: 2px;
}

.parallax-dark:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.parallax .content {
    display: flex;
    align-items: center;
}

.parallax_label {
    margin: auto;
    text-transform: capitalize;
    color: white;
    font-size: 72px;
    letter-spacing: -1px;
}

.sub-parallax .parallax_label {
    font-size: 42px;
    letter-spacing: 2px;
    color: #ededed;
}

.home-parallax {
    background-image: url("../image/parallax/parallaxHome.jpg");
}

.home-parallax1 {
    background-image: url("../image/parallax/parallaxHome1.jpg");
}

.result-parallax1 {
    background-image: url("../image/parallax/parallaxResult1.jpg");
}

.result-parallax2 {
    background-image: url("../image/parallax/parallaxResult2.jpg");
}

.result-parallax3 {
    background-image: url("../image/parallax/parallaxResult3.jpg");
}

.product-parallax {
    background-image: url("../image/parallax/parallaxProduct.jpg");
}

.services-parallax {
    background-image: url("../image/parallax/parallaxServices.jpg");
}

.contact-parallax {
    background-image: url("../image/parallax/parallaxContact.jpg");
}

@media screen and (max-width: 768px) {
    .parallax_label {
        font-size: 52px;
    }
}

/* #endregion Parallax */

/* #region MainHeader */
.mainHeader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background: white;
    z-index: 10000;
}

.mainHeader-fixed {
    position: fixed;
    box-shadow: 0 0 3px rgba(0,0,0,0.21);
    background: white;
    /*transition-property: height;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    animation-name: header-expand;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;*/
}

.mainHeader-inline:not(.mainHeader-fixed) {
    position: relative;
}

.mainHeader-transparent:not(.mainHeader-fixed) {
    background-color: transparent;
}

.mainHeader-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    height: 100%;
}

.mainHeader-logo {
    height: 100%;
    width: 200px;
    background: url(../image/logo/maxplay-logo-dark.png) no-repeat center;
    background-size: contain;
}

.mainHeader-nav-mini-area {
    position: absolute;
    width: 24px;
    height: 24px;
    right: 5%;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    font-size: 16px;
    z-index: 100;
    display: none;
}

.mainHeader-nav-mini-bar {
    width: 24px;
    height: 3px;
    background: #4c6a9e;
    margin: 1.5px;
    transform-origin: center;
}

.mainHeader-nav-mini-area-active .mainHeader-nav-mini-bar-1 {
    display: none;
}

.mainHeader-nav-mini-area-active .mainHeader-nav-mini-bar-2 {
    transform: rotate(45deg);
    border-radius: 2px;
}

.mainHeader-nav-mini-area-active .mainHeader-nav-mini-bar-3 {
    transform: rotate(-45deg);
    margin-top: -4.5px;
    border-radius: 2px;
}

.mainHeader-nav-area {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.mainHeader-nav {
    position: relative;
    height: 100%;
    padding: 0 10px;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mainHeader-nav-text {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.mainHeader-transparent .mainHeader-nav {
    color: white;
}

.mainHeader-nav:hover {
    border-bottom: 2px solid #0880e8;
    margin-bottom: -2px;
}

.mainHeader-nav-selected {
    color: #0880e8 !important;
}

.scrollBtn-area {
    position: fixed;
    height: 30px;
    width: 30px;
    bottom: 15px;
    right: 15px;
    border-radius: 5px;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    display: none;
}

.scrollBtn {
    height: 100%;
    width: 100%;
    font-size: 15px;
}

.scrollBtn-area:hover {
    background-color: #1084e9;
}

@keyframes header-expand {
    from {
        height: 0px;
    }

    to {
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    .mainHeader-nav:hover {
        background: rgba(0,0,0,0.05);
        transition: background 0.25s ease;
    }

    .mainHeader-transparent:not(.mainHeader-fixed) .mainHeader-nav {
        color: black;
    }

    .mainHeader-nav-mini-area {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .mainHeader-nav-area {
        position: absolute;
        height: auto;
        top: 100%;
        right: 0;
        border: 4px solid #8593a6;
        border-top: 1px solid #dcdee2;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        opacity: 0;
        visibility: hidden;
    }

    .mainHeader-nav-area-active {
        opacity: 1;
        visibility: visible;
        text-shadow: none;
    }

    .mainHeader-nav {
        width: 100% !important;
        margin: 0;
        padding: 14px 0;
        padding-left: 10px;
        padding-right: 120px;
        border-bottom: 1px solid #dcdee2;
        color: black;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .mainHeader-transparent {
        background-color: white !important;
    }

    .mainHeader-nav-area-active .mainHeader-nav:hover {
        background: rgba(0,0,0,0.05);
        transition: background 0.25s ease;
    }
}
/* #endregion MainHeader */

/* #region SubNav */
.subNav-product-area {
    position: absolute;
    width: 190px;
    top: 80%;
    left: 0;
    border: 4px solid #8593a6;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.subNav-product-area-active {
    opacity: 1;
    visibility: visible;
}

.subNav-product-area:before {
    content: '';
    position: absolute;
    left: 29px;
    top: -22px;
    border-style: solid;
    border-width: 9px;
    border-color: transparent transparent #8593a6 transparent;
}

.subNav-product-nav {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subNav-product-text {
    width: 100% !important;
    margin: 0;
    padding: 14px 0;
    padding-left: 10px;
    border-bottom: 1px solid #dcdee2;
    justify-content: flex-start;
    text-transform: uppercase;
    font-size: 13px;
}

.subNav-product-nav:hover {
    background: rgba(0,0,0,0.05);
    transition: background 0.25s ease;
    color: #0ab1f0 !important;
}

.mainHeader-fixed .subNav-product-area {
    top: 100%;
    border-top: 1px solid #dcdee2;
}

    .mainHeader-fixed .subNav-product-area:before {
        content: none;
    }

.mainHeader:not(.mainHeader-transparent) .subNav-product-area {
    top: 100%;
    border-top: 1px solid #dcdee2;
}

    .mainHeader:not(.mainHeader-transparent) .subNav-product-area:before {
        content: none;
    }


@media screen and (max-width: 768px) {
    .mainHeader-nav-area-active .subNav-product-area {
        position: static;
        display: none;
    }
}
/* #endregion SubNav */

/* #region MainFooter */
.mainFooter {
    width: 100%;
    height: auto;
    padding: 20px 0;
    background-color: #151515;
    position: absolute;
    top: 100%;
}

.mainFooter-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-right: 50px;
}

.mainFooter-logo {
    width: 120px;
    height: 75px;
    background: url(../image/logo/maxplay-logo-2.png) no-repeat center;
    background-size: 100%;
    margin: auto;
}

.mainFooter-nav-area {
    display: flex;
    min-width: 120px;
    flex-direction: column;
    flex: 1 1 auto;
    padding-left: 40px;
}

.mainFooter-nav {
    font-size: 13px;
    font-family: Varela, Source Sans Pro, Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #b6b6b6;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 5px;
    margin-top: 5px;
}

    .mainFooter-nav:hover {
        color: #409ded;
    }

.mainFooter-info-area {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

.mainFooter-facebook {
    width: 26px;
    height: 26px;
    margin: 10px;
    margin-left: 0;
    text-align: center;
    font-size: 21px;
    color: white;
    border-radius: 3px;
}

    .mainFooter-facebook:hover {
        background: #3b5996;
    }

.mainFooter-copyright {
    font-size: 13px;
    font-family: Varela, Source Sans Pro, Helvetica, Arial, sans-serif;
    color: #b5b5b5;
}

@media screen and (max-width: 768px) {
    .mainFooter-content {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 2.5%;
    }

    .mainFooter-nav-area {
        padding: 0;
        margin: 20px 0;
    }

    .mainFooter-info-area {
        align-self: flex-start;
    }
}
/* #endregion MainFooter */
