/*variables*/
:root {
    --page-background: #e1e1e1;
    --wrapper-background: #f2f2f2;
    --accent-colour: #558b2f;
    --accent-colour-dark: #255d00;
    --accent-colour-light: #85bb5c;
    --text-colour: #282828;
    --dark-grey: #555;
    --border-red: #8b0000;
    --fill-red: #951717;
}

body {
    font: 15px/1.5 Arial, Helvetica, sans-serif;
    background-color: var(--page-background);
    margin: 0;
    padding: 0;
    color: var(--text-colour);
    overflow-y: scroll;
    overflow-x: hidden;
}

pre {
    font: 15px/1.5 Arial, Helvetica, sans-serif;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

h1, h2, h3, h4, h6 {
    font: Arial, Helvetica, sans-serif;
    color: var(--accent-colour-dark);
}

p {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Globals */
.container {
    margin: auto;
    overflow: hidden;
    width: 75%;
}

a {
  color: var(--accent-colour-dark);
  text-decoration: none;
}

a:hover {
    color: var(--accent-colour-light);
    text-decoration: none;
}

/* Header */
header {
    width: 100vw;
    max-width:100%;
    background: var(--accent-colour);
    color: #ffffff;
    /*padding-top: 10px;*/
    height: 60px;
    margin: auto;
    text-align: center;
    border-bottom: var(--accent-colour-dark) 2px solid;
    overflow: visible;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

header .siteName {
    font-size: 38px;
    width: 100%;
    display: inline-block;
    float: center;
    text-transform: capitalize;
}

@media only screen and (max-width: 675px) {
    header .siteName {
        font-size: 25px;
        margin-top: 13px;
    }
}

/* header search */
header .search {
    position: relative;
    display: inline-block;
    text-align: center;
    float: left;
    margin-top: -44px;
    margin-left: 20px;
    width: 25%;
    min-width: 10em;
    height: 30px;
    overflow: visible;
    z-index: 2;
}
header .search .searchfield {
    width: 65%;
    height: 30px;
    background: white;
    border: none;
    padding-left: 10px;
    float: right;
    border-radius: 3px;
}

@media only screen and (max-width: 675px) {
    .search .searchfield {
        width:90% !important;
    }

    .accountPane {
        float:left !important;
        position: absolute !important;
        left: -65vw;
        width: 85vw !important;
        top: 40px;
    }

    .accountDropDown {
        margin-right: 20px !important;
        height: 100px!important;
    }
}

@media only screen and (max-width: 450px) {
    .search .searchfield {
        width:60% !important;
        float: left !important;
        margin-left: -5%;
    }
}

header a:hover {
    color: #f0f0f0;
    border-bottom: 2px var(--accent-colour-dark) solid;
}

/* LOGIN */
header .accountDropDown {
    position: relative;
    display: inline-block;
    text-align: right;
    float: right;
    margin-top: -44px;
    margin-right: 12%;
    /*margin-left: 20px;*/
    width: 25%;
    min-width: 10em;
    height: 30px;
    overflow: visible;
    z-index: 2;
}

header .dropbtn {
    height: 30px;
    color:white;
    border: 1px var(--accent-colour-dark) solid;
    border-radius: 3px;
    background: none;
}

header .dropbtn:hover {
    background: var(--accent-colour-light) !important;
    color:white;
    border: 1px var(--accent-colour-dark) solid !important;
    transition: background-color 300ms;
}

header .countBubble {
    border: 2px red solid;
    color: white;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    margin-bottom: -20px;
    line-height: 2em;
    background: red;
    text-align: center;
    display: none;
    bottom: 27px;
    left: 97%;
    font-size: 10px;
    padding: 0;
    position: relative;
    animation-name: resize;
    animation-duration: 0.8s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@keyframes resize {
    from {transform: scale(0.8,0.8);}
    to {transform: scale(1.0, 1.0);}
}

.countBubble span {
    /*vertical-align: middle;*/
}

header.input {
    /*LEEG*/
}

header .loginText {
    height: 2em !important;
    font-size: 15px !important;
    border:none !important;
    border-radius: 3px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding-left: 5px !important;
    line-height: normal;
    line-height: 2em;
}

header .loginText:focus .accountPane {
    display: inline-block !important;
}

header .loginForm {
    margin-top: 20px;
    margin-bottom: 5px;
}

header .loginButton {
    background: none;
    /*border-bottom: 1px solid var(--accent-colour-dark);*/
    border-radius: 3px !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 15px !important;
    height: 2em;
    color: var(--accent-colour-dark);
    border: 1px var(--accent-colour-dark) solid;
    padding-left: 10px;
    display: inline-block;
    width: 50%;
    margin-top: 5px;
}

header .loginButton:hover {
    background: var(--accent-colour-light) !important;
    color:white;
    border: 1px var(--accent-colour-dark) solid !important;
    transition: background-color 300ms;
    cursor: pointer;
}

header .accountPane {
    display: none;
    width: 110%;
    min-width: 250px;
    float:left;
    color: black;
    text-align: center;
    margin-top: 5px;
    padding-bottom: 10px;
    background-color: var(--page-background);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    z-index: 2;
}


header .accountPane a {
    color: var(--accent-colour-dark);
    font-weight: lighter;
    font-size: 10px;
}

header .accountPane a:hover {
    text-decoration: none !important;
    border: none !important;
    cursor: pointer;
}

header .accountPane img {
    display: inline-block;
    margin-top: 10px;
    width: 75px;
    border-radius: 50%;
}

header .accountPane img:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: box-shadow 100ms;
}

header .accountDropDown:hover .accountPane {
    display: inline-block !important;
}

header .accountDropDown:hover .dropbtn {
    background: var(--accent-colour-light) !important;
    color:white;
    border: 1px var(--accent-colour-dark) solid !important;
    transition: background-color 300ms;
}

header .accountDropDown:hover {
    height: 40px;
    background-color: inherit;
}

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

/* Footer */
footer {
    width: 100%;
    background-color: var(--dark-grey);
    text-align: center;
    color:white;
    padding-top: 10px;
    margin: auto;
    min-height: 40px;
    text-align: center;
    padding-top: 25px;
}

.addThreadButton {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 25px;
    bottom: 25px;
    border-radius: 50%;
    background-color: var(--accent-colour) !important;
    color: white;
    font-size: 30px;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.addThreadButton:hover {
    background: var(--accent-colour-light) !important;
    color: white;
    transition: background-color 300ms;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    font: 15px/1.5 Arial, Helvetica, sans-serif;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 105%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Content */

.wrapper {
    min-height: calc(100vh - 157px);
    width: 70%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 15px;
}

@media only screen and (max-width: 1000px) {
    .wrapper {
        width: 100% !important;
        margin: 0px !important;
    }

}

div .pageContent {
    /*height: calc(100% - 10px);
    width: calc(100% - 10px);
    margin: 10px;*/
}

div .bubble {
    width: calc(80% - 10px);
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    min-height: 22px;
    background-color: var(--wrapper-background);
    border-radius: 10px 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

@media only screen and (max-width: 1000px) {
    .bubble {
        width: calc(100% - 20px) !important;
        margin: 0px;
    }
}

div .innerbubble {
    display: flex;
    border-radius: 5px 0;
    margin-top: 5px;
    padding: 5px;
    width: calc(100% - 10px);
    background-color: var(--page-background);

}

.innerbubbleright {
    margin-left: auto;
    text-align: right !important;
}

/* Text */

.pagetitle {
    font-size: 35px;
    color: var(--accent-colour-dark);
    font-weight: bold;
}

.contenttitle {
    color: var(--accent-colour-dark);
    font-size: 25px;
    font-weight: bold;
}

.contenttitlesmall {
    color: var(--accent-colour-dark);
    font-weight: bold;
}

a.contenttitlesmall:hover a.contenttitle:hover {
  color: var(--accent-colour-light) !important;
  text-decoration: none;
}

.description {
    margin-top: -5px;
}

.errorText {
    color: red;
}

/* Home page */

.threadprevtitle {
    margin-bottom: auto;
    margin-top: auto;
    font-size: 14pt;
    font-weight: 200;
}

.threadprevdate {
    margin-left: auto;
    font-size: 8pt;
    font-style: italic;
    font-weight: normal;
    text-align: right;
}

.threadMessage img {
    max-width: 50%;
}

/* Home text */

#homeText img {
    max-width: 50%;
}

.threadMessage img {
    max-width: 50%;
}

/* General message preview */
div.message {
    position: relative;
    margin: 5px;
    width: calc(100% - 20px);
    height: 150px;
    border-radius: 5px 0;
    margin-top: 5px;
    padding: 5px;
    background-color: var(--page-background);
}

div.message_title {
    width: calc(100% - 160px);
    /*left: 120px;*/
    margin-left: 0px;
    /*right: 0px;*/
    height: auto;
    top: 20px;
    margin-right: 160px;
    /*text-align:left;*/
    text-indent: 5px;
    font-weight: bold;
    font-family:Arial, Helvetica, sans-serif;
    font-size:18px;
    line-height:25px;
    color: var(--accent-colour-dark);
}

div.avatar {
    float:left;
    margin-top: 10px;
    margin-right: 10px;
    height: 100%;
    width: 150px;
    text-align: center;
    background-color: var(--page-background-light);

}

div.avatar img {
    border:none;
    display: inline-block;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    object-fit: fill;
}

div.avatar img:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: box-shadow 100ms;
}

div.username {
    position: absolute;
    bottom: 0px;
    left: 4px;
    width: 150px;
    font-weight:bold;
    font-size:auto;
    text-align: center;
    font-size: 12px;
    color: var(--accent-colour-dark);
    margin-bottom: 10px;
    background-color: var(--page-background-light);
    /*background-color: var(--accent-colour-dark);*/
    opacity: 0.9;
}

div.last_edited {
    position: absolute;
    right: 5px;
    top: 0px;
    width: 150px;
    font-weight:lighter;
    font-style: italic;
    font-size: 12px;
    color: var(--accent-colour);
}


div.last_reaction {
    position: absolute;
    right: 5px;
    bottom: 0px;
    font-weight:lighter;
    width: 150px;
    font-style: italic;
    font-size: 12px;
    color: var(--accent-colour);
}

div.content {
    position: absolute;
    left: 100px;
    top: 80px;
    width: 60%;
    height: 70px;
    margin-left: 70px;
    padding-left: 10px;
    font-style:italic;
    text-overflow: ellipsis;
    overflow: hidden;
}

#homeTextWrapper {
    display: none;
}

#homeSaveButton {
    display: none;
}

.homeTextfield {
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font: 15px/1.5 Arial, Helvetica, sans-serif;
    background-color: var(--page-background);
}

#textWrapper {
    display: none;
}

.threadTextfield {
    width: 100%;
    min-height: 30px;
    margin-top: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font: 15px/1.5 Arial, Helvetica, sans-serif;
    background-color: var(--page-background);
}

/* userpage onderwerp-kop */
div.kop {
    position: relative;
    width: calc(100% - 20px);
    margin: 5px;
    height: 25px;
    text-align:left;
    text-indent: 5px;
    font-weight: bold;
    font-family:Arial, Helvetica, sans-serif;
    font-size:25px;
    line-height:25px;
    color: var(--accent-colour-dark);
    z-index: 1;
}

/* User account page */
div.user {
    position: relative;
    margin: 5px;
    width: calc(100% - 20px);
    height: auto;
    line-height: 100%;
}

div.user_avatar {
    float:left;
    height: 200px;
    width: 200px;
    background-color: var(--page-background-light);
}

div.user_avatar img {
    border:none;
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.user_overlay {
  position: absolute;
  top: 0;
  margin-left: inherit;
  bottom: 0;
  left: 0;
  right: 0;
  height: inherit;
  width: inherit;
  opacity: 0;
  transition: .5s ease;
  background-color: var(--accent-colour-light);
}

.user_avatar:hover .user_overlay {
  opacity: 0.8;
}

.user_text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

div.user_username {
    position: absolute;
    text-overflow: ellipsis;
    width: auto;
    right: 0px;
    top: 10px;
    text-align: right;
    font-weight:bold;
    font-size:22px;
    color: var(--accent-colour-dark);
    margin-bottom: 10px;
}

div.user_username a {
  color: var(--accent-colour-dark);
  text-decoration: none;
  text-align: right;
  text-overflow: ellipsis;
}

div.user_username a:hover {
    color: var(--accent-colour-light);
    text-decoration: none;
    text-align: right;
    text-overflow: ellipsis;
}

div.userdata {
    padding: 4px;
    font-size: 16px;
}

div.userdata_right {
    margin-left: auto;
    padding: 4px;
    font-size: 16px;
}

div.status {
    position: absolute;
    width: 150px;
    right: 0px;
    text-align: right;
    top: 125px;
    font-weight:bold;
    font-size: 22px;
    color: var(--accent-colour-dark);
    margin-bottom: 5px;
}

div.last_seen {
    position: absolute;
    width: 130px;
    right: 0px;
    top: 45px;
    text-align: right;
    font-size: 18px;
    font-weight:bold;
    color: var(--accent-colour-dark);
    margin-bottom: 5px;
}

/* navbar */

div.navBar {
    float: center;
    padding: 0;
    width: 50%;
    margin: auto;
    text-align: center;
}

div .navBar .navButton {
    display: inline;

    text-decoration: none;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

div .navBar #hidden {
    visibility: hidden;
}

div .navBar .navButton:hover {
    text-decoration: none;
    color: var(--accent-colour-light);
    transition: background-color 300ms;
}

div .navBar .pageNumber {
     display: inline;
     font-weight: bold;
     text-align: center;
     color: inherit;
     margin-left: 20px;
     margin-right: 20px;
}

div .navBar .hidden {
    visibility: hidden;
}

/* Forms */

.formButton {
    height: 30px;
    color: var(--accent-colour-dark);
    border: 1px var(--accent-colour-dark) solid;
    border-radius: 3px;
    padding-top: auto;
    padding-bottom: auto;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 15px !important;
    background: none;
}

.formButton:hover {
    background: var(--accent-colour-light) !important;
    color:white;
    border: 1px var(--accent-colour-dark) solid !important;
    transition: background-color 300ms;
    cursor: pointer;
}

.formButtonRed {
    /*border-bottom: 1px solid var(--accent-colour-dark);*/
    border-radius: 3px !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 15px !important;
    height: 2em;
    color: var(--accent-colour-dark);
    border: 1px var(--accent-colour-dark) solid;
    padding-left: 10px;
    display: inline-block;
    margin-top: 5px;
    background: none;
}

.formButtonRed:hover {
    background: var(--fill-red) !important;
    color:white;
    border: 1px var(--border-red) solid !important;
    transition: background-color 300ms;
    cursor: pointer;
}

/* Video */

.vid404 {
    width: 100%;
}

/* Thread page elements */

/* resize */
@media only screen and (max-width: 475px) {
    div.avatar {
        margin-top: 5px;
        margin-right: 5px;
        width: 75px;
        height: 100%;
    }

    div.user_avatar {
        float:left;
        height: 200px;
        max-width: 100px;
        background-color: var(--page-background-light);
    }

    div.avatar img {
        height: 65px;
        width: 65px;
    }

    .user_overlay {
      position: absolute;
      top: 0;
      margin-left: 10px;
      bottom: 0;
      left: 0;
      right: 0;
      height: 200px !important;
      width: 100px !important;
      opacity: 0;
      transition: .5s ease;
      background-color: #008CBA;
    }

    .user_avatar:hover .user_overlay {
      opacity: 0.6;
    }

    .user_text {
      color: white;
      font-size: 20px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      text-align: center;
    }

    div.username {
        position: absolute;
        top:85px;
        left: 4px;
        overflow: hidden;
        width: 75px;
        font-weight:bold;
        text-align: center;
        font-size: 12px;
        color: var(--accent-colour-dark);
        margin-bottom: 10px;
        background-color: var(--page-background-light);
        opacity: 0.9;
    }

    div.threadMessage {
        position: relative;
        top: 5px;
        margin-bottom: 16px;
        display: inline-block;
        width: calc(100% - 90px) !important;
        left: 0px !important;
        word-wrap: break-word;
    }

    div .post_quote {
        position: relative;
        top: 5px;
        margin-bottom: 5px;
        display: inline-block;
        width: calc(100% - 90px) !important;
    }

    div.last_edited {
        position: absolute;
        right: 10px;
        top: 0px;
        width: 40%;
        height: 18px;
        font-weight:lighter;
        font-style: italic;
        font-size: 12px;
        color: var(--accent-colour);
    }

    div.last_reaction {
        position: absolute;
        right: 10px;
        bottom: 0px;
        width: 40%;
        font-weight:lighter;
        font-style: italic;
        font-size: 12px;
        color: var(--accent-colour);
    }

    div.content {
        position: absolute;
        left: 100px;
        top: 80px;
        width: 60%;
        height: 70px;
        margin-left: 0px;
        padding-left: 10px;
        font-style:italic;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}
div.thread {
    position: relative;
    margin: 5px;
    height: auto;
    min-height: 160px;
    width: calc(100% - 20px);
    border-radius: 5px 0;
    margin-top: 5px;
    padding: 5px;
    background-color: var(--wrapper-background);
}


div.threadMessage {
    position: relative;
    top: 5px;
    margin-bottom: 16px;
    display: inline-block;
    width: calc(100% - 180px);
    left: 0px;
    word-wrap: break-word;
}

div .post_quote {
    position: relative;
    top: 5px;
    margin-bottom: 5px;
    display: inline-block;
    width: calc(100% - 180px);
    left: 0px;
    word-wrap: break-word;
    background-color: var(--page-background);
    border-radius: 5px 0;
    border-left: 10px solid var(--page-background);
}

div .quote_name {
    font-style:italic;
    font-size: 80%;
}

div .karmaKnoppen {
    margin-left: 17px;
}

.karmaUp {
    background: url("../images/karmaUp.png");
}

.karmaDown {
    background-image: url("../images/karmaDown.png");
}

div .userInfo   {
    background-color: blue !important;
}

.replyIcon {
    right:0px;
    top:0px;
    display:inline-block;
    width:20px;
    height:20px;
}

.replyIcon img {
    width:100%;
    height:auto;
}

/* Reaction form */
.reactionText {
    height: 150px;
    width: 100%;
    margin-right: 10px;
}

.submitReaction {
    margin-top: 28px;
    margin-left: 35px;
}

.reactButton {
    right:0px;
    bottom:5px;
}


/* Forms */

input, label {
    display: inline-block !important;
}

/* new category */

div .newCatWrapper {
    width: 40%;
    text-align: center;
}

.newCatTitle {
    float:left;
    width: 100%;
}

.newCatAbout {
    float: left;
    width: 100%;
}

.newCatText {
    background: none;
    color: var(--accent-colour-dark);
    border:none;
    /*border-bottom: 1px solid var(--accent-colour-dark);*/

    font-weight: bold;
    font-size: 15px;
    height: 2em;
    padding-left: 10px;
    display: inline-block !important;
    width: 90%;

}

.newCatAbout .newCatText {
    font-weight: normal !important;
}

.newCatDropdown {
    background: var(--accent-colour);
    color:white;
    border: 1px var(--accent-colour-dark) solid;
    /*border-bottom: 1px solid var(--accent-colour-dark);*/
    font-size: 15px;
    font-style: italic;
    font-weight: normal;

    height: 2em;
    padding-left: 10px;
    display: inline-block;
    width: 50%;
    min-width: 150px;
    border-radius: 3px;

}

.newCatButton {
    background: none;
    /*border-bottom: 1px solid var(--accent-colour-dark);*/
    border-radius: 3px;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    height: 2em;
    color: var(--accent-colour-dark);
    border: 1px var(--accent-colour-dark) solid;
    padding-left: 10px;
    display: inline-block;
    width: 50%;
    margin-top: 5px;
}

.newCatButton:hover {
    background: var(--accent-colour-light);
    color:white;
    border: 1px var(--accent-colour-dark) solid;
    transition: background-color 300ms;
}

.newCatPermission {
    width: 100%;
    float:right;
    color: var(--accent-colour-dark);
}

.newCatSubmit {
    width: 100%;
    float:right;
}

.newCatWrapper input {
    display: inline !important;
}

/* Password Strength meter */
div.below {
    position: relative;
    left: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

div.submit {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Password strength meter STYLE */
section {
	margin: 0em auto 0;
	width: 100%;
	max-width: 350px;
}

div .userdata textarea {
    display: block;
    max-width: 350px;
    border: none;
    background: rgba(0,0,0,0.05);
    color: rgba(0,0,0,0.8);
    font-size: 16px;
    transition: all .5s linear;
}

textarea:hover, textarea:focus {
	outline: 0;
	transition: all .5s linear;
	box-shadow: inset 0px 0px 10px #ccc;
}

div .userdata input {
    display: block;
    max-width: 350px;
    height: 1.5em;
    border: none;
    background: rgba(0,0,0,0.05);
    color: rgba(0,0,0,0.8);
    font-size: 1.5em;
    transition: all .5s linear;
}

input:hover, input:focus {
	outline: 0;
	transition: all .5s linear;
	box-shadow: inset 0px 0px 10px #ccc;
}

meter {
    /* Reset the default appearance */
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;

	margin: 0 auto 1em;
	width: 100%;
	height: .8em;

    /* Applicable only to Firefox */
	background: none;
	background-color: rgba(0,0,0,0.1);
}

meter::-webkit-meter-bar {
	background: none;
	background-color: rgba(0,0,0,0.1);
}

meter::-webkit-meter-optimum-value {
    transition: width .4s linear;
}

meter[value="1"]::-webkit-meter-optimum-value { background: red; }
meter[value="2"]::-webkit-meter-optimum-value { background: orange; }
meter[value="3"]::-webkit-meter-optimum-value { background: yellow; }
meter[value="4"]::-webkit-meter-optimum-value { background: green; }

meter[value="1"]::-moz-meter-bar { background: red; }
meter[value="2"]::-moz-meter-bar { background: orange; }
meter[value="3"]::-moz-meter-bar { background: yellow; }
meter[value="4"]::-moz-meter-bar { background: green; }

.feedback {
	color: #9ab;
	font-size: 90%;
	padding: 0 .25em;
	font-family: Courgette, cursive;
	margin-top: 1em;
}

/* Remove buttons */
.removeButton {
    float: right;
    background: none;
    /*border-bottom: 1px solid var(--accent-colour-dark);*/
    border-radius: 3px !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 15px !important;
    height: 2em;
    color: var(--accent-colour-dark);
    border: 1px var(--accent-colour-dark) solid;
    padding-left: 10px;
    display: inline-block;
    width: 10%;
    min-width: 100px;
    margin-top: 5px;
}

.removeButton:hover {
    background: var(--fill-red) !important;
    color:white;
    border: 1px var(--border-red) solid !important;
    transition: background-color 300ms;
    cursor: pointer;
}

/* Admin page */
.verifyDropdown {
    background: var(--accent-colour);
    color:white;
    border: 1px var(--accent-colour-dark) solid;
    /*border-bottom: 1px solid var(--accent-colour-dark);*/
    font-size: 15px;
    font-style: italic;
    font-weight: normal;

    height: 2em;
    padding-left: 10px;
    display: inline-block;
    width: 10%;
    min-width: 150px;
    border-radius: 3px;
}

.verifyForm {
    width: 20%;
    min-width: 250px;
    float: left;
    color: var(--accent-colour-dark);
    margin-left: 20px;
    height: 100%;
    margin-top: -4px;
}

@media only screen and (max-width: 1600px) {
    .verifyForm {
        float: none !important;
        margin-top: 10px;
        display: inline-block !important;
        text-align: right !important;
    }

    .consoleBubble {
        text-align: center;
    }

    .verifyDropdown {
        float: none !important;
        display: inline-block !important;
    }
    .bubble {
        min-height: 40px;
    }
}

@media only screen and (max-width: 1000px) {
    .verifyForm {
        float: right !important;
        margin-top: 10px;
        /* text-align: center !important; */
    }

    .verifyDropdown {
        float: none !important;
        display: inline-block !important;
    }

    .bubble {
        min-height: 40px;
    }
}

@media only screen and (max-width: 900px) {
    .verifyForm {
        float: none !important;
        margin-top: 10px;
        display: inline-block !important;
        text-align: right !important;
    }

    .consoleBubble {
        text-align: center;
    }

    .verifyDropdown {
        float: right !important;
        display: inline-block !important;
    }
    .bubble {
        min-height: 40px;
    }
}

.adminHome {
    float:left;
}

.adminSettings {
    float:right;

}

/* accept verification button on admin page*/
.verifyButton {
    float: right;
    background: none;
    /*border-bottom: 1px solid var(--accent-colour-dark);*/
    border-radius: 3px !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 15px !important;
    height: 2em;
    color: var(--accent-colour-dark);
    border: 1px var(--accent-colour-dark) solid;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    margin-top: 5px;
    margin-left: 5px;
}

.verifyButton:hover {
    background: var(--accent-colour-light) !important;
    color:white;
    border: 1px var(--accent-colour-dark) solid !important;
    transition: background-color 300ms;
    cursor: pointer;
}

/* category setting rights */
.catSettingDropdown {
    float: right;
    width: 20% !important;
    min-width: 100px;
    margin-right: 5px;
    margin-top: 5px;
}

.catLabel {
    color: var(--accent-colour-dark) !important;
    float: right !important;
    margin-top: 10px !important;
    margin-right: 5px !important;
}

/* inbox messages */
.inboxbubble {
    text-align: left;
    cursor: pointer;

}

.inboxtitle {
    text-align: left !important;
    font-size: 20px;
    width: 50%;
    min-width: 400px;
}

.readBubble {
    width: 20px;
    height: 20px;
    background: var(--accent-colour-dark);
    border-radius: 50%;
    position: relative;
    float:right;
    /* use same animation as counter bubbles */
    animation-name: resize;
    animation-duration: 0.8s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.readBubble:hover {
    cursor: pointer;
}

.inboxthread {
    display: none;
}

/* karma points */
.points {
    margin-left: 3px;
    margin-right: 3px;
    display: inline-block;
    text-align: center;
    border-bottom: 1px var(--accent-colour-dark) solid;
    padding-left: 7px;
    padding-right: 7px;
    /* color: white; */
    /* border: 1px var(--accent-colour-dark) solid;
    background: var(--accent-colour-light);  */
}

/* shake source: https://teamtreehouse.com/community/shake-effect-with-javascript-only */
@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
.addshake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}

/* Login Error */
.errorBubble {
    width: calc(80% - 10px);
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    color: white;

    border: 1px solid var(--border-red);
    background: rgba(149, 23, 23, 0.9);
    text-align: center;
    min-height: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation: fade 4s;
    animation-timing-function: ease-out;

    /* -webkit-animation: fadeout 4s; */
}

@keyframes fade {
    0%,100% { opacity: 0;}
    20%, 80% { opacity: 1;}
}
