/**
Theme Name: Sino Innovations
Author: Avalade Group Limited | Avalade Communications Limited
Author URI: https://avalade.com
Description: Customized theme for Sino Innovations website.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sino-innovations
Template: astra
*/
/******Color palette updated
#eb451d sino red (not in use)
orange: #F15A22
light grey: #CCCCCC
dark grey: #666666
***********/


/***Fonts***/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');
*,
body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
    font-family: 'Nunito Sans', 'Noto Sans TC', 'Noto Sans SC', 'Nunito Sans', 'Noto Sans', sans-serif !important;
}

:lang(zh-hans) *,
 :lang(zh-hans) body,
 :lang(zh-hans) button,
 :lang(zh-hans) input,
 :lang(zh-hans) select,
 :lang(zh-hans) textarea,
 :lang(zh-hans) .ast-button,
 :lang(zh-hans) .ast-custom-button {
    font-family: 'Nunito Sans', 'Noto Sans SC', 'Noto Sans', sans-serif !important;
}

:lang(zh-hant) *,
 :lang(zh-hant) body,
 :lang(zh-hant) button,
 :lang(zh-hant) input,
 :lang(zh-hant) select,
 :lang(zh-hant) textarea,
 :lang(zh-hant) .ast-button,
 :lang(zh-hant) .ast-custom-button {
    font-family: 'Nunito Sans', 'Noto Sans TC', 'Noto Sans', sans-serif !important;
}

i.fa.fa,
.fa,
.far,
.fas {
    font-family: "Font Awesome 5 Free" !important;
}

[class*=" eicon-"],
[class^=eicon] {
    font-family: eicons!important;
}

.media-releases .elementor-post__card,
.box-shadow {
    box-shadow: 0px 1px 3px #00000029;
}


/***Navigation***/

.elementor-nav-menu ul {
    display: block;
}

.elementor-nav-menu>li.menu-item:first-child {
    margin-top: 50px;
}

.elementor-nav-menu>li.menu-item {
    margin-bottom: 50px;
}

.elementor-nav-menu>li.menu-item a {
    color: #F15A22;
}

.elementor-nav-menu>li.menu-item ul.sub-menu li.menu-item a.elementor-sub-item {
    font-size: 18px;
    color: #525252;
    padding: 7px 20px;
}

.elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
.elementor-nav-menu--dropdown .elementor-item.highlighted,
.elementor-nav-menu--dropdown .elementor-item:focus,
.elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-sub-item.elementor-item-active,
.elementor-sub-item.highlighted,
.elementor-sub-item:focus,
.elementor-sub-item:hover,
.elementor-nav-menu--main ul.elementor-nav-menu li.current-menu-parent a.elementor-item.has-submenu,
.elementor-nav-menu>li.menu-item ul.sub-menu li.menu-item.current_page_item a.elementor-sub-item.elementor-item-active{
    background-color: #FFF;
    color: #F15A22;
}


/***Language Switcher***/

.wpml-ls-legacy-dropdown {
    width: 3.5em;
}

.wpml-ls-legacy-dropdown a {
    border: 0;
    background-color: #fff;
    padding: 10px;
}

.wpml-ls-legacy-dropdown a span {
    margin-right: 53px;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    border-top: .35em solid;
}

.wpml-ls-legacy-dropdown a:hover,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a {
    background: #FFFFFF;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border-top: 0;
}


/***Start Homepage****/

#ast-scroll-top {
    background-color: #F15A22;
}

.footer_a a {
    color: #333;
}

a.footer_a {
    color: #333;
}

.footer_a p {
    margin-bottom: 5px;
}

.footer_a ul {
    list-style: none;
    margin-bottom: 5px;
    margin-left: 20px;
}

span.footer-title {
    font-size: 19px;
    font-weight: 600;
}

#daryl-quote a,
#daryl-quote a:hover,
#daryl-quote:hover a {
    color: #fff !important;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0, 0, 0, 0);
}


/***End Homepage****/

h2.elementor-heading-title.elementor-size-default {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.ast-desktop .main-header-menu.submenu-with-border .sub-menu a,
.ast-desktop .main-header-menu.submenu-with-border .children a {
    color: #333333;
}

.main-header-menu a {
    color: #333333;
}

.right {
    text-align: right;
}

.block {
    width: unset!important;
}

.banner-overlay>.elementor-container {
    background-color: #2b2b2b66;
}


/*****Start site title*******/

.ast-theme-transparent-header .site-header .site-title a:hover {
    color: #ffffff !important;
}

.ast-primary-sticky-header-active .site-title a,
.ast-primary-sticky-header-active .site-title a:focus,
.ast-primary-sticky-header-active .site-title a:hover,
.ast-primary-sticky-header-active .site-title a:visited {
    color: #ffffff !important;
}


/*****End site title*******/


/*.main-header-menu li:hover > a,*/

.main-header-menu li:hover>.ast-menu-toggle,
.main-header-menu .ast-masthead-custom-menu-items a:hover,
.main-header-menu li.focus>a,
.main-header-menu li.focus>.ast-menu-toggle,
.main-header-menu .current-menu-item>.ast-menu-toggle,
.main-header-menu .current-menu-ancestor>.ast-menu-toggle,
.main-header-menu .current_page_item>.ast-menu-toggle {
    color: #F15A22 !important;
}


/****** border color ***********/

.ast-desktop .main-header-menu.submenu-with-border .sub-menu,
.ast-desktop .main-header-menu.submenu-with-border .children,
.ast-desktop .main-header-menu.submenu-with-border .astra-full-megamenu-wrapper {
    border-color: #F15A22;
}

.white p {
    color: #fff;
}


/****** End border color ***********/

li.wpml-ls-menu-item a {
    display: none;
}

.ast-header-break-point .ast-mobile-menu-buttons-fill.menu-toggle {
    color: #fff;
}

.main-header-menu .sub-menu a {
    color: #333333;
}

.orange-bullet {
    background: #F05A22;
    border-radius: 50%;
    width: 46px !important;
    height: 46px;
    display: flex;
}

.orange-bullet p {
    color: #FFFFFF;
    line-height: 46px;
    width: 46px;
    font-weight: 400;
}

.no-margin p {
    margin-bottom: 0;
}

.elementor-2341 .elementor-element.elementor-element-1e74604>.elementor-widget-container,
.elementor-2342 .elementor-element.elementor-element-1e74604>.elementor-widget-container {
    padding: 68px 50px 68px 50px;
}


/** Media Releases **/

.media-releases .elementor-post__text {
    margin-bottom: 50px !important;
}

.media-releases .elementor-post__read-more {
    position: absolute;
    bottom: 0;
}


/** Gallery **/

.elementor-custom-embed-play i {
    opacity: 1;
    text-shadow: none;
    width: 46px;
    height: 46px;
    background-image: url(/wp-content/uploads/btn-play.png);
    background-size: cover;
}

.elementor-custom-embed-play .eicon-play:before {
    content: '';
}

.gallery-item {
    padding: 0;
}

.gallery-caption {
    color: #525252;
    padding: 24px;
    border: 0;
    font-size: 20px;
    line-height: 30px;
    background-color: #f7f7f799;
    box-shadow: 0px 1px 3px #00000029;
}

.gallery-columns-1 {
    text-align: center;
}

.gallery-columns-1 figure.gallery-item {
    max-width: 580px;
}

@media only screen and (min-width: 1024px) {
    .elementor-nav-menu>li.menu-item ul.sub-menu li.menu-item a.elementor-sub-item {
        padding: 20px;
        margin-right: 10px;
    }
    /**Joyce testing - Start sticky header**/
    .elementor-lightbox .elementor-lightbox-item {
        padding: 70px 140px !important;
    }
    .ast-transparent-header.ast-primary-sticky-header-active .main-header-bar,
    .ast-primary-sticky-header-active .main-header-bar,
    .ast-primary-sticky-header-active.ast-header-break-point .main-header-bar {
        background: #F15A22;
    }
    .ast-sticky-active .main-header-menu .current-menu-ancestor>a {
        color: #fff !important;
    }
    .main-header-bar {
        border-bottom-color: transparent;
    }
    /**Joyce testing - End sticky header**/
    /* Main navigation*/
    .home ul#primary-menu>li a,
    .ast-sticky-active ul#primary-menu>li a,
    ul#primary-menu>li.wpml-ls-first-item:before,
    ul#primary-menu>li.wpml-ls-first-item:before:hover {
        border-bottom: 0 solid transparent;
    }
    .home ul#primary-menu>li:active a {
        border-bottom: 3px solid #fff;
    }
    .home ul#primary-menu>li a {
        border-bottom: 3px solid transparent;
    }
    .home .main-header-menu .current_page_item>a,
    .home .main-header-menu .current_page_item>a:hover,
    .home ul#primary-menu>li:hover a,
    .home ul#primary-menu>li:active a,
    .ast-primary-sticky-header-active .main-header-menu li.current-menu-item>a,
    .ast-primary-sticky-header-active .main-header-menu li.current-menu-ancestor>a,
    .ast-primary-sticky-header-active .main-header-menu li.current_page_item>a,
    .ast-primary-sticky-header-active .main-header-menu a:hover,
    .ast-primary-sticky-header-active .main-header-menu li:hover>a,
    .ast-primary-sticky-header-active .main-header-menu li.focus>a,
    .ast-primary-sticky-header-active .main-header-menu a.menu-link:hover,
    .ast-primary-sticky-header-active .main-header-menu a.menu-link:focus {
        color: #fff !important;
    }
    .home .main-header-menu .current_page_item>a,
    .home ul#primary-menu>li:active a,
    .home .ast-sticky-active .main-header-menu .current_page_item>a,
    .home .ast-sticky-active .main-header-menu .current_page_item>a,
    .home .ast-sticky-active ul#primary-menu>li:active a .ast-primary-sticky-header-active .main-header-menu li.current-menu-item>a,
    .ast-primary-sticky-header-active .main-header-menu li.current-menu-ancestor>a,
    .ast-primary-sticky-header-active .main-header-menu li.current_page_item>a,
    .ast-primary-sticky-header-active .main-header-menu li.focus>a,
    .ast-primary-sticky-header-active .main-header-menu a.menu-link:focus {
        border-bottom: 3px solid #fff !important;
    }
    .home .main-header-menu .sub-menu a:hover,
    .home ul#primary-menu>li:hover .sub-menu a:hover,
    .ast-primary-sticky-header-active .main-header-menu .sub-menu a.menu-link:hover,
    .ast-primary-sticky-header-active .main-header-menu li.current-menu-item>.sub-menu a:hover,
    .ast-primary-sticky-header-active .main-header-menu li.current-menu-ancestor>.sub-menu a:hover,
    .ast-primary-sticky-header-active .main-header-menu li.current_page_item>.sub-menu a:hover {
        color: #F15A22 !important;
    }
    .home .main-header-menu .sub-menu a,
    .home ul#primary-menu>li:hover .sub-menu a,
    .ast-primary-sticky-header-active .main-header-menu li.current-menu-item>.sub-menu a,
    .ast-primary-sticky-header-active .main-header-menu li.current-menu-ancestor>.sub-menu a,
    .ast-primary-sticky-header-active .main-header-menu li.current_page_item>.sub-menu a {
        color: #333333 !important;
    }
    .main-header-menu .menu-item .sub-menu .menu-item {
        justify-content: flex-start;
    }
    .main-header-menu .menu-item {
        flex-direction: row;
    }
    /* Language switcher style*/
    .main-header-menu .wpml-ls-menu-item a {
        -webkit-transition-property: none;
        -moz-transition-property: none;
        -o-transition-property: none;
        transition-property: none;
    }
    ul#primary-menu>li.wpml-ls-first-item:before {
        content: "|";
        margin: 0 15px;
        color: #333;
    }
    li.wpml-ls-menu-item a:hover {
        opacity: 1 !important;
        color: #F15A22 !important;
    }
    ul#primary-menu>li.wpml-ls-first-item a:focus {
        outline: none;
    }
    .home ul#primary-menu>li.wpml-ls-first-item:before,
    .ast-sticky-active ul#primary-menu>li.wpml-ls-first-item:before {
        color: #fff;
    }
    .elementor-widget-uael-infobox,
    .uael-infobox-center {
        height: 100%;
    }
    .uael-infobox-center .uael-infobox-content {
        padding: 0 0 40px;
    }
    .uael-infobox-center .uael-infobox-content .uael-button-wrapper {
        position: absolute;
        bottom: 20px;
        left: calc((100% - 167px)/2)
    }
}


/*******Start body*********/

.no_margin_b {
    margin-bottom: 0;
}

.no-margin {
    margin: 0 !important;
}

.d-inline-block {
    display: inline-block !important;
}


/****.site-header .site-description {
    font-size: 18px;
    color: #fff !important;
}********/

h4.uael-infobox-title.elementor-inline-editing {
    font-weight: 600;
}

.uael-infobox-text.elementor-inline-editing {
    font-size: 20px;
    line-height: 30px;
}

h1,
.entry-title a,
.entry-content h1,
h2,
.entry-content h2,
h3,
.entry-content h3,
h4,
.entry-content h4,
h5,
.entry-content h5,
h6,
.entry-content h6 {
    color: #5C5C5C;
}

body,
p {
    color: #525252;
}

h6.uael-infobox-title-prefix.elementor-inline-editing {
    color: #F15A22;
}

h5.uael-infobox-title-prefix.elementor-inline-editing {
    color: #F15A22;
}

.elementor-159 .elementor-element.elementor-element-b2e5928 .uael-infobox-text {
    color: rgba(0, 0, 0, 0.7);
}

a:focus,
a:hover {
    color: #F15A22 !important;
    text-decoration: none;
}

.elementor-sub-item:hover {
    background-color: #FFF;
}

.grey_color {
    color: rgba(0, 0, 0, 0.7) !important;
}

.orange {
    color: #F15A22;
}

.quote-mark {
    font-family: 'Nunito Sans', 'Noto Sans TC', 'Noto Sans SC', 'Nunito Sans', 'Noto Sans', sans-serif !important;
    font-size: 80px;
}

.elementor-posts .elementor-post__excerpt p {
    font-size: 16px;
}

.elementor-post-navigation .post-navigation__next--title,
.elementor-post-navigation .post-navigation__prev--title {
    font-size: 16px;
    color: #333;
}


/**Start testing***/

.elementor-post-navigation .post-navigation__next--title:hover,
.elementor-post-navigation .post-navigation__prev--title:hover {
    color: #F15A22;
}


/** End testing***/

a.elementor-post__read-more {
    color: #F15A22;
}

.elementor-post__title,
.elementor-post__title a {
    font-size: 17px;
    color: #333;
}


/*******End body*********/


/*******Start media release*********/

.wp-caption .wp-caption-text {
    margin: 0;
}

p.caption {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    padding: 20px;
    background-color: #f7f7f799;
    box-shadow: 0px 1px 3px #00000029;
}

.elementor-element.elementor-element-f8d358a.elementor-widget.elementor-widget-theme-post-excerpt {
    text-align: center;
}

.elementor-935 .elementor-element.elementor-element-f8d358a .elementor-widget-container,
.elementor-1177 .elementor-element.elementor-element-f8d358a .elementor-widget-container,
.elementor-1179 .elementor-element.elementor-element-f8d358a .elementor-widget-container {
    font-size: 16px;
    line-height: 22px;
}

.elementor-935 .elementor-element.elementor-element-4342074 .elementor-post__title,
.elementor-935 .elementor-element.elementor-element-4342074 .elementor-post__title a {
    font-size: 17px;
}


/* Cookies Bar */

#cookie-law-info-bar a {
    color: #DC582A;
    font-weight: 700;
}

#cookie-law-info-bar .cli_action_button {
    border: 1px solid #DC582A;
    border-radius: 500px;
    min-width: 130px;
}

#cookie-law-info-bar .cli_action_button:hover {
    color: #fff !important;
    background-color: #DC582A !important;
}

#page.with-cookies-bar {
    margin-top: 209px;
}

@media (min-width: 768px) {
    /***Language Switcher***/
    .wpml-ls-legacy-dropdown {
        width: 5.5em;
    }
    /* Cookies Bar */
    #page.with-cookies-bar {
        margin-top: 155px;
    }
    .elementor-935 .elementor-element.elementor-element-f8d358a .elementor-widget-container,
    .elementor-1177 .elementor-element.elementor-element-f8d358a .elementor-widget-container,
    .elementor-1179 .elementor-element.elementor-element-f8d358a .elementor-widget-container {
        font-size: 19px;
        line-height: 27px;
    }
    .anchor {
        display: block;
        position: relative;
        top: 107px;
        visibility: hidden;
    }
    .extended.elementor-section.elementor-section-boxed>.elementor-container {
        max-width: 1360px;
    }
    /** Gallery **/
    .elementor-custom-embed-play i {
        width: 100px;
        height: 100px;
    }
    .gallery-item:first-child {
        padding-right: 8px;
    }
    .gallery-item:last-child {
        padding-left: 8px;
    }
    .gallery-caption {
        font-size: 28px;
        line-height: 38px;
    }
}

@media (min-width: 1024px) {
    /* Cookies Bar */
    #page.with-cookies-bar {
        margin-top: 82px;
    }
    p.caption {
        font-size: 20px;
        line-height: 30px;
        padding: 20px 120px;
    }
}

@media (min-width: 1200px) {
    /***Navigation***/
    .elementor-nav-menu>li.menu-item:first-child {
        margin-top: 0;
    }
    .elementor-nav-menu>li.menu-item {
        margin-bottom: 0;
    }
    /* Cookies Bar */
    #page.with-cookies-bar {
        margin-top: 69px;
    }
}


/*******End media release*********/

.fa {
    font-family: FontAwesome;
}

.desktop-footer-menu ul li:first-child a {
    padding-left: 0!important;
}
