body,html {
    color: #FFF;
    background: #252e39;
    font-family: Arial !important;
}

#gicon {
    width:158px;
    margin: 0;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

.icon {
    margin-left: auto;
    margin-right: auto;
}

h3 {
    text-align: center;
}

.hl {
    color: #14a7d0;
}

input {
    color: black;
}

.error {
    background-color: #d03914;
    color: black;
    width: 300px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

.ok {
    background-color: #14d07e;
    color: black;
    width: 300px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

.vac {
    width: 300px;
    height: 50px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.cqform {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    text-align: center;
}

table.center {
    margin-left:auto; 
    margin-right:auto;
}
.pure-table-striped tr:nth-child(2n-1) td {
    background-color: #252e39;
}
.pure-table-striped tr:nth-child(2n) td {
    background-color: #4a5c72;
}
.pages {
    text-align: center;
    word-spacing: 15px;
}
.big {
    font-size: 26px !important;
}
.small {
    font-size: 14px !important;
}
.small img {
    float: right;
    width: 25px;
}

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/*
This is the parent `<div>` that contains the menu and the content area.
*/
#layout {
    position: relative;
    left: 0;
    padding-left: 0;
    top:0;
    background-color: #161b22;
}
    #layout.active #menu {
        left: 180px;
        width: 180px;
    }

    #layout.active .menu-link {
        left: 180px;
    }
/*
The content `<div>` is where all your content goes.
*/
.content {
    margin: 0 auto;
    padding: 0 2em;
    max-width: 800px;
    margin-bottom: 50px;
    line-height: 1.6em;
    background-color: #161b22;
    text-align: justify;
}
.wcontent {
    margin: 0 auto;
    padding: 0 2em;
    margin-bottom: 50px;
    margin-left: 200px;
    line-height: 1.6em;
    background-color: #161b22;
    text-align: justify;
}

.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    text-align: right;
    font-size: 87.5%;
    margin-top: 3.4286em;
    padding: 1.1429em;
    background: #252e39;
}

.header {
     margin: 0;
     color: #FFF;
     text-align: center;
 }
    .header h1 {
        margin: 0.2em 0;
        font-size: 3em;
        font-weight: 300;
    }
     .header h2 {
        font-weight: 300;
        color: #ccc;
        padding: 0;
        margin-top: 0;
    }

.content-subhead {
    margin: 50px 0 20px 0;
    font-weight: 300;
    color: #888;
}

a,a:visited {
    color: #14a7d0;
    text-decoration: none;
}

a:hover {
    color: #90d2e5;
    text-decoration: none;
}

.divisor {
    background-color: #252e39 !important;
}

.btn {
    color: #252e39;
}



/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu {
    margin-left: -180px; /* "#menu" width */
    width: 180px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000; /* so the menu or its navicon stays above all content */
    background: #252e39;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
    /*
    All anchors inside the menu should be styled like this.
    */
    #menu a {
        color: #EEE;
        border: none;
        padding: 0.6em 0 0.6em 0.6em;
    }

    /*
    Remove all background/borders, since we are applying them to #menu.
    */
     #menu .pure-menu,
     #menu .pure-menu ul {
        border: none;
        background: transparent;
    }

    /*
    Add that light border to separate items into groups.
    */
    #menu .pure-menu ul,
    #menu .pure-menu .menu-item-divided {
        border-top: 1px solid #EEE;
    }
        /*
        Change color of the anchor links on hover/focus.
        */
        #menu .pure-menu li a:hover,
        #menu .pure-menu li a:focus {
            background: #14a7d0;
        }

    /*
    This styles the selected menu item `<li>`.
    */
    #menu .pure-menu-selected,
    #menu .pure-menu-heading {
        background: #14a7d0;
    }
        /*
        This styles a link within a selected menu item `<li>`.
        */
        #menu .pure-menu-selected a {
            color: #fff;
        }

    /*
    This styles the menu heading.
    */
    #menu .pure-menu-heading {
        font-size: 110%;
        color: #fff;
        margin: 0;
    }

/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
    position: fixed;
    display: block; /* show this only on small screens */
    top: 0;
    left: 0; /* "#menu width" */
    background: #000;
    background: rgba(0,0,0,0.7);
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 10;
    width: 2em;
    height: auto;
    padding: 2.1em 1.6em;
}

    .menu-link:hover,
    .menu-link:focus {
        background: #000;
    }

    .menu-link span {
        position: relative;
        display: block;
    }

    .menu-link span,
    .menu-link span:before,
    .menu-link span:after {
        background-color: #fff;
        width: 100%;
        height: 0.2em;
    }

        .menu-link span:before,
        .menu-link span:after {
            position: absolute;
            margin-top: -0.6em;
            content: " ";
        }

        .menu-link span:after {
            margin-top: 0.6em;
        }


/* -- Responsive Styles (Media Queries) ------------------------------------- */

/*
Hides the menu at `48em`, but modify this based on your app's needs.
*/
@media (min-width: 48em) {

    .header,
    .content {
        padding-left: 2em;
        padding-right: 2em;
    }

    #layout {
        padding-left: 180px; /* left col width "#menu" */
        left: 0;
        top:0;
    }
    #menu {
        left: 180px;
    }

    .menu-link {
        position: fixed;
        left: 180px;
        display: none;
    }

    #layout.active .menu-link {
        left: 180px;
    }
}

@media (max-width: 48em) {
    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
    #layout.active {
        position: relative;
        left: 180px;
        top:0;
    }
}


.wrapper {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    padding: 3px;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
}

.progress-bar-fill {
    display: block;
    height: 22px;
    background-color: #659cef;
    border-radius: 3px;
    
    transition: width 500ms ease-in-out;
}

.pollarea {
    background: #252e39;
    border-radius: 5px;
    text-align: center;
    padding: 15px;
    margin:20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.comment {
    font-style: italic;
    font-size: 12px;
    margin-top: 10px;
    display: inline-block;
}

.table-sort th {
    border-bottom: 1px solid #ddd;
    position: relative;
    cursor: pointer;
}

.table-sort th.desc:after {
    border-top-color: #666;
}
  
.table-sort th.asc:before {
    border-bottom-color: #666;
}
  
.table-sort th:after, .table-sort th:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px;
    width: 0;
    height: 0;
}
  
.table-sort th:after {
    border-top-color: #ddd;
    top: 22px;
}
  
.table-sort th:before {
    border-bottom-color: #ddd;
    top: 10px;
}

option,select {
    color: black;
}

#tagger {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

#tg-header {
    width: 100%;
    height: 5vh;
    position: fixed;
    top: 0;
    background: #333;
}


#tg-left {
    width: 15%;
    height: 78vh;
    position: fixed;
    left: 0;
    top:5vh;
    background: #444;
    font-size:0.9vw;
    overflow:auto;
}

#tg-left a {
    margin: 5px;
    line-height: 3vh;
    font-weight: bold;
}

#tg-left-bottom {
    position: fixed;
    top: 83vh;
    width: 15%;
    font-size:1vw;
    background: #444;
    height:17vh;
}

#tg-core {
    width: 85%;
    height: 95vh;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #999;
}

#tg-back {
    width: 40%;
    position: fixed;
    top: 0;
    left: 0;
    font-size: 2.5vh;
    padding: 5px;
}

#tg-title {
    width: 100%;
    position: fixed;
    padding-top: 5px;
    font-size: 3.5vh;
    top: 0;
    text-align: center;
}

#tg-session {
    width: 20%;
    position: fixed;
    top: 0;
    right: 0;
    padding: 0.2vh;
    font-size: 2vh;
}

#tg-image {
    width:100%;
    height:100%; 
}

#tg-image img {
    margin: 0.5%;
    width:99%;
    height:90%; 
    object-fit: contain;
}
#tg-image a div {
    cursor: pointer;
}

#tg-image a div:hover {
    background: rgba(0, 255, 0, 0.1) !important;
}

#tg-buttons {
    width: 85%;
    height: 8vh;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #CCC;
    text-align: center;
}

.tg-buttons-admin button{
    font-size: 1.5vh !important;
}

#tg-buttons button{
    margin: 1vh 1vh;
    min-width: 5vw;
    color: black;
    font-size: 2vh;
    padding: 1vh;
}

.tooltip {
    color:#FFF;
    float: right;
    margin-right: 0.5vw;
}

.selected {
    font-weight: bold;
}

.selected a {
    color: #FFF;
}

.tag-left-name {
    font-weight: bold;
    font-size: 1.2vw;
    color:#EEE;
}

#container {
	min-width: 310px;
	max-width: 800px;
	height: 400px;
	margin: 0 auto
}

#extra {
    font-size: 12px;
}

.small-table {
    font-size: 12px;
}

.green {
    color: lime;
    font-size: 20px;
    font-weight: bold;
}
 .red  {
     color: red;
     font-size: 20px;
 }

 th[role=columnheader]:not(.no-sort) {
	cursor: pointer;
}

th[role=columnheader]:not(.no-sort):after {
	content: '';
	float: right;
	margin-top: 7px;
	border-width: 0 4px 4px;
	border-style: solid;
	border-color: #404040 transparent;
	visibility: hidden;
	opacity: 0;
	-ms-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

th[aria-sort=ascending]:not(.no-sort):after {
	border-bottom: none;
	border-width: 4px 4px 0;
}

th[aria-sort]:not(.no-sort):after {
	visibility: visible;
	opacity: 0.4;
}

th[role=columnheader]:not(.no-sort):hover:after {
	visibility: visible;
	opacity: 1;
}

button.selected {
    background-color: teal;
}


.scale {
    margin: 0.5vh 0.5vh;
    min-width: 5vw;
    color: black;
    font-size: 2.5vh;
    cursor: pointer;
}

span.selected {
    font-weight: bold;
    margin: 1vh 1vh;
}

span.headertitle {
    position: relative;
    top: -20px;
    font-size: 12px;
    white-space: nowrap;
}

.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
  }
  .lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #fff;
  }
  .lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
  }
  .lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
  }
  .lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
  }
  .lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
  }
  .lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
  }
  .lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
  }
  .lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
  }
  .lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
  }
  .lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
  }
  .lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
  }
  .lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
  }
  .lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
  }
  @keyframes lds-spinner {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }