/*
 * 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;
    background-size: cover;
}

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

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

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

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

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: #fef5e7;
    padding: 0px;
}

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

hr {
    background-color: #D35400;
    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: #E67E22;
    color: #fff;
    padding: 12px;
    width: 50%;
    border-radius: 20px;
    margin: 5px;
}
button:hover {
    opacity: 1;
}

button.textlink {
    background:none!important;
    color: #D35400;
    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 {
    height: 90px;
    width: auto;
}

#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: #D35400;
    font-weight: bold;
    font-size: 14px;
}

#flag_button img {height: 50px;}

/* Footer Navigation */
#footer {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    background-color: #1a1a1a;
    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 - Muted Tan Gradient (Default) */
.card {
    background: linear-gradient(135deg, #E6D5B8 0%, #D4B896 100%);
    border: 2px solid #B89968;
    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;
    color: #1a1a1a;
}

.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.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

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

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    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: #5a3a1a;
    margin-right: 8px;
}

.detail-value {
    color: #1a1a1a;
}

/* Themed Card Variants */

/* Blue Card - Primary/Featured Content (Actual Blue) */
.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;
}

.card-green a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.card-green a:hover {
    color: #e8f5e9;
}

/* 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: #fef5e7;
    border: 4px solid #D35400;
    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: #D35400;
    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: #D35400;
    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: #fef5e7;
    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: #D35400;
    line-height: 30px;
}


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

button.subscribe  {
    background-color: #E67E22;
    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 #E8DABD;
    background-color: #fef5e7;
    border-radius: 3px;
    padding: 10px 20px;
    margin-bottom: 20px;
}
.reply button {
    /*
    float: left;
    width: 190px;
    height: 80px;
    */
    border: none;
    padding: 5px;
    background-color: #E67E22;
    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: #E67E22;
    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;}

/* END OF STYLESHEET */

/* ================================================================
   9. SHARE PHOTO PAGE STYLES
   ================================================================ */

.mission-text {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 1.5em;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1em;
    margin: 1em 0;
    border-radius: 4px;
}

.info-box p {
    margin: 0;
    color: #1565c0;
}

.share-form-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.upload-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.upload-message {
    color: white;
    font-size: 1.5em;
    margin-top: 1.5em;
    font-weight: bold;
    text-align: center;
}

.photo-upload-label {
    display: block;
    cursor: pointer;
}

.photo-input {
    position: absolute;
    left: -9999px;
}

.upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #42a5f5, #1e88e5);
    color: white;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    font-size: 2.8em;
    font-weight: bold;
    transition: all 0.3s;
    margin: 0 auto;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3),
                0 4px 8px rgba(0,0,0,0.2),
                inset 0 -2px 8px rgba(0,0,0,0.2);
    text-align: center;
    line-height: 1.2;
    padding: 20px;
}

.upload-button:hover {
    background: linear-gradient(145deg, #64b5f6, #2196F3);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35),
                0 6px 12px rgba(0,0,0,0.25),
                inset 0 -2px 8px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.upload-button:active {
    transform: translateY(2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25),
                0 2px 4px rgba(0,0,0,0.15),
                inset 0 2px 8px rgba(0,0,0,0.3);
}

.photo-preview {
    display: none;
    margin-top: 1em;
    text-align: center;
}

.photo-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.privacy-notice {
    background-color: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
    text-align: center;
}

.privacy-notice small {
    color: #666;
}

#action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: center;
    align-items: center;
}

.share-button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 1em 2em;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    min-height: 60px;
    transition: background-color 0.3s;
}

.share-button:hover {
    background-color: #45a049;
}

.cancel-button {
    background: none;
    color: #666;
    padding: 0;
    border: none;
    font-size: 1em;
    font-weight: normal;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.cancel-button:hover {
    color: #333;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1.5em;
    border-radius: 4px;
    margin-bottom: 1.5em;
}

.success-message a {
    color: #155724;
    text-decoration: underline;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1.5em;
    border-radius: 4px;
    margin-bottom: 1.5em;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .share-button {
        font-size: 1.1em;
        padding: 0.9em 1.5em;
    }
}

/* END OF SHARE PHOTO PAGE STYLES */

/* ================================================================
   Photo Moderation Styles
   ================================================================ */

.filter-links {
    margin: 1em 0;
    padding: 1em;
    background: #f5f5f5;
    border-radius: 4px;
}

.filter-links a {
    margin-right: 1em;
    text-decoration: none;
    color: #2196f3;
    font-weight: 500;
}

.filter-links a:hover {
    text-decoration: underline;
}

.photo-counts {
    margin: 1em 0;
    padding: 0.5em;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3em;
    margin-top: 2em;
}

.photo-card {
    border: 3px solid #999;
    border-radius: 8px;
    padding: 1.5em;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-bottom: 1.5em;
}

.photo-card.status-pending {
    border-left: 4px solid #ff9800;
}

.photo-card.status-approved {
    border-left: 4px solid #4caf50;
}

.photo-card.status-rejected {
    border-left: 4px solid #f44336;
}

.photo-thumbnail {
    margin-bottom: 1em;
}

.photo-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.photo-details {
    margin-bottom: 1em;
}

.photo-details p {
    margin: 0.5em 0;
    font-size: 0.9em;
}

.status-badge {
    display: inline-block;
    padding: 0.25em 0.75em;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.photo-actions {
    display: flex;
    gap: 0.5em;
    margin-top: 1em;
}

.photo-actions form {
    margin: 0;
}

.btn-approve {
    background: #4caf50;
    color: white;
    border: none;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
    min-width: 100px;
    font-size: 0.95em;
}

.btn-approve:hover {
    background: #45a049;
}

.btn-reject {
    background: #f44336;
    color: white;
    border: none;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
    min-width: 100px;
    font-size: 0.95em;
}

.btn-reject:hover {
    background: #da190b;
}

.btn-delete {
    background: #9e9e9e;
    color: white;
    border: none;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
    min-width: 100px;
    font-size: 0.95em;
}

.btn-delete:hover {
    background: #757575;
}

/* Mobile responsiveness for photo grid */
@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Latest Photos Page Styles
   ================================================================ */

.latest-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.latest-photo-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.latest-photo-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.latest-photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-photo-details {
    padding: 1em;
}

.photo-date {
    color: #666;
    font-size: 0.9em;
    margin: 0 0 0.5em 0;
}

.photo-location a {
    color: #2196f3;
    text-decoration: none;
    font-size: 0.9em;
}

.photo-location a:hover {
    text-decoration: underline;
}

.photo-location-notes {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .latest-photos-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Location Map Page Styles
   ================================================================ */

#map-container {
    margin: 2em 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#map {
    height: 600px;
    width: 100%;
}

.map-info {
    margin-top: 1.5em;
    padding: 1em;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
}

.map-info p {
    margin: 0.5em 0;
}

.map-popup {
    max-width: 220px;
}

/* Mobile map adjustments */
@media (max-width: 768px) {
    #map {
        height: 400px;
    }
}
