/* 
 * Stylesheet for Madhouse Cinema
 */

/* Basic setup*/
 body {
    background-color: #0b0b0b;
    font-family: "Nimbus Sans L", Arial, Helvetica;
    font-size: 16px;
    color: white;
 }
 
 #page {
    margin: 0 auto;
    width: 1000px;
    background-color: #212121;
    color: white;
 }
 
 a {
    color: white;
 }
 
 #wrapper {
    padding: 0 5px 0 5px;
 }
 
 footer {
    clear: both;
   padding-top: 20px;
 }
 
 #footer {
    padding: 20px 10px;
    border-top: 2px solid orangered;
 }
 
 
 .button {
    background-color: orangered;
    border: 1px solid #ff5900;
    border-radius: 3px;
    padding: 5px 25px;
    color: black;
    font-weight: 600;
    margin: 5px;
    box-shadow:inset 0px 1px 0px 0px #e7ab5e;
 }
 
 .button:hover {
    background-color: #ba3200;
    border: 1px solid orangered;
}

.button:active {
    position:relative;
    top:1px;
}

input[type="text"], input[type="email"], input[type="password"]  {
     padding: 5px;
     border: 1px solid orange;
     border-radius: 3px;
     box-shadow: 0px 0px 5px rgba(66,66,66,.75);
     margin: 1px;
}
 
 /* Header */
 #site-logo {
    float: left;
 }
 
 #site-title {
    padding: 75px 0 0 30px;
    margin-left: 200px; /* Same width as logo*/
    color: orangered;
 }
 
header::after {
  content: "";
  clear: both;
  display: table;
}
 
 /* Menu */
 
.menu {
    background-color: #ffb300;
    font-weight: 600;
    border-bottom: 2px solid orangered;
    border-top: 4px solid orangered;
    margin-top: 10px;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.menu a {
    color: black;
}

.menu li {
    display: inline-block;
    padding: 5px 10px 5px 5px;
 }

 .menu li:hover {
    background-color: orangered;
 }
 
 .menu li ul li {
    display: block;
 }
 
 /*  Sub menu */
  .dropdown {
    padding: 0;
 }
 .dropdown li {
    padding: 0 25px 5px 15px
 }
 
ul li ul {
    visibility: hidden;
    position: absolute;
    display: none;
    background-color: #ffb300;
    /* Required add since menu class was moved to nav element */
    margin-left: -40px !important;
    margin-top: 20px !important;
}

ul li:hover > ul,
ul li ul:hover {
  visibility: visible;
  display: block;
}


/* Search boxes*/
#search2list {
    background: #ffb300;
    width: 350px;
    position: absolute;
    border-bottom: 2px solid orangered;
    border-right: 2px solid orangered;
    border-left: 2px solid orangered;
    display: none;
}

#search2list span:hover {
    cursor: pointer;
}

.search-box {
    display: inline-block;
    margin-left: 50px;
}
 
 /* Movie List */
 .movie-list ul {
    list-style: none;
 }
 
 .movie-list li {
    overflow: auto;
    margin-bottom: 30px;
 }
 
 .movie-list ul a {
    text-decoration: none;
    display: block;
 }
 
 .movie-list-poster {
    display: inline-block;
    padding-right: 20px;
    float: left;
 }
 
 .movie-list-title, .movie-title {
    font-size: 24px;
    color: orange;
 }
 
 /* Login page */
  .login-box, .reg-box {
    width: 50%;
    float: left;
 }
 
 fieldset {
    border: 1px solid orange;
 }
 .login-label {
    display: inline-block;
    width: 100px;
    text-align: left;
 }
 
 #customer-trap {
    text-align: center;
 }

/* Movie page  */
#movie-box {
    padding-top: 20px;
}
.play-schedule {
    margin-bottom: 20px;
}

.label {
    border-bottom: 2px orangered solid;
    width: 300px;
    display: inline-block;
}

#movie-poster {
    width: 250px;
    float: left;
}
 
#movie-info {
    width: 740px;
    float: left;
}

.star {
    font-size: 1.5em;
    display: inline-block;
    position:relative;
    color: lightGray;
}
.star:last-child {
    margin-right: 0;
}
.star:before {
    content:'\2605';
}
.star.disabled {
    color: red;
    text-decoration: line-through;
}
.star.disabled:before {
    color: #333232;
}
.star.on {
    color: goldenrod;
}
.star.half:after {
    content:'\2605';
    color: goldenrod;
    position: absolute;
    left: 0;
    right: 50%;
    top: 0;
    bottom:0;
    overflow: hidden;
}

.show-lounge:after, .show-date:after {
    content: " - ";color: white;
}

/* My Account */
.ticket, .review {
    width: 400px;
    float: left;
}

.ticket {
    border: 2px orangered solid;
    background-color: #ff9631;
    width: 500px;
    border-radius: 10px;
    display: inline-block;
    padding: 5px 5px 5px 10px;
    margin: 5px 20px 10px 0;
    color: black;
    line-height: 22px;
}

.ticket.expired {
    background-color: #8d7864;
}

.ticket-image {
    float: left;
    padding-right: 15px;
}

.ticket-movie {
    font-weight: 700;
    font-size: 18px;
}

.ticket-show {
    color: green;
}

.ticket.expired .ticket-show {
    color: red;
}

.ticket.expired .ticket-expired-note {
    float: right;
    font-weight: 700;
    font-size: 24px;
}

.review-info, .review-points {
    color: #ff6200;
}

/* Skip to content link */
.skip-link {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

.skip-link:focus
{
    position:static;
    width:auto;
    height:auto;
}


/* movie-sugestions */
.movie-sugestions li, .movie-search li {
    display: inline-block;
    padding: 10px;
}

/* Customer details */
.customer-details label {
    display: inline-block;
    width: 150px;
}

/* Movies grid */
.movies-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    height: 100%;
}
.movies-item {
    margin: 10px 10px 20px 10px;
    width: 180px;
    text-align: center;
}

.movies-item:hover {
    border: 1px solid orangered;
}

.movie-grid-title {
    display: block;
    color: orange;
    font-weight: 600;
    text-decoration: none;
    height: 40px;
}
.movie-grid-length {
    text-decoration: none;
}

/* Checkout page */
.checkout-seats {
    width: 40px;
}

/* Mobile fixes */
@media screen and (max-width: 800px) {
    #page {
        width: 99%;
    }
    #logo-link {
        display: inline-block;
        text-align: center;
        width: 100%;
    }
    #site-logo {
        float: none;
        width: 100px;
        height: 100px;
    }
    #site-title {
        margin: 0;
        padding: 0 0 0 30px;
    }
    .movie-list-poster {
        float: none;
    }
    .movie-list li {
        padding-bottom: 5px;
        border-bottom: 2px solid orangered;
    }
    #movie-poster, #movie-info {
        float: none;
        width: 100%;
    }
    .show-lounge, .show-date, .show-seats {
        display: block; /* Make each span on a new line */
    }
    .show-lounge:after, .show-date:after {
        content: "";  /* Hide the dash added on desktop */
    }
    #movie-info .button {
        margin: 5px 0 30px 0;
    }
    .ticket, .review {
        width: 95%;
        float: none;
    }
    .review {
        margin-bottom: 20px;
        border-bottom: 2px solid orange;
    }
    .movies-container {
        display: grid;
        grid-template-columns: 100%;
        height: 100%;
    }
}
