a {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}

#prihlaseni {
    position: absolute;
    background-color: transparent;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

#nebe_obrazek {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: auto;
    z-index: 0;
}

#logo_obrazek {         
    position: absolute; 
    left: 50%;          
    top: 10px;          
    width: 300px;       
    height: auto;       
    margin-left: -150px;
    z-index: 1;         
}

#formular {
    background-color: transparent;
    position: absolute;
    top: 200px;
    left: 0px;
    width: 100%;
    height: 300px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

#form_tab {
    background-color: transparent;
    position: absolute;
    top: 0px;
    width: auto;
    left: 50%;
    margin-left: -125px;
}

#tl_odeslat {
    position: relative;
    background-color: rgb(0, 207, 103);
    border: transparent;
    left: 0px;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    color: white;
    font-size: 17px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

#tl_odeslat:hover{
    cursor: pointer;
}

#u_loga {
    background-color: transparent;
    position: absolute;
    font-family: Arial, Helvetica, sans-serif;
    left: 50%;
    top: 110px;
    width: 90px;
    font-size: 20px;
    margin-left: -45px;
    font-weight: bold;
}

#footer {
    color: rgb(157, 157, 156);
    position: absolute;
    left: 50%;
    width: 220px;
    text-align: center;
    margin-left: -110px;
    font-family: Arial, Helvetica, sans-serif;
}

.input {
    position: relative;
    background-color: rgb(255, 210, 62);
    border: transparent;
    left: 0px;
    width: 240px;
    height: 40px;
    margin-top: 10px;
    font-size:18px ;
    color: white;
    text-align: center;
    border-radius: 0px;
}

.input:focus {
    outline: none;
}

.popisek {
    background-color: transparent;
    position: relative;
    left: 0px;
    height: 10px;
    top: 8px;
    color: rgb(29, 29, 26);
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    box-shadow: 0 0 0px 1000px rgb(255, 210, 62) inset;
    -webkit-text-fill-color: white;
}

@media only screen and (max-width: 700px) {
    #nebe_obrazek {
        margin-left: -50%;
        width: 200%;
    }
}

/*///CHAT////////////////////CHAT/////////////////////CHAT///*/

#sipka_dolu{
    position: absolute;
    right: 80px;
    bottom: 100px;
    width: 50px;
    height: 30px;
    animation-name: pohyb;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes pohyb {
    0%   {bottom: 100px;}
  50%  {bottom: 120px;}
  60%  {bottom: 100px;}
  80%  {bottom: 105px;}
  95% {bottom: 100px;}
}

#info {
    position: absolute;
    background-color: transparent;
    width: 390px;
    height: 100%;
    left: 0px;
    top: 0px;
}

#akt_jmeno_ram {
    background-color: rgb(255, 210, 62);
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height:70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ikona_uziv {
    height: 40px;
    position: relative;
    left: 0px;
    text-align: center;
}

#akt_jmeno {
    position: absolute;
    top: 15px;
    height: 40px;
}

#akt_jmeno_text {
    position: relative;
    top: -12px;
    font-size: 18px;
    text-align: center;
    margin-bottom: auto;
}

#info_logo {
    background-color: transparent;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 180px;
}

#mistnost_uzivatele {
    background-color: white;
    position: absolute;
    bottom: 75px;
    top: 185px;
    left: 0px;
    width: 100%;
    height: auto;
    font-size: 18px;
    overflow: auto;
}

#mistnosti {
    position: relative;
    left: 40px;
    top: 40px;
    max-width: 300px;
}

#mistnosti a {
    text-decoration:none;
}

#uzivatele {
    position: relative;
    left: 40px;
    margin-top: 50px;
    max-width: 300px;
}

#logo_obrazek_info {
    position: absolute;
    left: 50%;
    top: 25px;
    width: 200px;
    height: auto;
    margin-left: -100px;
    z-index: 1;
}

.info_nadpis {
    position: relative;
    color: rgb(255, 210, 62);
}

.mistnost {
    position: relative;
    margin-bottom: -10px;
    top: -13px;
}

#prislusenstvi {
    position: absolute;
    right: 0px;
    left: 535px;
    bottom: 0px;
    height: 70px;
}

#tl_pridat {
    height: 70px;
    width: 70px;
    position: absolute;
    left: 460px;
    bottom: 0px;
    background-image: url('obrazky/tlacitko-pridat-soubor.png');
    background-repeat: no-repeat;
    background-size: 70px 70px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}

#tl_pridat:hover {
    cursor: pointer;
}

#kryt {
    display: none;
    position: absolute;
    left: 0px;
    top:0px;
    width: 100%;
    height: 100%;
    background-color: #FFFFFFAA;
    z-index: 2;
}

#ram_pro_zpravu {
    position: absolute;
    height: 70px;
    right: 70px;
    left: 0px;
    bottom: 0px;
}

#chat_zprava {
    position: absolute;
    background-color: white;
    border: none;
    left: 0px;
    width: 100%;
    bottom: 0px;
    font-size: 24px;
    padding: 21px 30px;
    border-radius: 0;
    -webkit-appearance: none;
}


#tl_poslat {
    height: 70px;
    width: 70px;
    position: absolute;
    right: 0px;
    background-image: url('obrazky/tlacitko-odeslat.png');
    background-repeat: no-repeat;
    background-size: 70px 70px;
    border: none;
    cursor: pointer;
}

#tl_poslat:focus {
    outline: none;
}
#chat_zprava:focus {
    outline: none;
}
#tl_pridat:focus {
    outline: none;
}

#tl_odeslat_obrazek {
    display: none;
    position: absolute;
    height: 70px;
    background-color: transparent;
    border:none;
    background-repeat: no-repeat;
    background-size: 70px 70px;
    background-image: url('obrazky/tlacitko-odeslat.png');
    left: 535px;
    bottom: 0px;
    z-index: 3;
    cursor: pointer;
}

#zpravy {
    background-color: transparent;
    position: absolute;
    left: 460px;
    right: 0px;
    top: 0px;
    bottom: 80px;
    overflow-y: auto;
    overflow-x: hidden;
}

.jedna_zprava {
    display: inline-block;
	background-color: rgb(226, 226, 226);
	position: relative;
	margin-top: 20px;
	margin-left: 5px;
	padding: 12px;
	padding-right: 15px;
    right: 100px;
    left: 5px;
    width: 600px;
}

.jedna_zprava_s_obrazkem {
    display: inline-block;
	background-color: transparent;
	position: relative;
	margin-top: 20px;
	margin-left: 5px;
	padding: 12px;
	padding-right: 15px;
    right: 100px;
    left: 5px;
    min-width: 200px;
    max-width: 300px;
}

.jedna_zprava_obrazek {
    min-width: 100px;
    max-width: 300px;
}

.jedna_zprava_jmeno {
    color: rgb(170, 170, 170);
}

.jedna_zprava_cas {
    background-color: transparent;
    color: rgb(218, 218, 218);
}

#tl_odhlaseni {
    height: 23px;
    position: absolute;
    right: 10px;
    top: 25px;
    width: 20px;
    background-color: transparent;
    background-image: url(obrazky/odhlasit.png);
    background-size: 18px 18px;
    background-repeat: no-repeat;
    border-width: 1px;
    border-color: transparent;
    border-radius: 50px;
    cursor: pointer;
}

#tl_odhlaseni:focus {
    outline: none;
}

#horni_lista {
    display: none;
}

#logo_obrazek_info_bez {
    display: none;
}

#hamburger_menu_ikona {
    display: none;
}

#hamburger_menu_ikona:hover{
    cursor: pointer;
}

@media only screen and (max-width: 1150px) {
    .jedna_zprava {
        width: 400px;
    }
}
@media only screen and (max-width: 955px) {
    .jedna_zprava {
        width: 250px;
    }
}
@media only screen and (max-width: 855px) {
    #sipka_dolu{
        right: 20px;
    }

    #mistnost_uzivatele {
        z-index: 3;
        height: auto;
        top: 70px;
    }
    #prislusenstvi {
        left: 0px;
        right: 0px;
        height: 43px;
        background-color: transparent;
        bottom: 43px;
    }
    #tl_poslat {
        background-size: 43px 43px;
        height: 43px;
        width: 43px;
    }
    
    #tl_pridat {
        background-size: 43px 43px;
        height: 43px;
        width: 43px;
        left: 0px;
        bottom: 43px;
        border-radius: 0;
        -webkit-appearance: none;
    }

    #tl_odeslat_obrazek {
        background-size: 43px 43px;
        height: 43px;
        left: 48px;
        bottom: 43px;
    }

    #kryt {
        left: 43px;
        right: 0px;
        width: auto;
    }

    #chat_zprava {
        left: 0px;
        width: 100%;
        bottom: 0px;
        font-size: 24px;
        padding: 11px 10px;
        font-size: 18px;
        border-radius: 0;
        -webkit-appearance: none;
    }

    #tl_odhlaseni { 
        top:12px;
        left: 13px;
    }

    #ram_pro_zpravu {
        left: 49px;
        right: 43px;
    }
    .jedna_zprava {
        width: 500px;
    }
    
    #info{
        width: 100%;
    }



    #akt_jmeno_ram {
        left: 0px;
        width: 100%;
        justify-content: left;
        height: 43px;
    }

    #akt_jmeno {
        height: 20px;
        top: 12px;
        left: 50px;
    }

    #ikona_uziv {
        height: 20px;
    }

    #akt_jmeno_text{
        top: -5px;
        font-size: 15px;
    }

    #zpravy {
        left: 10px;
        top:70px;
        background-color: transparent;
        bottom: 86px;
    }

    #logo_obrazek_info {
        display: none;
    }

    #horni_lista {
        position: absolute;
        display: block;
        width: auto;
        left: 0px;
        right: 70px;
        background-color: rgb(255, 210, 62);
        height: 70px;
    }

    #logo_obrazek_info_bez {
        display: block;
        position: absolute;
        z-index: 1;
        width: auto;
        height: 70px;
        top: 0px;
        left: 70px;
        margin-left:0px ;
    }

    #hamburger_menu_ikona {
        display: block;
        width: 70px;
        height: 70px;
        position: absolute;
        right: 0px;
        background-color: transparent;
    }
}

@media only screen and (max-width: 600px){
    .jedna_zprava {
        width: 250px;
    }
}

@media only screen and (max-width: 420px){
    .jedna_zprava_obrazek {
        min-width: 100px;
        max-width: 200px;
    }
}

@media only screen and (max-width: 355px){
    .jedna_zprava {
        width: 150px;
    }
    .jedna_zprava_obrazek {
        min-width: 100px;
        max-width: 100px;
    }
}

@media only screen and (max-width: 280px){
    .jedna_zprava {
        width: 100px;
        font-size:14px ;
    }

    #logo_obrazek_info_bez {
        left: 5px;
    }
}

    