
html, body{
    background-color: #4da7db;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    list-style: none;

}
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

ul{
    padding: 0;
}
.container{
    display: flex;
    height: 100vh;
    justify-content: center;
    width: 60%;
    margin: auto;
}

.main-content{
    align-self: center;
    color: white;
    text-align: center;
    width: 600px;

}
.main-content h1{
    font-size: 27px;
    margin-bottom: 22px;
}
.main-content p{
    font-size: 15px;
    letter-spacing: 1px;
}
.main-content button{
    font-size: 17px;
    background-color: #0c5a87;
    opacity: .7;
    padding: 10px;
    color: white;
    text-transform: uppercase;
    border:none;
    border-radius: 5px;
    transition: all ease-in-out 500ms;
    -moz-transition: all ease-in-out 500ms;
    -webkit-transition: all ease-in-out 500ms;
    letter-spacing: 1px;
    margin-top: 20px;
    font-weight: bold;

}.main-content button:hover{
     opacity: 1;
     transition: all ease-in-out 500ms;
     -moz-transition: all ease-in-out 500ms;
     -webkit-transition: all ease-in-out 500ms;
     cursor: pointer;
 }
/* FIXED ICONS */
.goback{
    position: fixed;
    display:none;
    bottom: 10px;
    left: 20%;
    opacity: .7;
    width: 60px;
    height: 40px;
    background: #2c80b1;
    text-align: center;
    justify-items: center;
    align-items: center;
    border-radius: 5px;
    transition: all ease-in-out 500ms;
    -moz-transition: all ease-in-out 500ms;
    -webkit-transition: all ease-in-out 500ms;
}.goback:hover{
     opacity: 1;
     transition: all ease-in-out 500ms;
     -moz-transition: all ease-in-out 500ms;
     -webkit-transition: all ease-in-out 500ms;
     cursor: pointer;
 }
.goback::after{
    content: attr(data-background-icon);
    font-family: "FontAwesome";
    color: white;
    font-size: 25px;
    text-align: center;
    top: -9px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.send{
    position: fixed;
    display: none;
    bottom: 5px;
    right: 20%;
    width: 105px;
    height: 40px;
    line-height: 40px;
    padding: 5px 15px;;
    background: #2c80b1;
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transition: all ease-in-out 500ms;
    -moz-transition: all ease-in-out 500ms;
    -webkit-transition: all ease-in-out 500ms;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 1;
    z-index: 10000;
    overflow:  hidden !important;
}
.send h4{
    flex:1;
    margin: 0;
    position: relative;
}
.send h4::after{
    content: attr(data-background-icon);
    font-family: "FontAwesome";
}
.send:hover{
    opacity: 1;
    transition: all ease-in-out 500ms;
    -moz-transition: all ease-in-out 500ms;
    -webkit-transition: all ease-in-out 500ms;

}
/* SURVEY */
.survey-container{
    width: 600px;
    margin: 25px 0;
    display: none;
}
.survey-content{
    width: 100%;
    margin:25px auto;
}
.zero-survey,
.first-survey{
    width: 100%;
}
h2{
    width: 100%;
    margin-top: 50px;
    color: white;
    font-size: 17px;
    position: relative;
    margin-bottom: 50px;
}
h2::after{
     content: 'Vyberte jednu odpověd';
     position: absolute;
     left: 0;
     font-size: 14px;
     letter-spacing: 1px;
     font-weight: 100;
     margin-top: 2em;

 }
.second-after::after{
    content: 'Vyberte jednu nebo více odpovědí';
    position: absolute;
    left: 0;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 100;
    margin-top: 2em;
}

.third-after {
    margin-bottom: 20px;
}

.third-after::after {
    display: none;
}
h3{
    width: 100%;
    margin: none;
    margin-bottom: 30px;
    margin-top: 50px;
    color: white;
    font-size: 17px;
    position: relative;

}
.zero-survey-list,
.survey-list{
    display: flex;
    flex-direction: column;
    justify-content: stretch;

}
.survey-item{
    list-style: none;
    background-color:rgba(255,255,255,0.9);
    padding: 10px 10px;
    letter-spacing: .5;
    font-weight: 400;
    margin-top: 7px;
    border-radius: 5px;
    border: 2px solid transparent;
}.survey-item:hover{
     cursor: pointer;
     background: rgb(233, 230, 230);
 }

.zero-survey .zero-survey-list li input,
.first-survey .survey-list li input{
    background-color:rgba(255,255,255,0.9);
    letter-spacing: .5;
    font-weight: 400;
    margin-top: 7px;
    border-radius: 5px;
    padding: 10px 10px;
    border: 2px solid transparent;
    outline:none;
}

input[type='text'] {
    background-image: url(keyboard.svg);
    background-position: right;
    background-repeat: no-repeat;
}
.input-second{
    list-style: none;
    background-color:rgba(255,255,255,0.9);
    letter-spacing: .5;
    font-weight: 400;
    margin-top: 7px;
    border-radius: 5px;
    padding: 10px 10px;
    border: 2px solid transparent;
    outline:none;
}
.zero-survey-list .survey-item-input,
.survey-list .survey-item-input{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    width: 100%;
}
.zero-survey-list .survey-item-input input,
.survey-list .survey-item-input input{
    list-style-type: none;
    justify-self: stretch;
    width: 100%;
}
.second-survey-list{
    display: flex;
    flex-direction: column;
    justify-content: stretch;

}
.second-survey-list .survey-item-input{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    width: 100%;
}
.second-survey-list .survey-item-input input{
    list-style-type: none;
    justify-self: stretch;
    width: 100%;
}
.list{
    display: flex;
    background-color:rgba(255,255,255,0.9) !important;
    border-radius: 5px !important;
    padding: 0;
    z-index: 1;

}
.list li{
    list-style:none;
    flex: 1;
    text-align: center;
    position: relative;
    align-self: stretch;
    padding: 15px;
    border-right: 1px solid transparent;
    transition: all ease-in-out 300ms;
    -moz-transition: all ease-in-out 300ms;
    -webkit-transition: all ease-in-out 300ms;
    z-index: 100;

}
.list li:nth-child(1){
    border-radius: 5px 0 0 5px;
}
.list li:nth-child(5){
    border-radius: 0 5px 5px 0;
}
.list li:hover{
    background: rgb(233, 230, 230);
    cursor: pointer;
}

.list li span{
    text-align: center;
    pointer-events: none;
}
.list li .rate{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 59px;
    color:rgba(255,255,255,0.9) !important;
    z-index: 0;
}
.list li .rate::after{
    content: '|';
    position: absolute;
    font-size: 11px;
    left: 50%;
    transform: translateX(-50%);
    top: -12.5px;
    z-index: 0;
    padding-bottom: 1px;
    color:rgba(255,255,255,0.9) !important;

}

.survey-note {
    background-image: url(keyboard.svg);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 40px;
    list-style: none;
    background-color: rgba(255,255,255,0.9);
    letter-spacing: .5;
    font-weight: 400;
    margin-top: 7px;
    border-radius: 5px;
    padding: 10px 10px;
    border: 2px solid transparent;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    height: 100px;
    resize: none;
}

.disabled-first{
    pointer-events: none;
    opacity: .4;
}
/* STAR RTNG */
.selected-star{
    background-color: #0c5a87;
    color:white;
    border-right: 1px solid #073652 !important;
    animation: listScale 500ms;
    transition: all ease-in-out 500ms;
}
.selected-star:hover{
    background-color: #0c5a87 !important;
}

/* FOOTER */
.footer{
    width: 100%;
    padding-bottom: 50px;
}
.footer p{
    color: white;
    letter-spacing: 1px;
    font-weight: 100;
    font-size: 14px;
}
/* SUCCESS */
.success{
    width: 100%;
    height: 100%;
    display: none;
    background: #4da7db;  /* fallback for old browsers */
    justify-items: center;
    align-items: center;
    text-align: center;
}
.success .success-container{
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
    width: 600px;
    margin: 25px auto;
    justify-items: center;
    align-items: center;
    text-align: center;
    top: 40%;
    color: white;
}
.success-container h4{
    margin-left: 20px;
    font-size: 40px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
/* MIXINS */

.active{
    animation: active 500ms ease-in-out;
    -moz-animation: active 500ms ease-in-out;
    -webkit-animation: active 500ms ease-in-out;
    background-color: #0c5a87 !important;
    color: white;
    background-image: none !important;

}
.active::before{
    content: attr(data-background-icon);
    font-family: "FontAwesome";
    float: right;
    color: white;
}
.active:hover{
    background-color: #0c5a87;

}
.activate{
    animation: active 500ms ease-in-out;
    -moz-animation: active 500ms ease-in-out;
    -webkit-animation: active 500ms ease-in-out;
    background-color: #0c5a87 !important;
    color: white;
    background-image: none !important;


}
.activate::before{
    content: attr(data-background-icon);
    font-family: "FontAwesome";
    float: right;
    color: white;
}
.activate:hover{
    background-color: #0c5a87;

}
.rateIn{
    animation: 300ms rateIn;
    -moz-animation: 300ms rateIn;
    -webkit-animation: 300ms rateIn;
    opacity: 1;
    top: 59px;
}
.rateOut{
    animation: 300ms rateOut;
    -moz-animation: 300ms rateOut;
    -webkit-animation: 300ms rateOut;
    opacity: 0;
    top: 30px;
}

.disabled{
    pointer-events: none;
    opacity: .4;
}
.disabled-A{
    pointer-events: none;
    opacity: .4;
    cursor: not-allowed;
}
/* SURVEY-BOTTOM */
.bottom-survey{
    position: fixed;
    z-index: 9999;
    overflow: hidden;
    background: rgba(32, 32, 32, 0.801);
    width: 100%;
    height: 60px;
    text-align: center;
    line-height: 60px;
    bottom: 0;
    left: 0;
    visibility: hidden;
    transition: all ease-in-out 500ms;
    -moz-transition: all ease-in-out 500ms;
    -webkit-transition: all ease-in-out 500ms;

}
.bottom-survey a{
    color: white;
    text-decoration: none;
    font-weight: bolder;
    opacity: 1;
    text-align: center;
}
.bottom-survey a::before{
    content: attr(data-background-icon);
    font-family: "FontAwesome";
    color: white;
}
.slideout{
    animation: slider 200ms;
    -moz-animation: slider 200ms;
    -webkit-animation: slider 200ms;
}
.slidein{
    animation: slider2 200ms;
    -moz-animation: slider2 200ms;
    -webkit-animation: slider2 200ms;
}
.slider3{
    animation: slider3 200ms;
    -moz-animation: slider3 200ms;
    -webkit-animation: slider3 200ms;

}
.empty{
    background-color: red;
}
.not-empty{
    background-color: blue;
}
/* ANIMATION PART */
@keyframes active{
    20%{background: #0c5a87;transform: scale(1,1);}
    60%{background-color: #0c5a87;transform: scale(1.1,1.1);}
    90%{background: #0c5a87;transform: scale(1,1);}
}
@keyframes listScale{
    20%{transform: scale(1,1);}
    60%{transform: scale(1.07,1.07);}
    90%{transform: scale(1,1);}
}
@keyframes rateIn{
    /* from{opacity: 0;top: 30px;offset: 0;}
    to{opacity: 1;top: 59px;offset: 1} */
    20%{opacity: 0;top: 30px;offset: 0}
    40%{opacity: 0;top: 40px;offset: 0}
    60%{opacity: .5;top: 50px;offset: 1}
    80%{opacity: 1;top: 59px;offset:1}

}
@keyframes rateOut{
    from{opacity: 1;top: 59px}
    to{opacity: 0;top: 30px}
}
@keyframes slider {
    from{opacity: 1;offset: 1;transform:translateX(0px);}
    to{transform: translateX(2000px);opacity: 0;offset: 0;}
}
@keyframes slider2 {
    from{opacity: 0;offset: 0;transform:translateX(-2000px);}
    to{opacity: 1;offset: 1;transform:translateX(0px);}
}
@keyframes slider3 {
    100%{transform: translateX(2000px); opacity:0;};
90%{transform: translateX(1800); opacity:.1;};
80%{transform: translateX(1600px); opacity:.2;};
70%{transform: translateX(1200px); opacity:.3;};
60%{transform: translateX(800px); opacity:.4;};
50%{transform: translateX(600px); opacity:.5;};
40%{transform: translateX(400px); opacity:.6;};
30%{transform: translateX(200px); opacity:.7;};
20%{transform: translateX(50px);opacity:.9;};
0%{transform: translateX(0);opacity:1;};
}
/* MEDIA SCREEN AND ... */
@media screen and (max-width:2400px){
    .send{
        right: 10%;
        top: 50%;
    }
    .goback{
        top: 50%;
        left: 10%;
    }

}
@media screen and (max-width:1150px){
    .send{
        right: 5%;
    }
    .goback{
        left: 5%;
    }

}
@media screen and (max-width:1000px){
    .main-content h1{
        font-size: 22px;
        margin-bottom: 18px;
    }
    .main-content p{
        font-size: 14px;
        letter-spacing: 1px;
    }
    .main-content button{
        font-size: 15px;
        padding: 10px;
        border-radius: 5px;
        letter-spacing: 1px;
        margin-top: 20px;
    }

    .send{
        position: fixed;
        display: none;
        bottom: 5px;
        right: 20%;
        top: auto;
        width: 105px;
        height: 40px;
        line-height: 40px;
        padding: 5px 15px;;
        background: #2c80b1;
        color: white;
        text-align: center;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        transition: all ease-in-out 500ms;
        text-transform: uppercase;
        cursor: pointer;
        opacity: .7;
        overflow:  hidden !important;
    }
    .goback{
        position: fixed;
        display:none;
        bottom: 10px;
        left: 20%;
        opacity: .7;
        width: 60px;
        height: 40px;
        background: #2c80b1;
        text-align: center;
        justify-items: center;
        align-items: center;
        border-radius: 5px;
        transition: all ease-in-out 500ms;
        top: auto;

    }

}
@media screen and (max-width:850px){
    .survey-item{
        font-size: 15px;
    }

}
@media screen and (max-width:750px){
    .container{
        width: 70%;
    }
    .main-content h1{
        font-size: 22px;
        margin-bottom: 18px;
    }
    .main-content p{
        font-size: 14px;
        letter-spacing: 1px;
    }
    .main-content button{
        font-size: 15px;
        padding: 10px;
        border-radius: 5px;
        letter-spacing: 1px;
        margin-top: 20px

    }
    .send{
        right: 5%;
    }
    .goback{
        left: 5%;
    }

}
@media screen and (max-width:550px){
    .container{
        width: 75%;
    }
    .main-content h1{
        font-size: 17px;
        margin-bottom: 18px;
    }
    .main-content p{
        font-size: 12px;
        letter-spacing: 1px;
    }
    .main-content button{
        font-size: 15px;
        padding: 10px;
        border-radius: 5px;
        letter-spacing: 1px;
        margin-top: 10px

    }
    h3{
        font-size: 15px;
    }

}
@media screen and (max-width:420px){
    .bottom-survey a{
        display: none;
    }
}
@media screen and (max-width:350px){
    .container{
        width: 85%;
    }
    .main-content h1{
        font-size: 15px;
        margin-bottom: 12px;
    }
    .main-content p{
        font-size: 10px;
        letter-spacing: 1px;
    }
    .main-content button{
        font-size: 12px;
        padding: 5px;
        border-radius: 5px;
        letter-spacing: 1px;
        margin-top: 10px

    }

}