/* header grid container */
.td-header-wrap {
    position: relative;
    z-index: 800;
}

/* header rows */
.td-header-row {
    *zoom: 1;
    font-family: 'Open Sans', arial, sans-serif;
}

.td-header-row:before,
.td-header-row:after {
    display: table;
    content: '';
}

.td-header-row:after {
    clear: both;
}

.td-header-row [class*="td-header-sp"] {
    display: block;
    min-height: 1px;
    float: left;
    padding-right: 24px;
    padding-left: 24px;
    /* responsive landscape tablet */
    /* responsive portrait tablet */
    /* responsive portrait phone */
}

@media (min-width: 1019px) and (max-width: 1140px) {
    .td-header-row [class*="td-header-sp"] {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1018px) {
    .td-header-row [class*="td-header-sp"] {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 767px) {
    .td-header-row [class*="td-header-sp"] {
        padding-right: 0;
        padding-left: 0;
        float: none;
        width: 100%;
    }
}

.td-header-gradient:before {
    content: "";
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMBAMAAABRpcpkAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMGAhQQCyEd++8AAAAUSURBVAjXY1AAQgMgdABCCBAAQQAT6AFRBPHcWgAAAABJRU5ErkJggg==');
    width: 100%;
    height: 12px;
    position: absolute;
    left: 0;
    bottom: -12px;
    z-index: 1;
}

.td-logo {
    margin: 0;
    padding: 0;
    font-size: inherit;
}

/* Search */
@media (max-width: 767px) {
    #td-header-search-button {
        display: none;
    }
}

#td-header-search-button-mob {
    display: none;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    #td-header-search-button-mob {
        display: block;
    }
}

/* the search drop down */
.td-search-box-wrap {
    position: absolute;
    top: 100%;
    right: 0;
}

#td-top-search {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -24px;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    #td-top-search {
        top: 0;
        margin-top: 0;
    }
}

/* responsive without mobile */
@media (min-width: 768px) {
    .td-drop-down-search .td-search-form {
        margin: 20px;
    }
}

.td-header-wrap .td-drop-down-search {
    position: absolute;
    top: 100%;
    right: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 20px, 0);
    -webkit-transform: translate3d(0, 20px, 0);
    background-color: #fff;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-top: 0;
    width: 342px;
    pointer-events: none;
    /* this class is added by the js to open the menu - will be used for animation */
    /* search form */
    /* triangle top */
}

.td-header-wrap .td-drop-down-search.td-drop-down-search-open {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.td-header-wrap .td-drop-down-search .btn {
    position: absolute;
    height: 32px;
    min-width: 67px;
    line-height: 17px;
    padding: 7px 15px 8px;
    text-shadow: none;
    vertical-align: top;
    right: 20px;
    margin: 0;
    -webkit-transition: background-color 0.4s;
    transition: background-color 0.4s;
}

.td-header-wrap .td-drop-down-search .btn:hover {
    background-color: #4db2ec;
}

.td-header-wrap .td-drop-down-search:before {
    position: absolute;
    top: -9px;
    right: 19px;
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5.5px 6px 5.5px;
    border-color: transparent transparent #4db2ec transparent;
}

.td-header-wrap .td-drop-down-search:after {
    position: absolute;
    top: -3px;
    display: block;
    content: '';
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    height: 3px;
    background-color: #4db2ec;
}

.td-header-wrap #td-header-search {
    width: 235px;
    height: 32px;
    margin: 0;
    border-right: 0;
    line-height: 17px;
    border-color: #eaeaea;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    .td-header-wrap #td-header-search {
        width: 91%;
        font-size: 16px;
    }
}

.td-header-wrap .td-post-category {
    z-index: 2;
    position: relative;
}

.td-header-wrap .meta-info {
    line-height: 14px;
}

/* General header */
.td-banner-wrap-full {
    position: relative;
}

.td-header-menu-wrap-full {
    z-index: 9998;
    position: relative;
}

/* responsive portrait phone */
@media (max-width: 767px) {
    .td-header-wrap .td-header-menu-wrap-full,
    .td-header-wrap .td-header-menu-wrap,
    .td-header-wrap .td-header-main-menu {
        background-color: #222 !important;
        height: 54px;
    }

    .header-search-wrap .td-icon-search {
        color: #fff;
    }
}

.td-logo-text-container {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    z-index: 1;
}

.td-logo-text-container span {
    display: inline-block;
    width: 100%;
}

.td-logo-text-container .td-logo-text {
    font-size: 75px;
    font-family: serif;
    color: #222;
    line-height: 1;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    .td-logo-text-container .td-logo-text {
        font-size: 36px;
    }
}

.td-logo-text-container .td-logo {
    line-height: 1;
}

.td-logo-text-container .td-tagline-text {
    letter-spacing: 1.8px;
    font-size: 12px;
    font-family: serif;
    color: #777;
    padding-top: 2px;
    padding-bottom: 10px;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    .td-logo-text-container .td-tagline-text {
        font-size: 11px;
    }
}

.td-header-wrap .td-header-menu-wrap-full {
    background-color: #fff;
}

/* Template Styles */

.td-header-style-1 .td-logo-text-wrap {
    min-height: 130px;
    line-height: 130px;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    .td-header-style-1 .td-logo-text-wrap {
        line-height: 90px;
        min-height: 90px;
    }
}

.td-header-style-1 .td-logo-text-wrap a {
    position: relative;
    z-index: 1;
    line-height: 130px;
    display: inline-block;
    vertical-align: middle;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    .td-header-style-1 .td-logo-text-wrap a {
        line-height: 90px;
    }
}

.td-header-style-1 .td-logo-text-wrap .td-logo {
    line-height: 130px;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    .td-header-style-1 .td-logo-text-wrap .td-logo {
        line-height: 90px;
    }
}

.td-header-style-1 .td-logo-text-container a {
    line-height: 1;
}

.td-header-style-1 .td-header-sp-logo {
    text-align: center;
}

.td-header-style-1 .header-search-wrap .td-icon-search {
    color: #000;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    .td-header-style-1 .header-search-wrap .td-icon-search {
        color: #fff;
    }
}

.td-header-style-1 .td-header-menu-wrap-full {
    position: relative;
}

/* Main Menu */
.td-header-main-menu {
    position: relative;
    z-index: 999;
    padding-right: 48px;
}

@media (max-width: 767px) {
    .td-header-main-menu {
        padding-right: 64px;
        padding-left: 2px;
    }
}

.td-header-menu-no-search .td-header-main-menu {
    padding-right: 0;
}

/* SF Menu */
.sf-menu,
.sf-menu ul,
.sf-menu li {
    margin: 0;
    list-style: none;
}

/* responsive phone */
@media (max-width: 767px) {
    .sf-menu {
        display: none;
    }
}

.sf-menu ul {
    position: absolute;
    top: -999em;
    width: 10em;
    /* left offset of submenus need to match (see below) */
}

.sf-menu > li.td-normal-menu > ul.sub-menu {
    left: -15px;
    /* responsive portrait tablet */
}

@media (min-width: 768px) and (max-width: 1018px) {
    .sf-menu > li.td-normal-menu > ul.sub-menu {
        left: -5px;
    }
}

.sf-menu ul li {
    width: 100%;
}

.sf-menu li:hover {
    visibility: inherit;
    /* fixes IE7 'sticky bug' */
}

.sf-menu li {
    float: left;
    position: relative;
}

.sf-menu li .fa {
    margin-right: 10px;
    font-size: 1.4em;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.sf-menu li .td-only-icon {
    margin-right: 0;
}

.sf-menu .td-menu-item > a {
    display: block;
    position: relative;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
    left: 0;
    top: auto;
    z-index: 99;
}

ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
    top: -999em;
}

ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
    left: 10em;
    /* match ul width */
    top: 0 !important;
}

ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
    top: -999em;
}

.sf-menu > .current-menu-ancestor,
.sf-menu > .current-category-ancestor,
.sf-menu > .current-menu-item {
    z-index: 0;
}

/* Links */
/* remove the down arrow on links with  (icons menus) */
.td-no-down-arrow > a .sf-sub-indicator {
    display: none;
}

.sf-menu > li > a {
    padding: 0 14px;
    line-height: 48px;
    font-size: 14px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-backface-visibility: hidden;
}

@media (min-width: 768px) and (max-width: 1018px) {
    .sf-menu > li > a {
        padding: 0 9px;
        font-size: 11px;
    }
}

/* menu icons */
.sf-menu .menu_icon {
    position: relative;
    top: 13px;
    float: left;
}

.sf-menu .sub-menu .menu_icon {
    top: 0;
}

.sf-menu .menu_hidden {
    display: none !important;
}

/* hover and current menu */
.sf-menu > .current-menu-item > a,
.sf-menu > .current-menu-ancestor > a,
.sf-menu > .current-category-ancestor > a,
.sf-menu > li > a:hover,
.sf-menu > .sfHover,
.sf-menu > .sfHover > a {
    z-index: 999;
}

.sf-menu > .current-menu-item > a,
.sf-menu > .current-menu-ancestor > a,
.sf-menu > .current-category-ancestor > a,
.sf-menu > li > a:hover,
.sf-menu > .sfHover > a {
    background-color: transparent;
}

.td-affix .sf-menu > .current-menu-item > a,
.td-affix .sf-menu > .current-menu-ancestor > a,
.td-affix .sf-menu > .current-category-ancestor > a,
.td-affix .sf-menu > li > a:hover,
.td-affix .sf-menu > .sfHover > a {
    background-color: transparent;
}

/* Bottom border on Main Menu */
.sf-menu > li > a:after {
    background-color: transparent;
    content: '';
    width: 0;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: width 0.2s ease;
    transition: width 0.2s ease;
}

/* hover and current menu border */
.sf-menu > .current-menu-item > a:after,
.sf-menu > .current-menu-ancestor > a:after,
.sf-menu > .current-category-ancestor > a:after,
.sf-menu > li:hover > a:after,
.sf-menu > .sfHover > a:after {
    background-color: #4db2ec;
    width: 100%;
}

#td-header-menu {
    display: inline-block;
    vertical-align: top;
}

/*Sub Menu*/
.td-normal-menu ul {
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

.sf-menu .td-normal-menu ul {
    padding: 15px 0;
    /* responsive portrait tablet */
}

@media (min-width: 768px) and (max-width: 1018px) {
    .sf-menu .td-normal-menu ul {
        padding: 8px 0;
    }
}

.sf-menu .td-normal-menu ul ul {
    margin: -15px 0;
    /* responsive portrait tablet */
}

@media (min-width: 768px) and (max-width: 1018px) {
    .sf-menu .td-normal-menu ul ul {
        margin: -8px 0;
    }
}

.sf-menu ul {
    background-color: #fff;
}

.sf-menu ul .td-menu-item > a {
    padding: 7px 30px;
    font-size: 12px;
    line-height: 20px;
    color: #111;
}

.sf-menu ul .td-menu-item > a .fa {
    font-size: 1em;
    position: relative;
    top: -1px;
    width: 20px;
    margin-right: 5px;
    text-align: center;
}

@media (min-width: 768px) and (max-width: 1018px) {
    .sf-menu ul .td-menu-item > a {
        padding: 5px 16px 6px;
        font-size: 11px;
    }
}

.sf-menu ul .td-icon-menu-down {
    float: right;
    top: 0;
    font-size: 7px;
}

.sf-menu ul .td-menu-item > a:hover,
.sf-menu ul .sfHover > a,
.sf-menu ul .current-menu-ancestor > a,
.sf-menu ul .current-category-ancestor > a,
.sf-menu ul .current-menu-item > a {
    color: #4db2ec;
}

.sf-menu li:hover,
.sf-menu li.sfHover,
.sf-menu a:focus,
.sf-menu a:hover,
.sf-menu a:active {
    outline: 0;
}

/* Arrows */
.sf-menu .td-icon-menu-down {
    position: absolute;
    top: 50%;
    margin-top: -5px;
    padding-left: 7px;
    font-size: 9px;
}

@media (min-width: 768px) and (max-width: 1018px) {
    .sf-menu .td-icon-menu-down {
        padding-left: 6px;
    }
}

.sf-menu .sub-menu {
    -webkit-backface-visibility: hidden;
}

.sf-menu .sub-menu .td-icon-menu-down {
    position: absolute;
    top: 50%;
    right: 19px;
    margin-top: -9px;
    line-height: 19px;
}

.td-menu-badge {
    font-size: 10px;
    background-color: #f0f8ff;
    color: #4db2ec;
    border-radius: 10px;
    padding: 3px 7px 4px;
    display: inline-block;
    margin-left: 6px;
    margin-right: -4px;
    line-height: 1;
    position: relative;
    top: -1px;
}

.td-menu-badge-right {
    top: 2px;
    float: right;
    right: -8px;
    background-color: rgba(0, 0, 0, 0.03);
    color: #999;
}

.td-menu-subtitle {
    font-style: italic;
    font-size: 10px;
    display: block;
    line-height: 1;
    padding-right: 20px;
    color: #999;
}

.td-menu-badge-width > ul {
    min-width: 220px;
}

.td-menu-badge-width > ul li:hover .td-menu-badge {
    background-color: #f0f8ff;
    color: #4db2ec;
}

.td-menu-border {
    border-bottom: 1px solid #f3f3f3;
    display: block;
    padding-bottom: 12px;
}

/* responsive portrait phone */
@media (max-width: 767px) {
    .td-menu-badge,
    .td-menu-subtitle,
    .td-menu-border {
        display: none;
    }
}

.sf-menu a.sf-with-ul {
    padding-right: 31px;
    min-width: 1px;
    /* trigger IE7 hasLayout so spans position accurately */
}

@media (min-width: 768px) and (max-width: 1018px) {
    .sf-menu a.sf-with-ul {
        padding-right: 22px;
    }
}

/* arrow for all items in the menues */
a.sf-with-ul i.td-icon-menu-down:before {
    content: '\e808';
}

/* arrow for all items in the menues AT FIRST LEVEL*/
ul.sf-js-enabled > li > a > i.td-icon-menu-down:before {
    content: '\e806' !important;
}

/* Search */
.header-search-wrap {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
}

.header-search-wrap .td-icon-search {
    display: inline-block;
    font-size: 19px;
    width: 48px;
    line-height: 48px;
    text-align: center;
    /* responsive portrait tablet */
    /* responsive portrait phone */
}

@media (min-width: 768px) and (max-width: 1018px) {
    .header-search-wrap .td-icon-search {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .header-search-wrap .td-icon-search {
        height: 54px;
        width: 54px;
        line-height: 54px;
        font-size: 22px;
        margin-right: 2px;
    }
}

.td-header-menu-social + .td-search-wrapper #td-header-search-button {
    position: relative;
}

.td-header-menu-social + .td-search-wrapper #td-header-search-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: #000;
    opacity: 0.08;
    /* responsive tablet + phone */
}

@media (max-width: 1140px) {
    .td-header-menu-social + .td-search-wrapper #td-header-search-button:before {
        display: none;
    }
}

.td-demo-multicolumn-2 .sub-menu {
    padding: 14px;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

.td-menu-mob-open-menu .td-demo-multicolumn-2 .sub-menu {
    padding: 0;
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
}

.td-menu-mob-open-menu .td-demo-menuitem-hide {
    display: none;
}

.td-demo-menuitem-hide {
    visibility: hidden;
}

.td-mega-menu-page .sub-menu ul {
    display: inline-block !important;
    position: initial !important;
    width: auto !important;
}

/* Mobile Menu */
#td-outer-wrap {
    overflow: hidden;
    /* responsive portrait phone */
}

@media (max-width: 767px) {
    #td-outer-wrap {
        margin: auto;
        width: 100%;
        -webkit-transition: transform 0.7s ease;
        transition: transform 0.7s ease;
        -webkit-transform-origin: 50% 200px 0;
        transform-origin: 50% 200px 0;
    }
}

/* toggle button - burger button */
#td-top-mobile-toggle {
    display: none;
    /* responsive phone */
}

@media (max-width: 767px) {
    #td-top-mobile-toggle {
        display: inline-block;
        position: relative;
    }
}

#td-top-mobile-toggle a {
    display: inline-block;
}

#td-top-mobile-toggle i {
    font-size: 27px;
    width: 64px;
    line-height: 54px;
    height: 54px;
    display: inline-block;
    padding-top: 1px;
    color: #fff;
}

/* Mobile opened menu with admin bar */
.admin-bar #td-mobile-nav {
    padding-top: 32px;
}

@media (max-width: 767px) {
    .admin-bar #td-mobile-nav {
        padding-top: 46px;
    }
}

.td-menu-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: fixed;
    top: 0;
    display: block;
    width: 100%;
    height: 113%;
    z-index: 9999;
    visibility: hidden;
    transform: translate3d(-100%, 0, 0);
    -webkit-transform: translate3d(-100%, 0, 0);
}

.td-menu-background:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.98;
    background: #313b45;
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #313b45), color-stop(100%, #3393b8));
    background: linear-gradient(to bottom, #313b45 0%, #3393b8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#313b45', endColorstr='#3393b8', GradientType=0);
}

#td-mobile-nav {
    padding: 0;
    position: fixed;
    width: 100%;
    height: calc(100% + 1px);
    top: 0;
    z-index: 9999;
    visibility: hidden;
    transform: translate3d(-99%, 0, 0);
    -webkit-transform: translate3d(-99%, 0, 0);
    left: -1%;
    font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
}

#td-mobile-nav .td_display_err {
    text-align: center;
    color: #fff;
    border: none;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
    margin: -9px -30px 24px;
    font-size: 14px;
    border-radius: 0;
    padding: 12px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.06);
    display: none;
}

#td-mobile-nav input:invalid {
    box-shadow: none !important;
}

.td-js-loaded .td-menu-background,
.td-js-loaded #td-mobile-nav {
    visibility: visible;
    -webkit-transition: transform 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
    transition: transform 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}

#td-mobile-nav {
    height: 1px;
    overflow: hidden;
}

#td-mobile-nav .td-menu-socials {
    padding: 0 65px 0 20px;
    overflow: hidden;
    height: 60px;
}

#td-mobile-nav .td-social-icon-wrap {
    margin: 20px 5px 0 0;
    display: inline-block;
}

#td-mobile-nav .td-social-icon-wrap i {
    border: none;
    background-color: transparent;
    font-size: 14px;
    width: 40px;
    height: 40px;
    line-height: 38px;
    color: #fff;
    vertical-align: middle;
}

#td-mobile-nav .td-social-icon-wrap .td-icon-instagram {
    font-size: 16px;
}

.td-mobile-close {
    position: absolute;
    right: 1px;
    top: 0;
    z-index: 1000;
}

.td-mobile-close .td-icon-close-mobile {
    height: 70px;
    width: 70px;
    line-height: 70px;
    font-size: 21px;
    color: #fff;
    top: 4px;
    position: relative;
}

.td-mobile-content {
    padding: 20px 20px 0;
}

.td-mobile-container {
    padding-bottom: 20px;
    position: relative;
}

.td-mobile-content .fa {
    margin-right: 10px;
    min-width: 22px !important;
    display: inline-block;
    font-size: 18px;
    text-align: center;
    position: relative;
    top: -1px;
}

.td-mobile-content .sub-menu .fa {
    margin-right: 5px;
    min-width: 16px !important;
    font-size: 13px;
}

.td-mobile-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.td-mobile-content li {
    float: none;
    margin-left: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.td-mobile-content li a {
    display: block;
    line-height: 21px;
    font-size: 21px;
    color: #fff;
    margin-left: 0;
    padding: 12px 30px 12px 12px;
    font-weight: bold;
}

.td-mobile-content .td_mobile_submenu > a .td-icon-menu-right {
    display: inline-block;
}

.td-mobile-content .td-icon-menu-right {
    display: none;
    position: absolute;
    cursor: pointer;
    top: 10px;
    right: -4px;
    z-index: 1000;
    font-size: 14px;
    padding: 6px 12px;
    float: right;
    color: #fff;
    -webkit-transform-origin: 50% 48% 0px;
    transform-origin: 50% 48% 0px;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.td-mobile-content .td-icon-menu-right:before {
    content: '\e83d';
}

.td-mobile-content .td-sub-menu-open > a i {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}

.td-mobile-content .td-sub-menu-open > ul {
    display: block;
    max-height: 2000px;
    opacity: 0.9;
}

.td-mobile-content .sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: max-height 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transition: max-height 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    /* 2nd level submenu */
}

.td-mobile-content .sub-menu .td-icon-menu-right {
    font-size: 11px;
    right: -2px;
    top: 8px;
    color: #fff;
}

.td-mobile-content .sub-menu a {
    padding: 9px 26px 9px 36px !important;
    line-height: 19px;
    font-size: 16px;
    font-weight: normal;
}

.td-mobile-content .sub-menu .sub-menu a {
    padding-left: 55px !important;
}

.td-mobile-content .sub-menu .sub-menu .sub-menu a {
    padding-left: 74px !important;
}

.td-mobile-content .current-menu-item > a,
.td-mobile-content .current-menu-ancestor > a,
.td-mobile-content .current-category-ancestor > a {
    color: #73C7E3;
}

.td-mobile-content .menu_icon {
    display: none;
}

.td-mobile-content .menu-item-has-children a {
    width: 100%;
    z-index: 1;
}

.td-mobile-content .td-link-element-after {
    position: relative;
}

.td-menu-mob-open-menu #td-outer-wrap {
    position: fixed;
    transform: scale3d(0.9, 0.9, 0.9);
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    -webkit-box-shadow: 0 0 46px #000000;
    box-shadow: 0 0 46px #000000;
}

.td-menu-mob-open-menu #td-mobile-nav {
    height: calc(100% + 1px);
    overflow: auto;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    left: 0;
}

.td-menu-mob-open-menu .td-menu-background {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Mobile Menu Login */
.td-mobile-container {
    opacity: 1;
    -webkit-transition: all 0.5s ease 0.5s;
    transition: all 0.5s ease 0.5s;
}

.td-hide-menu-content .td-mobile-container {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.td-hide-menu-content .td-mobile-content {
    display: none;
}

#td-mobile-nav .td-login-animation {
    opacity: 0;
    -webkit-transition: all 0.5s ease 0.5s;
    transition: all 0.5s ease 0.5s;
    position: absolute;
    top: 0;
    width: 100%;
}

#td-mobile-nav .td-login-animation .td-login-inputs {
    height: 76px;
}

#td-mobile-nav .td-login-hide {
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    visibility: hidden !important;
}

#td-mobile-nav .td-login-show {
    visibility: visible !important;
    opacity: 1;
}

/* Mobile Search */
.td-search-wrap-mob {
    padding: 0;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    text-align: center;
    z-index: 9999;
    visibility: hidden;
    color: #fff;
    font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
}

.td-search-wrap-mob .td-drop-down-search {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    -webkit-backface-visibility: hidden;
    position: relative;
}

.td-search-wrap-mob #td-header-search-mob {
    color: #fff;
    font-weight: bold;
    font-size: 26px;
    height: 40px;
    line-height: 36px;
    border: 0;
    background: transparent;
    outline: 0;
    margin: 8px 0;
    padding: 0;
    text-align: center;
}

.td-search-wrap-mob .td-search-input {
    margin: 0 5%;
    position: relative;
}

.td-search-wrap-mob .td-search-input span {
    opacity: 0.8;
    font-size: 12px;
}

.td-search-wrap-mob .td-search-input:before,
.td-search-wrap-mob .td-search-input:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    bottom: 0;
    left: 0;
    opacity: 0.2;
}

.td-search-wrap-mob .td-search-input:after {
    opacity: 0.8;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -webkit-transition: transform 0.5s ease 0.8s;
    transition: transform 0.5s ease 0.8s;
}

.td-search-wrap-mob .td_module_wrap {
    text-align: left;
}

.td-search-wrap-mob .td_module_wrap .entry-title {
    font-size: 16px;
    line-height: 20px;
}

.td-search-wrap-mob .td_module_wrap .entry-title a {
    color: #fff;
}

.td-search-wrap-mob .td_module_wrap:hover .entry-title a {
    color: #fff;
}

.td-search-wrap-mob .td-post-date {
    color: #ddd;
    opacity: 0.8;
}

.td-search-wrap-mob .td-search-form {
    margin-bottom: 30px;
}

.td-search-wrap-mob .td-aj-search-results {
    margin: 0 5%;
    text-align: left;
}

.td-search-wrap-mob .td-module-thumb {
    top: auto;
    left: auto;
}

.td-search-wrap-mob .result-msg {
    margin: 0 5%;
}

.td-search-wrap-mob .result-msg a {
    display: block;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    line-height: 50px;
    color: #000;
    border: none;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.36);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.36);
    margin: 10px 0 40px;
    font-size: 17px;
    border-radius: 0;
    background-color: #fff;
    opacity: 0.8;
}

.td-search-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: fixed;
    top: 0;
    display: block;
    width: 100%;
    height: 113%;
    z-index: 9999;
    -webkit-transition: all 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
    transition: all 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
    transform: translate3d(100%, 0, 0);
    -webkit-transform: translate3d(100%, 0, 0);
    visibility: hidden;
}

.td-search-background:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.98;
    background: #313b45;
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #313b45), color-stop(100%, #3393b8));
    background: linear-gradient(to bottom, #313b45 0%, #3393b8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#313b45', endColorstr='#3393b8', GradientType=0);
}

.td-search-close {
    text-align: right;
    z-index: 1000;
}

.td-search-close .td-icon-close-mobile {
    height: 70px;
    width: 70px;
    line-height: 70px;
    font-size: 21px;
    color: #fff;
    position: relative;
    top: 4px;
    right: 0;
}

.td-search-opened #td-outer-wrap {
    position: fixed;
    transform: scale3d(0.9, 0.9, 0.9);
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    -webkit-box-shadow: 0 0 46px;
    box-shadow: 0 0 46px;
}

.td-search-opened .td-search-wrap-mob .td-drop-down-search {
    opacity: 1;
    visibility: visible;
    -webkit-transition: all 0.5s ease 0.3s;
    transition: all 0.5s ease 0.3s;
}

.td-search-opened .td-search-background {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    visibility: visible;
}

.td-search-opened .td-search-input:after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
}

/* Search opened menu with admin bar */
.admin-bar .td-search-wrap-mob {
    padding-top: 32px;
}

@media (max-width: 767px) {
    .admin-bar .td-search-wrap-mob {
        padding-top: 46px;
    }
}

/* Placeholders */
#td-mobile-nav label {
    position: absolute;
    top: 26px;
    left: 10px;
    font-size: 17px;
    color: #fff;
    opacity: 0.6;
    pointer-events: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.td-login-inputs {
    position: relative;
}