* { box-sizing: border-box; }

body {
    font-family:  'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: white;
}

/* ---- button ---- */

.button {
    display: inline-block;
    padding: 0.5em 1.0em;
    background: #EEE;
    border: none;
    border-radius: 0.2em;
    background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
    color: #black;
    /* font-family: sans-serif; */
    font-size: 12px;
    /* text-shadow: 0 1px white; */
    cursor: pointer;
}

.button:hover {
    background-color: #F2DB83;
    /* text-shadow: 0 1px hsla(0, 0%, 100%, 0.5); */
    color: #222;
}

.topbutton:hover {
    background-color: #F2DB83;
    /* text-shadow: 0 1px hsla(0, 0%, 100%, 0.5); */
    color: #222;
}

.button:active,
.button.is-checked {
    background-color: #26a69a;
    color: white;
    /* background-color: #DBA506; */
}

.button.is-checked {
    background-color: #19F;
    /* background-color: #DBA506; */
}

.button.is-checked.all-checked {
    background-color: #e3c525;
    /* background-color: #fdc600; */
    /* color: black; */
    /* text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8); */
}

.topbutton.is-checked.all-checked {
    background-color: #77aadd;
}

.button:active {
    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group:after {
    content: '';
    display: block;
    clear: both;
}

.button-group .button {
    float: left;
    border-radius: 0;
    margin-left: 0;
    margin-right: 1px;
    margin-top: 0px;
}

.button-group .button:first-child { border-radius: 0.2em 0 0 0.2em; }
.button-group .button:last-child { border-radius: 0 0.2em 0.2em 0; }

/* ---- isotope ---- */

.grid {
    /* background: #EEE; */
    /* max-width: 1200px; */
    margin-top: 5px;
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ui group */

.ui-group {
    display: inline-block;
    margin-right: 10px;
    text-align: center;
}

.ui-group h3 {
    color: black;
    display: block;
    margin: 0.2em;
    font-size: 14px;
}

.ui-group .button-group {
    display: inline-block;
    /* margin-right: 20px; */
}

/* color-shape */

.posters {
    width: 179px;
    height: 265px;
    margin: 3px;
    float: left;
}

/* @media (max-width: 600px) {
    .posters {
        width: 179px;
        height: 265px;
        margin: 3px;
        float: left;
    }  
} */

.poster-rating {
    position: relative;
    top: -263px;
    left: 10px;
}

.view-hide {
    position: relative;
    top: -263px;
    left: 100px;
}

/* @media (max-width: 600px) {
    .poster-rating {
        position: relative;
        top: -175px;
        left: 10px;
    }

    .view-hide {
        position: relative;
        top: -175px;
        left: 40px;
    }
} */

.main-container {
    width: 90%;
    margin: 10px auto;
}

@media (max-width: 600px) {
    .main-container {
        width: 100%;
    }
}

.reset {
    vertical-align: top;
    display: inline-block;
    margin-top: 0px;
}

.reset-button, .reset-button:focus {
    background-color: red;
    color: white;
    border-radius: 0.2em;
    background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
    font-size: 12px;
    border: none;
    height: 27px;
}

.reset-button:hover {
    background-color: peachpuff;
    text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
    /* color: #222; */
}

.link-home {
    color: lightcyan;
    /* text-decoration: underline; */
    font-weight: bold;
}

/*
##     ##  #######  ########     ###    ##       
###   ### ##     ## ##     ##   ## ##   ##       
#### #### ##     ## ##     ##  ##   ##  ##       
## ### ## ##     ## ##     ## ##     ## ##       
##     ## ##     ## ##     ## ######### ##       
##     ## ##     ## ##     ## ##     ## ##       
##     ##  #######  ########  ##     ## ######## 
*/

/* The Modal (background) */
.myModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    max-height: 100%;
}

/* Modal Content */
    .modal-content {
    background-color: #dddddd;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
}

.grid-container {
    display: grid;
    /* grid-template-columns: 1fr; */
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 1fr;
    /* grid-template-areas: "image-div details-div"; */
}

.image-div { 
    /* grid-area: image-div;  */
    padding: 5px;
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    .image-div { 
        width: 100px;
    }
}
.details-div { 
    /* grid-area: details-div;  */
    padding: 5px;
}

.poster-info {
    width: 206px;
    height: 305px;
}

/* @media (max-width: 800px) {
    .poster-info {
        width: 200px;
        height: 296px;
    }
} */

/* @media (max-width: 600px) {
    .poster-info {
        width: 100px;
        height: 148px;
    }
} */

/* 
 ######  ##      ## #### ########  ######  ##     ## 
##    ## ##  ##  ##  ##     ##    ##    ## ##     ## 
##       ##  ##  ##  ##     ##    ##       ##     ## 
 ######  ##  ##  ##  ##     ##    ##       ######### 
      ## ##  ##  ##  ##     ##    ##       ##     ## 
##    ## ##  ##  ##  ##     ##    ##    ## ##     ## 
 ######   ###  ###  ####    ##     ######  ##     ## 
*/
.switch {
    display: inline-block;
    position: relative;
    margin: 10px 0 0px;
    font-size: 16px;
    line-height: 24px;
  }
  .switch__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 20px;
    opacity: 0;
    z-index: 0;
  }
  .switch__label {
    display: block;
    padding: 0 0 0 44px;
    cursor: pointer;
  }
  .switch__label:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 36px;
    height: 14px;
    background-color: rgba(0, 0, 0, 0.26);
    border-radius: 14px;
    z-index: 1;
    -webkit-transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .switch__label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    z-index: 2;
    -webkit-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition-property: left, background-color;
    transition-property: left, background-color;
  }
  .switch__input:checked + .switch__label:before {
    background-color: rgba(63, 81, 181, 0.5);
  }
  .switch__input:checked + .switch__label:after {
    left: 16px;
    background-color: #3f51b5;
  }

/*
##     ## ####  ######   ######  
###   ###  ##  ##    ## ##    ## 
#### ####  ##  ##       ##       
## ### ##  ##   ######  ##       
##     ##  ##        ## ##       
##     ##  ##  ##    ## ##    ## 
##     ## ####  ######   ######  
*/

h4 {
    text-align: left;
    font-weight: bold;
    font-size: .9rem;
}

#movieDetails h3 {
    font-weight: bold;
    font-size: 2rem;
    margin: 0 0 -3px;
}

.year {
    font-weight: normal;
    font-size: 0.7em;
}

.spanish-title {
    color: #333;
    /* font-size: 14px; */
    margin-top: 5px;
    margin-bottom: 5px;
    font-style: italic;
}

.light-text {
    color: #333;
    /* font-size: 14px; */
    margin-bottom: 5px;
}

hr {
    margin-top: 1em;
    margin-bottom: 1em;
    border-color: #999;
    border-width: 0.5px;
}

.small-text {
    font-size: 12px;
}

.edited {
    background-color: #ce323a;
    color: white;
    /* font-weight: bolder; */
    padding: 5px;
    margin-right: 5px;
}

.not-edited {
    background-color: #90b122;
    color: black;
    /* font-weight: bolder; */
    padding: 5px;
    margin-right: 5px;
}

.open-external {
    width: 1.2em;
    height: 1.2em;
    margin-left: 5px;
    align-self: ;
}

.imdb {
    /* color: black; */
    /* margin-top: 10px; */
    font-weight: bold;
}

.synopsis {
    margin-top: 10px;
}

.commentary {
    margin-top: 10px;
    color: #333;
    font-size: 15px;
}

.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* width: 50%; */
}

.hide {
    display: none
}

.logo {
    height: 120px; 
    margin-top: 10px; 
    margin-bottom: 10px; 
    margin-left: 30px; 
}

@media (max-width: 600px) {
    .logo {
        height: 90px; 
        margin-top: 10px; 
        margin-bottom: 10px; 
        margin-left: 10px; 
    }
}

.my-nav-bar {
    height: 130px;
    line-height: 50px;
}

@media (max-width: 600px) {
    .my-nav-bar {
        height: 110px;
        line-height: 50px;
    }
}