html{
  border: 10px solid #ececf9;
}
body{
  background-color: #ffffcc;
  text-align: center;
  padding: 30px 10px 0px 10px;
  margin: 0;
  border: 2px solid  #d9d9d9;
  overflow-x: hidden;
}

#logo{
  max-width: 200px;
  float: left;
  clear: both;
}
#selection{
  clear: both;
  text-align: center;
}
.search{
  max-width: 24px;
  position: relative;
  top: 5px;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
.searchImg{
  max-width: 20px;

}
.addImg{
  max-width: 20px;

}

/*style the results*/
.container{
  display: inline-block;
  border: 1px solid #d9d9d9;
  max-width: 1000px;
  max-height: 400px;
  overflow-y: scroll;
}
.movieTitle{
  display: inline;
  background-color: #5c5c8a;
  color: white;
  padding: 4px;
}
.title{
  display: inline; 
  font: bold 20px 'Cardo', serif; 
}
.release{
  display: inline;
  font: italic 16px 'Cardo', serif;

}
.cast{
  text-align: left;
}

/*style the tabs*/
.tablinks {
    max-height: 40px;
    background-image: url(movieimgs/marquee.png);
    background-size: 10%;
    outline:none;
    border: 1px solid #d9d9d9;
    cursor: pointer;
    padding: 10px 16px 14px;
    transition: .8s;
    width: 90%;
    font: bold 14pt   'Allerta', sans-serif;
    
}
/* Change background color of buttons on hover */
  .tablinks:hover {
    background-image: none;
    background-color: #ddd;
    border-radius: 15px;
  }
/* Create an active/current tablink class */
  .tablinks.active {
    background-image: url(movieimgs/antimarquee.png);
    background-size: 10%;
    border: 5px dotted  #ffff80;
    border-radius: 20px;
    font: bold 20pt 'Goudy Bookletter 1911', serif;
    color: white;
    text-shadow: 1px 1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, -1px -1px 0 #000000, 1px 0px 0 #000000, 0px 1px 0 #000000, -1px 0px 0 #000000, 0px -1px 0 #000000, 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #fff82b, 0 0 30px #fff82b, 0 0 40px #fff82b, 0 0 55px #fff82b, 0 0 75px #fff82b;
    padding: 0 0 5px 0;
  }

/* Style the tab content */
  .tabcontent {
    display: none;
    text-align: left;
    margin: 0px 70px;
    padding: 10px 10px;
    font: 10pt   'Overpass Mono', monospace;
    background: rgb(255, 255, 255);/* Fallback for older browsers without RGBA-support */
    background: rgba(255, 255, 255, 0.5);
    z-index: -1;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  }
#userAnyorall{
  display:none;
  font: 10pt   'Courier New', Courier, serif; 
  color: red;
}
/* Load more */
.load-more{
    width: 50%;
    background: #15a9ce;
    text-align: center;
    color: white;
    padding: 10px 0px;
    font-family: sans-serif;
    display: inline-block;
}

.load-more:hover{
    cursor: pointer;
}

.hide-more{
    width: 50%;
    background: darkorchid;
    text-align: center;
    color: white;
    padding: 10px 0px;
    font-family: sans-serif;
    display:none;
}

.hide-more:hover{
    cursor: pointer;
}

/*slider*/
.range-slider {
    position: relative;
    left: 40px;
    width: 200px;
    height: 35px;
    text-align: center;
}

.range-slider input {
    pointer-events: none;
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 15px;
    width: 200px;
    outline: none;
    height: 18px;
    margin: 0;
    padding: 0;
}

.range-slider input::-webkit-slider-thumb {
    pointer-events: all;
    position: relative;
    z-index: 1;
    outline: 0;
}

.range-slider input::-moz-range-thumb {
    pointer-events: all;
    position: relative;
    z-index: 10;
    -moz-appearance: none;
    width: 9px;
}

.range-slider input::-moz-range-track {
    position: relative;
    z-index: -1;
    background-color: rgba(0, 0, 0, 1);
    border: 0;
}
.range-slider input:last-of-type::-moz-range-track {
    -moz-appearance: none;
    background: none transparent;
    border: 0;
}
.range-slider input[type=range]::-moz-focus-outer {
  border: 0;
}

#disclaimer{
  font: italic bold 10pt "Palatino Linotype", "Book Antiqua", Palatino, serif;
  text-align: left;
  height: 150px;
  width: 300px;
  float: right;
  display: block;
  postion: relative;
  margin-bottom: 10px;
  background: white;
  border: 1px solid #d9d9d9;
}

#rating{
  position: relative;
  float: left;
  display: inline-block;
  background: white;
  border: 1px solid #d9d9d9;
}
#ratings12{
  display: none;
  position: relative;
  /*bottom: 30px;
  left: 400px;*/

}
#rating1hide{
  display: inline-block;
}
#rating2hide{
  display: inline-block;
}
/*#row{
  display: none;
}
#rowperpage{
  display:none;
}*/
#all{
  /*try to make input look like text: remove the box around input */
  border:0;
  background: inherit;
  font: bold 14pt   'Courier New', Courier, serif; 
  text-align: center;
}
#all:focus{
  /* remove blue outline when clicked */
  outline:none;
}
#containerLoading{
  font: bold 16pt   'Courier New', Courier, serif; 
}
#criteriaButton{
  width: 8%;
  height: 30px;
  padding: 0;
  margin: 0;
  line-height: 60%;
  min-width: 100px;
  font: 16pt 'Goudy Bookletter 1911', serif;
}
#resultAct{
  margin: 5px 0 0 0;
  font: 14pt 'Josefin Slab', serif;
  line-height: 120%;
}
#resultDir{
  margin: 5px 0 0 0;
  font: 14pt 'Josefin Slab', serif;
  line-height: 120%;
}

.clickActor{
  display: inline-block;
}
.clickActor:hover{
  color: #6666ff;
}
.clickActor:active{
  color:  #6666ff;
  text-decoration: line-through;
}
.imagecontainer{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  bottom: 0px;
  margin: 0;
  padding: 0;
}
#grungeCont{
  position: relative;
  width: 100px;
  height: 110px;
  left: 0px;
  bottom: 0px;
  margin: 0;
  padding: 0;
}
#grungecircle{
  position: absolute;
  width: 100px;
  left:0px;
  bottom:0px;
  margin: 0;
  padding: 0;
}
#nameCont{
  text-align:left;
  z-index: 1;
  position: relative;
  left: 36px;
  bottom: 82px;
}
#namelink{
  font: 24pt 'EB Garamond', serif;
  color: white;
  text-decoration: none;
  text-shadow: 0px 0px 3px black, 0 0 25px #5c8a8a, 0 0 5px #404040;

}




@media screen and (min-width: 540px) {

header{
  text-align: left;
  clear: both;
  position: relative;
  top: 20px;
  margin: 0 70px;
  z-index: -1;
}
#headcontent{
  padding: 0 10px;
  background: rgb(255, 255, 255);/* Fallback for older browsers without RGBA-support */
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

#title{
  font: bold 60pt 'Poiret One', cursive;
  margin:0 0 10px 0;
  padding: 0;

}
#slogan{
  font: 24pt 'Josefin Slab', serif;
  margin:0;
  padding: 0;
}
#description{
  font: 16pt 'Voltaire', sans-serif;
}


#warningOne{
  display: inline-block;
  font: 12pt 'Voltaire', sans-serif;
  background-color: #ececf9;
  border-top: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  width: 200px;
  height: 20px;
  margin: 0;
  padding: 0;
}
#warningTwo{
  display: inline-block;
  font: 12pt 'Voltaire', sans-serif;
  background-color: #ececf9;
  border-bottom: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  width: 450px;
  margin: 0;
  padding: 0;
}
#warOneLeft{
  display: inline-block;
  width: 126px;
  height: 20px;
  border-bottom: 1px solid #d9d9d9;
  margin: 0 -1px -4px 0;
  padding: 0;
}
#warOneRight{
  display: inline-block;
  width: 126px;
  height: 20px;
  border-bottom: 1px solid #d9d9d9;
  margin: 0 0 -4px -1px;
  padding: 0;

}

#genreLeft{
  float: left;
  text-align: left;
  min-width: 107px;
}
#genreRight{
  float: right;
  text-align: left;
  min-width: 107px;
}
#genreCenter{
  float: center;
  text-align: left;
  min-width: 150px;
}
#genreTab{
  text-align: center;
}
#anyAllSection{
  position: relative;
  clear: both;
}
  .flex-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:flex-start;
  }
#rating{
  padding: 5px;
}
}

@media screen and (max-width: 539px) {

header{
  text-align: left;
  clear: both;
  position: relative;
  top: 10px;
  margin: 0 0 0 5px;
}
#title{
  font: bold 40pt 'Poiret One', cursive;
  margin:0 0 10px 0;
  padding: 0;

}
#slogan{
  font: 24pt 'Josefin Slab', serif;
  margin:0;
  padding: 0;
}
#description{
  font: 16pt 'Voltaire', sans-serif;
}


#warningOne{
  display: inline-block;
  font: 12pt 'Voltaire', sans-serif;
  background-color: #ececf9;
  border-top: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  width: 250px;
  height: 20px;
  margin: 10px 0 0 0;
  padding: 0;
}
#warningTwo{
  display: inline-block;
  font: 12pt 'Voltaire', sans-serif;
  background-color: #ececf9;
  border-bottom: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  width: 250px;
  margin: -1px 0 0 0;
  padding: 0;
}
#warOneLeft{
  display: none;
}
#warOneRight{
  display: none;

}


#genreLeft{
  text-align: left;
  min-width: 107px;
}
#genreRight{
  text-align: left;
  min-width: 107px;
}
#genreCenter{
  text-align: left;
  min-width: 150px;
}
#genreTab{
  text-align: center;
}
#anyAllSection{
  position: relative;
  clear: both;
  width: 150px;
}
#disclaimer{
  width: 100%;
  position: relative;
  display: inline-block;
}
#rating{
  width: 90%;
  position: relative;
  display: inline-block;
  padding: 0;
}
#newSubmit{
  position: relative;
  display: inline-block;
  
}