/*
Theme Name: Corp
Description: This is a child theme for TtSoft
Author: Tran Tan
Template: ttsoft
Version: 3.0
*/


/*************** ADD CUSTOM CSS HERE.   ***************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import "mobile.css";
@import "desktop.css";
:root {
    --main: #fff!important;
    --primary: #1a316e!important;
    --second: #ff9444!important;
    /*f6ae1a*/
    --text-color: #1a316e;
    --title: #fff!important;
    --white: #fff!important;
    --black: #333!important;
    --bg: #f8f8f8!important;
    --bg2: #fcfcfc!important;
    --text: #2b2b2b;
    --font: 'Roboto', sans-serif;
    --tab1: #FFA200;
    --tab2: #8f2414;
    --tab3: #555d5d;
    --tab4: #ad7f6f;
    --tab5: #a6965b;
    --tab6: #897e84;
}


input[type='submit'],
input[type='submit'].button,
input[type='submit'],
.primary {
    background-color: var(--second);
    font-size: 1em;
    padding: 0 10px;
    font-weight: 500;
}

.button,
button {
    margin-bottom: 0;
}

.button.is-outline,
input[type='submit'].is-outline,
input[type='reset'].is-outline,
input[type='button'].is-outline {
    border: 2px solid var(--primary);
    color: var(--second);
}

.is-outline:hover,
.primary.is-outline:hover {
    color: #fff;
    background-color: var(--second);
    ;
    border-color: var(--second);
    ;
}

body {
    background: #fff;
    font-family: var(--font)!important;
    overflow: hidden;
    color: var(--text);
    font-size: 1.1rem;
    /* a */
    background-repeat: no-repeat;
    background-attachment: fixed;
}

html {
    background-color: transparent;
}

a {
    color: #333;
}


/* Set Font */

.nav>li>a {
    font-family: var(--font)!important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a {
    font-family: var(--font)!important;
    font-weight: 500!important;
}

input[type=email],
input[type=search],
input[type=number],
input[type=url],
input[type=tel],
input[type=text],
textarea,
select {
    border-radius: 5px;
    &:focus {
        box-shadow: none;
    }
}
button {
    &.form-control {
        background: #ccc;
        color: #fff;
    }
}

.mfp-content input[type=search]::placeholder {
    color: #fff;
    opacity: 1;
    /* Firefox */
}

.mfp-content input[type=search]::-ms-input-placeholder {
    color: #fff;
}

.mfp-content .searchform .button.icon i {
    color: #fff;
}

.mfp-content input.search-field {
    color: #fff!important;
}

.accordion-title {
    border-top: none;
}

.accordion-item {
    border-bottom: 1px solid #e7e7e7;
}

.header-top {
    background-color: var(--main);
}

.header-main {
    background: var(--main);
}

#logo {
    width: 250px!important;
    margin: 0!important;
}

.tabbed-content .nav-pills {
    display: flex;
    flex-flow: row;
    text-align: center;
}

.tabbed-content .nav-pills a {
    line-height: 1rem;
    height: 45px;
    overflow: hidden;
}

.col_bg_white>.col-inner {
    background: #fff;
    padding: 15px;
}

.woocommerce-tabs .tab-panels .panel.active {
    padding: 0;
}

.post {
    padding-top: 15px;
    width: 100%;
}

.entry-content {
    padding-bottom: 0;
    padding-top: 0;
}

.button,
input[type=button].button,
input[type=reset].button,
input[type=submit],
input[type=submit].button {
    background-color: var(--second);
    border-color: rgba(0, 0, 0, .05);
    color: #fff;
}

.absolute-footer {
    border-top: none;
    color: #ecd09b !important;
}

.cart-item {
    margin-left: 5px;
}

.cart-item .header-cart-link,
.cart-item i {
    color: var(--second)!important;
}


/* CSS ADD */

* {
    padding: 0;
    margin: 0;
    list-style: none;
}

.tree_app {
    padding: 50px;
    font-size: 16px;
    margin: 0 auto;
    overflow: auto;
}

.tree_app ul {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: 300ms visibility, 300ms transform, 300ms opacity;
}

.tree_app ul ul {
    margin: 0;
}

.tree_app ul li {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

.tree_app ul:first-child {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.tree_app ul li input {
    display: none;
}

.tree_app ul li::before {
    content: '';
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

.tree_app ul li:first-child::before {
    left: 50%;
}

.tree_app ul li:last-child::before {
    right: 50%;
}

.tree_app ul li label {
    display: inline-block;
    padding: 5px 20px;
    border: 2px solid #000;
    border-radius: 5px;
    margin-bottom: 2em;
    position: relative;
    white-space: nowrap;
    box-sizing: border-box;
    user-select: none;
    cursor: pointer;
}

.tree_app ul li label::after,
.tree_app ul li label::before {
    content: '';
    width: 2px;
    position: absolute;
    top: calc(-1em - 2px);
    height: 1em;
    left: 50%;
    transition: 300ms all;
    background: #000;
}

.tree_app ul li label::after {
    top: auto;
    bottom: calc(-1em - 2px);
    height: 0;
}

.tree_app ul li label:last-child::after {
    display: none;
}

.tree_app>ul>li>label::before {
    display: none;
}

.tree_app ul li input:checked+label {
    color: darkorange;
}

.tree_app ul li input:checked+label::after {
    height: 1em;
}

.tree_app ul li input:checked+label+ul {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#tree {
    width: 100%;
    height: 100%;
}

[data-ctrl-up-id],
[data-n-id]>svg,
[data-btn-min] {
    display: none
}

[data-n-id] rect {
    /* fill: green */
}
.col, .columns, .gallery-item {
    padding: 0 15px;
}
.post-title a {
    line-height: 24px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 50px;
}
.from_the_blog_excerpt  {
    line-height: 24px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-item {
    margin-top: 15px;
    margin-bottom: 15px;
}
.slider .post-item {
    margin-top: 0;
}
.post-item .col-inner {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}
.post-item .box-text {
    padding: 5px 10px;
}
.section-title-bold-center span, .section-title-center span {
    margin: auto;
    color: #fff;
    font-size: 2rem;
    background: url('assets/images/heading.png') no-repeat;
    background-repeat: round;
    padding: 15px 50px;
    line-height: 2.2rem;
}
.breadcrums {
    background: #f8f8f8;
    #crumbs {
        margin-bottom: 0;
        padding-top: 8px;
        padding-bottom: 8px;
        color: #777;
        a {
            color: #555;
        }
    }
}
.page_intro {
    padding-top: 15px;
    padding-bottom: 15px;
    .sidebar_intro {
        .menu {
            li {
                display: block;
                background-color: #f8f8f8;
                color: #343a40;
                padding: 8px 10px;
                line-height: 20px;
                margin-bottom: 10px;
                border-top: none;
                &:hover {
                    a {
                        color: var(--primary);
                        font-weight: 600
                    }
                }
                &.current-menu-item {
                    a {
                        color: var(--primary);
                        font-weight: 600
                    }
                }
            }
        }
    }
}
.page-title {
    position: relative;
    margin-top: 15px;
    color: var(--primary);
}
.gallery_item {
    a {
        display: block;
        cursor: pointer;
        border: 3px solid #ebebeb;
        border-radius: 5px;
        overflow: hidden;
        aspect-ratio: 16 / 9;
        img {
            width: 100%;
            aspect-ratio: 16 / 9;
            transition: 1s;
            &:hover {
                transform: scale(1.1);
            }
        }
    }
}
.post {
    h1 {
        color: var(--primary)
    }
}
.mobile-nav {
    .nav-icon {
        background: var(--second);
        padding: 0 10px;
        border-radius: 3px;
        i {
            color: #fff;
        }
    }
}