header {
    padding: 15px 1em;
    margin: 0 auto;
    line-height: 1.4;
}

header > nav {
    margin: 0 auto;
    max-width: 1220px;
}

header a.link,
header a.link:hover,
header a.link:focus,
header a.link:visited {
    font-size: 15px;
    line-height: 20px;
    color: #4871C8;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 0;
}

header a.title {
    font-size: 18px;
    font-weight: 700;
    color: #2C3378;
    text-decoration: none;
}

header a.link.homepage:hover,
header a.link.homepage:focus {
    border: none;
}

header a.link.homepage .btn {
    font-weight: 600;
    margin-top: -6px;
}

header a.bars {
    display: block;
    font-size: 20px;
    margin-top: -3px;
    text-decoration: none;
}

header i.bars-icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    top: -1px;
    width: 0.9em;
    height: .15em;
    background: #E5423E;
}

header i.bars-icon::before,
header i.bars-icon::after {
    width: 0.9em;
    height: .15em;
    background: #E5423E;
    content: "";
    position: absolute;
}

header i.bars-icon::before {
    top: -.35em;
}

header i.bars-icon::after {
    bottom: -.35em;
}

header span.close-icon {
    color: #E5423E;
}

@media (max-width: 576px) {
    header {
        padding: 15px 1em;
    }

    header a.title {
        font-size: 15px;
        font-weight: 600;
        color: #2C3378;
        text-decoration: none;
    }
}

@media (min-width: 768px) {
    header a.link.active,
    header a.link:hover,
    header a.link:focus {
        color: #2C3378;
        border-bottom: 1px solid #2C3378;
    }
}

/* @burger navigation */

.display-overlay {
    position: fixed;
    z-index: 99;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.35);
}

header .burger-navigation {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    right: 0;
    width: 90%;
    max-width: 270px;
    box-shadow: -5px 0 30px rgb(0 0 0 / 50%);
}

header .burger-navigation .header a {
    padding: 0;
    color: inherit;
    text-decoration: none;
}

header .burger-navigation .header,
header .burger-navigation a.link {
    position: relative;
    display: block;
    vertical-align: middle;
    padding: 13px 20px 13px 30px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

header .burger-navigation .header {
    height: 49px;
}

header .burger-navigation a.link {
    color: #4871C8;
}

header .burger-navigation a.link.active {
    font-weight: 600;
    color: inherit;
}

header .burger-navigation a.link.active:before {
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 0;
    top: 14px;
    left: 0;
    z-index: 101;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #2C3378;
}

header .burger-navigation a.link.text-red {
    color: #E5423E;
}

/* @end */

header .relative {
  position: relative;
}

header .border-bottom-lightblue {
    border-bottom: 1px solid #DEE5FB;
}

header span.menu {
  color: #2C3378;
  font-size: 15px;
  line-height: 18px;
  font-weight: 400;
}

/* RegistrDluzniku header */

header a.title-rd {
    display: inline-block;
    font-size: 13px;
    line-height: 1.4;
    width: 120px;
    padding: 0 0 0 56px;
    background: url(https://www.registrdluzniku.cz/images/registrdluzniku.cz/rd40.png) no-repeat 0 0;
    background-size: 40px 40px;
    top: -5px;
    position: relative;
    color: #2C3378;
    font-weight: 600;
    text-decoration: none;
}

header a.title-rd .logo-delimiter {
    position: absolute;
    top: 5px;
    left: 46px;
    bottom: 3px;
    background-color: #FF6339;
    width: 2px;
}

/* @end */