/*
Theme Name:     Newsmax child
Template:      	newsmax
Theme URI:      http://newsmax.themeruby.com/
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Newsmax in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, editor-style, featured-images, theme-options, custom-colors, translation-ready
License:        license purchased
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */

.logo-wrap {
  margin-bottom: 30px!important;
}

.logo-mobile-wrap {
  position: relative;
}

.post-classic-1.post-wrap {
  margin-bottom: 23px;
}

.header-style-7 .banner-inner {
  padding-bottom: 0px;
}

.header-style-7 .logo-wrap img {
  max-height: 124px;
}
.main-menu-wrap {
  text-align: center;
}

.navbar-left > * {
  float: none;
}

.block-title h3 { 
  font-family: 'edoregular', Arial, sans-serif !important; 
  color: #c12934;
  font-size: 260%;
  letter-spacing: 0.1rem;
  line-height: initial;
  font-weight: initial !important;
}

/*===============================================
  DESIGN ONLY START HERE
===============================================*/
/* Images alignment
-----------------------*/
img.alignleft
{
  float: left;
  margin: 0rem 2rem 2rem 0;
}
img.alignright
{
  float: right;
  margin: 0rem 0 2rem 2rem;
}
img.alignnone 
{
  margin-bottom: 2rem;
}
/* Backgrounds & Patterns
-----------------------*/
body
{
  background: url(images/bg-pattern-dark-concrete-lighter.jpg) repeat left top transparent;
  background-size: 250px auto;
}
.header-wrap
{
  background: transparent;
  margin-bottom: 4px;
}
.header-wrap::after,
.footer-wrap::before
{
  position: absolute;
  display: block;
  content: '';
  bottom: -4px;
  z-index: 9;
  transform: rotateY(180deg);
  left: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background-image: url(images/border-line-new.svg);
  background-repeat: repeat-x;
  background-position: center center;
  background-color: black;
}
.header-wrap .header-inner
{
  background: rgba(255,255,255, 0.5);
  padding-bottom: 0; 
}
.site-outer
{
  background: url(images/sailing-a-7.png) repeat center top transparent;
}
.block-header-inner
{
  border-radius: 10px;
  padding: 2rem;
}
.block-header-inner,
.widget-title.block-title
{
  border-bottom: 0 none;
  /* background: url(images/bg-border-bottom.png) no-repeat right bottom transparent; */
  /* padding-bottom: 2rem; 
  margin-bottom: 2rem; */
}
/* White backgrounds
-----------------------*/
.ruby-content-wrap .post-outer .post-wrap,
.fw-block-2-slider-el,
.site-wrap .site-inner .sidebar-inner .widget,
.entry.single-entry,
.single-inner .single-post-header,
.entry.single-entry,
.box-related-header .block-header-inner,
.ruby-content-wrap .ruby-block-inner .block-header-wrap .block-header-inner,
.single-inner .single-post-box-comment,
.ads-between-posts.desktop-only,
.ads-between-posts.mobile-only,
.home .a-single.a-17,
.fw-block-11-slider-outer
{
  background: rgba(255,255,255,0.7);
}
/* Home page first blocktitle
-----------------------*/
.home .ruby-content-wrap .ruby-block-inner .block-header-wrap .block-header-inner
{
  margin: 0;
  background: transparent;
  padding: 0;
  height: 0;
  width: 0;
  border: 0 none;
  display: none;
  opacity: 0;
}
/* Home page first ad before listing articles
-----------------------*/
.home .a-single.a-17
{
  padding: 2rem;
  border-radius: 10px;
}
.home .ads-between-posts.desktop-only .a-single.a-17
{
  padding: 0;
  background: transparent;
}
/* Home page articles title inside
-----------------------*/
.ruby-content-wrap .post-outer .post-wrap .no-thumb-outer
{
  min-height: initial;
}
.ruby-content-wrap .post-outer .post-wrap .no-thumb-outer .has-bg-transparent
{
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}
.has-bg-transparent
{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.45);
  z-index: 3;
  padding: 1rem;
  text-align: left;
  color: #fff;
}
.has-bg-transparent .post-title
{
  color: #fff;
}
.has-bg-transparent + .post-meta-info-share.is-absolute
{
  top: auto;
  bottom: 10px;
}

/* Home Page Title above thumbnail
-----------------------*/
.home .post-title 
{
  margin-bottom: 1.5rem;
}
.home .post-cat-info
{
  margin-bottom: 0;
}
.home .post-meta-info.is-show-icon
{
  margin-top: 0;
  margin-bottom: 1rem;
}
.home .post-classic-1 .post-excerpt
{
  border-top: 0 none;
}
/* Featured post titles */
.is-size-1 > a.post-title-link,
.is-size-3 > a.post-title-link
{
  color: #6F6D6D;
}


/* Font & colors
-----------------------*/
.post-excerpt p,
.post-meta-info
{
  color: inherit !important;
  /* font-size: 18px; */
}
.home .post-excerpt p
{
  color: inherit !important;
  font-size: 16px;
}
.sidebar-inner .post-title a,
.sidebar-inner .post-meta-info
{
  font-weight: 700;
}
/* Removing bullets
-----------------------*/
.block-title h3:before
{
  display: none;
}
/* Adding border to images
-----------------------*/
.ruby-content-wrap .post-outer .post-wrap
{
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  border-radius: 10px;
  /* display: table; */
}
.post-outer .post-wrap .thumbnail-resize
{
  background: #fff;
  padding: 0;
  max-height: 340px;
  overflow: hidden;
}
.fw-block-2-slider-el
{
  display: table;
  width: 100%;
  padding: 2rem;
  border-radius: 10px;
}
.fw-block-2-slider-el .post-excerpt
{
  margin-top: 5px;
}
.fw-block-2-slider-el .post-excerpt p
{
  overflow: hidden;
  display: block;
  /* max-height: 60px; */
  font-size: 12px;
  line-height: 1.4;
}
.fw-block-2-slider-el .smaller-excerpt .post-excerpt
{
  margin-top: 5px;
}
.fw-block-2-slider-el .smaller-excerpt .post-excerpt p
{
  font-size: 12px;
  line-height: 1.4;
  /* overflow: hidden;
  max-height: 40px; */
}
.fw-block-2-slider-el .post-wrap .thumbnail-resize
{
  padding: 0;
  background: transparent;
}
.fw-block-2-slider-el .is-header-overlay .post-header
{
  /*background: rgba(0,0,0,0.45);*/
  margin: -23px -18px -20px -18px;
  width: calc(100% + 36px);
  /*padding: 1rem;*/
  height: calc(100% + 43px);
  position: relative;
  vertical-align: top;
}
.fw-block-2-slider-el .is-header-overlay .post-header.smaller-excerpt
{
  margin: -10px -10px -10px -10px;
  width: calc(100% + 20px);
  /*padding: 0.75rem;*/
  height: calc(100% + 20px);
}
.fw-block-2-slider-el .is-header-overlay .post-header .post-title,
.fw-block-2-slider-el .is-header-overlay .post-header .post-excerpt
{
  padding: 1rem;
}
.fw-block-2-slider-el .is-header-overlay .post-header .post-excerpt
{
  background: rgba(0,0,0,0.45);
}
.fw-block-2-slider-el .is-header-overlay .post-header .post-excerpt
{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.fw-block-2-slider-el .is-header-overlay .post-meta-info-share.is-absolute
{
  top: -10px;
  left: auto;
  right: 0;
}
.fw-block-2-slider-el .post-feat-4 .is-header-overlay .post-meta-info-share.is-absolute
{
  top: -3px;
}
@media screen and (min-width: 1200px){
  .fw-block-2-slider-el .post-feat-3 .post-thumb-outer
  {
    height: 434px;
  }
  .fw-block-2-slider-el .post-feat-4 .post-thumb-outer
  {
    height: 215px !important;
  }
}
@media only screen and (max-width: 1199px) and (min-width: 992px){
  .fw-block-2-slider-el .is-header-overlay .post-header
  {
    margin: -18px -13px -15px -13px;
    width: calc(100% + 26px);
    height: calc(100% + 33px);
  }
  .fw-block-2-slider-el .is-header-overlay .post-header.smaller-excerpt
  {
    margin: -8px -8px -8px -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
  }
  .fw-block-11-slider-outer .post-feat-9.post-wrap .is-header-overlay 
  {
    padding: 0;
  }
} 
@media only screen and (max-width: 991px) and (min-width: 767px){
  .fw-block-2-slider-el .is-header-overlay .post-header
  {
    margin: -13px -13px -13px -13px;
    width: calc(100% + 26px);
    height: calc(100% + 26px);
  }
  .fw-block-2-slider-el .is-header-overlay .post-header.smaller-excerpt
  {
    margin: -8px -8px -8px -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
  }
} 
.fw-block-11-slider-outer
{
    padding: 2rem;
    border-radius: 10px;
}
.fw-block-11-slider-outer .slick-track,
.fw-block-11-slider-outer .slick-slide
{
    width: 100% !important;
}
.fw-block-11-slider-outer .post-outer .post-wrap .thumbnail-resize
{
  max-height: inherit;
}
.fw-block-11-slider-outer .is-header-overlay .post-meta-info-share.is-absolute
{
    left: auto;
    right: 1rem;
    top: 1rem;
}
.fw-block-11-slider-outer .post-feat-9.post-wrap .is-header-overlay
{
    padding: 0;
}
.fw-block-11-slider-outer .is-header-overlay .post-header
{
    height: 100%;
}
.fw-block-11-slider-outer .is-header-overlay .post-header .post-cat-info,
.fw-block-11-slider-outer .is-header-overlay .post-header .post-meta-info
{
    display: none;
}
.fw-block-11-slider-outer .is-header-overlay .post-header .post-title
{
    padding: 1rem;
}
.fw-block-11-slider-outer .is-header-overlay .post-header .post-excerpt
{
    padding: 1rem;
    background: rgba(0,0,0,0.45);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
/* Header
-----------------------*/
.header-inner .topbar-wrap
{
  background-color: transparent;
  color: #000;
}
.header-inner .topbar-wrap .topbar-inner
{
  font-weight: bold;
  text-transform: uppercase;
}
.header-inner .banner-wrap
{
  background: transparent;
}
.header-inner .banner-wrap .banner-inner
{
  padding-top: 0;
}
.header-inner .banner-wrap .banner-inner .logo-wrap
{
  margin-bottom: 0rem;
}
/* Main Navigation
-----------------------*/
.header-inner .navbar-outer
{
  margin-top: 2rem;
}
.header-inner .navbar-wrap
{
  background-color: transparent;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}
.header-inner .navbar-wrap .navbar-inner
{
  background: url(images/bg-menu-pattern.png) repeat left top #000;
}
.header-inner .navbar-wrap .navbar-inner:before
{
  content: '';
  position: absolute;
  top: 0;
  left: -14px;
  display: inline-block;
  width: 14px;
  height: 43px;
  background: url(images/bg-menu-left-smooth.png) no-repeat right top transparent;
}
.header-inner .navbar-wrap .navbar-inner:after
{
  content: '';
  position: absolute;
  top: 0;
  right: -14px;
  display: inline-block;
  width: 14px;
  height: 43px;
  background: url(images/bg-menu-right-smooth.png) no-repeat right top transparent;
}
.header-inner .navbar-wrap .navbar-inner .main-menu-inner > li > a,
.header-inner .navbar-wrap .navbar-inner .navbar-right
{
  line-height: 43px;
  color: #fff;
}
.header-inner .navbar-wrap .navbar-inner .main-menu-inner > li > a
{
  font-size: 20px;
  font-weight: 400;
}
/* Sidebar
-----------------------*/
.site-wrap .site-inner .sidebar-inner
{
  background: transparent;
  margin-right: 0;
  padding-top: 0;
}
.site-wrap .site-inner .sidebar-inner .widget
{
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
}
.site-wrap .site-inner .sidebar-inner h3 .widget-post-bullet
{
  display: none;
}
/* Footer
-----------------------*/
.footer-wrap
{
  position: relative;
  background-image: none;
  background-repeat: repeat-x;
  background-position: center top;
  background-color: transparent;
  overflow: initial;
  margin-top: 4px;
}
.footer-wrap::before
{
  bottom: auto;
  top: -4px;
}
.widget-post-bullet
{
  display: none;
}
.footer-wrap .footer-inner
{
  padding-top: 5rem;
  background-color: rgba(255,255,255, 0.5);
  background-attachment: inherit;
  background-size: cover;
  padding-bottom: 50px;
  background-image: none;
}
.footer-wrap .footer-social-inner
{
  padding: 30px 20px 0 20px;
}
.footer-wrap .widget_tag_cloud a
{
  background: #000;
  color: #fff;
}
.footer-copyright-wrap
{
  background: transparent;
  text-transform: uppercase;
  margin-top: -50px;
}
.footer-wrap .social-icon-wrap a,
.footer-wrap .social-icon-wrap a:hover
{
  background: transparent !important;
  color: #000;
}
.footer-wrap .footer-logo
{
  float: none;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.footer-wrap .footer-logo img 
{
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  height: inherit;
}
.copyright-inner
{
  padding-top: 0;
}
.footer-column-inner
{
  padding-bottom: 0;
}
.sidebar-footer .widget:last-child
{
  margin-bottom: 0;
}
.footer-wrap *
{
  font-weight: 700 !important;
}
/* Article listing
-----------------------*/
.post-outer .post-wrap .post-thumb .thumbnail-resize img 
{
  width: 100%;
  max-width: 100%;
  height: inherit;
}
.post-outer .post-wrap .post-thumb
{
  width: 100%;
  display: block;
}
.post-outer .post-wrap .post-excerpt
{
  padding-top: 0;
}
.post-outer .post-wrap .post-btn
{
  text-align: right;
}
.post-outer .post-wrap .post-btn a
{
  background: transparent;
  padding-right: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #c12934;
}
.post-outer .post-wrap .post-btn a:hover
{
  padding-right: 0;
  background: transparent;
  color: #282828;
  opacity: 0.7;
}
.post-thumb-outer:not(.is-gallery)
{
  background: transparent;
}
/* White box section titles
-----------------------*/
.box-related-header .block-header-inner
{
  padding: 1.5rem 2rem;
  border-radius: 10px;
  display: inline-block;
}
/* Single post
-----------------------*/
.entry form label
{
  color: #000;
}
.entry .wpcf7, .entry .ninja-forms-form-wrap
{
  background: transparent;
}
.entry.single-entry
{
  padding: 2rem;
  border-radius: 0;
  /* display: table; */
  overflow: auto;
  width: 100%;
  margin-bottom: 0;
}
.entry.single-entry.page-entry 
{
  border-radius: 0 0 10px 10px;
}
.is-entry-padding .single-post-body
{
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: 0 0 10px 10px;
  margin-top: 0;
}
.single-inner .single-post-header
{
  padding: 2rem;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}
.single-inner .single-post-body
{
  margin-bottom: 0;
}
.single-inner .single-post-box-comment
{
    border-radius: 0 0 10px 10px;
    padding: 2rem;
    margin-top: 0;
}
.single-inner .single-post-body .entry img 
{
  width: 100% !important;
}
.single-inner .single-post-body .entry img:first-child 
{
  margin-top: 0;
} 
/* Single video posts
-----------------------*/
.video-single-spacer
{
 display: block;
 height: 1px;
 margin: 2rem -2rem;
 width: calc( 100% + 4rem);
 position: relative;
 border-bottom: 2px dashed rgba(28, 28, 28, .07);
}
.single .single-post-video-holder
{
  margin-bottom: 0;
}
.single .video-post-content-holder .entry.single-entry
{
  padding: 0 2rem;
}
/* Logo gallery
-----------------------*/
.gallery .gallery-item,
.gallery-size-large .gallery-item
{
    display: table;
    height: 130px;
}
.gallery .gallery-item div,
.gallery-size-large .gallery-item div
{
  padding: 1rem 2rem;
  margin: 1rem;
  height: 100px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  width: calc(100% - 4rem);
}
.gallery .gallery-item .gallery-caption,
.gallery-size-large .gallery-item .gallery-caption,
.gallery .gallery-item .gallery-caption a,
.gallery-size-large .gallery-item .gallery-caption a
{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  background: transparent;
  color: transparent;
  display: block;
}
.gallery .gallery-item div img,
.gallery-size-large .gallery-item div img
{
  mix-blend-mode: multiply;
  width: auto;
  height: auto;
  max-height: 75px;
  margin: 0 auto;
  display: table-cell;
  vertical-align: middle;
}
.mix-mode-multiply
{
  mix-blend-mode: multiply !important;
}
/* PAGINATION
-----------------------*/
.single-post-box-nav
{
  border-radius: 10px;
  border: 0 none;
  padding: 2rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.3);
}
.single-post-box-nav .nav-arrow
{
  opacity: 1;
}
.single-post-box-nav .post-title
{
  color: #fff;
  font-weight: 700;
}
.single-post-box-nav .post-title:hover
{
  color: #fff;
}
/* LOAD MORE BUTTON
-----------------------*/
.ajax-loadmore-link
{
  border-radius: 90px !important;
  font-weight: 700;
  padding: 0.75rem 3rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  height: auto;
  line-height: initial;
  font-size: 1.75rem;
}
/* RELATED ARTICLES
-----------------------*/
.box-related-content .post-title a
{
  font-weight: 700;
}
/* RESPONSIVE STYLES
-----------------------*/
.ads-between-posts.mobile-only
{
  display: none;
  border-radius: 10px;
  padding: 2rem;
  margin: 0px 0px 20px 10px;
  max-width: calc(100% - 20px);
  text-align: center;
}
.ads-between-posts.desktop-only
{
  display: table;
  border-radius: 10px;
  margin: 0 20px 20px 20px !important;
  padding: 2rem;
}
@media screen and (max-width: 1199px){
  .header-inner .navbar-wrap .navbar-inner .main-menu-inner > li > a
  {
    font-size: 15px;
  }
}
@media screen and (max-width: 991px){
  .header-inner .navbar-wrap .navbar-inner .main-menu-inner > li > a
  {
    font-size: 12px;
  }
  .fw-block-11-slider-outer .post-feat-9.post-wrap .is-header-overlay 
  {
    padding: 0;
  }
}
@media screen and (max-width: 767px){
  .header-inner .navbar-outer
  {
    margin-top: 0;
  }
  .header-inner .navbar-wrap .navbar-inner
  {
    margin: 0;
  }
  .home .a-single.a-17
  {
    display: none;
  }
  .ads-between-posts.mobile-only
  {
    display: block;
  }
  .ads-between-posts.desktop-only
  {
	  /*margin: 0 10px 10px 10px !important;
	      padding: 1rem;*/
    display: none;
	  
  }
  .sidebar-wrap .ajdg_grpwidgets
  {
    display: none;
  }
  .off-canvas-btn,
  .navbar-right .navbar-search,
  .navbar-mobile .logo-mobile-wrap
  {
    height: 43px;
    background: url(images/bg-menu-pattern.png) repeat left top #000;
  }
  .header-inner .navbar-wrap .navbar-inner,
  .header-wrap
  {
    background: transparent;
  }
  .header-inner .navbar-wrap .navbar-inner:before,
  .header-inner .navbar-wrap .navbar-inner:after
  {
    display: none;
  }
  .icon-toggle,
  .icon-toggle:before,
  .icon-toggle:after
  {
    background: #fff;
  }
  .navbar-mobile .logo-mobile-wrap
  {
    width: calc(100% - 96px);
    padding: 0 20px;
    float: left;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
  .navbar-mobile .logo-mobile-wrap img
  {
    background: transparent;
    margin: 10px 0 0 0;
  }
  .navbar-mobile > div:last-child
  {
    display: table;
    width: 100%;
  }
  .navbar-mobile > div:last-child img 
  {
    width: 100%;
    margin-top: 10px;
  }
  .fw-block-2-slider-el
  {
    display: none;
  }
  .post-excerpt p
  {
    line-height: 1.5;
  }
  .navbar-mobile .logo-mobile-wrap + div 
  {
    display: none;
  }
  .page-template-page-composer .site-inner > *:first-child, .blog .site-inner > *:first-child
  {
   padding-top: 1px; 
  }
  .footer-wrap .footer-inner
  {
    padding-top: 2rem;
    padding-bottom: 0;
  }
  .footer-wrap .footer-inner .widget-title.block-title
  {
    margin-top: 0;
  }
  .footer-column-inner
  {
    padding-top: 0;
  }
  .footer-column-inner .widget.widget_text
  {
    margin-top: 4rem;
  }
  .footer-wrap .footer-social-inner
  {
    padding: 0px 10px 0 10px;
  }
  .footer-wrap .footer-logo
  {
    margin: 3rem auto;
  }
  .footer-wrap .footer-logo img
  {
    max-width: 100%;
  }
  .footer-copyright-wrap
  {
    margin-top: 0;
    background: rgba(255,255,255,0.5);
  }
  .footer-copyright-wrap .menu-footer-container
  {
    display: block;
  }
  .fw-block-11-slider-outer .post-feat-9.post-wrap .is-header-overlay 
  {
    padding: 0;
  }
  .page-template-page-composer .site-inner > .ruby-section-fw:first-child > .block-feat:first-child
  {
    margin-top: 2rem;
    margin-bottom: 0;
  }
  .fw-block-11 .ruby-block-inner 
  {
    margin-bottom: 0;
  }
}

/* Sailing News Widget Style */
h2.post-title.entry-title.is-size-4
{
  margin-bottom: 0;
}
.post-list-4.post-wrap
{
 margin-bottom: 10px;
}
.post-wrap>.is-size-1>.post-title-link,
.post-body>.is-size-1>.post-title-link,
h1.single-title.post-title.entry-title.is-size-1
{
 text-decoration: none;
 color: #6F6D6D;
}
.post-body a
{
 color: #ff4545;
 text-decoration: underline;
}
.vcard a,
.meta-info-right-view a,
.is-size-4 a
{
 color: inherit;
 text-decoration: none;
}

/* Classifieds */
.adverts-list .advert-item.advert-item-col-1 {
  padding: 10px 20px !important;
}

.adverts-categories-all .adverts-flexbox-list {
  margin-bottom: 1.25em !important;
  margin-left: 1.25em !important;
}

/* Equalize article spacing between home page and single post page */
.post-body p {
	margin-bottom: 1.25em;
}
