/*-----------------------------------------------------------------------------------
Template Name: Zmagazine - HTML Magazine Template for Blogging and News Sites. 

NOTE: This is Header style file. All Header related style included in this file.

-------------------------------------------------------------------------------------*/


/*Header Top Area*/


/*Header top menu*/
nav.zm-secondary-menu ul li {
    display: inline-block;
    padding: 0 20px;
}
.zm-secondary-menu ul li a {
    font-size: 12px;
    text-transform: uppercase;
}
.zm-secondary-menu ul li a:hover {
    color: #008ad0;
}
nav.zm-secondary-menu ul li:first-child {
    padding-left: 0;
}
nav.zm-secondary-menu ul li:last-child {
    padding-right: 0;
}
.header-top-right .topbar-sblock {
    display: inline-block;
    padding: 0 10px;
    text-align: right;
}
.topbar-sblock a:not(.social-btn):hover, .topbar-sblock a:not(.social-btn):hover i{
	color: #008ad0;
}
.header-social-bookmark ul li {
    display: inline-block;
    padding: 0 5px;
}
.topbar-sblock:last-child {
    padding-right: 0;
}
.topbar-sblock:first-child {
    padding-left: 0;
}
.calendar i {
    padding-right: 5px;
}
.topbar-sblock {
    position: relative;
}
.topbar-sblock::after {
    background: #484848 none repeat scroll 0 0;
    content: "";
    height: 26px;
    position: absolute;
    right: -0.5px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}
.header-top-right .topbar-sblock:last-child::after {
    display: none;
}

/*Header middle*/
.header-mdh{
    height: 150px;
}

.site-desc {
    line-height: 18px;
    margin-top: 4px;
}

/*Primary menu*/
.primary-menu > ul > li {
    float: left;
}
.primary-menu > ul > li > a {
    display: block;
    height: 70px;
    line-height: 70px;
    padding: 0 20px;
}
.primary-menu > ul > li.current > a, .primary-menu > ul > li:hover > a {
    background: #2f2f2f none repeat scroll 0 0;
    color: #ecf3f6;
}
.search-btn {
    cursor: pointer;
    height: 70px;
    line-height: 70px;
    position: relative;
    text-align: center;
    width: 70px;
    z-index: 1;
}
.search-btn::after {
    background: #2f2f2f none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
    transition: 0.3s;
    opacity: 0.12;
}
/*.search-btn:hover::after {
    opacity: 0.12;
}*/

.search-wrap {
    position: relative;
}
.search-form {
    background: #fff none repeat scroll 0 0;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.15);
    height: 90px;
    padding: 20px;
    position: absolute;
    right: 0;
    text-align: right;
    top: 100%;
    width: 500px;
    z-index: 99;
    display: none;
}
.search-form input[type="search"] {
    border: 1px solid #e6e6e6;
    float: left;
    height: 50px;
    line-height: 50px;
    padding: 0 25px;
    width: 85%;
}
.search-form button {
    background: #008ad0 none repeat scroll 0 0;
    border: 1px solid #008ad0;
    float: left;
    height: 50px;
    width: 15%;
}




/*Breaking news*/
.breakingnews {
    height: 70px;
    line-height: 70px;
}
.bn-title {
    float: left;
    height: 70px;
    margin-right: 15px;
    width: 140px;
}
.bn-title h6 {
    color: #2f2f2f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 70px;
}
.bkn{

}
.news-wrap {
    margin-left: 160px;
}


/*Login form*/

.user-accoint {
    position: relative;
}
.login-form-wrap {
    padding: 40px;
    position: absolute;
    right: 0;
    top: 38px;
    width: 280px;
    z-index: 99999999;
    display: none;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.15);
}
.zm-form-control {
    border: medium none;
    display: block;
    height: 40px;
    line-height: 40px;
    text-align: left;
    width: 100%;
}
.zm-form-control:focus {
    border: medium none;
}
.zm-form-control.password{
    border-top: 1px solid #cfdadf;
}
.zm-submit-box {
    text-align: left;
}
.zm-submit-box input[type="submit"] {
    background: transparent none repeat scroll 0 0;
    border: 1px solid #cfdadf;
    float: left;
    font-size: 15px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
    width: 47%;
}
.zm-submit-box a{
    background: transparent none repeat scroll 0 0;
    border: 1px solid #cfdadf;
    float: left;
    font-size: 15px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
    width: 47%;
    color:#333 !important;
    margin-left: 6%;
}
.zm-submit-box input[type="submit"]:hover {
    background: #f0442c none repeat scroll 0 0;
    border-color: #008ad0;
    color: #fff;
}
.zm-submit-box a:hover {
    background: #f0442c none repeat scroll 0 0;
    border-color: #008ad0;
    color: #fff !important;
}
.zm-login-social-box .social-btn{
    height: 30px;
    display: block;
    line-height: 30px;
    width: 100%;
    padding: 0;
}
.zm-login-social-box .social-btn + .social-btn {
    margin-top: 10px;
}
.zm-login-social-box .social-btn i {
    color: #fff;
    height: 30px;
    line-height: 30px;
    margin-right: 15px;
    position: relative;
    text-align: center;
    width: 37px;
}
.zm-login-social-box .social-btn i::after {
    background: rgba(255, 255, 255, 0.2) none repeat scroll 0 0;
    content: "";
    height: 80%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

.login-btn{
    cursor: pointer;
    transition: 0.3s;
}
.login-btn:hover{
    color: #008ad0;
}
.zm-forget{
    margin: 15px 0;
    display: block;
}
.bg-dark .zm-signin-form .zm-forget, .bg-white .zm-signin-form .zm-forget, .bg-gray .zm-signin-form .zm-forget{
    color: #008ad0;
}





/*Dropedown menu */
.primary-menu ul li {
    position: relative;
}
.primary-menu ul li ul.dropdown {
    background: #fff none repeat scroll 0 0;
    left: 0;
    position: absolute;
    top: 100%;
    width: 220px;
    z-index: 999;
}
.primary-menu ul li ul.dropdown li a {
  background: #ffffff none repeat scroll 0 0;
  color: #999999;
  display: block;
  font-family: "Lato",sans-serif;
  font-size: 11px;
  font-weight: 400;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out 0s;
}
.primary-menu  ul.dropdown li {
  border-bottom: 1px solid #f4f4f4;
  display: block;
}
.primary-menu li.drop ul.dropdown {
  background: #ffffff none repeat scroll 0 0;
  left: 0;
  margin: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  transition: all 0.2s ease-in-out 0s;
  visibility: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 9px 5px rgba(0,0,0,0.10);
}
.primary-menu li.drop ul.dropdown li ul.dropdown.level2 {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color #f4f4f4;
  border-image: none;
  border-style: none none none solid;
  border-width: medium medium medium 1px;
  left: 100%;
  top: 0;
}
.primary-menu li.drop:hover > ul.dropdown, .primary-menu li:hover > .mega-menu-area {
  opacity: 1;
  visibility: visible;
}
.primary-menu li.drop ul.dropdown li.drop > a::after {
  color: #999;
  content: "";
  font-family: "FontAwesome";
  font-size: 13px;
  position: absolute;
  right: 20px;
  top: 12px;
  transition: all 0.2s ease-in-out 0s;
}
.primary-menu  li.drop ul.dropdown li a:hover {
  background: #fafafa none repeat scroll 0 0;
  color: #222222;
}
.primary-menu li.drop ul.dropdown.arrow-left li.drop > a::after {
  content: "\f104";
}
.primary-menu li.drop ul.dropdown.arrow-left li ul.dropdown.level2 {
  border-left: medium none;
  border-right: 1px solid #f4f4f4;
  left: auto;
  right: 100%;
}



/*Mega menu*/

.mega-parent {
}
.mega-parent {
    position: inherit !important;
}
.mega-menu-area {
  background: #fff none repeat scroll 0 0;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 100%;
  transition: all 0.3s ease 0s;
  visibility: hidden;
  width: 100%;
  z-index: 9999;
  -webkit-box-shadow: 1px 9px 23px -3px rgba(0,0,0,0.54);
-moz-box-shadow: 1px 9px 23px -3px rgba(0,0,0,0.54);
box-shadow: 1px 9px 23px -3px rgba(0,0,0,0.54);
}
.menu-wrapper.bg-theme.clearfix {
    position: relative;
}
.menu-wrapper .col-md-11 {
    position: inherit;
}
/*.mega-menu-area {
    display: flex;
}*/
.zm-megamenu-sub-cats {
  float: left;
  padding-left: 40px;
  width: 18%;
}
.zm-megamenu-content {
  float: left;
  padding: 40px;
  width: 82%;
}
.mega-menu-area .zm-megamenu-sub-tab li a {
    color: #336666;
    display: block;
    font-size: 15px;
    height: 50px;
    line-height: 50px;
    text-transform: capitalize;
}
.mega-menu-area .zm-megamenu-sub-tab li.active a, .zm-megamenu-sub-tab li a:hover {
    color: #ff3333;
}
.zm-megamenu-sub-tab li + li a {
    border-top: 1px solid #ccc;
}
.zm-megamenu-sub-tab {
    border-right: 1px solid #ccc;
}
.zm-megamenu-sub-tab {
    padding: 30px 0 50px 0;
}
.mega-caro-wrap {
  display: flex;
  flex-flow: row wrap;
}
.zm-posts .zm-mega-post.zm-post-lay-a2 .zm-post-title {
  text-transform: none;
}
.zm-posts .zm-mega-post.zm-post-lay-a2 .zm-post-header {
  padding: 12px 0 0;
}
.mega-caro-wrap {
  display: flex !important;
  flex-flow: row wrap;
}
.mega-caro-wrap-mfix{
  margin-left: -10px;
  margin-right: -10px;
}
.single-mega-post {
  padding: 0 10px;
  width: 25%;
}
.mega-caro-wrap .single-mega-post{
  width: 100%;
}

.mega-caro-wrap .owl-controls {
    position: absolute;
    right: 5px;
    bottom: -80px;
}

.mega-caro-wrap.owl-theme .owl-controls .owl-nav [class*="owl-"] {
    background: #e6e6e6 none repeat scroll 0 0;
    border-radius: 0;
    font-family: roboto;
    font-size: 15px;
    font-weight: 700;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}
.mega-caro-wrap.owl-theme .owl-controls .owl-nav [class*="owl-"] span {
  color: #333;
  transition: 0.3s;
}

.mega-caro-wrap.owl-theme .owl-controls .owl-nav [class*="owl-"]:hover {
    background: #333333 none repeat scroll 0 0;

}
.mega-caro-wrap.owl-theme .owl-controls .owl-nav [class*="owl-"]:hover span {
  color: #fff;
}
.zm-megamenu-content .tab-content>.tab-pane{
  display: block;
  height: 0;
}
.tab-content>.tab-pane.active{
  height: auto;
}