/*
Theme Name: media
Theme URI: https://www.inbound-platform.com/
Author: Evolable Asia Solutions
Author URI: https://www.inbound-platform.com/
Description: media
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: media
*/
body, button, input, optgroup, select, textarea {
    margin: 0
}

button, hr, input {
    overflow: visible
}

progress, sub, sup {
    vertical-align: baseline
}

[type=checkbox], [type=radio], legend {
    box-sizing: border-box;
    padding: 0
}

hr, p {
    margin-bottom: 1.5em
}

pre, textarea {
    overflow: auto
}

#content[tabindex="-1"]:focus, a:active, a:hover {
    outline: 0
}

.aligncenter, .clear:after, .comment-content:after, .entry-content:after, .page-links, .site-content:after, .site-footer:after, .site-header:after, h1, h2, h3, h4, h5, h6 {
    clear: both
}

.widget select, .wp-caption, embed, iframe, img, legend, object, pre {
    max-width: 100%
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box
}

body {
    background: #fff
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

hr {
    box-sizing: content-box;
    background-color: #ccc;
    border: 0;
    height: 1px
}

a {
    background-color: transparent;
    color: #4169e1
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b, strong {
    font-weight: bolder
}

code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none;
    height: auto
}

button, select {
    text-transform: none
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
    outline: ButtonText dotted 1px
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    color: inherit;
    display: table;
    white-space: normal
}

textarea {
    width: 100%
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

[hidden], template {
    display: none
}

body, button, input, optgroup, select, textarea {
    color: #404040;
    font-family: sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5
}

cite, dfn, em, i {
    font-style: italic
}

blockquote {
    margin: 0 1.5em
}

address {
    margin: 0 0 1.5em
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: .9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    padding: 1.6em
}

code, kbd, tt, var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: .9375rem
}

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help
}

ins, mark {
    background: transparent;
    text-decoration: none
}

big {
    font-size: 125%
}

*, :after, :before {
    box-sizing: inherit
}

ol, ul {
    margin: 0 0 1.5em 3em
}

ul {
    list-style: disc
}

ol {
    list-style: decimal
}

li > ol, li > ul {
    margin-bottom: 0;
    margin-left: 1.5em
}

dt {
    font-weight: 700
}

dd {
    margin: 0 1.5em 1.5em
}

figure {
    margin: 1em 0
}

table {
    margin: 0 0 1.5em;
    width: 100%
}

button, input[type=button], input[type=reset], input[type=submit] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    font-size: .75rem;
    line-height: 1;
    padding: .6em 1em .4em
}

button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    border-color: #ccc #bbb #aaa
}

button:active, button:focus, input[type=button]:active, input[type=button]:focus, input[type=reset]:active, input[type=reset]:focus, input[type=submit]:active, input[type=submit]:focus {
    border-color: #aaa #bbb #bbb
}

input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=range]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, textarea:focus {
    color: #111
}

select {
    border: 1px solid #ccc
}

a:visited {
    color: initial;
    cursor: pointer;
}

a:active, a:focus, a:hover {
    color: #191970
}

a:focus {
    /*outline: dotted thin*/
}

.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, .2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0
}

.main-navigation ul ul li.focus > ul, .main-navigation ul ul li:hover > ul {
    left: 100%
}

.main-navigation ul ul a {
    width: 200px
}

.main-navigation ul li.focus > ul, .main-navigation ul li:hover > ul {
    left: auto
}

.main-navigation li {
    float: left;
    position: relative
}

.main-navigation a {
    display: block;
    text-decoration: none
}

.main-navigation.toggled ul, .menu-toggle {
    display: block
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none
    }

    .main-navigation ul {
        display: block
    }
}

.site-main .comment-navigation, .site-main .post-navigation, .site-main .posts-navigation {
    margin: 0 0 1.5em;
    overflow: hidden
}

.comment-navigation .nav-previous, .post-navigation .nav-previous, .posts-navigation .nav-previous {
    float: left;
    width: 50%
}

.comment-navigation .nav-next, .post-navigation .nav-next, .posts-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%
}

.post-navigation .nav-previous a, .post-navigation .nav-next a {
    list-style: none;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-family: Lato, sans-serif;
    font-size: 15px;
    font-size: 0.83333rem;
    line-height: 1.66667rem; 
}
.post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover {
    color: #0072ad;
}

.gallery-item, .wp-caption-text {
    text-align: center
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.post, .widget {
    margin: 0 0 1.5em
}

.clear:after, .clear:before, .comment-content:after, .comment-content:before, .entry-content:after, .entry-content:before, .site-content:after, .site-content:before, .site-footer:after, .site-footer:before, .site-header:after, .site-header:before {
    content: "";
    display: table;
    table-layout: fixed
}

.sticky {
    display: block
}

.entry-content, .entry-summary, .page-content {
    margin: 1.5em 0 0
}

.page-links {
    margin: 0 0 1.5em
}

.comment-content a {
    word-wrap: break-word
}

.bypostauthor {
    display: block
}

.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {
    display: none
}

.infinity-end.neverending .site-footer {
    display: block
}

.comment-content .wp-smiley, .entry-content .wp-smiley, .page-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0
}

.custom-logo-link {
    display: inline-block
}

.wp-caption {
    margin-bottom: 1.5em
}

.wp-caption img[class*=wp-image-] {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.gallery-caption {
    display: block
}

h2 {
    font-size: 20px
}

h3 {
    font-size: 18px
}

section {
    padding: 30px 0
}

blockquote {
    position: relative
}

blockquote:before {
    content: "";
    width: 5px;
    height: 100%;
    position: absolute;
    left: -1.5em;
    top: 0;
    background-color: #bbb
}

.section--first .section-divider {
    display: none
}

.about-us td {
    border: 1px solid #ccc;
    padding: 7px
}

.about-us li {
    list-style: none
}

.about-us .bussiness {
    display: flex;
    margin-left: -5px;
    margin-right: -5px;
    padding: 0
}

.about-us .bussiness li {
    width: 20%;
    padding: 0 5px
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    background: #fff;
    width: 100%;
    max-width: 560px;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 50%);
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu.active {
    transition: all .3s ease-out;
    transform: translate(-50%, -50%) scale(1);
}


.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu li {
    width: 50%;
}

.wpml-ls-item-toggle, .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu li a {
    color: #444 !important;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu li a:hover,
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu .wpml-ls-slot-sidebar-1:hover {
    background: initial;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu li a {
    border-width: 0 0 1px 0;
    padding: 15px 20px;
}

.wpml-ls-legacy-list-horizontal > ul {
    width: 100%;
}

.c-sidebar .widget {
    overflow: visible !important;
}

.bg-mark-modal {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    left: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    visibility: hidden;
    z-index: -1;
}

.bg-mark-modal.show {
    visibility: visible;
    z-index: 9998;
}

.btn-close-modal {
    background-color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    height: 30px;
    opacity: .9;
    outline: none;
    position: absolute;
    right: -10px;
    top: -10px;
    width: 30px !important;
    z-index: 9;
}

.btn-close-modal::before,
.btn-close-modal::after {
    background-color: #fff;
    content: "";
    display: block;
    height: 15px;
    left: 15px;
    position: absolute;
    top: 8px;
    transform: rotate(45deg);
    width: 1px;
}

.btn-close-modal::after {
    transform: rotate(-45deg);
}

@media only screen and (max-width: 480px) {
    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
        width: 90% !important;
        padding: 10px !important;;
    }

    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu li a {
        font-size: 14px;
        white-space: pre;
    }

    .block-right-header {
        padding: 10px;
        flex-direction: column;
        margin-left: initial !important;
    }

    .htv-language {
        margin-bottom: 20px;
    }

    .htv-language .wpml-ls-current-language {
        margin-left: 20px !important;
        top: 70% !important;
        /*left: 12px !important;*/
        margin-top: initial !important;
    }

    .form-search {
        /*flex-basis: min-content;*/
    }

    .wpml-ls-statics-shortcode_actions {
        width: 90% !important;
        padding: 10px !important;
    }

    .wpml-ls-statics-shortcode_actions a {
        font-size: 12px;
        white-space: pre;
    }

    .wpml-ls-item {
        border-bottom: 1px solid #666;
        max-height: 50px !important;
    }

    .pagination li a {
        font-size: .5rem !important;
    }

    .c-navbar--left a h1 {
        position: relative;
        left: -20%;
        color: #fff;
        top: -5px;
    }

    .search-no-results .no-results {
        width: 90vw;
    }

    .site-content .content-area .no-results .page-content .search-form .search-field {
        width: 80%;
    }
}

@media only screen and (max-width: 768px) {
    .logo-pc {
        display: none;
    }

    .logo-sp {
        display: block;
    }

    .htv-language .wpml-ls-current-language {
        margin-left: initial;
        margin-top: 30px;
    }

    .c-sidebar .widget-title {
        text-align: center !important;
    }
}

@media only screen and (min-width: 769px) {
    .logo-pc {
        display: block;
    }

    .logo-sp {
        display: none;
    }
}

.wpml-ls-item-toggle {
    /*display: none !important;*/
}

.htv-language {
    min-width: 120px;
    display: flex;
    align-items: end;
    margin-left: 20px;
}

.htv-language .wpml-ls-current-language {
    align-items: center;
    background-color: #fff;
    background-image: linear-gradient(#fff, #f1f1ee);
    border: 1px solid #dedede;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    left: 0;
    padding: 2px;
    position: absolute;
    text-decoration: none;
    top: 50%;
    transform: translateY(-50%);
    transition: none;
}

.htv-language .wpml-ls-current-language span {
    color: #666;
    font-size: 14px;
    font-weight: 700;
    padding: 0 15px 0 10px;
    text-align: center;
    white-space: nowrap;
    line-height: 0;
}

.block-right-header {
    position: relative;
    display: flex;
    justify-content: center;
    margin-right: 20%;
    margin-left: 20px;
}

.wpml-ls-statics-shortcode_actions {
    background: #fff;
    width: 100%;
    max-width: 700px;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    padding: 20px !important;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 50%);
    visibility: hidden !important;
}

.wpml-ls-statics-shortcode_actions.active_language_modal {
    transition: all .25s ease-out;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible !important;

}

.active_language_modal {
    display: flex !important;
    z-index: 99999;

}

.wpml-ls-slot-shortcode_actions {
    width: 50%;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.wpml-ls-slot-shortcode_actions a {
    border-width: 0 0 1px 0;
    padding: 25px 20px !important;
    color: #444 !important;
    position: relative;
}

.wpml-ls-statics-shortcode_actions .wpml-ls-legacy-list-horizontal a {
    display: block;
    text-decoration: none;
    padding: 15px 20px !important;
    line-height: 1;
}

.wpml-ls-item {
    border-bottom: 1px solid #666;
    max-height: 70px;
    height: 70px;
}

.language-checked {
    background-color: transparent;
    border: solid #0072ad;
    border-radius: 0;
    border-width: 0 2px 2px 0;
    content: "";
    display: block;
    height: 18px;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
}

/*//Category*/
ul li {
    list-style: none !important;
}

.wp-block-categories-list li {
    list-style: none;
    /*margin-bottom: 10px;*/
    cursor: pointer;
}

.cat-item {
    list-style: none;
    cursor: pointer;
    margin-bottom: 0;
    height: 45px;
    line-height: 45px;
    padding-left: 15px;
}

.cat-item:hover {
    background: whitesmoke;
    transition: 0.5s;
}

.cat-item a {
    font-size: 20px;
    color: #444 !important;
    display: block;
    border: none;
    outline: none;
}

.wp-block-categories-list li a {
    font-size: 20px;
    color: #444 !important;
}

/*pagination*/

.pagination li a {
    line-height: 2.6666666667rem;
    white-space: nowrap;
    font-size: .777rem;
    color: #444;
    border: 2px solid #444;
}

.pagination li a.current {
    background: #444 !important;
    border: 2px solid #444;
}

.pagination li a:hover {
    background: #444 !important;
}

/* Sidebar*/
.c-sidebar {
    margin-top: 40px;
}

/*Search post*/
.has-sidebar .page-title {
    margin-bottom: 20px;
}

.site-content .content-area .no-results {
    text-align: center;
}

.site-content .content-area .no-results .page-content p {
    margin-bottom: 20px;
}

.site-content .content-area .no-results .page-content .search-form .search-field {
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid #666;
    padding: 5px 14px;
    outline: 0;
    margin-right: 10px;
}

.site-content .content-area .no-results .page-content .search-form .search-submit {
    width: 1.5555555556rem;
    height: 1.5555555556rem;
    text-indent: -9999px;
    background: url('/wp-content/themes/media/app/images/common/ic_search_2.png') 50% no-repeat;
    border: none;
    outline: 0;
    cursor: pointer;
    margin-left: auto;
}

/*Widget search*/
.widget_search .search-form .search-field {
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid #666;
    padding: 5px 14px;
    outline: 0;
    margin-right: 10px;
}

.widget_search .search-submit {
    width: 1.5555555556rem;
    height: 1.5555555556rem;
    text-indent: -9999px;
    background: url('/wp-content/themes/media/app/images/common/ic_search_2.png') 50% no-repeat;
    border: none;
    outline: 0;
    cursor: pointer;
    margin-left: auto;
}

/*NAV Header*/
#primary-menu a {
    border: none;
    outline: none;
}

.c-navbar--right__wrap {
    flex-wrap: nowrap !important;
}

@media only screen and (min-width: 769px) and (max-width: 1140px) {
    .c-navbar--left {
        min-width: 100px;
    }

    .c-navbar__menu {
        margin-left: initial;
    }

    .c-navbar--right .c-navbar--right__wrap {
        flex-wrap: initial;
    }

    .c-navbar--right {
        min-width: inherit !important;
    }
}

.wpml-ls-display {
    display: none !important;
}

/*LOGO TEXT*/
.c-navbar--left a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    color: #186BB2;
}

/*FOOTER*/
.box-home-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.box-home-footer .icon-home-footer {
    margin-right: 5px;
    font-size: 20px;
}

.box-home-footer .home-footer {
    font-size: 17px;
}

.box-home-footer .home-footer a {
    color: #000;
}

.nav-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.nav-footer ul {
    display: flex;
    text-align: center;
}

.nav-footer ul li {
    padding: 0 20px;
}

.nav-footer ul li a {
    color: #000;
    font-size: 14px;
}

/*PAGE SEARCH NO RESULT*/
#page, #content {
    min-height: 60vh;
}

.search-no-results .no-results {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.c-post__related .heading__h2 {
    color: #202020;
    border-bottom: 1px solid #0672AD;
    padding-bottom: 10px;
    line-height: 2.2222222222rem;
}
