:root {
    --drop-shadow-darker: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.15));
    --folder: #00953b;
    --primary-color: #19323c;
    --primary-color-light: #2b647a;
    --primary-color-dark: #0b171b;
    --secondary-color: #00953b;
    --secondary-color-light: #fff07e;
    --secondary-color-dark: #a39105;
    --white: #fff;
    --black: #323232;
    --blue: #19323c;
    --blue-lighter: #9ab3d7;
    --blue-darker: #254b81;
    --yellow: #00953b;
    --yellow-lighter: #fff07e;
    --yellow-darker: #e6c807;
    --red: #e74c3c;
    --red-lighter: #e96a5c;
    --red-darker: #cc4335;
    --green: #00ce90;
    --green-darker: #00ad79;
    --green-lighter: #00e49f;
    --gray: #575656;
    --gray-darker: #474747;
    --gray-lighter: #666565;
    --light-gray: #f5f5f5;
    --background: #f2f4f9;
    --button-hover: #bbbcc0;
    --drop-shadow: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.05));
    --medium-drop-shadow: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.125));
    --hard-drop-shadow: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.25));
    --border-color: #f5f5f5;
    --border: 1px solid var(--border-color);
    --unselected-icon: #bdbdbd;
    --dot-border: #e0e0e0;
    --secondary-text: #848484;
    --input-icon: #b4b4b4;
    --input-placeholder: #848484;
    --input-text-disabled: silver;
    --progress-bar-background: var(--background);
    --progress-bar-complete: var(--blue);
    --important-number-text: #5b5b5b;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background: #5c5c5c;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #dedede;
}

html {
    font-size: 14px;
}

html * {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

p {
    margin-top: 18px;
}

html,
body {
    height: 100%;
}

a {
    text-decoration: none;
}

body {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--background);
    margin: 0;
}

.form-group {
    position: relative;
    align-items: stretch;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0px;
}

.form-group label:not(.form-check-label) {
    z-index: 1;
    font-weight: 600;
}

/* .form-group input:not(.form-check-input) {
  margin-top: 0.75rem;
} */

.form-group input,
.input-group input {
    border: none;
    flex: 1 1;
    outline: none;
    width: 100%;
    background-color: var(--light-gray);
    border-radius: 4px;
    padding: 12px;
}

.form-group input:focus,
.input-group input:focus {
    background-color: var(--light-gray);
    outline: none;
    border: none;
    box-shadow: none;
}

.form-row .form-group input {
    margin-top: 0rem;
}

div.control-label {
    position: relative;
}

.control-label label {
    z-index: 4;
    top: -0.5625rem;
    left: 0.8125rem;
    position: absolute;
    background-color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #707070;
}

.navbar-light {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.078) 0rem -0.3125rem 1.875rem;
}
/* 
.btn {
  border-radius: 0.5rem;
}

.btn:not(.btn-outline-danger):not(.btn-outline-dark) {
  border: none;
} */

.btn-white {
    border: none;
    background: white;
    color: #707070;
    filter: drop-shadow(0.125rem 0.3125rem 0.75rem rgba(0, 0, 0, 0.078));
}

.btn-white:hover {
    color: black;
    background: white;
}

.add-parameter {
    margin-top: 0.75rem;
}

#parameters-list {
    margin-top: 1rem;
}

#parameters-list .parameter {
    padding-bottom: 0.75rem;
}

#parameters-list .parameter input {
    height: 100%;
}

#parameters-list .parameter .btn {
    padding-top: 0;
    padding-bottom: 0;
}

.spacing-buttons .btn {
    margin-left: 0.625rem;
}

.vertical-center {
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.vertical-center-container {
    margin: auto;
}

.form-centered {
    padding: 0.9375rem;
    margin: auto;
    background-color: #fff;
}

#prototype-parameter {
    display: none;
}

/* .page {
  margin-top: 0.625rem;
} */

.iframe-page,
#ytb-player {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-preview {
    height: 70vh;
}

.add-page {
    margin-bottom: 0.625rem;
}

.copy-screen {
    margin-top: 0.75rem;
}

#pages-preview {
    display: flex;
    position: relative;
    /* flex-wrap: wrap; */
    /* align-content: center; */
}

#pages-preview-container {
    max-height: 16rem;
    overflow-x: auto;
    height: 16rem;
    margin-bottom: 16rem;
}

.page-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: lightcoral;
    flex-grow: 1;
    width: 4rem;
    height: 4rem;
}

.page-preview:hover {
    border: 0.0625rem solid black;
}

.table td {
    vertical-align: middle;
}

.table-page thead th:last-child {
    max-width: 7.5rem;
    width: 7.5rem;
}

.table-page td:last-child {
    text-align: center;
}

.screen-groups {
    margin-top: 0.75rem;
}

.is-invalid .invalid-feedback {
    display: block;
}

.flex {
    display: flex;
}

.page-file-video {
    height: 100%;
    position: relative;
}

.page-file-image {
    height: 100%;
    position: relative;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.page-file-video video {
    width: 100%;
    height: 100%;
}

.page-file-preview {
    height: 70vh;
}

.form-login button {
    background-color: #1bee84;
}

.cell-action {
    width: 1%;
    white-space: nowrap;
}

.cell-action div {
    display: inline-block;
    font-size: 24px;
    margin-left: 4px;
    width: 32px;
}

.cell-active {
    width: 1%;
    white-space: nowrap;
}

.cell-active div {
    display: flex;
    justify-content: center;
    font-size: 24px;
    margin-right: 16px;
    width: 64px;
}

.form-add-page {
    margin-top: 1.25rem;
}

thead input {
    background-color: unset;
    border: none;
    /* border-bottom: 0.0625rem solid; */
    width: 100%;
}

thead input:focus {
    outline: none;
}

thead th {
    position: relative;
}

.clearable-cross {
    font-style: normal;
    font-size: 1.7em;
    user-select: none;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.cke_button__importimage_icon {
    display: none !important;
}

.cke_button__importimage_label {
    display: inline !important;
}

.cke_button__importbgimage_icon {
    display: none !important;
}

.cke_button__importbgimage_label {
    display: inline !important;
}

#pages-list ul {
    display: none;
}

#iframe-preview {
    position: absolute;
}

.edit-group {
    margin-top: 1rem;
}

.topbar {
    align-items: center;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    height: 4.375rem;
    justify-content: space-between;
    padding: 0.625rem;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.fake-topbar {
    height: 4.375rem;
}

.topbar-brand-logo {
    cursor: pointer;
    display: flex;
    height: 100%;
}

.topbar-brand-logo img {
    height: 100%;
    margin-right: 1rem;
}

.topbar-brand-logo-icon {
    height: 100%;
}

.topbar-brand-logo-text {
    color: var(--blue);
    font-size: 2rem;
    font-weight: 700;
    line-height: 3.125rem;
}

.topbar-right-items {
    align-items: center;
    display: flex;
    position: relative;
}

.topbar-user-info-container {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.topbar-username {
    font-weight: 500;
}

.topbar-roles {
    color: var(--secondary-text);
    font-style: italic;
    font-weight: 400;
}

.topbar-collapse-btn {
    align-items: center;
    display: flex;
    margin-left: 0.75rem;
}

.topbar-collapse-btn:hover {
    cursor: pointer;
    color: var(--blue);
}

.user-circle {
    width: 2.2rem;
}

.caret-down {
    width: 0.7rem;
    margin-left: 0.5rem;
}

.sidepanel-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.sidepanel-left {
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    padding: 45px 20px 15px 15px;
    position: fixed;
    transition: width 0.5s ease;
    white-space: nowrap;
    width: 18.125rem;
}

.sidepanel-right {
    /* flex: 1 1;
  transition: all 0.5s;
  height: 100%; */

    flex: 1 1;
    margin-left: 18.125rem;
    max-width: calc(100vw - 18.125rem);
    padding: 10px;
    transition: all 0.5s;
}

/* .sidepanel-right-margin {
  padding: 10px;
  margin-left: 18.125rem;
  max-width: calc(100vw - 18.125rem);
}

.sidepanel-right-margin .sidepanel-right-content {
  height: initial;
  max-width: 93.75rem;
} */

.sidepanel-right-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 93.75rem;
}

.icon-screen,
.icon-template,
.icon-page {
    display: inline-block;
    margin-left: -10px;
    width: 32px;
    text-align: center;
}

.icon-screen svg,
.icon-template svg,
.icon-page svg {
    width: 1.25rem;
}

.sidepanel-group {
    display: flex;
    flex-direction: column;
}

.sidepanel-group a {
    margin-bottom: 4px;
    margin-top: 4px;
    text-decoration: none;
    color: hsla(0, 0%, 100%, 0.4) !important;
}

.sidepanel-group a.selected,
.sidepanel-group a:hover {
    font-weight: 600;
    color: white !important;
}

.pannel {
    flex: 1 1;
    max-width: calc(100vw - 18.125rem);
    padding: 10px;
    transition: all 0.5s;
}

.card {
    width: 100%;
    padding: 0.9375rem 1.5625rem 1.5625rem;
    background: var(--white);
    border-radius: 0.625rem;
    filter: var(--drop-shadow);
    margin: 2rem;
    border: none;
}

.card-title-container {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 0.625rem;
}

.card-title-container .btn {
    margin-bottom: 0.625rem;
}

.btn {
    border: none;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    /* display: inline-flex; */
    align-items: center;
    transition-duration: 150ms;
    text-align: center;
    padding: 0.8125rem 2rem;
    border-radius: 0.25rem;
}

.btn-transparent {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-transparent:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-blue {
    background-color: var(--blue);
}

.btn-blue:hover {
    color: white;
    background-color: var(--primary-color-dark);
}

.btn-primary {
    background-color: var(--blue);
}

.btn-primary:hover {
    color: white;
    background-color: var(--primary-color-dark);
}

.btn-primary:focus {
    border: none;
    box-shadow: none;
}

.btn-danger {
    background-color: var(--red);
}

.btn-danger:hover {
    color: white;
    background-color: var(--red-darker);
}

.btn-danger:focus {
    border: none;
    box-shadow: none;
}

.btn-red {
    background-color: var(--red);
}

.btn-red:hover {
    color: white;
    background-color: var(--red-darker);
}

.btn-small {
    width: fit-content;
    padding-right: 3rem;
    padding-left: 3rem;
}

.screen-list .list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.screen-list .fake-screen {
    flex-basis: 32%;
    height: 1rem;
}

.screen-list .screen {
    flex-basis: 32%;
    box-sizing: border-box;
    background-color: var(--background);
    /* height: 15.25rem; */
    position: relative;
    margin-bottom: 1rem;
}

.screen .empty-zone {
    height: 15.25rem;
}

.screen-list .screen:hover {
    cursor: pointer;
}

.screen-list .screen .bottom-bar:hover {
    cursor: initial;
}

.screen-list .screen:nth-child(2n + 1) .bottom-bar {
    background-color: var(--background);
    color: black;
}

.screen-list .screen:nth-child(2n + 1) .bottom-bar a {
    color: black;
}

.screen-list .screen .bottom-bar {
    /* position: absolute;
  bottom: 0;
  right: 0;
  left: 0; */
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blue);
    color: white;
}

.screen-list .screen .bottom-bar span {
    flex: 1;
    padding: 10px;
    font-weight: 600;
    font-size: 1.1429rem;
    cursor: pointer;
}

.screen-list .screen .bottom-bar div {
    margin-right: 0.7143rem;
}

.screen-list .screen .bottom-bar a {
    padding: 6px 0px;
    width: 2.2857rem;
}

/* .screen-list .screen .bottom-bar button svg {
  margin-top: 2px;
}

.screen-list .screen .bottom-bar button:focus {
  box-shadow: none;
} */

.screen-list .screen.empty-screen {
    background-color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-add-screen {
    margin-bottom: 1rem;
    border-radius: 0;
}

.screen-list .screen .btn-add {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
}

select {
    background-color: var(--light-gray) !important;
    border: none !important;
    height: 47px !important;
}

.clickable {
    cursor: pointer;
}

#cke_template_content {
    width: 100%;
}

table thead th {
    padding-right: 10px;
    color: var(--gray);
    font-weight: 700;
}

.th-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.table-listing {
    margin-top: 1.25rem;
}

table thead input {
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 3px;
}

table thead input::placeholder {
    color: var(--gray);
    font-weight: 600;
}

table thead input {
    color: var(--gray);
    font-weight: 600;
}

table tbody tr {
    border-top: 2px solid var(--border-color);
}

table tbody td {
    color: var(--black);
    padding-bottom: 15px;
    padding-top: 15px;
}

table tbody td:not(:last-child) {
    padding-left: 5px;
}

table tbody td:first-of-type {
    padding-left: 5px;
}

.dropdown-toggle::after {
    display: none;
}

.btn-logout {
    color: var(--red);
}

.error-text {
    color: var(--red);
}

.back-text {
    display: flex;
    align-items: center;

    font-weight: 700;
    font-size: 0.8571rem;
    letter-spacing: 1px;

    margin-top: 1.4286rem;
    margin-bottom: 1.4286rem;
}

.back-text a:hover {
    color: var(--blue);
    cursor: pointer;
    text-decoration: underline;
}

.back-text svg {
    color: var(--primary-color);
    width: 14px;
}

.back-text a {
    color: var(--primary-color);
    margin-left: 10px;
}

.raw-twig-content table tbody tr {
    border-top: 1px solid black;
}

.helper-icon-container {
    background-color: var(--background);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    height: 100%;
    margin-left: 0.5rem;
    padding: 0.125rem;
}

.helper-icon {
    display: block;
    width: 1.0714rem;
    height: 1.0714rem;
    margin: auto;
    color: var(--primary-color);
    cursor: pointer;
}

.helper-icon-container:hover {
    background-color: var(--primary-color);
}

.helper-icon-container:hover > .helper-icon {
    color: var(--background);
}

.url-input-label {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0.125rem;
}

.popover {
    display: none;
    position: absolute;
    transform: translate(16.0714rem, -50px);

    width: 25rem;
    height: fit-content;
    padding: 1rem;

    font-size: 1rem;

    background-color: var(--white);
    border: 1px solid var(--background);
    border-radius: 5px;

    filter: var(--drop-shadow-darker);
}

.helper-icon-container:hover > .popover {
    display: block;
}

.disabled-cursor {
    cursor: not-allowed;
}

.disabled {
    pointer-events: none;
}

p {
    font-size: 1rem;
}

.bg_page {
    width: 100%;
    height: auto;
    max-height: 100vh;
}

.page_content {
    position: absolute;
    left: 35px;
    right: 35px;
    bottom: 20px;
    top: 20px;
}

#real_page_uploadedFile {
    display: none;
}

.add-screen-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* margin-top: 1rem; */
    font-size: 1.5rem;
}

.add-screen-row:hover {
    border-radius: 10px;
    outline: 2px solid var(--border-color);
}

.separator {
    border-top: 2px solid var(--border-color);
    margin-top: 5px;
    margin-bottom: 5px;
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--black);
}

.multi-select-force-position {
    position: fixed !important;
    transform: none !important;
    left: 2.1429rem !important;
    right: 2.1429rem !important;
    top: 9.5714rem !important;
}

.share-screen-icon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem 0 3rem;
    height: 27px;
    color: var(--white);
    background-color: var(--secondary-color);
}

.share-screen-icon:hover {
    background-color: var(--secondary-color-light);
}

.full-center {
    position: absolute;
    display: flex;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color), 0.25);
    box-shadow: 0 0 0 0.2rem
        color-mix(in srgb, var(--primary-color) 20%, transparent);
}
