/*
 * @package themecentury
 * @subpackage slain
 * @since 1.0.0
 */
/*--------------------------------------------------------------
6.0 Main Navigation
--------------------------------------------------------------*/

.sidebar-menu{
    padding: 40px 30px 0;
}

.main-nav-sidebar {
  display: inline-block;
}

.sidebar-menu-wrap{
  text-align:left;
}

.main-nav-icons {
    position: absolute;
    top: 0px;
    right: 20px;
    z-index: 2;
    float: none;
    margin: 0;
}

.main-nav-sidebar .bars {
  max-height: 60px;
  position: relative;
  top: 50%;
  display:block;
  transform: translateY(-50%);
}

.main-nav-sidebar .bars span {
  display: block;
  width: 17px;
  height: 2px;
  margin-bottom: 3px;
  background-color: #000000;
}

.main-nav-sidebar,
.main-nav-search {
  user-select: none;
}

#main-nav {
  position: relative;
  min-height: 60px;
  background-color: #ffffff;
  box-shadow: 0px 1px 5px rgba( 0, 0, 0, 0.1 );
  a, .fa{
    color: #000000;
  }
}

.menu-search-from{
  #s{
    color: #000000;
    background-color:#fff;
  }
}

#main-nav > div {
  position: relative;
}

/* Menu */
#main-menu {
  width: auto;
  padding: 0 55px;
  &.no-left-icon{
    padding-left:0px;
  }
  &.no-right-icon{
    padding-right:0;
  }
}

#main-menu li {
  position: relative;
}

#main-menu > li {
  display: inline-block;
  list-style: none;
}

#main-menu > li:after {
  content: '';
  position: absolute;
  top: 0;
  right: -3px;
  bottom: 0;
  width: 5px;
  height: 5px;
  margin: auto 0;
  -ms-transform: rotateZ(-45deg);
  -webkit-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

#main-menu > li:last-child:after {
  display: none !important;
}

#main-menu li a {
  display: block;
  position: relative;
  padding: 0 17px;
}

#main-menu > li > a {
  display: block;
  text-decoration: none;
}

.menu-align-left{
  #main-menu > li:first-child > a {
    padding-left: 0px;
  }
}

.menu-align-right{
  #main-menu:not( .has-right-icon ) > li:last-child > a {
    padding-right: 0px;
  }
}

#main-menu ul ul {
  top: 0;
  left: 100%;
}

#main-menu .sub-menu {
  display: none;
  position: absolute;
  z-index: 130;   
  width: 210px;
  text-align: left;
  border-style: solid;
  border-width: 1px; 
  background-color: #ffffff;
  border-color:rgba(0,0,0,0.05);
}

#main-menu .sub-menu a {
  border-bottom-style: solid;
  border-bottom-width: 1px; 
  background-color: #ffffff;
  border-color:rgba(0,0,0,0.05);
}

#main-menu .sub-menu > li:last-of-type > a {
  border: none;
}

#main-menu .sub-menu > li > a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  margin: 0;
}

#main-menu .sub-menu li.menu-item-has-children > a:after {
  font-family: "fontello";
  content: "\f105";
  font-size: 14px;
  float: right;
}

#main-menu .sub-menu li:first-child > .sub-menu {
  margin-top: -1px;
}

/* Mobile Menu  */
.mobile-menu-container {
  display: none;
  clear: both;
}

.mobile-menu-btn {
  display: none;
  font-size: 16px;
  padding: 0 15px;
  line-height: 60px;
  cursor: pointer;
}

#mobile-menu {
  padding-bottom: 15px;
}

#mobile-menu li {
  position: relative;
  width: 100%;
  text-align:left;
}

#mobile-menu li a {
  display: block;
}

.sub-menu-btn-icon{
  top: 0;
  right:-10px;
  padding: 0 10px;
  position: absolute;
  font-size: 14px;
  line-height: 50px;
}

#mobile-menu .sub-menu .sub-menu-btn-icon{
  line-height:30px;
}

#mobile-menu .sub-menu {
  display: none;
}

/* Icons */
.btn-tooltip {
  position: absolute;
  color: #ffffff;
  visibility: hidden;
  opacity: 0;
  text-align: center;
  padding: 5px 0px 6px 0px;
  font-size: 11px;  
  line-height: 1;
  letter-spacing: 1px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background-color: #000000;
  transition: all 230ms ease-in-out 0s;
}

.btn-tooltip:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-left: -4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top-style: solid;
  border-top-width: 4px;
  border-top-color: #000000;
}

.main-nav-search {
  float: right;
  position: relative;
  cursor: pointer;
}

.main-nav-search .fa {
  position: relative;
  z-index: 10;
}

.main-nav-search {
  -webkit-transition: all 230ms ease-in-out 0s;
  transition: all 230ms ease-in-out 0s;
  cursor: pointer;
}

.main-nav-search .btn-tooltip {
  top: -24px;
  right: 0px;
  width: 65px;
}

.main-nav-search .btn-tooltip:before {
  right: 15px;
  bottom: -3px;
}

.main-nav-search:hover .btn-tooltip {
  top: -11px;
  visibility: visible;
  opacity: 1;
}

.main-nav-search #searchform {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.main-nav-search #searchform .fa {
  display: none;
}

.main-nav-search label,
.main-nav-search #searchsubmit {
  display: none;
}

.main-nav-search div {
  line-height: 1;
}

/* Search */
.menu-search-from #searchform {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}

.menu-search-from input {
  width: 100%;
  padding: 0;
  border: 0;
  letter-spacing: 0.4px;
  font-weight: 600;
  text-align: center;
}

.menu-search-from #searchform,
.menu-search-from #searchform .fa,
.menu-search-from #searchform #searchsubmit,
.main-nav-search .fa-times {
  display: none;
}

/* Sidebar Alt */
.main-nav-sidebar {
  position: relative;
  float: left;
  height: 60px;
  padding: 0 10px;
  cursor: pointer;
}

.main-nav-sidebar .btn-tooltip {
  top: -24px;
  left: 0px;
  width: 100px;
}

.main-nav-sidebar .btn-tooltip:before {
  left: 18px;
  bottom: -3px;
}

.main-nav-sidebar:hover .btn-tooltip {
  top: -11px;
  visibility: visible;
  opacity: 1;
}

.sidebar-menu {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1200;
  height: 100%;
  overflow-x: hidden;
  background:#fff;
  transition: left 500ms ease-out;
  -webkit-transition: left 500ms ease-out;
  -moz-transition: left 500ms ease-out;
  -o-transition: left 500ms ease-out;
  -ms-transition: left 500ms ease-out;
}

.sidebar-menu-close {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1150;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.sidebar-menu-header{
  padding-bottom:20px;
}

.sidebar-menu-header::after{
  content:" ";
  display:block;
  font-size:0px;
  clear:both;
}

.sidebar-menu-header h3{
  font-size: 20px;
  float:left;
  text-transform: uppercase;
}

.sidebar-menu-close-btn {
  width: 24px;
  height: 24px;
  float:right;
  cursor: pointer;
  position: relative;
}

.sidebar-menu-close-btn span {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 3px;
  cursor: pointer;
  margin-left: -9px;
  background-color: #000000;
}

.sidebar-menu-close-btn span:first-child {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sidebar-menu-close-btn span:last-child {
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.main-nav-socials {
  float: left;
}

.main-nav-socials a {
  font-size: 14px;
  line-height: 60px;
  margin-left: 14px;
  text-align: center;    
  text-decoration: none;
}

.main-nav-socials a:first-child {
  margin-left: 0;
}

/* Random Post Button */
.random-post-btn {
  position: relative;
  top: 0;
  padding:0 10px;
  display: inline-block;
  line-height: 60px;
  font-size: 16px;
  -webkit-transition: all 230ms ease-in-out 0s;
  transition: all 230ms ease-in-out 0s;
  cursor: pointer;
}

.random-post-btn .btn-tooltip {
  top: -24px;
  right: 0px;
  width: 110px;
}

.random-post-btn .btn-tooltip:before {
  right: 15px;
  bottom: -3px;
}

.random-post-btn:hover .btn-tooltip {
  top: -11px;
  visibility: visible;
  opacity: 1;
}

.main-nav-search a,
.menu-search-from #s{
  font-size: 16px;
  line-height: 60px;
}

.main-nav-search a{
  padding: 0 10px;
}


#main-nav #s::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: rgba(0,0,0,0.7);
      }
      #main-nav #s::-moz-placeholder { /* Firefox 19+ */
        color: rgba(0,0,0,0.7);
      }
      #main-nav #s:-ms-input-placeholder { /* IE 10+ */
        color: rgba(0,0,0,0.7);
      }
      #main-nav #s:-moz-placeholder { /* Firefox 18- */
        color: rgba(0,0,0,0.7);
      }


/* Menu Fonts */
#main-menu li a {
  font-family: 'Open Sans';
  font-size: 14px;
  line-height: 60px;
  letter-spacing: 1px;
  font-weight: 600;
}

#main-menu .sub-menu > li > a {
  font-size: 13px;
  line-height: 26px;
  letter-spacing: 1px;
  margin-bottom:1px;
}