*{
    margin: 0;
    padding: 0;
}

body, html {
    color: #444;
    padding: 0;
    margin: 0;
}

.postList{
    color: #444;
    background: #F4f5e7;
    box-shadow: 10px 10px 15px #aaa;
    margin: 20px 0;
    border: 2px solid #444;
}

.postList a{
    color: #000;
    text-decoration: none;
}

.postList a:hover{
    color: #FFC0CB;
}

*{
    outline: none;
}

.category{
    background: #F4F5E7;
    width: auto;
    display: inline-block;
    margin: 10px 3px;
    vertical-align: top;
    padding: 0 3px;
    border-top-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

h1{
    border-bottom: 1px dashed #000;
    margin: 0;
    padding: 3px 0;
    color: #454F8C;
    margin-bottom: 7px;
}

p.author{
    font-size: 0.7em;
    text-align: right;
    margin: 20px 0;
}

p.authorDetails{
    margin: 20px 0;
}

.authorDetails a{
    color: #69a;
    text-decoration: none;
}

.authorDetails a:hover{
    color: #035;
}


/*----------------------------------------------------------------------------*/

.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #BACFE4;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #82A9D0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}



/*----------------------------------------------------------------------------*/

#menu{
    margin: 0;
    background: #6F2277;
    padding: 0;
}

#menu li {
    color: #fff;
    display: inline-block;
    margin: 0;
    padding: 0;
}

#menu li a{
    color: #444;
    text-decoration: none;
    padding: 7px 10px;
    display: block;
    font-size: 40px;
}

#menu li a img{
    vertical-align: middle;
}

#menu li a:hover{
    background: #442277;
}

/*----------------------------------------------------------------------------*/

ul.pairup {
    margin: 10px;
    padding: 0;
    list-style: none;
}

ul.pairup li {
    font-size: 20px;
}

.randomize{
    margin: 0 5px;
    padding: 0;
}

.randomize li{
    margin: 0;
    padding: 15px 0;
    list-style: none;
    display: inline-block;
}

.randomize li a{
    color: #fff;
    background: #6D8CA0;
    border: 1px solid #454F8C;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 22px;
}

.randomize li a:hover, .randomize li a:active{
    background: #BACFE4;
}

/*----------------------------------------------------------------------------*/

.login {
    display: block;
    width: auto;
    margin: 0 auto;
}

.login input[type="text"], .login input[type="password"] {
    color: #444;
    background: #BACFE4;
    padding: 5px;
    border: none;
    border-bottom: 2px solid #257;
    margin: 4px 0;
    font-size: 22px;
}

.login input[type="submit"]{
    color: #fff;
    background: #6D8CA0;
    padding: 5px 15px;
    border: 1px solid #454F8C;
    border-top: 3px solid #454F8C;
    font-size: 22px;
}

.login input:hover, input:focus {
    box-shadow: 5px 5px 15px #BACFE4;
}

/*----------------------------------------------------------------------------*/

.boxSelect{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.boxSelect li{
    background: #eef;
    display: inline-block;
    vertical-align: top;
    margin: 10px;
}

.boxSelect a{
    color: #257;
    margin: 0;
    box-shadow: 5px 5px 10px #adf;
    max-width: 275px;
    display: block;
    padding: 15px;
    text-decoration: none;
    min-height: 200px;
}

.boxSelect a:hover {
    background: #adf;
    box-shadow: 5px 5px 10px #69b;
}

.boxSelect span.title {
    font-size: 1.6em;
    font-weight: bold;
}

.boxSelect p{
    font-size: 1.5em;
}

/*----------------------------------------------------------------------------*/

.sceneEditor textarea {
    margin: 10px 0;
    display: block;
}

.sceneEditor input[type=text], .sceneEditor textarea, .sceneEditor select {
    color: #444;
    background: #adf;
    font-size: 1.2em;
    padding: 10px;
    border: none;
}

.sceneEditor textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 10px 0;
}

.sceneEditor input[type=text], .sceneEditor select {
    border: none;
    border-bottom: 2px solid #257;
    margin: 4px 0;
}

.sceneEditor input[type=submit] {
    color: #ccc;
    background: #257;
    padding: 10px;
    font-size: 1.3em;
}

.deleteIt {
    margin: 10px auto;
    padding: 20px;
    border: 1px dotted #444;
    display: block;
    box-sizing: border-box;
    width: auto;
    text-align: center;
}

.deleteIt .delete {
    color: #ccc;
    background: #775522;
    text-decoration: none;
    padding: 10px;
}

p.blurb {
    font-size: 1.3em;
}

/*----------------------------------------------------------------------------*/

.myaccount{
    display: inline-block;
    vertical-align: top;
    margin: 10px;
}

.myaccount ul{
    list-style-type: none;
    margin: 5px;
    padding: 5px;
}

.myaccount li{
    padding: 0 10px;
    margin: 0;
}

.myaccount li a{
    color: #444;
    text-decoration: none;
    padding: 10px;
    display: block;
    border-bottom: 2px dotted #444;
}

.myaccount li a:hover{
    color: #444;
    background: #eef;
}

.myaccount .myField {
    color: #444;
    background: #AAB2FF;
    font-size: 1.2em;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #257;
    margin: 4px 0;
}

.myaccount .myField:focus {
    background: #CCAAFF;
}


/*----------------------------------------------------------------------------*/

.success{
    background: #9c3;
    border: 3px solid #390;
    border-left: 30px solid #390;
    border-right: 30px solid #390;
}

.error{
    background: #ffeeee;
    border-top: 3px dotted #c30;
}

.msg{
    margin: 20px 5px;
    background: #fee;
    border-bottom: 2px dotted #ccc;
    padding: 5px 10px;
}

.alert{
    background: #fd0;
    border: 3px solid #c90;
    border-left: 30px solid #c90;
    border-right: 30px solid #c90;
}

.alert, .success, .error{
    color: #444;
    padding: 8px;
    margin: 10px auto;
    font-size: 1.4em;
    box-shadow: 0 3px 5px #999;
}

.scrolling{
    color: #444;
    background: #eee;
    border: 1px solid #000;
    height: 150px;
    overflow-y: scroll;
    margin: 10px;
    padding: 5px;
}

.randomAction{
    border: 10px solid #060;
    border-left: 60px solid #060;
    border-right: 60px solid #060;
    border-radius: 10px;
    padding: 10px;
    margin: 10px auto;
    width: 300px;
    display: block;
    text-align: center;
    font-size: 25px;
}

section{
    padding: 5px;
    margin-top: 30px;
}

footer{
    padding: 10px;
}

/*----------------------------------------------------------------------------*/


.slidecontainer {\
    display: inline-block;
    width: auto;
    margin: 0 auto;
    padding: 10px;
}

.slidecontainer th{
    text-align: right;
}

.slidecontainer th.title{
    text-align: center;
    font-size: 1.2em;
    color: #257;
}

.slidecontainer h3{
    text-align: center;
}

.slider {
  -webkit-appearance: none;
  display: block;
  margin: 10px auto;
  width: 75%;
  max-width: 200px;
  height: 15px;
  background: #d3d3d3;
  border-radius: 10px;
  outline: none;
  opacity: 0.7;
  padding: 0 5px;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 30px;
  background: #4C50AF;
  border-radius: 10px;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #4CAF50;
  cursor: pointer;
}

input[type="submit"] {
    width: auto;
    margin: 0 auto;
}


/*============================================================================*/


.recentPosts{
    color: #444;
    background: #adf;
    text-decoration: none;
    display: inline-block;
    padding: 7px 15px;
    margin: 8px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px #000;
}

.recentPosts:hover{
    background: #bce;
}

.recentDetails{
    display: inline-block;
}

.recentPosts h3, .recentPosts h2{
    display: inline-block;
    margin: 0;
    padding: 0;
    margin: 5px 0;
}

.recentCat{
    color: #580;
}

.recentAuthor{
    font-weight: bold;
}

.recentDate{
    font-style: Italic;
}



/*============================================================================*/

.rate {
    display: inline-block;
    height: auto;
    padding: 0;
    margin: 0;
}
.rate:not(:checked) > input {
    position:absolute;
    /*top:-9999px;*/
    display: none;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:30px;
    color:#ccc;
}
.rate:not(:checked) > label:before {
}
.rate > input:checked ~ label {
    color: #ffc700;    
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;
    text-shadow: 2px 2px 3px #444;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}

/* ========================================================================== */

.avgRating{
    display: inline-block;
    margin: 0 10px;
}

.avgRating .star{
    color: #ddd;
}

.avgRating .active{
    color: #deb217;
}

.sceneComment{
    background: #eee;
    margin: 10px 5px;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 3px 3px 5px #ddd;
}

.sceneComment p{
    margin: 5px 3px;
}

.comments{
    padding: 10px;
}

.comments textarea{
    display: block;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #257;
}

.comments .button{
    font-size: 1em;
    padding: 5px;
}

.date{
    font-size: 0.75em;
    font-style: italic;
}

/*============================================================================*/
/*  STYLES FOR MOBILE OR NARROW BROWSERS */

@media only screen and (max-width: 400px) {
    input[type="text"], input[type="password"] {
        width: 75%;
        display: block;
        margin: 10px auto;
    }
    
    input[type="submit"]{
        display: block;
        width: auto;
        margin: 10px auto;
    }
    
    .category{
        display: block;
        margin: 25px 10px;
        padding-bottom: 5px;
    }
    
    h2{
        padding: 7px;
    }
    
    .randomAction{
        display: block;
        width: auto;
        border: 10px solid #060;
        border-left: 40px solid #060;
        border-right: 40px solid #060;
    }
}