/*
Theme Name: Printpress Child
Theme URI: http://cmsmasters.net/printpress-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Printpress Child Theme
Template: printpress
Version: 1.0.0
License:
License URI:
Text Domain: printpress-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/
@import url("custom.css");

.cmsmasters_header_search_form {
  background: rgba(0, 0, 0, 0.7);
}
.cmsmasters_header_search_form .cmsmasters_header_search_form_close{
  color: rgb(253, 252, 251);
  opacity: .8;
}
.cmsmasters_header_search_form .cmsmasters_header_search_form_close:hover{
  color: #fff;
  opacity: 1;
}
.cmsmasters_header_search_form .cmsmasters_header_search_form_field{
  opacity: 0.8;
}

nav > div > ul ul {
  padding: 10px 0;
}
nav > div > ul > li ul li a {
  padding: 5px 10px;
}

.content-white p{
  color: #fff;
}
.become-img {
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
}

/*submissions-page*/
/* buttons */
.button_wrap .cmsmasters_button.btn-pink,
.button_wrap .cmsmasters_button.btn-white {
  min-width: 180px;
  padding: 12px 35px;
  margin-top: 20px;
}
.bottom-updates .ctct-form-wrapper input[type="submit"] {
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  padding: 12px 35px;
  min-width: 180px;
  background-color: #004F72 !important;
}
.bottom-updates .ctct-form-wrapper input[type="submit"]:hover {
  opacity: 0.8;
}
/* buttons */

/* hero-banner */
.banner-bg{
  background: radial-gradient(circle, #FFFFFF 0%, #F0F0F0 70%, #E0E0E0 100%)
}
.hero-banner-row h1.cmsmasters_heading {
  font-family: "utopia-std", serif;
}
.cmsmasters_text.content-white {
  color: #303030;
}
.hero-banner-row h2.cmsmasters_heading,
.hero-banner-row .cmsmasters_text .qubely-heading-selector {
  color: #fff;
}

.our-mission-content p{
  font-size: 20px;
	line-height: 34px;
}
/* ninja-form */
.ninja-form-row  .nf-form-wrap  .nf-form-layout  .nf-form-content  .nf-field-label  label {
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  color: #303030;
  margin: 0;
  padding: 0;
}
input:not([type="button"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="image"]):not([type="radio"]):not([type="reset"]):not( [type="submit"] ):not([type="color"]):not([type="range"]),
.ninja-form-row .nf-form-content .list-select-wrap .nf-field-element > div,
.ninja-form-row .nf-form-content textarea,
.ninja-form-row-contact .nf-form-content textarea {
  background: #f7f7f7;
  border: 1px solid #c4c4c4;
  border-radius: 22px;
  box-shadow: none;
  color: #303030;
  transition: all 0.5s;
}
.ninja-form-row.book input:not([type="button"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="image"]):not([type="radio"]):not([type="reset"]):not( [type="submit"] ):not([type="color"]):not([type="range"]),
.ninja-form-row.book .nf-form-content .list-select-wrap .nf-field-element > div,
.ninja-form-row.book .nf-form-content textarea{
  border-radius: 0px;
}
.ninja-form-row .nf-form-wrap .nf-form-layout .nf-form-content .nf-field-label {
  margin-bottom: 10px;
  padding: 0;
}
.ninja-form-row .submit-wrap .nf-field-element {
  text-align: center;
}
.nf-form-content .listcheckbox-container .nf-field-element label::before {
  content: "✓";
  font-size: 18px;
  top: 2px;
  left: -25px;
}
.ninja-forms-field.nf-element label::before {
  border: 1px solid #dfdfdf !important;
  background: #f7f7f7 !important;
}
.listcheckbox-container .nf-field-element label:after {
  top: 3px;
  bottom: auto;
}
.listcheckbox-wrap .nf-field-element label:after {
  border: 1px solid;
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: -28px;
  bottom: 0;
}
.ninja-form-row .nf-error.field-wrap .nf-field-element:after,
.ninja-form-row-contact .nf-error.field-wrap .nf-field-element:after {
  border-radius: 0 22px 22px 0;
  top: 2px;
}
.ninja-form-row.book .nf-error.field-wrap .nf-field-element:after{
  border-radius:0;
}
.ninja-form-row .nf-field-container {
  margin-bottom: 40px !important;
}
.ninja-form-row .nf-field-element input:not:[type="submit"],
.ninja-form-row .nf-field-element .textarea {
  background: #fdfcfb;
  border: 1px solid #dfdfdf !important;
}
.ninja-form-row span.ninja-forms-req-symbol,
.ninja-form-row-contact span.ninja-forms-req-symbol {
  display: none;
}
abbr:not([class]) {
  display: none !important;
}
.ninja-form-row input.ninja-forms-field.nf-element[type="submit"] {
  max-width: 400px;
}
.ninja-form-row .listcheckbox-container .nf-field-element label,
.ninja-form-row.book .listcheckbox-container .nf-field-element label{
    margin-left: 0px !important;
}
/* ninja-form */

/* Sign up for Updates section */
.bottom-updates .ctct-form-wrapper {
  text-align: left;
}
.bottom-updates .cmsmasters_text .ctct-form-wrapper h3 {
  display: flex;
  justify-content: left;
  align-items: center;
  font-size: 36px;
  line-height: 36px !important;
  font-weight: 900;
  margin-bottom: 16px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
/* .bottom-updates .ctct-form-wrapper h3:after,
.bottom-updates .ctct-form-wrapper h3:before {
  content: "";
  position: relative;
  display: inline-block !important;
  border-top: 1px solid #000;
  height: 7px;
  border-bottom: 1px solid #000;
  vertical-align: middle;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border-color: #385777;
} */
.bottom-updates .ctct-form-wrapper h3:after {
  margin: 0 0 0 20px;
}
.bottom-updates .ctct-form-wrapper h3:before {
  margin: 0 20px 0 0;
}
.bottom-updates .ctct-form-wrapper .ctct-form-description {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #303030 !important;
}
.bottom-updates .ctct-form-wrapper .ctct-form-description p {
  margin: 0;
  padding: 0;
}
.bottom-updates .ctct-form-wrapper form {
  max-width: 675px;
  margin: 0 auto;
  text-align: left;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.bottom-updates .ctct-form-wrapper .ctct-form-field.ctct-form-field-required {
  margin: 12px 0;
}
.bottom-updates #ctct-form-wrapper-0 .ctct-form-field .ctct-email {
  width: auto;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  padding: 2px 3px;
  font-family: arial;
  border: 1px solid rgb(118, 118, 118);
  border-radius: 2px;
  color: #303030 !important;
  height: 30px;
}
.bottom-updates #ctct-form-wrapper-0 .ctct-form-field .ctct-email::placeholder {
  color: #303030 !important;
}
.bottom-updates .ctct-form-wrapper .ctct-form-field-email label {
  font-size: 13px;
  line-height: 24px;
  font-weight: 500;
  color: #303030 !important;
  margin-right: 10px;
}
.bottom-updates .cmsmasters_row_inner .cmsmasters_column:not(:last-child)::before{
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: rgb(216,207,197);
  right: -15px;
  top: 0;
}
.bottom-updates .ctct-form-field-submit{
  padding-bottom: 0;
}
.bottom-updates .cmsmasters_row_inner .cmsmasters_row_margin{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Sign up for Updates section */

/*submissions-page*/
/*author-page */
.about-author-content p span {
  font-size: 22px;
  line-height: 30px;
}
.author-sec h4 {
  margin: 0;
  color: #808080;
}
.become-author-row .become-img img,
.become-author-row .become-img {
  width: 100%;
}
.become-author-row .cmsmasters_row_margin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.cmsmasters_slider_post .cmsmasters_slider_post_date {
  left: auto;
  right: 20px;
  background-color: #385777;
}
/* slider-sec */
.slider-section .cmsmasters_slider_post_title.entry-title {
  display: block;
  line-height: 26px;
}
.cmsmasters_slider_post_title.entry-title {
  line-height: 36px !important;
}
.cmsmasters_slider_post .cmsmasters_slider_post_title.entry-title a {
  font-size: 28px;
  line-height: 36px;
}
/* .cmsmasters_slider_post .cmsmasters_slider_post_inner {
  min-height: 340px;
} */
.cmsmasters_owl_slider .owl-wrapper {
  display: flex !important;
}
.cmsmasters_owl_slider .cmsmasters_owl_slider_item,
.cmsmasters_owl_slider .cmsmasters_slider_post,
.cmsmasters_owl_slider .cmsmasters_slider_post_outer{
  height: 100% !important;
}
.cmsmasters_slider_post .preloader .full-width {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*author-page */

.nf-field-element input:not:[type="submit"],
.nf-field-element .textarea {
  background: #fdfcfb !important;
  border: 1px solid #dfdfdf !important;
}
.nf-field-element input::placeholder,
.nf-field-element textarea::placeholder {
  color: #303030 !important;
}
.product-author {
  color: #004f72;
}
.woocommerce-page .cmsmasters_product_cat a {
  color: #004f72;
}
.discover-book-sec .woocommerce .cmsmasters_product .cmsmasters_product_inner {
  padding: 32px 0px 25px;
}

/*About Us*/
  
#cmsmasters_heading_66kpfwn5te {
  max-width: 460px;
}
.ninja-form-section .nf-form-content {
  padding-left: 0;
}
.our-story-section .cmsmasters_row_margin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.wider-image {
  width: 100% !important;
}
.wider-image img {
  width: 100% !important;
}
.row-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.row-container .col-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.our-story-btn {
  text-align: center;
}
.at-a-glance-paragraph ul {
  list-style: disc !important;
}
.our-story-section .our-story-button {
  padding: 14px 20px;
}
.border-right {
  position: relative;
}
.border-right:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  border-right: 2px solid rgb(223, 223, 223);
  width: 1px;
  height: 100%;
}
.glance-container .glance-content-col {
  padding: 20px 30px !important;
}
.at-a-glance-content {
  font-size: 20px;
}
.about-testimonial .slick-active .post-content-wrap {
  background-color: #fff;
}
.about-us-row-content p {
  font-size: 18px;
}

/* contactus*/
.contact-form-content {
  margin-top: 40px;
}
.ninja-form-row .ninja-form-col {
  padding-left: 30px;
}
.bottom-info-content {
  font-size: 14px;
  line-height: 24px;
}
.cmsmasters_icon_wrap {
  margin-top: 15px;
}
input.ninja-forms-field.nf-element[type="submit"] {
  background: #004F72;
  border: 0;
  color: #f7f7f7;
  width: 500px;
  border-radius: 30px;
  margin-top: 18px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
input.ninja-forms-field.nf-element[type="submit"]:hover {
  background-color: #4f769e;
  color: #fff;
}
.contact-us-ninja .cmsmasters_icon_wrap {
  display: flex !important;
}

/* End contactus*/
/* Press-page*/
.press-mid-row .icon-wrapper h4 {
  color: #303030;
}
.press-mid-row .icon-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.press-mid-row .icon-wrapper img.alignnone {
  margin-bottom: 0;
}
.press-mid-row .icon-wrapper .social-box {
  margin-left: 15px;
}
.press-mid-row .icon-wrapper .icon {
  margin: 0 4px;
}
.press-mid-row .icon-wrapper .icon:hover {
  opacity: 0.8;
}
/*  */
/*Press-page-end*/
/*New-css*/
.woocommerce-page .headline_outer .headline_wrapper .headline_text_wrap {
  max-width: 100%;
  width: 100%;
}
.woocommerce-shop .headline_outer .headline_wrapper .headline_text_wrap {
  max-width: 650px;
}
.custom-product-info h3 {
  color: #303030;
}
.product .cmsmasters_single_product .cmsmasters_product_title_info_wrap{
  margin-bottom: 0;
}
.product .cmsmasters_single_product .cmsmasters_product_content{
  padding-top: 0;
}
.blog-post-single-view .post-next .navigate-next-post-title .post-link,
.blog-post-single-view .post-prev .navigate-last-post-title .post-link{
  color: #303030!important;
}
/*New-css*/


/* Mega menu css */
#mega-menu-wrap-primary {
  top: 80px;
}
.header_mid.header_mid_scroll #mega-menu-wrap-primary {
  top: 48px;
}
.megamenus-featured-section{
  display: flex;
  box-sizing: border-box;
  gap: 30px;
}
.megamenus-content-item {
  width: 33.33%;
}
.megamenus-content {
  display: flex;
  gap: 15px;  
}
.megamenus-content-image{
  width: 50%;
}
.megamenu-content-meta{
   width: 50%;
}
.megamenus-featured-section-2-col {
  display: flex;
  box-sizing: border-box;
  gap: 20px;
}
.megamenus-featured-section-2-col .megamenus-content-item {
  width: 50%;
}
.megamenus-featured-section-2-col .megamenus-content-image{
  width: 50%;
}
.megamenus-featured-section-2-col .megamenu-content-meta{
   width: 50%;
}
.megamenus-content-image a{
    padding: 0 !important;
  }
/*
#mega-menu-wrap-primary .gallery .gallery-item{
  max-width: 129px;
}
#mega-menu-wrap-primary .gallery,
#mega-menu-wrap-primary .gallery-item{
  margin: 0 !important;
} 
*/
.content-category{
  font-size: 16px;
}
.content-category a{
  color: #004f72;
  font-size: 15px;
  padding: 0;
  text-decoration: underline;
  font-weight: 700;
  line-height: 18px;
}
.content-category a:hover{
  color: #303030;
}

/* 
.megamenus-content-title{
  font-size: 16px;
  font-family: "utopia-std", serif;
  line-height: 20px;
} 
*/
.megamenus-content-title ,
.megamenus-content-title a{
  padding: 0;
  font-size: 16px;
  font-family: "utopia-std", serif;
  line-height: 20px;
}
.mega-bottom-menu a{
    font-family: "utopia-std", serif !important;
}

#mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.mega-menu-item-object-category > a.mega-menu-link{
    margin-bottom: 0;
    font-size: 18px !important;
    border-bottom: solid 1px #004f72 !important;
    display: inline-block !important;
    line-height: 18px !important;
    font-family: 'Flama', Arial, Helvetica, 'Nimbus Sans L', sans-serif !important;
    color:  #004f72 !important;
    font-weight: 700 !important;
}


.mega-bottom-menu .mega-menu-description{
  display: none !important;
}

.content-all-list {
  margin-top: 50px;
}

.content-all-list a{
  font-size: 22px;
  font-weight: 700;
  color: #004f72 !important;
  position: relative;
  padding: 0 !important;
  text-decoration: underline;
}
/* 
.content-all-list a:after{
  content: '' !important;
  background: #004f72;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: -5px;
  left: 0;
  display: block !important;
} 
*/


#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title{
  margin-bottom: 20px;
  border-bottom: none;
  font-size: 22px;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-mega-bottom-menu{
  padding-top: 50px !important;
  clear: both;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-mega-bottom-menu  li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title{
  margin-bottom: 0;
  font-size: 18px;
  border-bottom: solid 1px #004f72;
  display: inline-block;
  line-height: 18px;
}
 
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row.mega-bottom-menu .widget_custom_html a{
    margin-bottom: 0!important;
    padding: 0;
    font-size: 18px;
    border-bottom: solid 1px #004f72;
    display: inline-block;
    line-height: 18px;
    color: #004f72;
    font-family: 'Flama', Arial, Helvetica, 'Nimbus Sans L', sans-serif !important;
    font-weight: 700;
 }

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item{
  padding: 5px 0 !important;
}

.faq-menu a{
  font-size: 22px !important;
  text-decoration: underline !important;
  color: #004f72 !important;
  font-family: 'Flama', Arial, Helvetica, 'Nimbus Sans L', sans-serif !important;
  font-weight: 700 !important;
}
/* archive-page-title */
/* #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu{
   box-shadow: 0 0 5px #595959; 
  box-shadow: rgba(100, 100, 111, 0.5) 0px 7px 15px 0px;
} */
 /* .archive.tax-pl-categs .entry-title{
	display: none;
}
.archive.tax-pl-categs h1.entry-title span{
	display: block!important;
} */
 
#mega-menu-wrap-primary #mega-menu-primary img {
  max-width: 100%;
  min-height: 157px;
  max-height: 157px;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 0 5px #595959; 
}
.mega-bottom-menu > .mega-sub-menu{
  margin-left: -15px !important;
  margin-right: -15px !important; 
}
.mega-bottom-menu .mega-sub-menu > li{
  padding-left: 15px !important;
  padding-right: 15px !important;
}
.mega-bottom-menu .mega-sub-menu > li  li{
  padding:7px 0 !important;
}
.mega-bottom-menu .mega-sub-menu > li  li:first-child{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.mega-bottom-menu .mega-sub-menu .mega-sub-menu{
  margin-left: 0px !important;
}
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block .mega-toggle-animated-inner{
  overflow: visible;
}
.mid_nav_wrap{
  overflow: visible !important;
}
#mega-menu-wrap-primary{
  overflow: visible !important;
}

.submit-book-section h4{
  margin-bottom: 20px;
  border-bottom: none;
  padding: 5px 0;   
}
.submit-book-section h4 a{
  padding: 0;
  font-size: 22px;
  color: #004f72;
  font-weight: 700;
}
.submit-book-section h4 a:hover{
  color: #004f72;
}
.submit-book-section .mega-sub-menu li{
  padding: 0 !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column.submit-book-section > ul.mega-sub-menu > li.mega-menu-item.mega-menu-item-custom_html-17{
  padding: 0 !important;
}
.submit-book-section .mega-sub-menu{
  display: flex !important;
  flex-wrap: wrap;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column.submit-book-section > ul.mega-sub-menu > li.mega-menu-item.widget_media_image
{
  width: 50% !important; 
  padding-top: 0 !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column.submit-book-section > ul.mega-sub-menu > li.mega-menu-item.mega-menu-item-custom_html-18
{
  width: 50% !important; 
  padding-top: 0 !important;
}
.submit-book-section .mega-sub-menu .mega-menu-item-custom_html-18 a{
  font-family: "utopia-std", serif !important;
  padding-top: 0;
  font-size: 16px;
  line-height: 20px;
}

.widget_media_image a{
  padding: 0 !important;
}

@media screen and (max-width: 767px) {
  .button_wrap .cmsmasters_button.btn-pink,
  .button_wrap .cmsmasters_button.btn-white {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .headline_outer  .headline_wrapper  .headline_text_wrap  .headline_text.headline_subtitle  .entry-subtitle {
    font-size: 42px;
    line-height: 46px;
  }
  .hero-banner-row .cmsmasters_heading_wrap h1.cmsmasters_heading {
    font-size: 42px;
    line-height: 46px;
  }
  /*author-page-single-post*/
}



@media (max-width: 768px) {
  .border-right {
    border-right: none;
    border-bottom: 2px solid #a8a8a847;
  }
  .border-right:before {
    display: none;
  }
  #cmsmasters_heading_4jmrkriqph {
    text-align: center;
  }
  #cmsmasters_heading_mnighbqk7h {
    text-align: center;
  }
  .about-us-row-content {
    text-align: center;
  }
  .cmsmasters_text.about-us-row-content p {
    text-align: center !important;
  }
  .wider-image img {
    width: 100% !important;
    max-width: 100%;
  }
  .our-story-section .cmsmasters_row_margin {
    flex-direction: row-reverse;
  }
  .ninja-form-row .ninja-form-col {
    padding-left: 0px;
  }
  .our-story-section .cmsmasters_column_inner {
    padding: 0 !important;
  }
  .our-story-content .button_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .glance-container .glance-content-col {
    margin-bottom: 20px;
  }
  .bottom-updates .cmsmasters_row_inner .cmsmasters_column:not(:last-child)::before{
    right: 0;
    bottom: -12px;
    width: 100%;
    height: 1px;
    top: auto;
  }
  .bottom-updates .ctct-form-field-submit{
    padding-bottom: 20px;
  }
}



@media screen and (max-width: 540px) {
  .headline_outer .headline_inner {
    min-height: 200px;
  }
  .facetwp-icon:before {
    background-position: 15px 53%;
    background-size: 15px;
  }
  .facetwp-icon {
    display: none;
  }
}



 @media screen and (min-width: 769px) and (max-width: 1024px) {
   #header .header_mid .resp_mid_nav_wrap{
    display: none;
  }
  #header .header_mid .mid_nav_wrap nav{
    display: block;
    height: 100%; 
  }   
  #header  .header_mid .mid_nav_wrap {
    height: 100%;
    position: relative;
    float: right;
    clear: none;
    margin-right: 10px;
  } 
  #mega-menu-wrap-primary {
    top: 85px !important;
  }
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-left, 
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-center{
    display: none;
  } 
  .great-stories-row .author-sec h2{
  word-break: break-word;
}
} 

@media screen and (max-width: 768px) {
  #header .header_mid .resp_mid_nav_wrap{
    display: none;
  }
  #header .header_mid .mid_nav_wrap nav{
    display: block; 
  }
  #header  .header_mid .mid_nav_wrap {
    float: none;
    display: inline-block;
    margin: 0 12px 20px;
    vertical-align: middle;
    text-align: center;
  }
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-left, 
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-center{
    display: none;
  } 
}
 



@media screen and (min-width: 1025px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
    position: static;
  }
  #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu{
    left: 0;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator{
    display: none;
  }
}

@media screen and (max-width: 1024px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-mega-bottom-menu{
    padding-top: 0 !important;
  }
   
  #mega-menu-wrap-primary #mega-menu-primary img{
    max-height: 125px;
    max-width:108px !important;
  }
  .megamenus-content{
    display: flex !important;
  }
  .megamenus-content-item{
    margin-bottom: 20px !important;
  }
  .custom-product-category a{
    display: inline-block !important;
  }
  .mega-img-row > .mega-sub-menu{
    display: flex !important;
    flex-wrap: wrap;
  }
  .mega-img-row > .mega-sub-menu > .mega-menu-columns-2-of-12{
     max-width:150px !important;
  }
  .mega-img-row  > .mega-sub-menu > .mega-menu-column.mega-menu-columns-4-of-12{
    width: calc(50% - 150px) !important;
  }
  .megamenus-featured-section {
    display: flex !important;
    gap: 20px;
  }
  .megamenus-content-item{
    max-width: 33.33%;
  }
  .megamenus-content-image{
    min-width: 100px;
    max-width: 100px;
  }
  
  .mega-bottom-menu > .mega-sub-menu{
    display: flex !important;
  }
  .mega-bottom-menu .mega-sub-menu .mega-menu-columns-4-of-12{
    width: 33.33%;
  }
  .megamenus-featured-section-2-col{
    display: flex !important;    
  }
  .megamenus-featured-section-2-col .megamenus-content-item{
    max-width: 50%;
    width: 50% !important;
  }
  .author-top-row > .mega-sub-menu {
    display: flex !important;
  }
  .author-top-row  .mega-menu-columns-8-of-12{
    width: 66.6666666667% !important;
   }
  .author-top-row  .mega-menu-columns-4-of-12{
    width: 33.3333333333% !important;
   }

}
 @media screen and (min-width: 1025px) and (max-width: 1439px) {
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    padding: 0px 15px;
  }
 }

@media screen and (max-width: 767px){
  .megamenus-content-image{
    max-width: 100px;
    min-width: 100px;
  }
  #mega-menu-wrap-primary #mega-menu-primary img {
       max-height: 137px;
       max-width: 100%;
  }
  .megamenus-featured-section {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
  }
  .megamenus-content-item{
    max-width: 100%;
  }
  .megamenus-content-image{
    min-width: 100px;
    max-width: 100px;
  }
  .mega-bottom-menu > .mega-sub-menu{
    display: flex !important;
    flex-wrap: wrap;
  }
  .mega-bottom-menu .mega-sub-menu .mega-menu-columns-4-of-12{
    width: 100%;
  }
  .megamenus-featured-section-2-col{
    display: flex !important;  
    flex-wrap: wrap;  
  }
  .megamenus-featured-section-2-col .megamenus-content-item{
    max-width: 100%;
    width: 100% !important;
  }
  .author-top-row > .mega-sub-menu {
    display: flex !important;
    flex-wrap: wrap;
  }
  .author-top-row  .mega-menu-columns-8-of-12{
    width: 100% !important;
   }
  .author-top-row  .mega-menu-columns-4-of-12{
    width: 100% !important;
  }
  .mega-img-row > .mega-sub-menu{
    display: flex !important;
    flex-wrap: wrap;
  }
  .mega-img-row > .mega-sub-menu > .mega-menu-columns-2-of-12{
     max-width:100px !important;
     margin-bottom: 20px !important;
  }
  .mega-img-row  > .mega-sub-menu > .mega-menu-column.mega-menu-columns-4-of-12{
    width:calc(100% - 100px) !important;
    padding-left: 15px!important;
  }
  .submit-book-section,
  .mega-bottom-menu .mega-sub-menu > li.mega-menu-column {
    margin-bottom: 20px !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column.submit-book-section > ul.mega-sub-menu > li.mega-menu-item.widget_media_image{
    width: 120px!important;
  }
 
}


