/*
Theme Name: DAoC Block Theme
Theme URI: 
Author: The DAoC Team
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daoc-block-theme
Tags: 
*/

/* embedded fonts ------------------------------------------------------------------------------------------- 
@font-face {
    font-family: 'KingthingsExeterRegular';
    src: url('assets/fonts/Kingthings_Exeter-webfont.eot');
    src: url('assets/fonts/Kingthings_Exeter-webfont.eot?#iefix') format('embedded-opentype'),
               url('assets/fonts/Kingthings_Exeter-webfont.woff') format('woff'),
               url('assets/fonts/Kingthings_Exeter-webfont.ttf') format('truetype'),
               url('assets/fonts/Kingthings_Exeter-webfont.svg#KingthingsExeterRegular') format('svg');
      font-weight: normal;
      font-style: normal;
}
  
@font-face {
    font-family: 'MatizRegular';
    src: url('assets/fonts/Matiz-webfont.eot');
    src: url('assets/fonts/Matiz-webfont.eot?#iefix') format('embedded-opentype'),
    url('assets/fonts/Matiz-webfont.woff') format('woff'),
    url('assets/fonts/Matiz-webfont.ttf') format('truetype'),
    url('assets/fonts/Matiz-webfont.svg#MatizRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
end embedded fonts ------------------------------------------------------------------------------------------- */

/* Ensure all links, including legacy content, use the correct color */
a {
  color: #382825;
  text-decoration: none !important;
}

a:hover,
a:focus {
  color: #382825;
}

body {
    background-color:#3b3626;
    background-image: url(assets/images/DAoC_fixed.jpg) ;	
    background-repeat:no-repeat;
    background-position:center bottom;	
    background-attachment:fixed;		
    color:#382825;
    font-family: Arial, Helvetica, "Nimbus Sans L", FreeSans, sans-serif;
    font-size: 13px;
    line-height: 150%;
  } 

.header-glow {
	background-image: url(assets/images/rohead_cloud-glow.png);
    width:100%;
	height:294px;
    margin:auto;
    background-repeat:no-repeat;
    background-position:center bottom;
	visibility:visible;
	position:fixed;
	top:22px;
    z-index: -1;
}

.header-ro-box {
    background-image: url(assets/images/rohead_background.png);
    width:100%;
	height:461px;
    margin: auto auto 20px auto;
    background-repeat:no-repeat;
    background-position:center bottom;
	visibility:visible;
    top:22px;
    position: relative;
}

.header-ro-main-image {
	position: relative;
	clear: none;
	overflow: visible;
	text-align: center;
	top: 17px;
	left: 2px;
}

#header-ro-logo {
	position: absolute;
	width: 280px;
	padding-top: 7px;
	padding-bottom: 5px;
	z-index: 301;
	left: 374px;
}

#triallink-wrapper {
	position: relative;
	top: 365px;
	width: 260px;
	margin: auto;
}

#triallink {
	position: relative;
	width: 100%;
	height: 103px;
	margin: auto;
	background-repeat: no-repeat;
	background-position: center bottom;
	visibility: visible;
	position: absolute;
	z-index: 200;
}

.ro_caption, .ro_caption a {
    position: absolute;
    top: 75px;
    left: 202px;
    width: 260px;
    z-index: 300;
    clear: none;
    min-height: 1.1em;
	font-family: MatizRegular, Geneva, Arial, Helvetica, sans-serif;
	font-size: 28px;
    font-weight: 700;
	line-height: 1.1em;
	color: #FFBC00;
	background-color: transparent;
	text-shadow: #000 0em 0.1em 0.1em;
	filter: shadow;
	overflow: visible;
	border: none;
	background: none;
	text-decoration: none;
}

.quarter-width-image-container{
    margin-left: 10px;
    margin-right: 29.31px;
    display: flex;
    gap: 7.23px;
}

.quarter-width-image{
    width: 230px;
    height: 142px;
    margin-top: 0px;
}


.footer-text{
    color: #999999;
    text-decoration: none;
    font-size: 10px;
    text-align: center;
    font-weight: bold;
}

.footer-text-margin{
    margin-top: 12px;
}

footer a {
    color: #999999;
    text-decoration: none;
    font-family: Arial, Helvetica, "Nimbus Sans L", FreeSans, sans-serif;
  }

.dual-logo-container{
    margin: auto;
    width:200px; 
    column-gap: 4px !important;
}
.broadsword-logo{
    width: 125px !important;
}

.ea-logo{
    width: 70px !important;
}

.image-align-center{
    justify-content: center;
}

.esrb-container{
    width: 100px;
}

.image-contain{
    object-fit: contain !important;
}

/* format articles ------------------------------------------------------------------------------------------ */

/* header for story on all pages */
.article-H2 {
	font-size:24px;
  line-height:30px;
  color:#382825;
  text-decoration:none;
 	font-family: KingthingsExeterRegular, "Times New Roman", Times, serif;
}  	

/* set size of "Posted by" text above each story */
.smallerfront {
  font-size:11px;
}

/* set size of "Posted by" text above each story - separate pages */
.smallertext {
  font-size:11.5px;
	margin-top:1px;
	margin-left:3px;
}

/* end article formatting --------------------------------------------------------------------------------------- */

.read-more-button {
    padding-top: 10px;
    padding: 8px 12px;
    color: #382825;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    float: right;
    font-size: 16px !important;
}
/* .read-more-button:hover {
    background-color: #005177;
} */
 
/* Editing pagination */
.middle-pagination {
    max-width: 100%;
    margin: 2rem auto;
    display: flex;
    flex-wrap: nowrap; /* Force one line */
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.middle-pagination > * {
    flex-shrink: 1;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap; /* Prevent internal line-breaks */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style the individual pagination items */
.custom-pagination {
    color: #382825;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px !important;
    display: inline-block;
    white-space: nowrap; /* Prevent text wrap */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Apply to page number elements specifically */
.custom-pagination .page-numbers {
    margin-right: 10px;
    color: #cf7417;
    white-space: nowrap;
}

.custom-pagination .page-numbers:not(.current) {
    color: #DCDCDC;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
  .middle-pagination {
    max-width: 90%; /* Let it grow on small screens */
  }
}
/* End pagination */

/* Editing the search field */

.custom-search-style {
  display: flex;
  flex-direction: column; /* default order: label above input */
  align-items: center;
  text-align: center;
}

.custom-search-style label {
  margin-bottom: 0.5rem;
  text-align: center;
}

.wp-block-search__input {
    background-color: #eeddb9 !important;
    margin-top: 5px;
    margin-bottom: 5px;
}

.wp-block-search__input:focus {
    outline: none;
    box-shadow: none;
    border-color: #ccc; /* optional: light border to keep it visible */
}

/* End search editing */

.spacer {
  height: 4px;
  background: linear-gradient(90deg,rgba(56, 40, 37, 0) 5%, rgba(56, 40, 37, .75) 50%, rgba(56, 40, 37, 0) 95%);
}

/* Navigation menu */

.mainHeader {
    background-image: url(assets/images/nav-bar.png);	 
	background-position:center top;
	margin:0 auto;
	position:fixed;
	top:0px;
	background-repeat:repeat-x;
	width:100%;
	height:36px;    
	left:0;
	z-index:501;
}
.wp-block-group.wp-block-group-is-layout-flex > nav.wp-block-navigation {
  margin-top: -4px;
}

.wp-block-navigation__container {
  display: flex;
  gap: 3.5rem;
  width: 900px; /* Adjust to desired width */
  max-width: 100%; /* Prevent overflow on small screens */
}

.wp-block-navigation__container a {
  font-size: 14px; /* Adjust size as needed */
  line-height: 1.2;
  font-weight: bold; /* Optional: make it bolder */
  padding-bottom: 5px;
  vertical-align: top; 
}

/* Always render the submenu toggle but make it invisible by default */
.wp-block-navigation-submenu__toggle {
  visibility: hidden;
  width: 1.5em; /* reserve space */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: visibility 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

/* On hover, make the arrow visible */
.wp-block-navigation-item.has-child:hover .wp-block-navigation-submenu__toggle {
  visibility: visible;
  opacity: 1;
}

.wp-block-navigation__submenu-container {
  background-color: rgba(32, 30, 20, .70) !important; /* dark background, 85% opaque */
  color: #C6AC77 !important;                           /* white text */
  padding: 0.5em 1em;
  border-radius: 4px;                    /* optional: rounded corners */
  z-index: 999;                          /* ensure it appears above other elements */
}

.wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child {
  position: relative;
}

/* Third-level submenu */
.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
  position: absolute;
  top: 0.5em !important;     /* ~5-8px depending on font size */
  left: 100%;
  z-index: 999;
}

/*  custom formatting classes ----------------------------------------------------------------------------- */

.pagetitle {
    text-transform: uppercase;
    font-family: MatizRegular, Geneva, Arial, Helvetica, sans-serif;
    max-width: 900px;
    padding-left: 20px;
    padding-bottom: 5px;
    margin: -115px 10px 10px 10px;
    font-weight: bold;
    font-size: 36px;
}

.centery {
  text-align:center;
	margin:auto;
}	 

.automarginclass {
	margin:auto;
}	 

.cleary {
  clear:both;
}	
 
.indenty {
  padding-left:100px;
	padding-right:100px;
	font-size:14px;
}	

.indentyright {
  padding-left:150px;
	padding-right:100px;
}	

.indentyclass {
  padding-left:300px;
}	

.h2indenty {
    margin: 0 0 0 0;
    margin-top: -95px;
    padding-right: 65px;
    font-family: MatizRegular, Geneva, Arial, Helvetica, sans-serif;
    font-size: 24px;
    float: right;
}

.lefty20 {
  float:left;
  padding-right:20px;
  padding-bottom:20px;
}

.lefty {
  float:left;
}

.smaller {
  font-size:12px;
}	

.lefty10 {
  float:left;
  padding-right:10px;
  padding-bottom:10px;
}

.lefty-category {
  float:left;
  padding-right:10px;
  padding-top:5px;
	padding-bottom:20px;
}

.leftypadimg {
  float:left;
	padding-top:20px;
  padding-right:30px;
  padding-bottom:20px;
}	

.righty10 {
  float:right;
  padding-right:10px;
	padding-bottom:10px;
}

.righty20 {
  float:right;
  padding-left:20px;
	padding-bottom:20px;
}

.righty25 {   
  float:right;
  padding-right:25px;
}

.righty {
  float:right;
}   

.rightypad {
  float:right;
	padding-left:20px;
	padding-bottom:30px;
}  
 
.rightypadimg {
  float:right;
	padding-top:20px;
  padding-left:20px;
  padding-bottom:20px;
}	

.width800 {
  width:788px;
  padding-left:40px;
}	
	
.width700 {
  width:700px;
  padding-left:90px;
}	

ul.pager li.pager-current {
  background-color: #352a16;
  color: #fff;
}

ul.pager a:hover,
ul.pager a:active,
ul.pager a:focus {
  background-color: #352a16;
  border-color: #333;
  color: #fff;
}

.rightypad280 {
  float:right;
	padding-right:280px;
}  

.rightypadboth {
  float:right;
	padding-left:20px;
	padding-right:50px;
} 
	
.commandy {
  background-color:#000;
	margin-left:100px;
	padding:5px 0 5px 20px;
	width:350px;
	color:#CCCCCC;
	border:#999999 thin;
	font-weight:bold;
}	

.buildernote {
  background-color:#CCCCCC;
	margin:auto;
	padding:5px 20px;
	width:400px;
	border:#999999 thin;
}		

.fancytext {
  font-family: KingthingsExeterRegular, "Times New Roman", Times, serif;
	font-size:20px;
}		

.fancytextlarge {
  font-family: KingthingsExeterRegular, "Times New Roman", Times, serif;
}		

.tbl-out {
	background: url(../../../../files/images/tbl-back.jpg) 0 0 repeat-y;
	width: 900px;
	margin-left:-20px;
}

.tbl-in {
	width: 840px;
	margin: 0 auto;
	padding-left:5px;
}

.tbl-top {
	background: url(../../../../files/images/tbl-top.jpg) 0 0 no-repeat;
	height: 50px;
	width: 900px;
	margin-left:-20px;
}

.tbl-top p {
	padding: 15px 0 0 30px;
	font-family: MatizRegular, Geneva, Arial, Helvetica, sans-serif;
	font-size: 180%;
	font-weight: bold;
}

.tbl-bottom {
	background: url(../../../../files/images/tbl-bottom.jpg) 0 0 no-repeat;
	height: 38px;
	width: 900px;
	margin-left:-20px;
}



/*qform custom css */
label {
  display: block;
  font-weight: bold ;
}  



/* end custom formatting classes ----------------------------------------------------------------------------------- */	