#container, .site-header {
    /* max-width: 95%; */
    width: 100%;
    max-width: 100%;
    position: absolute;
}

/* ## NO Header CSS ## */
#otoy_logo_backg {
    position: relative;
    top: -5px;
}
/* ## NO Header CSS ## */


/* Compatability code */

body {
    background-position: 0px -1371px;
}

img {
    vertical-align: inherit;
}

#wrap ul li {
    /* list-style: square outside none !important; */
    list-style-image: url("/images/icons/forum_ul.png");
    padding-bottom: 5px;
}

input[type="text"], input[type="password"], select, textarea {
    border-radius: 0px;
    line-height: 1.4;
}

input[type="checkbox"], input[type="radio"] {
    margin: 4px 1px 6px 5px;
}

select {
    height: 25px;
    margin: 0px;
}
/*
fieldset.submit-buttons input {
    padding-bottom: 0px;
    padding-top: 0px;
    font-size: 12px;
}
*/

#page-header *, .buttons * {
    box-sizing: content-box;
}

.middle {
    margin: auto;
    width: 98%;
    max-width: none;
    padding: 0px;
    min-width: 770px;
    top: 70px;
    margin-bottom: 100px;
}

#pageContent {
    max-width: none !important;
    padding: 0px;
    padding-top: 10px;
}

#nav-header {
    padding: 4px 5px;
}

#nav-header .logintitle {
    top: 23px;
    right: 120px;
}

.site-header::after {
    background-image: none;
}

.forabg {
    padding-top: 5px;
}

#pageContent {
    font-family: "OpenSans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 13px;
    line-height: 1.42857;
    
    background: none;
}

#page-body {
    background: none;
    border: none;
    margin-top: 8px;
}

#pageContent ul.topiclist li.header a, #pageContent ul.topiclist li.header a:visited {
    text-decoration: initial;
}

.postbody h3.first, .postbody h3.first a {
    color: #D50708 !important;
}

.thumbnail a > img, .thumbnail > img {
    margin-right: initial;
    margin-left: initial;
}

.thumbnail {
    background-color: transparent;
    border: none;
    border-radius: 0px;
}

/*
#pageContent ul.topiclist li.header {
    background: linear-gradient(to bottom, #E79090 0%, #CB5656 100%) repeat scroll 0% 0% transparent;
}
*/

.forumbg, div.rules, div.post, .panel, .cp-mini, #pageContent ul.topiclist li {
    /*background-color: rgba(255, 255, 255, 0.5);*/
    background-color: rgba(244, 244, 244, 1);
}

#pageContent ul.topiclist dt {
    font-size: 12px;
}

.nav-links {
    background: url("/forum/styles/Otoy_OctaneRender/theme/images/content_top.png") repeat-x scroll 0px -1px transparent;
    border: 1px solid #E2E2E2;
    
    margin-bottom: 5px;
}

.nav-links-bottom {
    margin-top: 25px;
    clear: both;
}

.current-time {
    margin: 5px;
    
    font-size: 12px;
    color: #555;
}

.post {
    margin-top: 8px;
    margin-bottom: 8px;
}

.headerspace h3 {
    display: none;
}
.mark, mark {
    background-color: inherit;
}

.pagination {
    margin: 0px 0px;
}

.nav-links a {
    color: #3083AA;
}

.nav-extra a {
    margin-left: 0px;
}

.nav-links strong {
    font-size: 23px;
    line-height: 0;
    padding: 1px 3px 1px 4px;
    color: #C14A4A;
    position: relative;
    top: 2px;
}

.nav-links strong:first-child {
    padding: 1px 3px 1px 0px;
    margin-left: -8px;
}

a.forumtitle, a.topictitle {
    font-weight: 600;
    font-size: 13px;
}

.postprofile {
    max-width: 275px;
}

#format-buttons {
    padding-bottom: 5px;
}

#format-buttons input, #format-buttons select {
    vertical-align: middle;
}
#format-buttons a.button2, #format-buttons input.button2, #format-buttons input.button3 {
    border: 1px solid;
    color: #444;
    padding-left: 6px;
    padding-right: 6px;
    
    margin-left: 2px;
    margin-right: 2px;
    
    font-size: 12px;
    border-radius: 2px;
    box-shadow: 0px 17px 2px rgba(255, 255, 255, 0.2) inset, 1px 1px 2px #A83535;
    
    border-color: rgba(193, 74, 74, 0.8);
    
    background: -webkit-linear-gradient(top, #D1A7A7, #C14A4A);
    background: linear-gradient(to bottom, rgba(209, 88, 88, 0.2) 0%, rgba(193, 74, 74, 0.3) 100%) repeat scroll 0% 0% transparent;
}

#format-buttons a.button2:hover, #format-buttons input.button2:hover, #format-buttons input.button3:hover {
    border-color: rgba(193, 74, 74, 1);
    
    background: -webkit-linear-gradient(top, #D19292, #C14A4A);
    background: linear-gradient(to bottom, rgba(209, 88, 88, 0.5) 0%, rgba(193, 74, 74, 0.8) 100%) repeat scroll 0% 0% transparent;
    box-shadow: 0px 17px 2px rgba(255, 255, 255, 0.2) inset, 1px 1px 2px #A83535 inset;
}

#format-buttons a.button1, #format-buttons input.button1, #format-buttons input.button3, #format-buttons a.button2, #format-buttons input.button2 {
    width: auto !important;
    padding-top: 1px;
    padding-bottom: 1px;
}

dt, dd {
    font-weight: 500;
}

.details dt, .details dd {
    margin-bottom: 10px;
}
dt label {
    letter-spacing: 0.5px;
    font-weight: 600;
}

p.author {
    line-height: 1.4em;
}

.content h2, .panel h2, .panel > div > h3, .panel .content > h3 {
    color: #D50708;
}

/* Override color and style of table headers */
table.table1 th {
    background: -webkit-linear-gradient(top, #D19292, #C14A4A);
    background: linear-gradient(to bottom, rgba(209, 88, 88, 0.74) 0%, #C14A4A 100%) repeat scroll 0% 0% transparent;
    border-radius: 0px;
}

/* Fix for selected button background */
#tabs li.last a:hover span, #tabs li.activetab.last a span, #navigation li.last a:hover span, #navigation li#active-subsection.last a span, #minitabs li.last a:hover span, #minitabs li.activetab.last a span {
    background: none;
}

#tabs li a:hover span, #tabs li.activetab a span, #navigation li a:hover span, #navigation li#active-subsection a span, #minitabs li a:hover span, #minitabs li.activetab a span {
    background: none;
}

/* Fix for color pallette */
#palette-container td, #palette-container td img {
    line-height: 1;
    margin: 0px;
    border: 1px solid rgb(238, 238, 238);
    height: 12px !important;
    width: 12px !important;
    
    cursor: pointer;
}


/* Fix for safari */
#search-box {
    position: absolute;
}


/* Custom Twitter button */
.custom-tweet-button,
.custom-follow-button {
  width: 200px;
  margin: 1em auto 2em;

  display:inline;
  position:relative;
  top: -1px;
}
.custom-tweet-button a,
.custom-follow-button a {
  position: relative;
  display: inline-block;
  height: 22px;
  padding: 2px;
  border: 1px solid #ccc;
  font-size: 11px;
  color: #333;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  font-weight: bold;
  background-color: #F8F8F8;
  background-image: -webkit-gradient(linear,left top,left     bottom,from(#FFF),to(#DEDEDE));
  background-image: -moz-linear-gradient(top,#FFF,#DEDEDE);
  background-image: -o-linear-gradient(top,#FFF,#DEDEDE);
  background-image: -ms-linear-gradient(top,#FFF,#DEDEDE);
  border: #CCC solid 1px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}
.custom-tweet-button a:hover,
.custom-follow-button a:hover  {
  border-color: #BBB;
  background-color: #F8F8F8;
  background-image: -webkit-gradient(linear,left top,left bottom,from(#F8F8F8),to(#D9D9D9));
  background-image: -moz-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: -o-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: -ms-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: linear-gradient(top,#F8F8F8,#D9D9D9);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.custom-tweet-button a .btn-icon,
.custom-follow-button a .btn-icon{
  position: absolute;
  width: 16px;
  height: 13px;
  top: 50%;
  left: 3px;
  margin-top: -6px;
  background: url('/forum/styles/Otoy_OctaneRender/imageset/twitter.ico') 1px center no-repeat;
  background-size: 13px;
}
.custom-tweet-button a .btn-text,
.custom-follow-button a .btn-text{
  display: inline-block;
  padding: 2px 3px 0 20px;
}

/* Fix list bullets */
.post .content ul li, .postbody .content ul li {
    list-style: outside square !important;
}

/* Fix forum search list being way too small */
fieldset #search_forum {
    height: 400px;
    min-width: 500px;
}
