/* credit: http://fearlessflyer.com/2011/10/create-rotating-full-paged-background-images-with-css-and-jquery/ */


body {
    background: #000;
}
body * {
    font-family: 'Roboto Slab', serif !important;
}

.displayNone {
    display: none;
}

.dontShow {
    max-height: 0px;
    visibility: hidden;
    transition: max-height 0.5s, visibility 0.2s;
    -webkit-transition: max-height 0.5s, visibility 0.2s;
    -moz-transition: max-height 0.5s, visibility 0.2s;
    -ms-transition: max-height 0.5s, visibility 0.2s;
    -o-transition: max-height 0.5s, visibility 0.2s;
    transition: max-height 0.5s, visibility 0.2s;
    overflow: hidden;
}

a {
    text-decoration: none;
}

a:hover {
    color: #c00;
}

.forumHeader {
    display: flex;
    width: 100%;
}

#userProfile {
    display: flex;
    flex-direction: column;
    width: 600px;
    margin: auto;
    line-height: 2.5;
}


#userProfile label {
    float: left;
    margin-right: 50px;
}

#userProfile div {
    width: 100%;
}

.forumHeader div {
    width: 100%;
}

.show {
    height: auto;
    max-height: 10000px;
    visibility: visible;
    transition: max-height 2s, visibility 1s;
    -webkit-transition: max-height 2s, visibility 1s;
    -moz-transition: max-height 2s, visibility 1s;
    -ms-transition: max-height 2s, visibility 1s;
    -o-transition: max-height 2s, visibility 1s;
    transition: max-height 2s, visibility 1s;
}

#slideshow, #slideshow img {
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index:-9999;
}

.postForm label{
    display: none;
}

#content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: rgb(255, 255, 255, 0.8);
    text-align: right;
    max-height: 90%;
    overflow: auto;
    padding: 0px 20px 20px;
}


.threads {
    margin-left: 30px;
}

.socialIcon {
    height: 17px;
    max-height: 17px;
    margin: 0 2px;
}

.overflowAuto {
    overflow: auto;
}


img#logo {
    margin-top: -20px;
    max-height: 285px;
}

img#logo2 {
    float:right;
}

p, a, h1, h2, button {
    color: black;
    text-align: left;
    font-size: 0.9em;
}

h1 {
    font-size: 1.2em;
}

td p {
    margin: 0 5px 0 0;
}

#buttons {
    padding-top: 20px;
    text-align: left;
}

#buttons a, button, input[type="button"], input[type="submit"] {
    padding: 0.5em 1.5em;
    border: 0.1em solid #000000;
    margin: 0 0.4em 0.2em 0;
    border-radius: 0.12em;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 0.05em 0.05em rgba(0,0,0,0.35);
    background-color: #c00;
    text-align: center;
    transition: all 0.15s;
    animation:bouncy 4s infinite linear;
    position:relative;
}

#userProfile #buttons a, #userProfile button, #userProfile input[type="button"], #userProfile input[type="submit"],
.forum2 #buttons a, .forum2 button, .forum2 input[type="button"], .forum2 input[type="submit"] {
    animation: none;
}

@keyframes bouncy {
    0%{top:0em}
    40%{top:0em}
    43%{top:-0.9em}
    46%{top:0em}
    48%{top:-0.4em}
    50%{top:0em}
    100%{top:0em;}
}

#buttons a:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    text-shadow: 0 0 2em rgba(255,255,255,1);
    color: #FFFFFF;
    border-color: #FFFFFF;
    cursor: pointer;
}

#forumPost_content {
    width: 100%;
}

#forumPost_content {
    width: 100%;
}

#forumThread_create {
    margin-top: 10px
}

.forums table, .threads table {
    border-collapse: collapse;
    width: 100%;
}

.forums #buttons, .threads #buttons {
    padding: 0;
}

.forums td, .threads td {
    text-align: left;
    padding: 8px;
    border-bottom: dashed 1px #c00;
}

.avatarExample {
    width: 50px ;
    height: 50px;
    border-radius: 100%;
    border: solid 1px black;
    margin-right: 20px;
    margin-top: 2px;
}

.postBubble {
    position: relative;
    border-radius: .4em;
    border: solid 0.5px black;
    border: 1px solid #EBEBEB;
    background-color: #EBEBEB;
    padding: 10px;
    text-align: left;
    width: 100%;
}

.postBubble div.attachments ul {
    display: block;
}

.postContainer {
    display: flex;
}


.postsContainer {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: dashed 0.5px #c00;
    width: 100%;
}

.posts {
    overflow-y: auto;
    padding: 10px;
    max-height: 410px;
}

.userAvatarSmall {
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.userAvatarSmall img {
    width: 100%;
    border-radius: 0.4em;
}


.userAvatar {
    height: 130px;
    /* width: 50px; */
    /* border-radius: 50%; */
    text-align: center;
    margin: 20px 0px;
}

.userAvatar img, .userAvatar .imageInput {
    /* width: 100%; */
    border-radius: 50%;
    height: 130px;
}

label[for=forumThread_post_content] {
    display: none;
}

#login {
    padding: 20px;
}

#login > div {
    text-align: center;
}

#forumThread {
    text-align: left;
}

input, select {
    border: dashed 0.5px #c00;
    height: 2em;
    border-radius: 7px;
    margin-bottom: 40px;
    min-width: 177px;
}

#login input {
    border-radius: 0;
}

#login label {
    margin-right: 5px;
}

#login_login, #forumPost_post {
    width: 100%;
}

@media only screen and (max-width: 800px) {
    #content #logo {
        display: none;
    }

    #content #logo2 {
        display: none;
    }

  }

  @media only screen and (max-width: 700px) {
    #slideshow img {
        left: -35% !important;
    }
    #userProfile {
        width: 100%;
    }
  }
@media only screen and (max-width: 1300px) {
    #content {
        width: 90%;
    }

  }

  @media only screen and (min-width: 1300px) {
    .postsContainer {
        width: 1200px;
    }
  }

@media all and (max-width:30em) {
    #buttons a, button, input[type="button"], input[type="submit"] {
        display:block;
        margin:0.4em auto;
    }
}

#content .messages .alert {
    width: 95%;
    padding: 0.4em;
    margin-top: 20px;
    text-align:center;
}

#content .messages .alert-error {
    background-color: #c00000;
    color: #FFFFFF;
    text-shadow: 0 0 2em rgb(255 255 255);
    border: 0.1em solid #000000;
}

#content .messages .alert-success {
    background-color: #1bda31;
    color: #000000;
    text-shadow: 0 0 2em rgb(255 255 255);
    border: 0.1em solid #000000;
}
