:root{
    --extralight: #4B81D1;
    --light: #3060A5;
    --mid: #25508E;
    --dark: #152A47;
    --extradark: #071223;
    --preview: #1de01d;
    --onair: #e01d1d;
}

body {
    background-color: var(--dark);
    color: white;
    font-family: "Ubuntu";
    font-size: 1em;
    margin: 0;
    min-width: 544px;
}

button {
    background-color: var(--light);
    border: none;
    padding: .5em;
    padding-left: 2em;
    padding-right: 2em;
    margin: .5em;
    color: white;
    font-family: "Ubuntu";
    font-size: 1em;
    border-radius: 0 1em 0 1em;
    transition: background-color 0.1s;
    cursor: pointer;

}

.previewButton{
    border-style: solid;
    border-width: 0px 0px 0px 5px;
    border-color: #1de01d;
}

.onAirButton{
    border-style: solid;
    border-width: 0px 0px 0px 5px;
    border-color: #e01d1d;
}

button:hover {
    background-color: var(--extralight);
}

button:disabled {
    background-color: var(--dark);
    color: var(--mid);
    border-style: solid;
    border-width: 1px;
    cursor: default; }

textarea {
    background-color: var(--extradark);
    border: none;
    padding: .5em;
    padding-left: .5em;
    padding-right: .5em;
    margin: .5em;
    color: white;
    font-family: "Ubuntu";
    font-size: 1em;

}

input {
    background-color: var(--extradark);
    border: none;
    padding: .5em;
    padding-left: .5em;
    padding-right: .5em;
    margin: .5em;
    color: white;
    font-family: "Ubuntu";
    font-size: 1em;

}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 15rem; }
  
  input[type="range"]::-webkit-slider-runnable-track {
    background: var(--extradark);
    height: 1em; }
  
  input[type="range"]::-moz-range-track {
    background: var(--extradark);
    height: 1em; }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--extralight);
    height: 1em;
    width: 1em; }

.colorInput {
    width: 100px;
    padding: 0;
}


select {
    background-color: var(--extradark);
    border: none;
    padding: .5em;
    padding-left: .5em;
    padding-right: .5em;
    margin: 10px;
    color: white;
    font-family: "Ubuntu";
    font-size: 1em;

}

.category {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    flex-wrap: wrap;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: .5em;
    padding-bottom: .5em;
    flex-wrap: wrap;
}

.category-options {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: stretch;
    border-radius: 0 1em 0 1em;
    flex-wrap: wrap;
}

.category-group {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--mid);
    margin: .5em;
    padding: .5em;
    border-radius: 0 1em 0 1em;
    flex-wrap: wrap;
}

.category-thumbnail{
    width:256px;
    background-color: var(--extradark);
    padding: 1em;
    margin: .5em;
}

.category-vertical{
    display: flex;
    flex-direction: column;
}

.category-horizontal{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.category-itemgroup{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.light-thumbnail{
    background-color: var(--extralight);
}

.category-thumbnail-image{
    width: 256px;
}

.controls-horizontal-group{
    display: flex;
}

.category-title {
    vertical-align: middle;
    padding: .5em;
    margin-top: .5em;
    margin-right: 1em;
    border-radius: 0 1em 0 0;
}

.category-group-title {
    vertical-align: middle;
    flex-wrap: wrap;
}

@keyframes flashing {
    0%   {opacity: 1;}
    50%  {opacity: .3;}
    100% {opacity: 1;}

}

.category-group-title-highlight {
    vertical-align: middle;
    flex-wrap: wrap;
    font-weight: bold;
    animation-name: flashing;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.category-split{
    display: flex;
    flex-direction: row;
}

.controls{
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
}

.indev {
    opacity: 20%;
}

.header {
    background-color: var(--extradark);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    -webkit-app-region: drag;
    app-region: drag;
}

.header-buffer {
    height: 50px;
}

.header-logo {
    background-image: url("/assets/logos/gfx_elex_wordmark_light@svg.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 220px;
    height: 32px;
    margin: 10px;
}

.header-nologopadding{
    width:1em;
}

.header-title {
    font-weight: bold;
    font-size: 1.275em;
    margin-bottom: .15em;
}

.header-title-version {
    font-weight: 500;
    color: var(--extralight);
    padding-right: 2em;
}

.nav {
    display: flex;
    margin-left: auto;
    -webkit-app-region: no-drag;
    app-region: no-drag;
    overflow: hidden;
}

.nav ul {
    transition: background-color 0.1s;
    margin: 0;
    padding: 1em;
}

.nav ul span {
    vertical-align: middle;
}

.nav ul:hover {
    background-color: var(--mid);
    cursor: pointer;
}

.footer {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: stretch;
    width: 100%;
    bottom: 0;
}

.footer-clock {
    position: fixed;
    right: 1em;
    bottom: .5em;
    display: flex;
}

.footer-clock-text {
    font-weight: bold;
    font-size: 2em;
}

.footer-buffer {
    height: 100px;
}

.console {
    padding: 1em;
    margin-right: -2em;
    background-color: var(--extradark);
}

.info {
    padding: 1em;
    color: var(--extralight);
    background-color: var(--dark);
}

a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.edit-shows-container {
    display: flex;
    flex-wrap: wrap;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: .5em;
    padding-bottom: .5em;
}

.edit-ticker-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: .5em;
    padding-bottom: .5em;
}

.show-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--mid);
    margin: .5em;
    padding: .5em;
    border-radius: 0 1em 0 1em;
    flex-wrap: wrap;
}

.ticker-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--mid);
    margin: .5em;
    padding: .5em;
    border-radius: 0 1em 0 1em;
    flex-wrap: wrap;
}

.ticker-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ticker-input-box {
    width: 90%;
    height: 7em;
}

.control-divider{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

.preview{
    width:480px;
    height: 100%;
    overflow: hidden;
    margin: 1em;
    flex: 0 0 480px;
}

.preview-title {
    width: 440px;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: var(--mid);
    border-radius: 0 3em 0 0;
}

.preview-frame {
    width: 1920px;
    height: 1080px;
    -moz-transform: scale(0.25, 0.25);
    -webkit-transform: scale(0.25, 0.25);
    -o-transform: scale(0.25, 0.25);
    -ms-transform: scale(0.25, 0.25);
    transform: scale(0.25, 0.25);
    -moz-transform-origin: top left;
    -webkit-transform-origin: top left;
    -o-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    background: 
    repeating-conic-gradient(#111111 0% 25%, #1d1d1d 0% 50%) 
      50% / 60px 60px;
}

.preview-frame-container{
    width: 480px;
    height: 270px;
    overflow:hidden;
}

.seperator{
    height:1em;
}

::-webkit-scrollbar {
    background-color: var(--mid);
    width: 10px; }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--extralight); }

.login-overlay{
    background-color: var(--dark);
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-modal{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--mid);
    border-radius: 0 1em 0 1em;
    padding: 1em;
}

.login-logo{
    background-image: url("/assets/logos/gfx_elex_wordmark_light@svg.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 250px;
    height: 100px;
    margin: 10px;
}

.login-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-error-field{
    border-radius: 0 1em 0 1em;
    width: 200px;
    text-align: center;
    padding: 1em;
}



.document{
    padding: 2em;
    padding-left: 10%;
    padding-right: 10%;
    
}

.c4{
    font-size: 2em;
}

.c3{
    font-weight: bold;
}

.hidden{
    display: none !important; 
}

.no-javascript{
    background-color: var(--dark);
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
}

.loading{
    background-color: var(--dark);
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

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

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

.profilePic{

    width:40px;
    min-width: 40px;
    height:40px;
    background-size: contain;
    transition: all 0.2s;
    margin-left: .4em;
    border-radius: 0 1em 0 1em;
    opacity: 100;
    transform: translate(0px,0px)

}

.user {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--mid);
    margin-left: auto;
    transition: all 0.1s;
    margin: 0;
    border-radius: 0 0 0 1em;
    overflow: hidden;
    /* height: 100%; */
}

.user:hover > .logout{opacity: 100; transform: translate(0px,0px)}  
.user:hover > .profilePic {opacity: .33; transform: translate(-100px,0px)}
.user:hover > .userName {opacity: .33; transform: translate(-100px,0px)}

.logout{
    position: absolute;
    right: 0em;
    opacity: 0;
    padding: 1em;
    transition: all 0.2s;
    transform: translate(100px,0px)

}

.userName{
    padding: 1em;
    opacity: 100;
    transition: all 0.2s;
    transform: translate(0px,0px)

}

.user:hover {
    background-color: var(--extralight);
    cursor: pointer;
}

.inlineTag{
    background-color: var(--dark);
    padding: .3em;
    border-radius: 4em;
    font-weight: bold;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 40
}

.nav-icon{

    display:none !important;

}

.nav-text{

    display: block
    
}


.installVisible{
    display: block;
}

.installHidden{
    display: none;
}

.crop-tool{

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom:0;
    background-color: #070d24b4;
    z-index: 1;
    display: flex;
    align-items: center;
    align-content: center;
    align-self: center;
    justify-content: center;
    justify-items: center;
    flex-direction: column;
    flex-direction: column;
}

.crop-image{
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.crop-modal{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    align-self: center;
    justify-content: center;
    justify-items: center;
    width: 90vw;
    height: 80vh;
    background-color: var(--dark);
    box-shadow: 0px 5px 30px var(--extradark);

}

.crop-output-canvas{
    display: absolute;
}

.text-licence{
    font-size: 2em;
    padding: .5em;
    margin: .5em;
    border-radius: 0 .5em 0 .5em;
}

.text-licence-demo{
    background-color: #e02c2c;
}

.text-licence-full{
    background-color: #b0e02c;
    color:#000000
}

@keyframes onairnotify {
    0% {
      opacity: 1; }
    25% {
      opacity: 0; }
    50% {
      opacity: 1; }
    75% {
      opacity: 0; }
    100% {
      opacity: 1; } }
  
  @keyframes offairnotify {
    0% {
      opacity: 1; }
    50% {
      opacity: 0; }
    100% {
      opacity: 1; } }


.status {
  display: inline;
  background-color: var(--mid);
  font-weight: bold;
  font-size: .8em;
  padding: .3em;
  padding-left: 1em;
  padding-right: 1em;
  border-radius: 0 1em 0 1em;
  margin-right: 1em;
  animation-name: offairnotify;
  animation-duration: .6s;
  animation-iteration-count: 1; }

.onair {
  background-color: #e01d1d !important;
  animation-name: onairnotify;
  animation-duration: .6s;
  animation-iteration-count: 1; }

  .outputs-container {
    display: flex;
    flex-direction: column;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: .5em;
    padding-bottom: .5em; }

  .output-item {
    display: flex;
    flex-direction: row;
    background-color: var(--mid);
    border-radius: 0 1em 0 1em;
    margin: .5em;
    padding: .5em; }
  
  .output-info {
    display: block; }
  
  .output-item-link {
    padding: 1em;
    font-size: 2em; }
  
  .output-item-options {
    background-color: var(--dark);
    border-radius: 0 1em 0 1em;
    padding: 1em;
    margin: 1em; }

@media only screen and (max-width: 1435px) {

    .only-desktop{
        display: none;
    }

}


@media only screen and (max-width: 1180px) {

    .control-divider{
        display:flex;
        flex-direction: column-reverse;
        justify-content: space-between;
    }

    .edit-ticker-container {
        grid-template-columns: 1fr 1fr;
    }

    .header-logo {
        display: none;
    }

    .header-title {
        padding-left: 1em;
        font-size: 1em;
    }

    .nav-text{

        display:none;
    
    }

    .preview{
        flex: 0 0 320px;
    }

    .nav-icon{
        display: block !important;
    }

    .userName{
        display: none;
    }

    .profilePic{
        margin-right: .5em;
    }

}

@media only screen and (max-width: 760px) {

    
  .output-item {
    display: block; }
  .output-item-link {
    font-size: 1em; }
  .output-item-options {
    display: block; }

}

@media only screen and (max-width: 460px) {
    .edit-ticker-container {
        grid-template-columns: 1fr;
    }

    .footer-clock {
        display: none;
    }

    .nav {
        font-size: .7em;
    }

    .header-title {
        padding-left: 1em;
        font-size: .7em;
    }

}

@media all and (display-mode: standalone) {
    
   

  }

@media (display-mode: window-controls-overlay) { 
    
    .header{
        left: env(titlebar-area-x, 0);
        top: env(titlebar-area-y, 0);
        width: env(titlebar-area-width, 100%);
        height: env(titlebar-area-height, 33px);
    }

    .header-title {
        padding-left: 1em;
        font-size: 1em;
    }

    .nav{
        height: env(titlebar-area-height, 33px);
    }

    .nav ul {
        transition: background-color 0.1s;
        margin: 0;
        padding: 0.3em;
        padding-left: 1em;
        padding-right: 1em;
        height: env(titlebar-area-height, 33px);
    }

    .nav-text{

        display:none;
    
    }

    .nav-icon{
        display: block !important;
    }


    .profilePic{
        margin-right: .5em;
        width:20px;
        min-width: 20px;
        height:20px;
        border-radius: 1em;
    }

    .header-buffer {
        height: env(titlebar-area-height, 33px);
    }
    
  }