:root{
  font-size: 16px;
}

@keyframes flickerAnimation {
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
.animate-flicker {
   -webkit-animation: flickerAnimation 1s infinite;
    animation: flickerAnimation 1s infinite;
}

body{
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  /* width: 100vw; */
  height: 100vh;
  font-family: 'Nunito', 'poppins', sans-serif;
  overflow-y: auto;
  /* overflow-x: auto; */
  /* border: 2px solid #000; */
  min-width: 1200px;
}

/* ::-webkit-scrollbar{
  height: 3px;
  background: #333;
} */

header{
  /* border: 1px solid black; */
  min-width: 1200px;
  /* width: 100%; */
  padding: 25px 15px 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

#tmdbLogo{
  width: 70px;
  cursor: pointer;
  margin-right: 15px;
}

#searchForm{
  display: flex;
  flex-direction: row;
  width: 100%;
  /* border: 1px solid #333; */
}
#searchForm > input {
  width: 100%;
  margin-right: 10px;
  border: none;
  border-bottom: 1px solid #222;
  text-align: left;
  font-size: 1.2rem;
  margin-right: 10px;
}
#searchForm > input:focus{
  outline: none;
}
.search-btn, .trailor-button {
  font-size: 1.2rem;
  font-family: 'Nunito', 'poppins', sans-serif;
  background-color: #0d253f;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color, color, 200ms;
}
.trailor-button{
  width: 100%;
}

.search-btn:hover, .trailor-button:hover{
  transition: background-color, color, 200ms;
  background-color: #01b4e4;
  color: #0d253f;
}

#unclickable-btn{
  font-family: 'Nunito', 'poppins', sans-serif;
  width: 100%;
  margin-top: 20px;
  font-size: 1.2rem;
  padding: 5px 10px;
}

main{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* overflow-y: auto; */
  padding: 0;
  margin: 10px auto 30px;
  /* min-width: 1200px; */
  /* width: 100%; */
  /* min-height: 900px; */
  color: #0d253f;
}
#index-movie{
  display: flex;
  flex-direction: row;
  padding: 10px 10px 0;
  justify-content: center;
}
#index-main{
  margin-top: 10px;
  padding: 10px 10px 0;
  /* height: 155vh; */
  /* align-items: stretch; */
  /* border: 1px solid #111; */
}
#index-search{
  min-height: 100vh;
}

#index-person{
  padding: 10px 15px 0;
  margin-top: 10px;
  /* padding: 10px 25px 0; */
  /* margin-left: 10px; */
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
}


.preloader{
  /* position: absolute; */
  /* text-align: center; */
  /* border: 1px solid #333; */
  width: 100vw;
  height: 100vh;
  background-color: rgba(200,200,200,0.4);
  /* margin-left: 30px; */
  opacity:1;
  position: absolute;
  top:0;
  left:0;
  /* top: 50%; */
  /* left: 50%; */
  font-weight: bold;
  /* transform: translate(-50%, -40%); */
  font-size: 1.5rem;
  font-style: italic;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.preloader>p{
  -webkit-animation: flickerAnimation 1.3s infinite;
  animation: flickerAnimation 1.3s infinite;
  font-size: 1.2rem;
  color: #0d253f;
}

#trendy-scatterplot{
  height: 80vh;
  min-height: 200px;
  width: 49%;
  border-radius: 10px;
  box-shadow: 1px 1px 3px #ddd;
  /* padding: 10px 0px; */
  background: #f2f2f2;
  overflow: auto;
  /* position: relative; */
}

svg{
  position: relative;
  z-index: 1;
}

#trendy-scatterplot>h1{
  /* border: 1px solid black; */
  /* padding-left: 110px; */
  text-align: left;
  padding-left: 30px;
  margin-bottom: 5px;
  color: #0d253f;
}

.trendy-scatterplot-hover-poster-container{
  display: none;
  position: absolute;
  z-index: 0;
  /* background: #0046b8; */
  opacity: 0;
  border: 1px solid #333;
  padding: .7%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.trendy-scatterplot-hover-poster{
  margin-right: 10%;
  margin-bottom: 10%;
  -webkit-filter: blur(2px); /* Safari 6.0 - 9.0 */
  filter: blur(2px);
}

/* .catter-label{
  font-size: .5rem;
} */

#trendy-barchart{
  border-radius: 10px;
  box-shadow: 1px 1px 3px #ddd;
  padding: 0px;
  background: #f2f2f2;
  height: 80vh;
  width: 49%;
  overflow: auto;
}
input[type="radio"]{
  cursor: pointer;
}


#trendy-barchart>h1{
  /* text-align: center; */
  padding-left: 30px;
  margin-bottom: 0;
  color: #0d253f;
}
#trendy-barchart>p{
  margin: 0;
  padding-left: 31px;
  margin-top: 5px;
  margin-bottom: 15px;
  font-style: italic;
  text-decoration: underline;
  color: #0d253f;
}
.bar, .current-movie-bar{
  opacity: .9;
  cursor: pointer;
  /* transition: fill, color, 200ms; */
}
.bar:hover{
  fill:#01b4e4;
  stroke: black;
  stroke-width: 2px;
  /* transition: fill, color, 200ms;  */
}

.error-mssg{
  margin-left: 10px;
  text-decoration: underline;
  color: rgb(252, 83, 83);
}

.current-movie-bar:hover{
  stroke: black;
  stroke-width: 2px;
  fill:#01b4e4;
}

.people-movie-bar{
  opacity: .6;
  cursor: pointer;
}
.people-movie-bar:hover{
  opacity: 1;
  stroke: black;
}

#barchart-filter-container, #movie-page-barchart-filter-container{
  /* padding-left: 30px; */
  /* height: 60px; */
  /* background: #e9e9e9; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:flex-start;
  /* border: 1px solid black; */
  border-radius: 3px;
  padding: 8px 0px;
  margin-top: 5px;
  margin-left: 25px;
  margin-bottom: 5px;
}

#movie-page-barchart-filter-container{
  margin-left: 15px;
}



#barchart-filter-container>.filter-group:first-of-type, #movie-page-barchart-filter-container>.filter-group:first-of-type{
  margin-left: 0px;
  margin-right: 10px;
}
#barchart-filter-container>.filter-group, #movie-page-barchart-filter-container>.filter-group{
  margin: 0px 10px;
  color: #0d253f;
}
#barchart-filter-container>.filter-group:last-of-type, #movie-page-barchart-filter-container>.filter-group:last-of-type{
  margin-left: 10px;
  margin-right: 0;
}

/* .container:nth-of-type(2n+1){
  flex-direction: column;
  width: 53vw;
  padding: 0px 10px 10px;
  height: 145vh;
  background: #f2f2f2;
  overflow: auto;
}
.container:nth-of-type(2n){
  flex-direction: column;
  width: 47vw;
  padding: 0px 10px 0px;
  height: 145vh;
  background: #e2e2e2;
  overflow: auto;
} */


#down-section{
  flex-direction: row;
  /* flex:1; */
  width: 98.7%;
  height: 50%;
  /* padding: 0px 10px 11px; */
  overflow: hidden;
  margin: 0 auto;
}
#up-section{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  /* height: 50%; */
  /* padding: 0px 5px 10px; */
  margin: 0 auto;
  overflow: hidden;
  /* border:1px solid #333; */
}

#searchContainer{
  background-color: #f2f2f2;
  padding: 20px 80px;
  border-radius: 5px;
  width: auto;
  margin: 0 15px;
  min-width: 1200px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.search-sub-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  /* height: 30vh; */
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed #333;
}

.search-sub-container:last-of-type{
  border-bottom: 0px dashed #333;
}

.searchImg{
  margin-right: 20px;
}

.searchImg.portrait{
  width: 10vw;
  /* height: 175px; */
}

.searchImg.landscape{
  width: 280px;
  height: 175px;
}

.search-movie-rating{
  color: #01b4e4;
  font-weight: bold;
  text-decoration: underline;
}

.search-movie-vote-count{
  color: #0d253f;
  font-style: italic;
  font-size: 1rem;
}

.searchPreview.inside-person>.searchResultsLink{
  font-size: 1rem;
}

.node-circle-core{
  cursor: grab;
  stroke: black;
  stroke-width: 2px;
}

.node-circle-core:active{
  cursor: grabbing;
}

.nodes-text>text:first-of-type{
  fill: #0d253f;
  font-weight: bolder;
  font-size: 0.8rem;
}


.searchResultsLink{
  position: relative;
  font-size: 1.2rem;
  color: #01b4e4;
  cursor: pointer;
  transition: color 350ms ease;
}
.searchResultsLink::after {
      background: #107896;
      position: absolute;
      content: '';
      height: 2px;
      bottom: 0px;
      left: 0;
      width: 0;
      transition: width 350ms ease;
}
.searchResultsLink:hover{
  color: #107896;
  transition: color 350ms ease;
}

.searchResultsLink:hover::after{
  width: 100%;
  transition: width 350ms ease;
}

/* .searchResults{
  margin-bottom: 20px;
} */
.searchPreviewContainer{
  margin-top: 10px;
}

.searchPreview{
  margin: 5px 0px;
}

#movie-profile-section{
  width: 25%;
  padding: 20px 10px;
  /* padding-bottom: 20px; */
  border-radius: 10px;
  background: #f2f2f2;
  box-shadow: 2px 2px 6px #ddd;
  /* margin-bottom: 5px; */
  /* margin-right: 5px; */
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid #333; */
}
#movie-profile-section>div{
  /* border: 1px solid black; */
  flex-direction: column;
  margin: 0px auto 0;
  height: 100%;
  width: 100%;
}
#movie-viz-section{
  width: 72%;
  margin-left: 0.5%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  /* height: 149.5vh; */
  /* overflow: auto; */
  /* border: 1px solid #333; */
}
.movie-up-viz{
  height: 60%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.movie-down-viz{
  width: 100%;
  padding-bottom: 0px;
  height: 40%;
  /* margin-top: .5%; */
}

#poster{
  display: block;
  /* width: 250px; */
  width: 100%;
  /* max-height: 60%; */
  border-radius: 5px;
  /* margin-top: 10px; */
}
#poster-profile-page{
  display: block;
  /* width: 280px; */
  width: 100%;
  max-height: 60%;
  border-radius: 5px;
  margin-top: 10px;
}


.title-text-gp>h1.movie-page-title{
  font-size: 1.2rem;
  font-weight: bolder;
  margin: 0;
}
#movie-profile-section>div>h1{
  font-size: 2rem;
  margin: 5px 0 15px 0;
}

.movie-profile-container{
  /* border: 1px solid #333; */
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.title-text-gp{
  /* border: 1px solid #333; */
  width: 100%;
}

.movie-profile-info-gp{
  /* border: 1px solid #333; */
  width: 100%;
}

.movie-poster-gp{
  /* border: 1px solid #333; */
  width: 100%;
  /* height: 30%; */
}

/* .movie-profile-sub-gp{
  border: 1px solid #333;
} */
.movie-profile-sub-gp>h2{
  font-size: 1.2rem;
  margin: 0px 0 0px 0;
}
/* #movie-profile-section>div>p{
  margin: 0px 0 15px 0;
} */

.movie-general-info{
  display: flex;
  flex-direction: row;
  align-items:stretch;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 10px;
}
.general-info-container{
  display: flex;
  text-align: center;
  flex-direction: column;
  margin-bottom: 0px;
}
.general-info-container:nth-of-type(1){
  text-align: left;
}

.general-info-container:nth-of-type(4){
  text-align: right;
}
.general-info-container:nth-of-type(3)>p{
  /* border: 1px solid #222; */
  display: inline-block;
  text-align: center;
  /* font-size: 1.2rem; */
}

.general-title{
  font-size: 1rem;
  margin: 0px 0 0px 0;
  color: #0d253f;
}

.poster-overlay{
  position: relative;
}

.poster-overlay:hover .overview-container{
  opacity: 1;
}

.overview-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(13,37,63, 0.9);
  border-radius: 5px;
}

.overview-placeholder{
  color: #90cea1;
  font-style: italic;
}

.overview-placeholder>span{
  color: #c79af7;
  font-weight: bold;
}

.overview-title{
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.2rem;
}

.overview-text {
  width: 85%;
  color: white;
  font-size: 1rem;
  line-height: 1.625;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: left;
}

.general-data{
  font-size: 1rem;
  margin: 0px;
  font-weight:bold;
  color: #0046b8;
}
.movie-page-vote-text{
  font-size: .8rem;
  font-weight: normal;
}


.movie-detail-info{
  width: 100%;
  margin-top: 5px;
  background: #ddd;
  /* border: 1px solid black; */
  /* padding: 2px 8px; */
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.detail-info-container{
  width: 95%;
  margin-left: 5px;
  /* border: 1px solid #111; */
}
.detail-title{
  font-size: 1rem;
  margin:5px 0 1px 8px;
  text-align: center;
}
.detail-data{
  font-size: .8rem;
  font-weight: 600;
  margin:0px 0 1px 8px;
  text-align: center;
}
.detail-data:nth-of-type(2n+1){
  margin-bottom: 10px;
}
.detail-data:nth-of-type(2n){
  margin-bottom: 5px;
}
.withSplitter{
  border-bottom: 1px dashed #999;
}
div#trailer-frame{
  height: 85%;
  width: 75%;
  background: #f2f2f2;
  padding-left: 0px;
}
#trailer-close-btn{
  top:-23px;
  right:-20px;
}
#trailer-frame>iframe{
  width: 100%;
  height: 100%;
}
.trailor-button{
  /* width: 50%; */
  padding: 7px 4.5vw;
  margin: 0;
}

.close-btn{
  position: absolute;
  top:-23px;
  right:-23px;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  padding: 0 13.5px 5px;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}
/* .close-btn.person{
  top:-15px;
} */
.close-btn:hover{
  transition: all .2s ease-in-out;
  transform: scale(0.85);
}

.popup-window.scatterplot>.close-btn{
  top:-20px;
  right:-20px;
}


#person-viz-section{
  margin-left: .75%;
  width: 74%;
  display: flex;
  flex-direction: column;
  /* flex-wrap: wrap; */
  /* height: 150vh; */
  /* justify-content: space-between; */
}
.person-upper-viz{
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  position: relative;
}
.person-bottom-viz{
  width: 100%;
  height: 50%;
  margin-top: 1%;
}
#person-profile-section{
  width: 25%;
  background: #f2f2f2;
  border-radius: 10px;
  box-shadow: 2px 2px 6px #ddd;
  overflow-x: auto;
  padding-left: .5%;
  /* height: 100vh; */
}
#person-profile-section>div{
  /* border: 1px solid #000; */
  margin-top: 20px;
  padding: 0 20px;
}
.cast-name{
  font-size: 1.2rem;
  font-weight: 600;
  /* margin: 5px 0 20px 0; */
}

.cast-sub-line{
  margin: 5px 0 15px 0;
  color: #444;
}

.text-highlight.cast-text-highlight{
  color: #01b4e4;
}

.cast-info-title{
  font-weight: 600;
  font-size: 1.2rem;
  margin: 5px 0 0px 0;
  /* text-align: center; */
  /* background-color: #aaa; */
}
.cast-info{
  font-weight: lighter;
  margin: 0px 0 20px 0;
  font-size: 1rem;
}
.cast-info.top-film{
  font-size: .8rem;
  font-style: italic;
  
}
.strength-text.profile{
  font-style: normal;
}
.cast-info.highlight{
  font-size: 1.6rem;
  font-weight: bolder;
  font-style: italic;
}
.cast-info.top-movie{
  display: inline-block;
  width: 92%;
  margin-bottom: 0;
  border-radius: 3px;
  /* margin-left: 5px; */
  font-weight: bold;
  text-decoration: underline;
  /* padding: 5px 3px; */
  /* padding-left: 3px;
  background: #0d253f;
  color: #90cea1; */
}
.cast-page-poster{
  width: 125px;
  height: 200px;
  border-radius:5px;
  opacity: .9;
  cursor: pointer;
  border-radius: 5px;
  /* height: 100%; */
  border: 4px dashed transparent
}
.cast-page-poster:hover{
  transition: all, 200ms;
  transform: scale(0.95);
  /* border: 4px dashed rgb(252, 83, 83); */
  border: 4px dashed #01b4e4;
}
.top-cast-movie-score{
  font-size: .8rem;
  display: inline-block;
  background: #333;
  color: white;
  border-radius: 5px;
  width: 125px;
  padding: 4px 0px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: bold;
  overflow-x: auto;
}
.top-cast-movie-score>span{
  font-size: .8rem;
  font-weight: normal;
}

#cast-top-movie-container{
  /* border: 1px solid #222; */
  /* background-color: #aaa; */
  border-radius: 0px;
  position: relative;
  margin-right: 20px;
  margin-top: 10px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  padding-bottom: 15px;
  align-items: flex-start;
}
#cast-top-movie-list{
  display: flex;
  flex-direction: column;
  margin-right: 20px;
}
#cast-top-movie-list:last-of-type{
  margin-right: 10px;
}
#person-bar-chart{
  /* margin: .5% .5% 0; */
  margin: 0;
  /* width:100%; */
  /* width: 98%; */
  height: 100%;
}
#person-radar-chart{
  /* margin: 0 .25% .5% .5%; */
  margin: 0;
  width: 49.5%;
  /* height: 99%; */
}

#radar-filter-group{
  width: 30vw;
  position: absolute;
  left: 0;
  top: 14.2%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 30px;
  margin-bottom: 20px;
}
.option-container{
  display: flex;
  flex-direction: row;
  margin-right: 15px;
  justify-content: space-between;
  /* border: 1px solid #111; */
}
.option-container>input{
  cursor: pointer;
}
.option-container>label{
  font-weight:600;
  font-style: italic;
}
#person-network-chart{
  /* margin: 0 .5% .5% .25%; */
  margin: 0;
  width: 49.5%;
  /* height: 99%; */
}

#person-radar-chart>h2{
  padding-left: 30px;
  margin: 0;
  margin-top: 20px;
  font-size: 1.2rem;
}
#person-network-chart>h2{
  padding-left: 30px;
  margin: 0;
  margin-top: 20px;
  font-size: 1.2rem;
}
#person-bar-chart>h2{
  padding-left: 30px;
  margin: 0;
  margin-top: 20px;
  font-size: 1.2rem;
}
.person-chart-sub-text{
  padding-left: 30px;
  margin: 0;
  margin-top: 5px;
  font-style: italic;
  text-decoration: underline;
}
.person-chart-sub-text.side-note{
  font-size: 0.8rem;
}
.person-chart-sub-text.no-decoration{
  text-decoration: none;
}
.side-note{
  padding-left: 30px;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 10px;
  text-decoration: none;
  font-style: italic;
  font-size: 0.8rem;
}
.strength-text{
  font-size: 1rem;
  font-weight: bold;
  font-style: italic;
  border-radius: 3px;
  background: #555;
  color:white;
  letter-spacing: 1px;
  padding: 1px 8px;
}
.node-circle{
  cursor: pointer;
}
.node-circle:hover{
  stroke: black;
  stroke-width: 3.2px;
  /* stroke-dasharray: 6px; */
}

.nodes-text{
  /* margin-top: 36px; */
  font-size: .6rem;
  font-weight:600;
  font-style: italic;
  white-space:normal;
}
/* #movie-scatterplot-container{
  width:
} */
.data-viz-container{
  margin: 0px 10px 10px;
  overflow-x: auto;
  /* overflow: auto; */
  border-radius: 10px;
  box-shadow: 2px 2px 6px #ddd;
  background-color: #f2f2f2;
}

.director-text{
  font-style: italic;
  margin-top: 10px;
  padding-left: 2px;
}
#director-name{
  font-weight: bold;
  cursor: pointer;
  background: #c4c4c4;
  padding: 1px 8px;
  border-radius: 3px;
  color: #0d253f;
  transition: color,background .15s;
}
#director-name:hover{
  color: #0046b8;
  background: #d5d5d5;
  transition: color,background .15s;
}

.movie-popup-genre-container{
  display: flex;
  flex-direction: row;
}
.movie-popup-genre-container.person-pop-up{
  overflow-x: scroll;
  padding-bottom: 3px;
  margin-bottom: 15px;
  width: 100%;
}

.movie-popup-genre-container.person-pop-up::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 3px;
  transition: all 150ms;
}

.movie-popup-genre-container.person-pop-up:hover::-webkit-scrollbar-thumb{
  height: 3px;
  background: transparent;
  cursor: pointer;
}

.movie-popup-genre-container.person-pop-up:hover::-webkit-scrollbar-thumb{
  background: #fff;

}

.movie-popup-genre-container.person-pop-up:hover::-webkit-scrollbar-track{
  height: 3px;
  background: #333;
}

.movie-popup-genre-container.person-pop-up>.genre-container>span{
  white-space: nowrap;
  font-size: 0.8rem;

}

.movie-popup-genre-container.person-pop-up>.genre-container{
  background: #0d253f;
  color: #90cea1;
  font-weight: bold;
}

.movie-popup-production-container{
  display: flex;
  flex-direction: row;
  overflow-x: auto;
}

.person-pop-up-side-note{
  /* position: absolute; */
  margin: 0;
  margin-top: 5px;
  bottom: 0px;
  font-size: 0.8rem;
  text-align: right;
  font-style: italic;
}

.person-pop-up-side-note>u{
  font-weight: bold;
  color: #01b4e4;
}

.movie-popup-container{
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  align-items: center;
  margin: 5px 0;
  /* overflow-x: auto; */
  justify-content: stretch;
  /* width: 100%; */
}
.movie-popup-container.person{
  /* position: absolute; */
  /* bottom: 0; */
  width: 14.5vw;
  margin: 0 !important;
  margin-top: 5px !important;
  padding: 0 !important;
}

.movie-popup-container:first-of-type{
  margin: 10px 0 0 5px;
}

.movie-popup-container:last-of-type{
  margin: 0 0 0 5px;
}

.tags-container{
  display: flex;
  /* max-width: 20vw; */
  /* display: flex; */
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
  overflow-x: scroll;
  margin-bottom: 10px;
  padding-bottom:5px;
  white-space: nowrap;
  padding-bottom: 10px;
  
}
.genre-container, .production-container{
  display: inline-block;
  background: #0d253f;
  color: #fff;
  /* padding: 6px 8px 0px; */
  border-radius: 3px;
  /* margin: 2.5px 5px 2.5px 0px; */
  text-align: center;
  margin: 0 5px;
}
.genre-container:first-of-type, .production-container:first-of-type{
  margin-left: 0;
}

.genre-container:last-of-type, .production-container:last-of-type{
  margin-right: 0;
}

.genre-container, .production-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  /* border: 1px solid #000; */
  align-items: center;
  padding: 4px 8px;
  /* border: 1px solid #333; */
}

.production-container{
  padding: 10px 5px;
}

.movie-genre.tooltip-text, .production.tooltip-text{
  font-size: 1rem;
  /* padding: 6px 6px 0px; */
  /* border: 1px solid #333; */
  display: inline-block;
}

.production.tooltip-text {
  font-size: 1rem;
  white-space: nowrap;
}

.pop-window-text>.movie-genre.tooltip-text{
  margin-left: 5px;
  background: #222;
}
footer{
  display: flex;
  flex-direction: row;
  /* min-width: 1200px; */
  width: 100%;
  align-items: center;
  background-color: #f3f3f3;
  height: 12.1vh;
  /* min-width: 1315px; */
  /* padding: 20px 0 20px 0px; */
  opacity: 0;
}
footer>p{
  font-weight: 400;
  display: inline;
  font-size: .95rem;
  /* margin-right: 40px; */
  margin-left: 40px;
}

/* D3 Plot Styling */
/*  ddf d */

.filter{
  /* border: 1px solid black; */
  /* border: 1px solid #333; */
  padding: 10px 0px 5px;
  display: flex;
  align-items: center;
  /* justify-content: space-around; */
  /* flex-wrap: wrap; */
  overflow-x: auto;
  overflow-y: hidden;
  width: 43vw;
  margin-left: 30px;
  /* margin-bottom: 10px; */
}
.swot-legend.movie{
  margin-left: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  width: 31.5vw;
  margin-top: 5px;
  margin-bottom: 0;
}

#genre_scatterplot_filter{
  margin-left: 5px;
}

.swot-legend.movie::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 5px;
  transition: all 150ms;

}

.swot-legend.movie:hover::-webkit-scrollbar-thumb{
  height: 5px;
  background: transparent;
  cursor: pointer;
}

.swot-legend.movie:hover::-webkit-scrollbar-thumb{
  background: #333;

}

.swot-legend.movie:hover::-webkit-scrollbar-track{
  height: 5px;
  background: #fff;
}

.swot-legend{
  /* width: 0%; */
  display: flex;
  align-items: center;
  margin-left: 35px;
  margin-top: 5px;
  /* float: right; */
  /* justify-content: center; */
  /* border: 1px solid #333; */
  align-items: stretch;
  margin-bottom: 0px;
  /* position: absolute;
  bottom: 10.5%;
  left:5%;
  z-index: 99999; */
}

.legend-gp-current>.legend-icon{
  background:#a455f6;
  /* border: 1px dashed #333; */
}

.legend-gp, .legend-gp-current{
  font-size: .7rem;
  display: flex;
  align-items: center;
  /* border: 1px solid #333; */
  margin-bottom: 5px;
}

.legend-gp:last-of-type, .legend-gp-current{
  margin-bottom: 0;
}

.legend-col:last-of-type{
  margin-right: 0;
}


.legend-col{
  display: flex;
  flex-direction: column;
  /* border: 1px solid #333; */
  margin-right: 10px;
}

.legend-icon{
  width: 10px;
  height: 10px;
  /* background: #333; */
  border: 1px solid #333;
  margin-right: 5px;
  border-radius: 50%;
}

.tier1.legend-icon{
  background: rgb(71, 173, 255);
}

.tier2.legend-icon{
  background: rgb(10, 207, 102);
}

.tier3.legend-icon{
  background: rgb(253, 171, 61);
}

.tier4.legend-icon{
  background: rgb(252, 83, 83);
}

.legend-gp>p, .legend-gp-current>p{
  white-space: nowrap;
  margin: 0;
}
.tier-label{
  margin-right: 10px;
  font-weight: bold;
  text-decoration: underline;
  white-space: nowrap;
}

.filter::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 5px;
  transition: all 150ms;

}

.filter:hover::-webkit-scrollbar-thumb{
  height: 5px;
  background: transparent;
  cursor: pointer;
}

.filter:hover::-webkit-scrollbar-thumb{
  background: #333;

}

.filter:hover::-webkit-scrollbar-track{
  height: 5px;
  background: #fff;
}

.filter-subgroup{
  /* border: 1px solid #333; */
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 12px;
  color: #0d253f;
}
.filter-subgroup:first-of-type{
  margin-left: 0;
}

.filter-subgroup>p{
  margin: 0;
  white-space: nowrap;
}

.finance_prodoction-filter{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* margin-top: 5px; */
  /* margin: 0; */
}

.finance_prodoction-filter:first-of-type{
  margin: 0 2.5px 0 5px;
}

.finance_prodoction-filter:last-of-type{
  margin: 0 0px 0 12px;
}

.finance_prodoction-filter>select{
  margin-left: 5px;
}

.finance_prodoction-filter>p{
  margin: 0;
}


.filter.person-page{
  margin-top: 0px;
  margin-left: 30px;
  display: flex;
  /* border: 1px solid #333; */
  width: 90%;
  /* width: auto; */
  /* margin-left: 0; */
  justify-content: space-between;
  align-items: center;
}
/* .filter-subgroup.person-page{
  border: 1px solid #333;
} */


.performance-metrics{
  display: flex;
  align-items: center;
  /* border: 1px solid #333; */
}

.filter.person-page>p{
  margin-left: 0px;
}
.filter-label.person-page:nth-of-type(2){
  margin-left: 30px;
}
.filter-label.person-page{
  margin-right: 10px;
}
#genre_filter_movie_bar{
  margin-right: 30px;
}

#production_firm-filter{
  width: 100px;
}

#benchmark-text{
  font-size: 1.5rem;
  font-style: italic;
  font-weight: bold;
}
.filter>p{
  margin: 0;
  margin-left: 30px;
  margin-right: 5px;
}

.time_scatterplot_filter{
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  height:20px;
  /* border: 1px solid #333; */

}

.time_scatterplot_filter>div{
  display: flex;
  align-items: center;
}

.time_scatterplot_filter>div>p{
  white-space: nowrap;
}

.time_scatterplot_filter>div:first-of-type{

  margin-right: 10px;
  margin-left: 5px;
}

#end_time, #start_time{
  margin-left: 5px;
}
#unclickable{
  margin-left: 5px;
}
.time_scatterplot_filter>select{
  height: 100%;
}
.movie.filter>.time_scatterplot_filter{
  /* margin-top: 10px; */
  margin-left: 5px;
}

#profit_scatterplot_filter{
  width: 85px;
}
#movie-scatterplot-container{
  height: 99%;
  width: 49.6%;
  overflow-x: auto;
  margin:0;
  color: #0d253f;
}
#movie-scatterplot-container>svg{
  overflow: visible;
}
#movie-scatterplot-container>h1{
  margin: 0;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

#movie-casting-container{
  height: 100%;
  margin: 0px;
  /* padding-bottom: 10px; */
  color: #0d253f;
}
#movie-casting-container>h1{
  margin-top: 20px;
  padding-left: 20px;
  margin-bottom: 0;
  font-size: 1.2rem;
  /* border: 1px solid #333; */
}
#movie-casting-container>p{
  font-weight: light;
  font-style: italic;
  text-decoration: underline;
  margin: 0;
  padding-left: 20px;
  margin-bottom: 7.5px;
  /* border: 1px solid #333; */
}
.full-cast-link{
  font-size: .9rem;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  cursor: pointer;
  background: #c4c4c4;
  padding: 1px 8px;
  border-radius: 3px;
  color: #0d253f;
  transition: color,background .15s;
}
.full-cast-link:hover{
  color: #0046b8;
  background: #d5d5d5;
  transition: color,background .15s;
}

.filter.movie{
  /* border: 1px solid black; */
  /* border: 1px solid #333; */
  margin-bottom: 5px;
  margin-top: 0px;
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 90%;
  overflow-x: auto;
}
.filter.movie>p{
  margin: 0;
  margin-left: 0px;
}
.filter.movie>select{
  margin-left: 5px;
  margin-right: 20px;
}
#profit_scatterplot_filter{
  width: 85px;
}
#release_time_filter{
  margin-left: 5px;
  /* font-size: .75rem; */
  font-family: 'Nunito', 'poppins', sans-serif;
  background-color: #0d253f;
  color: white;
  padding: 1px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color, color, 200ms;
}
#release_time_filter:hover{
  transition: background-color, color, 200ms;
  background-color: #01b4e4;
  color: #0d253f;
}


.tooltip{
  /* width:inherit; */
  width: 250px;
  text-align: left;
  position: absolute;
  background: #e4e4e4;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 1px 2px 6px #999;
  z-index: 9999;
  border: 2px solid #0d253f;
}

.movie-sec.tooltip>.tooltip-title{
  margin: 10px 0px;
  font-size: 1.2rem;
  line-height: 1.6rem;
}

.cast-top-movie-list{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tooltip.collaboration{
  max-width: 225px;
}
.tooltip-title{
  margin: 10px 0px;
  font-size: 1.6rem;
  line-height: 1.6rem;
}
.tooltip-title.collaboration{
  margin: 0;
  font-size: 1.2rem;
}
.tooltip-sub-title{
  margin: 5px;
  font-style: italic;
}

.clicked-hint{
  width: 250px;
  color: #f1f1f1;
  background: #357960;
  border-radius: 5px;
  padding: 5px 0px;
  font-weight: bold;
  text-align: center;
  margin: 5px auto 5px;
  display: inline-block;
}

.clicked-hint.people{
  width: 100%;
}

.tooltip-sub-title.collaboration{
  margin: 0;
  margin-top: 3px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.collaboration-text{
  font-weight: bold;
  font-style: italic;
}
.collaboration-text.highlight{
  font-weight: bold;
  font-size: 1.2rem;
  color: #0d253f;
  font-style: italic;
}
.tooltip-sub-title.collaboration.data{
  margin: 0;
}

.tooltip-sub-title.splitting-point{
  margin-top: 20px;
}
.revenue-text{
  font-size: 1.1rem;
  font-weight: bold;
  color: #357960;
}
.popularity-text{
  font-size: 1.1rem;
  font-weight: bold;
  color: #0046b8;
}
.popularity-text-sub{
  color: #0d253f;
  font-weight: bold;
  font-size: 1.1rem;
}
.budget-text{
  font-size: 1.1rem;
  font-weight: bold;
  color: #5F1B23;
}
.data-text{
  font-size: 1.1rem;
  font-weight: bold;
}
.data-text-small{
  font-size: .9rem;
  font-weight: bold;
}


.axis-label{
  font-weight: bold;
}
#scatter-benchmark-y, #scatter-benchmark-x, #benchmark-x-bar, #benchmark-x-bar-below{
  font-size: .8rem;
  font-weight: bold;
}

.dot{
  /* transition: all 200; */
  
  cursor: pointer;
}
.legend-dot{
  stroke: black;
  stroke-width:.5px;
}
.dot:hover{
  stroke: black;
  stroke-width: 3.2px;
  opacity: 1;
  z-index: 9999;
  stroke-dasharray: 0;
  /* transition: all 200; */
}

#tooltip-poster{
  width: 150px;
}

#trendy-tooltip-poster{
  width: 100%;
}


div.cover{
  position: fixed;
  top: 0;
  left: 0;
  width:100vw;
  height: 100vh;
  background: white;
  z-index: 2;
  /* opacity: 0.5; */
}
.popup-window, .trailor-popup-window{
  width: 80vw;
  min-width: 650px;
  /* height:75vh; */
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -53%);
  border-radius: 10px;
  z-index: 99999;
}
.trailor-popup-window>iframe{
  border-radius: 10px;
  border: none;
  box-shadow: 2px 3px 6px #888;
}
.popup-window.scatterplot{
  width: 68%;
  /* height:500px; */
  background: #444;
  box-shadow: 2px 3px 6px #000;
  color: white;
  padding: 30px 30px;
  opacity: 1;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-window.peoplePage{
  width: auto;
  min-width: 720px;
  max-width: 80vw;
  background: #444;
  box-shadow: 2px 3px 6px #000;
  color: white;
  padding: 12px 20px;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.pop-window-main-content{
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /* border: 1px solid #222; */
  width: 100%;
  margin: 0px auto;

}
.pop-window-main-content.peoplePage{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* border: 1px solid #aaa; */
  margin: 0px auto;
}

#collab-popup-top-container{
  display: flex;
  flex-direction: row;
  align-items: end;
  /* border: 1px solid #fff; */
  border-bottom: 2px dashed #fff;
  padding-bottom: 10px;
  /* margin-bottom: 10px; */
  /* align-items: stretch; */
  justify-content: space-between;
}
#celebrity-names-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  /* border: 1px solid #fff; */
  width: 90%;
}

.colab-icon{
  margin: 0 10px;
  width: 40px;
}

.colab-icon>img{
  width: 100%;
}

.celebrity-colab-score-container{
  font-size: 1rem;
  font-style: italic;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  box-shadow: 1px 1px 3px #222;
  background: #0d253f;
  width: 30%;
  padding: 10px 0;
  border: 1px solid #fff;
}
.celebrity-colab-score-container>p{
  display: inline-block;
  width: 100%;
  margin: 0;
  /* margin: 0 20px; */
  text-align: center;
}

.celebrity-colab-score-container>p>span{
  color: #90cea1;
  text-decoration: underline;
}

.colab-popup-profile-container{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.colab-celeb-btn{
  /* transition: all 100ms; */
  cursor: pointer;
}

.colab-celeb-btn:hover{
  /* color: #90cea1; */
  color: #01b4e4;
  text-decoration: underline;
}


.colab-popup-profile-container>h2{
  margin: 0;
  font-size: 1.2rem;
}

#collab-popup-down-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  /* justify-content: center; */
  /* border: 1px solid #fff; */
  /* width: 100%; */
  overflow-x: scroll;
  padding-bottom: 5px;
}

#colab-film-conatiner{
  width: 300px;
}

.colab-film-poster{
  border-radius: 5px;
  width: 14vw;
  height: 22vw;
  cursor: pointer;
  border: 4px dashed transparent;
  background-color: #fff;
  margin-top: 10px;
  margin-bottom: 5px;
  position: relative;
}

.colab-film-poster>img{
  width: 100%;
  height: 100%;
}

.colab-film-poster:hover{
  transition: all, 200ms;
  transform: scale(0.95);
  /* border: 4px dashed rgb(252, 83, 83); */
  border: 4px dashed #01b4e4;
}

.colab-film-name{
  width: 100%;
  font-weight: bold;
  text-align: center;
  background-color: #01b4e4;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  padding: 5px 0;
  margin: 0;
  margin: 10px 0 3px;
}

.colab-film-avg-user-score{
  font-size: 1rem;
  font-weight: bold;
  display: inline-block;
  background: #90cea1;
  color: #0d253f;
  border-radius: 5px;
  padding: 4px 0px;
  text-align: center;
  margin: -10px 0 10px;
  width:100%;
}
.colab-film-avg-user-score>span{
  font-size: .8rem;
  font-weight: normal;
}


.colab-film-container{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* align-items:start; */
  margin: 0 10px;
}

.colab-film-container:first-of-type{
  margin-left: 0;
}

.colab-film-container:last-of-type{
  margin-right: 0;
}

.credit-info-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  /* border: 1px solid #fff; */
  border-radius: 5px;
  background: #0d253f;
  width: 100%;
  padding: 5px 0;
  overflow-x: auto;
  margin: 5px 0;
}

.credit-info-container:nth-of-type(even){
  margin-top: 0px;
}
.credit-info-container:nth-of-type(odd){
  margin-bottom: 10px;
}


.profile-pic-rounded{
  display: flex;
  border-radius: 50%;
  /* background-color: #01b4e4; */
  border: 1px solid;
  margin-right: 5px;
  margin-left: 10px;
  background-color: #fff;
}

.profile-pic.people-popup{
  width: 30px;
  height: 30px;
}
.profile-pic.people-popup-movie{
  width: 30px;
  height: 30px;
}

.profile-pic-rounded.popup{
  margin-right: 10px;
}
.profile-pic-rounded.production{
  margin: 0;
  margin-right: 10px;
}


.profile-pic, .profile-pic.production{
  display: inline-block;
  border-radius: 50%; 
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.profile-pic{
  width: 50px;
  height: 50px;
}

.profile-pic.production{
  width: 20px;
  height: 20px;
}

.credit-info{
  font-size: .8rem;
  display: flex;
  flex-direction: row;
  /* align-items: end; */
  justify-content: safe center;
  width: 10vw;
  height: 30px;
  /* border: 1px solid #fff; */
  min-width: 0;
  align-self: center;
  position: relative;
}
.credit-info>div{
  display: flex;
  align-self: safe center;
  width: 100%;
  min-width: 0;
  /* border: 1px solid #fff; */
  white-space: nowrap;
  overflow-x: scroll;
  /* scrollbar-gutter: auto; */
  /* vertical-align: baseline; */
  /* padding-bottom: 0; */
  /* text-overflow: ellipsis */
  padding: 2px;
}

.credit-info>div::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 3px;
  transition: all 150ms;

}

.credit-info>div:hover::-webkit-scrollbar-thumb{
  height: 3px;
  background: transparent;
  cursor: pointer;
}

.credit-info>div:hover::-webkit-scrollbar-thumb{
  background: #fff;

}

.credit-info>div:hover::-webkit-scrollbar-track{
  height: 3px;
  background: #333;
}

.text-highlight{
  font-style: italic;
  font-weight: bold;
  color: #90cea1;
  text-decoration: underline;
}

.pop-window-img-wrapper{
  width: 35%;
  text-align: center;
  min-width: 200px;
  margin-right: 20px;
}
.pop-window-img-wrapper>img{
  width: 100%;
  height: 101%;
  border-radius: 10px;
}
.pop-window-text-wrapper{
  width: 60%;
  margin-left: 5px;
  /* border: 1px solid black; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pop-window-text-wrapper>h1{
  /* border: 1px solid black; */
  /* background: #0d253f; */
  /* border-radius: 5px; */
  padding: 2px 0;
  font-size: 1.5rem;
  line-height: 2.25rem;
  margin: 0;
  border-bottom: 1px solid #fff;
  color: #fff;
  text-decoration: none;
}


.pop-window-text-wrapper>*{
  margin-left: 5px;
}
.pop-window-text{
  display: inline-block;
  margin:0;
  margin-right: 10px;
  /* border: 1px solid #fff; */
  /* margin-bottom: 18px; */
}
.pop-window-text-container.credit{
  display: flex;
  /* border: 1px solid #fff; */
  /* width: 80%; */
  overflow-x: scroll;
  /* padding-bottom: 10px; */
}

.credit-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #333;
  padding: 10px;
  border-radius: 3px;
  margin: 0 10px;
}

.credit-container>*{
  text-align: center;
  font-size: .8rem;
  white-space: nowrap;
}

.pop-window-text-container.credit::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 3px;
  transition: all 150ms;

}

.pop-window-text-container.credit:hover::-webkit-scrollbar-thumb{
  height: 3px;
  background: transparent;
  cursor: pointer;
}

.pop-window-text-container.credit:hover::-webkit-scrollbar-thumb{
  background: #fff;

}

.pop-window-text-container.credit:hover::-webkit-scrollbar-track{
  height: 3px;
  background: #333;
}

.popup-cta-btn-gp{
  width: 100%;
  /* border: 1px solid #fff; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.movie-page-cta-gp{
  position: relative;
  /* border: 1px solid #333; */
  margin: 15px 0 30px;
  width: 100%;
}

.home-page-btn{
  /* white-space: nowrap; */
  color: #0d253f;
  position: absolute;
  width: auto;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  bottom: -65%;
  font-size: 0.8rem;
  transition: color, 100ms;
}
.home-page-btn:hover{
  color: #01b4e4;
}

button.popup-movie-link{
  
  border: 1px solid #fff;
  display: block;
  text-align: center;
  border-radius: 3px;
  padding: 5px;
  margin: 0;
  margin-top: 10px;
  font-family: 'Nunito', 'poppins', sans-serif;
  font-weight: bolder;
  
  cursor: pointer;
  font-size: 1.2rem;
  width: 100%;
  background-color: #01b4e4;
  color: #0d253f;
}

button.popup-movie-link:hover{
  transition: background-color, color, 200ms;
  background-color: #0d253f;
  color: #fff;
}
.popup-highlight{
  font-size: 1.2rem;
  color: #90cea1;
  font-weight: bold;
}
.popup-sub-title{
  font-size: 1rem;
  font-style:italic;
  text-decoration: underline;
  font-weight: bold;
  white-space:nowrap;
}
#celebity-trendy-list>h1{
  padding-left: 30px;
  color: #0d253f;
}
#trendyPerson{
  margin-left: 30px;
  margin-right: 40px;
  padding-bottom: 10px;
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  /* border: 1px solid black; */
}

#photo-container::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 5px;
 /* make scrollbar transparent */
}

#photo-container:hover::-webkit-scrollbar-thumb{
  height: 5px;
  background: #333;
}

#photo-container:hover::-webkit-scrollbar-track{
  /* margin-top: 30px; */
  height: 5px;
  background: #e2e2e2; /* make scrollbar transparent */
}

.tags-container::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 4px;
 /* make scrollbar transparent */
}

.tags-container:hover::-webkit-scrollbar-thumb{
  height: 4px;
  background: #333;
}
.tags-container:hover::-webkit-scrollbar-track{
  height: 4px;
  background: #e2e2e2;
}


#trendyPerson::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 5px;
 /* make scrollbar transparent */
}

#trendyPerson:hover::-webkit-scrollbar-thumb{
  height: 5px;
  background: #333;
}
#trendyPerson:hover::-webkit-scrollbar-track{
  height: 5px;
  background: #e2e2e2;
}

#cast-top-movie-container::-webkit-scrollbar{
  /* margin-top: 30px; */
  height: 5px;
 /* make scrollbar transparent */
}

#cast-top-movie-container::-webkit-scrollbar-thumb{
  height: 8px;
  background: #aaa;
}

#cast-top-movie-container::-webkit-scrollbar-thumb:hover{
  height: 8px;
  background: #333;
}
#cast-top-movie-container::-webkit-scrollbar-track{
  height: 8px;
  background: #e2e2e2;
}

#collab-popup-down-container::-webkit-scrollbar{
  height: 5px;
}

#collab-popup-down-container:hover::-webkit-scrollbar-thumb{
  height: 8px;
  background: #fff;
}
#collab-popup-down-container:hover::-webkit-scrollbar-track{
  height: 8px;
  background: #222;
}

#celebity-trendy-list{
  margin-top: .5%;
  border-radius: 10px;
  box-shadow: 1px 1px 3px #ddd;
  /* padding: 10px 0px; */
  background: #f2f2f2;
  overflow-x: auto;
  /* min-height: 464px; */
  height: 50vh;
}
.main-trendy-poster{
  opacity: .9;
  cursor: pointer;
  /* width: 145px;
  height: 220px; */
  height: 32vh;
  border-radius: 5px;
  /* height: 100%; */
  border: 4px dashed transparent;
}
.main-trendy-poster:hover{
  transition: all, 200ms;
  /* opacity: 1; */
  transform: scale(0.95);
  /* border: 4px dashed rgb(252, 83, 83); */
  border: 4px dashed #01b4e4;
}
.casting-person-container{
  margin-right: 20px;
}
.casting-person-container:last-of-type{
  margin-right: 0px;
}
.casting-person-name{
  text-align: center;
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #0d253f;
  /* width: 150px; */
  overflow-x: auto;
  white-space: nowrap;
  margin: 0 auto;
}
.casting-poster{
  opacity: .9;
  cursor: pointer;
  /* width: 100%; */
  /* width: 15vw; */
  /* max-width: 20vh; */
  height: 24vh;
  min-height: 250px;
  border-radius: 5px;
  /* box-shadow: 2px 2px 4px #888; */
  /* height: 100%; */
  border: 4px dashed transparent;
}
.casting-poster:hover{
  transition: all, 200ms;
  /* opacity: 1; */
  transform: scale(0.95);
  /* border: 4px dashed rgb(252, 83, 83); */
  border: 4px dashed #01b4e4;
  /* box-shadow: 1px 1px 4px #444; */
}

.casting-role-text{
  margin: 0;
  font-style: italic;
  font-size: .8rem;
  color: #333;
  /* overflow-x: auto; */
  /* white-space:nowrap; */
  /* width: 150px; */
  padding-left: 5px;
  line-height: 1rem;
  margin: 0 auto;
  text-align: center;
}
.casting-role-name{
  font-size: 1rem;
  margin-left: 2.5px;
  font-weight: bolder;
  /* text-decoration:underline; */
}

.trendy-person-name{
  text-align: center;
  margin: 0;
  padding-left: 5px;
  /* font-size: 1rem; */
  font-weight: bold;
  color: #0d253f;
}
.trendy-person-container{
  margin-right: 20px;
}
.trendy-person-container:last-of-type{
  margin-right: 0px;
}
svg{
  /* border: 1px solid black; */
  margin: 0 auto;
  /* display: inline-block; */
}

#movie-bar-container{
  /* height: 99%; */
  margin: 0px;
  height: 99%;
  width: 49.6%;
  overflow-x: auto;
  position: relative;
  color: #0d253f;
}
#movie-bar-container>h1{
  margin: 0;
  margin-top: 20px;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
#movie-bar-container>p{
  padding-left: 20px;
  margin: 0px auto 10px;
  font-style: italic;
  text-decoration: underline;
}


#photo-container{
  /* border: 1px solid #111; */
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  overflow-y: hidden;
  align-items: flex-start;
  margin-left: 20px;
  margin-right: 20px;
  padding-bottom: 10px;
  margin-top: 15px;
}

.radar-svg{
  /* border: 1px solid black; */
  display: flex;
  align-items: center;
  margin-top: 50px;
}
.radar-svg>text{
  font-size: .8rem;
}

.network-svg{
  display: flex;
  align-items: center;
  margin-top: 30px;
}
.collaboration-poster{
  width: 100%;
}

.radar-area:hover{
  opacity:.7;
  transition: opacity, 300ms;
}

.container-404{
  height: 78.2vh;
  margin: 0;
  align-items: center !important;
  justify-content: center !important;
}


.statement-404{
  display: inline-block;
  width: 90%;
  line-height: 3rem;
  text-align: center;
}

.searchPreview.no-result{
  display: inline-block;
  /* border: 1px solid black; */
  vertical-align: middle;
  line-height: normal;
  /* height: 50px; */
  color: #0d253f;
  font-size: 1.2rem;
}
.searchPreview>b{
  font-size: 1.2rem;
}

#cta-btn-404{
  font-size: 1.2rem;
  font-weight: bold;
  font-family: 'Nunito', 'poppins', sans-serif;
  background-color: #0d253f;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color, color, 200ms;
  margin: 0 5px 0 0;
}
#cta-btn-404:hover{
  transition: background-color, color, 200ms;
  background-color: #01b4e4;
  color: #0d253f;
}


@media (min-width: 1320px){
  
  .title-text-gp>h1.movie-page-title{
    font-size: 1.4rem;
  }
  #movie-bar-container>h1{
    font-size: 1.4rem;
  }
  #movie-scatterplot-container>h1{
    font-size: 1.4rem;
  }
  #movie-casting-container>h1{
    font-size: 1.4rem;
  }
  .cast-name{
    font-size: 1.4rem;
  }
  #person-radar-chart>h2{
    font-size: 1.4rem;
  }
  #person-network-chart>h2{
    font-size: 1.4rem;
  }
  #person-bar-chart>h2{
    font-size: 1.4rem;
  }
  .preloader>p{
    font-size: 1.4rem;
  }

  .casting-poster{
    height: 25vh;
    min-height: 250px;
  }
}

@media (min-width:1400px){
  
  .title-text-gp>h1.movie-page-title{
    font-size: 1.5rem;
  }
  #movie-bar-container>h1{
    font-size: 1.5rem;
  }
  #movie-scatterplot-container>h1{
    font-size: 1.5rem;
  }
  #movie-casting-container>h1{
    font-size: 1.5rem;
  }
  .cast-name{
    font-size: 1.5rem;
  }
  #person-radar-chart>h2{
    font-size: 1.5rem;
  }
  #person-network-chart>h2{
    font-size: 1.5rem;
  }
  #person-bar-chart>h2{
    font-size: 1.5rem;
  }
  .preloader>p{
    font-size: 1.5rem;
  }
}

@media (min-width:1400px) and (max-height: 800px){

  .radar-svg{
    margin-top: 60px;
    margin-left: 25px;
  }
  .network-svg{
    margin-top: 30px;
  }
}

@media (min-width:1500px){

  #radar-filter-group{
    top:14%;
  }
  .radar-svg{
    margin-top: 68px;
  }
  .network-svg{
     margin-top: 40px;
  }
  .person-bottom-viz{
    width: 100%;
    height: 55%;
    /* margin-top: 1%; */
  }
  .casting-poster{
    min-height: 280px;
  }
}



@media (min-width:1780px){

  .profile-pic-rounded.popup{
    margin-right: 10px;
  }
  .profile-pic{
    width: 60px;
    height: 60px;
  }
  .celebrity-colab-score-container{
    font-size: 1rem;
  }
  #person-profile-section{
    width: 22%;
  }
  #person-viz-section{
    width: 77%;
  }
}

@media (min-width:1920px) {
  /* Main page Styling */
  #index-main{
    height: 120vh;
  }
  #trendy-scatterplot{
    height: 99%;
  }
  #trendy-scatterplot>h1 {
    padding-left:35px;
    font-size: 2rem;
    text-align: left;
  }
  
  #celebity-trendy-list{
    margin-top: 0.5VH;
    height: 39vh
  }
  #barchart-filter-container{
    margin-bottom: 10px;
  }
  #trendy-barchart{
    height: 99%;
  }
  #up-section{
    height: 100vh;
  }
  #down-section{
    height: 50vh;
  }
  #trendyPerson{
    /* border: 1px solid black; */
    height: 30vh;
    align-items:flex-start;
  }
  .main-trendy-poster{
    height: 25vh;
  }
  
  .trendy-scatterplot-hover-poster{
    margin-right: 1.9%;
    margin-bottom: 1%;
    -webkit-filter: blur(5px); /* Safari 6.0 - 9.0 */
    filter: blur(5px);
  }

  .trendy-person-name{
    font-size: 1.2rem;
  }
  /* .main-trendy-poster {
    width: 200px;
    height: auto;
  } */
  .pop-window-text{
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 0;
    margin-bottom: 0px;
  }
  .popup-sub-title{
    font-size: 1.5rem;
  }
  .popup-highlight{
    font-size: 1.5rem;
    margin-left: 10px;
  }
  .pop-window-text-wrapper>h1 {
    font-size: 2rem;
    line-height: 2.2rem;
    margin: 0;
    margin-bottom: 20px;
  }
  .pop-window-text>.movie-genre.tooltip-text {
    margin-left: 10px;
    font-size: 1.5rem;
    /* padding: 6px 12px; */
    background: #222;
  }

  /* Movie Page Styling */
  #movie-viz-section{
    /* height: 107vh; */
    width: 80%;
    margin-left: .5%;
  }
  #movie-scatterplot-container{
    width: 49.75%;
  }
  #movie-barchart-container{
    width: 49.75%;
  }

  #trendy-barchart>h1{
    font-size: 2rem;
  }

  .cast-name{
    font-size: 2rem;
    font-weight: 600;
    /* margin: 5px 0 20px 0; */
  }
  .cast-sub-line{
    font-size: 1.2rem;
    margin: 5px 0 15px 0;
    color: #444;
  }

  .cast-info-title{
    font-weight: 600;
    font-size: 1.5rem;
    margin: 5px 0 0px 0;
  }
  .cast-info{
    font-size: 1.2rem;
    color: #0d253f;
    font-weight: lighter;
    /* color: #444; */
    margin: 0px 0 30px 0;
  }
  .cast-info.top-movie{
    font-size: 1rem;
    margin-top: 10px;
    font-style: italic;
  }
  .top-cast-movie-score{
    font-size: 1rem;
  }
  .cast-info.top-film{
    font-size: 1rem;
    margin-top: 5px;
    font-style: italic;
  }
  .strength-text.profile{
    font-size: 1.2rem;
    font-style: normal;
  }
  .cast-info.highlight{
    font-size: 1.5rem;
    font-weight: bolder;
    font-style: italic;
  }
  #poster-profile-page {
    display: block;
    width: 100%;
    /* max-height: 60%; */
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .popup-window.scatterplot{
    width: 65%;
  }
  /* #person-viz-section{
    height: 145vh;
  } */
  .radar-svg{
    margin-top: 100px;
    margin-left: -30px;
  }
  .network-svg{
    margin-top: 70px;
  }
  .filter{
    margin-left: 35px;
  }
  #movie-scatterplot-container>h1 {
    margin-left: 40px;
  }
  .filter.movie {
    margin-left: 40px;
    align-items: center;
  }
  .swot-legend.movie{
    margin-left: 40px;
  }
  .filter.movie>p {
    margin: 0;
    margin-left: 0px;
  }
  #poster{
    display: block;
    /* width: 250px; */
    width: 100%;
    /* max-height: 60%; */
    border-radius: 5px;
    margin-top: 10px;
  }
  #movie-profile-section{
    width:20vw;
    padding-top:1%;
    padding-bottom: 0.5%;
    height: auto;
  }
  
  #person-viz-section{
    width: 78.5vw;
  }

  #person-radar-chart,  #person-network-chart{
    width: 49.5%;
  }
  #person-bar-chart{
    width: 100%;
  }
  #photo-container{
    margin-top: 1.5%;
  }
  .movie.filter>.time_scatterplot_filter {
    margin-top: -1px;
    margin-left: 20px;
  }
  .movie.filter>.time_scatterplot_filter {
    margin-left: 20px;
  }
  .colab-popup-profile-container>h2{
    font-size: 1.5rem;
  }
  .colab-film-name, .colab-film-avg-user-score, .credit-info{
    font-size: 1.2rem;
  }
  .credit-info{
    width: 12vw;
  }
  .colab-film-avg-user-score>span, .movie-popup-genre-container.person-pop-up>.genre-container>span, .person-pop-up-side-note{
    font-size: 1rem;
  }

  .movie-popup-genre-container{
    margin-left: 10px;
  }

  .movie-popup-genre-container.person-pop-up{
    margin-left: 0;
  }

  .movie-genre.tooltip-text, .production.tooltip-text{
    font-size: 1.2rem;
    padding: 4px 8px;
  }

  .tags-container>div>.movie-genre.tooltip-text{
    font-size: 1rem;
  }

  button.popup-movie-link{
    padding: 8px 4px;
    font-size: 1.5rem;
  }

  .title-text-gp>h1.movie-page-title{
    font-size: 2rem;
  }
  #movie-bar-container>h1{
    font-size: 2rem;
  }
  #movie-scatterplot-container>h1{
    font-size: 2rem;
  }
  #movie-casting-container>h1{
    font-size: 2rem;
  }
  .cast-name{
    font-size: 2rem;
  }
  #person-radar-chart>h2{
    font-size: 2rem;
  }
  #person-network-chart>h2{
    font-size: 2rem;
  }
  #person-bar-chart>h2{
    font-size: 2rem;
  }
  .credit-container>*{
    font-size: 1rem;
  }
  .celebrity-colab-score-container{
    font-size: 1.2rem;
  }
  #radar-filter-group{
    top:12%;
  }
  .person-upper-viz{
    height: 60%;
  }
  .person-bottom-viz{
    width: 100%;
    /* height: 55%; */
    margin-top: 1%;
  }
  #benchmark-text{
    font-size: 2rem;
  }
  .filter.person-page{
    font-size: 1.2rem;
  }
  .person-chart-sub-text{
    font-size: 1.2rem;
  }
  .person-chart-sub-text.side-note, .side-note{
    font-size: 1rem;
  }
  .home-page-btn{
    font-size: 1rem;
  }
  .trailor-button{
    font-size: 1.5rem;
  }
  .general-data{
    font-size: 1.2rem;
    margin: 0px
  }
  .movie-page-vote-text{
    font-size: 1rem;
  }
  .casting-poster{
    min-height: 250px;
  }
}

@media (min-width:2200px) {

  .popup-window.scatterplot{
    width: 55%;
  }

  #person-profile-section{
    width: 20%;
  }
  .radar-svg{
    margin-top: 50px;
  }
  .network-svg{
    margin-top: 20px;
  }
  #photo-container{
    margin-top: 1%;
  }
}
