/*
 * Copyright (c) 2018 NEWPS.CZ s.r.o.
 *
 * Zhotovitel, NEWPS.CZ, nenese odpovednost za vady zpusobene
 * neautorizovanym zasahem do zdrojoveho kodu.
 *
 */




/* ----------------------------- */
/* ---------- Buttons ---------- */

/* ---- Blue button ---- */

.button {
    display: inline-block;
    width: 230px;
    height: 24px;
    padding: 8px 0 0;
    margin: 0;
    background: #005ae6 url(../custimgs/button-blue.png) no-repeat top left;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 1.05em;
    line-height: 1.2em;
}

.button:hover,
.button:focus {
    background-position: 0 -33px;
}

.button:active {
    background-position: 0 -66px;
}

a.button {
    text-decoration: none;
}

a.button:hover {
    text-decoration: none;
}

.button + .button {
    margin-left: 10px;
}

/* ---- Small button ---- */

.button.small {
    width: 110px;
    background-image: url(../custimgs/button-blue-small.png);
}

.button.small.white-bg {
    background-image: url(../custimgs/button-blue-small-white.png);
}

/* ---- Medium button ---- */

.button.medium {
    width: 190px;
    background-image: url(../custimgs/button-blue-medium.png);
}

.button.medium.white-bg {
    background-image: url(../custimgs/button-blue-medium-white.png);
}

/* ---- Grey button ---- */

.button.grey {
    background-image: url(../custimgs/button-grey.png);
}

.button.grey.small {
    background-image: url(../custimgs/button-grey-small.png);
}

.button.grey.small.dark-bg {
    background-image: url(../custimgs/button-grey-small-dark.png);
}

/* ---- Light button ---- */

.button.light {
    background-color: #e7e7e7;
    background-image: url(../custimgs/button-light.png);
    color: #465564;
}

.button.light.small {
    background-image: url(../custimgs/button-light-small.png);
}

/* Disabled */
.button.light.inactive {
    color: #b4c3d2;
    background-position: 0 -99px;
}

.button-light.inactive:hover {
    background-position: 0 -99px;
    text-decoration: none;
}

/* ---- Square button ---- */

.square.button {
    height: 32px;
    width: 32px;
    padding: 0;
    background: #e7e7e7 url(../custimgs/button-light-square.png) no-repeat top left;
    vertical-align: middle;
}

.square.button:hover,
a:hover > .square.button,
.square.button:focus,
a:focus > .square.button {
    background-position: 0 -33px;
}

.square.button:active,
a:active > .square.button {
    background-position: 0 -66px;
}

.square.button .icon {
    display: block;
    height: 32px;
    width: 32px;
    background-position: center center;
}


/* ------------------------------ */

span.radioInvisible {
    display: none;
}

span.radioVisible {
    display: inline;
}


/* ------------------------------ */

/*.capsLockAlertOut {*/
    /*float: left;*/
    /*position: relative;*/
    /*z-index: 1000;*/
/*}*/

/*#capsLockAlert {*/
    /*background-color: #FFFF66;*/
    /*border: 1px solid #A8A8A8;*/
    /*display: none;*/
    /*left: 20px;*/
    /*padding: 2px;*/
    /*top: 24px;*/
    /*width: 250px;*/
/*}*/

/*.capsLockAlert {*/
    /*background-color: #FFFF66;*/
    /*border: 1px solid #A8A8A8;*/
    /*display: none;*/
    /*left: 256px;*/
    /*padding: 2px;*/
    /*position: absolute;*/
    /*top: -9px;*/
    /*width: 74px;*/
/*}*/




/* --------------------------------------------- */
/* ---------- Bigger and smaller text ---------- */


ul.smaller,
ol.smaller,
p.smaller,
span.smaller {
    font-size: 12px;
    font-size: 1.2rem;
}
ul.bigger, ul.perex,
ol.bigger,
ol.perex,
p.bigger,
p.perex,
span.bigger,
span.perex {
    font-size: 20px;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.6;
}
ul.bigger-headline,
ol.bigger-headline,
p.bigger-headline,
span.bigger-headline {
    font-size: 36px;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.05em;
}




/* ---------------------------------------------- */
/* ---------------- More colors ----------------- */


/* It has been reported that text-warning from Bootstrap styles is too "lowlighted". */
/* And here's a fix: Use text-caution or text-severe */
.text-caution {
    color: #ff9c2f !important; }
.text-severe {
    color: #ff7c20 !important; }




/* ---------------------------------------------- */
/* ------- Clickable icon in an input box ------- */


/* AGW-583 */
/* .input--border i .clickable .bigger { */

/* DATASYS: odstraneni starych stylu ikony graficke klavesnice */
/* .input--border i.clickable.bigger {
    z-index: 1;
    position: relative;

    /* font-size: 20px !important; *
    /* font-size: 2rem !important; *
    font-size: 3rem !important;
    font-weight: 300 !important;
    /* line-height: 1.6 !important; *
    margin-left: 0px;

    cursor: pointer;
}

.input--border i.clickable.bigger:hover {
    
    color: #254e80;
} */

/* DATASYS TJ-98: Presun ikonky klavesnice do textoveho prvku */
.form-group.icon-input:hover .form-control {
    border-color: #2362a2;
    border-bottom-width: 2px;
    margin-bottom: -1px;
}

.form-group.icon-input .icon-control {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    height: 4rem;
    width: 4rem;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-group.icon-input .form-control {
    padding-right: 70px;
}

.form-group.icon-input .icon-control:hover i {
    color: #2362a2; /* DATASYS: Primary blue z MVDS */
}

.form-group.icon-input .fa {
    color: #a8a8a8; /* DATASYS: LightGrey z MVDS */
    opacity: 0.5;
    font-size: 3rem;
    margin-top: -5px;
}

.keep-box-height {
    max-height: 1.5rem;
    /* max-height: 1.0rem; */
}

.fa-mobile {
    padding: 9px 10px;
    margin-top: -3px !important;
}

.fa-keyboard-o {
    padding: 9px 2px;
}

.input--border.icon-input .icon-control, .input--border.icon-input .form-control {
    height: calc(4rem + 2px);
}

.input--border.icon-input {
    padding: 10px 2px 10px 0;
}
/* DATASYS: stylování form-control chceme podle design system.
.form-control {*/
    /*bootstrap 4.1.3; v 4.3.1 je calc(1.5em + .75rem + 2px) */
    /*height: calc(2.25rem + 2px);
}*/

.header__user-name {
    /*jinak v chrome pada pod ikonku*/
    float: right;
}

@font-face {
    font-family: "Material Icons";
    font-style: normal;
    font-weight: 400;
    src: local("Material Icons"), local("MaterialIcons-Regular"), url("../fonts/MaterialIcons-Regular.woff2@v=1") format("woff2"), url("../fonts/MaterialIcons-Regular.woff@v=1") format("woff"), url("../fonts/MaterialIcons-Regular.ttf@v=1") format("truetype")
}

.material-icons {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 18px;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga"
}

.header__main i {
    position: relative;
    float: right;
    margin-left: 2px;
    padding-left: 0px;
    top: 1px;
    left: 3px;
    font-size: 24px;
}

.login .header__side-content {
    width: 260px;
    padding-left: calc(30px - 1rem);
}

@media (max-width: 575.98px) {
    .login .header__side-content {
        padding-left: 20px;
        padding-right: 20px;
        width: 150px;
    }
}

@media (max-width: 991.98px) {
    .login .header__side-content {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        background: transparent;
    }
}

@media (max-width: 575.98px) {
    .login .header__content-container {
        padding-left: 0px;
        padding-right: 10px;
    }
}

/** ISDS-1637 */
.link-spanner {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left: 0;
    z-index: 1;

    /* edit: fixes overlap error in IE7/8,
       make sure you have an empty gif
    background-image: url('empty.gif');*/
}

.alert .alert__text {
    overflow-wrap: break-word;
    word-break: break-word;
}
@-webkit-keyframes rotate {
    100% {
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}
@keyframes rotate {
    100% {
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}
@-webkit-keyframes color {
    0% {
        stroke:#ecae1a
    }
    40% {
        stroke:#ecae1a
    }
    66% {
        stroke:#ecae1a
    }
    80%, 90% {
        stroke:#ecae1a
    }
}
@keyframes color {
    0% {
        stroke:#ecae1a
    }
    40% {
        stroke:#ecae1a
    }
    66% {
        stroke:#ecae1a
    }
    80%, 90% {
        stroke:#ecae1a
    }
}

.main-content {
    min-width: auto;
}

.breadcrumb-item{
    display: initial;
}

@media (min-width: 992px) and (min-height: 565px) and (max-height: 765px) {
    .side-content__footer {
        background: #2362a2;
        width: 270px;
        position: fixed;
        bottom: 0;
    }
}

@media (min-width: 992px) and (min-height: 565px) and (max-height: 765px) {
    .side-content__menu {
        height: 100%;
        width: 270px;
        position: fixed;
        top: 114px;
    }
}

/* DATASYS: kompaktní seznam s odrážkami navazující na text */
span + ul.compact_list_with_bullets {
    list-style: disc;
    margin-top: 1rem;
}
span + ul.compact_list_with_bullets > li {
    margin-bottom: 1rem;
}
span + ul.compact_list_with_bullets > li::before {
    content: none !important;
}

.form-control {
    box-shadow: 0 0 0 40px #fff inset !important;
    -webkit-box-shadow: 0 0 0 40px #fff inset !important
}

/* Firefox autofill background */
input {
    filter: none;
}

/* extra styl pro posunuti QR kodu vlevo na velmi malych zarizenich */
@media (max-width: 340px) {
    .qr-xs {
        padding: 0 !important;
        margin:  0 !important;
    }
}

.login-box__menu-item a {
    height: 100%;
}

#logodia {
    width: 160px;
}

#logocpost {
    width: 160px;
}
