/* Fonts */

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/materialicons.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;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}


h2 {
    margin-left: 5px;
}

a {
    text-decoration: none;
    color: #333;
}

table {
    text-align: left;
    line-height: 40px;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #F5F0F6;
    width: 100%;
    margin: 20px auto;
    border-radius: .25rem;
}

thead tr:first-child {
    color: #fff;
    border: none;
}

th:first-child,
td:first-child {
    padding: 0 15px 0 20px;
}

thead tr:last-child th {
    border-bottom: 3px solid #ddd;
}

tbody tr:hover {
    background-color: #f2f2f2;
    cursor: default;
}

tbody tr:last-child td {
    border: none;
}

tbody td {
    border-bottom: 1px solid #ddd;
}

td:last-child {
    text-align: right;
    padding-right: 10px;
}

.hidden {
    display: none;
}

.button {
    color: #aaa;
    cursor: pointer;
    vertical-align: middle;
    margin-top: -4px; 
}

.edit:hover {
    color: #0a79df;
}

.line_style:hover,
.play_arrow:hover {
    color: #E8222D;
}

.toll:hover {
    color: #2B4162;
}

.delete:hover {
    color: #dc2a2a;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}

.fields {
    margin: 20px 0 20px 0;
}

.already-added-npc-data td {
    text-align: center !important;
}

#current-topic {
    font-size: 25px;
}












header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(10,16,18,.94);
    box-shadow:0 4px 18px rgba(0,0,0,.28);
    backdrop-filter:blur(8px);
}

.navbar{
    display:flex;
    align-items:center;
    width:100%;
    height:88px;
    padding:0 40px;
}

.navbar .logo{
    flex:0 0 300px;
}

.navbar .logo img{
    width:280px;
    height:auto;
    display:block;
}

.navbar .nav{
    flex:1;
    display:flex;
    justify-content:space-evenly;
    align-items:center;
    margin:0;
    padding:0;
    list-style:none;
}

.navbar .nav .item{
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:center;
    height:88px;
    margin:0;
    padding:0;
}

.navbar .nav .item a{
    position:relative;
    display:inline-block;
    color:#ffffff !important;
    text-decoration:none;
    font-family:"Segoe UI",Arial,sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1;
    padding:0;
}

.navbar .nav .item a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#ffffff;
    transition:width .25s ease;
}

.navbar .nav .item a:hover::after{
    width:100%;
}

.navbar .nav .item a:hover,
.navbar .nav .item a:visited,
.navbar .nav .item a:active{
    color:#ffffff !important;
}

#mainHeader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    transition:transform .4s ease;
}

#mainHeader.nav-hidden{
    transform:translateY(calc(-100% + 24px));
}

.nav-hide-toggle{
    position:absolute;
    left:50%;
    bottom:-24px;
    transform:translateX(-50%);
    width:46px;
    height:24px;
    border:none;
    border-radius:0 0 8px 8px;
    background:rgba(10,16,18,.95);
    color:#fff;
    font-size:14px;
    cursor:pointer;
    box-shadow:0 4px 12px rgba(0,0,0,.35);
    z-index:1001;
}

.nav-hide-toggle.closed{
    bottom:-24px;
    width:70px;
    height:24px;
    font-size:18px;
}

#mainHeader{
    transition:transform .3s ease;
}

#mainHeader.nav-hidden{
    transform:translateY(-100%);
}









.scrolled {
    transition: 0.5s ease;
}

.scrolled.navbar {
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: 0.5s ease;
}

.scrolled.navbar .nav .item {
    line-height: 40px;
    transition: 0.5s ease;
}

.scrolled.navbar .nav .item .contact {
    display: inline-block;
    background-color: #ffffff;
    height: 40px;
    line-height: 30px;
    padding: 5px;
    border-radius: 2px;
    transition: 0.5s ease;
}

.scrolled.navbar .logo {
    float: left;
    display: inline-block;
    margin-top: 5px;
    margin-left: 5%;
    width: 40px;
    height: 40px;
    background-color: firebrick;
    transition: 0.5s ease;
}


/*form styles*/

.alreadyform {
    width: 600px;
    margin: 0px auto;
    text-align: center;
    position: relative;
}

.alreadyform fieldset {
    background: white;
    border: 0 none;
    padding: 20px 0px 20px 0px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.msform {
    width: 600px;
    margin: 50px auto;
    text-align: center;
    position: relative;
}

.msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;
    position: relative;
}

.msform fieldset:not(:first-of-type) {
    display: none;
}


/*inputs*/

.msform input,
.msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
}


/*buttons*/

.msform .action-button {
    width: 100px;
    background: #27AE60;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

.msform .previous-action-button {
    width: 100px;
    background: #D74B4B;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

.msform .cancel-action-button {
    width: 100px;
    background: #FFF;
    color: #777;
    font-weight: bold;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

.msform .delete-action-button {
    width: 100px;
    background: #d14035;
    color: #FFF;
    font-weight: bold;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

.msform .action-button {
    width: 100px;
    background: #27AE60;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

.msform .action-button:hover,
.msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}

.msform .delete-action-button:hover,
.msform .delete-action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #d14035;
}


/*headings*/

.fs-title {
    font-size: 15px;
    color: #2C3E50;
    margin-bottom: 10px;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}


/*progressbar*/

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: #888;
    text-transform: uppercase;
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 10px;
    color: #333;
    background: white;
    border-radius: 3px;
    margin: 0 auto 5px auto;
}


/*progressbar connectors*/

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #AAA;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1;
    /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #27AE60;
    color: white;
}


/* Select options */

.select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: #2c3e50;
    background-image: none;
    color: #fff;
}

.select-edit select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    color: #000;
    border: 1px #000 !important;
}


/* Custom Select */

.select {
    margin: 0px auto;
    position: relative;
    display: block;
    width: 20em;
    height: 3em;
    line-height: 3;
    background: #2c3e50;
    overflow: hidden;
    border-radius: .25em;
}

.select-edit {
    margin: 0px auto;
    position: relative;
    display: block;
    height: 3em;
    line-height: 3;
    margin-bottom: 30px;
    background: #E9EAED;
    overflow: hidden;
    border-radius: .25em;
}

select {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 0 0 .5em;
    /* color: #fff; */
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}


/* Arrow */

.select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0 1em;
    background: #34495e;
    pointer-events: none;
}

.select-edit::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0 1em;
    background: #E9EAED;
    pointer-events: none;
}


/* Transition */

.select:hover::after {
    color: #f39c12;
}

.select::after,
.select-edit::after {
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}


/* Alert Message */

.info-msg,
.success-msg,
.warning-msg,
.error-msg {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
}

.info-msg {
    color: #cfe0f9;
    background-color: #16335F;
}

.success-msg {
    color: #DEDBA7;
    background-color: #33655b;
}

.warning-msg {
    color: #9F6000;
    background-color: #FEEFB3;
}

.error-msg {
    color: #fffadf;
    background-color: #d14035;
}

.fixed {
    position: fixed;
    bottom: 0;
    right: 0;
}

.success {
    color: #DEDBA7;
}

.error {
    color: #fffadf;
}

.info {
    color: #cfe0f9;
}


/* ConversationContent */

.col-click:hover,
.col-click:focus {
    cursor: pointer;
}

.active-page {
    border-bottom: 2px solid #2E94B9;
}

.first-i-button {
    margin-top: 25px;
    margin-left: -36px;
    z-index: 1;
    max-height: 20px;
}

.branch-i-button {
    margin-top: 25px;
    margin-left: -36px;
    max-height: 20px;
}

/* --- Dark glass conversation list theme --- */
html,
body {
  width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("../images/background1.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 9;
}

/* Add spacing only to pages that need it */
body.padding {
    padding: 80px 0 60px 0;
}


header {
    background: rgba(10,16,18,.92) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.28) !important;
    backdrop-filter: blur(8px);
}

.navbar {
    height: 78px;
}

.navbar .nav {
    float: right;
    margin-right: 3%;
}

.navbar .nav .item {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 650;
    line-height: 78px;
    margin-right: 16px;
}

.navbar .nav .item a:hover {
    color: #dbeafe;
}

.navbar .logo {
    margin-left: 2.5%;
    margin-top: 4px;
    width: 112px;
    height: 70px;
}

.navbar .logo img {
    width: 118px;
    max-height: 70px;
    object-fit: contain;
}

section {
    width: 125% !important;
    max-width: 1650px !important;
    margin: 100px auto 70px auto !important;
    padding: 26px 28px 24px 28px !important;
    background: rgba(12,18,20,.84) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.42) !important;
    backdrop-filter: blur(7px);
}

h2 {
    margin: 0 0 22px 4px !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
}

section a {
    color: #ffffff !important;
}

section a:hover {
    color: #dbeafe !important;
}

table {
    width: 100% !important;
    margin: 0 auto !important;
    background: rgba(7,11,12,.64) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    line-height: 38px !important;
}

th {
    color: #ffffff !important;
    font-weight: 800 !important;
    background: rgba(255,255,255,.04) !important;
    border-bottom: 1px solid rgba(255,255,255,.18) !important;
}

td {
    color: #f8fafc !important;
}

th:first-child,
td:first-child {
    padding: 0 16px 0 18px !important;
}

tbody td,
td {
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

tbody tr:last-child td {
    border-bottom: none !important;
}

td:last-child {
    text-align: right !important;
    padding-right: 22px !important;
    white-space: nowrap;
}

.button,
.material-icons {
    color: #f8fafc !important;
    opacity: .85;
}

.button:hover,
.material-icons:hover {
    opacity: 1;
}

.edit:hover {
    color: #93c5fd !important;
}

.line_style:hover,
.play_arrow:hover {
    color: #fca5a5 !important;
}

.toll:hover {
    color: #c4b5fd !important;
}

.delete:hover {
    color: #fb7185 !important;
}









/* ============================================================================
   SEARCH BAR
   ============================================================================ */

.search-bar {
    width: 100%;
    margin: 16px 0 20px 0;
}

.search-bar-input {
    width: 100%;
    max-width: 640px;
    height: 42px;

    padding: 0 16px;

    background: rgba(10, 15, 17, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;

    color: #ffffff;
    font-size: 14px;

    outline: none;
    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.search-bar-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-bar-input:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.search-bar-input:focus {
    background: rgba(10, 15, 17, 0.9);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}