@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat');
body{
    font-family: 'Montserrat', sans-serif;

    background: #eee;
    display: block;
    margin: 0 auto;
    position: relative;
    font-size: 13px;
    color: #2b4987;
}
html{
    height: auto;
}
.flash_info:target{
    left: -280px;
}
.flash_info{
    position: absolute;
    top: 20px;
    left: -280px;
    width: 260px;
    font-size: 14px;
    animation-name: animacja-wejscia;
    animation-duration: 6s;
    color: #fff;
    transition: all .3s linear;
    display: block;
    z-index: 1;
    padding: 10px;
    text-align: center;
}
.flash_info_error{
    background: #990000;
}
.flash_info_success{
    background: #009900;
}
@keyframes animacja-wejscia {
  0%   {left: -280px;}
  10%  {left: 0;}
  90%  {left: 0;}
  100% {left: -280px;}
}
.logout_button{
    background: #2b4987;
    padding: 5px;
    display: block;
    margin: 15px 0px 0px auto;
    width: 100px;
    color: #fff;
    text-decoration: none;
}
.top button{
    display: block;
    margin: 10px auto 10px 10px;;
    width: 100px;
    text-align: center;
    background: #2b4987;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
}
.top button:hover{
    background: rgb(226, 2, 15);
}
.header{
    max-width: 1170px;
    margin: 0 auto;
    display: block;
    position: relative;
    background: #fff;
    color: #2b4987;
    text-align: center;
    border-bottom: 5px solid #2b4987;
}
.header:after{
    clear: both;
    display: block;
    content: '';
}
.logo{
    width: 200px;
    display: block;
    /*margin: 20px 5px 20px 5px;*/
    margin: 0 auto;
    position: relative;
    float: none;
    display: block;
}
.logo img{
    max-width: 100%;
}

.container{
    width: 1170px;
    max-width: 100%;
    min-height: 90%;
    display: block;
    position: relative;
    margin: 50px auto 0;
    padding: 50px 0px;
    background: #fff;
    position: relative;
    text-align: center;
    border-bottom: 5px solid #2b4987;
}
.container:after{
    clear: both;
    display: block;
    content: '';
}
.ankiety h1{
    font-size: 22px;
    margin: 15px auto;
    text-align: center;
    font-weight: bold;
    max-width: 700px;
    padding: 10px;
    background: #2b4987;
    color: #fff;
    box-shadow: 0 2px 12px #aaa;
}
.validation_error{
    display: block;
    background: #990000;
    color: #fff;
    display: block;
    margin: 10px auto;
    max-width: 700px;
    padding: 10px;
}
.ankiety{
    max-width: 90%;
    width: 800px;
    margin: 0 auto;
    display: block;
    position: relative;
}
.ankiety:after{
    content: '';
    clear: both;
}
.ankiety_left, .ankiety_right{
    width: 40%;
    margin: 0;
    padding: 0 2.5%;
    display: inline-block;
    height: auto;
    position: relative;
    vertical-align: middle;
}

.ankiety h4{
    font-size: 28px;
    margin: 15px auto;
    text-align: left;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}
.ankiety label{
    display: block;
    text-align: left;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
}
.ankiety input[type='radio']{
    padding: 5px;
    width: 50px;
}
.ankiety label:hover{
    background: #efefef;;
}
.label_checked{
    background: red;
}
.submit_section{
    display: block;
    margin: 10px auto;
    position: relative;
}
.submit_section:after{
    clear: both;
    display: block;
    content: '';
}
.ankiety_button{
        background: #2b4987;
    padding: 15px;
    color: #fff;
    border: 2px solid #2b4987;
    margin: 25px 10px;
    text-transform: uppercase;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    width: 100px;
    text-decoration: none;
}
.button_submit{
    background: #2b4987;
    padding: 15px;
    color: #fff;
    border: 2px solid #2b4987;
    margin: 25px auto;
    text-transform: uppercase;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
}
.button_submit:hover, .ankiety_button:hover{
    background: #4F5155;
    border: 2px solid #4F5155;
}
.wynik{
    font-size: 100px;
}
.wynik_max{
    font-size: 80px;
    color: #333;
}
.podsumowanie_text{
    font-size: 20px;
    margin: 20px auto;
}
.ankiety textArea{
    padding: 10px;
    resize: none;
    border: none;
    border-bottom: 2px solid #2b4987;
    box-shadow: 0 2px 13px #ddd;
    background: #efefef;
}
.form_login {
    text-align: center;
    width: 90%;
    max-width: 300px;
    display: block;
    margin: 20px auto;
}
.form_login input[type='text'], .form_login input[type='password']{
    padding: 10px;
    margin: 5px;
}

.go_top{
    position: fixed;
    bottom: 50px;
    right: 20px;
    width: 45px;
    height: 45px;
    z-index: 9999;
    display: block;
    cursor: pointer;
    background: #2b4987;
    opacity: 0;
    transition: all .2s linear;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
}
.go_top img{
    max-width: 70%;
    max-height: 80%;
    display: block;
    margin: 7px auto;
}

@media screen and (min-width:1920px){
    
}
@media screen and (min-width:1600px){
}
@media screen and (max-width:1366px){
    .logo{
        width: 150px;
        margin: 0 auto;
    }
}
@media screen and (min-width:1200px){
    
}
@media screen and (max-width:1200px){
    .container, .header{
       width: 95%;;
    }
}

@media screen and (min-width: 1024px){
  
  
}
@media screen and (max-width:1024px){
    .ankiety_left, .ankiety_right{
        width: 95%;
        margin: 0 auto 15px;
        float: none;
    }
}
@media screen and (max-width:800px){
    .ankiety h1{
        font-size: 16px;
    }
    .ankiety h4{
        font-size: 20px;
    }
}
@media screen and (max-width:600px){
    
}
@media screen and (max-width:480px){
    
}
@media screen and (min-width:400px) and (max-width: 500px) and (max-height: 300px){
   
}
@media screen and (max-width:320px){
    
}
