.xxx { font-family: courier; }
@font-face {
  font-family: 'Karla';
  src: url('fonts/Karla-Medium.ttf') format('truetype');
}

* {
  font-family: 'Karla', sans-serif;
}

html, body { padding: 0; margin: 0; background: #000000 !important; color: #ffffff !important; background-image: url('/bg.png'); background-size: contain; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; 

h2 {color:#ee0000;}

b {color: #ffffff;}

td, th { color: #ffffff; }
th { font-weight: 900; padding: 10px; background-color:#4400;}

a { color: #ffffff; text-decoration: none; }

a:hover { text-decoration: underline; color: #ff0000;}

#bottomBanner { position: fixed; bottom: 0; width: 100%; background-color: #000; z-index: 1000; display: flex; align-items: center; justify-content: center; font-family: courier, monospace; font-size: 18px; color: #999999; box-shadow: 0px -5px 10px rgba(255, 255, 255, 0.3); }
.bottomBanner {font-family: courier, monospace; font-size: 18px; color: #999999; }


#topBanner { padding: 0px; position: relative; top: 0; width: 100%; height: auto; background-image: url('/headbg.png'); background-repeat: repeat; background-size: cover; box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.5); display: flex; justify-content: space-between; align-items: center; }

.logo { background-image: url('/logo.png'); background-size: contain; background-repeat: no-repeat;     background-position: center;height: 240px; width: 600px; padding: 0px; text-align: left; margin-left: 25px;transition: filter 0.3s ease;filter: grayscale(0%);
}
.logo:hover {filter: grayscale(100%); }

#keepRight { text-align: right; margin-right: 25px; vertical-align:top;}
#keepRight a { display: block; margin-bottom: 5px; z-index: 2222; }










#adminBar { text-align: center; background-color: rgba(55, 0, 0, 0.8); width: 100%; border: 1px solid #aa0000; }

#leftImage { position: absolute; left: 0; top: 0; width: auto; height: 100%; }

.homepagetitle { font-family: courier, monospace; font-size: 38px; letter-spacing: 14px; word-spacing: 22px; }

.buttonlink { font-size: 24px; font-family: courier, monospace; color: #fff; text-decoration: none; padding: 10px 20px; border: 2px solid #fff; border-radius: 5px; transition: all 0.3s ease; }

button { padding: 10px; background-color: #333333; color: #fff; border: 1px solid #888;; cursor: pointer; border-radius: 5px; transition: all 0.15s ease; width:auto;}
button:hover { background-color: #000; color: #fff; border: 1px solid #800;; cursor: pointer; border-radius: 5px; }

.EditPage { margin-top: 100px; }

.dotteddiv { background-color: rgba(0, 0, 0, 0.8); border-radius: 50px; margin: 10px auto 10px auto; width: 80vw; padding: 20px; border: 5px dotted #500; max-width: 1100px; }
.dotteddiv::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/bg.png'); background-repeat: no-repeat; background-position: center; background-size: contain; filter: grayscale(100%); z-index: -1; opacity: 0; animation: fadeLoop 5.5s ease-in-out infinite; }
.dotteddiv2 { background-color: rgba(0, 0, 0, 0.8); border-radius: 50px; margin: 5px auto 5px auto; width: 40vw; padding: 10px; border: 5px dotted #500; }

.header-container {
    display: flex;
    justify-content: space-between; /* Pushes left and right divs to the edges */
    align-items: center;           /* Vertically centers them if needed */
}





#pagediv { background-color: rgba(0,0,0, 0.5); }

.msg0 { border: 1px solid #444; border-radius: 5px; overflow: hidden; width: 100%; spacing: 10px; }
.msgH0 { font-size: 20px; font-family: courier; color: #ffffff; background-color: rgba(0,0,0,0.5); font-weight: 700; text-align: center; }
.msgB0 { font-size: 16px; font-family: courier; color: #cccccc; background-color: rgba(55,55,55,0.5) }

.msg1 { border: 1px solid #ff0000; border-radius: 5px; overflow: hidden; width: 100%; }
.msgH1 { font-size: 18px; font-family: courier; color: #ffff00; background-color: rgba(255,0,0,0.8); font-weight: 900; text-align: center;}
.msgB1 { font-size: 14px; font-family: courier; color: #000000; background-color: rgba(255,255,0,0.8); }

.msg2 { border: 1px solid #ff0000; border-radius: 5px; overflow: hidden; width: 100%;}
.msgH2 { font-size: 12px; font-family: courier; color: #ff0000; background-color: #ffff00; font-weight: 900; text-align: center;}
.msgB2 { font-size: 10px; font-family: courier; color: #ffff00; background-color: #ff0000;}

.pagetab {width:80%;}


.nice-table { width: 80%; border-collapse: collapse; margin: 20px auto; font-family: Arial, sans-serif; border: 1px solid #777777; }
.nice-table th { background-color: #440000; color: #ffffff; padding: 12px; text-align: left; border: 1px solid #777777; }
.nice-table td { padding: 10px; border: 1px solid #777777; }
.nice-table tr:nth-child(even) { background-color: #222222; }
.nice-table tr:nth-child(odd) { background-color: #111111; }
.nice-table tr:first-child { background-color: #000000; }


.tabs-main-area { width: 90%; max-width: 1200px; margin: 30px auto; }
.tabs-nav-bar { display: flex; flex-wrap: nowrap; overflow-x: auto; background: #111; border-radius: 8px 8px 0 0; gap: 2px; }
.tab-link { flex: 0 0 auto; min-width: 120px; background: #222; color: #eee; padding: 14px 18px; border: none; border-bottom: 3px solid transparent; cursor: pointer; text-align: center; font-family: courier, monospace; font-size: 16px; font-weight: bold; white-space: nowrap; transition: all 0.15s ease; }
.tab-link:hover { background: #333; }
.tab-link.active-link { background: #800; color: white; border-bottom: 3px solid #ff4444; }
.tabs-content-box { background: #111; border: 1px solid #444; border-top: none; padding: 20px; border-radius: 0 0 8px 8px; min-height: 200px; }
.tab-panel-item { display: none !important; }
.tab-panel-item.show-now { display: block !important; }
.image-container { display: inline-block; margin: 20px; text-align: center; }
.image-container img { max-height: {$height}px; height: auto; }
.pagetab { width: 100%; }
.responsive-container { display: flex !important; flex-direction: row; width: 90%; max-width: 1100px; justify-content: center; align-items: stretch; gap: 10px; }
.column-box { flex: 1; display: flex; }
.column-box .dotteddiv2 { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
@keyframes yellowBorderFade { 0%, 100% { border-color: rgba(255, 255, 0, 0); } 50% { border-color: rgba(255, 255, 0, 1); } }
#tabs-container-$uniqueID .tabs-nav-bar { display: flex; flex-wrap: wrap; gap: 4px; }
#tabs-container-$uniqueID .tab-link { min-height: 3.2em; height: auto; padding: 0.8em 1em; display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; border: 1px solid transparent; animation-name: yellowBorderFade; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
#tabs-container-$uniqueID .tab-link.active-link { font-weight: bold; animation: none !important; border-color: transparent !important; }
	
	
	


/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */


/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
/* MOBILE - BOTH PORTRAIT & LANDSCAPE */
/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

@media only screen and (pointer: coarse) {

    * { box-sizing: border-box; }
    body, b, html { font-size: 4vw !important; overflow-x: hidden; }
    td, th { font-size: 4vw !important; }
    input, textarea { font-size: 4vw !important; }
    submit, button { font-size: 4vw !important; }
    
    #topBanner { padding: 0px; position: relative; top: 0; width: 100%; height: 250px; }

    .logo { background-image: url('/logo_mob.png'); background-size: contain; background-repeat: no-repeat; background-position: left; height: 90%; width: 300px; }
    
    .buttonlink {
        font-size: 70px;
        padding: 10px 20px;
        border: 2px solid #fff;
        border-radius: 5px;
    }

    .dotteddiv { padding: 10px; border: 5px dotted #500; font-size: 35px; border-radius: 50px; width: 95vw !important; }
    .dotteddiv2 { padding: 10px; border: 5px dotted #500; font-size: 35px; border-radius: 50px; width: 100% !important; }

    .homepagetitle {
        font-family: courier, monospace;
        font-size: 78px;
        letter-spacing: 14px; word-spacing: 22px; 
    }

    #keepRight { text-align: right; }
    #keepRight a {
        display: inline-block;
        margin: 5px; 
        padding: 10px 15px;
        background-color: #444; 
        color: #fff; 
        border: 1px solid #ccc; 
        border-radius: 5px;
    }

    /* THE STACKING FIX FOR ALL PHONES */
    .responsive-container { 
        flex-direction: column !important; 
        width: 100% !important;
    }
    .column-box { 
        width: 100% !important; 
        margin-bottom: 20px;
    }
	
	#bottomBanner {box-shadow: 0px -25px 30px rgba(255, 0, 0, 0.3); border-top: 1px solid red;}
}

/* Specific Landscape Overrides */
@media only screen and (orientation: landscape) and (pointer: coarse) {
    .msgH0 { font-size: 20px !important; background:#000; }
    .msgB0 { font-size: 16px !important; }
    table, tr, td, th { font-size: 11px; background:#333; }
    .loginform { font-size: 30px !important; }
    input { font-size: 30px !important; }
    .pagetab { width: 100%; }
}


@media screen and (max-width: 550px) {
	* {font-size: 3vw;}
	.dotteddiv { padding: 10px; border: 5px dotted #500; font-size: 35px; border-radius: 50px; width: 95vw !important; }
    .dotteddiv2 { padding: 10px; border: 5px dotted #500; font-size: 35px; border-radius: 50px; width: 100% !important; }
	.buttonlink {
        font-size: 10vw;
        padding: 10px 20px;
        border: 2px solid #fff;
        border-radius: 5px;
    }
	.logo { background-image: url('/logo_mob.png'); background-size: contain; background-repeat: no-repeat; background-position: left; height: 90%; width: 200px; }



	button { padding: 3px; background-color: #333333; color: #fff; border: 1px solid #888;; cursor: pointer; border-radius: 5px; transition: all 0.15s ease; width:auto;}
	button:hover { background-color: #000; color: #fff; border: 1px solid #800;; cursor: pointer; border-radius: 5px; }

	.homepagetitle { font-size: 10vw; letter-spacing: 4vw; word-spacing: 15vw; }
	h2 {font-size: 5vw;}
	table, tr, td {font-size: 3vw;}
}
