/* Load the menu typeface. */
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300);

/* Set the main sidebar menu dimensions and typography. */
#cssmenu {
  position: relative;
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  line-height: 1;
  width: 250px;
}

/* Float elements marked for right alignment. */
.align-right {
  float: right;
}

/* Reset list formatting for menu containers. */
#cssmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

/* Provide positioning context for every menu item. */
#cssmenu ul li {
  position: relative;
  margin: 0;
  padding: 0;
}

/* Normalize menu link interaction and decoration. */
#cssmenu ul li a {
  text-decoration: none;
  cursor: pointer;
}

/* Style first-level menu links. */
#cssmenu > ul > li > a {
  color: #dddddd;
  text-transform: uppercase;
  display: block;
  padding: 20px;
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  background: #222222;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  letter-spacing: 1px;
  font-size: 16px;
  font-weight: 300;
  -webkit-transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  -ms-transition: all 0.25s ease-in;
  -o-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;
  position: relative;
}

/* Round the top corners of the first primary item. */
#cssmenu > ul > li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

/* Round and close the bottom border of the last primary item. */
#cssmenu > ul > li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom: 1px solid #000000;
}

/* Highlight primary items in hover, open, and active states. */
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.open > a,
#cssmenu > ul > li.active > a {
  background: #151515;
  color: #ffffff;
}

/* Create the background triangle below an open parent menu item. */
#cssmenu ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-top: 13px solid #000000;
  border-bottom: 13px solid transparent;
  border-left: 125px solid transparent;
  border-right: 125px solid transparent;
  left: 0;
  bottom: -13px;
  bottom: 0px;
  z-index: 1;
  opacity: 0;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

/* Create the foreground triangle below an open parent menu item. */
#cssmenu ul > li.has-sub > a::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-top: 13px solid #151515;
  border-bottom: 13px solid transparent;
  border-left: 125px solid transparent;
  border-right: 125px solid transparent;
  left: 0;
  bottom: -12px;
  bottom: -1px;
  z-index: 3;
  opacity: 0;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

/* Draw the dropdown indicator for parent menu items. */
#cssmenu ul > li.has-sub::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: #dddddd;
  z-index: 2;
  right: 20px;
  top: 24.5px;
  pointer-events: none;
}

/* Brighten the dropdown indicator for interactive states. */
#cssmenu ul > li:hover::after,
#cssmenu ul > li.active::after,
#cssmenu ul > li.open::after {
  border-top-color: #ffffff;
}

/* Reveal the lower background triangle when a submenu is open. */
#cssmenu ul > li.has-sub.open > a::after {
  opacity: 1;
  bottom: -13px;
}

/* Reveal the lower foreground triangle when a submenu is open. */
#cssmenu ul > li.has-sub.open > a::before {
  opacity: 1;
  bottom: -12px;
}

/* Keep nested menus hidden until opened by the menu script. */
#cssmenu ul ul {
  display: none;
}

/* Add side borders to submenu rows. */
#cssmenu ul ul li {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

/* Style second-level menu links. */
#cssmenu ul ul li a {
  background: #f1f1f1;
  display: block;
  position: relative;
  font-size: 15px;
  padding: 14px 20px;
  border-bottom: 1px solid #dddddd;
  color: #5f5f5f;
  font-weight: 300;
  -webkit-transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  -ms-transition: all 0.25s ease-in;
  -o-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;
}

/* Add breathing room above the first submenu link. */
#cssmenu ul ul li:first-child > a {
  padding-top: 18px;
}

/* Remove inherited borders from third-level menu items. */
#cssmenu ul ul ul li {
  border: 0;
}

/* Highlight submenu links in hover, open, and active states. */
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.open > a,
#cssmenu ul ul li.active > a {
  background: #e4e4e4;
  color: #666666;
}

/* Match the open-state triangle border for nested parent items. */
#cssmenu ul ul > li.has-sub > a::after {
  border-top: 13px solid #dddddd;
}

/* Match the open-state triangle fill for nested parent items. */
#cssmenu ul ul > li.has-sub > a::before {
  border-top: 13px solid #e4e4e4;
}

/* Indent third-level menu links. */
#cssmenu ul ul ul li a {
  padding-left: 30px;
}

/* Resize and position the nested submenu indicator. */
#cssmenu ul ul > li.has-sub::after {
  top: 18.5px;
  border-width: 6px;
  border-top-color: #777777;
}

/* Update the nested dropdown indicator in interactive states. */
#cssmenu ul ul > li:hover::after,
#cssmenu ul ul > li.active::after,
#cssmenu ul ul > li.open::after {
  border-top-color: #666666;
}

/* --- Hover table --- */

/* Make the table fill its container and collapse cell borders. */
.hoverTable{
	width:100%;
	border-collapse:collapse; 
}

/* Style hover-table header cells. */
.hoverTable th{
	height:30px; background: #ffffff; color:#105183;
}

/* Align and separate hover-table data cells. */
.hoverTable td{ 
	height:30px; padding-top:3px;vertical-align:middle; 
	border-bottom:1px solid #ffffff;
	text-align:center;
}

/* Expand table links across their entire cell. */
.hoverTable td a{
	width:100%;display:block;
}

/* Apply the default row color and contrast. */
.hoverTable tr{
	background: #105183; color:#ffffff;
}

/* Darken rows when hovered. */
.hoverTable tr:hover {
	background-color: #0c426b;
}

/* Keep hover-table links readable. */
.hoverTable a {
	color:#ffffff;
}

/* Preserve link contrast on hover. */
.hoverTable a:hover {
  color:#ffffff;
}

/* --- OJS content and layout --- */

/* Separate article summaries with the journal accent color. */
.obj_article_summary {
    padding-bottom: 10px !important;
    color: #000000;
    border-bottom: solid 1px #d8c76b !important;
	font-size: 14px;
}

/* Remove extra vertical space from the page structure. */
.pkp_structure_page {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Make footer content span the full available width. */
.pkp_footer_content {
  float: none;
  width: 100%;
  clear: both;
  padding-top: 10px;
  padding-bottom:10px;
}

/* Style the OJS brand area in the footer. */
.pkp_brand_footer {
  background: #0f5a50;
  padding: 2px;
}

/* Set footer wrapper background and accent border. */
.pkp_structure_footer_wrapper {
    background: #fff;
    border-top: 5px solid #d8c76b;
    border-bottom: 0px solid grey;
}

/* Justify article abstract text and set its font family. */
.obj_article_details .abstract {
    text-align: justify;
    font:tahoma,geneva,sans-serif;
}

/* Constrain the site-logo image while preserving proportions. */
.pkp_site_name .is_img img {
    display: inline-block;
    max-height: 100px;
    max-width: 100%;
    width: auto;
    height: auto;
}

/* Add horizontal spacing around the site name and primary navigation. */
.pkp_site_name_wrapper, .pkp_navigation_primary_row {
    padding-left: 10px;
    padding-right: 10px;
}

/* Fine-tune vertical spacing around the site name. */
.pkp_site_name {
    padding-top: 5px;
	padding-bottom: 2px;
}