/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.keys-survey-init-component {
    display: block; 
    position: relative; 
    height: auto; 
    min-height: 0;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: content-box;
}

.keys-survey-init-component-loader {
    position: absolute;
    top:0;
    left: 0;
    display: block;
    min-height: 500px;
    height: 100%;
    width: 100%;
    min-width: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.keys-survey-init-component-loader-spinner:after {
    content: '';
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    border-radius: 50%;
    border-top: 4px solid #d3d3d3;
    border-left: 4px solid  #d3d3d3;
    border-bottom: 4px solid  #d3d3d3;
    border-right: 4px solid transparent;
    animation: keys_spinner .6s linear infinite;
}

@keyframes keys_spinner {
    to {transform: rotate(360deg);}
}

.keys-loading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    background: transparent;
    z-index: 9000;
    padding: 0;
    margin: 0;
    outline: 0;
    opacity: 1;
    transition: all .4s;
}

.keys-loading--hiding {
    opacity: 0 !important;
}

.keys-loading--hide {
    z-index: -1;
    display: none !important;
}


.keys-loading__bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: block;
    background: #666666;
    z-index: 1;
    opacity: 0.8;
}

.keys-loading__icon {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    z-index: 10;
}

.keys-loading__icon:after {
    content: '';
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    position: absolute;
    top: calc(50% - 60px);
    left: calc(50% - 20px);
    border-radius: 50%;
    border-top: 4px solid #ffffff;
    border-left: 4px solid  #ffffff;
    border-bottom: 4px solid  #ffffff;
    border-right: 4px solid transparent;
    animation: keys_spinner .6s linear infinite;
}


.keys-loading__text {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    z-index: 10;
    height: auto;
    width: calc(100% - 20px);
    max-width: 800px;
    padding: 0 10px;
    font-family: DINosaur;
    font-weight: 300;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    color: #ffffff;
    text-shadow: #000000 2px 2px 5px;
}

