/* reset css begin */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {  margin:0; padding:0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img {  border:0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
ol,ul { list-style:none; }
caption,th { text-align:left; }
h1,h2,h3,h4,h5,h6 {font-weight:normal;color: #fff;}
h1 {font-size:1.8em;line-height:1;margin-bottom:0.5em;font-weight:bold;display:inline;}
h2 {font-size:2.5em;margin-bottom:0.75em;font-weight:bold;display:inline;}
h3 {font-size:1.5em;font-weight:bold;margin-bottom:1em;display:inline;}
p {font-size: 1em; }

q:before,q:after { content:''; } abbr,acronym { border:0; }

/* html elements */
html, body {
    /* height: 100%; */
    margin: 0;
    padding: 0;
    font-family: helvetica, arial, sans-serif;
    font-size: 12px;
    background-image: url('../img/bg/pattern_7771.gif');
    background-position: 50%; 
    background-color: #21292f}

/* CLEAR FIX*/
.clearfix:after {content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* link styles */
a { color: #FFF; text-decoration: none; }
a.trending:link { color: #FFF; text-decoration: none; }
a.trending:active { color: #FFF; text-decoration: none; }
a.trending:visited { color: #FFF; text-decoration: none; }
a.trending:hover { color: #FFF; background-color: #d100d4; text-decoration: none; }

/* header */
#header {
    display: block;
    width: 960px;
    margin: 0 auto;
    position: relative;
}

#logo {
    display: block;
    float: left;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 10px;
}

#logo img { border: 0px; }


#nsfw {
    display: block;
    float: right;
    margin: 0 auto;
    padding-top: 20px;
}

/* login */

#login {
    display: block;
    float: right;
    margin: 0 auto;
    padding-top: 20px;
    margin-left: 30px;
    position: relative;
}

#signin_menu {
    -moz-border-radius-topleft:5px;
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:5px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    display:none;
    background-color:#ddeef6;
    position:absolute;
    width:210px;
    z-index:100;
    border:1px transparent;
    text-align:left;
    padding:12px;
    top: 38.5px; 
    margin-top:5px;
    margin-right: 0px;
    *margin-right: -1px;
    color:#789;
    font-size:11px;
}

#signin_menu input[type=text], #signin_menu input[type=password] {
    display:block;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border:1px solid #ACE;
    font-size:13px;
    margin:0 0 5px;
    padding:5px;
    width:203px;
}
#signin_menu p {
    margin:0;
}
#signin_menu a {
    color:#6AC;
}
#signin_menu label {
    font-weight:normal;
}
#signin_menu p.remember {
    padding:10px 0;
}
#signin_menu p.forgot, #signin_menu p.complete {
    clear:both;
    margin:5px 0;
}
#signin_menu p a {
    color:#27B!important;
}
#signin_submit {
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    background:#39d url('images/bg-btn-blue.png') repeat-x scroll 0 0;
    border:1px solid #39D;
    color:#fff;
    text-shadow:0 -1px 0 #39d;
    padding:4px 10px 5px;
    font-size:11px;
    margin:0 5px 0 0;
    font-weight:bold;
}
#signin_submit::-moz-focus-inner {
padding:0;
border:0;
}
#signin_submit:hover, #signin_submit:focus {
    background-position:0 -5px;
    cursor:pointer;
}

#headerbackground {
    float: left;
    postition: absolute;
    background-image: url('../img/backgroundbox.png');
    height: 287px;
    width: 960px;
    margin: 0 auto;
    opacity:0.5;
    filter:alpha(opacity=50);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

#topbox {
    display: inline-block;
    float: left;
    height: 250px;
    width: 904px;
    top: 90px;
    left: 0px;
    padding-top: 22px;
    padding-left: 28px;
    margin: 0 auto;
    position: absolute;
    text-align: left;
}

#title { float: left; position: relative;}

#search {float: right; }

fieldset.searchform {border: none; width: 500px; margin: 0px; }
.search input {border: none;float: left;}
.search input.searchbox {
    color: #bababa;
    font-size: 1.5em;
    font-weight: bold;
    width: 242px;
    height: 48px;
    padding: 6px 5px 0px 15px;
    background: url('../img/searchbox.png') no-repeat;
    margin-right: 10px;
    margin-top: -9px;}


#trending h2 { 
    width: 904px; 
    margin: 40px auto;
    text-align: center;
    display: inline;
    float: left;
}

#topics h3 {color: #43ac34; margin-right: 5px; float: left; display: block; height: 50px;}
#trendingtopics h3 {color: #FFF; float: left;}


/* content */

#divider {
    display: block;
    margin: 0 auto;
    background-color: #43ac34;
    height: 8px;
    width: 960px;
    margin-top: 15px;
}

#dividerNSFW {
    display: block;
    margin: 0 auto;
    background-color: #ff0000;
    height: 8px;
    width: 960px;
    margin-top: 15px;
}

#dividerLogin {
    display: block;
    margin: 0 auto;
    background-color: #8caed3;
    height: 8px;
    width: 960px;
    margin-top: 15px;
}

#dividerSearch {
    display: block;
    margin: 0 auto;
    background-color: #fff000;
    height: 8px;
    width: 960px;
    margin-top: 15px;
}

#dividerTrending {
    display: block;
    margin: 0 auto;
    background-color: #d100d4;
    height: 8px;
    width: 960px;
    margin-top: 15px;
}

#images {
    display: block;
    margin: 0 auto;
    width: 960px;
}

#image {
    background-image: url('../img/unavailable.png');
    display: block;
    float: left;
    width: 150px;
    height: 150px;
    margin-top: 11px;
    margin-left: 8px;
    }
    
#images img {
    background-image: url('../img/unavailable.png');
    display: block;
    float: left;
    width: 150px;
    height: 150px;
    margin-top: 11px;
    margin-left: 8px;
}

#containerContent {
    display: block;
    margin: 0 auto;
    width: 960px;
}

#containerContent p {
    top-margin: 15px;
    color: #fff;
}

#containerContent .photo_large {
    display: block;
    margin: 0 auto;
    float: left;
    width: 450px;
    height: 450px;
    margin-top: 11px;
    margin-left: 8px;
}

#containerContent .photo {
    display: block;
    margin: 0 auto;
    float: left;
    width: 150px;
    height: 150px;
    margin-top: 11px;
    margin-left: 8px;
}

#containerContent .morebox {width: 960px; }

#containerContent .more img {
    margin: 0 auto;
    margin-top: 23px;
    width: 960px;
    height: 37px;
}

/* footer */

#footer {
    display: block;
    margin: 0 auto;
    width: 960px;
    margin-top: 37px;
    margin-bottom: 17px;
}

#footer p {
    margin-left: 17px;
    color: #fff;
    font-size: 12px;
    text-align: left;
}

/* charts */

#container_pie {
    width: 460px; 
    height: 300px; 
    margin-top: 15px;
    margin-left: 15px; 
    display: inline; 
    float: left;
}

#container_chart {
    width: 460px; 
    height: 300px; 
    margin-top: 15px;
    margin-left: 15px; 
    display: inline; 
    float: left;
}
