.input, .flexbox-container, .select, .switch-label, .suggestion-box{
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

@supports not (display: flex){
    .switch-label {
        display: table-cell !important;
    }

    .flexbox-container {
        margin: 25px;
    }
}

#empty-progress-bar{
    margin: 3em 2em .5em 2em;
    overflow: hidden;
}

@media only screen and (max-width: 994px){
    #empty-progress-bar{
        margin: 1.75em .75em .5em .75em;
    }
}

#empty-progress-bar{
    height: 30px;
    background-color: lightgray;
    border-radius: .50em;
}

#filled-progress-bar, #indeterminate-progress-bar{
    height: 30px;
    background-color: #192e5a;
    border-radius: .50em;
    color: white;
}

#filled-progress-bar span{
    padding: 5px;
    float: right;
}

#app-id{
    position: absolute;
    right: 15px;
}

.bold{
    font-weight: bold;
}

td:last-child {
    text-align: right;
}

td {
    min-width: 5em;
    font-size: 20px;
}

tr:nth-child(odd) td {
    background: #EBEBEB;
}

td {
    border-bottom: 1px solid #AAAAAA;
}

.mask{
    background-color: rgba(255,255,255,.6);
    height: 100vh;
    width: 100vw;
    z-index: 998;
    position: fixed;
}

.modal-interior{
    margin: 7%;
}

.modal-interior p{
    font-size: 16px;
}

.modal-buttons{
    font-size: 22px;
    cursor: pointer;
    float: right;
    padding: 5% 0%;
}

.modal-buttons:hover{
    font-weight: bold;
}

.modal{
    display: block;
    background-color: white;
    z-index: 999;
    position: fixed;
    box-shadow: 0 1px 1px 1px rgba(10, 10, 10, 0.35);
    -webkit-box-shadow: 0 1px 1px 1px rgba(10, 10, 10, 0.35);
    -moz-box-shadow: 0 1px 1px 1px rgba(10, 10, 10, 0.35);
}

.modal{
    width: 60%;
    top: 10%;
    left: 20%;
}

@media only screen and (max-width: 993px){
    .modal{
        width: 70%;
        top: 10%;
        left: 15%;
    }
}

@media only screen and (max-width: 550px){
    .modal {
        width: 90%;
        max-height: 90%;
        top: 5%;
        left: 5%;
        overflow-y: auto;
    }
}

.group 			  { 
    position:relative; 
    margin-bottom:45px; 
}

.image-selected{
    -webkit-box-shadow: 0px 0px 15px 2px rgba(25,46,90,1);
    -moz-box-shadow: 0px 0px 15px 2px rgba(25,46,90,1);
    box-shadow: 0px 0px 15px 2px rgba(25,46,90,1);
    border: 1px dashed #192e5a;
}

.header, .advertisement, .disclaimer, .input, .switch, .select{
    margin: 2em 2em 0 2em;
}

.suggestion-box{
    margin: 2em 0 0 2em;
}

@media only screen and (max-width: 994px){
    .header, .advertisement, .disclaimer, .input, .switch, .select{
        margin: 1.5em 1em 0 .75em;
    }
}

.image-select{
    width: 100%;
}

.image-select-div {
    float: left;
    margin: 1em 0 0 2em;
    width: 30%;
    padding-top: 24%;
    position: relative;
}

@media only screen and (max-width: 994px){
    .image-select-div{
        margin: 1em 0 0 .75em;
        width: 45%;
        padding-top: 36%;
    }
}

@media only screen and (max-width: 550px){
    .image-select-div{
        width: 280px;
        height: 224px;
        padding-top: 0;
    }
}

@media only screen and (min-width: 1375px){
    .image-select-div{
        width: 416px;
        height: 333px;
        padding-top: 0;
    }
}

.form-image {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.pointer{
    cursor: pointer;
}

.advertisement, .disclaimer{
    font-size: 16px;
    width: 26em;
}

.disclaimer{
    color: red;
}

input[type="submit"], input[type="button"]{
    margin: .5em 2em .5em 2em;
}

@media only screen and (max-width: 994px){
    input[type="submit"], input[type="button"]{
        margin: .5em .75em .5em .75em;
    }
}

input[type="submit"], input[type="button"]{
    background: #192e5a;
    border-radius: .50em;
    font-size: 16px;
    color: white;
    padding: 10px 10px 10px 5px;
    width: 14em;
    border: none;
    cursor: pointer;
}

input[type="submit"]:disabled, input[type="button"]:disabled{
    opacity:.5;
}

.full-width{
    width: 100%;
}

input[type="submit"]:active{
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

.input{
    width: 26em;
    background: #dff1fb;
    border-radius: .50em;
    -webkit-box-shadow: 0 1px 1px 0 rgba(10, 10, 10, 0.35);
    -moz-box-shadow: 0 1px 1px 0 rgba(10, 10, 10, 0.35);
    box-shadow: 0 1px 1px 0 rgba(10, 10, 10, 0.35);
}

.suggestion-box{
    width: 26em;
    margin-top: 1px;
    flex-direction: column;
    overflow: hidden;
}

.suggestion{
    background: #dff1fb;
    padding: 5px 5px 5px 5px;
    border-radius: .50em;
    border-bottom: 1px solid grey;
    cursor: pointer;
}

.suggestion:hover{
    background: #C6D8E2;
}

.switch{
    width: 26em;
}

.premium-table{
    width: 26em;
}

.required{
    padding: 10px 5px 0px 0px;
    color: red;
}

input 				{
    background: #dff1fb;
    border-radius: .50em;
    font-size: 16px;
    padding:10px 5px 10px 5px;
    border:none;
}

input:focus 		{
    outline:none; 
}

/* BOTTOM BARS ================================= */
.bar 	{ 
    position:relative; display:block; width:300px;
}

.bar:before, .bar:after 	{
    content:'';
    height:2px; 
    width:0;
    bottom:1px; 
    position:absolute;
    background:#5264AE; 
    transition:0.2s ease all; 
    -moz-transition:0.2s ease all; 
    -webkit-transition:0.2s ease all;
}

.bar:before {
    left:50%;
}

.bar:after {
    right:50%; 
}

/* active state */
    input:focus ~ .bar:before, input:focus ~ .bar:after {
    width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position:absolute;
    height:60%; 
    width:100px; 
    top:25%; 
    left:0;
    pointer-events:none;
    opacity:0.5;
}

/* active state */
input:focus ~ .highlight {
    -webkit-animation:inputHighlighter 0.3s ease;
    -moz-animation:inputHighlighter 0.3s ease;
    animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
}

@-moz-keyframes inputHighlighter {
    from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
}

@keyframes inputHighlighter {
    from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
}

body {
    font-family: 'Roboto', sans-serif;
}

option{
    font-size: 16px;
}

p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

p {
    font-size: 16px;
}

select {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 0 !important;
    background: #dff1fb;
    background-image: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

/* Custom Select */
.flexbox-container {
    flex-wrap: wrap;
    justify-content: space-between;
}

.select {
    position: relative;
    width: 26em;
    height: 2.5em;
    line-height: 2.5em;
    background: #dff1fb;
    overflow: hidden;
    border-radius: .50em;
    box-shadow: 0 1px 1px 0 rgba(10, 10, 10, 0.35);
    -webkit-box-shadow: 0 1px 1px 0 rgba(10, 10, 10, 0.35);
    -moz-box-shadow: 0 1px 1px 0 rgba(10, 10, 10, 0.35);
}

.input:focus-within, .select:focus-within{
    box-shadow: 0 4px 4px 0 rgba(10, 10, 10, 0.35);
    -webkit-box-shadow: 0 4px 4px 0 rgba(10, 10, 10, 0.35);
    -moz-box-shadow: 0 4px 4px 0 rgba(10, 10, 10, 0.35);
}

.input.focus-within, .select.focus-within{
    box-shadow: 0 4px 4px 0 rgba(10, 10, 10, 0.35);
    -webkit-box-shadow: 0 4px 4px 0 rgba(10, 10, 10, 0.35);
    -moz-box-shadow: 0 4px 4px 0 rgba(10, 10, 10, 0.35);
}

input[type="submit"]:focus, input[type="button"]:focus{
    box-shadow: 0 2px 10px 2px rgba(10, 10, 10, 0.75);
    -webkit-box-shadow: 0 2px 10px 2px rgba(10, 10, 10, 0.75);
    -moz-box-shadow: 0 2px 10px 2px rgba(10, 10, 10, 0.75);
}

.switch:focus-within > .switch-label > .switch-button{
    background: transparent;
    -webkit-box-shadow:inset 0px 0px 0px 7px white;
    -moz-box-shadow:inset 0px 0px 0px 7px white;
    box-shadow:inset 0px 0px 0px 7px white;
}

.switch.focus-within > .switch-label > .switch-button{
    background: transparent;
    -webkit-box-shadow:inset 0px 0px 0px 7px white;
    -moz-box-shadow:inset 0px 0px 0px 7px white;
    box-shadow:inset 0px 0px 0px 7px white;
}

select {
    flex: 1;
    padding: 0 .5em;
    cursor: pointer;
}

/* Arrow */
.select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 1em;
    background: #192e5a;
    cursor: pointer;
    pointer-events: none;
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
    color: white;
}

.checkbox-on{
    background-color: #192e5a;
    color: white;
}

.checkbox-off{
    background-color: #acacac;
    color: black;
}

/* Transition */
.select:hover::after {
    color: #19beea;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none; 
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hidden{
    display: none !important;
}

.switch-checkbox {
    opacity: 0;
    height: 0;
    width: 0;
}

.select label{
    pointer-events: none;
    padding: 0px 5px;
}

.input label{
    padding: 10px 5px 10px 5px;
    max-width: 50%;
}

.input input{
    flex-grow: 1;
    width: 100%;
}

.switch-label {
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    top: 0px;
    width: 78px;
    height: 36px;
    border-radius: 78px;
    margin-top: 10px;
    position: relative;
    transition: background-color .2s;
}

.switch-label .switch-button {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    transition: 0.2s;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
    -webkit-box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
    -moz-box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
}

.switch-checkbox:checked + .switch-label .switch-button {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.switch-label:active .switch-button {
    width: 2em;
    background: transparent;
    -webkit-box-shadow:inset 0px 0px 0px 7px white;
    -moz-box-shadow:inset 0px 0px 0px 7px white;
    box-shadow:inset 0px 0px 0px 7px white;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
   
::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 20px;
}
  
::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 20px;
}

* {
    scrollbar-color: #666 !important;
    scrollbar-width: thin !important;
}

@keyframes scrollwidth {
    from {
        margin-left: -50%;
    }
    
    to {
        margin-left: 100%;
    }
}

@-webkit-keyframes scrollwidth {
    from {
        margin-left: -50%;
    }
    
    to {
        margin-left: 100%;
    }
}

@-moz-keyframes scrollwidth {
    from {
        margin-left: -50%;
    }
    
    to {
        margin-left: 100%;
    }
}

@-o-keyframes scrollwidth {
    from {
        margin-left: -50%;
    }
    
    to {
        margin-left: 100%;
    }
}

#indeterminate-progress-bar{
    width: 50%;
    animation: scrollwidth 3s linear;
    animation-iteration-count: infinite;
}
