/*  ----------------------------------------------------------------------------
    responsive settings
*/
/* responsive landscape tablet */
/* responsive portrait tablet */
/* responsive portrait phone */
/*
usage:
.td-block-row {
  .mx-row(td-block-span);
}

@all_span_selector - is the begining of the span selector
 */
/*  ----------------------------------------------------------------------------
    header grid container
*/
.td-header-wrap {
  position: relative;
  z-index: 2000;
}
/* header rows */
.td-header-row {
  *zoom: 1;
  font-family: var(--td_default_google_font_1, 'Open Sans', 'Open Sans Regular', 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;
}
/*  ----------------------------------------------------------------------------
    logo
*/
.td-logo {
  margin: 0;
  padding: 0;
  line-height: inherit;
  font-size: inherit !important;
}
/*  ----------------------------------------------------------------------------
    Search
*/
/* the search button */
#td-header-search-button {
  /* responsive portrait phone */
}
@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 !important;
  -webkit-transition: background-color 0.4s;
  transition: background-color 0.4s;
}
.td-header-wrap .td-drop-down-search .btn:hover {
  background-color: var(--td_theme_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 var(--td_theme_color, #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: var(--td_theme_color, #4db2ec);
}
.td-header-wrap #td-header-search {
  width: 235px;
  height: 32px;
  margin: 0;
  border-right: 0;
  line-height: 17px;
  border-color: #eaeaea !important;
  /* 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;
}
/* -------------------------------------------------------------------

Headers style

----------------------------------------------------------------------  */
/* General */
.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: var(--td_mobile_menu_color, #222222) !important;
    height: 54px !important;
  }
  .header-search-wrap .td-icon-search {
    color: var(--td_mobile_icons_color, #ffffff) !important;
  }
}
/* ----------------------------------------------- */
.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 !important;
}
.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;
}
/* -------------------------------------------------------------------
  Style Default
----------------------------------------------------------------------  */
.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;
}
/*  ----------------------------------------------------------------------------
    All the 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 {
  /* hover and current menu */
}
.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: var(--td_theme_color, #4db2ec);
  width: 100%;
}
#td-header-menu {
  display: inline-block;
  vertical-align: top;
}
/*  ----------------------------------------------------------------------------
    submenu
*/
.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: var(--td_theme_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: var(--td_theme_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: var(--td_theme_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;
}
/*  ----------------------------------------------------------------------------
    Extra style
*/
.tagdiv-small-theme-menu > li > a:before {
  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;
}
.tagdiv-small-theme-menu > .current-menu-item > a:before,
.tagdiv-small-theme-menu > .current-menu-ancestor > a:before,
.tagdiv-small-theme-menu > .current-category-ancestor > a:before,
.tagdiv-small-theme-menu > li:hover > a:before,
.tagdiv-small-theme-menu > .sfHover > a:before {
  background-color: var(--td_theme_color, #4db2ec);
  width: 100%;
}
.tagdiv-small-theme-menu > .current-menu-item > a:after,
.tagdiv-small-theme-menu > .current-menu-ancestor > a:after,
.tagdiv-small-theme-menu > .current-category-ancestor > a:after,
.tagdiv-small-theme-menu > li:hover > a:after,
.tagdiv-small-theme-menu > .sfHover > a:after {
  background-color: transparent;
  width: auto;
}
.tagdiv-small-theme-menu .menu-item-has-children {
  position: relative;
}
.tagdiv-small-theme-menu .menu-item-has-children > a:after {
  content: '\e806';
  position: relative;
  top: -2px;
  padding-left: 7px;
  font-family: newspaper;
  font-size: 9px;
  line-height: 1;
  /* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
  .tagdiv-small-theme-menu .menu-item-has-children > a:after {
    top: -1px;
  }
}
.tagdiv-small-theme-menu .menu-item-has-children ul {
  min-width: 10em;
  width: auto;
  padding: 15px 0;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
  visibility: hidden;
  opacity: 0;
  /* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
  .tagdiv-small-theme-menu .menu-item-has-children ul {
    padding: 8px 0;
  }
}
.tagdiv-small-theme-menu .menu-item-has-children ul .menu-item.current-menu-item > a,
.tagdiv-small-theme-menu .menu-item-has-children ul .menu-item.current-menu-ancestor > a,
.tagdiv-small-theme-menu .menu-item-has-children ul .menu-item.current-category-ancestor > a,
.tagdiv-small-theme-menu .menu-item-has-children ul .menu-item:hover > a {
  color: var(--td_theme_color, #4db2ec);
}
.tagdiv-small-theme-menu .menu-item-has-children ul .menu-item > a {
  display: block;
  padding: 7px 30px;
  font-size: 12px;
  line-height: 20px;
  color: #111;
  white-space: nowrap;
}
@media (min-width: 768px) and (max-width: 1018px) {
  .tagdiv-small-theme-menu .menu-item-has-children ul .menu-item > a {
    padding: 5px 16px 6px;
    font-size: 11px;
  }
}
.tagdiv-small-theme-menu .menu-item-has-children ul .menu-item-has-children ul {
  left: 100%;
  margin: -15px 0;
  /* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
  .tagdiv-small-theme-menu .menu-item-has-children ul .menu-item-has-children ul {
    margin: -8px 0;
  }
}
.tagdiv-small-theme-menu .menu-item-has-children ul .menu-item-has-children > a:after {
  content: '\e808';
  position: absolute;
  top: 50%;
  right: 19px;
  margin-top: -10px;
  padding-left: 7px;
  font-family: newspaper;
  font-size: 7px;
  line-height: inherit;
}
.tagdiv-small-theme-menu .menu-item-has-children:hover > a {
  color: var(--td_theme_color, #4db2ec);
}
.tagdiv-small-theme-menu .menu-item-has-children:hover > ul {
  visibility: visible;
  opacity: 1;
}
.tagdiv-small-theme-menu > .menu-item-has-children:hover > ul {
  left: -15px;
  /* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
  .tagdiv-small-theme-menu > .menu-item-has-children:hover > ul {
    left: -5px;
  }
}
/*  ----------------------------------------------------------------------------
    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;
}
