:root {
    --primary: #dd0000;
    --primary-lighter: #FF3C3C;
    --primary-darker: #6B0D0D;
    --on-primary: #FAFAFA;
    --secondary: #1A1A1A;
    --secondary-lighter: #2F2F2F;
    --secondary-darker: #000000;
    --on-secondary: #FAFAFA;
    --on-secondary-subtle: #FAFAFA;
    --background: #FAFAFA;
    --on-background: #1A1A1A;
    --surface: #FFFFFF;
    --on-surface: #1A1A1A;
    --error: #FFECEC;
    --on-error: #dd0000;
    --input-error-background: #FFECEC;
    --warning: #F19A18;
    --on-warning: #1A1A1A;
    --grey-50: #FEFEFE;
    --grey-100: #F2F2F2;
    --grey-200: #E6E6E6;
    --grey-300: #CCCCCC;
    --grey-400: #B3B3B3;
    --grey-500: #999999;
    --grey-600: #808080;
    --grey-700: #666666;
    --grey-800: #4D4D4D;
    --grey-900: #424242;
    --grey-950: #252525;
    --movie-fan: #2FA1A2;
    --movie-club: #8171B3;
    --pill-bg: #FFFFFF;
    --pill-border-color: #CCCCCC;
    --tag-bg: #CCCCCC;
    --tag-color: #1A1A1A;
    --seat-available: #47762E;
}

[data-theme="dark"] {
    --primary: #dd0000;
    --primary-lighter: #FF3C3C;
    --primary-darker: #6B0D0D;
    --on-primary: #FAFAFA;
    --secondary: #FAFAFA;
    --secondary-lighter: #FFFFFF;
    --secondary-darker: #F2F2F2;
    --on-secondary: #1A1A1A;
    --on-secondary-subtle: #B3B3B3;
    --background: #1A1A1A;
    --on-background: #FAFAFA;
    --surface: #1A1A1A;
    --on-surface: #FAFAFA;
    --error: #FAFAFA;
    --on-error: #1A1A1A;
    --input-error-background: #6B0D0D;
    --warning: #F19A18;
    --on-warning: #1A1A1A;
    --pill-bg: #2F2F2F;
    --pill-border-color: #4D4D4D;
}

/* ----- START keycloak.v2 overrides ----- */

:where(a) {
    color: var(--primary);
    text-decoration: none;
}

:where(a:hover), :where(a:focus) {
    color: var(--primary-darker);
    text-decoration: none;
}

.pf-v5-c-button.pf-m-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pf-v5-c-button.pf-m-primary:hover,
.pf-v5-c-button.pf-m-primary:focus,
.pf-v5-c-button.pf-m-primary:active {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
}

.pf-v5-c-title {
    font-family: 'Work Sans Bold';
    font-weight: 700;
    word-break: break-word;
}

.pf-v5-c-button.pf-m-secondary {
    --pf-v5-c-button--after--BorderColor: var(--secondary);
    background-color: var(--background);
    color: var(--secondary);
}

.pf-v5-c-button.pf-m-secondary:hover {
    --pf-v5-c-button--m-secondary--Color: var(--secondary-darker);
    --pf-v5-c-button--m-secondary--BackgroundColor: var(--background);
    --pf-v5-c-button--after--BorderColor: var(--secondary-darker);
}

@media (min-width: 768px) {
    div.pf-v5-c-login__main-header {
        grid-template-columns: 75% 25%;
    }

    div.pf-v5-c-login__main-header.text-center {
        column-gap: 0;
        grid-template-columns: 100% 0%;
    }
}

/* ----- END keycloak.v2 overrides ----- */

/* Fonts */
/* Work-Sans-Regular-400 */
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Work Sans'), local('WorkSans-Regular'), url('../fonts/WorkSans-Regular.woff2') format('woff2'), url('../fonts/WorkSans-Regular.woff') format('woff'), url('../fonts/WorkSans-Regular.ttf') format('truetype'), url('../fonts/WorkSans-Regular.otf') format('opentype');
}

/* Work-Sans-Semi-bold-600 */
@font-face {
    font-family: 'Work Sans Semi-bold';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Work Sans Semi-bold'), local('WorkSans-Semi-bold'), url('../fonts/WorkSans-SemiBold.woff2') format('woff2'), url('../fonts/WorkSans-SemiBold.woff') format('woff'), url('../fonts/WorkSans-SemiBold.ttf') format('truetype'), url('../fonts/WorkSans-SemiBold.otf') format('opentype');
}

/* Work-Sans-Bold-700 */
@font-face {
    font-family: 'Work Sans Bold';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Work Sans Bold'), local('WorkSans-Bold'), url('../fonts/WorkSans-Bold.woff2') format('woff2'), url('../fonts/WorkSans-Bold.woff') format('woff'), url('../fonts/WorkSans-Bold.ttf') format('truetype'), url('../fonts/WorkSans-Bold.otf') format('opentype');
}

html {
    font-size: var(--pf-v5-global--FontSize--md);
}

/* Global Tag Styling */
body {
    /*padding-top: 58px;*/
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    padding-right: 0 !important;
    /* correct for fixed header shift when modals open */
}

body.noHeaders {
    padding: 0;
}

.wrap {
    background: #ffffff;
    display: block;
    max-width: 1160px;
    margin: auto;
}

a {
    color: var(--primary);
    font-size: 1em;
    font-family: 'Work Sans Semi-bold',sans-serif;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
    display: inline-block;
}

a:focus,
a:hover {
    color: var(--primary-darker);
    text-decoration: none;
}

a:focus svg,
a:hover svg {
}

p:last-child {
    margin-bottom: 0;
}

p:last-child.bottom {
    margin-bottom: 40px;
}

@media only screen and (max-width: 767.98px) {
    p:last-child.bottom {
        margin-bottom: 15px;
    }
}

p:last-child.bottom:not(img):not(input):empty {
    display: none !important;
}

p:empty {
    display: none;
}

p a {
    color: var(--primary);
    font-family: 'Work Sans Bold', sans-serif !important;
    font-weight: 700 !important;
}

p a:hover {
    color: var(--primary-darker);
    cursor: pointer;
}

a,
input,
svg {
    transition: background 0.2s, color 0.2s, fill 0.2s;
}

.close {
    opacity: 0.7;
}

.close:hover {
    opacity: 1;
}

input,
select,
textarea {
    background: rgba(0, 0, 0, 0.08);
    padding: 0 0.6em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

/* Typography */
h1,
h2,
h3,
h4,
nav {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

h1,
.h1 {
    font-size: 3em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

h2,
.h2 {
    font-size: 2.6em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

h3,
.h3 {
    font-size: 2em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

h4,
.h4 {
    font-size: 1.6em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

h5,
.h5 {
    font-size: 1.6em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

.heading-icon {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.heading-icon .heading-icon_image {
    max-width: 20px;
    max-height: 20px;
    margin-right: 14px;
}

p.bottom {
    margin-bottom: 1.5em;
}

.small {
    font-size: .6875em;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child {
    margin-bottom: 0;
}

h1:last-child.bottom,
h2:last-child.bottom,
h3:last-child.bottom,
h4:last-child.bottom,
h5:last-child.bottom {
    margin-bottom: 40px;
}

@media only screen and (max-width: 767.98px) {
    h1:last-child.bottom,
    h2:last-child.bottom,
    h3:last-child.bottom,
    h4:last-child.bottom,
    h5:last-child.bottom {
        margin-bottom: 15px;
    }
}

h1:last-child.bottom:not(img):not(input):empty,
h2:last-child.bottom:not(img):not(input):empty,
h3:last-child.bottom:not(img):not(input):empty,
h4:last-child.bottom:not(img):not(input):empty,
h5:last-child.bottom:not(img):not(input):empty {
    display: none !important;
}

ul {
    -webkit-margin-before: 0em;
}

ul.full-width {
    padding-left: 1.1em;
}

ul,
ol {
    list-style-position: inside;
}

button {
    border: none;
}

/* ----- BEGIN Cinemark overrides ----- */

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

.login-pf body {
    background: #FAFAFA;
}


.pf-v5-c-form-control {
    padding: 0;
    font-size: 18px;
    border-radius: 6px;
    --pf-v5-c-form-control--after--BorderBottomWidth: 0;
}


.pf-v5-c-form-control:hover {
    --pf-v5-c-form-control--after--BorderBottomColor: var(--primary);
}

.pf-v5-c-form-control:focus-within {
    --pf-v5-c-form-control--after--BorderBottomWidth: 0;
    /* --pf-v5-c-form-control--after--BorderBottomColor: var(--primary); */
}

.pf-v5-c-button.pf-m-control:focus {
    --pf-v5-c-button--m-control--after--BorderBottomColor: var(--primary);
}

.form-group {

}

.form-group label {
    line-height: 2em;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  }
  
  .form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
  }
  
  .form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
  }
  
  .form-control:-ms-input-placeholder {
    color: #999;
  }
  
  .form-control::-webkit-input-placeholder {
    color: #999;
  }
  
  .form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control {
    background-color: #eee;
    opacity: 1;
  }
  
  .form-control[disabled],fieldset[disabled] .form-control {
    cursor: not-allowed;
  }
  
  textarea.form-control {
    height: auto;
  }
  
  .fontsemibold,
  .custom-checkbox label,
  .pf-v5-c-login__main-footer-band-item span
  {
    font-family: 'Work Sans Semi-bold',sans-serif;
    font-weight: 600;
  }

  .fontbold,
  .pf-v5-c-login__main-footer-band-item span a {
    font-family: 'Work Sans Bold',sans-serif;
    font-weight: 700 ;
  }
  
  .input-lg {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
  }
  
  .custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    height: 25px;
    width: 25px;
    z-index: 100;
    cursor: pointer;
  }
  .custom-checkbox input[type="checkbox"] ~ label {
    position: relative;
    display: flex;
    align-items: flex-start; 
    cursor: pointer;
  }
  .custom-checkbox input[type="checkbox"] ~ label:before {
    content: '';
    position: relative;
    top: 0;
    margin: 0 15px 0 0;
    height: 22px;
    min-height: 22px;
    width: 22px;
    min-width: 22px;
    text-align: center;
    border: 2px solid #dd0000;
    border-radius: 4px;
    transition: all 250ms ease;
    display: inline-block;
    cursor: pointer;
  }
  .custom-checkbox input[type="checkbox"] ~ label.default-font-size p {
    font-size: 1em;
  }
  .custom-checkbox input[type="checkbox"]:checked ~ label:before {
    background-color: #dd0000;
  }
  .custom-checkbox input[type="checkbox"]:checked ~ label:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 7px;
    display: inline-block;
    transform: rotate(45deg);
    height: 16px;
    width: 8px;
    border-bottom: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
  }
  
  .custom-checkbox input[type="checkbox"]:focus ~ label:before {
    outline: -webkit-focus-ring-color auto 1px;
  }
  .custom-checkbox input[type="checkbox"][disabled] ~ label {
    color: rgba(0, 0, 0, 0.5);
  }
  .custom-checkbox input[type="checkbox"][disabled] ~ label:before {
    border: 2px solid #E0E0E0;
    cursor: not-allowed;
  }
  .custom-checkbox input[type="checkbox"][disabled]:checked ~ label:before {
    background-color: #E0E0E0;
  }
  .custom-checkbox.custom-checkbox--dashed input[type="checkbox"]:checked ~ label:before {
    background-color: #dd0000;
  }
  .custom-checkbox.custom-checkbox--dashed input[type="checkbox"]:checked ~ label:after {
    content: '';
    color: #ffffff;
    position: absolute;
    left: 4px;
    display: inline-block;
    height: 12px;
    width: 13px;
    border-bottom: 3px solid #ffffff;
    border-right: none;
    transform: rotate(0deg);
  }

  .custom-checkbox label,
  .pf-v5-c-login__main-footer-band-item span {
      line-height: 1.5em;
  }

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    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: 4px;
}

.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn:hover,.btn:focus,.btn.focus {
    color: #333;
    text-decoration: none;
}

.btn:active,.btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover,.btn-primary:focus,.btn-primary.focus,.btn-primary:active,.btn-primary.active,.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-primary:active,.btn-primary.active,.open > .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary .badge {
    color: #337ab7;
    background-color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-block + .btn-block {
    margin-top: 5px;
}

input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block {
    width: 100%;
}

.btn-primary,.cnkBtnCTA,.cnkBtnPrim,.cnkBtnStd,.pf-v5-c-button.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    border: 2px solid var(--primary);
    font-family: 'Work Sans Semi-bold',sans-serif;
    font-weight: 600;
}

.btn,.cnkBtnCTA,.cnkBtnPrim,.cnkBtnStd {
    font-size: 1em;
    padding: 0.5rem 1rem;
    border-radius: 24px;
}

.btn-primary:hover,.btn-primary:focus,.btn-primary:active {
    background: var(--primary-darker);
    border: 2px solid var(--primary-darker);
}

.btn-primary.disabled,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,
.pf-v5-c-button.btn-primary.btn.btn-block:disabled,
.pf-v5-c-button.btn-primary.btn.btn-block[disabled] {
    background: #8e8e93;
    border: 2px solid #8e8e93;
}

.btn.disabled,.btn[disabled],fieldset[disabled] .btn {
    pointer-events: none;
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.btn-primary[hidden] {
    display: none;
}


.btn-link {
    color: var(--primary);
    font-size: 1.4em;
    font-family: 'Work Sans Semi-bold',sans-serif;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
    display: inline-block;
}

.togglePassword
{
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    background-color: transparent;
    margin: 0;
    padding: 11px;
    height: 46px;
    width: 46px;
}

.togglePassword i {
    color: var(--grey-500);
    font-size: 1.4em;
}

.toggle-eye {
    content: url('../img/ic_hide_password.svg');    
}

.toggle-eye-slash  {
    content: url('../img/ic_view_password.svg');    
}

.pf-v5-c-login {
    align-items: center;
}

.pf-v5-c-login__main {
    border-radius: .25em;
    margin-left: 1.25em;
    margin-right: 1.25em;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.06);
}

.pf-v5-c-login__main-header,
.pf-v5-c-login__main-footer {
    border: none;
    padding: 1.25em;
}

.pf-v5-c-login__main-body {
    padding: 0 1.25em;
}

.pf-v5-c-login__main-footer-band {
    border: none;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .pf-v5-c-login__main-header,
    .pf-v5-c-login__main-footer {
        padding: 1.25em 3em;
    }
    
    .pf-v5-c-login__main-body {
        padding: 0 3em;
    }
}

.pf-v5-c-alert__title {
    font-family: 'Work Sans';
    font-weight: 400;
}

.pf-v5-c-helper-text__item-text.pf-m-error {
    color: var(--primary);
    font-family: 'Work Sans Bold';
    font-weight: 700;
}

input.form-control[aria-invalid="true"] {
    border: 1px solid var(--primary);
    background: var(--error);
}

#kc-info {
    margin-top: 2em;
}

.custom-checkbox .terms {
    font-size: 0.8em;
    font-weight: 400;
    font-family: "Work Sans",sans-serif;
}

.custom-checkbox .terms a {
    display: inline;
    font-weight: 700;
}

.img-warning  {
    content: url('../img/ic_warning.svg');
    width: 4em;
    padding-top: 0.3em;
}

#input-error-terms-accepted {
    display: flex;
    padding: 1.25em;
    margin: 1.25em 0;
    background-color: var(--error);
}

#input-error-terms-accepted p {
    margin-left: 0.5em;;
    font-size: 14px;
}

/* ----- END Cinemark overrides ----- */