/*
 * Generic Template Main Stylesheet
 * Version: V05
 *
 * TABLE OF CONTENTS
 * ================================================================
 * 1. RESET & BASE STYLES .................... Line 20
 * 2. TYPOGRAPHY .............................. Line 145
 * 3. LAYOUT & CONTAINERS ..................... Line 220
 * 4. BUTTONS & FORMS ......................... Line 270
 * 5. NAVIGATION .............................. Line 395
 * 6. COMPONENTS .............................. Line 535
 * 7. USER INTERFACE ELEMENTS ................. Line 750
 * 8. UTILITY CLASSES ......................... Line 950
 * ================================================================
 */

/* ================================================================
   1. RESET & BASE STYLES
   ================================================================ */

* {box-sizing: border-box;}

/* CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, button, form {
	margin: 0; padding: 0;  border: 0; outline: 0; font-size: 100%;
	vertical-align: baseline; background: transparent;
}
body { line-height: 1; }
/* ol, ul { list-style: none; } */

ol, ul {margin-left: 20px; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
td {vertical-align: top; padding: 5px;}
textarea {font-size: 18px;width: 80%;height: 100px;}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: inherit;
    font-weight: 400;
    color: #000000;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================================================
   2. TYPOGRAPHY
   ================================================================ */

p {
    margin: 1em 0;
    text-align: left;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #0277bd;
}

h2 {
    font-size: 24px;
}

h4 {
    font-weight: bold;
}

ol li {
    padding: 10px;
    margin-left: 35px;
}

/* ================================================================
   3. LAYOUT & CONTAINERS
   ================================================================ */

#bodyTop {
    width: 100%;
    height: 80px;
}

#bodyWrap {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    position: relative;
    border: 1px solid black;
}

#banner {
    background-color: red;
    color: white;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

#main {
    background-color: #e1ebf0;
    padding: 0px;
}

.divider {
    height: 1px;
    background-color: #0288d1;
    margin: 20px 20px 40px 20px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.35);
}

hr {
    background-color: #1e656d;
    width: 90%;
    height: 4px;
}

/* ================================================================
   4. BUTTONS & FORMS
   ================================================================ */

/* Buttons */
button {
    cursor: pointer;
    opacity: 0.9;
    text-shadow: 0 1px 1px rgba(0,0,0,0.35);
    background-color: #0288d1;
    color: #fff;
    padding: 12px;
    width: 50%;
    border-radius: 20px;
    margin: 5px;
}
button:hover {
    opacity: 1;
}

button.textlink {
    background:none!important;
    color: #0277bd;
    border:none;
    padding:0!important;
    font: inherit;
    border-bottom:none;
    cursor: pointer;
    opacity: 1;
    text-shadow: 0 0 0 0;
    background-color: none;
    width: 100%;
    border-radius: none;
    margin: none;
}

button.red {
    background-color: #e53935;
}

button.wide_button {
    width:100%;
    height: 40px;
}

/* Form Elements */
form {
    text-align: center;
}

input[type=text], input[type=password] {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
}
input[type=number] {
    width: 100px;
    padding: 10px;
}

input.smallinput {
    width: 25%;
    padding: 5px;
    margin-bottom: 20px;
}

select {
	width: 80%;
	padding: 10px;
	margin-bottom: 20px;
}
select.smallinput {
    width: 25%;
    padding: 5px;
    margin-bottom: 20px;
}

/* Form Container Styles */
.smallform button {
width: 200px;
}
.smallform select {
width: 200px;
}
.smallform input[type=text] {
width: 200px;
}
.smallform input[type=password] {
width: 200px;
}





form.searchform {
    float: left;
    text-align: left;
    width: 100%;
}

form.searchform button{
    width: 100px;
}
form.searchform input{
    width: 100px;
}

/* ================================================================
   5. NAVIGATION
   ================================================================ */

#bodyTop {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

#bodyTop #logo {
    color: #fff;
    font-size: 30px;
    margin: 10px 0 0 20px;
    text-shadow: 0 2px 2px rgba(0,0,0,0.35);
}

#bodyTop #logo img {width: 300px;}

#bodyTop img {float: left;}

#header #menu {
    height: 60px;
    background-image: url(../images/menu.png);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 60px;
    margin-right: 10px;
    padding-top: 20px;
}

#bodyTop #header-right {
    font-size: 20px;
    text-align: right;
    height: 60px;
    padding-right: 20px;
    margin-right: 10px;
    padding-top: 20px;
}

#navbar {
    float: left;
    text-align: center;
    width: 100%;
    padding: 5px 5px 5px 5px;
    font-size: 14px;
    color: #ffffff;
}

#navbar .navlinks a {
    color: #f62a00;
    font-weight: bold;
    font-size: 14px;
}

#flag_button img {height: 50px;}

/* Footer Navigation */
#footer {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    background-color: #384b59;
    padding: 30px 0;
    color: #fff;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
    text-align: left;
}

#footerMenu {
    border-bottom: 1px solid rgba(255,255,255,.25);
    width: 370px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

#footerMenu li {
    list-style: none;
    float: left;
    padding: 10px 5px;
}

#footer a {
    color: #fff;
}

.footer_content {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}

.footer_box {
    width: 33%;
    float: left;
}

/* ================================================================
   6. COMPONENTS
   ================================================================ */

/* ===== 6.1 CARD COMPONENT SYSTEM ===== */

/* Card Grid Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

/* Base Card Styles */
.card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Card Structure */
.card-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-header h3,
.card-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Card footer forms display inline */
.card-footer form {
    display: inline-block;
    margin: 0;
}

.card-footer form button {
    margin: 0 4px;
}

/* Card Detail Rows */
.card-detail {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.detail-label {
    font-weight: 600;
    color: #495057;
    margin-right: 8px;
}

.detail-value {
    color: #212529;
}

/* Themed Card Variants */

/* Blue Card - Primary/Featured Content */
.card-blue {
    background: linear-gradient(135deg, #0277bd 0%, #01579b 100%);
    border-color: #01579b;
    color: #ffffff;
}

.card-blue .card-header {
    background: rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.card-blue .card-header h3,
.card-blue .card-header h4 {
    color: #ffffff;
}

.card-blue .card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-top-color: rgba(255, 255, 255, 0.2);
}

.card-blue .detail-label {
    color: #e3f2fd;
}

.card-blue .detail-value {
    color: #ffffff;
}

/* Green Card - Success/Positive Content */
.card-green {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    border-color: #2e7d32;
    color: #ffffff;
}

.card-green .card-header {
    background: rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.card-green .card-header h3,
.card-green .card-header h4 {
    color: #ffffff;
}

.card-green .card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-top-color: rgba(255, 255, 255, 0.2);
}

.card-green .detail-label {
    color: #e8f5e9;
}

.card-green .detail-value {
    color: #ffffff;
}

/* Red Card - Alert/Warning Content */
.card-red {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    border-color: #c62828;
    color: #ffffff;
}

.card-red .card-header {
    background: rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.card-red .card-header h3,
.card-red .card-header h4 {
    color: #ffffff;
}

.card-red .card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-top-color: rgba(255, 255, 255, 0.2);
}

.card-red .detail-label {
    color: #ffebee;
}

.card-red .detail-value {
    color: #ffffff;
}

/* ===== 6.2 FORM COMPONENTS ===== */

.pageform {
    width: 80%;
    background-color: #f1f3ce;
    border: 4px solid #f62a00;
    padding: 10px;
    margin: auto;
    text-align: center;
    color: #000;
}
.pageform button {
width: 200px;
}
.pageform select {
width: 200px;
}
.pageform input[type=text] {
width: 200px;
}
.pageform #art img{
    height: 50px;
}



.quickstart {
    float: right; 
    margin: 10px;
    width: 40%;
}



.roster {
    width: 90%;
    background-color: #f1f3ce;
    border: 1px solid black;
    padding: 10px;
    margin: auto;
    text-align: left;
    color: #000;
}

.roster img {height: 25px; width: 25px;}

.petition-table td {
    border: 1px solid white;
}

.pageart {
    height: 100px;
    width: 100%;
    border: 1px solid black;
    margin-bottom: 10px;
    overflow: hidden;
}

#paralax-quarterdeck {
    background-image: url(../images/gundeck.jpg); 
    height: 80px;
    width: 100%;
    border: 1px solid black;
    margin-bottom: 10px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
#paralax-berth {
    background-image: url(../images/berth.png); 
    height: 80px;
    width: 100%;
    border: 1px solid black;
    margin-bottom: 10px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
#paralax-galley {
    background-image: url(../images/galley.jpg); 
    height: 80px;
    width: 100%;
    border: 1px solid black;
    margin-bottom: 10px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.tradingwindow {
    padding: 5px;
    width: 100%;
    background-color: #f1f3ce;
    color: #000;
    text-align: center;
}
.tradingwindow .art img {
    height: 100px;
    border: 1px solid black;
    margin: auto;
}

.tradingwindow table td {
    vertical-align: middle;
}
.tradingwindow table img {
    max-height: 80px;
}

/* ================================================================
   7. USER INTERFACE ELEMENTS
   ================================================================ */

#splash img {
    float: right;
    width: 50%;
    margin-left: 10px;
    margin-bottom: 10px;
border: 2px solid black;
}
#splash h2 {width: 100%;}
#splash hr {
    width: 100%;
    margin-top: 10px;
}

/* User Profile & Identity Components */
.username_container {
    width: 100%;
    min-height: 50px;
}


.username_container a {
    color: #000;
}


.username_box {
    float: left;
    padding: 5px;
    width: 20%;
}
.username_box img {
    width: 75px;
}

.insignia_box {
    float: left;
    padding: 10px 5px 5px 5px;
}

.insignia_box img {
    height: 30px;
}


.ribbon_box {
    float: left;
    padding: 5px 5px 5px 5px;
    width: 60%;
	     
}
.ribbon_box img {
    width: 75px;
}

.ribbon_wrapping {
    float: left;
}

#ribbon_container img {
    height: 150px;
    width: auto;
}
#ribbon_container .ribbon_box {
    padding: 5px;
    margin: 5px;
    width: 110px;
    height: 225px;
}

.ClanBadgeSilver {
    border: 1px solid black;
    padding: 2px;
    font-size: 18px;
    font-weight: bold;
    background-image: url(../images/silver-metal.png);
    width: 100px;
    height: 25px;
    margin: auto;
    color: #404040;
}
.ClanBadgeGold {
    border: 1px solid black;
    padding: 2px;
    font-size: 18px;
    font-weight: bold;
    background-image: url(../images/gold-metal.png);
    width: 100px;
    height: 25px;
    margin: auto;
    color: #404040;
}

.ClanBadgeSilver-ribbon {
    float: left;
    border: 1px solid black;
    padding: 2px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-image: url(../images/silver-metal.png);
    width: 73px;
    height: 22px;
    margin: auto;
    color: #404040;
}

.ClanBadgeGold-ribbon {
    float: left;
    border: 1px solid black;
    padding: 2px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-image: url(../images/gold-metal.png);
    width: 73px;
    height: 22px;
    margin: auto;
    color: #404040;
}




.salute_box {
    float: right;
    width: 50%;
}



.scoreboard-container {
    width: 100%;
}

.scoreboard-cell {
    width: 33%;
    height: 150px;
    float: left;
    text-align: center;
    padding: 5px;
    border: 1px solid gray;
}


.scoreboard-cell img {
    height: 80px;
}

.scoreboard-points {
    font-size: 80px;
}

.scoreboard-score {
    font-size: 80px;
}


.post_container {
    border-bottom: 1px solid gray;
    margin-bottom: 20px;
    width: 100%;
    float: left;
    background-color: white;
}

.text_block {
    background-image: url(../images/parchment.jpg); 
    float: left;
    width: 100%;
    color: #000000;
    background-color: #f1f3ce;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
    border-radius: 3px;
    padding: 5px;
}

/*################################# */
/*#### these primarily for public_profile  ######### */

.profile_container {
    display: inline-block;
    margin: auto;
    text-align: center;
    width: 100%;
}

.profile_container .username_box {
    display: inline-block;
    padding: 5px;
    width: 100%;
}
.profile_container .username_box img {
width: 200px;
}
.profile_container .ribbon_box {
    display: inline-block;
    width: 410px;
    float: none;
}

.profile_container .ribbon_box img {
float: left;
width: 75px;
}


/*################################# */
#userHeader {
    background: #ffffff;
    background: -moz-linear-gradient(top,  #ffffff 0%, #f0faff 100%);
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f0faff 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#f0faff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0faff',GradientType=0 );
/*    height: 75px; */
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

#userHeader .userBox {
    float: left;
    text-align: center;
    width: 33.3333%;
/*    height: 75px; */
    border-left: 1px solid gray;
    padding: 5px;
    display: table;
       
}

#userHeader .userBox .content {
    display: table-cell;
    vertical-align: middle;
}

#userHeader .userBoxLeft {
    float: left;
    text-align: left;
    width: 60%;
/*    height: 75px; */
    padding: 5px;
    display: table;
    border-bottom: 1px solid gray;
    background: #ffffff;
}
#userHeader .userBoxRight {
    float: right;
    text-align: right;
    width: 40%;
/*    height: 75px; */
    padding: 5px;
    display: table;
    border-bottom: 1px solid gray;
    background: #ffffff;

}

#userHeader .userImg {
    height: 50px;
    width: 50px;
    background-color: #9ea5b9;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px 50px;
    border-radius: 5px;
    margin-right: 10px;
}
#userHeader .userName span {
    font-size: 20px;
    font-weight: 700;
    color: #0277bd;
    line-height: 30px;
}

#senderHeader {
    position: relative;
    text-align: center;
    margin-top: 5px;
}

#senderHeader img{
    border-radius: 75px;
    height: 75px;
    width: 75px;
}

#senderHeader .senderName {
    display: inline-block;
}
#senderHeader .senderName span {
    font-size: 16px;
    font-weight: 700;
    color: #0277bd;
    line-height: 30px;
}

#senderHeader .subscribe_container {
    display: inline-block;
}

#userHeader button.logout {
    background-color: #e53935;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 10px 20px;
    margin: 15px 0;
    border-radius: 20px;
    width: auto;
}
#userHeader button.logout span {
    background-image: url(../images/logout_bg.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 24px;
    line-height: 16px;
}

#userHeader button.login {
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 10px 20px;
    margin: 15px 0;
    border-radius: 20px;
    width: auto;
}

#main {
    background-color: #e1ebf0;
    padding: 0px;    
}



#rank_container {
padding: 5px;
width: 100%;
height: 200px;
}

.rank_list {
border: 1px solid white;
    float: left;
    padding: 5px;
    width: 110px;
height: 80px;
   font-size: 12px;
}
.rank_list img {width: 90px;}

#ribbon_container {
width: 100%;
float: left;
}


.widget_label {
    //background-color: #29b6f6;
    width: 100%;
    border: none;
  //  color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 20px;
    border-radius: 0px;
 //   box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
    margin: 30px 0 0px;
    text-shadow: none;
}

.widget_body {
    padding: 20px;
    text-align: left;
}

.queue_message {
    width: auto;
    background-color: #fff;
    border: none;
    padding: 10px;
    text-align: left;
    margin-bottom: 10px;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
    border-radius: 3px;
    text-shadow: none;
    color: #000;
}
.queue_message span {
    display: block;
    float: right;
    width: 320px;
}
.queue_message .qmImg img {
    border-radius: 70px;
    height: 70px;
    width: 70px;

}

.queue_message .qmImg {
    display: block;
    float: left;
    height: 70px;
    width: 70px;
    border-radius: 70px;
    background-color: #9ea5b9;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70px 70px;
    margin-right: 10px;
}
.queue_message .qmTitle {
    font-size: 18px;
    font-weight: 700;
}
.queue_message .qmSubtitle {
    font-size: 15px;
    color: #747e84;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.queue_message .qmText {
}




.fullMess {
    width: auto;
    background-color: #fff;
    border: none;
//    padding: 20px;
    text-align: center;
    margin-bottom: 10px;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
    border-radius: 3px;
    position: relative;
}


.fullMess .userCover img {
 //   margin: -20px -20px 0 -20px;
    border-radius: 3px 3px 0 0;
    background-color: #c0c6d5;
display: block;
	 margin-right: auto;
	 margin-left: auto;

}
.fullMess .userImg {
width: 100%;
height: 100px;
	text-align: center;
}
.fullMess .userImg img {
    position: relative;
    width: 108px;
    height: 108px;
    background-color: #9ea5b9;
    border: 4px solid #fff;
    border-radius: 100px;
    margin-top: -20px;
display: block;
	 margin-right: auto;
	 margin-left: auto;
}
.fullMess .userName {
    margin-top: 10px;;
}
.fullMess .userName span {
    font-size: 20px;
    font-weight: 700;
    color: #0277bd;
    line-height: 30px;
}


.subscribe_container {
    margin-top: 0px;
    padding: 0px;
    float: right;
    background-color: #fff;
height: 80px;
}

button.subscribe  {
    background-color: #26c6da;
    border: none;
    padding: 3px;
    color: #fff;
    font-size: 15px;
    margin-top: 5px;
    border-radius: 20px;
    width: 200px; 
    height: 40px;	   
    float: right;
}

.subscribe_container .differential {
    font-size: 15px;
    color: #747e84;
    margin-bottom: 5px;
    padding-bottom: 5px;
    text-align: center;
    width: 200px;
}

.fullMess .messTitle {
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
}
.fullMess .messCat {
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    padding: 4px 8px;
    border: none;
    width: 100%;
	   text-align: center;
}
.fullMess .message {
    font-size: 24px;
    padding: 20px;
}

.reply {
    text-align: center;
padding: 20px;
}
.reply textarea {
    width: 358px;
    border: 1px solid #c8d9e2;
    background-color: #e1ebf0;
    border-radius: 3px;
    padding: 10px 20px;
    margin-bottom: 20px;
}
.reply button {
    /*
    float: left;
    width: 190px;
    height: 80px;
    */
    border: none;
    padding: 5px;
    background-color: #0288d1;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-radius: 10px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.35);
    margin: 5px;
}
.reply button span {
    font-weight: 400;
}
button.red {
    background-color: #e53935;
}
.reply button.white {
    background-color: #ffffff;
    color: #000000;
}
.reply button.green {
    background-color: #556B2F;
}
.reply button.profileSend {
    width: 100%;
    height: 40px;
}

.bidform {
    text-align:left;
    padding:20px;
}
.bidform_options {
    text-align:left;
    margin-top: 20px;
}


#footer {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    background-color: #384b59; 
    padding: 30px 0;
    color: #fff;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
    text-align: left;
}
#footerMenu {
    border-bottom: 1px solid rgba(255,255,255,.25);
    width: 370px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}
#footerMenu li {
    list-style: none;
    float: left;
    padding: 10px 5px;
}
#footer a {
    color: #fff;
}

.footer_content {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}

.footer_box {
    width: 33%;
    float: left;
}

/* Page-Specific Widgets */
#login_step1 {
    text-align: center;
}



#dynamic_profile {
    padding: 5px; 
    text-align: left;
}

#dynamic_profile .questionanswer {
    margin: 0px 0px 20px 20px;;
}

.question_button {
width: 120px;
}

.question_text {
    font-size: 24px;
    font-family: Times,Times New Roman,Georgia,serif;
}

#dynamic_profile form {
    text-align: left;
}

#dynamic_profile button {
    width: 100px;
    margin-right: 10px;
}




.contact_container {
    display: block;
    float: left;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    height: 105px;
}

.contact {
    display: block;
    float: left;
}

.contact_info {
    background-color: #fff;
    color: #000;
    text-align: left;
    text-shadow: none;
    margin-bottom: 10px;
    padding: 5px;
    width: 250px;
}
.contact_info img {
    display: block;
    float: left;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    background-color: #9ea5b9;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px 50px;
margin-right: 5px;
}

.contact_info .contactImage {
    float: left;
    height: 80px;
    width: 54px;
}

.contact_info .contactTitle {
    font-size: 16px;
    font-weight: 700;
}

.contact_info .contactName {
    font-size: 14px;
    font-weight: 700;
}

.contact_info .contactPrice {
    font-size: 15px;
    color: #747e84;
}
 
.contact_button {
}
.contact_button button {
    display: block;
    background-color: #556B2F;
    border: none;
    padding: 3px;
    color: #fff;
    font-size: 15px;
    margin-top: 0px;
    border-radius: 20px;
    width: 220px; 
    height: 40px;	   
    float: left;
}


.action {
    display: block;
    float: left;
    margin: 5px;
    height: 100px;
}

.action button {
    background-color: #26c6da;
    border: none;
    padding: 3px;
    color: #fff;
    font-size: 15px;
    margin-top: 5px;
    border-radius: 20px;
    width: 150px; 
}

button.wide_button {
    width:100%;
    height: 40px;
}

#search_input {

}

#search_button {
    width: 70px;
}

#pagination div {
    float: left;
    width: 33%;
}

#pagination .previous {
    text-align: left;
}

#pagination .pages {
    text-align: center;
}

#pagination .next {
    text-align: right;
}

/* ================================================================
   8. UTILITY CLASSES
   ================================================================ */

.floatLeft {float: left;}
.floatRight {float: right;}
.clearFloat {clear: both;}

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

.smalltext {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 10px;
}

.bold-text {font-weight: bold;}

/* ================================================================
   9. NOHO20 CMS OVERRIDES
   ================================================================ */

/* Ensures iOS Safari treats the document as scrollable so the
   bottom toolbar (back/share) shows and hides correctly on scroll */
html {
    min-height: calc(100% + 1px);
}

body {
    font-family: 'Lora', Georgia, serif;
    line-height: 1.8;
    background-color: #000;
    color: #e8ddc8;
}

body.custom-background { background-color: #000; }

#page {
    max-width: 800px;
    margin: 0 auto;
    background-color: #faf8f4;
    border: none;
}

/* Header */
#branding {
    background-color: #0a0806;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.05) 0%, transparent 55%);
}

#branding-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 18px 24px;
}

#branding-logo { flex-shrink: 0; line-height: 0; border-bottom: none; margin-right: 24px; }
#branding-logo img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.65);
}

#branding-text {
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(201,168,76,0.35);
}

#branding-presents {
    font-family: 'Lora', Georgia, serif;
    font-size: 10px;
    font-weight: 400;
    color: #c9a84c;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

#site-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.0;
    margin: 0;
}
#site-title a { color: #fff; text-decoration: none; }

#branding > img { display: block; width: 100%; max-width: 800px; height: auto; }

/* Navigation */
.menu-main-nav-container {
    text-align: center;
    background-color: #1a1714;
    border-bottom: 1px solid #2e2820;
    padding: 4px 0;
}
#menu-main-nav {
    display: inline-flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
#menu-main-nav li { list-style: none; }
#menu-main-nav li a {
    display: block;
    padding: 10px 14px;
    color: #c9a84c;
    font-family: 'Lora', Georgia, serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
#menu-main-nav li a:hover { color: #e8ddc8; }

/* Main content area */
#main {
    background-color: #faf8f4;
    padding: 0;
}

.entry-header { display: none; }
.cms-widget-title { display: none; }

#site-tagline {
    font-family: 'Lora', Georgia, serif;
    font-size: 13px;
    font-weight: 400;
    color: #9a8878;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #d4c9b8;
}

.widget_body {
    padding: 48px 40px 56px;
    color: #1c1714;
}

.widget_body p {
    font-family: 'Lora', Georgia, serif;
    font-size: 17px;
    line-height: 1.85;
    color: #2a2420;
    margin: 0 0 1.5em;
}

.widget_body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f0c0a;
    margin: 2em 0 0.8em;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.widget_body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 400;
    font-style: italic;
    color: #4a3f38;
    margin: 1.6em 0 0.6em;
}

.widget_body a {
    color: #7a3b1e;
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 59, 30, 0.3);
    transition: color 0.2s, border-color 0.2s;
}
.widget_body a:hover {
    color: #5c2a12;
    border-bottom-color: rgba(92, 42, 18, 0.6);
}

/* Footer */
#colophon {
    background: #0a0906;
    padding: 28px 24px;
    border-top: 1px solid #2a2218;
}
.cms-footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
}
.cms-footer-links a {
    display: block;
    color: #6a6050;
    margin-bottom: 6px;
    font-family: 'Lora', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
.cms-footer-links a:hover { color: #c9a84c; }

/* Responsive */
@media (max-width: 600px) {
    .widget_body { padding: 32px 20px 40px; }
    #colophon { padding: 24px 28px; }
    #menu-main-nav li a { padding: 10px 10px; font-size: 11px; }
}

/* ================================================================
   10. MAGAZINE ARCHIVE
   ================================================================ */

.alignright {
    float: right;
    margin: 0 0 1em 1.5em;
    border: 4px solid #0f0c0a;
    box-shadow: 2px 4px 14px rgba(0,0,0,0.15);
}
.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
    border: 4px solid #0f0c0a;
    box-shadow: 2px 4px 14px rgba(0,0,0,0.15);
}

.magazine-archive {
    font-family: 'Lora', Georgia, serif;
}

.archive-intro {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #d4c9b8;
    margin-bottom: 44px;
}

.archive-run {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9a8878;
    margin: 0;
}

.archive-year-section {
    margin-bottom: 52px;
}
.archive-year-section:last-child {
    margin-bottom: 0;
}

.year-rule {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}
.year-rule::before,
.year-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d4c9b8;
}
.year-rule span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #9a8878;
    white-space: nowrap;
}

.issue-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #ece4d6;
    opacity: 0;
    animation: issueReveal 0.45s ease forwards;
}
.issue-card:last-child { border-bottom: none; }

@keyframes issueReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.issue-card:nth-child(1)  { animation-delay: 0.04s; }
.issue-card:nth-child(2)  { animation-delay: 0.08s; }
.issue-card:nth-child(3)  { animation-delay: 0.12s; }
.issue-card:nth-child(4)  { animation-delay: 0.16s; }
.issue-card:nth-child(5)  { animation-delay: 0.20s; }
.issue-card:nth-child(6)  { animation-delay: 0.24s; }
.issue-card:nth-child(n+7){ animation-delay: 0.28s; }

.issue-cover {
    display: block;
    flex-shrink: 0;
    border-bottom: none;
}
.issue-cover img {
    display: block;
    width: 120px;
    height: auto;
    border: 4px solid #0f0c0a;
    box-shadow: 2px 4px 14px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.issue-cover:hover img {
    transform: translateY(-4px) rotate(-0.5deg);
    box-shadow: 4px 10px 28px rgba(0,0,0,0.22);
}

.issue-toc { padding-top: 2px; }

.issue-toc .issue-month {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: #1c1714;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.issue-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.issue-toc li {
    font-size: 15px;
    line-height: 1.65;
    padding: 2px 0;
    color: #9a8878;
}

.issue-toc li a {
    color: #6b3218;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.15s;
}
.issue-toc li a::before {
    content: '→\00a0';
    color: #c9a84c;
    font-size: 10px;
}
.issue-toc li a:hover { color: #3d1a09; }

@media (max-width: 480px) {
    .issue-card { grid-template-columns: 90px 1fr; gap: 16px; }
    .issue-cover img { width: 90px; }
    .issue-toc .issue-month { font-size: 15px; }
    .issue-toc li { font-size: 14px; }
}

/* ================================================================
   11. CRITIC'S DILEMMA CHAPTERS
   ================================================================ */

/* Hero image — full bleed, breaks out of widget_body padding */
.cd-hero {
    margin: -48px -40px 2.8em;
    position: relative;
    overflow: hidden;
}
.cd-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: contrast(1.05) brightness(0.92);
}
.cd-hero-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4em 2.5em 1.4em;
    background: linear-gradient(transparent, rgba(10,8,6,0.80));
    color: #c9a84c;
    font-family: 'Lora', Georgia, serif;
    font-size: 10px;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

/* Drop cap on opening paragraph */
.cd-lede::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5.2em;
    font-weight: 700;
    line-height: 0.78;
    float: left;
    margin-right: 0.07em;
    margin-top: 0.06em;
    color: #7a3b1e;
}

/* Pull quote */
.cd-pull-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    color: #4a3f38;
    text-align: center;
    margin: 2.4em 0.5em;
    padding: 1.5em 0;
    border-top: 1px solid #d4c9b8;
    border-bottom: 1px solid #d4c9b8;
    line-height: 1.55;
}

@media (max-width: 600px) {
    .cd-hero { margin: -32px -20px 2em; }
    .cd-hero img { height: 240px; }
}

.cd-act-label {
    font-family: 'Lora', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c9a84c;
    margin: 0 0 10px;
}

.cd-chapter-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    color: #0f0c0a;
    line-height: 1.3;
    margin: 0 0 1.8em;
}

.cd-chapter-nav {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 3em;
    padding-top: 1.5em;
    border-top: 1px solid #d4c9b8;
    font-family: 'Lora', Georgia, serif;
    font-size: 13px;
    gap: 16px;
}

.cd-nav-prev,
.cd-nav-next {
    color: #7a3b1e;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.2s;
}

.cd-nav-prev:hover,
.cd-nav-next:hover {
    color: #3d1a09;
    border-bottom: none;
}

.cd-act-heading {
    font-family: 'Lora', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9a8878;
    margin: 1.8em 0 0.5em;
    font-weight: 400;
}

.cd-chapter-list {
    list-style: none;
    margin: 0 0 0.5em;
    padding: 0;
}

.cd-chapter-list li {
    padding: 3px 0;
    font-size: 15px;
    line-height: 1.65;
}

.cd-chapter-list li a {
    color: #6b3218;
    border-bottom: none;
    text-decoration: none;
    transition: color 0.15s;
}

.cd-chapter-list li a::before {
    content: '\2192\00a0';
    color: #c9a84c;
    font-size: 10px;
}

.cd-chapter-list li a:hover { color: #3d1a09; }

.cd-figure {
    margin: 0 0 1.5em 0;
}
.cd-figure img {
    display: block;
    max-width: 100%;
    height: auto;
}
.cd-figure figcaption {
    font-size: 13px;
    color: #7a6a5a;
    line-height: 1.4;
    margin-top: 5px;
}
.cd-figure-right {
    float: right;
    margin: 0 0 1em 1.5em;
    max-width: 220px;
}
@media (max-width: 500px) {
    .cd-figure-right {
        float: none;
        max-width: 100%;
        margin: 0 0 1.5em 0;
    }
}

/* ----------------------------------------------------------------
   Critics Dilemma — Story Workspace layout
   ---------------------------------------------------------------- */
.cd-story-layout {
    display: flex;
    gap: 2.5em;
    align-items: flex-start;
}
.cd-story-nav {
    flex: 0 0 200px;
    font-family: 'Lora', Georgia, serif;
    font-size: 13px;
    position: sticky;
    top: 2em;
}
.cd-story-nav h4 {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9a8878;
    margin: 1.4em 0 0.4em;
    font-weight: 400;
}
.cd-story-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cd-story-nav li {
    padding: 2px 0;
}
.cd-story-nav a {
    color: #6b3218;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.15s;
    font-size: 13px;
}
.cd-story-nav a:hover,
.cd-story-nav a.active {
    color: #3d1a09;
}
.cd-story-content {
    flex: 1;
    min-width: 0;
}
.cd-story-content p a {
    color: #6b3218;
    text-decoration: underline;
}
.cd-intercut-review {
    margin: 0 0 1em 0;
    padding: 0.75em 1.25em;
    border-left: 3px solid #9a3a1a;
    background: #faf5f0;
    font-style: italic;
    color: #5a2a10;
}
.cd-intercut-review p {
    margin: 0;
}
@media (max-width: 700px) {
    .cd-story-layout { flex-direction: column; }
    .cd-story-nav { position: static; flex: none; width: 100%; }
}

/* ================================================================
   12. MAGAZINE PAGE SCANS
   ================================================================ */

.issue-scans-link {
    margin: 10px 0 0;
    font-size: 13px;
}
.issue-scans-link a {
    color: #9a8878;
    text-decoration: none;
    border-bottom: 1px solid #d4c9b8;
    transition: color 0.15s, border-color 0.15s;
}
.issue-scans-link a:hover {
    color: #6b3218;
    border-color: #6b3218;
}

.magazine-pages {
    font-family: 'Lora', Georgia, serif;
}

.mag-pages-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #1c1714;
    margin: 8px 0 4px;
}

.mag-pages-count {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a8878;
    margin: 0 0 28px;
}

.mag-pages-empty {
    color: #9a8878;
    font-style: italic;
}

.mag-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.mag-page-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-bottom: none;
}
.mag-page-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid #0f0c0a;
    box-shadow: 2px 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mag-page-thumb:hover img {
    transform: translateY(-3px);
    box-shadow: 4px 8px 24px rgba(0,0,0,0.22);
}
.mag-page-num {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #9a8878;
    letter-spacing: 0.08em;
}

@media (max-width: 480px) {
    .mag-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 14px;
    }
}

.author-page {
    font-family: 'Lora', Georgia, serif;
}

.author-role {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a8878;
    margin: -8px 0 24px;
}

.author-count {
    font-size: 13px;
    color: #9a8878;
    border-top: 1px solid #d4c9b8;
    padding-top: 20px;
    margin-bottom: 8px;
}

.author-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.author-issue-group {
    margin-bottom: 28px;
}

.author-issue-label {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9a8878;
    margin-bottom: 8px;
}

.author-issue-group > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.author-issue-group > ul li {
    padding: 5px 0;
    border-bottom: 1px solid #ece4d6;
    font-size: 15px;
    line-height: 1.4;
}
.author-issue-group > ul li:last-child {
    border-bottom: none;
}

.author-issue-group > ul li a {
    color: #8b3a1a;
    text-decoration: none;
}
.author-issue-group > ul li a:hover {
    text-decoration: underline;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin: 48px 0 24px;
    padding-top: 24px;
    border-top: 1px solid #d4c9b8;
    font-family: 'Lora', Georgia, serif;
    font-size: 14px;
}

.article-nav a {
    color: #8b3a1a;
    text-decoration: none;
    max-width: 45%;
    line-height: 1.4;
}
.article-nav a:hover {
    color: #6b2a0e;
    text-decoration: underline;
}

.article-nav-prev {
    text-align: left;
}
.article-nav-next {
    text-align: right;
    margin-left: auto;
}

.article-nav-disabled {
    display: block;
    min-width: 1px;
}

/* ================================================================
   STORY WORKSPACE
   ================================================================ */

.story-workspace {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.story-nav {
    flex: 0 0 180px;
    position: sticky;
    top: 24px;
    font-family: 'Lora', Georgia, serif;
    font-size: 14px;
}

.story-nav-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9a8878;
    margin-bottom: 10px;
}

.story-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.story-nav ul li {
    padding: 5px 0;
    border-bottom: 1px solid #ece4d6;
}

.story-nav ul li a {
    color: #8b3a1a;
    text-decoration: none;
}

.story-nav ul li a:hover {
    text-decoration: underline;
}

.story-nav ul li.active a {
    font-weight: bold;
    color: #1a1714;
}

.story-nav hr {
    margin: 14px 0;
    border: none;
    border-top: 1px solid #d4c9b8;
}

.story-nav-meta {
    font-size: 11px;
    color: #9a8878;
    line-height: 1.5;
}

.story-nav-meta code {
    font-size: 10px;
    background: #f4ede3;
    padding: 1px 3px;
    border-radius: 2px;
}

.story-content {
    flex: 1;
    min-width: 0;
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    line-height: 1.75;
    color: #2c2416;
}

.story-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1714;
    margin: 0 0 24px;
    line-height: 1.2;
}

.story-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1714;
    margin: 32px 0 12px;
    padding-top: 24px;
    border-top: 1px solid #ece4d6;
}

.story-content h3 {
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    color: #5a4a3a;
    margin: 24px 0 8px;
}

.story-content p {
    margin: 0 0 16px;
}

.story-content ul {
    margin: 0 0 16px 20px;
}

.story-content li {
    margin-bottom: 6px;
}

.story-content strong {
    font-weight: 700;
    color: #1a1714;
}

.story-content em {
    font-style: italic;
}

.story-content code {
    font-family: monospace;
    font-size: 13px;
    background: #f4ede3;
    padding: 1px 4px;
    border-radius: 2px;
}

.story-content pre {
    background: #f4ede3;
    border: 1px solid #d4c9b8;
    border-radius: 4px;
    padding: 16px;
    overflow-x: auto;
    margin: 0 0 20px;
}

.story-content pre code {
    background: none;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
}

.story-content hr {
    border: none;
    border-top: 1px solid #d4c9b8;
    margin: 28px 0;
}

/* END OF STYLESHEET */
