/* Header */
#masthead {
    position: fixed;
    top: 0; right: 0; left: 0;

    background-color: #fff;
    z-index: 9999;
}

.admin-bar #masthead {
    top: 32px;
}

#masthead.header-type-negative,
#masthead.header-type-transparent {
    -webkit-transition: 0.2s all;
    -moz-transition: 0.2s all ;
    -ms-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}

body:not(.mediablam-resources) #masthead.header-type-transparent:not(.is-hovering):not(.is-scrolling),
body:not(.mediablam-resources) #masthead.header-type-negative:not(.is-hovering):not(.is-scrolling) {
    background: none;
}

#masthead .inside-header {
    display: flex;
    flex-direction: row;
    align-items: center;

    padding: 17px 36px;
}

#masthead .inside-header .site-logo {
    width: 122px;
    height: 34px;

    flex-shrink: 0;
    padding-top: 4px;
    margin: 0;
}

body:not(.mediablam-resources) #masthead.header-type-negative:not(.is-hovering):not(.is-scrolling) .inside-header .site-logo svg g[fill="#ff6f61"] {
    fill: #fff;
}

#masthead .main-navigation {
    width: 100%;
    padding-left: 56px;
    background-color: transparent;
}

#masthead .main-navigation .inside-navigation {
    position: static;
    padding: 0;
    max-width: 100%;
}

#masthead .main-navigation .inside-navigation .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#masthead .main-navigation .main-nav ul li.menu-item-has-children {
    position: static;
}

#masthead .main-navigation ul ul {
    width: 100%;
    height: auto;

    left: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    overflow: visible;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#masthead .main-navigation .menu > .menu-item-has-children ul {
    background: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#masthead .main-navigation .menu > .menu-item-has-children > ul ul {
    position: relative;
    width: auto;
    display: flex;
    flex-direction: column;
}

#masthead .main-navigation .menu > .menu-item-has-children > ul ul:before {
    content: '';

    display: block;
    margin: 0 0 5px;
    width: 16px;
    height: 2px;

    background-color: #ff6f61;
}

.dropdown-hover .main-navigation:not(.toggled) ul li:hover > ul,
.dropdown-hover .main-navigation:not(.toggled) ul li.sfHover > ul {
    transition-delay: 0s;
}

.main-navigation .main-nav ul ul li:hover > a, .main-navigation .main-nav ul ul li:focus > a,
.main-navigation .main-nav ul ul li.sfHover > a {
    background: none;
}

#masthead .main-navigation .inside-navigation .menu li.button__primary {
    padding: 0;
    margin-left: 24px;
}

#masthead .main-navigation .inside-navigation .menu > li:not(.button__primary):not(.mediablam-language-switcher--wrapper):not(:first-of-type) {
    margin-left: 24px;
}

#masthead .main-navigation .main-nav ul li a {
    font-size: 15px;
    color: #333;
    line-height: 1;
}

body:not(.mediablam-resources) #masthead.header-type-negative:not(.is-hovering):not(.is-scrolling) .main-navigation .mediablam-language-switcher .mediablam-language-switcher--toggle,
body:not(.mediablam-resources) #masthead.header-type-negative:not(.is-hovering):not(.is-scrolling) .main-navigation .main-nav ul li a {
    color: #fff;
}

body:not(.mediablam-resources) #masthead.header-type-negative:not(.is-hovering):not(.is-scrolling) .main-navigation .mediablam-language-switcher .mediablam-language-switcher--toggle {
    background: url(../img/globe-icon-light.png) center left no-repeat,
                url(../img/icon-chevron-down-light.svg) top 13px right 20px no-repeat;
    background-size: 15px, 8px;
}

body:not(.mediablam-resources) #masthead.header-type-negative:not(.is-hovering):not(.is-scrolling) .main-navigation .mediablam-language-switcher--wrapper:after {
    background-color: rgba(255, 255, 255, 0.3);
}

#masthead .main-navigation .inside-navigation .menu > li:not(.button__primary).menu-item-has-children > a {
    /*padding: 27px 0 28px;*/
    padding: 0;

    -webkit-transition: 0.2s all;
    -moz-transition: 0.2s all;
    -ms-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}

#masthead .main-navigation .inside-navigation .menu > li:not(.button__primary):not(.menu-item-has-children) > a {
    padding: 0;
    position: relative;
    top: -1px;
}

#masthead .main-navigation .inside-navigation .menu li:not(.button__primary) a:hover {
    color: #057aff;
}

#masthead .main-navigation .inside-navigation .menu li:first-of-type a {
    padding-left: 0;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li.sfHover > a {
    background: none;
}

#masthead .main-navigation .main-nav .menu > li.menu-item-has-children > a:after {
    content: '\f078';

    position: relative;
    top: -2px;
    margin-left: 5px;

    font-family: 'FontAwesome';
    font-size: 8px;
}

#masthead .main-navigation .inside-navigation .menu li.button__primary a {
    padding: 9px 19px 11px;
    color: #fff;
    line-height: 16px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

#masthead .main-navigation .inside-navigation .menu > .menu-item-has-children > .sub-menu > .menu-item:first-of-type {
    margin-left: 0;
}

#masthead .main-navigation .inside-navigation .menu > .menu-item-has-children.item-children-depth--3 > .sub-menu > .menu-item:nth-of-type(2) {
    margin-left: 0;
}

#masthead .main-navigation .inside-navigation .menu > .menu-item-has-children > .sub-menu > .menu-item:last-of-type {
    margin-right: 0;
}

#masthead .main-navigation .inside-navigation .menu > .menu-item-has-children ul > li:not(.sub-menu-label) > a {
    padding: 4px 0;
    font-size: 18px;
    line-height: 25px;
}

#masthead .main-navigation .inside-navigation .menu li.sub-menu-label > a,
#masthead .main-navigation .inside-navigation .menu li.sub-menu-label > span {
    padding: 0;
    font-size: 18px;
    font-weight: 600;
}

#masthead .main-navigation .inside-navigation .menu li.sub-menu-label > a span,
#masthead .main-navigation .inside-navigation .menu li.sub-menu-label > span span {
    display: block;
    line-height: 25px;
}

#masthead .main-navigation .inside-navigation .menu li.sub-menu-label > span span {
    margin-bottom: 6px;
}

#masthead .main-navigation .inside-navigation .menu li.sub-menu-label > a small,
#masthead .main-navigation .inside-navigation .menu li.sub-menu-label > span small {
    display: block;
    padding: 8px 0 20px;
    max-width: 185px;

    font-size: 13px;
    font-weight: 400;
    color: #858585;
}

/* Footer */
#footer-widgets {
    max-width: 1178px;
    margin: auto;
    padding: 62px 24px 38px;
}

#footer-widgets aside {
    padding: 0;
    margin: 0;
}

#footer-widgets .footer-widgets-container .inside-footer-widgets {
    margin: 0;
}

#footer-widgets .widget_media_image {
    margin-bottom: 12px;
}

#footer-widgets .widget_media_image a {
    display: block;
}

#footer-widgets .widget_media_image img {
    max-height: 26px;
    vertical-align: bottom;
}

#footer-widgets #menu-social-icons-menu,
#footer-widgets #menu-social-icons-menu-kr,
#footer-widgets #menu-social-icons-menu-cn {
    display: flex;
    flex-direction: row;
}

#footer-widgets #menu-social-icons-menu li,
#footer-widgets #menu-social-icons-menu-kr li,
#footer-widgets #menu-social-icons-menu-cn li {
    margin: 0 8px;
}

#footer-widgets #menu-social-icons-menu li:first-of-type,
#footer-widgets #menu-social-icons-menu-kr li:first-of-type,
#footer-widgets #menu-social-icons-menu-cn li:first-of-type {
    margin-left: 0;
}

#footer-widgets #menu-social-icons-menu li:last-of-type,
#footer-widgets #menu-social-icons-menu-kr li:last-of-type,
#footer-widgets #menu-social-icons-menu-cn li:last-of-type {
    margin-right: 0;
}

#footer-widgets #menu-social-icons-menu li a,
#footer-widgets #menu-social-icons-menu-kr li a,
#footer-widgets #menu-social-icons-menu-cn li a {
    font-size: 0;
}

#footer-widgets #menu-social-icons-menu li a:before,
#footer-widgets #menu-social-icons-menu-kr li a:before,
#footer-widgets #menu-social-icons-menu-cn li a:before {
    font-family: 'FontAwesome';
    font-size: 18px;
    font-weight: 400;
    color: #333;
}

#footer-widgets #menu-social-icons-menu li.social-facebook a:before,
#footer-widgets #menu-social-icons-menu-kr li.social-facebook a:before,
#footer-widgets #menu-social-icons-menu-cn li.social-facebook a:before {
    content: '\f09a';
}

#footer-widgets #menu-social-icons-menu li.social-instagram a:before,
#footer-widgets #menu-social-icons-menu-kr li.social-instagram a:before,
#footer-widgets #menu-social-icons-menu-cn li.social-instagram a:before {
    content: '\f16d';
}

#footer-widgets #menu-social-icons-menu li.social-linkedin a:before,
#footer-widgets #menu-social-icons-menu-kr li.social-linkedin a:before,
#footer-widgets #menu-social-icons-menu-cn li.social-linkedin a:before {
    content: '\f08c';
}

#footer-widgets #menu-social-icons-menu li.social-youtube a:before,
#footer-widgets #menu-social-icons-menu-kr li.social-youtube a:before,
#footer-widgets #menu-social-icons-menu-cn li.social-youtube a:before {
    content: '\f16a';
}

#footer-widgets .widget_nav_menu ul,
#footer-widgets .widget_nav_menu ul ul {
    margin: 0;
}

#footer-widgets #menu-footer-features > li:nth-of-type(3) {
    margin-bottom: 28px;
}

#footer-widgets .widget_nav_menu .menu li {
    padding: 0;
}

#footer-widgets .widget_nav_menu .menu > li {
    margin-bottom: 8px;
}

#footer-widgets .widget_nav_menu .menu > li > a {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

#footer-widgets .widget_nav_menu .menu li a {
    font-size: 13px;
    color: #333;
}

#footer-widgets .widget_nav_menu .sub-menu {
    margin-bottom: 28px;
}

.site-info {
    background-color: #fff;
}

.site-info .inside-site-info {
    max-width: 1178px;
    margin: auto;
    padding: 24px 0;

    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.site-info .footer-bar .widget_nav_menu .menu li a,
.site-info .inside-site-info .copyright-bar {
    margin-left: 0;
    margin-right: 32px;
    font-size: 11px;
    color: #333;
}

.site-info .footer-bar .widget_nav_menu .menu li {
    margin: 0;
    line-height: 1;
}

/* Posts: Author short metadata */
.author-data {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-top: auto;
}

.author-data figure {
    flex-shrink: 0;
    margin-right: 8px;
}

.author-data img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    border-radius: 50%;
}

.author-data div strong,
.author-data div span {
    display: block;
    font-size: 14px;
}

.author-data div strong {
    font-weight: 400;
    line-height: 1;
}

.author-data div span {
    color: #858585;
}

.author-data .mobile {
    display: none;
}

/* Posts: Categories Chips */
.categories-list {
    display: flex;
    flex-direction: row;
    margin: 0 0 10px 0;
    flex-wrap: wrap;

    list-style-type: none;
}

.categories-list li {
    margin: 4px 15px 0 0;
    padding: 0;

    font-size: 14px;
    font-weight: 700;
    color: #fff;

    line-height: 18px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* AddThis Share Buttons */
#at4-share {
    left: 36px;
    animation: none !important;
    z-index: 1;
}

.addthis-smartlayers .at-share-close-control {
    display: none !important;
}

.addthis-smartlayers .at-share-btn {
    width: 32px !important;
    height: 32px !important;
    margin: 5px 0 !important;

    border-radius: 50%;
}

.addthis-smartlayers .at-share-btn .at-icon-wrapper {
    height: 100%;

    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;

    background-color: #333 !important;

    -webkit-transition: 0.2s background;
    -moz-transition: 0.2s background;
    -ms-transition: 0.2s background;
    -o-transition: 0.2s background;
    transition: 0.2s background;
}

.addthis-smartlayers .at-share-btn .at-icon-wrapper svg.at-icon {
    height: 24px !important;
}

.addthis-smartlayers .at-share-btn .at-icon-wrapper svg.at-icon-link,
.addthis-smartlayers .at-share-btn .at-icon-wrapper svg.at-icon-email {
    display: none;
}

.addthis-smartlayers .at-share-btn.at-svc-email .at-icon-wrapper:after,
.addthis-smartlayers .at-share-btn.at-svc-link .at-icon-wrapper:after {
    content: '';

    display: block;
    height: 24px;
    width: 18px;
}

.addthis-smartlayers .at-share-btn.at-svc-email .at-icon-wrapper:after {
    background: url(../img/share-envelope.png) center center no-repeat;
    background-size: contain;
}

.addthis-smartlayers .at-share-btn.at-svc-link .at-icon-wrapper:after {
    background: url(../img/share-link.png) center center no-repeat;
    background-size: contain;
}

.addthis-smartlayers .at-share-btn.at-svc-facebook:hover .at-icon-wrapper {
    background-color: #3b5998 !important;
}

.addthis-smartlayers .at-share-btn.at-svc-twitter:hover .at-icon-wrapper {
    background-color: #1da1f2 !important;
}

.addthis-smartlayers .at-share-btn.at-svc-linkedin:hover .at-icon-wrapper {
    background-color: #0077b5 !important;
}

.addthis-smartlayers .at-share-btn.at-svc-slack:hover .at-icon-wrapper {
    background-color: #e01563 !important;
}

.addthis-smartlayers .at-share-btn.at-svc-link:hover .at-icon-wrapper,
.addthis-smartlayers .at-share-btn.at-svc-email:hover .at-icon-wrapper {
    background-color: #057aff !important;
}

/* Forms */
.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-textual.elementor-size-sm,
.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-selection {
    padding: 13px 16px;

    font-family: 'OpenSans', sans-serif;
    font-size: 16px;
    color: #333;

    border-radius: 4px;
    border: 1px solid #d6d6d6;
    background-color: #f7f7f7 !important;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-selection {
    height: auto;
    padding: 10px 16px;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-selection.select2-selection--multiple {
    line-height: 1;
    padding: 11px 16px;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    border: 0;
    background: none;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-search {
    width: 100%;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-textual.elementor-size-sm:focus {
    border-color: #057aff;
    box-shadow: none;
    outline: none;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-select .elementor-field-label {
    display: none;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group {
    position: relative;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-recaptcha {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-label {
    position: absolute;
    left: 32px;
    top: 26px;

    -webkit-transition: 0.2s all;
    -moz-transition: 0.2s all;
    -ms-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-recaptcha .elementor-message {
    position: relative !important;
    right: auto !important;
    width: 100%;
    bottom: auto !important;
    text-align: center;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-label,
.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-selection__placeholder,
.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-search__field {
    font-family: 'OpenSans', sans-serif;
    font-size: 16px;
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-search__field {
    margin: 0;
    width: 100% !important;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-search__field::-webkit-input-placeholder {
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-search__field::-moz-placeholder {
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-search__field::-ms-input-placeholder {
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-search__field::-moz-placeholder {
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group.is-in-focus .elementor-field-label {
    top: 18px;
    font-size: 11px;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group.is-in-focus .elementor-field-textual.elementor-size-sm {
    padding: 23px 16px 5px;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance {
    padding-top: 0;
    margin-bottom: 24px;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance > .elementor-field-label {
    display: none;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance .elementor-field-option label {
    position: relative;
    display: block;
    padding-left: 24px;

    font-size: 16px;
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance .elementor-field-option label a {
    color: #057aff;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance .elementor-field-option label:before {
    content: '';

    display: inline-block;
    width: 16px;
    height: 16px;

    position: absolute;
    left: 0;
    top: 2px;

    background-color: #f7f7f7;
    border-radius: 3px;
    border: 1px solid #d6d6d6;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance .elementor-field-option input:checked + label:before {
    background-color: #057aff;
    border-color: #057aff;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance .elementor-field-option input:checked + label:after {
    content: '\e90e';
    font-family: 'eicons';

    position: absolute;
    top: 1px;
    left: 1px;

    font-size: 14px;
    color: #fff;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-acceptance input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-type-submit {
    text-align: center;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-button {
    display: inline-block;
    padding: 13px 94px;
    margin: auto;

    font-family: 'OpenSans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;

    background-color: #ff6f61;
    flex-basis: 0;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-button .elementor-button-text {
    flex-shrink: 0;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-selection__rendered {
    padding: 0;
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-selection__arrow:after {
    content: '\f078';

    position: relative;
    top: 12px;
    right: 12px;

    margin-left: 5px;

    font-family: 'FontAwesome';
    font-size: 15px;
    color: #616061;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .select2-selection__arrow b {
    display: none;
}

.select2-container--open.select2-container .select2-dropdown {
    top: 6px;

    border: 1px solid #d6d6d6;
    border-radius: 4px;
}

.select2-container--open.select2-container .select2-search__field {
    font-family: 'OpenSans', sans-serif;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: #333;
    background-color: #f7f7f7;
}

.select2-container .select2-dropdown .select2-results li {
    padding: 6px 11px;
    font-size: 14px;
    color: #616061;
    background-color: #f7f7f7;
}

.select2-container--default .select2-dropdown .select2-results li.select2-results__option:hover,
.select2-container--default .select2-dropdown .select2-results li.select2-results__option[aria-selected="true"] {
    color: #333;
    background-color: #d6d6d6;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group.elementor-error input,
.elementor-widget-form form.elementor-form .elementor-select-wrapper.elementor-error .select2-selection {
    border-color: #ff6f61;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group.elementor-error .elementor-form-help-inline,
.elementor-widget-form form.elementor-form .elementor-select-wrapper.elementor-error .elementor-form-help-inline {
    font-size: 13px;
    position: absolute;
    bottom: 9px;
    right: 24px;
}

.elementor-widget-form form.elementor-form .elementor-select-wrapper.elementor-error .elementor-form-help-inline {
    margin: 0;
    right: 12px;
}

.elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-field-group.elementor-error .elementor-form-help-inline:before,
.elementor-widget-form form.elementor-form .elementor-select-wrapper.elementor-error .elementor-form-help-inline:before {
    display: none;
}

#masthead .main-navigation .inside-navigation .menu li.mediablam-language-switcher--wrapper {
    position: relative;
    margin-left: auto;
}

#masthead .main-navigation .inside-navigation .menu li.mediablam-language-switcher--wrapper:after {
    content: '';

    display: block;
    width: 1px;
    height: 36px;

    position: absolute;
    top: -1px;
    right: 0;

    background-color: rgba(0, 0, 0, 0.07);
}

.mediablam-language-switcher .mediablam-language-switcher--toggle {
    display: block;
    font-size: 15px;
    color: #333;
    line-height: 1;
    cursor: pointer;
}

.mediablam-language-switcher .mediablam-language-switcher--toggle {
    padding: 10px 35px 10px 22px;

    background: url(../img/globe-icon.png) center left no-repeat,
                url(../img/icon-chevron-down.svg) top 13px right 20px no-repeat;
    background-size: 15px, 8px;
}

.mediablam-language-switcher .mediablam-language-switcher--dropdown {
    width: 150px !important;
    padding: 15px 10px 10px !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: 0.2s all;

    box-shadow: 0 6px 8px -3px rgba(87, 35, 30, 0.3) !important;
    background-color: #fff !important;
}

.mediablam-language-switcher:hover .mediablam-language-switcher--dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

.mediablam-language-switcher .mediablam-language-switcher--dropdown li a {
    padding: 10px 20px !important;
}

.mediablam-language-switcher .mediablam-language-switcher--dropdown li a img {
    width: 18px;
    margin-right: 4px;
}

.copyright-bar {
    position: relative;
}

.copyright-bar .mediablam-language-switcher {
    position: absolute;
    top: -38px;
    width: 220px;
}

.copyright-bar .mediablam-language-switcher--toggle {
    font-family: 'OpenSans', sans-serif;
    font-weight: 600;
}

.copyright-bar .mediablam-language-switcher--dropdown {
    margin: 0;
    list-style-type: none;
    text-align: left;
    position: absolute;
    top: -94px;
    left: 0;
    right: 0;
}

.copyright-bar .mediablam-language-switcher--dropdown li a {
    display: block;
    padding: 10px 20px !important;
    font-size: 15px;
    color: #333;
    line-height: 1;
}

.copyright-bar .mediablam-language-switcher--dropdown li a:hover {
    color: #057aff;
}

@media only screen and (max-width: 1200px) {

    /* AddThis Share Buttons */
    .addthis-smartlayers.at4-hide,
    .addthis-smartlayers.at4-hide {
        display: block !important;
        opacity: 1 !important;
    }

    .addthis-smartlayers #at-share-dock {
        position: relative !important;
        width: auto;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;

        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;

        padding: 10px 0 !important;
        background-color: transparent !important;
        border: 0 !important;

        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .addthis-smartlayers .at-share-btn {
        margin: 5px;
        width: 32px !important;
        height: 32px !important;
    }

    .addthis-smartlayers .at-share-btn:first-of-type {
        margin-left: 0;
    }

    #masthead .main-navigation .menu > .menu-item-has-children > ul,
    #masthead .main-navigation .menu > .menu-item-has-children:first-of-type > ul {
        padding-left: 36px !important;
    }
}

@media only screen and (min-width: 991px) {

    /* Header */
    #masthead .main-navigation .menu > .menu-item-has-children > ul {
        width: 100%;
        position: absolute;
        top: -100vh;
        right: 0;
        left: 0;

        display: flex;
        flex-direction: row;
        align-items: flex-start;

        padding: 50px 36px 50px 214px;
        text-align: left;

        -webkit-transition: visibility 0s linear 0s;
        -moz-transition: visibility 0s linear 0s;
        -ms-transition: visibility 0s linear 0s;
        -o-transition: visibility 0s linear 0s;
        transition: visibility 0s linear 0s;

        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;

        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        z-index: -1;
    }

    #masthead .main-navigation .menu > .menu-item-has-children:first-of-type > ul {
        padding: 50px 36px 50px 214px;
    }

    #masthead .main-navigation .menu > .menu-item-has-children.is-open > ul {
        top: 70px;

        visibility: visible;
        z-index: 99;
        pointer-events: all;
        opacity: 1;
    }

    #masthead .main-navigation .menu > .menu-item-has-children > ul:before {
        content: '';
        width: 100%;
        height: 100%;

        position: absolute;
        left: 0;
        top: 0;

        -webkit-transform: scaleY(0);
        -moz-transform: scaleY(0);
        -ms-transform: scaleY(0);
        -o-transform: scaleY(0);
        transform: scaleY(0);

        -ms-transform-origin: 50% 0;
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;

        -webkit-transition: 0.1s all linear 0.05s;
        -moz-transition: 0.1s all linear 0.05s;
        -ms-transition: 0.1s all linear 0.05s;
        -o-transition: 0.1s all linear 0.05s;
        transition: 0.1s all linear 0.05s;

        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;

        background-color: #fff;

        opacity: 0;
        z-index: 0;

        -webkit-box-shadow: 0 6px 8px -3px rgba(87, 35, 30, 0.3);
        -moz-box-shadow: 0 6px 8px -3px rgba(87, 35, 30, 0.3);
        box-shadow: 0 6px 8px -3px rgba(87, 35, 30, 0.3);
    }

    #masthead .main-navigation .menu > .menu-item-has-children.is-open > ul:before {
        opacity: 1;

        -ms-transform: scaleY(1);
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    #masthead .main-navigation .inside-navigation .menu > .menu-item-has-children > .sub-menu > .menu-item {
        width: auto;
        position: relative;

        display: inline-block;
        margin: 0 28px;

        opacity: 0;
        float: none;
        text-align: left;

        -webkit-transform: translateY(-5%);
        -moz-transform: translateY(-5%);
        -ms-transform: translateY(-5%);
        -o-transform: translateY(-5%);
        transform: translateY(-5%);

        -webkit-transition: all 0.1s ease-in 0.05s;
        -moz-transition: all 0.1s ease-in 0.05s;
        -ms-transition: all 0.1s ease-in 0.05s;
        -o-transition: all 0.1s ease-in 0.05s;
        transition: all 0.1s ease-in 0.05s;

        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    #masthead .main-navigation .inside-navigation .menu > .menu-item-has-children.is-open > .sub-menu > .menu-item {
        opacity: 1;

        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    #masthead .main-navigation .main-nav .menu > li.menu-item-has-children.is-open > a:after {
        content: '\f077';
    }

    #masthead .main-navigation .inside-navigation .mobile-sub-menu-toggle {
        display: none;
    }

    /* Footer */
    #footer-widgets .widget_nav_menu .menu li.li-mobile-only {
        display: none;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1100px) {

    /* Header */
    #masthead .inside-header {
        padding: 0 18px;
    }

    #masthead .main-navigation {
        padding-left: 32px;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1024px) {

    #footer-widgets div[class*="footer-widget-"] {
        width: 20%;
    }
}

@media only screen and (max-width: 1024px) {

    #footer-widgets .inside-footer-widgets > div:nth-child(odd) {
        clear: none;
    }
}

@media only screen and (max-width: 990px) {

    /* Header */
    #masthead .inside-header {
        height: 70px;
    }

    #site-navigation button.menu-toggle {
        width: 16px;
        height: 14px;

        display: block;
        padding: 0;

        position: absolute;
        top: 27px;
        right: 36px;

        line-height: 1;
        z-index: 99;
    }

    #site-navigation button.menu-toggle:before {
        content: inherit;
        display: none;
    }

    #site-navigation button.menu-toggle svg g path {
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;

        -webkit-transform-origin: 0 50%;
        -moz-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        transform-origin: 0 50%;

        -webkit-transition: 0.15s all ease-in-out;
        -moz-transition: 0.15s all ease-in-out;
        -ms-transition: 0.15s all ease-in-out;
        -o-transition: 0.15s all ease-in-out;
        transition: 0.15s all ease-in-out;
    }

    body:not(.mediablam-resources) #masthead.header-type-negative:not(.is-hovering):not(.is-scrolling) #site-navigation button.menu-toggle svg g path {
        fill: #fff;
    }

    #site-navigation button.menu-toggle[aria-expanded="true"] svg g path:first-of-type {
        -webkit-transform: translate3d(-1px, -2px, 0) rotate(45deg);
        -moz-transform: translate3d(-1px, -2px, 0) rotate(45deg);
        -ms-transform: translate3d(-1px, -2px, 0) rotate(45deg);
        -o-transform: translate3d(-1px, -2px, 0) rotate(45deg);
        transform: translate3d(-1px, -2px, 0) rotate(45deg);
    }

    #site-navigation button.menu-toggle[aria-expanded="true"] svg g path:nth-of-type(2) {
        opacity: 0;
    }

    #site-navigation button.menu-toggle[aria-expanded="true"] svg g path:last-of-type {
        -webkit-transform: translate3d(-1px, 2px, 0) rotate(-45deg);
        -moz-transform: translate3d(-1px, 2px, 0) rotate(-45deg);
        -ms-transform: translate3d(-1px, 2px, 0) rotate(-45deg);
        -o-transform: translate3d(-1px, 2px, 0) rotate(-45deg);
        transform: translate3d(-1px, 2px, 0) rotate(-45deg);
    }

    #site-navigation button.menu-toggle span {
        display: none;
    }

    #site-navigation #primary-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
    }

    #site-navigation #primary-menu,
    #site-navigation .main-nav .menu .menu-item-has-children:not(.item-children-depth--1):not(.item-children-depth--2) > .sub-menu {
        opacity: 0;
        visibility: hidden;

        -webkit-transform: translateY(-5%);
        -moz-transform: translateY(-5%);
        -ms-transform: translateY(-5%);
        -o-transform: translateY(-5%);
        transform: translateY(-5%);

        -webkit-transition: all 0.1s ease-in 0.05s;
        -moz-transition: all 0.1s ease-in 0.05s;
        -ms-transition: all 0.1s ease-in 0.05s;
        -o-transition: all 0.1s ease-in 0.05s;
        transition: all 0.1s ease-in 0.05s;

        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;

        background-color: #fff;
    }

    #site-navigation.toggled #primary-menu,
    #site-navigation .main-nav .menu .menu-item-has-children:not(.item-children-depth--1):not(.item-children-depth--2) > .sub-menu.depth--open {
        opacity: 1;
        visibility: visible;

        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    #masthead .main-navigation .inside-navigation .menu {
        height: calc(100vh - 70px);
        padding: 16px 24px 125px;
        flex-direction: column;
        align-items: stretch;

        overflow: auto;
    }

    body.admin-bar #masthead .main-navigation .inside-navigation .menu {
        height: calc(100vh - 70px - 32px);
    }

    #masthead .main-navigation .menu li.item-children-depth--1 > .sub-menu,
    #masthead .main-navigation .menu li.item-children-depth--2 > .sub-menu {
        position: relative;
        display: none;
        height: auto;
        float: none;
    }

    #masthead .main-navigation .menu li.item-children-depth--2 > .sub-menu {
        padding-left: 0 !important;
    }

    #site-navigation .main-nav .menu .menu-item-has-children:not(.item-children-depth--1):not(.item-children-depth--2) > .sub-menu {
        padding-left: 24px !important;
    }

    #masthead .main-navigation .inside-navigation .menu li.sub-menu-label > span span {
        margin-bottom: 0;
    }

    #masthead .main-navigation .inside-navigation .menu li.mediablam-language-switcher--wrapper,
    #masthead .main-navigation .inside-navigation .menu li.button__primary,
    #masthead .main-navigation .inside-navigation .menu > li:not(.button__primary):not(.mediablam-language-switcher--wrapper):not(:first-of-type) {
        margin: 0;
        padding: 0;
    }

    #masthead .main-navigation .inside-navigation .menu li.button__primary {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;

        padding: 27px 36px 48px;

        background-color: #fff;
        z-index: 2;
    }

    #masthead .main-navigation .inside-navigation .menu li.button__primary > a {
        padding: 17px 16px;

        font-size: 18px;
        font-weight: 600;
        text-align: center;

        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;

        background-color: #ff6f61;
    }

    #masthead .main-navigation .inside-navigation .menu > li:not(.button__primary):not(.menu-item-has-children) > a,
    #masthead .main-navigation .inside-navigation .menu > li:not(.button__primary).menu-item-has-children > a,
    #masthead .main-navigation .inside-navigation .menu > li:not(.button__primary) > a,
    #masthead .main-navigation .main-nav .menu > li.menu-item-has-children .item-children-depth--2 > a,
    #masthead .main-navigation .main-nav .menu > li.menu-item-has-children .item-children-depth--2 > span,
    #masthead .main-navigation .main-nav .menu > li.menu-item-has-children .item-children-depth--2 + .item-children-depth--1 > a {
        display: flex;
        flex-direction: row;
        align-items: center;

        padding: 16px 12px;

        font-size: 15px;
        font-weight: 400;
        line-height: 25px;
    }

    #masthead .main-navigation .inside-navigation .menu > li:not(.button__primary):not(:nth-last-of-type(2)),
    #masthead .main-navigation .inside-navigation .menu li.item-children-depth--3 > .sub-menu > li:not(.mobile-sub-menu-toggle) {
        border-bottom: 1px solid #d6d6d6;
    }

    #masthead .main-navigation .main-nav .menu > li.menu-item-has-children > a:after,
    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2 > a:after,
    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2 > span:after {
        margin: auto 8px auto auto;
        top: 0;
    }

    #masthead .main-navigation .menu > .menu-item-has-children > ul ul:before {
        display: none;
    }

    #masthead .main-navigation .main-nav .menu li.menu-item-has-children:not(.item-children-depth--2) > a:after {
        content: '\f054';
    }

    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2.is-open {
        padding-bottom: 12px;
    }

    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2.is-open > a,
    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2.is-open > span {
        padding-bottom: 8px;
        color: #057aff;
    }

    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2 > a:after,
    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2 > span:after {
        content: '\f078';

        font-family: 'FontAwesome';
        font-size: 8px;
    }

    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2.is-open > a:after,
    #masthead .main-navigation .main-nav .menu li.menu-item-has-children.item-children-depth--2.is-open > span:after {
        content: '\f077';
    }

    #masthead .main-navigation .main-nav .menu li.sub-menu-label a small,
    #masthead .main-navigation .main-nav .menu li.sub-menu-label span small {
        display: none;
    }

    #masthead .main-navigation .main-nav .menu > li.menu-item-has-children .item-children-depth--1 a,
    #masthead .main-navigation .inside-navigation .menu > .menu-item-has-children ul > li:not(.sub-menu-label) > a {
        padding: 4px 12px;

        font-size: 15px;
        font-weight: 400;
        line-height: 25px;
    }

    #masthead .main-navigation .menu > .menu-item-has-children ul li {
        width: 100%;
    }

    #masthead .main-navigation .inside-navigation .mobile-sub-menu-toggle {
        display: block;
        padding-bottom: 38px;

        font-size: 18px;
        font-weight: 600;
        line-height: 25px;

        cursor: pointer;
    }

    #masthead .main-navigation .inside-navigation .mobile-sub-menu-toggle:before {
        content: '\f104';
        font-family: 'FontAwesome';
        font-size: 25px;

        position: relative;
        top: 2px;

        margin-right: 8px;
    }

    #site-navigation .main-nav .menu .menu-item-has-children:not(.item-children-depth--1):not(.item-children-depth--2) > .sub-menu {
        position: absolute;
        top: -70px;
        bottom: 0;
        left: 0 !important;
        right: 0 !important;

        padding: 21px 24px 48px;
        z-index: 1;
    }

    #site-navigation .main-nav .menu .menu-item-has-children:not(.item-children-depth--1):not(.item-children-depth--2) > .sub-menu.depth--open {
        position: absolute;
        right: 0 !important;
        left: 0 !important;

        background-color: #fff;
    }

    /* Footer */
    #footer-widgets {
        padding: 80px 0 0;
    }

    #footer-widgets .footer-widgets-container {
        display: flex;
        flex-direction: row;
        justify-content: center;

        max-width: 400px;
        margin: auto;
    }

    #footer-widgets .inside-footer-widgets {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #footer-widgets div[class*="footer-widget-"] {
        width: 50%;
        padding: 0 25px;
        margin: 0;
    }

    #footer-widgets div.footer-widget-1 {
        width: 100%;
        margin-bottom: 36px;
    }

    #footer-widgets div.footer-widget-5 {
        margin-top: -36px;
    }

    #footer-widgets .widget_nav_menu .menu li.li-desktop-only {
        display: none;
    }

    .site-info .inside-site-info {
        max-width: 400px;
        padding: 24px 25px;
        margin: auto;
    }

    /* Posts: Author short metadata */
    .author-data .mobile {
        display: inline;
    }

    #masthead .main-navigation .inside-navigation .menu li.mediablam-language-switcher--wrapper:after {
        display: none;
        content: inherit;
    }

    #masthead .mediablam-language-switcher--wrapper > a {
        padding: 0 !important;
    }

    #masthead .mediablam-language-switcher .mediablam-language-switcher--toggle {
        padding: 20px 35px 20px 30px;
        background: url(../img/globe-icon.png) center left 10px no-repeat;
        background-size: 15px;
    }
    
    /* Footer */
    .copyright-bar .mediablam-language-switcher {
        width: 230px;
        text-align: left;
        top: -46px;
    }
}

@media only screen and (max-width: 782px) {

    /* Header */
    body.admin-bar #masthead .main-navigation .inside-navigation .menu {
        height: calc(100vh - 70px - 46px);
    }

    .admin-bar #masthead {
        top: 46px;
    }

    /* Footer */
    .footer-bar .widget_nav_menu li,
    .top-bar .widget_nav_menu li {
        padding: 0;
    }

    .footer-bar .widget_nav_menu > div > ul {
        line-height: 1;
    }

    .site-info .footer-bar .widget_nav_menu .menu li a,
    .site-info .inside-site-info .copyright-bar {
        margin-right: 24px;
    }

    #footer-widgets div[class*="footer-widget-"]:not(:first-of-type):nth-of-type(odd) {
        padding-left: 36px;
    }

    #footer-widgets div[class*="footer-widget-"]:not(:first-of-type):nth-of-type(even) {
        padding-right: 0;
    }

    /* Forms */
    .elementor-widget-form form.elementor-form .elementor-form-fields-wrapper .elementor-button {
        width: 100%;
        display: block;
        flex-grow: 1;
    }
}