/*************************************************************/
/* css/style.css                                             */
/*                                                           */
/* DESCRIPTION: Style sheet - general                        */
/*                                                           */
/*************************************************************/

html,
body {
    padding: 0px;
    margin: 0px;
    text-align: center;
    font-size: 14px;  /* Small */
    font-weight: 400; /* Regular */
    background-color: var(--main-white);
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    color: var(--main-black);
}

/*** RESPONSIVE ELEMENTS ***/
.tablet {
    display: none !important;
}
.mobile {
    display: none !important;
}

@media screen and (max-width: 575px) {
    .mobile {
        display: flex !important; 
    }
    span.mobile {
        display: inline !important;
    }
    .desktop {
        display: none !important;
    }
}

a {
    text-decoration: none;
    color: blue;
}

a:hover {
    text-decoration: underline;
}

a img {
    border: none;
}

a.normal {
    text-decoration: underline;
}

.errmsg {
    font-weight: bold;
    color: var(--ratings-red);
}

header {
    color: black;
    line-height: normal;
}

header input {
    padding: 1px 0px;
}

header input[type="submit" i] {
    padding: 1px 6px;
}

header select {
    border-color: rgb(169, 169, 169);
    background-color: buttonface;
    padding: 0px;
}

ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

li {
    margin: 0px;
    padding: 0px;
}

.clear {
    clear: both;
}

br.clear {
    clear: both;
    height: 1px;
}

.ralign {
    text-align: right;
}

.sb_darkgreen {
    font-weight: bold;
    color: var(--ratings-dark-green);
}

.sb_green {
    font-weight: bold;
    color: var(--ratings-green);
}

.sb_yellow {
    font-weight: bold;
    color: var(--ratings-yellow-shades-45);
}

.sb_red {
    font-weight: bold;
    color: var(--ratings-red);
}

.sb_gray {
    font-weight: bold;
    color: var(--main-black-shades-70);
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

td {
    padding: 0;
}

textarea {
    height: 120px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/*** SITE LAYOUT ***/
.cr_container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-grow: 1;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    text-align: center;
    padding: 24px;
}
@media screen and (max-width: 575px) {
    .cr_container {
        gap: 0;
        padding: 0;
        flex-wrap: wrap;
    }
}
/*
@media screen and (max-width: 992px) {
    .cr_container {
        flex-wrap: wrap;
    }
}
*/
@media screen and (min-width: 1640px) {
    .cr_container {
        max-width: 1600px;
    }
}

.cr_container.no_sidebar {
    justify-content: center;
    min-height: 66vh;
    align-items: center;
}

.cr_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.cr_sidebar {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    flex-shrink: 0;
}
@media screen and (max-width: 575px) {
    .cr_sidebar {
        width: 100%;
        min-width: 100%;
        position: initial;
        align-items: center;
    }
    .cr_container.sidebar_left .cr_sidebar {
        display: none;
    }
}


/*** PTIS, SCORES AND QUIPS ***/
.pti {
    font-weight: bold;
}

.minireview {
    display: none;
}

/*** SCORE BOXES / PSI & RATING CONTAINERS ***/
.scorebox_container {
    text-align: center;
}

.scorebox_container .scorebox_header {
    font-size: 1.2em;
    font-weight: bold;
}

.scorebox_container .scorebox_expl {}

.scorebox_container .scorebox_input {
    width: 50px;
    margin: 5px 0px 10px 0px;
    text-align: center;
    display: inline-block;
}

/*** PAGE NUMBERING ***/
footer.pages {
    padding: 10px 5px;
    width: auto;
}

nav.navpages {
    float: right;
}

nav.navpages span {
    color: var(--main-black-shades-70);
}

.cr_leftcol {
    text-align: left;
    flex-grow: 1;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.crit_container {
    float: left;
    text-align: left;
    margin: .5em .5em 2em .5em;
}

.crit_container h2:first,
.crit_container h1:first {
    margin-top: 10px;
}

.crit_container h3 {
    font-style: italic;
}

.crit_container h4 {
    margin: 0px;
    padding: 0px;
}

/* Bottom Table Paging */
#paging_row {
    background-color: var(--legacy-blue-light);
    border-top: 1px var(--legacy-blue-mid) solid;
    text-align: center;
    padding: 5px 0px;
}

#rr_container div {
    font-size: 14pt;
}

.psiscore_container {
    float: right;
    text-align: center;
    margin-left: 10px;
    padding: .5em;
    background-color: white;
}

.psiscore_container .rating_quip {
    font-size: 1.2em;
}

.psi_header,
.rate_header,
.rating_header {
    font-weight: bold;
    font-size: 1.2em;
}

.psi_div {
    text-align: center;
    color: white;
    font-size: 2rem;
    padding: .5rem;
    width: 50px;
    height: 50px;
    margin: 2px 0px 5px 0px;
    display: inline-block;
    line-height: 35px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

.psi_quip.red {
    color: var(--ratings-red);
}

.psi_quip.yellow {
    color: var(--ratings-yellow-shades-45);
}

.psi_quip.green {
    color: var(--ratings-dark-green);
}

.psi_quip.darkgreen {
    color: var(--ratings-dark-green);
}

.psi_rateit {
    margin-top: 8px;
    font-style: italic;
    font-weight: bold;
}

.psi_div.hundred {
    font-size: 1.5em;
}

.psi_div.darkgreen {
    background-color: var(--ratings-dark-green);
}

.psi_div.green {
    background-color: var(--ratings-green);
}

.psi_div.yellow {
    background-color: var(--ratings-yellow-shades-45);
}

.psi_div.red {
    background-color: var(--ratings-red);
}

.psi_div.gray {
    background-color: var(--main-black-shades-70);
}

.psi_div a {
    color: white;
}

.psi_div a:hover {
    text-decoration: none;
}

.psiinfo_quip {
    text-align: center;
}

.navdiv {
    padding: 10px 5px;
    font-size: 12pt;
    width: auto;
}

.navpages {
    float: right;
}

.navdisable {
    color: var(--main-black-shades-70);
}

.ab_terms_list {
    list-style: disc;
    margin-bottom: 2em;
}

.ab_terms_list li {
    margin: .5em 0em .5em 2em;
}

.admin_box {
    color: var(--ratings-red);
    margin: 10px 0px;
    border: 1px red solid;
    padding: 5px;
}

.showblock {
    display: block;
}

.hideblock {
    display: none;
}

.submitting_rating {
    font-weight: normal;
}

.onlyregistered {
    font-size: 30pt;
    margin: 30px 40px;
}

.star {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('https://www.criticker.com/img/sys/starsprites.png') 23px 0;
    cursor: pointer;
    margin: 0 3px;
}

.star.staron {
    background: url('https://www.criticker.com/img/sys/starsprites.png') -3px 0;
}

.cl_starcoll_div em {
    vertical-align: 10%;
}

/* System Collections */
.system_collection {
    color: var(--main-black-shades-70);
}

.system_collection a {
    color: var(--main-black-shades-70);
}

.system_collection .ignore:hover {
    color: var(--ratings-red);
    text-decoration: none;
}

.system_collection .watchlist:hover {
    color: var(--ratings-dark-green);
    text-decoration: none;
}

.watchlisttitle_div {
    border: 1px var(--ratings-dark-green) solid;
    border-width: 1px 0px;
    padding: 10px 0px;
    color: var(--ratings-dark-green);
    background-color: var(--ratings-green-shades-90);
}

.ignoredtitle_div {
    border: 1px var(--ratings-red) solid;
    border-width: 1px 0px;
    padding: 10px 0px;
    color: var(--ratings-red);
    background-color: var(--ratings-red-shades-95);
}

/* SIDEBAR & ADS */
.i_bannerad,
.sidebar_ad,
.mobile_sidebar_ad,
.mobile_footer_ad,
.footer_ad {
    margin: 10px 0px;
    text-align: center;
}

.i_bannerad {
    margin: 0px;
    border-top: 1px var(--main-black-shades-85) solid;
    background-color: var(--main-black-shades-95);
}

.footer_ad {
    margin: 0px;
}

/* INDEX */
.cr_body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
@media screen and (max-width: 575px) {
}
/* Forum */
.cr_body #page-header {
    margin: 0px auto;
    max-width: 1200px;
    width: 100%;
    padding: 24px 0;
}
.cr_body .page-body {
    margin: 0px auto;
    max-width: 1200px;
}
.page-body h1 {
    font-size: 32px;
    padding: 12px 0;
}
.page-body h2 {
    font-size: 28px;
    padding: 12px 0;
}
.page-body h3 {
    font-size: 24px;
    padding: 8px 0;
}

@media screen and (max-width: 575px) {
    .cr_body #page-header {
        padding: 12px;
    }
    .cr_body .page-body {
        padding: 12px;
    }
    #page-header .navbar .inner {
        display: flex;
    }
    #page-header .navbar .inner #nav-breadcrumbs {
        display: flex;
    }
    .post {
        padding: 8px;
    }
    .action-bar {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        column-gap: 8px;
        row-gap: 4px;
    }
    .avatar-container {
        display: flex;
        gap: 4px;
        flex-direction: column;
    }
    .postprofile .avatar {
        width: auto;
        height: auto;
    }
    .has-profile .post-buttons {
        right: 4px;
        top: 8px;
    }
}

.cr_navbar {
    background-color: var(--legacy-blue-dark) !important;
    font-size: 18px;
    padding: 0 8px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

#cr_navbar_toggler {
    order: 1;
}

#cr_navbar_content {
    order: 2;
}
#cr_navbar_content .nav-item,
#cr_navbar_content .dropdown {
    font-size: 18px;
    padding: 0;
    line-height: normal;
}

#cr_navbar_searchform {
    order: 3;
}

#cr_navbar_content.collapsing,
#cr_navbar_content.show {
    order: 4;
}

.cr_navbar .nav-item {
    margin-right: 20px;
}

.cr_navbar .nav-item a.nav-link {
    color: var(--legacy-blue-light);
    margin-left: .5em;
}
.cr_navbar .nav-item:first-child a.nav-link {
    margin: 0;
}
@media screen and (max-width: 575px) {
    .cr_navbar .nav-item:first-child a.nav-link {
        margin-left: .5em;
    }
}

.cr_navbar .nav-item a.nav-link:hover {
    color: yellow;
}

#i_randnav {
    display: none;
}

.navbar-collapse {
    text-align: left;
}

.cr_navbar .dropdown-menu {
    background-color: var(--legacy-blue-dark);
    border: none;
}

.dropdown-item {
    width: auto;
    padding: .4em 1em;
    color: var(--legacy-blue-light);
}

.dropdown-item:hover {
    background-color: var(--legacy-blue-mid);
}

.dropdown-item:active {
    color: black;
}

.header_right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}
.header_rightguest {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.header_righttop {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    align-self: flex-end;
}

.header_righttext {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.header_rightbottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

#i_forumlink {
    display: none;
    padding-top: 8px;
}

#i_searchform {
    font-size: .9em;
}

#i_searchlist {
    display: none;
}

.i_header {
    display: table;
}

#i_headermid {
    display: none;
}

#i_logo img {
    width: 220px;
    height: auto;
}

/* PLAYER LIST */
#py_container #pflt {
    clear: both;
}

/* THANK YOU */
#ty_container {
    margin: 50px auto;
    max-width: 600px;
}

/* TCIGEN DIV */
.tcis_toptarget {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
}
.tcis_toptarget_info {
    display: flex;
    flex-direction: column;
}

.tcis_name {
    font-size: 1.2em;
}

.tcis_result {
    font-size: 1.2em;
}

#sidebar_tcis table {
    width: 100%;
}

#sidebar_tcis table tr td {
    border-top: 1px var(--main-black-shades-85) solid;
    padding: 2px 5px;
}
#sidebar_tcis table tr:first-child td {
    border-top: none;
}

#tcis_showall {
    margin-top: 12px;
}


#err_container {
    padding-bottom: 3em;
}

#err_container div {
    margin: 1em 0;
}

#err404 {
    margin: 40px 0px;
}

#err404 h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Overwrite some jQuery stylings */
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: inherit;
    font-size: 1em;
}

.ui-widget-header {
    font-size: 1.2em;
}

.ui-widget-shadow {
    opacity: 1;
    background: white;
}

.ui-dialog .ui-dialog-titlebar {
    padding: .2em .5em;
}

.ui-tooltip {
    padding: 0px 8px !important;
}

.ui-tooltip-content {
    font-size: .9em;
    text-align: left;
}

.ui-tooltip p {
    margin: 1em 0;
}

/* Bootstrap overrides */
.btn {
    border: 1px #AAA solid !important;
    min-width: auto;
    height: auto;
}

.row {
    margin-bottom: .5rem;
}

/* Title Rows for Rec Page, Search Results, Etc */
.titlerow {
    display: flex;
    gap: 8px;
}

.titlerow_left {
    text-align: center;
}
.titlerow_img {
    width: 120px;
}
@media screen and (max-width: 575px) {
    .titlerow_img {
        width: 80px;
    }
}

.titlerow_header {
    background-color: var(--legacy-blue-light);
    font-size: 1.5rem;
    font-style: italic;
    padding: 5px;
}

.titlerow_header a {
    color: var(--main-black-shades-0);
}

.titlerow_header a:hover {
    color: var(--ratings-red);
    text-decoration: none;
}

.titlerow_name {
    font-size: 1.2rem;
}

.titlerow_name a {
    font-weight: bold;
}

.titlerow_episode {
    margin: 0;
}

.titlerow_episodeinfo {
    padding: .25em .5rem;
}

.titlerow_episodes_showmore {
    padding: 0 .5rem;
    margin-top: .25em;
    font-weight: bold;
}

.titlerow_episodes_more {
    display: none;
}

.titlerow_mid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.titlerow_smallpsi {
    font-weight: bold;
}

.titlerow .psiscore_container {
    border-top: none;
    margin: 0;
    width: 145px;
    display: none;
}

.titlerow_name a {
    color: var(--main-black-shades-0);
}



/* Shared Title Elements - Film Info / Episode List */
#poster {
    float: left;
    margin: 0px 7px 0px 0px;
    text-align: center;
    padding: 0px;
}

#poster img {
    padding: 0px;
    margin: 0px 0px 10px 0px;
    border: 1px black solid;
    width: 90px;
    height: auto;
}

#poster p {
    font-size: 8pt;
    text-align: center;
    margin: 0px;
    padding: 0px 0px 5px 0px;
}

#poster p a {
    color: var(--main-black-shades-70);
    text-decoration: underline;
}

#poster p a:hover {
    color: black;
}

#titleheader {
    font-size: 1.6em;
    margin: 0px 0px 5px 0px;
    padding: 0px;
}

#titleheader div#info_type {
    font-style: normal;
    margin: .25em 0 .5em 0;
}

#titleheader #info_type {
    font-style: italic;
    font-weight: normal;
    font-size: .7em;
}

/* Really just for debugging */
pre {
    text-align: left;
}

/* Breadcrumbs */
nav#breadcrumbs {
    display: none;
}

ol#breadcrumbs {
    padding: 0;
}

ol#breadcrumbs li {
    display: inline-block;
}

/* Testing */
.testad {
  background-color: #F5A65B;
  font-weight: bold;
  border: 1px #BA7D45 solid;
  min-height: 90px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/*** CRITICONS ***/
.criticon {
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    height: 22px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.criticon.chevron-left {
    background-image: url('https://www.criticker.com/img/sys/criticons/medium/chevron_left.svg');
    background-position: left;
}
.criticon.chevron-right {
    background-image: url('https://www.criticker.com/img/sys/criticons/medium/chevron_right.svg');
    background-position: right;
}
.criticon.square-x {
    background-image: url('https://www.criticker.com/img/sys/criticons/medium/square_x.svg');
    width: 22px;
}
.criticon.clear-date {
    background-image: url('https://www.criticker.com/img/sys/clear_date.png');
    width: 100px;
    background-size: cover;
}
#backtotop {
    display: none;
}
#backtotop button.cardbutton .buttonsvg {
    background-color: var(--main-white);
}

/** Magic Signup Modal */
.signup_err {
    color: var(--ratings-red);
}
.signup_btnwrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.signup_login {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 24px;
    gap: 8px;
}
