
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body,
code {
    font: 90.75%/1.4 "Open Sans", Tahoma, "Lucida Grande CE", lucida, sans-serif;
}

body,
html {
    height: 100%;
    margin: 0;
}

.centrovany-obal {
    background: #fff;
    text-align: center;
    height: 100%;
    width: 100%;
    overflow: auto;
}

.centrovany-obal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.centrovany {
    width: 345px;
    background: #fff;
    color: #fff;
    padding: 1em;
    display: inline-block;
    vertical-align: middle;
}

fieldset {
    display: table-cell;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

/* Vstupní pole */
label {
    position: relative;
    display: block;
    box-sizing: border-box;
    border: 1px solid #ccc;
    height: 38px;
}

label:hover,
label:focus-within {
    border-color: #14b1ef;
}

label::before {
    position: absolute;
    left: 19px;
    top: 50%;
    font-family: 'FontAwesome';
    line-height: 1;
    color: #ccc;
    font-size: 28px;
    margin-top: -14px;
    -webkit-font-smoothing: antialiased;
    pointer-events: none;
}

.l-email input,
.l-pass input {
    box-sizing: border-box;
    border: none;
    width: 100%;
    height: 36px;
    margin: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 71px;
    padding-right: 12px;
    background-color: transparent;
    outline: none;
}

.l-email,
.l-pass,
.l-button {
    margin: 10px 0;
}

/* Ikona e-mailu */
label.l-email::before {
    content: "\f0e0";
}

/* Ikona hesla */
label.l-pass::before {
    content: '\f084';
}

/* Políčko hesla */
.l-pass {
    position: relative;
    padding-right: 40px;
}

.l-pass input {
    padding-right: 5px;
}

/* Tlačítko pro zobrazení hesla */
.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: #888;
    font-size: 17px;
    cursor: pointer;
    outline: none;
}

.toggle-password:hover,
.toggle-password:focus {
    color: #14b1ef;
    background: transparent;
}

/* Přihlašovací tlačítko */
input[type="submit"] {
    width: 345px;
    height: 40px;
    line-height: 40px;
    background: #14b1ef;
    color: #fff;
    border: 0;
    cursor: pointer;
}
