.bbcode-members {}
.bbcode-guests {}
.bbcode-validating {}
.bbcode-administrator {color: #b4eeb4; font-weight: bold;}
.bbcode-root {color: #ad0000; font-weight: bold;}
.bbcode-pharaoh {color: #ffb700; font-weight: bold;}
.bbcode-vizier {color: #f6ff00; font-weight: bold;}
.bbcode-scribe {color: #eedc82; font-weight: bold;}
.bbcode-councilor {color: #add8e6; font-weight: bold;}
.bbcode-citizen {color: #ffcccc; font-weight: bold;}
.bbcode-diplomat {color: #8ccf7a; font-weight: bold;}
.bbcode-banned {color: #ffffff; font-weight: bold;}
.bbcode-keeper {color: #0d4589; font-weight: bold;}
.bbcode-elder {color: #313131; font-weight: bold;}
.bbcode-guardian {color: #772a2a; font-weight: bold;}
.bbcode-global_moderator {color: #b4eeb4; font-weight: bold;}
.bbcode-indicted {color: #ffffff; font-weight: bold;}
.bbcode-gatepass {color: #c2c2c2; font-weight: bold;}
.bbcode-isra {color: #fba16c; font-weight: bold;}
.bbcode-curator {color: #0066ff; font-weight: bold;}

/*#hedjet { border-bottom: 5px solid #992599; }
#hedjet:hover { background-color: 5px solid #992599; }
#deshret { border-bottom: 5px solid #0d4589; }
#pschent { border-bottom: 5px solid #b09a32; }
#atef { border-bottom: 5px solid #7c6600; }*/

html, body {
background-color: #404759;
color: #F0F0F0;
font-family: "Helvetica", "Arial", "Bitstream Vera Sans", "Verdana", sans-serif;
font-size: 12px;
margin: 0;
padding: 0;
}

a {
color: #ffffff;
text-decoration: none;
}

a:hover, div.category h2 a:hover, table.calendar th a:hover, #profile_menu li li a:hover {
color: #f8a21c;
text-decoration: none;
}

hr {
clear: both;
height: 1px;
}

table {
border-collapse: collapse;
border-spacing: 0;
clear: both;
empty-cells: show;
width: 100%;
}

th, td {
border: 1px solid #566996;
}

th {
background-color: #708090;
font-weight: bold;
padding: 3px 5px;
text-align: left;
}

td {
background-color: #778899;
padding: 5px 10px;
}

th a, th a:hover {
font-weight: bold;
}

h1 {
font-size: 200%;
}

h2, h3 {
font-size: 120%;
}

.category h2, .topic h2, #portal h2, #portal_foot h2, thead th, #blog h2, #fast-reply div.inner {
font-size: 120%;
font-weight: bold;
}

.category h2 div.inner {
width: 100%;
height: 30px;
line-height: 30px;
border: none;
margin: 0;
padding: 0;
}

#portal h2 div.inner, #portal_foot h2 div.inner, #blog h2 div.inner {
background-color: #9f5a60;
border-radius: 7px 7px 0 0;
-moz-border-radius: 7px 7px 0 0;
-webkit-border-radius: 7px 7px 0 0;
padding: 7px;
border-color: #E5E0CA;
}

h2 a, thead th a {
font-weight: bold;
color: #FFFFFF;
}

div.category h2 a:hover {
text-shadow: 0 0;
}

div.category h2 {
background: none;
text-align: center;
padding: 0px;
margin: 0px;
border: none;
}

ul.cat-pages {
padding: 4px 15px 2px;
}

table.calendar th big {
font-size: small;
}

input, select, textarea, a.btn_fake {
border: 1px solid #566996;
font-size: 120%;
color: #F0F0F0;
font-family: "Helvetica", "Arial", "Bitstream Vera Sans", "Verdana", sans-serif;
padding: 3px 5px;
vertical-align: middle;
}

select, a.btn_fake {
background-color: #708090;
}

input, textarea {
background-color: #404759;
}

#search_form select[multiple] {
height: 125px;
}

textarea {
margin: auto;
width: 98%;
}

input:focus, input.focus, textarea:focus, textarea.focus {
border-color: #F8A21C;
}

.submit_error {
background: #fff8eb;
border: 1px solid #e77700;
}

a.btn_fake {
color: #000000;
cursor: default;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
overflow: visible;
width: auto;
}

a.btn_fake:hover {
background-image: none;
}

.notice dd {
font-style: italic;
margin: 0;
}

#top ul, #nav, ul.cat-pages, ul.cat-topicpages, table.calendar ul, div.meta_menu ul, #pm_folderlist, #profile_menuwrap ul {
list-style: none;
padding: 0;
}

#profile_menuwrap ul {
width: inherit;
}

#profile_menuwrap {
text-align: center;
}

#profile_menuwrap ul, ul.cat-topicpages, blockquote dl, #fast-reply dd, table.calendar ul, .drop_menu {
margin: 0;
}

#top li, ul.cat-pages li, ul.cat-topicpages li, table.calendar li, #pm_folderlist li, #profile_menuwrap li, #ucp_gallery li {
display: inline;
}

#top {
padding: 0 2% 25px;
}

#top-outer {
margin-top: 10px !important;
}

#top_info {
float: left;
margin-top: 4px;
font-size: 120%;
}

#top_menu {
float: right;
margin-top: 0px;
font-size: 120%;
}

.drop_menu li {
float: left;
margin-right: 1px;
text-align: center;
}

.drop_menu a {
display: block;
padding: 4px 0.25em 11px;
position: relative;
width: 9em;
font-weight: bold;
}

.drop_menu ul {
left: -999em;
margin: 0;
position: absolute;
width: 9.4em;
z-index: 1;
border: 1px solid #566996;
background-color: #778899;
}

.drop_menu ul li {
font-size: 85%;
margin: 0;
padding: 0;
width: 100%;
float: none;
}

#profile_menu > li {
float: none;
}

.drop_menu ul li a {
display: block;
padding: 4px 5%;
width: 90%;
}

#logo {
background-color: #566996;
background: -moz-linear-gradient(30deg, #404759 44%, #F8A21C 44%, #F8A21C 56%, #566996 56%) left no-repeat, -moz-linear-gradient(-30deg, #566996 44%, #F8A21C 44%, #F8A21C 56%, #404759 56%) right no-repeat,  #566996;
background: -webkit-linear-gradient(30deg, #404759 44%, #F8A21C 44%, #F8A21C 56%, #566996 56%) left no-repeat, -webkit-linear-gradient(-30deg, #566996 44%, #F8A21C 44%, #F8A21C 56%, #404759 56%) right no-repeat,  #566996;
background: -o-linear-gradient(30deg, #404759 44%, #F8A21C 44%, #F8A21C 56%, #566996 56%) left no-repeat, -o-linear-gradient(-30deg, #566996 44%, #F8A21C 44%, #F8A21C 56%, #404759 56%) right no-repeat,  #566996;
background: linear-gradient(60deg, #404759 44%, #F8A21C 44%, #F8A21C 56%, #566996 56%) left no-repeat, linear-gradient(120deg, #566996 44%, #F8A21C 44%, #F8A21C 56%, #404759 56%) right no-repeat,  #566996;
background-size: 57px 75px, 57px 75px, auto 75px;
border-bottom: 2px solid #f8a21c;
clear: both;
text-align: center;
vertical-align: middle;
width: 90%;
margin: auto;
line-height: 75px;
height: 75px;
}

#logo a {
display: inline-block;
width: 100%;
height: 100%;
font-size: 300%;
font-weight: bold;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
color: #f8a21c;
}

#submenu {
display: table;
border-collapse:collapse;
width: 90%;
margin: 0px auto 0px;
font-weight: bold;
font-size: 120%;
height: 30px;
line-height: 30px;
text-align: center;
}

#submenu ul {
display: table-row;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}

#submenu ul li {
width:10%;
display:table-cell;
vertical-align:middle;
text-align:center;
}

#submenu ul li a {
display: inline-block;
width: 100%;
height: 100%;
}

#submenu ul li, #submenu ul li:hover {
position:relative;
}

#submenu ul li .info-inner {
opacity:0;
visibility:hidden;
position:absolute;
z-index:1;
}

#submenu ul li:hover .info-inner {
display:block;
border: 1px solid #566996;
background-color: #778899;
position:absolute;
left:auto;
padding:4px;
width:250px;
font-size:85%;
opacity:1;
visibility:visible;
z-index:2;
-o-transition:      visibility 0s 0.5s, opacity 0s 0.5s, z-index 0s 0.5s;
-ms-transition:     visibility 0s 0.5s, opacity 0s 0.5s, z-index 0s 0.5s;
-moz-transition:    visibility 0s 0.5s, opacity 0s 0.5s, z-index 0s 0.5s;
-webkit-transition: visibility 0s 0.5s, opacity 0s 0.5s, z-index 0s 0.5s;
transition:         visibility 0s 0.5s, opacity 0s 0.5s, z-index 0s 0.5s;
}

#submenu ul li:hover .info-inner ul {
padding:2%;
display:block;
text-align:center;
width:auto;
height:auto;
}

#submenu ul li .info-inner ul li {
border:none;
display:table-row;
vertical-align:middle;
text-align:left;
font-weight:bold;
text-transform:none;
width:auto;
}
#submenu ul li .info-inner ul li a, #submenu ul li .info-inner ul li a:link, #submenu ul li .info-inner ul li a:visited, #submenu ul li .info-inner ul li a:active, #submenu ul li .info-inner ul li a:hover { 
display:inline;
}
#submenu ul li .info-inner ul li .infoentry { 
display:table-cell;
}

#blog_sub {
color: #7A7458;
padding: 2px;
border: 4px solid #D4CDAC;
background: url(http://z5.ifrm.com/30387/31/0/f5260013/Scan45.png) #DCD6B9;
text-shadow: 0 0;
}

#blog_sub div.inner {
border-radius: 7px 7px 0 0;
-moz-border-radius: 7px 7px 0 0;
-webkit-border-radius: 7px 7px 0 0;
padding: 5px;
background: url(http://z5.ifrm.com/30387/31/0/f5260014/TileNatural.png);
border-color: #E5E0CA;
}

#profile_menu div.inner {
border: 1px solid #566996;
background-color: #778899;
}

#profile_menu > li > a {
padding: 0;
margin: auto;
position: relative;
right: 2px;
width: 9.5em;
display: inline-block;
}

a.drophover {
border-bottom-color: #E5E0CA !important;
}

#wrap {
width: 90%;
margin: auto;
}

#wrap-inner, #top, div.inner {
}

ul.drop_menu ul {
border-top: 0;
padding-top: 0;
margin: 0;
}

#menu_ucp ul {
margin-left: -3px;
}

ul.drop_menu ul div.inner {
}

#top-outer, #top {
border-radius: 7px;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
}

#nav {
font-size: 120%;
margin:1% auto;
width: 100%;
color: #F8A21C;
padding: 0;
}

#nav li {
line-height: 30px;
display: inline-block;
}

#nav a {
font-weight: bold;
}

.meta_box {
border: 1px solid #566996;
background-color: #708090;
line-height: 150%;
padding: 10px 25px;
}

.meta_menu {
background-color: #778899;
padding: 0;
width: 49%;
}

ul.cat-pages {
float: left;
margin: 15px 0;
padding: 5px 1px;
}

.cat-pages a, .cat-pagesjump i, .cat-topicpages a {
cursor: pointer;
padding: 2px 5px;
}

.cat-pages a:hover, .cat-topicpages a:hover {
color: #C0A318;
}

.cat-pages span {
cursor: default;
color: #F8A21C;
font-weight: bold;
padding: 2px 5px;
}

.cat-pages input {
background: #A54E54;
color: #A54E54;
padding: 3px 5px;
vertical-align: baseline;
}

ul.cat-topicpages {
float: right;
padding: 1px 0;
}

tr.generic td, div.generic {
font-size: 120%;
font-weight: bold;
text-align: center;
}

td.c_desc {
font-weight: bold;
text-align: right;
vertical-align: middle;
width: 200px;
}

td.c_desc small {
display: block;
font-weight: 400;
}

tr.pm_new td {
background: #93BF82;
font-weight: bold;
}


td.c_post div.inner, div.blog_entry div.inner, div.search_results div.inner, #topic_review div.inner {
}

.bday {
background: url(http://z5.ifrm.com/30387/31/0/f5280578/purple_gift.png) no-repeat;
background-size: 16px 16px;
background-position: center center;
font-weight: bold;
height: 16px;
padding: 2px 2px 2px 36px;
width: 20px;
}

td.c_mark, td.c_subforum, td.c_footicons, .c_postfoot td, td.c_user, td.c_username, td.c_postinfo {
background-color: #708090;
}

.c_mark {
text-align: center;
width: 1%;
}

.c_forum {
width: 60%;
}

.c_forum strong a {
font-size: 120%;
}

.c_forum-desc {
color: #333;
}

.c_last-title {
display: block;
line-height: 16px;
}

td.c_info-v, td.c_info-t, td.c_info-r {
padding: 5px;
text-align: center;
}

td#stats_events a, td#stats_events span {
background: url(http://z5.ifrm.com/30387/31/0/f5280572/purple_empty-clipboard.png) no-repeat 2px;
background-size: 12px auto;
padding: 4px 0 4px 20px;
}

td.c_username {
padding: 2px 0;
text-align: center;
}

td.c_username a {
font-size: 140%;
font-weight: bold;
}

td.c_user dl {
margin: 10px 0;
padding: 5px 7px;
width: 160px;
}

dl.user_profile {
overflow: hidden;
word-wrap: break-word;
}

dl.user_profile dd {
font-style: italic;
margin-left: 8px;
}

dl.user_info dd {
font-weight: bold;
margin-bottom: 1px;
}

#profile_menu li li a {
border-top: 0;
font-weight: bold;
padding: 4px 5%;
}

td.c_poll-choice label {
font-weight: bold;
padding-left: 1em;
}

th.l {
text-align: center;
}

td.c_poll-votes {
font-size: 120%;
text-align: center;
width: 15%;
}

td.c_poll-bar div {
background: #F8A21C;
float: left;
height: 12px;
padding-right: 3px;
}

td.c_poll-bar span {
background: #F8A21C;
display: block;
float: left;
height: 12px;
width: 3px;
}

.editby, .queued {
color: #F8A21C;
font-size: 85%;
font-style: italic;
margin-top: 1em;
padding: 3px 5px;
}

.queued {
color: #A54E54;
background-color: #EAE7D9;
border: 1px solid #A54E54;
}

blockquote, .notice, #blog blockquote blockquote {
background-color: #708090;
border: 1px solid #566996;
margin: 10px auto;
padding-bottom: 1px;
}

blockquote, #blog blockquote blockquote {
width: 98%;
}

.notice {
width: 70%;
font-size: 120%;
}

blockquote.stafftag dl {
background: none;
border-bottom: 2px solid #C0A318;
}

blockquote.stafftag dl dt, blockquote.stafftag div {
font-weight: bold;
color: #C0A318;
}

blockquote dl {
background-color: #566996;
}

blockquote dl dt, blockquote dl dt {
float: left;
font-weight: bold;
}

.notice dt {
background-color: #566996;
font-weight: bold;
}

code {
background-color: #708090;
display: block;
font-family: Monaco, Consolas, "Courier New", Courier, monospace;
white-space: pre;
max-height: 400px;
max-width: 700px;
overflow: auto;
}

table.profile thead, table thead tr th, table.cat_head, div.meta_menu h3, #fast-reply dt, div.topic h2.special {
background-color: #566996;
background: -moz-linear-gradient(30deg, #404759 38%, #F8A21C 38%, #F8A21C 62%, #566996 62%) left no-repeat, -moz-linear-gradient(-30deg, #566996 38%, #F8A21C 38%, #F8A21C 62%, #404759 62%) right no-repeat, #566996;
background: -webkit-linear-gradient(30deg, #404759 38%, #F8A21C 38%, #F8A21C 62%, #566996 62%) left no-repeat, -webkit-linear-gradient(-30deg, #566996 38%, #F8A21C 38%, #F8A21C 62%, #404759 62%) right no-repeat, #566996;
background: -o-linear-gradient(30deg, #404759 38%, #F8A21C 38%, #F8A21C 62%, #566996 62%) left no-repeat, -o-linear-gradient(-30deg, #566996 38%, #F8A21C 38%, #F8A21C 62%, #404759 62%) right no-repeat, #566996;
background: linear-gradient(60deg, #404759 38%, #F8A21C 38%, #F8A21C 62%, #566996 62%) left no-repeat, linear-gradient(120deg, #566996 38%, #F8A21C 38%, #F8A21C 62%, #404759 62%) right no-repeat, #566996;
background-size: 30px 30px, 30px 30px, auto 30px;
height: 30px;
line-height: 30px;
text-align: center;
vertical-align: middle;
border: none;
border-bottom: 2px solid #f8a21c;
padding: 0;
margin: 0;
}

table.profile thead tr th {
background: none;
}

table.cat_head tbody {
display: table-row-group;
padding: 0;
}

table.cat_head td {
background: none;
padding: 0;
border: none;
}

img, blockquote blockquote code {
max-width: 500px;
}

div.spoiler {
background-color: #708090;
border: 1px solid #566996;
border-top: 0;
margin: 0px;
padding: 2px 5px;
}

div.spoiler_toggle {
background-color: #566996;
padding: 2px 5px;
line-height: 20px;
height: 20px;
cursor: pointer;
font-weight: bold;
}

td.c_postinfo {
vertical-align: middle;
}

td.c_sig {
}

td.c_sig blockquote {
background: none transparent;
border: 0;
border-left: 3px solid #666142;
padding-left: 5px;
}

td.c_sig blockquote dl {
background: none transparent;
border: 0;
color: #666142;
}

td.c_sig blockquote dl dt, td.c_sig blockquote dl dd {
padding: 0;
}

td.c_sig blockquote div {
background: transparent;
margin-left: 5px;
padding: 0;
}

tr.c_postfoot td, td.c_postfoot {
clear: both;
}

td.c_username {
width: 195px;
}

.c_next a {
display: block;
font-size: 120%;
font-weight: bold;
text-align: center;
}

#fast-reply dd {
background-color: #778899;
padding: 15px 0;
text-align: center;
}

#c_post-preview {
background: #708090;
border: 1px solid #566996;
margin: 0 auto 10px;
padding: 5px;
text-align: left;
width: 98%;
}

#c_post-resize span {
color: #e7e7e7;
cursor: pointer;
font-size: 225%;
padding: 20px 5px 0;
}

#emot_wrap {
background: #708090;
border: 1px solid #566996;
}

#emot_wrap h3 {
background-color: #566996;
border-bottom: 1px solid #566996;
text-align: center;
}

#emot_end {
border-top: 1px solid #566996;
display: block;
font-weight: bold;
padding: 4px 0;
text-align: center;
}

#pm_folders {
padding-top: 30px;
vertical-align: top;
width: 150px;
}

#pm_folderlist {
position: relative;
margin-left: 0;
margin-top: 0
}

#pm_folderlist li {
background: url(http://z5.ifrm.com/30387/31/0/f5280576/purple_folder_borderless.png) no-repeat;
background-size: 16px auto;
background-position: left center;
display: list-item;
margin-bottom: 4px;
padding-left: 28px;
}

#pm_forwarded {
border: 1px dotted #e7e7e7;
color: #666142;
font-size: 90%;
font-style: italic;
margin-top: 1em;
padding: 3px 5px;
}

#ucp_gallery a {
font-weight: bold;
}

table.calendar th a {
text-shadow: 0 0;
}

.calendar td.cal_inactive {
background-color: #708090;
}

td.cal_inactive div {
border: 0 !important;
background: none !important;
}

.calendar td div {
background-color: #708090;
border-bottom: 1px solid #566996;
font-weight: bold;
padding: 5px 7px;
}

.calendar div a {
font-size: 80%;
font-weight: 400;
}

.calendar li a, .calendar li span {
border-color: transparent;
border-style: solid;
border-width: 1px;
display: block;
padding: 3px;
}

.calendar td#cal_current {
border: 2px solid #F8A21C;
}

div.portal_content {
background: url(http://z5.ifrm.com/30387/31/0/f5260011/LtGradBottom.png) repeat-x left bottom #E5E0CA;
border: 1px solid #D4CDAC;
font-size: 88.3%;
margin: 0;
padding: 5px 7px;
}

#portal h2 {
font-size: 88.3%;
}

#portal h4 {
background: url(http://z5.ifrm.com/30387/31/0/f5260009/Gradth30.png) repeat-x #E5DFC9;
border-left: 1px solid #D4CDAC;
border-right: 1px solid #D4CDAC;
font-size: 88.3%;
font-weight: 400;
margin: 0;
padding: 5px 7px;
}

#faq dt a {
color: #A54E54;
font-size: 120%;
font-weight: bold;
}

#faq dd.faq_more a, #faq dl.faq_more a:hover {
font-style: italic;
}

div.search_results {
border: 1px solid #D4CDAC;
background: url(http://z5.ifrm.com/30387/31/0/f5260011/LtGradBottom.png) left bottom repeat-x #E5E0CA;
margin-bottom: 1em;
padding: 5px 7px;
}

div.search_results h3 {
display: inline;
font-size: 125%;
}

div.search_results h3 a {
color: #A54E54;
}

.search_results cite, .search_results p {
color: #666142;
font-size: 85%;
margin: 0;
}

#findposts .c_mark {
color: #A54E54;
font-size: 200%;
font-weight: bold;
vertical-align: top;
}

#pmtoast {
bottom: 10px;
border: 1px solid #566996;
background-color: #778899;
display: none;
font-size: 90%;
position: fixed;
right: 10px;
text-align: right;
text-decoration: none;
width: 200px;
z-index: 1;
margin: 0;
}

#pmlink {
background: url(http://z5.ifrm.com/30387/31/0/f5280575/purple_envelope_borderless.png) no-repeat;
background-position: 10% center;
background-size: auto 35px;
display: block;
padding: 10px 10px 10px 55px;
text-decoration: none;
}

#pmlink big {
display: block;
font-weight: bold;
padding-bottom: 5px;
}

#pmclose {
display: block;
font-size: 80%;
padding: 1px 10px;
}

#foot_wrap {
margin: 20px 1px 20px 0;
}

#foot {
background: none;
}

#foot tbody {
margin: 0;
}

#foot td {
background: none;
border: 0;
}

#foot #foot_datetime {
width: 1%;
white-space: nowrap;
}

#copyright {
margin: 10px 0;
text-align: center;
}

#copyright a {
font-weight: bold;
}

#c_tos h3 {
color: #333;
font-size: 120%;
}

td.username_ok {
background: #93BF82;
}

input.username_ok {
outline: 2px solid #72B803;
}

td.username_no {
background: #C08393;
}

input.username_no {
outline: 2px solid #e77700;
}

#acplogin {
background: #E5E0CA;
border: 4px solid #BCB486;
box-shadow: 2px 2px 0 #ECE7D0 inset, -2px -2px 0 #ECE7D0 inset;
height: 275px;
left: 50%;
margin: -137.5px 0 0 -250px;
padding: 0;
position: absolute;
top: 50%;
width: 500px;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

#acplogin td.c_mark img {
display: none;
}

#acplogin td.c_mark {
background: url(http://z5.ifrm.com/30387/31/0/f5260101/acplogoicon.png) center no-repeat #E5E0CA;
width: 300px;
}

#acplogin th {
background: url(http://z5.ifrm.com/30387/31/0/f5260009/Gradth30.png) repeat-x #E5DFC9;
border: 1px solid #D4CDAC;
color: #A54E54;
}

#acplogin h1 {
background: url(http://z5.ifrm.com/30387/31/0/f5260102/acplogo.png) 0 10px no-repeat;
color: #E5E0CA;
font-weight: 400;
height: 50px;
margin-bottom: 20px;
padding: 50px 20px 0 0;
text-align: right;
}

#acplogin h1 img {
display: none;
}

a img {
border: 0;
}

form {
display: inline;
margin: 0;
padding: 0;
}

h3 {
padding: 3px 0;
}

input[type=checkbox] {
background: transparent;
border: 0;
padding: 0;
vertical-align: bottom;
}

input[type=radio] {
border: 0;
}

select {
margin: 0 7px;
padding: 0;
vertical-align: bottom;
font-size: 100%;
}

option {
margin: 2px 0;
}

button.btn_img {
border: 0;
cursor: pointer;
padding: 0;
}

.notice dt, .notice dd {
padding: 5px 7px;
}

.drop_menu a img {
vertical-align: bottom;
}

.drop_menu li:hover ul, .drop_menu li.hover ul {
left: auto;
}

#main {
height: 1%;
width: 100%;
margin: auto;
}

#nav li img {
vertical-align: top;
}

.meta_box, .meta_menu {
margin: 10px 0;
}

.meta_box li {
display: list-item;
list-style-position: inside;
list-style-type: square;
margin-left: 10px;
}

.meta_menu ul {
margin: 5px 5%;
}

.meta_menu img, .meta_menu span {
float: right;
margin: 10px 20px;
}

.cat-topicpages a {
padding: 0 2px;
}

.cat-buttons, .topic-buttons {
float: right;
margin: 15px 0;
text-align: right;
width: 50%;
}

tr.postbtn td {
padding: 5px;
text-align: center;
}

.row1, .row2 {

line-height: 1.4;
}

td.c_head input, td.c_foot input, td.c_sort input {
padding: 1px;
}

td.c_desc img, td.c_desc input {
float: left;
vertical-align: middle;
}

.category {
margin: 10px 0 0;
}

span.collapse, span.uncollapse {
cursor: pointer;
float: right;
position: relative;
margin-right: -31px;
margin-top: -6px;
}

.c_mark img {
display: block;
margin: auto;
}

.c_last {
line-height: 1.4;
min-width: 300px;
width: 30%;
}


table {
background-color: #566996;
}

.category td.c_foot {
background-color: #566996;
height: 15px;
line-height: 15px;
text-align: center;
vertical-align: middle;
border: none;
border-top: 2px solid #f8a21c;
padding: 0;
margin: 0;
}

#stats td.c_foot {
padding:5px 10px;
}

#stats_members {
line-height: 1.2;
}

td.c_cat-mark, td.c_cat-icon {
padding: 5px 0;
text-align: center;
width: 30px;
}

th.c_cat-title, th.c_cat-lastpost {
padding: 3px 10px;
}

td.c_cat-starter {
width: 125px;
}

td.c_cat-lastpost {
width: 175px;
}

.c_user {
vertical-align: top;
width: 175px;
}

img.c_user {
height: 1px;
}

.avatar, img.member {
display: block;
margin: auto;
text-align: center;
}

#blog_user img {
margin: 0;
}

.av_wrap {
overflow: hidden;
text-align: center;
margin: auto;
}

td.c_user .usertitle {
text-align: center;
margin: 3px 0;
}

.pip {
margin: 3px 0;
white-space: nowrap;
font-size:175%;
font-weight:bold;
}

dl.user_info dt, dl.user_info dd {
padding: .1em;
}

dl.user_info dt {
float: left;
margin: 0;
min-width: 4em;
}

dl.user_info dd.spacer, dl.user_profile dd.spacer {
clear: both;
float: none;
height: 1px;
padding: 0;
}

td.c_poll-choice {
line-height: 1.5;
padding-left: 45%;
}

td.c_poll-answer {
text-align: right;
width: 42.5%;
}

td.c_poll-bar {
text-align: left;
vertical-align: middle;
width: 42.5%;
}

* html td.c_poll-bar span {
margin-top: 3px;
}

td.c_post {
line-height: 1.7;
vertical-align: top;
font-size: 120%;
}

td.c_post ul {
list-style-type: square;
margin-left: 10px;
}

td.c_post a, td.c_sig a {
color: #404759;
text-decoration: underline;
}

td.c_post a:hover, td.c_sig a:hover {
color: #f8a21c;
}

.c_post-attachment {
font-size: 83.3%;
margin-top: 1em;
padding: 1em;
}

.c_post-attachment dd {
margin-left: 1em;
}

.post_sep {
display: inline-block;
border: none;
padding: 0px;
height: 0px;
width: 0px;
margin: 0px;
}

td.c_sig, td.c_nosig {
height:0.5%;
vertical-align: top;
}

td.c_nosig {
display: none;
}

blockquote dl dt, blockquote dl dd {
padding: 2px 5px;
line-height: 20px;
height: 20px;
}

blockquote div, blockquote code {
margin: 0;
padding: 5px;
}

dl#fast-reply {
clear: both;
margin: auto;
}

dl#fast-reply dd p {
margin: -3px;
padding: 0 5% 10px;
text-align: left;
}

dl#fast-reply dd textarea {
display: block;
height: 100px;
margin-bottom: 10px;
width: 95%;
}

#c_post-text {
height: 223px;
}

#c_post-resize {
float: right;
margin-top: -1px;
padding: 4px 0 0;
text-align: right;
}

#btn_preview {
float: left;
margin: 10px 0 0 1px;
}

#c_emot {
height: 225px;
vertical-align: top;
width: 210px;
}

#emot_list {
height: 275px;
margin: 0 auto;
overflow: auto;
padding: 5px 0;
text-align: center;
}

div#emot_list {
padding: 0;
}

#emot_list li {
display: inline;
padding: 4px 10px;
}

#emot_list img {
cursor: pointer;
vertical-align: baseline;
}

.pm {
margin-bottom: 1em;
}

#pm_datesent {
width: 200px;
}

#pm_select {
text-align: center;
width: 1px;
}

#conversation .c_post {
padding: 2em;
}

#ucp_profile, #pm_messages {
float: right;
}

#ucp_settings img, #ucp_profile img {
margin: 18px 20px;
}

#ucp_gallery li {
float: left;
margin: 15px 5px;
}

#ucp_gallery button {
cursor: pointer;
text-align: center;
}

.ucp button.btn_text {
padding: 5px 0;
text-align: center;
width: 100%;
}

.calendar td {
height: 125px;
padding: 0;
vertical-align: top;
width: 14.3%;
}

.calendar li {
display: list-item;
font-size: 80%;
margin: 0;
}

.calendar li.placeholder {
padding: 4px;
}

.calendar li span {
cursor: default;
}

.calendar td#cal_current div {
padding-top: 3px;
background: none;
border: 0;
}

#portal_head {
margin-bottom: 10px;
}

#portal_foot {
margin-top: 10px;
}

#portal_l, #portal_r {
font-size: 88.3%;
margin: 0;
padding: 0;
}

#portal_l {
float: left;
width: 200px;
}

#portal_r {
float: right;
width: 150px;
}

#portal_news {
margin: 0 165px 0 215px;
}

#portal_clear {
background: transparent;
border: none;
clear: both;
font-size: 1px;
height: 1px;
margin: 0;
padding: 0;
}

.portal_box {
margin-bottom: 5px;
padding: 1px;
}

.portal_box table {
clear: none;
}

#portal h2, #portal_foot h2 {
clear: none;
margin: 0;
border: 4px solid #BCB486;
}

#faq {
margin: 20px 0;
}

#faq dl {
padding: 1em;
}

#faq dt {
margin-bottom: 5px;
}

#faq dd {
display: list-item;
margin: 0 0 3px 15px;
padding-left: 3px;
}

.search_results div {
display: block;
margin: 5px 0;
}

#acplogin #loginform {
display: block;
padding: 0 50px;
}

#nav li span, .c_post-attachment dt, #c_tos dt {
font-weight: bold;
}

.meta_box h3, td.c_topicfoot strong, #meta_welcome strong {
font-size: 120%;
}

blockquote div {
background-color: #708090;
}

img, .meta_box button img, td.c_cat-mark input, .c_post-attachment img, .warn img, #ucp_gallery a img, td.c_postinfo input {
vertical-align: middle;
}

h1, h2, h3, #boardmeta {
clear: both;
margin: 0;
}

#meta_welcome, .search_results {
clear: both;
}

#stats_events {
line-height: 2;
}

.c_cat-starter, .c_cat-replies, .c_cat-views, td.c_poll-total, td.c_poll-vote, td.c_topicfoot, .warn, #c_notes {
text-align: center;
}

blockquote dl dd, #foot #foot_links {
text-align: right;
}

#c_post, #ucp_gallery {
text-align: center;
vertical-align: top;
}

#files_upload input, .pm .row1 a, .pm .row2 a, #ucp_gallery button img, #findposts td a {
display: block;
}

#ucp_settings, #pm_settings {
float: left;
}

#c_tos dd, #username_response {
margin-left: 10px;
}

#vlx {
z-index: 1;
}

#blog {
margin: 15px 0;
}

#blog blockquote {
background: none;
border: none;
font-size: 13px;
padding: 10px 10px 0;
}

#blog blockquote blockquote {
padding: 0;
font-size: 100%;
}

#blog h1 {
float: right;
}

#blog h2 {
clear: none;
font-size: 13px;
margin: -5px -7px 0;
border: 4px solid #BCB486;
}

#blog_foot {
clear: both;
margin-bottom: 20px;
}

#blog_head {
padding: 10px 14px;
border: 1px solid #D4CDAC;
background: url(http://z5.ifrm.com/30387/31/0/f5260011/LtGradBottom.png) left bottom repeat-x #E5E0CA;
margin-bottom: 15px;
}

#blog_head img.member {
display: inline;
}

#blog_head:after {
content: ".";
display: block;
height: 0;
line-height: 0;
clear: both;
visibility: hidden;
}

#blog_main {
margin: 20px 200px 10px 10px;
}

#blog_categories, #blog_readers, #blog_about, div.blog_options {
border: 1px solid #D4CDAC;
background: url(http://z5.ifrm.com/30387/31/0/f5260011/LtGradBottom.png) left bottom repeat-x #E5E0CA;
margin: 15px 0;
padding: 5px 7px;
}

#blog_sidebar h3, #blog_sidebar dt {
font-weight: bold;
color: #A54E54;
}

#blog_sub {
clear: both;
position: relative;
text-align: right;
}

#blog_sub span {
padding-top: 4px;
}

#blog_sidebar {
border: 1px solid #D4CDAC;
background: url(http://z5.ifrm.com/30387/31/0/f5260011/LtGradBottom.png) left bottom repeat-x #E5E0CA;
float: right;
font-size: 93.3%;
margin: 20px 10px 0 0;
padding: 0 10px;
width: 160px;
}

#blog_sidebar dd {
margin-left: 10px;
}

#blog_user {
font-size: 175%;
}

#blog table {
clear: none;
}

div.blog_options {
background: url(http://z5.ifrm.com/30387/31/0/f5260009/Gradth30.png) repeat-x #E5DFC9;
font-size: 11px;
text-align: right;
margin-top: 50px;
border-radius: 7px;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
border: 4px double #C5BE9E;
}

div.blog_date {
color: #A54E54;
float: right;
font-weight: bold;
margin: 55px 15px 0;
text-align: center;
text-transform: uppercase;
width: 40px;
border-radius: 7px;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
}

div.blog_date div.inner {
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background: #E5E0CA !important;
}

div.blog_date span {
color: #C0A318;
display: block;
font-size: 130%;
font-weight: bold;
padding: 2px 4px;
}

div.blog_entry {
border: 1px solid #D4CDAC;
background: url(http://z5.ifrm.com/30387/31/0/f5260011/LtGradBottom.png) left bottom repeat-x #E5E0CA;
margin: 10px 0;
padding: 5px 7px;
min-height: 150px;
}

#blog_comments li {
padding: 5px 7px;
}

#shoutwrap td {
padding: 0;
width: 100%;
}

#shoutbox {
list-style-type: none;
margin: 0;
padding: 0;
}

#shoutbox li {
padding: 5px 7px;
}

#shoutbox li.odd {
background-color: #708090;
}

#shoutbox dl, #shoutbox dt, #shoutbox dd {
margin: 0;
padding: 0;
}

#shoutbox dt {
}

#shoutopts, #shoutpost {
clear: both;
text-align: center;
}

#c_bbcode button, #security_settings input[name="question"] {
margin-bottom: 5px;
}

#c_notes button {
margin-top: 5px;
}

form.exclusivebutton + div.topic, #notepad, #avatar_editor, #blog_cat_edit, #subscriptions, #ucp_splash + table.ucp {
margin-top: 10px;
}

.poll {
margin-bottom: 10px;
}

#forum_footer, form[class="exclusivebutton"] + table, #trash_footer, #cal_end {
margin-top: -1px;
}

input.row1 {
background: none;
}

canvas.cornercanvas {
display: none !important;
}

table.calendar thead th {
text-align: center;
}

td.c_post table thead th, div.blog_entry table thead th, div.search_results table thead th, #topic_review table thead th {
}

#trash_footer {
margin: -1px 1px 0;
width: 99.6%;
}

div.blog_options a {
font-size: 13px;
}

#blog_sub span.left {
padding-top: 8px;
}

#blog_sub input {
background: #E5E0CA;
}

.embassy_thumb {
float:right;
margin-top:-20px;
max-height:40px;
max-width:400px;
}

.index_desc {
display: inline-block;
background-color: #566996;
font-weight: bold;
font-size: 120%;
padding: 2px 10px;
border-radius: 4px;
line-height: 20px;
height: 20px;
border: none;
}

.btn_small {
display: inline-block;
background-color: #566996;
border-radius: 4px;
height: 20px;
line-height: 20px;
text-align: center;
vertical-align: middle;
border: none;
padding: 2px 5px;
font-weight: bold;
font-size: 120%;
}

button {
display: inline-block;
background-color: #566996;
font-family: "Helvetica", "Arial", "Bitstream Vera Sans", "Verdana", sans-serif;
color: #ffffff;
border-radius: 4px;
height: 20px;
line-height: 20px;
text-align: center;
vertical-align: middle;
border: none;
font-weight: bold;
font-size: 120%;
}

button:hover {
color: #f8a21c;
text-decoration: none;
}

.btn_custom {
display: inline-block;
height: 30px;
line-height: 30px;
text-align: center;
vertical-align: middle;
border: none;
font-weight: bold;
font-size: 120%;
margin: 0;
}

.stats_icon {
display:inline-block; 
width: 54px; 
text-align:center;
vertical-align:middle;
}

.l {text-align:left}
.c {text-align:center}
.r {text-align:right}
.left {float:left}
.right {float:right}
#stats_members a.member, .bday_strip {white-space:nowrap}
.calendar li span {cursor:default}
#c_tos li {display:list-item;margin-left:25px}
#c_tos ul li {list-style:disc}
#c_tos ol li {list-style:lower-alpha}
#shoutrefresh {cursor:pointer}

.l {text-align:left}
.c {text-align:center}
.r {text-align:right}
.left {float:left}
.right {float:right}
#stats_members a.member, .bday_strip {white-space:nowrap}
.calendar li span {cursor:default}
#c_tos li {display:list-item;margin-left:25px}
#c_tos ul li {list-style:disc}
#c_tos ol li {list-style:lower-alpha}
#shoutrefresh {cursor:pointer}