body {
    font-family: helvetica serif;
       
    background-color: black;    
    color: #ffff;
    margin: 0;    
}

:root {    
    --color-main:#d5a643;
    
}

header h1 {
    text-align: center;
    margin-bottom: 4rem;
    margin-top:8rem;
}
.container h1 {
    text-align: center;
}
.container h1 a {
    color: white;
    text-decoration: none;
    border-radius:15px;
    border:solid 1px white;
    padding:15px 35px;
    display:inline-block;
    font-size:1.5rem
     
}
.container h1 a:hover {
    text-decoration: underline;
}
.container h1 a:visited {
    color: #e6e6e6;
}




.flex-parent {
    display:flex;
}
.flex-child {
    flex:1 1 auto;
}
.flex-none {
    flex:none;
}
.flex-wrap {
    flex-wrap:wrap;
}


.form-page {
    width: 500px;
    margin: 0 auto;
}
#image_form label,
#movie_form label, 
#people_form label,
#roles_form label,
#loginForm label,
#signupForm label{
    width: 9rem;
    display: inline-block;
    vertical-align: top;
    
}
.roles-table {
    width: 25%;
}


.control-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom:3rem;
    border-bottom:solid 1.5px var(--color-main);   
}
.control-buttons p {
    margin: 1rem;
    text-align: center;
}

.movieList-text p {
    text-align: left;
    margin-left: 15%;    
    font-size:0.9rem;
    color:gray;
    line-height:0.5rem
    
}

#movieTitle{
    font-size: 1.1rem; 
    line-height:1.5rem;
    color:white 

}
.movieList-image {
    margin-right: 15%;
    margin-left: 15%;
    width: 236px;
    height: 354px;
}
.control-buttons p a {
    color: white;
    font-weight: normal;
    padding: 3px;
    vertical-align: top;
}
.control-buttons p a:hover {    
    opacity:0.8
}




section#movie-list {
    margin-top: 15px
}
.movieList-item {
    flex-grow:0;
    flex-basis: 20%;
    margin: 12px auto;
}
.upload-image {
    width: 150px;
  
    
}
.upload-image img {
    max-width: 100%;
}
.movieList-image {
    
}
.movieList-image img {
    max-width: 100%;
    object-fit: cover;
}
.movieList-text {
}
.movieList-button {
    margin-left: 15%;
    margin-bottom: 15%;
}
.detail img {
    width: 100%;
}
.detail {
    width: 45%;
    margin: auto 5% 5%;
    float: left;
}
.detail p{
    text-align: left;
    margin-left: 5px;
    font-size: 0.95rem;
    color: gray;
    
}

.detailRight{
    float: left;
    width: 25%;
    margin: 5% auto auto 15%;
}
.action-buttons {
    justify-content: space-between;
}

.roles-list{
    margin: 25px auto;
}


.person a{
    color: gray
}

.delete-role a{
    color:var(--color-main)
}

.form-select{
    background:#ffffff;  
    height:28px;  
    width:180px;  
    line-height:28px;  
    border:1px solid #ffffff;  
    -moz-border-radius:2px;  
    -webkit-border-radius:2px;  
    border-radius:3px; 
    margin: 9px auto ;    
   
   
}

.form-select option{
    background-color: #e6e6e6;
    font-size:0.9rem;
    
   
    
}



a.btn {
    display:inline-block;
    padding: 5px 15px;
    background-color: #e6e6e6;
    text-decoration: none;
    color: black;
    background: linear-gradient(0deg,#B98008,#AC7C17 50%,#FAFAFA); 
    text-align:center;
    width:90px;
    border-radius:50px;
}
a.btn:hover {
    background-color: #999;
    text-decoration: underline;
}
select.flex-none {
    margin-right: 20px;
}


.personList-item{
  
 flex-grow:0;
 flex-basis: 20%;
 margin: 25px 25px 25px 25px;
 text-align: center;
 

}


.personList-image {
margin: 25px 25px 25px 50px;
  width: 235px;
  height:235px;
    
}
.personList-image img {
    width: 190px;
    height:190px;
    border-radius:50%;
}




/* modal style */

a.js-add-participant {
    text-decoration: none;
    font-size: 20px;
    border: 1px solid;
    color: #057505;
    border-radius: 50%;
    line-height: 2;
    padding: 1px 6px 3px;
}
.modal {
    position: fixed;
    height: 100%;
    width:100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transition: all 0.3s;
  }
  .modal.active {
    opacity: 1;
  }
  .modal-back {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0; 
    background-color: rgba(0,0,0,0.8);
  }
  .modal-content {
    position: absolute;
    top: 45%; 
    left: 50%;
    transform: translate(-50%,calc(-50% + 2em));
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    background-color: #313131eb;    
    transition: all 0.3s;
    width: 50%;
    height: auto;
    border-radius: 3px;
    padding: .5rem;
    font-size: 1rem;
  }
  .active .modal-content {
    transform:translate(-50%,-50%);
  }
  .active .modal-back,
  .active .modal-content {
    pointer-events: initial;
  }
  .modal-title {
    text-align: center;
    font-weight: 700;
    margin: .5rem 0;
    font-size: 120%;
}

.form-control{
  margin:15px
}

.form-control textarea{
    font-family: helvetica serif;
    width: 65%;
    box-sizing: border-box; 
    height:90px;
    border-radius:3px;
    border:none;
    padding:5px
}
.form-control input,
.form-control select {
      width: 65%;
      box-sizing: border-box;
      border-radius:3px;
      border:none;
      padding:5px;
     
}

.modal-body input[type="submit"], 
.modal-content button{
    font-size: 100%;
    display: inline-block;
    float: left;
    border:none;
    margin: 15px 0 0 17%;
    color: black;
    text-align:center;
    width: 130px;
    border-radius:50px;
    padding: 5px 15px;
    background: linear-gradient(0deg,#B98008,#AC7C17 50%,#FAFAFA);
    box-sizing: border-box
}


.modal-body input[type="file"]{    
    background-color: var(--color-main);
}

.modal-content button.js-addrole {
    float: none;
    margin-left: 0;
}

footer{
    clear:both;
    text-align: center;
    font-size: 0.8rem;
    margin: 4rem auto 2rem;

}
.footerbox{
    position: absolute;bottom:-15px;left:50%;transform:translate(-50%,0%);
}



/* login signup style */

.login-box{
	/* background-color: var(--color-main); */	
	background:linear-gradient(to top,#cecece,#888681 40%,var(--color-main));
}

.loginButton input[type='submit']{
	width: 45%;
	clear: both;
	margin-left: 50%;
	padding: 6px;
	transform:translate(-50%,0%);
    color: white;
}
.signup-link{
	clear: both;
	font-size: 0.8rem;	
	margin: 5% auto auto 36%;	
}

.signup-link a{
	color:var(--color-main);
	font-size: 1.1rem;
	font-weight: bold
}
