html {
    background-color: #fff;
}

body {
    background-color: #f4f4f4;
    font-family: Helvetica, sans-serif;
}

header {
    background-color: #053656;
    min-height:50px;
}

.container {
    padding-left:20px;
    padding-right:20px;
}

section#main {
    min-height:800px;
}

header nav {
    width:100%;
    float:left;
    line-height:50px;
    padding-left:5px;
    padding-right:5px;
}

header nav div {
    float:left;
    cursor:pointer;
}

header nav div.nav-title {
    padding-left:17px;
    padding-right:17px;
    font-size:9pt;
}

header nav div.nav-title:hover {
    background-color:#021928;
}

header nav div.active {
    background-color:#021928;
}

header nav > div.nav-title:hover {
    background-color:#053656;
}

header nav a {
    color:#fff;
    text-decoration:none;
}

header nav a:hover {
    color:#fff;
    text-decoration:none;
}

header nav a:focus {
    color:#fff;
    text-decoration:none;
}

header a.logo {
    color:#fff;
}

footer {
    min-height:150px;
    background-color:#fff;
}

footer div {
    color:#000;
}

footer div.col-md-3 {
    padding-left:5px;
    padding-right:5px;
}

div#content, div.content, div.footer-container {
    width:1000px;
    margin:auto;
}

.background-item, .background-item img {
    width:240px;
    height:240px;
}

div.search-box {
    background: url(../images/search_box_small.png) no-repeat center;
    padding:2px;
    padding-left:10px;
    width:180px;
    height:30px;
    margin-top:-8px
}

input#search-input {
    border:0px;
    margin-right:5px;
    width:172px;
    padding:2px;
    padding-right:10px;
    padding-left:27px;
    float:left;
    color:#4b4b4b;
    line-height:100%;
    height:25px;
    padding-top:4px;
}

input.search-input {
    width:135px;
    padding:2px;
    padding-right:10px;
    padding-left:10px;
    float:left;
    color:#4b4b4b;
    line-height:100%;
    height:40px;
}

#nav-wrapper {
    width:1000px;
    margin:auto;
}

div.list-header {
    margin-top:20px;
    padding-left:5px;
    padding-right:5px;
    margin-bottom:20px;
}

div.list-header p {
    color: #555555;
    font-size:13pt;
    font-weight:normal
}

#list-header-author {
    margin-top:0px;
}

.container {
    max-width:1030px;
}

.background-item {
    width:240px;
    height:240px;
    margin-left:5px;
    margin-right:5px;
    margin-bottom:10px;
}

.background-item img {
    display:inline-block;
}

.background-item a {
    display: inline-block;
    background-color:#e5e5e5;
}

.background-item a img {
    background-color:#e5e5e5;
}

ul.background-list {
  list-style-type:none;
  overflow:hidden;
  margin:0;
  margin-bottom:0;
  padding:0;
  width:100%;
}

.background-list li {
  float:left;
  position: relative;
}

.line {
    height:1px;
    background-color:#acacac;
}

.line2 {
    height:2px;
    background-color:#f4f4f4;
}

.rounded-border {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

span.icon-sheet img {
    width:16px;
    float:left;
    margin-top:1px;
}

span.icon-sheet {
    margin-top:-4px;
    width:18px;
    height:18px;
    display:inline-block;
    background-position: center center;
    vertical-align:middle;
}

div.nav-title span.icon-sheet {

}

/* Custom styling for bootstrap */
.dropdown-menu>li > a:hover, 
.dropdown-menu>li > a:focus,  
.dropdown-menu>li > a.active {
    background-color: #e5306a !important;
    background-image: none;
    color:#fff;
    filter:none;
}

.dropdown-menu {
    border-top:0;
}

.dropdown-arrow {
    display:none;
}

div.dropdown.open .dropdown-arrow{
    display:block;
}

.background-detail img.content-image {
    width:77%;
    margin:auto;
    display:block;
}

.background-detail p, .background-detail span {
    color:black;
}

.background-detail div.content img.author-image, img.author-image {
    float:left;
    width:86px;
    height:86px;
    margin-right:18px;
}

p#author-homepage a {
    color: #0000cc;
    word-wrap: break-word;
}

p#author-name a {
    font-size:1.2em;
    color:#555555;
    word-wrap: break-word;
}

p#author-location {
    color:#555;
}

p#description, p#title {
    color:#555555;
}

p#download {
    margin-right:5px;
}

p#download, p#license {
    margin-top:20px;
    margin-bottom:0px;
}

div.author-detail p#description {
    margin-top:23px;
    margin-bottom:10px;
}

div.content.author-detail {
    padding:5px;
    padding-top:20px;
    padding-bottom:5px;
}

div.content.image {
    padding-top:30px;
    padding-bottom:5px;
}

div.content.author, div.content.author-description {
    padding-top:15px;
    padding-bottom:15px;
}

div.content.download-share {
    padding-top:30px;
    padding-bottom:30px
}

.download-button-box {
    text-align:center;
    margin:auto;
    margin-top:30px;
    width:464px;
}

.download-icon {
    color:#fff;
    padding:0;
    float:left;
    text-align:center;
    font-size:0.95em;
    cursor:pointer;
    margin-bottom:10px;
    overflow:hidden;
    position:relative;
    width:112px;
    height:32px;
    margin-left:2px;
    margin-right:2px;
}

.download-icon span {
    color:#fff;
    text-align:center;
    display:inline-block;
    width:80px;
    position:relative;
    margin-left:26px;
    margin-top:7px;
}

.download-icon a {
    text-decoration:none;
}

.download-icon a img {
    margin-bottom:4px;
    width:112px;
    height:32px;
    position:absolute;
    left:0;
    top:0;
}

div.content-bottom div.col {
    margin-top:30px;
    margin-bottom:20px;
    width:50%;
    position:relative;
}

div.content-bottom div.col.left {
    float:left;
}

div.content-bottom div.col.right {
    float:right;
}

div.content-bottom div.col.right div {
    float:right;
}

div.download-box {
	text-align:right;
}

div.footer-container {
    padding: 30px 5px;
    margin:auto;
}

div.footer-container div.col {
    float:left;
    width:25%;
}

div.footer-container div.col ul {
    list-style:none;
    padding:0;
    margin:0;
    font-size:0.9em;
    margin-top:10px;
    color:#acacac;
}

div.footer-container div.col ul li a {
    color:#acacac;
}

div.footer-container div.col div.footer-logo img {
    width:55px;
    height:35px
}

div.footer-container div.col div.footer-icons img {
    width:32px;
    height:32px;
}


div.copyrights {
    color:#acacac;
    font-size:0.95em;
}

div.contacts {
    margin-top:20px;
}

div.footer-container div.col div.contacts, div.footer-container div.col div.contacts a {
    font-size:0.9em;
    color:#acacac;
    margin-top:20px;
    margin-bottom:10px;
}

div.terms-policy,
div.about-us,
div.how-to-upload {
    color:#4d5358;
    font-size:0.9em;
}

.background-item-overlay {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 0, 0.5);
    display:none;
    padding:10px;
    margin-left:10px;
    bottom:0;
    margin-bottom:5px;
    color:#fff;
    position:absolute;
}

.background-item-overlay.popular {
    font-size:0.9em;
    padding:2px;
    padding-left:5px;
    padding-right:5px;
    margin-right:10px;
    bottom:0;
    right:0;
    margin-bottom:5px;
    position:absolute;
}

.background-item-wrapper {
}

.rounded-corners {
     -moz-border-radius: 5px;
     -webkit-border-radius: 5px;
     -khtml-border-radius: 5px;
     border-radius: 5px;
}


.background-item .categories, 
.background-item .authors {
    display:inline-block;
    position:absolute;
    margin-left:15px;
    margin-right:15px;
    margin-bottom:15px;
    bottom:0;
    color:#fff;
    font-size: 18pt;
    text-shadow: 2px 2px 5px #000000;
}

.background-item.invisible .categories, 
.background-item.invisible .authors {
    display:none;
}

a.tag-link {
    color:#4d5358;
}

a.tag-link:hover {
    color:#4d5358;
}

a.tag-link:active {
    color:#4d5358;
}

a.tag-link:visited {
    color:#4d5358;
}

.share-box {
    margin:auto;
    margin-top:15px;
    height:69px;
    width:352px;
    text-align:center;
}

.share-button {
    cursor:pointer;
    float:left;
    width:80px;
    height:32px;
    margin-left:4px;
    margin-right:4px;
    color:#666b70;
    position:relative;
}

.share-button img {
    position:absolute;
    height:32px;
    left:0;
    top:0;
}


.share-button.multi div.button {
    width:40px;
    height:32px;
}

.share-button span {
    color:#666b70;
    position:relative;
    font-size:0.8em;
    width:40px;
    display:inline-block;
    text-align:center;
    margin-top:8px;
    margin-left:34px;
}

.share-button.multi span {
    margin:0;
    padding:0;
    left:0;
    top:0;
    float:left;
    width:40px;
    height:32px;
}


#loading-page {
    position: absolute;
    text-align:center;
    height: 200px;
    width: 100%;
    margin: -10% 0 0 -50%;
    top: 50%;
    left: 50%;
    z-index:1000;
}

ul#daily-popular {
    list-style-type:none;
    padding:0;
    margin:0;
}

ul#daily-popular li {
    float:left;
    margin-bottom:10px;
}

ul#daily-popular li.left {
    margin-right:10px;
}

ul#daily-popular li a img {
    width:150px;
}


.background-item:hover .description.popular {
    display:inline-block;
}


