/*
 * Theme Name: Ly Tuan Dung
 * Description: Starter Theme to use with Timber
*/

@import url('static/css/_font.css');
@import url('static/css/_animista.css');

:root {
    --primary-color: #fea621;
}

html {
    margin-top: 0 !important;
}

body.home, body.home section, body.home article, body.home section .wrapper, body.home section .wrapper .content-wrapper, body.home section .wrapper .article-body {
    height: 100%;
}

.custom-scrollbar-ltd::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.custom-scrollbar-ltd::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
    height: 90%;
}

.custom-scrollbar-ltd::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

ul[class], ol[class] {
    list-style: none;
}

body {
    font-family: 'SF Pro Rounded', sans-serif;
    position: absolute;
    width: 100%;
    height: auto;
    background-image: url(static/img/main_bg.png);
    background-color: #fcefde;
    background-position: center center;
    background-size: cover;
}

.page:not(body) {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0 100px;
    overflow: auto;
}

.page-content {
    position: relative;
    width: 100%;
    max-width: 1280px;
    min-height: 80vh;
    margin: 10vh auto;
    padding: 0;
    background: -webkit-gradient(linear,left top,left bottom,from(#fe6d72),to(var(--primary-color)));
    background: linear-gradient(#fe6d72,var(--primary-color));
    -webkit-box-shadow: 0 0 100px -5px rgba(0,0,0,.25);
    -moz-box-shadow: 0 0 100px -5px rgba(0,0,0,.25);
    box-shadow: 0 0 100px -5px rgba(0,0,0,.25);
    border-radius: 32px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}
.header-titles h2 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin: 5px 0 7px;
    line-height: 1.2em;
}

.header-titles h4 {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    margin: 5px 0;
    line-height: 1.2em;
}

.content-area {
    position: absolute;
    right: 0;
    background-color: transparent;
    height: 100%;
    width: 100%;
    max-width: calc(100% - 380px);
}

.animated-sections {
    position: relative;
    height: 100%;
    -webkit-perspective: 1500px;
    -moz-perspective: 1500px;
    perspective: 1500px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*.ps {*/
/*    -ms-touch-action: auto;*/
/*    touch-action: auto;*/
/*    overflow: hidden!important;*/
/*    -ms-overflow-style: none;*/
/*}*/

.animated-section {
    position: absolute;
    background-color: #fff;
    height: 100%;
    width: 100%;
    border-radius: 30px;
    padding: 40px;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    background-repeat: no-repeat;
    background-position: center;
    background-position: 50% 50%;
    background-size: cover;
}

.section-active {
    opacity: 1;
    overflow: hidden;
    visibility: visible;
    z-index: 99;
}

.header-photo {
    position: relative;
    width: 180px;
    margin: 0 auto 30px;
    z-index: 1;
}
.header-photo img {
    max-width: 100%;
    background-color: #fff;
    border: 3px solid #fff;
    border-radius: 300px;
}

.header-photo:after {
    position: absolute;
    opacity: .3;
    top: 7%;
    left: 7%;
    border-radius: 300px;
    content: '';
    height: calc(100% + 0px);
    width: calc(100% + 0px);
    background-image: -webkit-repeating-radial-gradient(center center,#fff,#fff 1px,transparent 0px,transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center,#fff,#fff 1px,transparent 0px,transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center,#fff,#fff 1px,transparent 0px,transparent 100%);
    -webkit-background-size: 6px 6px;
    -moz-background-size: 6px 6px;
    background-size: 6px 6px;
    z-index: -1;
}

.social-links {
    margin: 20px 0;
}
.social-links ul {
    list-style: none;
    padding: 0;
}
.social-links ul li {
    display: inline-block;
}
.social-links ul li a {
    color: #fff;
    border-radius: 20px;
    font-size: 18px;
    padding: 0;
    height: 30px;
    width: 30px;
    display: block;
    line-height: 30px;
    text-align: center;
    opacity: .9;
}
a:not([class]) {
    text-decoration-skip-ink: auto;
}
.header-buttons {
    margin-top: 50px;
}

.btn-primary, .btn-secondary, button, input[type=button], input[type=submit], .wp-block-button .wp-block-button__link {
    display: inline-block;
    position: relative;
    padding: 0.8em 2.1em;
    margin-bottom: 0.75em;
    margin-right: 0.25em;
    font-size: 1em;
    line-height: 1.2;
    border: 0;
    outline: 0;
    border: 2px solid var(--primary-color);
    color: #222;
    text-shadow: none;
    background-color: #fff;
    border-radius: 30px;
    font-family: poppins,Helvetica,sans-serif;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    box-shadow: 0 10px 10px -8px rgba(0,0,0,.22);
}
a {
    color: #09c;
    text-decoration: none;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.header-buttons .btn-primary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}
#site_header .copyrights {
    color: #fff;
    width: 380px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 10px 15px;
    line-height: 14px;
    font-size: 12px;
    text-align: center;
}

.lmpixels-arrows-nav {
    position: absolute;
    padding: 10px 0;
    width: 60px;
    right: -80px;
    background-color: #fff;
    border-radius: 35px;
    z-index: 98;
    list-style: none;
    bottom: 0;
    -webkit-box-shadow: 0 0 30px -5px rgba(0,0,0,.15);
    -moz-box-shadow: 0 0 30px -5px rgba(0,0,0,.15);
    box-shadow: 0 0 30px -5px rgba(0,0,0,.15);
}

.lmpixels-arrows-nav div {
    display: block;
    position: relative;
    text-align: center;
    color: #b5b6b7;
    padding: 10px;
    font-size: 24px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.lmpixels-arrows-nav div:hover {
    color: var(--primary-color);
}

.vcentered {
    vertical-align: middle;
    width: 100%;
    align-items: center;
    display: flex;
    display: -ms-flexbox;
    -ms-flex-pack: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.vcentered .row {
    width: 100%;
}

.title-block h2 {
    font-size: 60px;
    line-height: 74px;
    margin: 0;
    text-align: center;
}

.text-rotation {
    display: block;
    width: 100%;
    position: relative;
}

.title-block .sp-subtitle {
    color: #888;
    font-size: 30px;
    font-weight: 300;
    margin: 5px 0;
    text-align: center;
    width: 100%;
}

.page-title {
    display: inline-block;
    position: relative;
    padding-right: 25px;
    margin-bottom: 20px;
}
.page-title h2 span, .page-title h3 span {
    color: var(--primary-color);
}

.page-title:after {
    position: absolute;
    opacity: .45;
    top: 10px;
    right: 0;
    content: '';
    height: 30px;
    width: 50px;
    background-image: -webkit-repeating-radial-gradient(center center,#fea621,#fea621 1px,transparent 0px,transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center,#fea621,#fea621 1px,transparent 0px,transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center,#fea621,#fea621 1px,transparent 0px,transparent 100%);
    -webkit-background-size: 6px 6px;
    -moz-background-size: 6px 6px;
    background-size: 6px 6px;
    z-index: 0;
}

.block-title {
    display: inline-block;
    position: relative;
    padding-right: 12px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.block-title h3 {
    position: relative;
    font-size: 21px;
    z-index: 1;
}
.block-title h3 span, .info-list-w-icon .ci-icon, .fun-fact svg, .lm-info-block svg {
    color: var(--primary-color);
}
.block-title:after {
    position: absolute;
    opacity: .45;
    top: 10px;
    right: 0;
    content: '';
    height: 20px;
    width: 30px;
    background-image: -webkit-repeating-radial-gradient(center center,#fea621,#fea621 1px,transparent 0px,transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center,#fea621,#fea621 1px,transparent 0px,transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center,#fea621,#fea621 1px,transparent 0px,transparent 100%);
    -webkit-background-size: 6px 6px;
    -moz-background-size: 6px 6px;
    background-size: 6px 6px;
    z-index: 0;
}
.info-list .title {
    color: var(--primary-color);
    margin-right: 5px;
    font-weight: 600;
}

.fun-fact {
    position: relative;
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 0 15px;
    background: #fff;
    padding: 25px 10px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    overflow: hidden;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.fun-fact h4 {
    font-size: 16px;
    margin: 15px;
}
.fun-fact:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 12px 17px rgba(0,0,0,.12);
    -moz-box-shadow: 0 12px 17px rgba(0,0,0,.12);
    -o-box-shadow: 0 12px 17px rgba(0,0,0,.12);
    box-shadow: 0 12px 17px rgba(0,0,0,.12);
}

.fun-fact-block-value {
    color: #aaa;
    font-size: 36px;
    line-height: 50px;
    display: block;
    margin: 15px 0 10px;
}
.skills-info.skills-second-style {
    margin-bottom: 30px;
}
.skills-info.skills-second-style h4 {
    font-size: 13px;
    line-height: 1.1em;
    position: relative;
    float: left;
    margin: 0 0 4px;
}
.skills-second-style .skill-value {
    font-size: 11px;
    line-height: 1.1em;
    position: relative;
    float: right;
    margin: 0 0 4px;
    color: #aaa;
}

.skills-second-style .skill-container {
    position: relative;
    display: inline-block;
    background-color: #fff;
    border: 1px solid #fea621;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 10px;
    margin-bottom: 8px;
    width: 100%;
}

.skills-second-style .skill-container:before {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
}

.skills-second-style .skill-percentage {
    background-color: var(--primary-color);
    border: 2px solid #fff;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    border-radius: 9px;
    height: 8px;
    padding: 0;
}

.timeline-second-style .timeline-item {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    padding-bottom: 15px;
}
.timeline-second-style .left-part {
    width: 30%;
    display: table-cell;
    padding-right: 25px;
    min-height: 100%;
    text-align: right;
    vertical-align: top;
}
.timeline-second-style .item-period {
    margin: 3px 0;
    font-size: 14px;
    line-height: 1.4em;
}
.timeline-second-style .item-company {
    display: block;
    margin: 0 0 4px;
    font-weight: 300;
    line-height: 1.45em;
    color: #a5a6a7;
}
.timeline-second-style .divider {
    position: absolute;
    top: 0;
    left: 30%;
    bottom: 0;
    width: 1px;
    background-color: #eee;
}
.timeline-second-style .divider:before {
    content: '';
    display: block;
    position: absolute;
    margin-top: 4px;
    width: 17px;
    height: 17px;
    position: absolute;
    margin-left: -8px;
    border-radius: 10px;
    background-color: #fea621;
    opacity: .25;
    z-index: 0;
}
.timeline-second-style .divider:after {
    content: '';
    display: block;
    position: absolute;
    margin-top: 8px;
    width: 9px;
    height: 9px;
    margin-left: -4px;
    background-color: #fff;
    border-radius: 5px;
    border: 2px solid #fea621;
    z-index: 1;
}
.timeline-second-style .right-part {
    width: 70%;
    display: table-cell;
    padding-left: 25px;
    padding-right: 15px;
    vertical-align: top;
}
.certificate-item {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.certi-logo {
    display: table-row;
    width: 100%;
    background-color: #f5f5f5;
    padding: 20px;
    vertical-align: middle;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.certi-logo img {
    width: 100%;
}

.certi-content {
    display: table-row;
    width: 100%;
    padding: 20px 25px;
    vertical-align: middle;
}

.lm-info-block {
    position: relative;
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 0 15px;
    background-color: #fcfcfc;
    padding: 20px 10px;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    overflow: hidden;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.lm-info-block h4 {
    font-size: 15px;
    margin-top: 8px;
}

@media only screen and (max-width: 1280px) {
    .page:not(body) {
        padding-left: 30px;
    }

    .content-area {
        max-width: calc(100% - 330px);
    }

    #site_header {
        max-width: 330px;
    }
}

@media only screen and (min-width: 1025px) {
    #site_header {
        display: inline-block;
        float: left;
        width: 100%;
        max-width: 380px;
        height: 100%;
        max-height: 80vh;
        min-height: inherit;
        text-align: center;
        padding: 70px 30px 45px;
        overflow: auto;
    }

    ul.main-menu {
        position: absolute;
        padding: 15px 0;
        width: 70px;
        right: -90px;
        background-color: #fff;
        border-radius: 35px;
        z-index: 999;
        list-style: none;
        top: 0;
        -webkit-box-shadow: 0 0 30px -5px rgba(0,0,0,.15);
        -moz-box-shadow: 0 0 30px -5px rgba(0,0,0,.15);
        box-shadow: 0 0 30px -5px rgba(0,0,0,.15);
    }
    ul.main-menu a {
        display: block;
        position: relative;
        color: #b5b6b7;
        padding: 10px;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    ul.main-menu a.active, ul.main-menu a:focus, ul.main-menu a:hover {
        color: var(--primary-color);
    }

    ul.main-menu .link-text {
        position: absolute;
        width: auto;
        visibility: hidden;
        opacity: 0;
        color: #fff;
        padding: 2px 10px;
        background-color: var(--primary-color);
        white-space: nowrap;
        right: 0;
        top: -50%;
        margin-top: 50%;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
        z-index: 0;
        box-shadow: 0 10px 10px -8px rgba(0,0,0,.22);
    }

    ul.main-menu a:hover .link-text {
        right: 100%;
        visibility: visible;
        opacity: 1;
    }
}

@media only screen and (max-width: 1024px) {
    .mobile-menu-hide {
        width: 0;
        right: 0;
        margin-right: -100%;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #site_header {
        position: absolute;
        width: 100%;
        max-width: 330px;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: var(--primary-color);
        z-index: 99;
        padding: 30px 30px 10px;
        text-align: center;
        opacity: 1;
        visibility: visible;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        -o-transition: all .25s ease-in-out;
        -ms-transition: all .25s ease-in-out;
        transition: all .25s ease-in-out;
    }

    .page:not(body) {
        padding: 0;
        overflow-x: hidden;
    }

    .page-content {
        padding: 0;
        margin: 0;
        border-radius: 0;
        height: 100%;
    }

    .content-area {
        max-width: 100%;
    }

    .menu-toggle {
        position: absolute;
        display: block;
        width: 48px;
        height: 48px;
        line-height: 46px;
        text-align: center;
        background-color: #fea621;
        right: 10px;
        font-size: 19px;
        top: 10px;
        border-radius: 30px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        z-index: 900;
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 50%;
        background: #fff;
        border-radius: 5px;
        opacity: 1;
        left: 25%;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .menu-toggle span:nth-child(1) {
        top: 16px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    .menu-toggle.open span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 13px;
        left: 15px;
    }

    .menu-toggle span:nth-child(2) {
        top: 22px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }
    .menu-toggle.open span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }

    .menu-toggle span:nth-child(3) {
        top: 28px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }
    .menu-toggle.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 30px;
        left: 15px;
    }

    .animated-section, .single-page-content {
        border-radius: 0;
        overflow: auto!important;
    }

    ul.main-menu {
        padding: 0;
        margin: 30px 0;
    }

    ul.main-menu a {
        display: block;
        color: #fff;
        padding: 12px 0;
        line-height: 21px;
        opacity: .7;
    }

    ul.main-menu svg {
        display: none;
    }

    #site_header .copyrights {
        right: 0;
        width: 100%;
        position: relative;
        margin-top: 30px;
    }
    .lmpixels-arrows-nav {
        background-color: rgba(255,255,255,.6);
        width: 48px;
        right: 10px;
        bottom: 10px;
        padding: 5px 0;
        border: 2px solid #fea621;
    }
    .header-buttons {
        display: none;
    }
}

.language-switcher .btn {
    padding: 3px 10px;
    border-radius: 0;
    border: none;
}
