/*!
Theme Name: the Righting
Theme URI: https://them.es/starter
Author: Amanda Alic
Author URI: https://amandaalic.com
Description: the righting 2023
Version: 4.4.9
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: the-righting
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/assets/dist/main.css" */

/* From http://codex.wordpress.org/CSS */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1240px !important;
  }
}

#searchinmenu {
margin-left: 0;
}
@media (min-width: 992px) {
	#searchinmenu {
	margin-left: 20px;
	}
}


.navbar-toggler-icon {
  background-image: url('https://therighting.com/wp-content/themes/the-righting/hamburger-menu-more-svgrepo-com.svg') !important;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100%;
  display: inline-block;
  height: 1.5em;
  vertical-align: middle;
  width: 1.5em;
}



#wrapper {
	background: #ffffff;
}

header {
	min-height:140px;background: #ffffff;
}
header.entry-header {
	min-height:  auto;background: #fff;

}

#main header {
min-height: auto !important;
padding-bottom: .05rem;
}



header.card-body    {
min-height: auto !important;
padding-bottom: .5rem !important;
}

#tagline {
	height:44px;background: #ffffff;color: #123698;
}

#main {
	background: #fff;margin-top: 0;padding: 20px;
}

h1,h1.entry-title, .h1 {
	font-family: "Domine", Times, serif; 
	font-size: 1.85rem;
}
 .h1, h1 {
    font-size: 1.85rem !important;
    font-weight: 700 !important;
  }
@media (min-width: 1200px) {
  .h1, h1 {
    font-size: 1.85rem;
     font-weight: 700 !important;
  }
}

h2, .h2 {
	font-family: "Domine", Times, serif; 
	font-size: 1.5rem;
}
.domine {
	font-family: "Domine", Times, serif; 
}


#sidebar h2.wp-block-heading {
font-size: 1.5rem;
/* redcolor: #d70000; */
color: #123698;
text-transform: uppercase;
}

h3, .h3 {
	font-family: "Roboto", Arial, sans-serif; 
	font-size: 1.375rem !important;
	font-weight: 500;
}
h3.domine {
	font-family: "Domine", Times, serif; 
	font-size: 1.75rem !important;
	font-weight: 500;
}


#footer h3.widget-title{
margin-top: 1.5rem;
text-align: center;
font-size: 1.25rem !important;
}


.roboto{font-family: "Roboto", Arial, sans-serif; }
h4, .h4 {
	font-family: "Domine", Times, serif; 
	font-size: .9375rem !important;
	margin-bottom: .8rem !important;
}
h5, .h5, {
	font-family: "Domine", Times, serif; 
	font-size: .875rem !important;
}
body, p {
font-weight: 400;
	font-family: "Domine", Times, serif; 
	font-size: 1rem !important;
}
h6, .h6 {
	font-family: "Domine", Times, serif; 
	font-size: .8rem !important;
  line-height: 1.25rem !important;

}
.red { 
	color: #d70000;
}
.red.source {
	font-size: 1.2rem !important;
}

.category-archive-meta a:link,.category-archive-meta a:visited {color: #d70000 !important;}
.category-archive-meta a:hover,.category-archive-meta a:active {color: #3149cf !important;}

/* old blue 123698*/
.navbar-brand img {height: 50px !important;}

@media (min-width: 576px) { 
		.navbar-brand img {height: 60px !important;}
 }
 
@media (min-width: 992px) { 
		.navbar-brand img {height: 60px !important;}
 }
@media (min-width: 1200px) { 
		.navbar-brand img {height: 70px !important;}
 }
 


a:link, a:visited {color: #000;}
a:hover, a:active {color: #3149cf;}
.hentry a:link,.hentry a:visited {color: #d70000 !important;}
.hentry a:hover,.hentry a:active {color: #3149cf !important;}
 

.postcontent a:link,.postcontent a:visited {color: #000 !important;}
.postcontent a:hover,.postcontent a:active {color: #3149cf !important;}

a.red:link, a.red:visited {color: #d70000;}
a.red:hover,a.red:active {color: #3149cf;}

.black { 
	color: #000000;
}
a.black:link, a.black:visited {color: #000000 !important;}
a.black:hover, a.black:active {color: #3149cf !important;}


.scroll-title a.black:link {color: #000000 !important;}
.scroll-title a.black:hover {color: #3149cf !important;}



 ul#menu-primary {
flex-direction: column;
}

.dropdown-menu.show {
	position: relative !important;
	border-radius: 0 !important;
		border: 0 !important;
	 		transform: translate3d(0px, 10px, 0px) !important;
	margin-left: -10px !important;
 margin-bottom: 20px !important;
}

.dropdown-menu li.menu-item {
	text-align: center;
	
}

@media (min-width: 992px) { 
	ul#menu-primary {
		flex-direction: row;
	}
	.dropdown-menu.show {
		position: absolute !important;
		border-radius: 0 !important;
		border: solid 1px #ccc !important;
		transform: translate3d(0px, 37.5px, 0px) !important;
		margin-left: 0 !important;
		margin-bottom: 0 !important;
	}
	.dropdown-menu li.menu-item {
	text-align: left;
	
	}
 }
 
a.nav-link:link, a.nav-link:visited{color: #000 !important; text-transform: uppercase;}
a.nav-link:hover, a.nav-link:active{color: #3149cf !important;}

#navbar{
	font-size: 13px;
	background: #dbdbdb;
	padding-left: 10px;

}

@media (min-width: 993px) { 
	#navbar {
	background: transparent;
	padding-left: 0;
	}
 }

@media (min-width: 1200px) { 
	#navbar {
	font-size: 15px;
	background: transparent;
  padding-left: 0;
	}
 }

#menu-primary li:last-child a.nav-link:link, #menu-primary li:last-child a.nav-link:visited{
	background: #123698;
	color: #fff !important;
	margin-left: -10px;
	padding-left: 10px;

}
#menu-primary li:last-child a.nav-link:hover, #menu-primary li:last-child a.nav-link:active{
	background: #ccc;
	color: #000 !important;
}

#menu-primary  {margin-bottom: 15px;}

.srch {padding-bottom: 20px;margin-left: 0;font-size: 1.25rem;}

@media (min-width: 993px) { 
	#menu-primary li:last-child a.nav-link:link, #menu-primary li:last-child a.nav-link:visited{
		background: #123698;
		color: #fff !important;
	margin-left: auto;
	padding-left: auto;
	}
	.srch {padding-bottom: 8px;margin-left: 20px;font-size: 1.25rem;}


}


@media (min-width: 1200px) { 
	#menu-primary li:last-child a.nav-link:link, #menu-primary li:last-child a.nav-link:visited{
		background: #123698;
		color: #fff !important;
	margin-left: auto;
	padding-left: auto;
	}

}

#menu-primary .current_page_item a.nav-link:link, a.nav-link:visited {font-weight: 700}
	
	
.caption {font-family: 'Roboto',Arial,sans-serif; font-size: .75rem !important;color:#666;font-style: italic;margin-bottom: .6rem !important;}

.gray {
	color: #666;
}
.gray-date {
	color: #666;
	font-size:.875rem;letter-spacing: -.5px;
 
}
.black-date {
	color: #000;
	font-size:.875rem;letter-spacing: -.5px;
 
}


a.gray:link,a.gray:visited {color: #666; font-weight: 700}
a.gray:hover {color: #3149cf;}

a.grayoriginal:link,a.grayoriginal:visited {color: #666; font-size:.875rem;}
a.grayoriginal:hover {color: #3149cf;}

.blue {
	color: #123698;
}

h3.blue a:link,h3.blue a:visited,a.blue:link,a.blue:visited {color: #123698 !important; }
h3.blue a:hover, a.blue:hover {color: #000000 !important;}



.original-link{
	font-family: "Roboto", Arial, sans-serif; 
	letter-spacing: -.5px;
	font-weight: 700;
}

.original-grid-link{
	font-family: "Roboto", Arial, sans-serif !important; 
	letter-spacing: -.5px !important; 
	font-weight: 700 !important; 
	font-size: 16px !important; 
}


a.tag-cloud-link:link, a.tag-cloud-link:visited {
	background: #e7e7e7; 
	padding: 2px 10px;
	border-radius: 0;
	color: #000;
	font-family: 'Roboto', Arial, sans-serif;

}
a.tag-cloud-link:hover, a.tag-cloud-link:active {
	background: #123698; 
	color: #fff;

}

a.tag-cloud-link[style*="font-size: 8"], a.tag-cloud-link[style*="font-size: 8"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}
a.tag-cloud-link[style*="font-size: 9"], a.tag-cloud-link[style*="font-size: 9"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}

a.tag-cloud-link[style*="font-size: 10"], a.tag-cloud-link[style*="font-size: 11"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}
a.tag-cloud-link[style*="font-size: 10"], a.tag-cloud-link[style*="font-size: 12"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}

a.tag-cloud-link[style*="font-size: 12"], a.tag-cloud-link[style*="font-size: 13"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}
a.tag-cloud-link[style*="font-size: 14"], a.tag-cloud-link[style*="font-size: 15"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}
a.tag-cloud-link[style*="font-size: 16"], a.tag-cloud-link[style*="font-size: 17"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}
a.tag-cloud-link[style*="font-size: 18"], a.tag-cloud-link[style*="font-size: 19"], 
a.tag-cloud-link[style*="font-size: 2"] {
   font-size: 15px !important;margin-top: 5px;margin-bottom: 5px;
}

#menu-footer {
	list-style: none;
	text-transform: none;
	padding-left: 0;
	text-align: center;
}
#menu-footer li{
	margin-bottom: 8px;
}
#menu-footer a{
	text-decoration: underline;
	color: #666666;
	font-size: .85rem;
}


.top-of-the-day a:link,.top-of-the-day a:visited {
	color: #d70000;
}
.top-of-the-day a:hover,.top-of-the-day a:active {
	color: #3149cf;
}

.postnav .btn{
	border-radius: 0 !important;
	background: none !important;
	border: none !important;
	font-size: 1rem !important;
	box-shadow: none !important;
	color: #123698;
	padding-left: 0 !important;
	padding-right: 0 !important;
	font-family: "Domine", Times, serif;
	font-weight: 700;
	font-style: italic;
}
.postnav .btn:hover{
	color: #d70000;
}


.author-bio p:last-of-type { margin-bottom: 0 !important; }

.postcontent a:first-of-type { display: none; }
.card-body .card-text a:first-of-type {
  display: none;
}
.card-body footer.entry-meta {
	margin-top: 0;
  line-height: .5rem;
  font-size: 1rem !important;
}


.graybg {
	background: #efefef !important;
}
 
 .date-month {
			padding-left: 0rem !important;
		}
@media (min-width: 768px) { 

		.date-month {
			padding-left: .5rem !important;
		}

 }
 		

 
.scroll-date {
	font-family: "Domine", Times, serif; 
	font-size: 3.75rem;
		color: #d70000; 
	/*	color: #123698; AA */
		line-height: 3.75rem;
		font-weight: 700;
	}
.scroll-month {
	font-family: "Domine", Times, serif; 
	font-size: 1.5rem;
	line-height: 1.5rem;
	color: #000;
	margin-top: -6px;
	font-weight: 700;
}

.scroll-title::before {
content: '¥';
 
  height: 1rem;
  left: 1rem;
}

.scroll-post{
	position: relative;
}

.scroll-title::before
{
  background-color: #d70000;
/*  background-color: #123698; */
  content: "";
   display:block;
  height: 1rem;
  left: -1.3rem;
  mask-image: url(dot.svg);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  position: absolute;
  top: .5rem;
  width: 1rem;

}

h2.home-originals-heading {
font-family: "Domine", Times, serif; 
	font-size: 1.5rem;
	color: #000;
}
.home-originals-heading::first-letter {
  font-size: 150%;
  color: #d70000;
}
hr.home-upper-hr{
  border-top: 1px solid #cccccc;
  height: 0;
  color: transparent;
  margin-top: 0;
}

hr.home-hr{
  border-top: 1px solid #cccccc;
  height: 0;
  color: transparent;
  margin-top: .5rem;
}
hr.home-hr-dark{
  border-top: 1px solid #000;
  height: 0;
  color: transparent;
  margin-top: .5rem;
}
 
.intro-text{
font-family: "Domine", Times, serif; 
	font-size: 1.1rem;
	line-height: 1.5rem;
	color: #000;
}

.more-button {
	margin-top: 8px;
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
  padding-left: .5rem !important;
  padding-right: .5rem !important;
  background: #123698 !important;
  color: #fff !important;
  border: 0 !important;
  
}
.postnav a.more-button:link, .postnav a.more-button:visited {
  color: #ffffff !important;
  }
.postnav a.more-button:hover, .postnav a.more-button:active {
   background: #e5e5e5 !important;
  color: #123698 !important;
  }

#footer {
background: transparent !important;
}
#footer .container {
	background: #fff;
	padding: 20px;
}

.subscribe-button, .search-button {
margin-top: 8px;
padding-top: .125rem !important;
padding-bottom:  .125rem !important;
background: #123698 !important;
color: #fff !important;
border: 0 !important;

}
.disabled {

}
ul.wp-block-social-links{
margin-top: 1.5rem;
}
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor {
  color: #000 !important;
  background: #ffffff !important;
  font-size: 1rem;

}
.wp-block-social-links .wp-social-link svg
{
  height: 1.5em;
  width: 1.5em;
}
.wp-block-social-links .wp-social-link a{
padding: 0 !important;
}


@media (min-width: 992px) { 

		#footer .footer-logo   
{
  float: right;
  margin: .5em 1em .5em 0;
}

 }
 
 
#footer figcaption{
text-align: left;
  color: #000;
  font-style: italic;
  font-weight: 500;
}
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.post-thumbnail img {
  height: auto;
  
  width: 100% !important;
}

.featured_caption {margin-bottom: .75rem;font-style: italic;font-size: .85rem;color: #666;}

 .originalsimage {
                    max-width: 100%;
                    display: block;
                    height: auto;
                }
.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
