/*
Theme Name: 	Newsmag
Theme URI: 		http://tagdiv.com
Description: 	Premium wordpress template, clean and easy to use.
Version: 		5.4.3.7
Author: 		tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
License:
License URI:
Text Domain:     Newsmag
Tags:           black, white, one-column, two-columns, fixed-layout
*/

/*--------------------------------------------------------------
TABLE OF CONTENTS:
----------------------------------------------------------------
1. Variables
2. Mixin
3. Normalize
4. Theme Grid
5. Header
6. Typography
7. Modules
8. Post and Page
    9.1 Page
    9.2 Post
    9.3 Comments
    9.4 Gutenberg
    9.5 Galleries
    9.6 Category
10. Misc
11. Footer

    ___________________________________________
   |   __  _ ___  _   _   __  __ __  __   __   |
   |  |  \| | __|| | | |/' _/|  V  |/  \ / _]  |
   |  | | ' | _| | 'V' |`._`.| \_/ | /\ | [/\  |
   |  |_|\__|___|!_/ \_!|___/|_| |_|_||_|\__/  |
   |___________________________________________|

  ~ tagDiv 2020 ~

  Thanks for using our theme !
  Our portfolio is here: http://themeforest.net/user/tagDiv/portfolio
*/

body {
  visibility: visible !important;
}

.mx_image_background {
  background-color: #f2f2f2;
}

.td-visibility-hidden {
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}

.clearfix:after {
  clear: both;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
  display: block;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* 4. Theme Grid */
.td-container-border:after {
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  content: '';
  height: 100%;
  width: 1px;
  box-sizing: border-box;
  background-color: #e6e6e6;
  z-index: -1;
}

.td-ss-main-sidebar,
.td-ss-row .td-pb-span4 .wpb_wrapper {
  backface-visibility: hidden;
  z-index: 1;
}

.td-container {
  width: 1021px;
  margin-right: auto;
  margin-left: auto;
  border-bottom: 1px solid #e6e6e6;
  background-color: white;
  position: relative;
  clear: both;
  z-index: 1;
}

.td-pb-row {
  width: 100%;
  *zoom: 1;
  margin-bottom: 0;
  margin-left: 0;
  position: relative;
}

.td-pb-row:before,
.td-pb-row:after {
  display: table;
  content: "";
}

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

.td-pb-row .wpb_column {
  position: relative;
}

.td-pb-row .wpb_column:before {
  content: '';
  position: absolute;
  background-color: #e6e6e6;
  top: 0;
  width: 1px;
  height: 100%;
  display: block;
  right: -1px;
}

@media (max-width: 767px) {
  .td-pb-row .wpb_column:before {
    display: none;
  }
}

.td-pb-row .wpb_column:last-child:before {
  display: none;
}

.td-pb-row .td-pb-span4:nth-of-type(3):after {
  content: '';
  position: absolute;
  background-color: #e6e6e6;
  top: 0;
  width: 1px;
  height: 100%;
  display: block;
  left: -341px;
}

@media (max-width: 767px) {
  .td-pb-row .td-pb-span4:nth-of-type(3):after {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-pb-row .td-pb-span4:nth-of-type(3):after {
    left: -253px;
  }
}

.td-pb-row .td-pb-span4:nth-last-of-type(3):after {
  content: '';
  position: absolute;
  background-color: #e6e6e6;
  top: 0;
  width: 1px;
  height: 100%;
  display: block;
  right: -341px;
}

@media (max-width: 767px) {
  .td-pb-row .td-pb-span4:nth-last-of-type(3):after {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-pb-row .td-pb-span4:nth-last-of-type(3):after {
    right: -253px;
  }
}

.page-template-page-pagebuilder-title .td-pagebuilder-sidebar-full.td-main-content:before {
  right: 0;
}

.page-template-page-pagebuilder-title .td-pagebuilder-sidebar-right .td-main-content:before {
  right: -1px;
}

.page-template-page-pagebuilder-title .td-pb-span8 .td-pb-span4:after {
  display: none;
}

.td-container-border:before {
  content: '';
  position: absolute;
  background-color: #e6e6e6;
  top: 0;
  width: 1px;
  height: 100%;
  display: block;
  left: 0;
}

@media (max-width: 767px) {
  .td-container-border:before {
    display: none;
  }
}

.td-main-content {
  position: relative;
}

.td-main-content:before {
  content: '';
  position: absolute;
  background-color: #e6e6e6;
  top: 0;
  width: 1px;
  height: 100%;
  display: block;
  right: -1px;
}

@media (max-width: 767px) {
  .td-main-content:before {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-main-content.td-pb-span12:before {
    right: 0;
  }
}

.td-main-sidebar:before {
  content: '';
  position: absolute;
  background-color: #e6e6e6;
  top: 0;
  width: 1px;
  height: 100%;
  display: block;
  right: -1px;
}

@media (max-width: 767px) {
  .td-main-sidebar:before {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-main-sidebar:before {
    right: 0;
  }
}

.td-pb-row [class*="td-pb-span"] {
  display: block;
  min-height: 1px;
  float: left;
  margin-left: 0;
  border-left: 1px solid #e6e6e6;
}

.wpb_column,
.wpb_row {
  border-style: solid;
  border-width: 0;
  border-color: #e6e6e6;
}

.td-pb-row .td-pb-row .td-pb-span12 { width: 100%; }
.td-pb-row .td-pb-row .td-pb-span11 { width: 91.66%; }
.td-pb-row .td-pb-row .td-pb-span10 { width: 83.33%; }
.td-pb-row .td-pb-row .td-pb-span9 { width: 75%; }
.td-pb-row .td-pb-row .td-pb-span8 { width: 66.66%; }
.td-pb-row .td-pb-row .td-pb-span7 { width: 58.33%; }
.td-pb-row .td-pb-row .td-pb-span6 { width: 50%; }
.td-pb-row .td-pb-row .td-pb-span5 { width: 41.66%; }
.td-pb-row .td-pb-row .td-pb-span4 { width: 33.33%; }
.td-pb-row .td-pb-row .td-pb-span3 { width: 25%; }
.td-pb-row .td-pb-row .td-pb-span2 { width: 16.66%; }
.td-pb-row .td-pb-row .td-pb-span1 { width: 8.333%; }

.td-pb-span1 { width: 85px; }
.td-pb-span2 { width: 170px; }
.td-pb-span3 { width: 255px; }
.td-pb-span4 { width: 340px; position: relative; }
.td-pb-span5 { width: 425px; }
.td-pb-span6 { width: 510px; }
.td-pb-span7 { width: 595px; }
.td-pb-span8 { width: 680px; }
.td-pb-span8 .td-pb-row {
  width: 680px;
  position: relative;
  left: -1px;
}

@media (max-width: 767px) {
  .td-pb-span8 .td-pb-row {
    left: 0;
  }
}

.td-pb-span8 .td-pb-row div.td-pb-span6 { width: 340px; }
.td-pb-span9 { width: 765px; }
.td-pb-span10 { width: 850px; }
.td-pb-span11 { width: 935px; }
.td-pb-span12 { width: 1020px; }

.td-pb-full-cell { position: relative; }
.td-container-border > .td-pb-row > .td-pb-span4 > * > .td-pb-full-cell,
.td-main-sidebar .td-pb-full-cell {
  width: 341px;
  left: -1px;
}

@media (min-width: 1023px) {
  .td-container-border > .td-pb-row > .td-pb-span4 .wpb_widgetised_column .td-pb-full-cell {
    width: 341px;
    left: -1px;
  }
}

.td-pb-span8 .td-pb-span6 .td-pb-full-cell {
  width: 341px;
  left: -1px;
}

.td-container-border > .td-pb-row > .td-pb-span8 > * > .td-pb-full-cell {
  width: 681px;
  left: -1px;
}

.td-container-border > .td-pb-row > .td-pb-span12 > * > .td-pb-full-cell {
  width: 1021px;
  left: -1px;
}

.td-pb-padding {
  padding: 20px 19px 20px 20px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-pb-padding { padding: 17px; }
}

@media (max-width: 767px) {
  .td-pb-padding { padding: 10px; }
}

.td-pb-padding-side {
  padding: 0 19px 0 20px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-pb-padding-side { padding: 0 17px; }
}

@media (max-width: 767px) {
  .td-pb-padding-side { padding: 0 10px; }
}

.td-pb-margin-side {
  margin: 0 19px 0 20px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-pb-margin-side { margin: 0 17px; }
}

@media (max-width: 767px) {
  .td-pb-margin-side { margin: 0 10px; }
}

.wpb_content_element {
  padding: 0 19px 20px 20px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wpb_content_element { padding: 0 17px 17px 17px; }
}

@media (max-width: 767px) {
  .wpb_content_element { padding: 0 10px 17px 10px; }
}

.td-container-border > .td-pb-row:first-child .wpb_wrapper .td_block_wrap:nth-of-type(1),
.td-container-border > .tdc-row:first-child .wpb_wrapper .td_block_wrap:nth-of-type(1),
.page-template-page-pagebuilder-latest .td-container-border .tdc-row:first-of-type .tdc-element:first-of-type .td_block_wrap:nth-of-type(1),
.page-template-default .td-container-border .tdc-row:first-of-type .tdc-element:first-of-type .td_block_wrap:nth-of-type(1) {
  border-top: 0;
}

.td-pb-border-top,
.td-top-border {
  border-top: 1px solid #e6e6e6 !important;
}

.td-no-left-border {
  border-left: 0 !important;
}

p {
  margin-top: 0;
}

.wpb_button {
  display: inline-block;
  font-family: open sans, arial, sans-serif;
  font-weight: 600;
  line-height: 24px;
  text-shadow: none;
  margin-bottom: 20px !important;
  margin-left: 20px;
  margin-right: 20px;
  border: none;
  transition: none;
}

.wpb_button:hover {
  text-shadow: none;
}

.td-block-row {
  width: 100%;
  *zoom: 1;
}

.td-block-row:before,
.td-block-row:after {
  display: table;
  content: "";
}

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

.td-block-row [class*="td-block-span"] {
  display: block;
  min-height: 1px;
  float: left;
}

.td-block-span12 {
  padding-left: 20px;
  padding-right: 19px;
}

.td-block-span6 {
  width: 339px;
  padding-left: 20px;
  padding-right: 19px;
}

.td-block-row .td-block-span6:first-child {
  width: 340px;
  padding-right: 20px;
}

.td-block-span4 {
  width: 340px;
  padding-left: 20px;
  padding-right: 20px;
}

.td-block-row .td-block-span4:last-child {
  width: 339px;
  padding-right: 19px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-container { width: 756px; }
  .td-pb-span1 { width: 63px; }
  .td-pb-span2 { width: 126px; }
  .td-pb-span3 { width: 189px; }
  .td-pb-span4 { width: 252px; }
  .td-pb-span5 { width: 315px; }
  .td-pb-span6 { width: 378px; }
  .td-pb-span7 { width: 441px; }
  .td-pb-span8 { width: 504px; }
  .td-pb-span8 .td-pb-row { width: 504px; }
  .td-pb-span8 .td-pb-row div.td-pb-span6 { width: 252px; }
  .td-pb-span9 { width: 567px; }
  .td-pb-span10 { width: 630px; }
  .td-pb-span11 { width: 693px; }
  .td-pb-span12 { width: 756px; }
  .td-pb-span8 .td-pb-span6 .td-pb-full-cell { width: 253px; }
  .td-main-sidebar .td-pb-full-cell { width: 252px !important; }
  .td-container-border > .td-pb-row .td-pb-span4 > * > .td-pb-full-cell { width: 253px; }
  .td-container-border > .td-pb-row .td-pb-span4:last-child > * > .td-pb-full-cell { width: 252px; }
  .td-container-border > .td-pb-row .td-pb-span8 > * > .td-pb-full-cell { width: 505px; }
  .td-container-border > .td-pb-row .td-pb-span12 > * > .td-pb-full-cell { width: 756px; }
  .td-block-span12 { padding-left: 17px; padding-right: 16px; }
  .td-block-span6 { width: 251px; padding-left: 17px; padding-right: 16px; }
  .td-block-row .td-block-span6:first-child { width: 252px; padding-right: 17px; }
  .td-block-span4 { width: 252px; padding-left: 17px; padding-right: 17px; }
  .td-block-row .td-block-span4:last-child { width: 251px; padding-right: 16px; }
}

@media (max-width: 767px) {
  .td-container { width: 100%; }
  .td-pb-row { width: 100% !important; }
  .td-pb-row .td-pb-span1,
  .td-pb-row .td-pb-span2,
  .td-pb-row .td-pb-span3,
  .td-pb-row .td-pb-span4,
  .td-pb-row .td-pb-span5,
  .td-pb-row .td-pb-span6,
  .td-pb-row .td-pb-span7,
  .td-pb-row .td-pb-span8,
  .td-pb-row .td-pb-span9,
  .td-pb-row .td-pb-span10,
  .td-pb-row .td-pb-span11,
  .td-pb-row .td-pb-span12 {
    float: none;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border-left: none;
  }
  .td-block-span4,
  .td-block-span6,
  .td-block-span12 {
    float: none;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px !important;
  }
  .td-pb-full-cell {
    width: 100% !important;
    left: 0 !important;
  }
  .td-container-border:after { display: none; }
}

.td-header-container {
  width: 1021px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  clear: both;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-header-container { width: 756px; }
}

@media (max-width: 767px) {
  .td-header-container { width: 100%; }
}

.td-header-main-menu {
  background-color: #222;
  position: relative;
  z-index: 3;
}

@media (max-width: 767px) {
  .td-header-main-menu { height: 53px; }
}

.td-header-menu-wrap {
  min-height: 44px;
}

@media (max-width: 767px) {
  .td-header-menu-wrap { min-height: 53px; }
}

body .td-make-full {
  width: 1021px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: table;
}

@media (min-width: 768px) and (max-width: 1023px) {
  body .td-make-full { width: 756px; }
}

@media (max-width: 767px) {
  body .td-make-full { width: 100%; }
}

body .td-make-full .sub-menu {
  border-top: 0;
}

.td-header-row {
  width: 100%;
  *zoom: 1;
}

.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;
}

#td-header-menu .td-container-border:after {
  background-color: #e6e6e6;
}

.td-header-gradient:before {
  content: "";
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAHCAYAAADJTCeUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3FpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDphMjViOTdiYS1kZjJlLTNlNDUtYjk3Yi00N2I1NjQyOTRjODQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUQ3M0QzQTVFNzE5MTFFMzk1RTdCODk0MTJBMEZFMUIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUQ3M0QzQTRFNzE5MTFFMzk1RTdCODk0MTJBMEZFMUIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmZiZjM2Y2ExLTgzODYtMDE0Mi05NTU2LWNiZTFmMzg5YmM3NyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDphMjViOTdiYS1kZjJlLTNlNDUtYjk3Yi00N2I1NjQyOTRjODQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7mNy80AAAAI0lEQVR42mJgYGBgZQISnCCCn+H///8MIJY8iMUOYv0BCDAAU6YHQs4scEAAAAAASUVORK5CYII=);
  background-color: transparent;
  width: 100%;
  height: 7px;
  position: absolute;
  top: -3px;
  z-index: 1;
}

.td-header-border:before {
  content: "";
  background-color: #4db2ec;
  display: block;
  height: 4px;
}

@media (max-width: 767px) {
  .td-header-border:before { display: none; }
}

.td-visual-hidden {
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

.td-logo {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: inherit !important;
  font-family: Verdana, Geneva, sans-serif;
}

.td-header-sp-logo {
  width: 272px;
  position: relative;
  margin-bottom: 8px;
  margin-top: 8px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-header-sp-logo { width: 248px; }
}

@media (max-width: 767px) {
  .td-header-sp-logo { margin-bottom: 0; }
}

.td-header-sp-logo a {
  height: 114px;
  display: block;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .td-header-sp-logo a { height: 90px; }
}

.td-logo-text {
  font-size: 75px;
  line-height: 60px;
  margin: 0;
  font-family: serif;
  color: #222;
}

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

.td-tagline-text {
  letter-spacing: 1.8px;
  font-size: 11px;
  color: rgba(34, 34, 34, 0.5);
  margin: 0;
  font-family: serif;
}

.td-header-style-0 .td-header-sp-logo {
  margin-bottom: 0;
  margin-top: 0;
  width: 100%;
}

.td-header-style-0 .td-header-sp-logo a {
  height: auto;
}

.td-menu-placeholder {
  height: 47px;
  position: relative;
}

.td-menu-wrap {
  position: relative;
  height: 44px;
}

.td-menu-wrap #td-top-menu {
  padding-left: 15px;
}

.sf-menu,
.sf-menu ul,
.sf-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-menu {
  margin-left: 21px;
  margin-right: 38px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sf-menu { margin-left: 17px; }
}

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

.sf-menu ul {
  position: absolute;
  top: -999em;
  visibility: hidden;
  font-family: 'Open Sans', arial, sans-serif;
  background: white;
}

.td-js-loaded .sf-menu ul {
  visibility: visible;
}

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

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

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

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

.sf-menu li ul {
  left: -9px;
  z-index: 99;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sf-menu li ul { left: -14px; }
}

.sf-menu > .sfHover { z-index: 1000; }
.sf-menu > .td-mega-menu .sub-menu { z-index: 1001; }
.sf-menu .td-normal-menu ul ul { top: -11px; }
.sf-menu .td-normal-menu:first-child > ul { top: 0; }
.sf-menu .menu-item-first.td-normal-menu:first-child > ul { top: 100%; }

.sf-menu .td-menu-item > a:hover {
  text-decoration: none !important;
}

.td-no-down-arrow > a .sf-sub-indicator {
  display: none;
}

.sf-menu > li > a {
  padding: 0 15px;
  line-height: 44px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 700;
  font-family: 'Open Sans', arial, sans-serif;
  text-transform: uppercase;
  backface-visibility: hidden;
}

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

.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; }

.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: #fff;
  color: black;
  z-index: 999;
}

#td-header-menu { min-height: 44px; }

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

.sf-menu ul .td-menu-item > a {
  padding: 7px 32px 8px 24px;
  font-size: 12px;
  color: #111111;
  transition: none;
  line-height: 21px;
}

.sf-menu ul li:first-child > a { margin-top: 11px; }
.sf-menu ul li:last-child > a { margin-bottom: 10px; }

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

.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 {
  background-color: transparent;
  color: #4db2ec;
}

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

.sf-menu .td-icon-menu-down {
  position: absolute;
  top: 0;
  padding-left: 9px;
  font-size: 9px;
}

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

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

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

@media (max-width: 767px) {
  .td-menu-badge { display: none; }
}

.sf-menu a.sf-with-ul {
  padding-right: 31px;
  min-width: 1px;
}

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

a.sf-with-ul i.td-icon-menu-down:before {
  content: '\e808';
}

ul.sf-js-enabled > li > a > i.td-icon-menu-down:before {
  content: '\e806' !important;
}

.td_mobile_menu_wrap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 28px;
  width: 200px;
  background: #f2f2f2;
  border: 1px solid;
  border-color: white #f7f7f7 whitesmoke;
  border-radius: 3px;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.06));
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  top: 12px;
  left: -6px;
}

.td_mobile_menu_wrap:before,
.td_mobile_menu_wrap:after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 10px;
  width: 0;
  height: 0;
  border: 4px dashed;
  border-color: #888888 transparent;
  pointer-events: none;
}

.td_mobile_menu_wrap:before {
  border-bottom-style: solid;
  border-top: none;
}

.td_mobile_menu_wrap:after {
  margin-top: 7px;
  border-top-style: solid;
  border-bottom: none;
}

#mobileMenu_menu-top {
  position: relative;
  width: 130%;
  margin: 0;
  padding: 6px 8px 6px 10px;
  height: 28px;
  line-height: 14px;
  font-size: 12px;
  color: #62717a;
  text-shadow: 0 1px white;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  appearance: none;
}

#mobileMenu_menu-top:focus {
  width: 100%;
  color: #394349;
  outline: 2px solid #49aff2;
  outline-offset: -2px;
}

#mobileMenu_menu-top > option {
  margin: 3px;
  padding: 6px 8px;
  text-shadow: none;
  background: #f2f2f2;
  border-radius: 3px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .td-search-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
  }
}

.header-search-wrap {
  position: relative;
  float: right;
}