/*

TwinHelix Forums - CSS Formatting Control File

This file should be included on all your forum pages, and contains the font/colour/size/position
information that controls the forum presentation.

If you're not familiar with CSS, there's a good reference available at www.ncdesign.org

*/

/* General tag formatting & colours */

body {
 font: 80%/1.5 "Trebuchet MS", Helvetica, Arial, Sans-serif;
 color: #333;
 padding: 0 2em 0 2em;
 margin: 0;
}

table {
 font-size: 100%;
 box-shadow: 5px 5px 5px #c0c0c0;
/* box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.28); */
}

h1 {
/* font-weight:bold; */
 font-size: 150%;
 color: #369;
 margin-top: 0.5em;
 margin-bottom: 0.5em;
 text-align: center;
 clear: both;
}

h2 {
 font-weight: Bold;
 font-size: 160%;
 color: #444;
 margin-top: 1em;
 text-align: center;
}

h3 {
 font-size: 130%;
 color: #036;
 margin-top: 2em
}

input, textarea {
 font-family: "Trebuchet MS", Verdana, sans-serif;
 font-size: 100%;
 vertical-align: middle;
}



/* Generic content used on most pages */

#loginbar {
 margin-left: -2em;
 margin-right: -2em;
 padding: 0.1em 1em 0.1em 0;
 text-align: right;
 border-bottom: 1px solid #CCC;
 background-color: #fdfdfd;
 background-image:linear-gradient(#fdfdfd, #e8e8e8);
}

#loginbar #sitelinks {
 padding: 0.1em;
 float: left;
 margin-left: 1em;
 height: 3em;
 text-align: left;
}

#loginbar form {
 padding: 0;
 margin: 0;
}

div.whereami {
 margin-bottom: 1.5em;
 margin-left:5%;
}

.hide {
 display: none;
}

.navfloat{
float: right;
margin-right:5%;
}

.center{
float: center;
}


.footer {
 width: 100%;
 margin-top: 1em;
 text-align: center;
 font-size: 100%;
/* border-top: 1px dashed #999; */
 color: #999;
}

.pagediv {
 margin: 1em 0 1em 0;
 padding: 0.2em 1em 0.2em 0em;
 text-align: center;
 background-color: #f6f6f6;
 border: 1px solid #C0c0c0;
}
.pagelist a {
 font-weight: bold;
}


/* Forum listing table (class="forumlist") and its rows/columns */

.sbcol {
background-color: #3f7fbf;
background-image:linear-gradient(#3f7fbf, #33679a);
border-right: 0px solid #3f7fbf;

}

.fcol { 
background-color: #fdfdfd;
background-image:linear-gradient(#fdfdfd, #e8e8e8);
}

.icon {
background-color: #e8e8e8;
background-image: url(/forum/themes/ubb/forum_icon.gif);
background-repeat: no-repeat;
background-position: center; 
padding: 6px !important;
width: 25px;
}

.forumlist {
 width: 90%;
 margin: 0 auto;
 border: 1px solid #c0c0c0;
 border-collapse: collapse;
 -moz-border-radius: 10px;
 -webkit-border-radius: 10px;
 border-radius: 10px;
}

.forumlist th {
 background-color: #fdfdfd;
 background-image: linear-gradient(#fdfdfd,#e8e8e8);
 color:#333;
}

.forumlist th, .forumlist td {
 padding: 0.3em;
 border: 1px solid #c0c0c0;
}

.forumlist tr {
 background-color: #efefef;
}

.forumlist tr:hover {
background-color:#E8E8E8;
 cursor: pointer;
}

.forumlist td.sectionbreak {
 background-color: #3f7fbf;
 background-image: linear-gradient(#3f7fbf, #33679a);
 color:#ebd6ad;
 text-shadow: 1px 1px 1px #4f4f4f;
 text-indent: 0.5em;
 font-weight: bold;
}

.forumlist td.forumname {
 padding-left: 0.5em;
}

.forumlist td.forumname a {
 font-weight: bold;
}

.forumlist td.forumname div {
 padding-left: 0.5em;
}

.forumlist td.lastpost {
 white-space: nowrap;
 text-align: center;
}

.forumlist td.lastpostnew {
 white-space: nowrap;
 text-align: center;
 color:#7f0000;
}

.forumlist td.topics {
 text-align: center;
 background-color:#e8e8e8;
}

.forumlist td.posts {
 text-align: center;
 background-color:#e8e8e8;  
}


.topiclistfooter {
 background-color: #fdfdfd;
 background-image:linear-gradient(#fdfdfd, #e8e8e8);
}


.forumlist .forumlistfooter {
 background-color: #fdfdfd;
 background-image:linear-gradient(#fdfdfd, #e8e8e8);
 color: #000;
 text-align: right;
}

.forumlistfooter .topics {
 background-color: #fdfdfd;
 background-image:linear-gradient(#fdfdfd, #e8e8e8);
 color: #000;
}

.forumlistfooter .posts {
 background-color: #fdfdfd;
 background-image:linear-gradient(#fdfdfd, #e8e8e8);
 color: #000;
}


/* Topic listing page and table rows/columns */

.topiclist {
 width: 90%;
 margin:0 auto;
 border: 1px solid #c0c0c0;
 border-collapse: collapse;
}

.topiclist th {
 background-color: #3f7fbf;
 background-image:linear-gradient(#3f7fbf, #33679a);
 color:#ebd6ad;
 text-shadow: 1px 1px 1px #4f4f4f;
}

.topiclist th, .topiclist td {
 padding: 0.3em;
 border: 1px solid #c0c0c0;
}

.topiclist tr:nth-child(odd) {
 background-color: #efefef;
}
.topiclist tr:nth-child(even) {
 background-color: #efefef;
}
.topiclist tr:hover {
 background-color: #e8e8e8;
 cursor: pointer;
}

.topiclist .pinned {
 background-color: #FCFCFC;
}

.topiclist #listtopicerror {
 background-color: #F99;
 text-align: center;
}

.topiclist .origauthor {
 white-space: nowrap;
 text-align: left;
 padding-right: 0.5em;
}

.topiclist .posts {
 text-align: center;
}

.topiclist .postspopular {
 text-align: center;
 font-weight: bold;
}

.topiclist .lastpost {
 white-space: nowrap;
 text-align: right;
 padding-right: 0.5em;
}

.topiclist .lastauthor {
 float: left;
 text-align: left;
 padding-right: 1em;
}

.topiclist .pages {
 background-color: #9CC;
 text-align: center;
}

.topiclist a:link {
font-weight: bold;
}


.newtopic {
 width: 90%;
 margin: 0 auto;
 }

.createnewtopic {
 text-align: center;
 margin-top: 2em;
}
.createnewtopic a:link, .createnewtopic a:visited, .createnewtopic a:hover {
 margin: 0;
 padding: 0.3em 1em;
 background-color: #369;
 border: 1px solid;
 border-color: #6CF #036 #036 #6CF;
 color: #c0cbeb;
}
.createnewtopic a:active {
 border-color: #036 #6CF #6CF #036;
}

/* The message posting form, used for the new topic & post reply templates. */

.postform {
 width: 100%;
 text-align: center;
 margin-top: 3em;
}

.postform label {
 display: block;
 clear: both;
 font-weight: bold;
}

.postform input, .postform textarea {
 margin-bottom: 1em;
 font-weight: normal;
}
.postform textarea {
 width: 75%;
 height: 10em;
}

.postform UL {
 list-style-type: none;
}

.posterror {
 border: 1px solid red;
 background-color: #FEE;
 padding: 2em;
 width:90%;
}

.postformbox {
 background-color: #efefef;
 border: solid #C0C0C0;
 border-width: 1px;
 margin-top: 1em;
 padding-bottom: 1em;
 width: 90%;
 margin: 0 auto;
 box-shadow: 5px 5px 5px #c0c0c0;
}

/* Post display formatting */

.headerpost  {
 width: 90%;
 margin: 0 auto;
 font-weight: bold;
 color: #ebd6ad;
 text-shadow: 1px 1px 1px #4f4f4f;
 border: solid #c0c0c0;
 border-width: 1px;
 background-color: #3f7fbf;
 background-image:linear-gradient(#3f7fbf, #33679a);
}

.post {
 clear: both;
 width: 90%;
 margin: 0 auto;
 margin-top: -3px;
 background-color: #efefef;
 border: solid #c0c0c0;
 border-width: 1px 1px 1px 1px;
 text-align:left;
 overflow-wrap: break-word;
 box-shadow: 5px 5px 5px #c0c0c0;
}

.post:nth-of-type(4n) {
 background-color: #efefef;
}

.postinfo {
 float: left;
 width: 15em;
 overflow: hidden;
 padding: 0.2em 0 0.3em 0.5em;
}

.postinfo .author {
 font-weight: bold;
}

.postinfo .inforow {
 font-size: 90%;
 display: block;
}

.postcontent {
 margin-left: 15em;
 border-left: 1px solid #999;
 padding: 0.2em 0.5em 0.3em 0.5em;
 min-height: 6em; /* Mozilla hack */
}
.headerpost .postcontent {
 min-height: 0;
}

.postcontent .postdate {
 text-align: right;
 font-size: 85%;
 margin-bottom: 0.5em;
}

.postcontent .sig {
 text-decoration-line: overline;
 text-decoration-style:dotted;
 color:#7d7d7d;
 margin-top: 2em;
/*  border-top: 1px dashed #999;*/
 font-size: 85%;
 font-style: italic;
}

.postend {
 clear: both;
 height: 0;
 font-size: 0;
}


/* Topic settings form */

#topicsettings {
 text-align: center;
}

#topicname {
 width: 60%;
}

/* The account signup and editing UI */

.accountform {
 background-color: #f6f6f6;
 border: solid #C0C0C0;
 border-width: 1px;
 margin-top: 1em;
 padding-bottom: 1em;
 padding-left: 1em;
 width: 70%;
 margin: 0 auto;
}

.accountform label {
 display: block;
 float: left;
 width: 12em;
 font-weight: bold;
 text-align: right;
}

.accounterror {
 margin-bottom: 1em;
 color: red;
 font-weight: bold;
}

textarea#bio {
 width: 20em;
 height: 10em;
}

textarea#sig {
 width: 20em;
 height: 5em;
}


/* General link formatting and hover effects */

a {
 text-decoration: none;
 padding: 2px;
 border: 1px solid transparent;
/* border-radius: 0.3em;*/
}
* html a {
 border: none;
}
a:link {
 color: #369;
}
a:visited {
 color: #555;
}
a:hover {
color: #7f0000;
/* background: #e8e8e8;*/
/* border-color: #BDE; */
/* box-shadow: 0.2em 0.2em 0.4em #CCC; */
}

/* a:active {
 background: #fff;
 color: #FFF;
 border: 1px inset #36C;
 box-shadow: 0.2em 0.2em 0.4em #999;*/
}



/* Input area formatting and textbox hover effect */

.textbox {
 background-color: #FFF;
 border: 1px solid #c0c0c0;
}
.textbox:focus {
 background-color: #F2F8F1;
 border: 1px solid #c0c0c0;
}
.button {
 background-color: #dedede;
 border: 1px solid;
 border-color: #ccc #000 #000 #ccc;
 color: #000;
}


/* Mobile */
@media all and (max-width: 900px) {

 body {
  padding: 0 0.2em;
 }

 #loginbar {
  margin: 0 -0.2em;
 }

 .topiclist .origauthor {
  white-space: normal;
 }

 .topiclist .lastpost {
  white-space: normal;
 }

 .topiclist .lastauthor {
  float: none;
  padding-right: 0;
 }

 .postinfo {
  width: 10em;
 }

 .postcontent {
  margin-left: 10em;
 }

}
