﻿@font-face {
    font-family: Helvetica-Neue;
    src: url(../fonts/HelveticaNeue.ttf);
}

@font-face {
    font-family: CustomFont;
    src: url('../fonts/GoshaSans-Regular.ttf');
  }
  

body {
    background-color: #000 !important;
    color: rgba(51, 51, 51, 0.9);
}

.drop-left {
    left: -140px !important;
}


a {
    color: #333;
}

    a:hover, a:active, a:focus {
        color: #000;
        text-decoration: none;
    }

/* CUSTOM BUTTON ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.x-btn-primary {
    border: none ;
    text-align: center;
    font-size: 17px;
    padding: 5px 5px 5px 5px;
    width: 100%;
    color: #fff;
    border-radius: 15px;
    background:#577b91;
}

    .x-btn-primary.dark {
        border: 1px solid rgb(160, 160, 160) !important;
        background-color: #2b2b2b;
    }

    .x-btn-primary:hover, .x-btn-primary:active, .x-btn-primary:focus {
        border: none !important; 
        background-color: rgb(38, 73, 119) !important;
        cursor: pointer !important;
      
      }

/* CUSTOM RADIO BUTTON ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.switch-field {
    overflow: hidden;
    
}

.switch-title {
    margin-bottom: 6px;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
   
}

.switch-field label {
    float: left;
    margin: 0px 10px 10px 0px;
    border-radius: 14px;
   
}

.switch-field label {
    display: inline-block;
    min-width: 170px;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    text-shadow: none;
    padding: 6px 14px;
    background-color: rgba(237, 242, 249, 0.7);
    border: 1px solid rgb(192, 204, 214);
    box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.1), 0 3px rgba(255, 255, 255, 0.1);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(255, 255, 255, 0.1);
}

    .switch-field label:hover {
        cursor: pointer;
    }

.switch-field input:checked + label {
    background-color: rgba(143, 180, 231, 0.7);
    border: 1px solid rgb(192, 204, 214);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.switch-field.green input:checked + label {
    background-color: rgba(148, 204, 167, 0.7);
}

/*  CUSTOM INPUTS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.x-input-group {
    font-size: 17px;
}

    .x-input-group input[type="text"],
    .x-input-group input[type="password"],
    .x-input-group select,
    .x-input-group textarea {
        background-color: #474c4c23;
        border: 1px solid rgba(255, 255, 255, 0.5);
        width: 100%;
        padding: 5px 8px 5px 8px;
        border-radius: 5px;
    }

    .x-input-group.dark input[type="text"],
    .x-input-group.dark input[type="password"],
    .x-input-group.dark select,
    .x-input-group.dark textarea {
        color: #ccc;
        border: 1px solid rgb(82, 82, 82);
    }

    .x-input-group option {
        background-color: #ffffff;
    }

    .x-input-group input[type="text"]:focus,
    .x-input-group input[type="password"]:focus,
    .x-input-group textarea:focus {
        /* border: 0px solid rgba(119, 119, 119, 1); */
    }

.x-input-item {
    margin: 6px 0px 6px 0px;
}

.x-input-item-title {
    text-align: right;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 12px;
    padding: 8px 12px 0px 0px;
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: #81c29690;
}

.x-input-item-image {
    margin: 10px 20px 0px 0px;
    max-width: 50%;
}

.x-input-radio-item {
    font-size: 15px;
    min-width: 160px;
    float: left;
}

.x-input-radio-group {
    text-transform: uppercase;
}

.x-input-shallow {
    max-width: 220px;
}

/* FOOTER ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#footer {
    padding: 50px 20px 20px 20px;
    text-align: center;
    color: rgba(36, 36, 36, 0.6);
}

    #footer .footer-link {
        display: inline-block;
        font-size: 15px;
        white-space: nowrap;
    }

        #footer .footer-link a {
            /*   color: rgba(36, 36, 36, 0.7); */
            text-decoration: none;
        }

    #footer .footer-sublink {
        font-size: 12px;
    }

    #footer .footer-nav {
        /*   color: rgba(36, 36, 36, 0.7); */
        margin: 15px 0;
        text-transform: uppercase;
    }

    #footer .footer-link-seperation:nth-child(n+2)::before {
        content: '';
        display: inline-block;
        height: 10px;
        width: 1px;
        background-color: rgba(36, 36, 36, 0.6);
        margin: 0 15px;
        pointer-events: none;
    }

    #footer .footer-text {
        font-size: 12px;
        /*   color: rgba(36, 36, 36, 0.7); */
        text-transform: uppercase;
    }

    #footer .logo {
        display: block;
        position: relative;
        width: 70px;
        height: 70px;
        margin: 0 auto;
        background-image: url('/images/818-logo-dark.png');
        background-repeat: no-repeat;
        background-size: 70px 70px;
    }

    #footer.footer-dark {
        color: #ccc;
    }

        #footer.footer-dark .logo {
            background-image: url('/images/818-logo.png');
        }

        #footer.footer-dark .footer-link-seperation:nth-child(n+2)::before {
            background-color: rgba(255, 255, 255, 0.3);
        }

/* MY GRIDS */

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 18px;
    color: #444;
}

@media only screen and (max-width: 960px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.grid-container > a {
    color: #333;
    min-height: 100px;
    max-height: 112px;
    box-shadow: 2px 1px 5px 0.1px rgba(0, 0, 0, 0.4);
    border-width: 1px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.219);
    border-color: rgba(255,255,255,.15);
    border-style: solid;
    padding: 18px;
    display: flex;
    flex-direction: row;
    border-radius: 4px;
}

    .grid-container > a:hover {
        background-color: rgba(255,255,255,.1);
        ;
    }

.grid-container > .item {
    grid-column-start: auto;
    grid-column-end: auto;
    grid-row-start: auto;
    grid-row-end: auto;
}

    .grid-container > .item .icon {
        background-repeat: no-repeat;
        background-size: contain;
        height: 100%;
        width: 114px;
        height: 113px;
        flex: none;
        margin: -20px 0px -20px -20px;
    }

    .grid-container > .item > .details {
        margin-left: 18px;
        overflow: hidden;
        display: flex;
        flex: auto;
        flex-direction: column;
    }

        .grid-container > .item > .details > .title {
            text-transform: uppercase;
            font-weight: bold;
            color: #4f5492;
            font-size: 24px;
            line-height: 1.25;
            width: 100%;
            font-family: Helvetica-Neue;
        }

        .grid-container > .item > .details > .description {
            color: rgba(36, 36, 36, 0.7);
            font-size: 16px;
            line-height: 1.25;
            margin: .25em 0 0;
            overflow: hidden;
            padding: 0;
            font-family: Helvetica-Neue;
        }

.grid-container-form {
    display: grid;
    grid-template-columns: 1fr 6fr;
    grid-gap: 0px;
    border-radius: 4px;
    box-shadow: -1px 1px 5px 0.1px rgba(0, 0, 0, 0.3);
    border-width: 1px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255,255,255,.15);
    border-style: solid;
    padding: 18px;
}

    .grid-container-form > .x-title {
        text-transform: uppercase;
        font-weight: bold;
        font-family: Helvetica-Neue;
        color: #6fa8c2;
        font-size: 24px;
        line-height: 1.25;
        width: 100%;
    }

    .grid-container-form > .grid-item-form {
        grid-column-start: auto;
        grid-column-end: auto;
        grid-row-start: auto;
        grid-row-end: auto;
    }

/* MISC */

.x-center {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.x-text-upper {
    text-transform: uppercase;
}

.x-title {
    color: rgba(36, 36, 36, 0.7);
    font-size: 18px;
    font-weight: 400;
    margin: 20px 0px 10px 0px;
    text-transform: uppercase;
    font-family: Helvetica-Neue;
}

.x-wide {
    width: 100%;
}

textarea {
    vertical-align: bottom;
    resize: vertical
}

label {
    font-weight: normal;
    margin: 0px;
}

.x-hidden {
    display: none;
}

/* QUESTION LISTS */

.list-item {
    margin: 0px 0px 10px 0px;
}

.correct-answer {
    background-color: rgba(148, 204, 167, 0.7);
}

.cog {
    font-size: 24px !important;
    float: right;
}

    .cog a:hover,
    .cog a:focus,
    .cog a {
        background-color: rgba(0, 0, 0, 0) !important;
        cursor: pointer;
    }

        .cog a.dropdown-toggle {
            padding: 0px;
            color: rgb(83, 83, 83);
        }

    .cog.small {
        font-size: 14px !important;
    }


/* OVERVIEW  */


.x-table.rank {
    background-color: rgb(70, 70, 70);
    border: 0px solid #fff !important;
    margin-bottom: 0px;
    box-shadow: -1px 1px 5px 0.1px rgba(0, 0, 0, 0.3)
}

.ClickButton{
    width: 200px;
    height: 40px;
    background: rgb(241,245,251);
    text-align: center;
    padding: 5px;
    border-radius: 15px;
    margin-right: 5px;
    margin-top: 5px;
    
    border: 2px solid rgb(216,222,228);
}

.x-table.table {
    background-color: #fff;
    border: 0px solid #fff !important;
    margin-bottom: 0px;
    box-shadow: -1px 1px 5px 0.1px rgba(0, 0, 0, 0.3)
}
.arrow-down {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    
    border-top: 5px solid rgb(83, 86, 110);
    float: left;
    
  }

  .arrow-up {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    
    border-bottom: 5px solid rgb(83, 86, 110);
    float: left;
    
  }
th {
    border-top: none !important;
    line-height: 1 !important;
   
    
}

td {
    border-top: none !important;
    line-height: 1 !important;
}

.table tr {
    background-color: #d4e4f7;
}

.table tr:nth-child(even) {
    background-color: #ffffff;
}

.rank tr {
    background-color: #dbe7f5;
    color: #1d425c;
    padding: 5px;
}

.rank tr:nth-child(even) {
    background-color: #eff6ff;
    color: #1d425c;
    padding: 5px;
}

.x-table-head {
    background-color: #657d8b !important;
    padding: 5px;
    color: #fff !important;
}
.x-table-head-rank {
    background-color: #577b91 !important;
    padding: 5px;
    color: #fff !important;
}

.chart-style {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: -1px 1px 5px 0.1px rgba(0, 0, 0, 0.3);
    border-radius: 7px;
    overflow: hidden;
}

.overview-item-container {
    margin-top: 10px;
    
}

.overview-card {
    padding: 5px !important;
    font-size: 28px;
    text-align: center;
}

.overview-card-subtitle {
    margin-top: -5px;
    padding: 0px 5px 10px 5px !important;
    font-size: 14px;
    text-align: center;
    
}

.row.less-gutter {
    margin-left: -6.0px ;
    margin-right: -6.0px ;
}

    .row.less-gutter [class*='col-']:not(:first-child),
    .row.less-gutter [class*='col-']:not(:last-child) {
        padding-right: 6.0px !important;
        padding-left: 6.0px !important;
    }

/* ANALYTICS */

.chart-style-dark {
    /* background-color: rgba(46, 50, 56, .8); */
    background: -webkit-linear-gradient(45deg, #576777, #3c4854);
    background: -moz-linear-gradient(45deg, #576777, #3c4854);
    background: -o-linear-gradient(45deg, #576777, #3c4854);
    background: linear-gradient(45deg, #576777, #3c4854);
    box-shadow: -1px 1px 5px 0.1px rgba(0, 0, 0, 0.1);
}

.analytics {
    color: rgb(63, 63, 63);
    
}

.section-separator {
    border-radius: 7px;
    background-color: #657d8b;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Helvetica-Neue;
    font-size: 17px;
    color: white;
    box-shadow: -1px 1px 5px 0.1px rgba(0, 0, 0, 0.2);
    margin: 30px 0px 0px 0px;
    line-height: 1.7;
    text-align: center;
}

.section-separator-dark {
    background-color: #657d8b;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Helvetica-Neue;
    font-size: 17px;
    color: white;
    box-shadow: -1px 1px 5px 0.1px rgba(0, 0, 0, 0.3);
    margin: 25px -0px 0px -0px;
    line-height: 1.7;
    text-align: center;
}

.chart-header {
    background-color: #657d8b;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-family: Helvetica-Neue;
    font-size: 14px;
    line-height: 2;
    z-index: 999;
}

.chart-header-dark {
    background-color: #2c3949;
    color: #cadbed;
    text-align: center;
    text-transform: uppercase;
    font-family: Helvetica-Neue;
    font-size: 14px;
    line-height: 2;
    z-index: 999;
}

.dashboard-card {
    color: white;
    padding: 15px 0px 10px 0px;
}

.dashboard-card-dark {
    color: #2f2f2f;
    padding: 15px 0px 10px 0px;
}

.question-list-header {
    margin-top: -10px;
    overflow: hidden;
}
