body {
	margin-top: 0px !important;
}
/* column block styles  */
.wp-block-columns {
	display: flex;
	width:100%;
}

.speed-sport .wp-block-column ul {
	padding: 10px 20px;
}
.speed-sport .wp-block-column h2 {
	font-weight: 700;
}

#ad_bnr_atf_01 { 
	background-color: #fff;
}

/**** Page Templates ****/
.home.page-template-default #contentcontainer #primary .site-content .main-page-container {
	padding: 0px;
}
.page-template-default #contentcontainer #primary .site-content .main-page-container {
	padding: 0 20px 20px 20px;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content .inner-container {
	display: flex;
	padding-right: 15px;
	box-sizing: border-box;

}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content .entry-content {
	padding: 0px 0px 0 17px;
	margin-right: 20px;
	margin-left: 0px;
	box-sizing: border-box;
	flex-grow: 1;
}

.page-template-template-withrightrailandads #contentcontainer #primary .site-content .entry-content .wp-block-ndms-widget-blocks-sectionheader, .page-template-default #contentcontainer #primary .site-content .main-page-container .wp-block-ndms-widget-blocks-sectionheader{
	padding: 0;
	margin: 0px 0px 25px 0px;
	border-bottom: 2px solid #D8292F;
	font-style: normal;
}

.page-template-template-withrightrailandads #contentcontainer #primary .site-content .entry-content .wp-block-ndms-widget-blocks-sectionheader h2, .page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary h2, .page-template-default #contentcontainer #primary .site-content .main-page-container h2 {
	padding-bottom: 0px;
	font-size: 1.428em;
	line-height: 1.35em;
	font-weight: 700;
	margin-bottom: 0px;
	border-bottom: none !important;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content .inner-container {
	width: 100%;
	max-width: initial;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary {
	padding-top:0px;
	min-width: 300px;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary #primary-sidebar {
	padding: 0px;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary .wp-block-ndms-widget-blocks-recentnews-inner {
	padding-top: 0px;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item {
	margin: 10px 0;
}
.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary .wp-block-ndms-widget-blocks-recentnews {
	padding-top: 0px;
	margin: 0px;
}

/**** Article Template ****/
.article-page-inner-container {
	flex-grow: 1;
}
.article-page-inner-container article {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	padding-right: 15px;
	margin: 0 0 0 auto;
}
.article-page-container {
	max-width: 1200px;
	display: flex;
}
.width-1200px .article-page-container {
	flex-wrap: nowrap;
}
.width-1200px article {
	margin-right: 20px;
}
.post-thumbnail {
	padding: 0 10px;
	box-sizing: border-box;
}
.post-thumbnail img {
	width: 100%;
}
article .featuredCaption {
	margin-left: 10px;
	font-size: 0.75em;
	line-height: 1.4167em;
	font-weight: 700;
	color: #767676;
	margin-bottom: 10px;
}
.entry-meta, .full-width .entry-meta {
	padding-left: 10px;
}
.article-page-container .entry-meta span.article-category {
	font-size: 0.75em;
	line-height: 1.4167em;
	color: #ffffff;
	font-weight: 700;
	background-color: #D8292F;
	padding: 2px 8px;
	margin-bottom: 5px;
}
.article-page-container .entry-meta a{
	color: #ffffff;
}
.title-wrap {
	display: flex !important;
	justify-content: space-between;
}
.article-page-container h1 {
	padding-left: 10px;
	padding-bottom: 10px;
}
.article-page-container .entry-meta span {
	font-size: initial;
}
.article-page-container .entry-meta .author-prefix, .article-page-container .entry-meta .author-name, .article-page-container .entry-meta .article-date {
	font-size: 0.875rem;
	line-height: 1.357rem;
	color: #767676;
	font-weight: 700;
	text-transform: initial;
}

.article-page-container .entry-content {
	padding-left: 10px !important;
	margin-top: 35px;
}
.wp-caption-text, .wp-block-image figcaption {
	font-style: initial;
	margin: 10px 0 0 5px;
	font-size: 0.7857em;
	line-height: 1.36em;
	color: #767676;
}
blockquote {
	padding: 10px 23px 7px 35px;
	background-color: #F1F1F1;
	border-left: 6px solid #D8292F;
	font-size: 1em;
	line-height: 1.4em;
}
blockquote p {
	font-size: 1em;
	line-height: 1.4em;
	font-weight: 700;
	color: #000000;
}
.wp-block-image {
	padding: 0px;
}
.wp-block-image .alignleft {
	margin: 0 15px 15px 0;
}
.wp-block-image .alignright {
	margin: 0 0 15px 15px;
}
.wp-block-image .aligncenter {
	margin: 0 0 15px 0;
	text-align: center;
}
figure.alignleft, figure.alignright {
	width: 300px;
}
.wp-block-image figcaption {
	text-align: center;
}
figure.alignleft img, figure.alignright img {
	width: 100%;
	margin-top: 10px;
}
.article-page-container .wp-caption img[class*=wp-image-] {
	padding: 0px;
}

.article-page-inner-container .pagination-controls {
	margin-top: 60px;
}

/**** Featured Video URL Embed ****/
.ndms-featured-video-url-container {
	position: relative;
	overflow: hidden;
	max-width: 100%;
	padding-top: 55.25%;
	margin: 0 10px 20px;
	box-sizing: border-box;
}
.ndms-featured-video-url-container iframe{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
/**** Article Side Bar ****/
#secondary {
	padding-top: 0px;
	margin-right: 10px;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews, .speed-sport.page-template-template-withrightrailandads #secondary .wp-block-ndms-widget-blocks-recentnews {
	padding: 0px;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner, .speed-sport.page-template-template-withrightrailandads .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner {
	padding-top: 10px;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item, .speed-sport.page-template-template-withrightrailandads .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item {
	margin-left: 0px;
	margin-right: 0px;
	padding-bottom: 20px;
	border-bottom: 1px solid #d8d8d8;
	display: flex;
	flex-direction: row;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .recent-news-image, .speed-sport.page-template-template-withrightrailandads #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .recent-news-image {
	width: 150px;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item:first-child, .speed-sport.page-template-template-withrightrailandads #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item:first-child {
	margin-top: 0px;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item:last-child, .speed-sport.page-template-template-withrightrailandads #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item:last-child {
	border-bottom: none;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image a .recent-news-category-text, .speed-sport.page-template-template-withrightrailandads #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image a .recent-news-category-text {
	font-size: 0.6428em;
	line-height: 1em;
	font-weight: 600;
	color: #d8292f;
	background-color: transparent !important;
	padding: 0px;
	display: block;
	margin-bottom: 5px;
}
.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image h3.desktopOnly, .speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image h3.mobileOnly, .speed-sport.page-template-template-withrightrailandads #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image h3.desktopOnly, .speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image h3.mobileOnly {
	font-size: 1em;
	line-height: 1.2857em;
	margin-top: 0px;
}

.wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image h3.mobileOnly {
	display: none;
}

/**** Above Footer Sidebar ****/
#sidebar-article-footer {
	background-color: #ffffff;
	color: #000000;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto 20px;
	padding: 10px;
	box-sizing: border-box;
}
.speed-sport.single #sidebar-article-footer .wp-block-ndms-widget-blocks-recentnews {
	margin: 0;
	padding: 0;
}
.speed-sport.single #sidebar-article-footer .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner {
	padding: 0;
}
/**** Gallery Template ****/
.single-ndms_gallery #form1Container #mainContent h2 {
	margin: 10px 10px 0;
	width: 100%;
	font-weight: 700;
	color: #d8292f;
}
.single-ndms_gallery #right-rail {
	margin-left: 0;
}
.single-ndms_gallery #gallery-title-name {
	font-weight: 700;
	font-size: 21px;
	letter-spacing: .31px;
}
.single-ndms_gallery .galleryCreatedDate {
	color: #8F8F8F;
	font-weight: bold;
}
.single-ndms_gallery #currentGalleryTitle,
.single-ndms_gallery #right-rail #description,
.single-ndms_gallery #right-rail #photoCount,
.single-ndms_gallery #right-rail #credit
{
	padding-left: 0;
}
.single-ndms_gallery #right-rail #shareTools .share-link {
	margin-left: 0 !important;
}
.single-ndms_gallery #right-rail #description {
	letter-spacing: .23px;
}
.single-ndms_gallery #right-rail #photoCount {
	font-size: 13px;
	color: #000000;
	letter-spacing: 0.19px;
}
.style-b .search-filter-wrapper {
	margin-bottom: 0;
}
.style-b .search-filter-wrapper ul li .category-item,
.style-b .dropdown .dropbtn {
	font-size: 16px;
}
.style-b .dropdown-content a {
	font-size: 16px;
    text-align: left;
}
.style-b .dropdown-content {
	min-width: 300px;
	box-shadow: none;
}
.style-b .dropdown .dropbtn i {
	display: none;
}
.style-b .search-filter-wrapper ul li {
	position: relative;
    margin: 0 auto;
}
.style-b .search-filter-wrapper ul li {
	width: auto !important;
	margin: 0 20px;
}
.style-b .search-filter-wrapper ul li .category-item:hover {
	width: fit-content;
	margin: 0 auto;
}
.style-b .search-filter-wrapper ul li .category-item:hover:after {
    border-bottom: 2px #d8292f solid;
    width: 100%;
    content: "";
    position: absolute;
    top: 34px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.single-ndms_gallery .gallery-title,
.tax-gallery_category .gallery-title{ 
	line-height: 22px;
	padding: 6px 10px 6px;
}
.single-ndms_gallery .gallery-date,
.tax-gallery_category .gallery-date {
	font-size: 11px;
}
.galleria-theme-twelve .galleria-image-nav-left,
.galleria-theme-twelve .galleria-image-nav-right {
    background: url(/wp-content/plugins/ndms-gallery/asset/css/arrow.png);
}
.galleria-theme-twelve .galleria-image-nav-right {
	background-position: -36px 0;
}
.tax-gallery_category #contentcontainer {
	background: #fff;
}
.tax-gallery_category #categoryHeader {
	padding: 10px;
}
.single-ndms_gallery #form1Container {
	margin-top: 0;
}
.single-ndms_gallery #mainContent {
	padding-top: 20px;
}
.single-ndms_gallery #contentContainer {
	width: 74%;
}
/**** Video Page Styles ****/
.ndms_videos-template-default.single-ndms_videos .videos-page,
.tax-video_category  .videos-page {
	max-width: 1200px;
}
.ndms_videos-template-default.single-ndms_videos .video-container,
.tax-video_category .video-container{
	width: 1200px;
    background-color: #fff;
    margin: 0 auto;
}
.ndms_videos-template-default.single-ndms_videos div#recent-container-wrapper,
.tax-video_category div#recent-container-wrapper {
	width: 1200px;
    background-color: #fff;
    margin: 0 auto;
    max-width: 100%;
}
.ndms_videos-template-default.single-ndms_videos .video-title h1,
.tax-video_category .video-title h1{
	background-color: #fff;
}

  .video-template-title{
	margin: 10px 15px 20px;
	border-bottom: 2px solid;
	display: block;
	font-weight: 700;
    background-color: transparent !important;
	
  }
  .ndms_videos-template-default.single-ndms_videos button.amp-pause-overlay,
  .tax-video_category button.amp-pause-overlay{
	border-radius: 0.0em;
	width: 2.2em;
	height: 2.2em;
	background-color: #D8292F;
  }
  .ndms_videos-template-default.single-ndms_videos .amp-media-element,
  .tax-video_category .amp-media-element{
	object-fit: cover;
  }
  .ndms_videos-template-default.single-ndms_videos .video-container.dark #amp,
  .tax-video_category .video-container.dark #amp{
	  max-width: 1170px;
	  width: 1170px;
	  margin: 0 auto;
  }
  .ndms_videos-template-default.single-ndms_videos .video-details-container,
  .tax-video_category .video-details-container{
	width: 1170px;
	padding-left: 24px !important;
  }
  .ndms_videos-template-default.single-ndms_videos li.video-social,
  .tax-video_category li.video-social{
	float: right;
	padding: 20px 15px 10px 0px;
  }
  .ndms_videos-template-default.single-ndms_videos li.video-social a,
  .tax-video_category li.video-social a{
	width: 30px;
	padding: 0px 5px 0px 0px;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container li.video-social a#email-link,
  .tax-video_category .recent-video-container li.video-social a#email-link{
	padding: 5px 2px 14px 2px;
	height: 12px;
	width: 27px;
  }
  .ndms_videos-template-default.single-ndms_videos .video-title h1,
  .tax-video_category .video-title h1{
	font-size: 30px;
  }
  .ndms_videos-template-default.single-ndms_videos .vide-desc,
  .tax-video_category .vide-desc{
	font-size: 16px;
	color: #353535;
	line-height: 1.5em;
	font-weight: normal;
	padding-left: 2px;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid,
  .tax-video_category .recent-video-container.grid{
	display: table;
	text-align: center;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-image.active,
  .tax-video_category .recent-video-container.grid .recent-video-image.active{
	background-color: transparent;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-image.active img
  .tax-video_category .recent-video-container.grid .recent-video-image.active img{
	opacity: unset;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-item,
  .tax-video_category .recent-video-container.grid .recent-video-item{
	max-width: 270px;
	overflow: hidden;
	height: auto;
	position: relative;
	width: 100%;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-item:nth-child(even),
  .tax-video_category .recent-video-container.grid .recent-video-item:nth-child(even){
	padding: 20px 10px 20px 10px !important;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-item,
  .tax-video_category .recent-video-container.grid .recent-video-item{
	padding: 20px 10px 20px 10px !important;
  }
  .ndms_videos-template-default.single-ndms_videos  .video-template-all-title,
  .tax-video_category .video-template-all-title{
	border-bottom: 2px solid;
	display: table;
	margin: 0 auto;
  }
  .ndms_videos-template-default.single-ndms_videos .video-bg-color,
  .tax-video_category .video-bg-color {
	  display: none !important;
  }
  .ndms_videos-template-default.single-ndms_videos .share-tools,
  .tax-video_category .share-tools{
	  opacity: 0.9;
	  width: 270px;
	  height: 145px;
	  bottom: 0px;
	  top: 20px;
	  position: absolute;
		  overflow: hidden;
  }
  .ndms_videos-template-default.single-ndms_videos .share-tools .share-tools-container,
  .tax-video_category .share-tools .share-tools-container{
		position: absolute;
	  width: 100%;
	  height: 100%;
	  background-color: #d8d8d8;
		top: 145px;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid a,
  .tax-video_category .recent-video-container.grid a{
	  position: relative;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-image img,
  .tax-video_category .recent-video-container.grid .recent-video-image img{
	  height: 200px;
	  max-height: 200px;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-item .excerpt-with-image,
  .tax-video_category .recent-video-container.grid .recent-video-item .excerpt-with-image{
	width: 93%;
	/* height: 48px; */
	overflow: hidden;
	text-align: left;
	z-index: 1;
	position: absolute;
	bottom: 0;
	padding-top: 6px;
	padding-bottom: 6px;
	background-color: rgba(255,255,255,.85);
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-item .excerpt-with-image h3,
  .tax-video_category .recent-video-item .excerpt-with-image h3{
	font-size: 16px;
	color: #000;
	font-weight: 700;
    line-height: 22px;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-item .excerpt-with-image .video-date,
  .tax-video_category .recent-video-item .excerpt-with-image .video-date{
	display: block !important;
	font-size: 11px;
	color: #666666;
	font-weight: normal;
    line-height: 1.5em;
  }
  .ndms_videos-template-default.single-ndms_videos .share-tools img,
  .tax-video_category .share-tools img {
	  width: 30px;
	  border-radius: 50%;
  }
  .ndms_videos-template-default.single-ndms_videos .social-el,
  .tax-video_category .social-el{
	  width: 100%;
	  margin: 0 auto;
	  text-align: center;
	  top: 60px;
	  position: absolute;
  }
  .ndms_videos-template-default.single-ndms_videos .video-details-container #email-link,
  .tax-video_category .video-details-container #email-link{
	padding: 5px 2px 14px;
	height: 12px;
	width: 27px;
  }
  .ndms_videos-template-default.single-ndms_videos .video-details-container #email-link .fa.fa-envelope-open,
  .tax-video_category .video-details-container #email-link .fa.fa-envelope-open{
    padding: 0 4px 0 6px;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container #email-link,
  .tax-video_category .recent-video-container #email-link{
	border-radius: 50%;
	padding: 3px 2px 6px 2px;
	color: #fff;
  }
  .ndms_videos-template-default.single-ndms_videos .recent-video-container #email-link .fa.fa-envelope-open,
  .tax-video_category .recent-video-container #email-link .fa.fa-envelope-open{
	padding: 0px 4px 0px 6px;
  }
  .ndms_videos-template-default  .prev-next-posts,
  .tax-video_category .prev-next-posts{
	  color: #000;
  }
  .ndms_videos-template-default  .prev-next-posts .page-counter,
  .tax-video_category .prev-next-posts .page-counter {
	line-height: 18px;;
  }
  .ndms_videos-template-default .next-posts-link:before,
  .tax-video_category .next-posts-link:before{
	  content: "\f054";
	  font-size: 18px;
	  margin-left: .2em;
  } 
  .ndms_videos-template-default .prev-posts-link:before, 
  .tax-video_category .prev-posts-link:before{
	  content: "\f053";
	  font-size: 18px;
  }
  .tax-video_category .prev-next-posts .fa-caret-left:before,
  .tax-video_category .prev-next-posts .fa-caret-right:before,
  .ndms_videos-template-default .prev-next-posts .fa-caret-left:before,
  .ndms_videos-template-default .prev-next-posts .fa-caret-right:before {
	content: " ";
	width: auto;
  }

  .tax-video_category .pagination-controls .prev-next-posts,
  .ndms_videos-template-default .pagination-controls .prev-next-posts{
	display: flex;
	align-items: center;
  }
  .tax-video_category .pagination-controls .prev-next-posts a:hover,
  .ndms_videos-template-default .pagination-controls .prev-next-posts a:hover{
	background-color: transparent !important;
  }

/**** Contact Form 7 ****/
.wp-block-contact-form-7-contact-form-selector form.wpcf7-form {
	max-width: 535px;
}
.wp-block-contact-form-7-contact-form-selector input[type=text], .wp-block-contact-form-7-contact-form-selector input[type=email], .wp-block-contact-form-7-contact-form-selector textarea {
	background-color: #f3f3f3;
	width: 100%;
	border: none;
	border-radius: 0px;
	padding: 20px 10px;
}
.wp-block-contact-form-7-contact-form-selector input[type=text]::placeholder, .wp-block-contact-form-7-contact-form-selector input[type=email]::placeholder, .wp-block-contact-form-7-contact-form-selector textarea::placeholder {
	color: #000000;
	font-weight: 700;
	font-size: 1.142em;
	line-height: 1.375em;
	font-family: 'Open Sans';
}
.wp-block-contact-form-7-contact-form-selector p {
	margin-bottom: 10px;
}
.wp-block-contact-form-7-contact-form-selector .wpcf7-submit {
	padding: 15px 60px;
	font-family: 'Open Sans' !important;
}

/**** Accordians ****/
.accordions {
	font-family: 'Open Sans Bold';
}
.accordions .accordions-head {
	background-color: #ededed !important;
}
.accordions .accordions-head-title {
	color: #8b8b8b !important;
	font-size: 1.1428em !important;
	line-height: 1.375em !important;
	font-weight: 700 !important;
}
.accordions .accordion-plus {
	color: #000 !important;
}
.accordions .accordion-plus .fa-caret-down:before{
	content: '\f078' !important;
}
.accordions .accordion-minus .fa-caret-up:before{
	content: '\f077' !important;
}
.accordions .accordions-head.ui-state-active {
	background-color: #000 !important;
	border-bottom: 4px solid #d8292f !important;
}
.accordions .accordions-head.ui-state-active .accordions-head-title {
	color: #fff !important;
	font-size: 1.189em !important;
	line-height: 1.375em !important;
	font-weight: 700 !important;
}
.accordion-content {
	background-color: #000 !important;
	color: #fff !important;
	font-size: 1.05em !important;
	line-height: 1.1875em !important;
	padding: 26px 22px 11px 22px !important;
	font-weight: 700 !important;
}
.speed-sport .wp-block-ndms-widget-blocks-recentvideos .recent-videos-header {
	border-bottom: 2px solid #D8292F;
}
.speed-sport .wp-block-ndms-widget-blocks-recentvideos .recent-videos-header h2{
	font-size: 1.4em !important;
	font-weight: 700;
	border-bottom: none;
}

/**** Search page ****/
.search.search-results .inner-container {
	padding: 0 10px;
	max-width: 1200px;
}
.search.search-results .page-header {
	border-bottom: 2px solid #D8292F;
	max-width: 100%;
}
.search.search-results h2.page-title{
	font-size: 1.428em;
	line-height: 1.35em;
	font-weight: 700;
}
.search.search-results .search-news-container {
	margin-right: 0px !important;
	float: none !important;
	padding-top: 0px;
}
.search.search-results .search-news-container > div:nth-last-child(2) {
	border-bottom: none;
}
.search.search-results .search-news-item {
	margin-top: 25px;
	border-bottom: 1px solid #d8d8d8;
}
.search.search-results .search-news-item .search-news-image {
	width: 320px;
}
.search.search-results .search-item-category {
	display: inline-block;
	margin: 0 0 20px 20px;
	text-transform: uppercase;
	color: #ffffff;
	font-size: 0.857em;
	line-height: 1.417em;
	font-weight: 700;
	background-color: #D8292F;
	padding: 4px 5px 4px;
}
.search.search-results .search-news-item a h3 {
	font-size: 1.428em;
	line-height: 1.35em;
	color: #000;
}

.search.search-results .search-news-item a h3:hover {
	color: #D8292F;
}
.search.search-results .article-excerpt {
	font-size: 1.1428em;
	line-height: 1.375em;
}
.search.search-results .fa-angle-right,
.search.search-results .fa-angle-left{
	color: #000;
	font-size: 0.75em;
}

/**** Category page ****/
.archive.category #secondary {
	display: none;
}
.archive.category .main-page-container {
	padding: 0 15px;
}
.archive.category article {
	max-width: 1200px;
	width: 100%;
}
.archive.category .entry-content {
	background-color: #ffffff;
}
.archive.category .inner-container {
	padding: 0 10px;
	max-width: 1200px;
}
.archive.category .page-header {
	margin-top: 40px;
	border-bottom: 2px solid #D8292F;
	max-width: 100%;
}
.archive.category h2.page-title{
	font-size: 1.428em;
	line-height: 1.35em;
	font-weight: 700;
}
.archive.category .search-news-container {
	margin-right: 0px !important;
	padding-top: 0px;
}
.archive.category .search-news-container article {
	border-bottom: 1px solid #d8d8d8;
}
.archive.category .search-news-container > article:nth-last-child(2) {
	border-bottom: none !important;
}
.archive.category .search-news-item {
	margin-top: 25px;
}
.archive.category .search-news-item .search-news-image {
	width: 320px;
}
.archive.category .search-news-item .excerpt-with-image {
	width: 100%;
}
.archive.category .search-item-category {
	display: inline-block;
	margin: 0 0 20px 20px;
	text-transform: uppercase;
	color: #ffffff;
	font-size: 0.857em;
	line-height: 1.417em;
	font-weight: 700;
	background-color: #D8292F;
	padding: 4px 5px 4px;
}
.archive.category .search-news-item a h3 {
	font-size: 1.428em;
	line-height: 1.35em;
	color: #000;
}

.archive.category .search-news-item a h3:hover {
	color: #D8292F;
}
.archive.category .article-excerpt {
	font-size: 1.1428em;
	line-height: 1.375em;
}

/**** nav ****/
.top-nav-inner-container {
	height: 100%;
}
.top-nav-right-box {
	overflow: hidden;
}

/**** Premium Modal ****/
#auth-modal {
	display: none;
}
#auth-modal {
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 10, 0.8);
	top: 0px;
	left: 0px;
	display: block;
	z-index: 999999;
}
#alternate_login, #alternate_login_email{
	z-index: 9;
	position: relative;
	padding: 10px 0px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	width: 50%;
	text-align: center;
	color: #69696f;
	border: 1px solid #49494f;
	font-weight: 700;
}

#alternate_login.active_option, #alternate_login_email.active_option{
	background: #39393f;
	color: #c9c9cf;
	border: 1px solid #39393f;
}

#alternate_login_email{
	margin-right: 15px;
}

.login_options{
	display: flex;
	margin-bottom: 20px;
}

#login-form-speedsport p.email_labels, #login-form-speedsport p.alt_labels{
	color: #99999c;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 0px;
	text-transform: uppercase;
	font-weight: 600;
	margin-top: 5px;
}
#login-form-speedsport p.alt_labels {
	display:none;
}
#login-form-speedsport .alt-labels a {
	color: #D32529;
}
.authbtns{
	display:flex;
	margin-top:10px;
	height: 45px;
}

#authLoginBtn{
	width:49%;
	margin-right:2%;
	background: #D32529;
	color: #fff;
	padding: 12px 20px;
	border-radius: 3px;
	text-transform: uppercase;
	border: 0px;
	font-weight:bold;
}

#helpBtn{
	width: 40%;
	padding: 12px 20px;
	color: #ffffff;
	text-transform: uppercase;
	border: 0px;
	border-radius: 3px;
	background: #39393f;
	text-align: center;
	font-weight: bold;
}

#login-form-speedsport{
	background: #fff;
	padding: 50px 64px;
	border-radius: 0px;
	min-height: 300px;
	background-size: cover;
	max-width: 610px;
	margin: 0px auto;
	border-radius: 3px;
	position: relative;
	border: 1px solid #ccc;
	box-sizing: border-box;
	transform: scale(.5);
	transition: all .4s;
}
#login-form-speedsport.ss-modal-active {
	transform: scale(1);
}

#auth-modal #login-form-speedsport{
	background:#1a202b;
	border:0px;
	position: absolute;
	left: 50%;
	margin-left: -305px;
	top: 50%;
	margin-top: -200px;
	animation: scaleIn 0.5s ease-in-out;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	border-top:5px solid #d32528;
}

#login-form-speedsport p.headline {
	font-size: 1.8em;
	line-height: 1.4em;
	color: #fff;
}
#login-form-speedsport input[type="text"], #login-form-speedsport input[type="password"]{
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 15px;
	height: 45px;
	padding-left: 12px;
	margin-top: 10px;
	background: #fff;
	border: 1px solid #0a101a;
	color:#000;
		width: 100%;
}

#login-form-speedsport input[type="text"]:focus, #login-form-speedsport input[type="password"]:focus{
	border-color:#d32528 !important;
	outline: none !important;
}

#close-auth-modal{
	background: #fff;
	width: 30px;
	height: 30px;
	font-size: 28px;
	text-align: center;
	font-weight: bold;
	border-radius: 50%;
	line-height: 28px;
	position: absolute;
	right: -10px;
	top: -18px;
	box-sizing: content-box;
	border: 1px solid #f1f1f1;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
#close-auth-modal:hover {
	cursor: pointer;
}
#premium_content{
	padding: 40px;
	padding-top: 20px;
	font-size: 14px;
	font-family: 'Open Sans';
}
#premium_content_msg{
	padding: 30px;
	background: #fffff0;
	border-radius: 4px;
	border: 2px solid #efefe0;
	max-width: 600px;
	margin: 0px auto;
}
#premium_content_msg h3{
	margin-top: 0px;
	margin-bottom: 20px;
	font-weight: 900;
	color: #000;
	font-size: 1.6em;
	line-height: 1.4em;
}
#premium_content_msg p{
	color: #000 !important;
	line-height: 1.4em;
	margin-bottom: 15px;
	font-size: 1rem;
	line-height: 1.4rem;
	font-weight: 400;
}
a.loginBtn, a.signupBtn{
	background: #d82a2e;
	display: inline-block;
	color: #fff;
	padding: 10px 20px;
	border-radius: 3px;
	font-weight: bold;
	text-transform: uppercase;
}
#premium_content_msg span{
	opacity: 0.3;
	margin: 10px;
	display: inline-block;
}
#already-logged-in {
	color: #fff;
}
#auth_message {
	color: #fff;
	text-align: center;
	font-size: .9em;
	font-weight: 900;
	padding-top: 5px;
	height: 32px;
	transition: all .3s;
}
#auth_message.success {
	background-color: #19cb40;
}
#auth_message.error {
	background-color: #cb4030;
}
#auth_message.auth_hide {
	height: 0px;
	padding: 0px;
}
#ss-profile {
	min-height: 90vh;
	background: #fff;
	padding: 20px;
}
#amp-premium {
	height: 575px;
}
.inner-nav-container {
	overflow: initial;
}
.svg-inline--fa.fa-camera {
    color: #fff;
}
.fa-caret-left:before, .fa-caret-right:before {
	font-size: 30px;
	color: #000;
}
i.fa-caret-left:before {
    content: "\f0d9";
}
i.fa-caret-right:before {
    content: "\f0da";
}
@media screen and ( max-width: 990px ) {
	.wp-block-columns {
		flex-direction: column;
	}
	.speed-sport .mobile-order-first {
	order: -1
	}	
	h1.entry-title {
		box-sizing: border-box;
	}
	.speed-sport .wp-block-column h2 {
		text-align: center !important;
		margin: 0 15px;
	}
	.nascar-ad-container .nascar-advertisement {
		bottom: 0px;
	}
	.ad-close-container {
		bottom: 60px !important;
	}
	#ad_bnr_atf_01 {
		background-color: #252525;
	}
	
	/**** Page Templates ****/
	.page-template-default #contentcontainer #primary .site-content .main-page-container {
		font-size: 1.1428em;
		line-height: 1.25em;
		padding: 0 10px 20px 10px;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content .inner-container {
		background-color: #000;
		padding: 0px;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content .inner-container {
		flex-direction: column;
		margin-top: 20px;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content .entry-content h2.entry-title {
		text-align: center;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content .entry-content {
		padding: 20px 10px;
		margin-right:0px;
		width:100%;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary {
		margin-top: 20px;
		padding: 20px 10px;
	}
	.speed-sport.page-template-template-withrightrailandads .wp-block-ndms-widget-blocks-recentnews header.recent-news-header {
		align-items: flex-start !important;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary .wp-block-ndms-widget-blocks-recentnews-inner {
		margin-left: 0px;
	}
	.page-template-default #contentcontainer #primary .site-content .main-page-container .wp-block-ndms-widget-blocks-sectionheader {
		margin-left: 20px;
		margin-right: 20px;
	}
	/**** Article Template ****/
	.width-1200px .article-page-container {
		flex-wrap: wrap;
	}
	.width-1200px article {
		margin-right: 0px;
	}
	.article-page-inner-container article {
		padding-right: 0px;
	}
	.ndms-featured-video-url-container {
		margin: 0px;
	}
	.post-thumbnail {
		padding: 0px;
	}
	.speed-sport.single header {
		margin-top: 5px;
	}
	.speed-sport .full-width .article-page-container .entry-header {
		padding: 0px
	}
	.article-page-container .entry-content {
		margin-top: 0px;
	}
	.article-page-container .entry-title, .main-page-container .entry-title { 
		font-size: 1.428em;
		line-height: 1.1em;
		text-align: left;
		width: 100% !important;
	}
	.wp-caption.alignright, .wp-caption.alignleft, .wp-caption.aligncenter, .wp-block-image .alignright, .wp-block-image .alignleft, .wp-block-image .aligncenter {
		box-sizing: border-box;
		margin: 0px;
		padding-right: 10px;
	}
	.wp-caption img {
		width: 100%;
	}
	.wp-caption-text {
		margin-top: 7px;
		margin-bottom: 10px;
	}
	blockquote {
		font-size: 1em;
		line-height: 1.4em;
	}
	#secondary {
		width: 100%;
		padding: 0 10px;
		box-sizing: border-box;
	}
	.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner {
		margin-left: 0px
	}
	.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .recent-news-image {
		width: 100%;
	}
	.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item {
		margin-bottom: 10px;
	}
	.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews header.recent-news-header {
		align-items: flex-start !important;
	}
	.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentnews header.recent-news-header  h2 {
		margin-bottom: 5px;
		font-size: 1.25em;
		line-height: 1.35em;
	}
	.speed-sport .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image h3.mobileOnly {
		display: block;
	}
	.speed-sport .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item .excerpt-with-image h3.desktopOnly {
		display: none;
	}
	.speed-sport.single #secondary .wp-block-ndms-widget-blocks-recentvideos .recent-videos-header h2 {
		font-weight: 700;
	}
	#sidebar-article-footer {
		display: none;
	}
	.wp-block-image {
		padding: 0px;
	}
	.alignleft, .alignright, .aligncenter {
		margin: 0 0 15px 0;
		padding: 0px !important;
		float: none !important;
	}
	img.alignright {
		margin: 0 0 15px 0;
	}
	.alignleft img, .alignright img, .aligncenter img {
		width: 100%;
	}
	.article-page-container .entry-content {
		padding-right: 10px !important;
	}
	.article-page-container p {
		padding-right: 0px !important
	}
	.article-page-container figure {
		width: 100% !important;
	}
	.article-page-container .wp-caption img[class*=wp-image-] {
		width: 100%;
	}	
	/**
		Video page speific styles
	**/
	body.ndms_videos-template-default.single-ndms_videos #ad_bnr_atf_01,
	.tax-video_category #ad_bnr_atf_01{
		/* background-color: #D8D8D8; */
		padding-top: 20px;
	}
	.ndms_videos-template-default.single-ndms_videos .video-container,
	.tax-video_category .video-container{
		margin-top: 0px;
		width: 100%;
	}
	.ndms_videos-template-default.single-ndms_videos .video-container.dark #amp,
	.tax-video_category .video-container.dark #amp{
		margin: 0!important;
		min-height: 400px;
		width: 100%;
		min-width: 375px;
	}
	.video-template-title{
		font-size: 22px;
	}
	.ndms_videos-template-default.single-ndms_videos .video-details-container,
	.tax-video_category .video-details-container{
		max-width: 375px
	}
	.ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-item .excerpt-with-image,
	.tax-video_category .recent-video-container.grid .recent-video-item .excerpt-with-image{
		overflow: visible;
	}
	.ndms_videos-template-default.single-ndms_videos li.video-social a#email-link,
	.tax-video_category li.video-social a#email-link{
		height: 11px;
	}
	.ndms_videos-template-default.single-ndms_videos .video-title,
	.ndms_videos-template-default.single-ndms_videos .vide-desc,
	.ndms_videos-template-default.single-ndms_videos .video-social,
	.tax-video_category .video-title,
	.tax-video_category .vide-desc,
	.tax-video_category .video-social{
		text-align: left;
	}
	.ndms_videos-template-default.single-ndms_videos li.video-social,
	.tax-video_category li.video-social{
		float: none;
	}
	.ndms_videos-template-default.single-ndms_videos .video-details-container,
	.tax-video_category .video-details-container{
		padding-left: 15px;
		padding: 10px 0 !important;
	}
	.ndms_videos-template-default.single-ndms_videos .video-title h1,
	.tax-video_category .video-title h1 {
		font-size: 22px;
	}
	.ndms_videos-template-default.single-ndms_videos #recent-container-wrapper .video-template-all-title,
	.tax-video_category #recent-container-wrapper .video-template-all-title{
		padding-top: 30px;
		margin-bottom: 15px;
		font-size: 22px;
	}
	.ndms_videos-template-default.single-ndms_videos #recent-container-wrapper .recent-video-container.grid .recent-video-item,
	.tax-video_category #recent-container-wrapper .recent-video-container.grid .recent-video-item{
		width: 100%;
		max-width: 100%;
		height: 200px;
	}
	.ndms_videos-template-default.single-ndms_videos #recent-container-wrapper .recent-video-container.grid .recent-video-item img,
	.tax-video_category #recent-container-wrapper .recent-video-container.grid .recent-video-item img{
		height: 414px;
	}
	.ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-item .excerpt-with-image,
	.tax-video_category .recent-video-container.grid .recent-video-item .excerpt-with-image{
		padding: 10px 10px 0px 10px;
	}
	.ndms_videos-template-default.single-ndms_videos #recent-container-wrapper .recent-video-container.grid .recent-video-item,
	.tax-video_category .recent-video-container.grid .recent-video-item{
		padding: 20px 0px 20px 0px !important;
	}
	.ndms_videos-template-default.single-ndms_videos #recent-container-wrapper .video-bg-color,
	.tax-video_category #recent-container-wrapper .video-bg-color{
		top: 65%;
		left: 10%;
	}
	.ndms_videos-template-default.single-ndms_videos .share-tools,
	.tax-video_category .share-tools{
		width: 100%;
		height: 166px;
		z-index: -1;
	}
	.ndms_videos-template-default.single-ndms_videos .share-tools .share-tools-container,
	.tax-video_category .share-tools .share-tools-container {
		top: 166px;
	}
	.ndms_videos-template-default.single-ndms_videos .share-tools .social-el img,
	.tax-video_category .share-tools .social-el img {
	height: 30px !important;
	}
	.ndms_videos-template-default.single-ndms_videos .pagination-controls,
	.tax-video_category .pagination-controls {
		padding-top: 30px;
		margin-bottom: 20px;
	}
	.ndms_videos-template-default.single-ndms_videos .page-counter,
	.tax-video_category .page-counter{
		width: 50px;
	}
	.ndms_videos-template-default.single-ndms_videos .amp-media-element,
	.tax-video_category .ndms_videos-template-default.single-ndms_videos .amp-media-element{
		object-fit: contain;
	}
	/**** Search page ****/
	.search.search-results h2.page-title{
		text-align: center;
	}
	.search.search-results .search-news-item {
		margin-top: 20px;
	}
	.search.search-results .search-news-item a {
		margin: 0 -15px;
	}
	.search.search-results .search-news-item a h3 {
		font-size: 1.357em;
		line-height: 1.368;
	}
	.search.search-results .search-news-item .article-excerpt {
		font-size: 1.1428em;
		line-height: 1.375em;
	}
	/**** Category page ****/
	.archive.category h2.page-title {
		text-align: center;
		font-size: 1.428em;
		line-height: 1.35em;
	}
	.archive.category .main-page-container {
		padding: 0 10px;
	}
	.archive.category .search-news-item {
		flex-direction: column;
	}
	.archive.category .search-news-image {
		margin-right: -10px;
		margin-left: -10px;
		width: auto !important;
	}
	.archive.category .search-item-category {
		margin-left: 0px;
	}
	.archive.category .excerpt-with-image h3 {
		padding: 0px;
	}
	.archive.category .article-excerpt {
		padding-right: 0px;
		padding-left: 0px;
	}
	/**** Contact Form 7 ****/
	.wp-block-contact-form-7-contact-form-selector .wpcf7-submit {
		width: 100%;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary .wp-block-ndms-widget-blocks-recentnews-inner {
		padding-bottom: 0px;
	}
	.page-template-template-withrightrailandads #contentcontainer #primary .site-content #secondary .wp-block-ndms-widget-blocks-recentnews-inner .block-recent-news-item:last-child{
		padding: 0px;
	}
	
	/**** Premium Modal ****/
	#auth-modal #login-form-speedsport{
		width: 100%;
		padding: 25% 15px 0 15px;
		height: 100%;
		margin: 0px;
		left: 0;
		top: 0;
	}
	#auth-modal #login-form-speedsport p.headline {
		font-size: 1em;
	}
	#auth-modal #login-form-speedsport .login_options {
		flex-direction: column;
	}
	#auth-modal #login-form-speedsport .login_options a {
		width: 100%;
		margin: 0 0 15px;
	}
	#auth-modal #login-form-speedsport #close-auth-modal {
		top: 10px;
		right: 10px;
	}
	#helpBtn {
		width: 37%;
	}
}

@media screen and ( max-width: 767px ) {
	.title-wrap {
		flex-wrap: wrap;
	}
  	.wp-block-image figcaption {
		text-align: left;
	}
	/**** Gallery Template ****/
	.single-ndms_gallery #form1Container #mainContent h2 {
		margin: 10px auto 0;
		text-align: center;
		width: 80%;
	}
	.single-ndms_gallery #moreGalleryContainer .dropdown {
		float: none;
		margin: 10px auto;
	}
	.style-b .dropdown {
		float: none;
		margin: 0 auto;
		width: 100%;
	}
	.style-b .dropdown .dropbtn {
		font-size: 16px;
		line-height: 22px;
		width: 100%;
		color: #D8292F;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.style-b .dropdown .dropbtn  .fa-caret-down:before{
		content: "\f078";
	}
	.style-b .dropdown .dropbtn i {
		display: block;
	}
	.style-b  .dropdown-content{
		min-width: 100%;
	}
	.style-b  .dropdown-content  a.close-x {
		display: none !important;
	}
	.single-ndms_gallery #right-rail {
		padding: 0 10px;
	}
	.single-ndms_gallery .galleria-theme-twelve .galleria-image-nav-left {
		left: 0;
	}
	.single-ndms_gallery .galleria-theme-twelve .galleria-image-nav-right {
		right: -4px;
	}
	/**** Video Page Styles ****/
	.ndms_videos-template-default.single-ndms_videos .recent-video-container.grid .recent-video-item .excerpt-with-image,
  	.tax-video_category .recent-video-container.grid .recent-video-item .excerpt-with-image{
		width: 100%;
		box-sizing: border-box;
  	}
	  .ndms_videos-template-default.single-ndms_videos .recent-video-item .excerpt-with-image .video-date, 
	  .tax-video_category .recent-video-item .excerpt-with-image .video-date {
		line-height: 2.5em;
	  }
	.ndms_videos-template-default.single-ndms_videos .video-container.dark #amp, .tax-video_category .video-container.dark #amp {
		min-height: 202.68px;
	}
	.ndms_videos-template-default.single-ndms_videos .video-details-container, .tax-video_category .video-details-container {
		box-sizing: border-box;
    	padding: 0 10px !important;
	}
	.ndms_videos-template-default.single-ndms_videos .recent-video-container.grid a, .tax-video_category .recent-video-container.grid a {
		width: 100%;
	}
	.ndms_videos-template-default.single-ndms_videos li.video-social a#email-link, .tax-video_category li.video-social a#email-link {
		line-height: 2px;
	}
	.ndms_videos-template-default .prev-next-posts, .tax-video_category .prev-next-posts {
		display: flex;
		justify-content: center;
	}
	.video-template-title {
		text-align: center;
	}
}

@media screen and ( min-width: 1170px ) {
	#amp {
		height: 658px !important;
	}
}
