:root {
    --primary-color: #FF7300;
    --primary-color-light: #ffa441;
    --primary-color-slight: rgba(255, 115, 0, 0.1);
    --primary-color-dark: #c44300;
    --text-color-primary: #3c4b64;
    --text-color-general: #212121;
    --color-light-grey: #495057;
    --color-slight-grey: #b8b8b8;
    --color-slightest-grey: #F6F6F7;
    --color-danger: #dc3545;
    --color-bg: #F9FAFB;
    --color-dark: #1D1D1D;
    --color-discord: #5865F2;
    --color-discord-dark: #3e4ef1;
}

@font-face {
    font-family: 'DINRoundPro';
    src: url('../font/DINRoundPro.woff') format('woff');
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .banner-image {
        max-height: 40vh !important;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1400px) {
    .banner-image {
        object-fit: cover !important;
    }
}


body {
    /*background-color: var(--color-bg);*/
    font-family: DINRoundPro, sans-serif;
}

.comment-text {
    word-break: break-all
}

.bg-grey {
    background-color: var(--color-bg);
}

.hoverable:hover {
    cursor: pointer;
}

.hover-primary:hover {
    color: var(--primary-color-light) !important;
    background-color: var(--primary-color-slight);
}

.hover-primary-color:hover {
    color: var(--primary-color) !important;
}

.hover-bg:hover {
    /*color: var(--primary-color-light) !important;*/
    background-color: var(--primary-color-slight);
}

.hover-active {
    color: var(--primary-color) !important;
}

/*.navbar {*/
/*    -webkit-box-shadow: 0 8px 6px -6px #999;*/
/*    -moz-box-shadow: 0 8px 6px -6px #999;*/
/*    box-shadow: 0 4px 10px -10px #999;*/
/*    z-index: 9999;*/
/*    !* the rest of your styling *!*/
/*}*/

.text-primary {
    /*color: #0a53be !important;*/
}

.text-white-light {
    color: var(--color-light-grey) !important;
}

.bg-primary {
    background-color: var(--primary-color-light) !important;
}

.bg-primary-light {
    background-color: var(--primary-color-slight) !important;
}

.bg-dark {
    background-color: var(--color-dark) !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text-color-primary);
}

p {
    /*color: var(--text-color-general);*/
}

hr {
    color: var(--color-slight-grey);
    border-color: var(--color-slight-grey);
    background-color: var(--color-slight-grey);
}

.sticky-offset {
    top: 70px;
}

.sticky-offset-half {
    top: 50px;
}

.preloader {
    position: fixed;
    left: 50%;
    top: 50%;
}

.preloader-holder {
    background: transparent;
    width: 100%;
    height: 100%;
}

.border-rounded {
    border-radius: 20px;
}

.border-rounded-half {
    border-radius: 5px;
}

.border-rounded-top {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.border-rounded-bottom {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.carousal-title {
    line-height: 20px;
}

.my-card {
    /*color: white;*/
    /*background-color: #000000;*/
    border-radius: 20px;
}

.block-image {
    object-fit: cover;
    background-color: white;
}

.block-image-transparent {
    object-fit: contain;
    background-color: transparent;
}

.story-cover-image {
    width: 100%;
    height: auto;
    min-height: 500px;
}

.chapter-image {
    width: 100%;
    max-height: 300px;
}

.newsfeed-image {
    object-fit: contain;
    width: 100%;
    height: auto;
    max-height: 300px;
}

.featured-image {
    min-height: 200px;
    max-height: 300px;
}

.carousal-image {
    height: 200px;
}

.library-image {
    height: 300px;
    width: auto;
}

.banner-image {
    /*padding-top: 50px;*/
    width: 100%;
    height: auto;
    object-fit: fill;
}

.profile-picture {
    width: 50px;
    height: 50px;
}

.creator-card-picture {
    width: 100px;
    height: 100px;
}

.sub-image {
    width: 30px;
    height: 30px;
}

.comment-picture {
    width: 40px;
    height: 40px;
}

.chapter-comment-picture {
    width: 30px;
    height: 30px;
}

.font-10 {
    font-size: 10px;
}

.font-12 {
    font-size: 12px;
}

.font-weight-light {
    font-weight: lighter;
}

.font-weight-bold {
    font-weight: bold;
}
.overlay-linear-gradient {
    height: 100%;
    width: 100%;
    position: absolute;
    background-image: linear-gradient(transparent, transparent, transparent, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.blur-background {
    backdrop-filter: blur(6px);
}

.card-overlay-icon {
    max-height: 50px;
    width: auto;
}

.slick-arrow::before {
    color: var(--primary-color) !important;
}

/*.bg-dark-gradient {*/
/*    background-image: linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));*/
/*}*/

.nav-item:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-link:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-profile-picture {
    width: 32px;
    height: 32px;
}

.custom-tabs .nav-link {
    color: var(--color-slight-grey);
    text-align: left;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid !important;
    /*padding-right: 50px;*/
}

.custom-tabs .nav-link.active {
    /*color: var(--primary-color);*/
    border-bottom: 2px solid var(--color-light-grey) !important;
    font-weight: bold;
    background-color: transparent !important;
}

.custom-tabs .nav-item:hover, .custom-tabs .nav-link:hover {
    /*color: var(--primary-color-light);*/
    cursor: pointer;
}

.nav-pills .nav-link {
    margin: 0 2px 0 2px;
    color: var(--text-color-general);
    background-color: transparent;
    cursor: pointer;
}

.nav-pills .nav-link.active {
    color: white;
    background-color: var(--primary-color-light);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: var(--primary-color-slight);
}

.post-button {
    padding-top: 7px;
    padding-bottom: 7px;
    transition: all 0.5s;
}

.post-button:hover {
    color: #2d2d2d;
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.hover-dark:hover {
    color: #2d2d2d;
}

.scroll-link {
    text-decoration: none;
    color: #000;
}

.scroll-link:hover {
    cursor: pointer;
}

.scroll-link.active {
    color: var(--primary-color);
}

.form-inline {
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-inline #search {
    width: 25%;
}

@media screen and (max-width: 991px) {
    .sticky-top {
        position: relative !important;
    }

    .sticky-offset {
        top: 0;
    }
}

.btn {
    border: none !important;
}

.btn-discord {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 0;
    transition: all 0.5s ease;
    color: white;
    background-color: var(--color-discord) !important;
    box-shadow: none;
}

.btn-discord:hover {
    background-color: var(--color-discord-dark) !important;
    color: white;
    box-shadow: none;
}

.btn-discord:focus, .btn-discord.focus {
    background-color: var(--color-discord-dark) !important;
    color: white;
    box-shadow: none !important;
}

.btn-outline-discord {
    color: var(--color-discord) !important;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 0;
    transition: all 0.5s ease;
    background-color: white !important;
    border: 1px solid var(--color-discord) !important;
    /*box-shadow: 0 0 28px rgba(255, 255, 255, 0.025) !important;*/
    box-shadow: none !important;
}

.btn-outline-discord:hover {
    background-color: rgba(88, 101, 242, 0.1) !important;
    /*box-shadow: 0 4px 28px rgba(255, 255, 255, 0.05) !important;*/
}

.btn-outline-discord:focus, .btn-outline-discord.focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 28px rgba(255, 255, 255, 0.05) !important;
}

.btn-primary {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 0;
    transition: all 0.5s ease;
    background-color: var(--primary-color) !important;
    /*box-shadow: 0 0 28px rgba(254, 94, 1, 0.2) !important;*/
    box-shadow: none;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark) !important;
    /*box-shadow: 0 4px 28px rgba(254, 94, 1, 0.4) !important;*/
    box-shadow: none;
}

.btn-primary:focus, .btn-primary.focus {
    background-color: var(--primary-color-dark) !important;
    /*box-shadow: 0 0 28px rgba(254, 94, 1, 0.5) !important;*/
    box-shadow: none !important;
}

.btn-primary:disabled {
    border: none !important;
    background-color: var(--primary-color-light) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 0;
    transition: all 0.5s ease;
    background-color: white !important;
    border: 1px solid var(--primary-color) !important;
    /*box-shadow: 0 0 28px rgba(255, 255, 255, 0.025) !important;*/
    box-shadow: none !important;
}

.btn-outline-primary:hover {
    background-color: rgba(255, 115, 0, 0.1) !important;
    /*box-shadow: 0 4px 28px rgba(255, 255, 255, 0.05) !important;*/
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 28px rgba(255, 255, 255, 0.05) !important;
}

.btn-outline-danger {
    color: var(--color-danger) !important;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 0;
    transition: all 0.5s ease;
    background-color: white !important;
    border: 1px solid var(--color-danger) !important;
    /*box-shadow: 0 0 28px rgba(255, 255, 255, 0.025) !important;*/
    box-shadow: none !important;
}

.btn-outline-danger:hover {
    background-color: rgba(220, 53, 69, 0.1) !important;
    /*box-shadow: 0 4px 28px rgba(255, 255, 255, 0.05) !important;*/
}

.btn-outline-danger:focus, .btn-outline-danger.focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 28px rgba(255, 255, 255, 0.05) !important;
}

/* Override bootstrap form input */

.form-control {
    border-radius: 20px !important;
    border-color: transparent;
    padding: 8px 15px;
    /*border: 1px solid rgba(255, 255, 255, 0.2) !important;*/
    /*box-shadow: 0 0 28px rgba(254, 94, 1, 0.1);*/
    background-color: var(--color-slightest-grey) !important;
    /*border: 1px solid rgba(254, 94, 1, 0.25);*/
    /*box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);*/
}

.form-control-small {
    padding: 15px 15px;
}

.form-control:focus {
    /*background-color: rgba(255, 255, 255, 0.2);*/
    /*box-shadow: 0 4px 28px rgba(254, 94, 1, 0.4);*/
    box-shadow: none;
    border: 1px solid rgba(254, 94, 1, 1);
}

.form-floating label {
    opacity: .5 !important;
}

.no-shadows {
    box-shadow: none !important;
    border: none !important;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    /*color: #888888;*/
    opacity: 1; /* Firefox */
}

.error-input {
    box-shadow: 0 0 28px rgba(244, 67, 54, 0.1) !important;
    border: 2px solid rgba(244, 67, 54, 0.5) !important;
}

.error-input:focus {
    box-shadow: 0 4px 28px rgba(244, 67, 54, 0.4) !important;
    border: 2px solid rgba(244, 67, 54, 1) !important;
}

/*Checkboxes styles*/
.custom-checkbox {
    display: none;
}

.custom-checkbox + label {
    display: block;
    position: relative;
    padding-left: 35px;
    color: var(--color-light-grey);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-checkbox + label:last-child {
    margin-bottom: 0;
}

.custom-checkbox + label:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #f44336;
    box-shadow: 0 0 28px rgba(254, 94, 1, 0.2);
    position: absolute;
    left: 0;
    top: 0;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

.custom-checkbox:checked + label:before {
    width: 10px;
    top: -5px;
    left: 5px;
    border-radius: 0;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 28px rgba(254, 94, 1, 0.4);
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

a {
    color: var(--primary-color-light);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

a:focus {
    text-decoration: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-box-shadow: none !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-primary-light {
    color: var(--primary-color-light) !important;
}

.text-discord {
    color: var(--color-discord);
}

.text-heading {
    color: var(--text-color-primary);
}

.text-general {
    color: var(--text-color-general);
}

.custom-input-box {
    position: relative;
}

.custom-input {
    width: 100%;
    padding-right: 55px !important;
    box-sizing: border-box;
    /*font-family: "Raleway", sans-serif;*/
}

.custom-input-button {
    position: absolute;
    border-radius: 20px;
    color: var(--primary-color);
    right: 3px;
    top: 3px;
    bottom: 3px;
    line-height: 1 !important;
    z-index: 4;
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    transition: all 0.5s ease;
}

.custom-input-button:hover {
    color: var(--primary-color-dark);
}

.custom-input-button:disabled {
    color: var(--color-slight-grey);
    /*background-color: rgba(254, 94, 1, 0.1);*/
}

/* End form controls */

.cover-img-placeholder {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #222222;
}

.post-body p {
    margin-bottom: 0;
}

.avatar-wrapper {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    overflow: hidden;
    /*box-shadow: 1px 1px 15px -5px black;*/
    transition: all 0.3s ease;
}

.avatar-wrapper:hover {
    box-shadow: 1px 1px 15px -5px var(--primary-color-light);
    transform: scale(1.05);
    cursor: pointer;
}

.avatar-wrapper:hover .profile-pic {
    opacity: 0.25;
}

.avatar-wrapper .profile-pic {
    height: 100%;
    width: 100%;
    transition: all 0.3s ease;
    /*border: 2px solid var(--color-slightest-grey);*/
}

/*.avatar-wrapper .profile-pic:after {*/
/*    font-family: FontAwesome;*/
/*    content: "\f007";*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    position: absolute;*/
/*    font-size: 190px;*/
/*    background: #ecf0f1;*/
/*    color: #34495e;*/
/*    text-align: center;*/
/*}*/
.avatar-wrapper .upload-button {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.avatar-wrapper .upload-button .fa-pencil-alt {
    position: absolute;
    font-size: 50px;
    top: 35%;
    left: 35%;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color-light);
}

.avatar-wrapper .upload-button:hover .fa-pencil-alt {
    opacity: 0.9;
}

.chapter-description p, .synopsis-text p {
    margin-bottom: 0;
    /*word-break: break-word !important;*/
}

.image-container {
    object-fit: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.blur-box {
    background-color: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.chip {
    padding: 4px 10px;
    background: rgba(255, 115, 0, 0.1);
    border-radius: 20px;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-right: 5px;
}

.overlay-blur {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 5;
}

.always-on-switch {
    margin-right: 2rem !important;
    margin-left: 2rem !important;
    border: none !important;
    background-color: var(--primary-color) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px var(--primary-color);
}

.always-on-switch:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.always-on-switch:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px var(--primary-color);
}

.list-group-item {
    transition: all 0.5s ease;
}

.list-group-item-action:hover {
    cursor: pointer !important;
}

.list-group-item.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}