:root {
    --colorGreen: #52b694;
    --colorBlue: #5594c5;
    --colorRed: #c0345e;
}

g .active image {
    filter: drop-shadow(0px 0px 5px rgba(240, 0, 255, 1));
}

g .active path {
    filter: drop-shadow(0 0 5px rgba(240, 0, 255, 1));
}

/* body {
    overflow: hidden;
} */

.custom-btn {
    font-size: 0.5vw;
}

td p {
    margin: 0;
}

/* @media only screen and (min-width: 992px){  */

/* tbody {
  display: block;
  height: 600px;
  overflow: auto;
} */

thead,
tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

thead {
    width: calc(100% - 1em);
}

table {
    width: 100%;
}

/* }  */

/* ul { padding-left: 20px; }
.btn { font-size: .8em; }
.material-icons { vertical-align: bottom; } */

@media only screen and (max-width: 992px) {
    .content_table-head-id.enabled,
    .content_table-head-content.enabled,
    .content_table-head-tags.enabled,
    .content_table-head-info.enabled,
    .content_table-head-in-scenario.enabled,
    .content_table-head-in-shedule.enabled,
    .content_table-head-duration.enabled,
    .content_table-head-padding.enabled,
    .content_table-head-type.enabled,
    .content_table-row-id.enabled,
    .content_table-row-content.enabled,
    .content_table-row-tags.enabled,
    .content_table-row-info.enabled,
    .content_table-row-in-scenario.enabled,
    .content_table-row-in-shedule.enabled,
    .content_table-row-duration.enabled,
    .content_table-row-padding.enabled,
    .content_table-row-type.enabled {
        display: block !important;
        visibility: visible;
    }
}

.content_table-head-id.enabled,
.content_table-head-content.enabled,
.content_table-head-tags.enabled,
.content_table-head-info.enabled,
.content_table-head-in-scenario.enabled,
.content_table-head-in-shedule.enabled,
.content_table-head-duration.enabled,
.content_table-head-padding.enabled,
.content_table-head-type.enabled,
.content_table-row-id.enabled,
.content_table-row-content.enabled,
.content_table-row-tags.enabled,
.content_table-row-info.enabled,
.content_table-row-in-scenario.enabled,
.content_table-row-in-shedule.enabled,
.content_table-row-duration.enabled,
.content_table-row-padding.enabled,
.content_table-row-type.enabled {
    display: table-cell !important;
    visibility: visible;
}

.content_table-head-id,
.content_table-head-content,
.content_table-head-tags,
.content_table-head-info,
.content_table-head-in-scenario,
.content_table-head-in-shedule,
.content_table-head-duration,
.content_table-head-padding,
.content_table-head-type,
.content_table-row-content,
.content_table-row-id,
.content_table-row-tags,
.content_table-row-info,
.content_table-row-in-scenario,
.content_table-row-in-shedule,
.content_table-row-duration,
.content_table-row-padding,
.content_table-row-type {
    visibility: hidden;
    display: none !important;
}

#secondary-menu {
    width: 130px !important;
    right: 0px !important;
    top: 0px !important;
    left: auto !important;
}

.btn-small {
    margin: 0 0.5rem;
    font-size: 11px !important;
}

.drag-area {
    border-style: dashed;
    border-radius: 5px;
    border-width: 2px;
    border-color: #90caf9;
    height: 120px;
}

.toast {
    font-weight: 400 !important;
}

.toast.bad {
    background-color: #e53935 !important;
}

.toast.ok {
    background-color: #43a047 !important;
}

.toast.permanent {
    background-color: #546e7a !important;
}

.modal tbody {
    height: auto;
    overflow: auto;
}

.modal .col {
    word-wrap: break-word;
}

.modal .col.bold {
    font-weight: bold;
}

nav .brand-logo {
    width: 250px !important;
    /*margin-left: 30px !important;*/
}

.brand-logo img {
    width: 50%;
}

.brand-logo img {
    padding-left: 2% !important;
}

.delete-sort {
    display: none !important;
}

.delete-sort.show {
    display: block !important;
}

/* .edit-content-btn.disabled {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.delete-content-btn.disabled {
    pointer-events: auto !important;
    cursor: pointer !important;
} */

th::before {
    display: none !important;
}

.script-table [type="radio"]:checked + span:after,
.script-table [type="radio"].with-gap:checked + span:after {
    background-color: #ef9a9a;
}

.script-table [type="radio"]:checked + span:after,
.script-table [type="radio"].with-gap:checked + span:before,
.script-table [type="radio"].with-gap:checked + span:after {
    border: 2px solid #ef9a9a;
}

.content-script-table thead,
.script-table thead {
    width: 100% !important;
}

.script-table,
.content-script-table {
    background-color: #fff !important;
}

/* .content-table tbody,
.content-script-table tbody {
  height: 500px !important;
} */

.script-table tbody {
    height: 300px !important;
}

/* .left-block {
    height: 550px !important;
} */

.script-tags {
    overflow: auto;
    height: 180px !important;
}

/* .content-table,
#broadcast-table {
    background-color: #fff;
} */

.login-wrapper,
.register-wrapper {
    height: 85vh !important;
}

.login-wrapper .col,
.register-wrapper .col {
    margin: auto !important;
}

.row .nm {
    margin-bottom: 0 !important;
}

.login-wrapper a {
    font-weight: 600 !important;
}

.register-wrapper .input-field input[type="date"]:focus + label,
.register-wrapper .input-field input[type="text"]:focus + label,
.register-wrapper .input-field input[type="email"]:focus + label,
.register-wrapper .input-field input[type="password"]:focus + label {
    color: #01579b !important;
}

.register-wrapper .input-field input[type="date"]:focus,
.register-wrapper .input-field input[type="text"]:focus,
.register-wrapper .input-field input[type="email"]:focus,
.register-wrapper .input-field input[type="password"]:focus {
    border-bottom: 1px solid #01579b !important;
    box-shadow: 0 1px 0 0 #01579b !important;
}

.register-wrapper .input-field input[type="date"].valid,
.register-wrapper .input-field input[type="text"].valid,
.register-wrapper .input-field input[type="email"].valid,
.register-wrapper .input-field input[type="password"].valid {
    border-bottom: 1px solid #4fc3f7 !important;
    box-shadow: 0 1px 0 0 #4fc3f7 !important;
}

.register-wrapper .input-field input[type="date"].invalid,
.register-wrapper .input-field input[type="text"].invalid,
.register-wrapper .input-field input[type="email"].invalid,
.register-wrapper .input-field input[type="password"].invalid {
    border-bottom: 1px solid #e57373 !important;
    box-shadow: 0 1px 0 0 #e57373 !important;
}

.login-wrapper .input-field input[type="date"]:focus + label,
.login-wrapper .input-field input[type="text"]:focus + label,
.login-wrapper .input-field input[type="email"]:focus + label,
.login-wrapper .input-field input[type="password"]:focus + label {
    color: #f9a825 !important;
}

.login-wrapper .input-field input[type="date"]:focus,
.login-wrapper .input-field input[type="text"]:focus,
.login-wrapper .input-field input[type="email"]:focus,
.login-wrapper .input-field input[type="password"]:focus {
    border-bottom: 1px solid #f9a825 !important;
    box-shadow: 0 1px 0 0 #f9a825 !important;
}

.login-wrapper .input-field input[type="date"].valid,
.login-wrapper .input-field input[type="text"].valid,
.login-wrapper .input-field input[type="email"].valid,
.login-wrapper .input-field input[type="password"].valid {
    border-bottom: 1px solid #fbc02d !important;
    box-shadow: 0 1px 0 0 #fbc02d !important;
}

.login-wrapper .input-field input[type="date"].invalid,
.login-wrapper .input-field input[type="text"].invalid,
.login-wrapper .input-field input[type="email"].invalid,
.login-wrapper .input-field input[type="password"].invalid {
    border-bottom: 1px solid #e57373 !important;
    box-shadow: 0 1px 0 0 #e57373 !important;
}

.card .card-content p {
    position: relative;
}

.card .card-content p a {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

/* .scripts-new .card-content, */

.scripts .card-content,
.content-table .card-content {
    height: 625px !important;
}

.__scripts tbody {
    height: 215px !important;
}

/* .content-script-table .droppable {
  height: 520px !important;
} */

.droppable li {
    position: relative;
}

.droppable .list-counter {
    position: absolute !important;
    left: 10px;
    font-weight: 600;
    font-size: 0.8em;
    color: #9e9e9e;
}

/* .modal-overlay{
    display: none !important;
} */

/* .custom-handle {
    padding: 0 !important;
    right: 5px;
    top: 5px;
} */

.in {
    padding: 0 !important;
    position: relative !important;
}

.in tr td {
    display: none;
}

.script {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    /* background-color: #e57373; */
    /* overflow: hidden; */
    margin: 0 !important;
    line-height: 1;
}

.collapsible-body .script {
    z-index: 0 !important;
}

.script span {
    display: block;
    width: 30px;
    height: 14px;
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    cursor: move;
    color: black;
    line-height: 1rem;
}

.clone_wrapper {
    display: block;
    width: 30px;
    height: 14px;
    background-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    cursor: pointer;
}

.col .s8 tr {
    height: 53px !important;
}

.in .row div {
    font-size: 0.7vw !important;
    word-break: break-all;
}

main.push {
    padding-left: 300px;
    transition: 0.26s ease-in;
}

main {
    transition: 0.35s ease-out;
}

@media only screen and (max-width: 992px) {
    header,
    main,
    footer {
        padding-left: 0;
    }

    main.push {
        padding-left: 0;
        transition: 0.26s ease-in;
    }
}

.collection .collection-item.active {
    background-color: #e0e0e0 !important;
    color: #212121 !important;
}

.collection a.collection-item {
    color: #212121 !important;
}

.switch label input[type="checkbox"]:checked + .lever {
    background-color: #ffe082 !important;
}

.switch label input[type="checkbox"]:checked + .lever:after {
    background-color: #ffc107 !important;
}

.collapsible-body {
    padding: 1rem !important;
}

.waves-effect.waves-blue .waves-ripple {
    /* The alpha value allows the text and background color
      of the button to still show through. */
    background-color: rgba(33, 150, 243, 0.65);
}

.draggable #d_main {
    display: none !important;
}

/* .indicator {
  background-color: #ffe082 !important;
}
.tab a.active {
  background-color: #1e88e5 !important;
} */

.preloader {
    top: 0 !important;
    overflow: visible !important;
    /* opacity: 0.5 !important; */
}

.select-wrapper input.select-dropdown:focus {
    border-bottom: 1px solid #2196f3 !important;
}

.dropdown-content li > a,
.dropdown-content li > span {
    color: #2196f3 !important;
}

input.valid:not([type]),
input.valid:not([type]):focus,
input.valid[type="text"]:not(.browser-default),
input.valid[type="text"]:not(.browser-default):focus,
input.valid[type="password"]:not(.browser-default),
input.valid[type="password"]:not(.browser-default):focus,
input.valid[type="email"]:not(.browser-default),
input.valid[type="email"]:not(.browser-default):focus,
input.valid[type="url"]:not(.browser-default),
input.valid[type="url"]:not(.browser-default):focus,
input.valid[type="time"]:not(.browser-default),
input.valid[type="time"]:not(.browser-default):focus,
input.valid[type="date"]:not(.browser-default),
input.valid[type="date"]:not(.browser-default):focus,
input.valid[type="datetime"]:not(.browser-default),
input.valid[type="datetime"]:not(.browser-default):focus,
input.valid[type="datetime-local"]:not(.browser-default),
input.valid[type="datetime-local"]:not(.browser-default):focus,
input.valid[type="tel"]:not(.browser-default),
input.valid[type="tel"]:not(.browser-default):focus,
input.valid[type="number"]:not(.browser-default),
input.valid[type="number"]:not(.browser-default):focus,
input.valid[type="search"]:not(.browser-default),
input.valid[type="search"]:not(.browser-default):focus,
textarea.materialize-textarea.valid,
textarea.materialize-textarea.valid:focus,
.select-wrapper.valid > input.select-dropdown {
    border-bottom: 1px solid #2196f3 !important;
    -webkit-box-shadow: 0 1px 0 0 #2196f3 !important;
    box-shadow: 0 1px 0 0 #2196f3 !important;
}

.input-field input[type="text"]:focus + label {
    color: #2196f3 !important;
}

.input-field input[type="text"]:focus {
    border-bottom: 1px solid #2196f3 !important;
    box-shadow: 0 1px 0 0 #2196f3 !important;
}

.input-field input[type="number"]:focus + label {
    color: #2196f3 !important;
}

.input-field input[type="number"]:focus {
    border-bottom: 1px solid #2196f3 !important;
    box-shadow: 0 1px 0 0 #2196f3 !important;
}

.input-field input[type="email"]:focus + label {
    color: #2196f3 !important;
}

.input-field input[type="email"]:focus {
    border-bottom: 1px solid #2196f3 !important;
    box-shadow: 0 1px 0 0 #2196f3 !important;
}

.input-field input[type="password"]:focus + label {
    color: #2196f3 !important;
}

.input-field input[type="password"]:focus {
    border-bottom: 1px solid #2196f3 !important;
    box-shadow: 0 1px 0 0 #2196f3 !important;
}

/* .sidenav-overlay {
    display: none !important;
} */

.sidenav .select-wrapper input.select-dropdown {
    font-weight: 400;
    height: 2.5rem;
    line-height: 2.5rem;
}

.nav_panel .select-wrapper .caret {
    fill: #fff;
}

/* .nav_panel .input-field input[type=text]:focus + label {
    color: #e91e63 !important;
}

.nav_panel .input-field input[type=text]:focus {
    border-bottom: 1px solid #e91e63 !important;
    box-shadow: 0 1px 0 0 #e91e63 !important;
} */

.nav_panel .input-field input[type="text"] {
    color: #fff !important;
    /*box-shadow: 0 1px 0 0 #fff !important;*/
}

.nav_panel .input-field input[type="text"] {
    border-bottom: 1px solid #fff !important;
    /*box-shadow: 0 1px 0 0 #fff !important;*/
}

.input-field textarea:focus + label {
    color: #2196f3 !important;
}

.row .input-field textarea:focus {
    border-bottom: 1px solid #2196f3 !important;
    box-shadow: 0 1px 0 0 #2196f3 !important;
}

.disabled i {
    color: #9f9f9f !important;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
    box-shadow: inset 1px 1px 0 rgba(226, 226, 226, 0.1), inset 0 -1px 0 rgba(226, 226, 226, 0.1);
}

@media only screen and (max-width: 992px) {
    .sidenav.sidenav-fixed {
        margin-top: 0 !important;
    }
}

@media only screen and (max-width: 992px) {
    .modal {
        width: 80% !important;
    }
}

[type="checkbox"]:checked + span:not(.lever):before {
    border-right: 2px solid #2196f3 !important;
    border-bottom: 2px solid #2196f3 !important;
}

.collapsible-header.opacity > * {
    opacity: 0.3 !important;
}

.select-wrapper input.select-dropdown {
    font-size: 14px !important;
}

.dropdown-content li > a,
.dropdown-content li > span {
    font-size: 14px !important;
}

.breadcrumb {
    font-size: 14px !important;
}

.breadcrumb:before {
    font-size: 14px !important;
}

.over_true {
    overflow: auto !important;
}

@media only screen and (max-width: 992px) {
    #slide-out-content {
        margin-top: 0 !important;
    }
}

.active.btn-floating {
    background-color: #2196f3 !important;
    font-weight: 500;
}

.tab .btn-floating {
    background-color: #bdbdbd;
}

/* .tab {
  padding-left: 5px !important;
  padding-right: 5px !important;
} */

.content-script-table tr {
    min-height: 45px;
}

.droppable .chip {
    max-width: 100%;
    overflow: visible;
    padding-left: 25px !important;
    text-overflow: ellipsis;
    position: relative;
    /* height: auto; */
}

.droppable .chip i {
    cursor: pointer;
    float: right;
    font-size: 16px;
    /* padding-left: 8px; */
}

.chip .dropdown-content p {
    word-break: break-all;
}

/* .resize-drag {
  background-color: #29e;
  color: white;
  font-size: 20px;
  font-family: sans-serif;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 20px;
  touch-action: none;

  width: 120px;


  box-sizing: border-box;
} */

.new-content_progress,
.edit_progress {
    position: absolute;
    left: 0;
    margin: 0 !important;
    /* height: 2%; */
    z-index: 1;
    background-color: transparent !important;
}

.edit_progress .determinate,
.new-content_progress .determinate {
    background-color: red !important;
}

.custom_card .card-content,
.custom_card .card-action {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.custom_card .card-action a {
    margin-right: 0 !important;
}

.custom_card .card-title {
    font-weight: 400 !important;
}

.sidenav .collapsible-body > ul:not(.collapsible) > li.active,
.sidenav.sidenav-fixed .collapsible-body > ul:not(.collapsible) > li.active {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.sidenav .list-counter {
    display: none;
}

/* Layers */
.layerGroup {
    display: none;
}
.layerGroup_active {
    display: block;
}

.layers {
}

.layersItem {
    position: relative;
    margin-bottom: 5px;
    padding: 1px 5px;
    border: 1px solid #ddd;
}
.layersItem:hover,
.layersItem_active {
    border-color: var(--colorBlue);
    cursor: pointer;
}

.layerTitle {
}

.layerLevel {
    position: absolute;
    right: 1px;
    bottom: 1px;
    margin: 0;
    padding: 3px;
    background: #222;
    text-align: right;
    font-size: 12px;
    color: #f1f1f1;
}

.layerImageWrapper {
    display: block;
    min-height: 30px;
    max-height: 240px;
}
.layerImage {
    display: block;
    width: 100%;
}
button:focus.focus-fade {
    background-color: rgba(0, 0, 0, 0.04);
}
/* // Layers */

@font-face {
    font-family: "Material Icons";
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/materializeicons.woff2) format("woff2");
}

.material-icons {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}
