/*
Theme Name: IJMAAS
Theme URI: https://www.ijmaas.com
Author: Ransom Kwelle
Author URI: https://www.webinvent.com.ng
Description: Custom theme for IJMAAS
Version: 2.0
*/

/* UTILITIES */
img {
  max-width: 100%;
}
.flex {
  flex: 1;
}
img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
a img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
a img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.second-color {
  color: #85586f !important;
}

.primary-color-text {
  color: #800000;
}
.primary-color-bg {
  background-color: #800000;
}

/* HEADER */
header .container {
  _background-color: #fff;
}
header h3 {
  font-weight: bold;
}
#searchdiv {
  display: flex;
  align-items: center;
}
.searchform {
  margin-top: 10px;
  margin-bottom: 10px;
  display: inline-block;
  zoom: 1; /* ie7 hack for display:inline-block */
  border: solid 1px #800000;
  padding: 3px 5px;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
  background: #800000;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#800000),
    to(#800000)
  );
  background: -moz-linear-gradient(top, #800000, #800000);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#800000', endColorstr='#800000'); /* ie7 */
  -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#800000', endColorstr='#800000'); /* ie8 */
}
.searchform input {
  font: normal 12px/100% Arial, Helvetica, sans-serif;
}
.searchform .searchfield {
  background: #fff; /* d9e8a7 - pastel green */
  padding: 6px 6px 6px 8px;
  width: 202px;
  border: solid 1px #800000;
  outline: none;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
.searchform .searchbutton {
  color: #fff;
  border: solid 1px #494949;
  font-size: 11px;
  height: 27px;
  width: 27px;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
  background: #5f5f5f;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#c9b1c6),
    to(#85586f)
  );
  background: -moz-linear-gradient(top, #c9b1c6, #85586f);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#C9B1C6', endColorstr='#85586F'); /* ie7 */
  -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#C9B1C6', endColorstr='#85586F'); /* ie8 */
}
.searchform .searchbutton:hover {
  cursor: pointer;
}
p.tagline {
  color: #85586f;
  font-weight: bold;
}
.active {
  background: #85586f;
}

.journal-cover {
  border: 2px solid #212529;
  background: url(img/tiger.png) no-repeat;
  box-shadow: 10px 10px 5px #ccc;
  -moz-box-shadow: 10px 10px 5px #ccc;
  -webkit-box-shadow: 10px 10px 5px #ccc;
  -khtml-box-shadow: 10px 10px 5px #ccc;
}

/* NAVIGATION BAR */
nav {
  background-color: #800000;
  width: 100%;
  z-index: 100;
}
nav ul {
  padding: 0;
  margin: 0;
}
nav ul li {
  position: relative;
  display: inline-block;
}
nav ul li a {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 18px;
}

nav ul li a:hover {
  background: #85586f; /*#78b218*/
  text-decoration: none;
  color: #fff;
}

.active,
.current-menu-item,
.current_page_item {
  background: #85586f;
}

/*  SLIDER */
#slider,
#slider_area,
.slide {
  height: 400px;
}
#slider {
  position: relative;
  width: 100%;
}
#slider_area {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  z-index: 1;
  padding: 0px;
}
.slide {
  width: 1110px;
  position: relative;
  overflow: hidden;
}
.slide .image {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 5;
  float: right;
  padding: 0px !important;
}

/* prev and next buttons*/
.prev,
.next {
  cursor: pointer;
  margin-top: 210px;
  width: 14px;
  position: absolute;
  top: 0;
  height: 40px;
  z-index: 999;
  text-align: center;
  background: #800000;
}
.prev {
  left: -14px;
}
.next {
  right: -14px;
}
.prev:hover,
.next:hover {
  background: #85586f;
}
.prev img,
.next img {
  margin-top: 10px;
}
/* Home page - main */
.vision {
  background: #800000;
  color: #fff;
  padding-left: 2rem;
  padding-right: 1rem;
}
.vision p {
  margin-top: 1rem;
}
.main {
  margin: 4rem 0;
}
.welcome {
  color: #85586f;
}
.featured img {
  margin-bottom: 20px;
}
.h-4 {
  height: 4rem;
}
.page-title {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #21252b;
}
.title-bg {
  color: #fff;
  background-color: #800000;
  padding: 2px 10px 5px;
}
article {
  margin-bottom: 2rem;
}
article .title a {
  color: #212529;
}
.journal-paper {
  display: flex;
}
.journal-paper .download-link {
  margin-right: 10px;
  color: #85586f;
}
.journal-paper a.title {
  font-size: larger;
}
.journal-paper .authors {
  font-style: italic;
}
.current-issue {
  border-bottom: 1px solid #aaa;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.journal-volume {
  display: flex;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding-top: 1rem;
  margin-bottom: 2rem;
}
.btn-journal-download {
  color: #fff;
  background-color: #85586f;
  border-color: #85586f;
}
.btn-journal-download:hover {
  color: #fff;
  text-decoration: dotted underline;
}

aside {
  margin-bottom: 3rem;
}
.plain-ul {
  padding: 0;
  margin-top: 1rem;
  list-style: none;
}
.plain-ul li {
  padding-bottom: 4px;
  margin-bottom: 5px;
  border-bottom: 1px dotted #21252b;
}
.plain-ul a {
  display: block;
  text-decoration: none;
  color: #21252b;
}
.plain-ul a:hover {
  font-size: larger;
}
.ul-list {
  padding: 0;
  list-style: none;
  margin-top: 1rem;
}
.ul-list li {
  padding-left: 10px;
  padding-bottom: 4px;
  margin-bottom: 5px;
}
.ul-list li a {
  color: #21252b;
  padding-bottom: 3px;
  border-bottom: 1px dotted;
}
.ul-list li a:hover {
  text-decoration: none;
  border: none;
}

/* FOOTER */
footer {
  margin-top: 2rem;
  background: #800000;
  color: #fff;
  padding: 5px 0 5px 0;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: dotted underline;
  color: #fff;
}
.underline {
  text-decoration: underline;
}

/* set width of logo as the minimum of 200px & 50vw */
#logo-img {
  width: min(50vw, 200px);
}

/*
** Contact Form 7 Styles
*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="textarea"],
textarea {
  font-size: 14px;
  font-family: Georgia;
  border: 1px solid #85586f;
}

.wpcf7 input[type="submit"] {
  background: #00983d;
  color: #fff;
  padding: 7px 15px;
  border: none;
}

.h-title {
  color: #07a346;
}
.t-title {
  color: #0c2f87;
  font-weight: bold;
}

/* ---- IJMAAS v2 additions: append to the end of style.css ---- */
.article-title{font-size:1.6rem;line-height:1.3;margin-bottom:.5rem}
.authors{margin-bottom:.25rem;font-weight:600}
.affiliations{font-size:.85rem;color:#555;padding-left:1.2rem}
.kw{display:inline-block;background:#eef2f6;border-radius:3px;padding:2px 8px;margin:0 4px 4px 0;font-size:.85rem}
.cite-box{background:#f7f7f7;border-left:4px solid #999;padding:12px 15px;margin:1.5rem 0;font-size:.9rem}
.journal-entry{border-bottom:1px solid #e5e5e5;padding:.75rem 0}
.btn-journal-download{background:#8b1a1a;color:#fff}.btn-journal-download:hover{color:#fff;opacity:.9}
.board-heading{font-size:1.3rem;margin:1.5rem 0 .75rem}
.board-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.board-member{border:1px solid #e1e1e1;border-radius:4px;padding:14px}
.board-photo{width:80px;height:80px;object-fit:cover;border-radius:50%;float:right;margin-left:10px}
.board-name{font-size:1.05rem;margin:0 0 6px}
.board-areas,.board-aff,.board-orcid{font-size:.85rem;margin:0 0 4px}
.site-footer{padding:20px 0;border-top:1px solid #ddd;margin-top:30px;font-size:.9rem}
.screen-reader-text{position:absolute;left:-9999px}
/* Pagination: small tiles, left-aligned, no maroon bar */
nav.navigation.pagination{background:none;width:auto;margin:1.5rem 0}
.navigation.pagination .nav-links{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}
.navigation.pagination .page-numbers{display:inline-block;min-width:36px;padding:5px 10px;text-align:center;text-decoration:none;text-transform:none;color:#800000;background:#fff;border:1px solid #800000;border-radius:3px}
.navigation.pagination a.page-numbers:hover{background:#85586f;border-color:#85586f;color:#fff}
.navigation.pagination .page-numbers.current{background:#800000;color:#fff}
.navigation.pagination .page-numbers.dots{border:0;background:none;color:#555;min-width:0;padding:5px 2px}

/* Page titles keep the old h3 look even though they are h1 now */
.page-title,h1.page-title{font-size:1.75rem}
.title-bg{display:block}
.side-issn{margin:.5rem 0}

ul.list-unstyled li {
    padding-bottom: 4px;
    margin-bottom: 5px;
}
ul.list-unstyled li a {
    color: #21252b;
    padding-bottom: 3px;
    border-bottom: 1px dotted;
}
ul.list-unstyled li a:hover {
    text-decoration: none;
    font-weight: bold;
}
