/* Base styles used across various pages */


/* ========== RESETS ========== */
html {
    box-sizing: border-box;
    color: #777777;
    font-family: Oxygen, Helvetica, sans-serif;
}
*, *:before, *:after {
    box-sizing: inherit;
}


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

.content-outer {
    border: 0px;
    box-shadow: none;
    background: none;
    padding: 15px 0px 70px 0px;
}

.content-inner {
    background-color: #f8f8f8;
    border-top: 1px #bbbbbb solid;
    border-left: 1px #aaaaaa solid;
    border-right: 1px #777777 solid;
    border-bottom: 1px #666666 solid;
    box-shadow: rgba(0, 0, 0, 0.3) 17px 17px 15px 0px;
    margin: 0px auto 0px auto;
    max-width: 800px;
    padding: 0px;
    text-align: center;
}


/* ========== LOGIN LINK ========== */

.login-link {
    color: white;
    font-size: 16px;
    line-height: 28px;
    margin: 0px auto;
    max-width: 1120px;
    padding-right: 20px;
    text-align: right;
}

.login-link a {
    color: white;
}


/* ========== SUBHEADER / TOP NAV LINKS ========== */

.subheader {
    border-radius: 5px;
    margin: 0px;
    padding: 10px;
    text-align: center;
}
.subheader a {
    border-left: 1px #dddddd solid;
    color: #888888;
    display: inline-block;
    font-size: 20px;
    padding: 10px 20px;
    text-decoration: none;
}
.subheader a:first-child {
    border-left: 0px;
}
.subheader a:hover {
    color: black;
}

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

.page-content {
    min-height: 150px;
    padding: 0px 20px 25px 20px;
}

h1 {
    color: white;
    font-family: 'Corben', cursive;
    font-size: 56px;
    margin: 0px;
    padding: 20px;
    text-align: center;
    text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
    word-spacing: 15px;
}
h1 a {
    color: white;
    text-decoration: none;
}
h1 a:hover {
    color: #f8f8f8;
}

h2 {
    color: black;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: normal;
    margin: 20px 0px 10px 0px;
    padding: 0px;
}

h3 {
    color: #555555;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: normal;
    margin: 25px 0px 10px 0px;
    padding: 0px;
}

h4 {
    color: #777777;
    font-size: 18px;
    font-family: Oxygen, Helvetica, sans-serif;
    font-weight: bold;
    margin: 25px 0px 0px 0px;
    padding: 0px;
}

p {
    color: #888888;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    margin: 10px 0px 15px 0px;
    padding: 0px;
}


/* ========== MOVIE LISTS ========== */
/*
  <div class='movie-results'>               // was results-container
    <a href='#' class='movie-result'>       // was result
      <div class='image-container'>
        <img src='http://jdspad.com/extras/movies/images/movies/small/tt0114898_hVMSZnOrEFXk9Jn_small.jpg' class='poster' alt='poster' />
      </div>
      <div class='non-image-container'>
        <div class='title-line'>.result .title-line</div>
        <div class='subtitle-line'>.result .subtitle-line</div>
      </div>
    </a>
  </div>
*/

.movie-results {
    clear: both;
    padding-top: 15px;
}
.movie-results {
    vertical-align: top;
}

.movie-result:first-child {
    border-top: 0px #dddddd solid;
}
.movie-result {
    border-top: 1px #dddddd solid;
    display: block;
    clear: both;
    padding: 15px;
    position: relative;
    text-align: left;
    text-decoration: none;
    vertical-align: top;
}
.movie-result:hover {
    background-color: #f0f0f0;
}
.movie-result:hover .title-line {
    color: black;
}
.movie-result:hover .subtitle-line {
    color: #888888;
}
.movie-result .image-container {
    float: left;
    font-size: 0px;
    min-height: 140px;
    width: 110px;
}
.movie-result .non-image-container {
    margin-left: 110px;
    min-height: 140px;
}
.movie-result .title-line {
    color: #555555;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 28px;
}
.movie-result .subtitle-line {
    color: #aaaaaa;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 16px;
}

.page-links {
    text-align: center;
}

.show-list-checkboxes-button {
    background-color: white;
    background-image: url("../images/plus_document_icon_32_light.png");
    background-position: center center;
    background-repeat: no-repeat;
    border: 0px #bbbbbb solid;
    border-radius: 25px;
    bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 5px 5px 5px 0px;
    cursor: pointer;
    height: 44px;
    left: 80px;
    outline-width: 0px;
    padding: 5px;
    position: absolute;
    width: 44px;
    z-index:2;
}
.show-list-checkboxes-button:hover {
    background-image: url("../images/plus_document_icon_32.png");
    border: 0px #444444 solid;
}


/* ========== LIST OF LISTS ========== */
/*
  <div class='list-container'>
    <a href='#' class='list-entry'>...</a>
    <a href='#' class='list-entry'>...</a>
    <a href='#' class='list-entry'>...</a>
  </div>
*/

.list-container {
    clear: both;
    padding-top: 15px;
}
.list-container {
    vertical-align: top;
}
.list-entry:first-child {
    border-top: 0px #dddddd solid;
}
.list-entry {
    border-top: 1px #dddddd solid;
    display: block;
    clear: both;
    padding: 15px;
    text-align: left;
    text-decoration: none;
    vertical-align: top;
}
.list-entry:hover {
    background-color: #f0f0f0;
}
.list-entry:hover .title-line {
    color: black;
}
.list-entry:hover .subtitle-line {
    color: #888888;
}
.list-entry .image-container {
    float: left;
    font-size: 0px;
    min-height: 140px;
    width: 110px;
}
.list-entry .non-image-container {
    margin-left: 110px;
    min-height: 140px;
}
.list-entry .title-line {
    color: #555555;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 28px;
}
.list-entry .subtitle-line {
    color: #aaaaaa;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 16px;
}



/* ========== LIST CHECKBOXES IN OVERLAY ========== */

.list-checkbox-container {
    margin: 0px auto;
    max-height: 300px;
    max-width: 400px;
    overflow: auto;
    overflow-x: hidden;
}

  .list-checkbox-label {
      background-image: url("../images/unchecked_checkbox_30px_v2.png");
      background-position: 0px 0px;
      background-repeat: no-repeat;
      border-bottom: 1px #dddddd solid;
      color: #777777;
      cursor: pointer;
      display: block;
      font-size: 18px;
      margin: 5px 0px 5px 0px;
      max-width: 400px;
      padding: 5px 5px 5px 40px;
      text-align: left;
  }
  .list-checkbox-label:hover {
      background-color: #eeeeee;
      color: #444444;
  }
  .list-checkbox-label:last-child {
      border-bottom: 0px #dddddd solid;
  }
  .list-checkbox-label.checked {
      background-image: url("../images/checked_checkbox_30px_v3.png");
      background-position: 0px 0px;
      background-repeat: no-repeat;
  }
  .list-checkbox {
      display: none;
  }



/* ========== LAZY-LOOKAHEAD FOR SEARCHES ========== */

  .ui-autocomplete {
      background-color: white;
      list-style: none;
      margin: 0px 0px 0px 10px;
      max-width: 300px;
      padding: 0px;
  }
  .ui-menu-item {
      border-left: 1px #eeeeee solid;
      border-right: 1px #eeeeee solid;
      border-bottom: 1px #eeeeee solid;
      color: #888888;
      cursor: pointer;
      font-size: 18px;
      margin: 0px;
      overflow: hidden;
      padding: 2px 10px;
  }
  .ui-menu-item:first-child {
      border-top: 1px #eeeeee solid;
  }
  .ui-menu-item:hover {
      background-color: #f0f0f0;
      color: black;
  }
  .ui-helper-hidden-accessible {
      display: none;
  }


/* ========== BUTTONS ========== */

.button {
    border-top: 1px #eeeeee solid;
    border-left: 1px #eeeeee solid;
    border-right: 1px #cccccc solid;
    border-bottom: 1px #cccccc solid;
    border-radius: 5px;
    box-shadow: box-shadow: 2px 2px 12px rgba(0, 0, 0, .5);
    color: #444444;
    cursor: pointer;
    display: inline-block;
    font-family: Oxygen, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin: 0px 5px;
    padding: 10px;
    text-decoration: none;
    vertical-align: top;
}

.green-button {
    color: white;
    background: rgba(176,240,0,1);
    background: -moz-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(102,186,23,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(176,240,0,1)), color-stop(100%, rgba(102,186,23,1)));
    background: -webkit-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(102,186,23,1) 100%);
    background: -o-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(102,186,23,1) 100%);
    background: -ms-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(102,186,23,1) 100%);
    background: linear-gradient(to bottom, rgba(176,240,0,1) 0%, rgba(102,186,23,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b0f000', endColorstr='#66ba17', GradientType=0 );
}
.green-button:hover {
    color: white;
    background: rgba(156,220,0,1);
    background: -moz-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(72,156,23,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(176,240,0,1)), color-stop(100%, rgba(72,156,23,1)));
    background: -webkit-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(72,156,23,1) 100%);
    background: -o-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(72,156,23,1) 100%);
    background: -ms-linear-gradient(top, rgba(176,240,0,1) 0%, rgba(72,156,23,1) 100%);
    background: linear-gradient(to bottom, rgba(176,240,0,1) 0%, rgba(72,156,23,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b0f000', endColorstr='#449917', GradientType=0 );
}

.yellow-button {
    color: white;
    background: rgba(255,246,117,1);
    background: -moz-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(255,194,97,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,246,117,1)), color-stop(100%, rgba(255,194,97,1)));
    background: -webkit-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(255,194,97,1) 100%);
    background: -o-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(255,194,97,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(255,194,97,1) 100%);
    background: linear-gradient(to bottom, rgba(255,246,117,1) 0%, rgba(255,194,97,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff675', endColorstr='#ffc261', GradientType=0 );
}
.yellow-button:hover {
    color: white;
    background: rgba(245,226,97,1);
    background: -moz-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(245,174,77,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,246,117,1)), color-stop(100%, rgba(245,174,77,1)));
    background: -webkit-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(245,174,77,1) 100%);
    background: -o-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(245,174,77,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,246,117,1) 0%, rgba(245,174,77,1) 100%);
    background: linear-gradient(to bottom, rgba(255,246,117,1) 0%, rgba(245,174,77,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff675', endColorstr='#eebb44', GradientType=0 );
}

.red-button {
    color: white;
    background: rgba(255,177,117,1);
    background: -moz-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(255,115,97,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,177,117,1)), color-stop(100%, rgba(255,115,97,1)));
    background: -webkit-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(255,115,97,1) 100%);
    background: -o-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(255,115,97,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(255,115,97,1) 100%);
    background: linear-gradient(to bottom, rgba(255,177,117,1) 0%, rgba(255,115,97,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb175', endColorstr='#ff7361', GradientType=0 );
}
.red-button:hover {
    color: white;
    background: rgba(225,147,87,1);
    background: -moz-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(225,85,67,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,177,117,1)), color-stop(100%, rgba(225,85,67,1)));
    background: -webkit-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(225,85,67,1) 100%);
    background: -o-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(225,85,67,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,177,117,1) 0%, rgba(225,85,67,1) 100%);
    background: linear-gradient(to bottom, rgba(255,177,117,1) 0%, rgba(225,85,67,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb175', endColorstr='#dd5544', GradientType=0 );
}

.blue-button {
    color: white;
    background: rgba(117,208,255,1);
    background: -moz-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(121,152,231,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(117,208,255,1)), color-stop(100%, rgba(121,152,231,1)));
    background: -webkit-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(121,152,231,1) 100%);
    background: -o-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(121,152,231,1) 100%);
    background: -ms-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(121,152,231,1) 100%);
    background: linear-gradient(to bottom, rgba(117,208,255,1) 0%, rgba(121,152,231,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#57b2ef', endColorstr='#aaccff', GradientType=0 );
}
.blue-button:hover {
    color: white;
    background: rgba(87,178,225,1);
    background: -moz-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(91,122,201,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(117,208,255,1)), color-stop(100%, rgba(91,122,201,1)));
    background: -webkit-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(91,122,201,1) 100%);
    background: -o-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(91,122,201,1) 100%);
    background: -ms-linear-gradient(top, rgba(117,208,255,1) 0%, rgba(91,122,201,1) 100%);
    background: linear-gradient(to bottom, rgba(117,208,255,1) 0%, rgba(91,122,201,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2288bb', endColorstr='#aaccff', GradientType=0 );
}

  .movie-results {
    padding: 15px 0px;
    text-align: left;
  }
  .movie-results .movie-result {
    cursor: pointer;
  }
  .movie-results .movie-result:hover {
    background-color: #eeeeee;
  }
/*
  .movie-results .movie {
    display: block;
    padding: 5px 0px;
  }
*/

  .searching-button {
    color: #999999;
    font-style: italic;
  }


/* Used by search results and viewing custom lists */
  .movie-container-list-view {
    padding-bottom: 20px;
  }
  .movie-container-list-view .movie {
    border: 1px #eeeeee solid;
    border-radius: 5px;
    color: #555555;
    cursor: pointer;
    display: block;
    font-size: 24px;
    margin: 12px;
    padding: 7px 15px;
    text-align: left;
    text-decoration: none;
    vertical-align: top;
  }
  .movie-container-list-view .movie:hover {
    background-color: #eeeeee;
    border: 1px #888888 solid;
  }
  .movie-container-list-view .movie .title {
    vertical-align: top;
  }
  .movie-container-list-view .movie .year {
    vertical-align: top;
  }


/* ========== OVERLAY ========== */

.overlay-background {
    background-color: black;
    bottom: 0px;
    left: 0px;
    opacity: .5;
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 3;
}

.overlay-content {
    background-color: transparent;
    left: 0px;
    position: fixed;
    text-align: center;
    top: 95px;
    width: 100%;
    z-index: 4;
}

.overlay-main-content {
    background-color: white;
    border: 15px #ffaa00 solid;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.3) 7px 7px 5px 0px;
    display: inline-block;
    padding: 30px;
    min-width: 350px;

    
}

.hidden {
    background-color: pink !important;
    border: 0px white solid !important;
    bottom: 1px !important;
    height: 1px !important;
    left: 0px !important;
    overflow: hidden !important;
    padding: 0px !important;
    position: absolute !important;
    right: 1px !important;
    top: 0px !important;
    width: 1px !important;
}

/* ========== FOOTER ========== */

.footer {
    background-color: #cc0000;
    border-top: 1px #cccccc solid;
    color: #dddddd;
    font-size: 18px;
    min-height: 129px;
    padding: 30px 10px 10px 10px;
    text-align: center;
}

.footer a {
    color: white;
}

    div.footer div.attributions {
        border-radius: 10px;
        color: #222222 !important;
        font-size: 12px;
        margin: 50px 20px 25px 20px;
        text-align: left;
    }
        div.footer div.attributions .note {
            background-color: rgba(255,255,255, .5);
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            margin: 0;
            padding: 15px 25px 20px 25px;
        }
        div.footer div.attributions a {
            color: #6666ff !important;
            text-decoration: underline;
        }
            div.footer div.attributions a:hover {
                color: blue !important;
                text-decoration: underline;
            }
        div.footer div.attributions .logo-container {
            background-color: white;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            padding: 15px 20px;
            text-align: center;
        }
            div.footer div.attributions .logo-container img {
                padding: 0 10px;
            }


/* ========== MOBILE STYLES ========== */

@media all and (max-width: 500px) {
    .login-link {
        padding: 3px 5px !important;
        text-align: left !important;
        width: 100% !important;
    }
    .login-link a {
        float: right !important;
        margin-top: -28px;
    }
    .content-outer {
        padding-top: 4px !important;
    }
    .header h1 {
        font-size: 34px !important;   /* 56px normally */
        padding: 15px 10px !important;
    }
    .header h1 a {
        word-spacing: 10px !important;
    }
    .subheader a {
        padding: 10px !important;
    }
}

