/* CMS+ colors */
:root {
	--alternate-tr-color-bg: #ccf2ff;
	--badge-bg-color: grey;
	--badge-bg-color-staff: blue;
	--badge-color: white;
	--card-anchor-color-bg: #e7e7e7;
	--card-anchor-color: #4f4f4f;
	--card-tip-color: blue;
	--comment-color: darkgrey;
	--comment-color-bg: #f9f9f9;
	--comment-color-border: darkgrey;
	--comment-color-hover: black;
	--comment-link-color: #645d5d;
	--comment-thumb-color: darkgrey;
	--comment-thumb-color-dn: black;
	--comment-thumb-color-up: blue;
	--comment-thread-color: #e0e0e0;
	--comment-thread-color-hover: #cbd5e1;
	--iframe-border-color: #ECECEC;
	--pagination-hr-color: #00F;
	--post-info-color: grey;
	--post-rating-color: darkgrey;
	--post-rating-color-bg: white;
	--readmore-anchor-color: red;
	--sup-color: red;
	--thumbnail-color-bg: transparent;
	--thumbnail-color-border: #dee2e6;
}

/* headngs */
h1 { font-size: 2.0em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.0em; }
h5 { font-size: 0.75em; }
h6 { font-size: 0.5em; }

sup {
    color: var(--sup-color);
    display: inline;
}


/* striped tables custom alternate color on even rows */
.table.table-striped tr:nth-child(2n) {
	background: var(--alternate-tr-color-bg);
}

/* pagination among posts and comments */
.pagination {
	display: block ruby !important;
	margin-bottom: 20px !important;
	margin-top: 20px !important;
	text-align: center;
	width: 100%;
}
.paginator hr {
	border-top: solid 1px var(--pagination-hr-color);
}

/* general page/post content */
#left_container {
	padding-right: 20px;
	text-align: justify;
}
/* this is the content in left column */
#left_container section:first-of-type {
	min-height: 1000px;
}

/* sidebar in right column */
#right_container .card-body a {
	display: block;
	padding: 0px;
}
#right_container .card-body a:hover {
	background: none;
	text-decoration: underline;
}

/* sidebar cards in right side of page */
.card-blesta > .card-header {
	margin-top: 0;
	padding-left: 15px;
	text-align: center;
	text-transform: uppercase;
}
.card-body a {
    border-radius: 4px;
	color: var(--card-anchor-color);
	display: block;
	padding: 0px;
	width: 100%;
}
.card-body .active {
	background-color: var(--card-anchor-color-bg);
	color: var(--card-anchor-color);
	text-decoration: none;
}
.card-body a:hover {
	background-color: var(--card-anchor-color-bg);
	color: var(--card-anchor-color);
	text-decoration: none;
}

/* all thumbnail images */
.img-thumbnail {
  padding: .25rem;
  background-color: var(--thumbnail-color-bg);
  border: 1px solid var(--thumbnail-color-border);
  border-radius: .25rem;
  max-width: 100%;
  height: auto;
}

/* this is the table that contains an author's post 
   and comment count, total contributions to the 
   site, and ranking (sidebar) */
#cmsplus-author-summary a {
    display: inline !important;
    padding: 0px !important;
}
#cmsplus-author-summary .tip {
    color: var(--card-tip-color);
    font-size: 8pt;
    padding-top: 5px;
    opacity: .75;
}
#cmsplus-author-summary .tip a {
    font-weight: 700;
}


/* for flash/set message element */
.error_section {
	min-height: 0 !important;
}

/* all input fields in general */
input,
select,
textarea {
	padding: 2px;
}

/* for media elements */
iframe {
	border: solid 1px var(--iframe-border-color);
	display: block;
}


/* categories */
#cms-plus-read-more {
    color: var(--readmore-anchor-color);
}

/* for reCaptcha in modal for adding posts */
#addPostModal .modal-body iframe { width: 100% !important; }
#addPostModal .text-muted {
    font-size: 10pt;
    font-style: italic;
}
#addPostModal .alert {
    font-size: 80%;
}

figure table td {
	border: 0px; 
}

