html,
body {
    margin: 0;
    font-family: "proxima-nova", sans-serif;
    background-color: #2e3035;
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    box-shadow: none;
    border: none;
}

:root {
    --default-color: #4766bd;
    --dark-grey: #32353b; /* has a bit of blue in it */
    --dark-grey-2: #36383a;
    --grey: #3e434a; /* has a bit of blue in it */
    --light-grey: #b5b5b5;
    --button-active: #4766bd;
    --pop-color: #ffc000;
    --pop-color-hover: #c39300;
    --brick-red: #b71c1c;
}

button {
    cursor: pointer;
}

.breakdown-submit-button {
    background-color: var(--default-color);
    height: 30px;
}

/* Job Data layout */
.job-data-container {
    padding: 15px 10px;
}

.job-data-row {
    display: grid;
    grid-template-columns: 30px 200px 1fr;
    grid-column-gap: 10px;
    min-height: 22px;
    font-weight: 400;
}

.job-data-row + .job-data-row {
    margin-top: 18px;
}

.job-data-row .job-delete-button {
    text-align: center;
    align-self: top;
    cursor: pointer;
}

.job-data-row .job-data-key {
    text-align: left;
    align-self: top;
}

.job-data-row .job-data-value {
    text-align: left;
    align-self: top;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input#searchbar:focus {
    outline: none;
    background-color: var(--dark-grey);
}

input:checked + .slider {
    background-color: var(--pop-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--button-active);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

h1,
h2,
h3,
p,
a {
    color: black;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

button,
input {
    border-radius: 2px;
}

.container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.img-responsive {
    max-width: 100%;
    max-height: 100%;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: all 0.1s linear;
}
.btn:focus {
    outline: none;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

nav {
    background-color: #202225;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    padding: 1em 15px;
}

.ham-icon,
.search-icon {
    display: none;
    align-self: center;
}

.ham-icon i,
.search-icon i {
    font-size: 1.5em;
    color: white;
}

.nav-logo {
    align-self: center;
    height: 50px;
}

.nav-logo img {
    align-self: center;
}

.nav-searchbox {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-self: center;
    min-width: 300px;
    width: 100%;
    max-width: 700px;
}

.searchbox {
    padding: 0.5em 1em;
    display: block;
    width: 100%;
    border: none;
    background-color: #36383a;
    color: white;
}

.search-button {
    display: flex;
    margin: auto;
    text-align: center;
}

.search-button i {
    align-self: center;
    margin: auto;
    margin-right: 0.5em;
}

.btn-blue {
    border: 1px solid var(--default-color);
    background-color: var(--default-color);
    color: white;
}

.btn-disabled {
    opacity: 40%;
}

.btn-default {
    border: none;
    background-color: var(--default-color);
    color: white;
    padding: 0.75em 1em;
    font-weight: bold;
}

.dotted-vertical {
    display: block;
    height: 40px;
    width: 1px;
    background-color: none;
    border-right: 3px dotted white;
    margin: auto 15px;
}

.profile-section {
    display: flex;
    justify-content: space-around;
    padding: 5px 0px;
}

.profile-img {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #4866bd;
    color: white;
    border-radius: 50%;
    margin: auto 15px;
    margin: auto 0 auto 15px;
}

.profile-img i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.upgrade-button {
    font-size: 14px;
    padding: 0.5em 1em;
    text-align: center;
    margin: auto 15px;
}

#mobile-searchbar {
    background-color: #3c424d;
}

.filters-item.mobile {
    display: none;
}

@media (max-width: 768px) {
    .profile-section {
        display: none;
    }

    .nav-searchbox {
        display: none;
    }

    .ham-icon,
    .search-icon {
        display: flex;
    }

    .filters-item.mobile {
        display: block;
    }
}

.filters {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--grey);
    padding: 20px 15px;
    flex-wrap: wrap;
}

.filters-item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-weight: bold;
    margin: auto 0;
    padding-bottom: 1.5em;
}

.filter-title {
    font-size: 16px;
    margin-bottom: 1em;
    color: white;
}

.filter-options {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.filter-options button {
    border-radius: 2px;
    display: flex;
    padding: 1em 2em;
    background-color: #3c414d;
    margin: auto 0;
    margin-left: 0;
    color: white;
    font-size: 10px;
    letter-spacing: 2px;
}

.filter-options button.active {
    background: var(--pop-color);
    color: black;
}

.filter-options button:hover {
    background: var(--pop-color-hover);
}

.track-alerts {
    margin: 0;
    margin-top: auto;
    display: flex;
    padding-bottom: 1.5em;
}

.track-alerts i {
    align-self: center;
    color: white;
    font-size: 22px;
    margin-right: 1em;
}

.track-alerts-title {
    font-size: 16px;
    color: white;
    margin: auto 1em;
    align-self: center;
}

.mobile-filter {
    background-color: #393c43;
    padding: 1.25em 0;
    display: none;
}

.mobile-filter .container {
    display: flex;
    justify-content: start;
    font-size: 14px;
}

.show-filter {
    color: white;
    margin-left: 0.5em;
    font-size: 18px;
}

.fa-filter {
    font-size: 24px;
    color: white;
    margin: auto;
}

@media (max-width: 768px) {
    .filters {
        display: none;
        flex-wrap: wrap;
    }

    .track-alerts {
        width: 100%;
        justify-content: space-between;
    }

    .filters-item {
        margin: 1em 0;
        width: 100%;
    }

    .filter-options {
        justify-content: unset;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        width: 100%;
    }

    .filter-options a {
        width: 100%;
        justify-content: center;
        padding: 15px 10px;
    }

    .mobile-filter {
        display: flex;
    }

    .mobile-filter .container {
        margin: 0;
    }
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.series-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
    margin-top: 40px;
    padding: 0 15px;
}

.series-item {
    position: relative;
    overflow: hidden;
    display: flex;
    background-color: #1f1f1f;
    max-width: 300px;
    height: 400px;
    margin: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.series-item:hover {
    box-shadow: rgb(72 102 189 / 25%) 0px 0px 15px 5px,
        rgb(0 0 0 / 30%) 0px 3px 7px -3px, inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

.series-item .bg {
    position: absolute;
    top: 40%;
    left: -35%;
    bottom: 0;
    width: 170%;
    line-height: 89px;
    text-align: center;
    color: white;
    overflow-wrap: break-word;
    font-size: 100;
    transform: translate(-0%, -50%);
    font-weight: bold;
    color: transparent;
    text-shadow: 0 0 15px rgb(88 131 158 / 50%);
}

.series-item:hover .bg {
    font-size: 105px;
    width: 180%;
    transition: all 0.4s ease;
    left: -40%;
}

.selected {
    border: 2px solid #354c86;
}

.series-text-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: auto;
    padding: 20px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.series-title {
    font-size: 20px;
    line-height: 1.5;
    color: white;
    border-bottom: 1px solid var(--light-grey);

    height: 70px;
    padding: 0 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coordinator {
    margin: 15px 0 5px;
    color: white;
}

.cord-name {
    min-height: 20px;
    color: white;
    font-weight: bold;
}

@media (max-width: 768px) {
    .series-container {
        grid-template-columns: 1fr 1fr;
    }

    .series-item {
        max-height: 350px;
    }

    .series-title {
        font-size: 14px;
    }

    .coordinator {
        margin: 10px 0;
        font-size: 12px;
        color: white;
    }

    .cord-name {
        color: white;
        font-weight: bold;
        font-size: 14px;
    }
}

/*POPUP*/

/* .popup{
    margin: auto;
} */
.popup-container {
    padding: 20px 0;
    border-radius: 2px;
    max-height: 550px;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.header-titles {
    display: flex;
    flex-direction: column;
}

.dot {
    display: block;
    width: 2px;
    height: 2px;
    background-color: white;

    margin: auto;
    margin-left: 15px;
    margin-right: 15px;
}

.header-sub-titles {
    display: flex;
    color: white;
    margin-top: 1em;
}

.popup-title {
    color: white;
}

.genre,
.type {
    color: white;
}

.imdb {
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
}

.imdb a {
    background-color: white;
    padding: 0.25em 0.75em;
    font-size: 16px;
}

.update {
    color: white;
    font-size: 14px;
}

.main-content {
    margin-top: 2em;
}

.main-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--grey);
}

.main-header a {
    display: flex;
    color: white;
    margin: 0;
    width: 100%;
    justify-content: center;
    padding: 20px 10px;
    font-weight: bold;
}

.main-header .active {
    border-bottom: 4px solid var(--button-active);
}

.main-header a:hover {
    border-bottom: 4px solid var(--button-active);
}

.content-block-1 {
    margin-top: 40px;
    border-bottom: 1px solid var(--grey);
}

.content-info {
    color: white;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 10px 0;
}

.info-title {
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.info-subtitle {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.info-subtitle p {
    font-size: 14px;
    color: white;
}

.info-images {
    display: flex;
}

.info-images .info-img-bg {
    width: 50px;
    height: 80px;
    margin: 0 5px;
    background: url("./assets/logo.png");
    border: none;
    outline: none;
    text-decoration: none;
    background-position: center;
    background-size: contain;
}

.button-container {
    display: flex;
    margin-top: 4em;
    justify-content: center;
}

.submit-button {
    border: none;
    display: flex;
    margin: none;
    width: 100%;
    text-align: center;
    margin: auto;
    justify-content: center;
    padding: 1em;
    background-color: var(--button-active);
    font-size: 16px;
    font-weight: bold;
    color: white;
}

button:disabled,
button[disabled] {
    cursor: not-allowed;
}

.overlay {
    position: fixed;
    display: none;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100vh;
}

.popup {
    position: absolute;
    display: none;
    background-color: var(--dark-grey);
    z-index: 99;
    width: 95%;
    height: 85%;
    max-width: 700px;
    max-height: 780px;
    box-shadow: 0px 0px 5px black;
    margin: auto;

    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    /* IE 9 */
    -webkit-transform: translate(-50%, -50%);
    /* Safari iOS */
    transform: translate(-50%, -50%);
    /* Rest of browsers */
}

.popup iframe {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
}

.cross {
    position: absolute;
    font-size: 18px;
    z-index: 99;
    right: 0;
    padding: 1em;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

footer {
    margin-top: 2em;
    padding: 2em 0;
    text-align: center;
    border-top: 2px solid #3c414d;
}

.footer-title {
    font-size: 14px;
    color: white;
}

@media (max-width: 768px) {
    .main-header a {
        width: unset;
    }
}

.admin-header {
    display: block;
    padding: 2em 15px;
    /* margin-top: 25px; */
    color: white;
    text-align: center;
}

.admin-header h2 {
    color: white;
    text-align: center;
}

.tab-container {
    display: grid;
    padding: 20px 20px;
    color: white;
    grid-template-columns: 130px 1fr;
    max-width: 850px;
    margin: auto;
}

.btn-small {
    font-size: 12px;
    padding: 4px 8px;
}

.tab-container h2,
.tab-container h3 {
    color: white;
}

:is(.profile-info-block, .membership-info-block)
    + :is(.profile-info-block, .membership-info-block) {
    margin-top: 30px;
}

:is(.profile-info-block, .membership-info-block) .label-text {
    font-size: 20px;
    color: white;
    font-weight: 400;
    text-decoration: underline;
}

:is(.profile-info-block, .membership-info-block) .display-text {
    font-size: 16px;
    color: white;
}

:is(.profile-info-block, .membership-info-block) .sub-text {
    font-size: 12px;
    color: white;
}

:is(#cancel-membership, #renew-membership) {
    margin-top: 20px;
    color: var(--default-color);
    text-decoration: underline;
    cursor: pointer;
}
:is(#cancel-membership, #renew-membership):hover {
    color: white;
}

.tab-options {
    display: grid;
    grid-template-rows: repeat(8, 20px) 1fr;
    padding-right: 15px;
    text-align: right;
    grid-row-gap: 40px;
    border-right: 1px solid var(--light-grey);
}

.tab-options .options {
    cursor: pointer;
}

.tab-options .active {
    cursor: default;
    color: var(--button-active);
}

.tab-display {
    padding-left: 7px;
}

.tab-display input {
    padding-left: 8px;
}

.tab-display .view {
    color: white;
    padding: 0px 15px;
}

.view .display-row {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 10px;
    grid-column-gap: 20px;
    margin-top: 20px;
}

.view.hidden {
    display: none;
}

select.tab-styling,
input.tab-styling {
    display: block;
    min-width: 225px;
    height: 30px;
    border-radius: 4px;
}

@media (min-width: 850px) {
    .view .display-row {
        grid-template-columns: 1fr 1fr;
    }
    select.tab-styling,
    input.tab-styling {
        width: 310px;
    }
    .tab-display {
        padding-left: 15px;
    }
}

.select2-movie-row {
    min-height: 35px;
}
.select2-movie-row .movie-name {
    font-family: "Helvetica";
}
.select2-movie-row .movie-coordinator {
    font-size: 14px;
    color: rgb(95, 95, 95);
}
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable
    .select2-movie-row
    .movie-coordinator {
    color: rgb(214, 214, 214);
}

.modal {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.modal-dialog {
    display: grid;
    grid-template-areas: "header" "body" "footer";
    max-width: 500px;
    min-width: 300px;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    border-radius: 5px;
    color: #dcdcdc;
    background-color: #2d3135;
}

.modal-dialog > * {
    padding: 15px;
}

.modal .modal-header {
    font-weight: bold;
    font-size: 22px;
    grid-area: header;
    border-bottom: 1px solid #141517;
}

.modal .modal-body {
    font-size: 16px;
    grid-area: body;
    overflow: scroll;
    min-height: 50px;
}

.modal .modal-footer {
    font-size: 16px;
    grid-area: footer;
}

.modal .modal-footer.right {
    text-align: right;
}

.modal .overlay {
    display: block;
}

@media (min-width: 501px) {
    .tips-mobile > .typeform-share.button {
        display: none !important;
    }
}

@media (max-width: 500px) {
    .tips-desktop {
        display: none;
    }
}
