body {
    font-family: 'Open Sans', sans-serif;
    color: #000000;
    background: #3c3933;
}
.fix {
    max-width: 1400px;
}
h1 {
    padding: .7em 25px .7em 25px;
    margin: 0 auto;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    position: relative;
}
h2 {
    font-weight: 400;
    font-size: 17px;
    margin: 1em 0;
}
h3 {
    font-weight: 600;
    margin: 1em 0;
    font-size: 15px;
}
h4 {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1em 0 0.7em;
}
h5, h6 {
    font-size: 13px;
    margin: .5em 0 0.7em;
    font-weight: 700;
}
.btn {
    background-color: #00a996;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 35px;
    border: solid 1px #706a60;
    /* box-shadow: 4px 4px 0 #706a60; */
    /* border-radius: 11px; */
}
.f-3  {
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -3.2%;
    margin-right: -3.6%;
}
.f-3 > * {
    width: 41.5%;
    margin: 0 4.2% 6.3%;
}
header {
    position: relative;
}
.head-home {
    position: absolute;
    width: 100%;
}
.head-img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.logo {
    display: flex;
    align-items: flex-start;
    padding: 10px 0 0 25px;
    text-decoration: none;
}
.logo img {
    max-width: 60px;
}
.logo strong {
    align-items: flex-end;
    font-family: "Open Sans Condensed";
    font-size: 15px;
    line-height: 1.2;
    color: black;
    margin: 11px 0 0 6px;
    text-shadow: 0 0 2px white;
    display: none;
}
.home .head-img {
    height: 100vh;
}
.home-title {
    padding-top: 7px;
    background-color: rgb(212, 193, 176);
}
.head-box {
    position: absolute;
    width: 100%;
    top: 21vh;
}
.head-box article {
    background-color: rgba(255, 255, 255, 0.7);
    width: 75%;
    margin: 0 auto;
    padding: 25px 25px 30px;
    text-align: center;
}
.head-box h2 {
    margin: 0;
    padding: 0;
    font-size: 19px;
}
.head-box h1 {
    margin: 0 0 .4em;
    padding: 0;
}
.head-title {
    width: 100%;
    position: absolute;
    bottom: 7%;
    background-color: rgba(199, 178, 153, 0.9);
}
.head-title h1 {
    max-width: 1400px;
    padding-left: 27%;
}
.link {
    text-decoration: none;
    padding: 1px 10px;
    height: 24px;
    margin-right: 9px;
    color: white;
    display: inline-block;
    background-color: #167cce;
}
.link:hover {
    border-radius: 8px;
}
.title-img {
    width: 16%;
    max-width: 100px;
    position: absolute;
    left: 25px;
    bottom: 15px;
    border: solid 2px #00a996;
}
.nastroje-komunikace .title-img {
    border-color: #d18291;
}
.ico-home {
    display: inline-block;
    padding: 9px 10px 0 3px;
    margin: 11px;
    height: 46px;
    background-color: #44c1b3;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .7em;
    font-weight: 600;
    letter-spacing: .05em;
    position: relative;
    z-index: 101;
}
.zpet-home{
    display: inline-block;
    background: #46c1b3;
    color: white !important;
    padding: 6px 10px 0 5px;
    height: 26px;
    position: relative;
    float: right;
    margin-bottom: 40px;
}
.ico-home:before, .zpet-home:before {
    content: "";
    border: solid 23px transparent;
    border-right-color: #44c1b3;
    border-left: 0;
    position: absolute;
    top:0;
    left: -23px;
}
.zpet-home:before {
    border-width: 13px;
    left: -13px;
}
.ico-home:hover, .zpet-home:hover {
    background-color: #3c3933;
}
.ico-home:hover:before, .zpet-home:hover:before {
    border-right-color: #3c3933;
}
.main {
    background-color: white;
    padding-top: 25px;
    padding-bottom: 40px;
    display: grid;
}
.mainpadding {
    padding-left: 25px;
    padding-right: 25px;
}
.uvod {
    position: relative;
    padding: 35px 35px;
    text-align: center;
    font-weight: 600;
}
.uvod:before, .uvod div:before, .uvod:after, .uvod div:after {
    content: "";
    display: block;
    width: 30px;
    height: 24px;
    border-color: #00a996;
    border-style: solid;
    position: absolute;
    z-index: 100;
}
.uvod:before {
    border-width: 10px 0 0 12px;
    top: 0;
    left: 0;  
}
.uvod:after {
    border-width: 10px 12px 0 0;
    top: 0;
    right: 0; 
}
.uvod div:before {
    border-width: 0 0 10px 12px;
    bottom: 0;
    left: 0;   
}
.uvod div:after {
    border-width: 0 12px 10px 0;
    bottom: 0;
    right: 0;
}
p:first-child, h3:first-child {
    margin-top: 0;
}
.uvod p:last-child {
    margin-bottom: 0;
}
.home .mainpadding {
    order: 1;
}
.home .uvod div {
    padding-bottom: 44%;
    height: 0;
    overflow: hidden;
}
.home .uvod  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
aside {
    margin: 20px auto;
    width: 60%;
}
.bg-ver {
    background: #e2e2e2 url(https://participace.zdravamesta.cz/img/butt-komunikace-gray.png) center no-repeat;
    background-size: contain;
    padding: 117px 0 15px;
    text-align: center;
    display: block;
    text-decoration: none;
    color: black;
}
.bg-ver:hover {
    background-color: #c3c3c3;
}
.rozcestnik {
    max-width: 960px;
    padding-left: 25px;
    padding-right: 25px;
    margin: auto;
    justify-content: space-between;
}
.rozcestnik a {
    text-decoration: none;
    color: #00ab97;
}
.rozcestnik .box-4 a {
    color: #999999;
}
.rozcestnik strong {
    display: block;
    margin-top: 5px;
}
.rozcestnik a:hover img {
    opacity: .7;
}
.rozcestnik .box-4 a {
    display: block;
    width: 44.5%;
}
.rozcestnik .box-12 img {
    border: solid 1px #00a996;
}
.krok {
    background-color: #c7b299;
}
.krok h2 {
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 41px;
    position: relative;
    max-width: 1265px;
    margin: auto;
}
.krok h2:before {
    content: "";
    border: solid 22px transparent;
    border-top-color: white;
    border-bottom: 0;
    position: absolute;
    top: 0;
    left: -25px;
}
.krok h2:after {
    content: "";
    border: solid 30px transparent;
    border-top-color: #c7b299;
    border-bottom: 0;
    position: absolute;
    bottom: -30px;
    left: -33px;
}
.odpoved {
    max-width: 1400px;
    margin: auto;
}
.odpoved-block {
    display: none;
}
.unpack .odpoved-block {
    display: block;
}
.odpoved h2 {
    margin-top: -50px;
    padding-top: 59px;
    position: relative;
    z-index: 1;
    color: white;
}
.odpoved h2:before {
    content: "+";
    display: inline-block;
    border: solid 1px rgb(0 0 0 / 0.3);
    /* background-color: #a39b94; */
    color: #000000;
    width: 19px;
    height: 19px;
    line-height: 19px;
    text-align: center;
    border-radius: 50%;
    vertical-align: middle;
    margin: 6px 5px 0 0;
}
.odpoved h2:hover:before {
    background-color: #3c3933;
    color: #fff;
}
.unpack.odpoved h2:before {
   content: "-";
   line-height: 16px;
}
.odpoved h2, .odpoved-block, .article-list {
    padding-left: 41px;
}
.odpoved-block h3 {
    padding: 25px 25px 69px;
}
.odpoved-block .box-6 h3 {
    background-color: #c7b299;
    margin: 0;
    position: relative;
}
.odpoved-block h3 span {
    font-weight: normal;
}
.odpoved-block .box-10 {
    background-color: #e5dcd1;
}
.obsah .krokblock:nth-child(2) .odpoved-block .box-10 {
    background-color: #f0f0ec;
}
.obsah .krokblock:nth-child(2) .krok,
.obsah .krokblock:nth-child(5) .krok,
.obsah .krokblock:nth-child(2) .box-6 h3,
.obsah .krokblock:nth-child(5) .box-6 h3{
    background-color: #DED9D4;
}
.obsah .krokblock:nth-child(2) .krok h2:after,
.obsah .krokblock:nth-child(5) .krok h2:after{
    border-top-color: #DED9D4;
}
.obsah .krokblock:nth-child(2) .odpoved-block .box-10,
.obsah .krokblock:nth-child(5) .odpoved-block .box-10{
    background-color: #f0f0ec;
}
.obsah .krokblock:nth-child(3) .krok,
.obsah .krokblock:nth-child(6) .krok,
.obsah .krokblock:nth-child(3) .box-6 h3,
.obsah .krokblock:nth-child(6) .box-6 h3{
    background-color: #A29B94;
}
.obsah .krokblock:nth-child(3) .krok h2:after,
.obsah .krokblock:nth-child(6) .krok h2:after{
    border-top-color: #A29B94;
}
.obsah .krokblock:nth-child(3) .odpoved-block .box-10,
.obsah .krokblock:nth-child(6) .odpoved-block .box-10{
    background-color: #a29b9480;
}
.obsah > .krokblock:last-child .krok {
    background-color: #c6cfd6;
}
.obsah .krokblock:last-child .krok h2:after{
    border-top-color: #c6cfd6;
}
.odpoved .odpoved-block h3:after {
    position: absolute;
    font-size: 100px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.46);
    right: 13px;
    bottom: -14px;
}
.odpoved .odpoved-block:nth-child(2) h3:after {
    content: "1";
}
.odpoved .odpoved-block:nth-child(3) h3:after {
    content: "2";
}
.odpoved .odpoved-block:nth-child(4) h3:after {
    content: "3";
}
.odpoved .odpoved-block:nth-child(5) h3:after {
    content: "4";
}
.odpoved .odpoved-block:nth-child(6) h3:after {
    content: "5";
}
.article-list {
    display: flex;
    flex-wrap: wrap;
}
.article-list article {
    display: flex;
    background-color: #edf0f2;
    /* align-items: flex-end; */
    margin-bottom: 20px;
}
.article-list article figure {
    flex: 0 0 48%;
}
.article-list article h3 {
    font-size: 13px;
    padding: 10px 10px 0 20px;
    margin-top: 0;
}
.article-list article h4 {
    /* color: #00a996; */
    padding: 0 10px 0 20px;
}
.osa {
    display: flex;
    padding: 25px 0 25px 25px;
    flex-wrap: wrap;
}
.osa h3 {
    width: 100%;
    margin: 1em 0 0;
    color: #d18091;
}
.osa-box {
    background-color: #e5b8c1;
    padding: 10px 25px 5px;
    position: relative;
    min-height: 100px;
    margin-top: 11px;
    margin-right: 7%;
    width: 43%;
    font-weight: 600;
}
.osa-box:before {
    content: "";
    border: solid 15px transparent;
    border-left-color: white;
    border-right: 0;
    position: absolute;
    top: 34%;
    left: 0;
}
.osa-box article:after {
    content: "";
    border: solid 20px transparent;
    border-left-color: #e5b8c1;
    border-right: 0;
    position: absolute;
    top: 30%;
    right: -19px;
}
.osa-box.top {
    background-color:#d18091;
    letter-spacing: .05em;
}
.osa-box.top article:after {
    border-left-color:#d18091;
}
.osa-box article {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    justify-content: space-between;
    font-size: .85em;
}
.osa-box em {
    font-weight: 400;
}
.osa-box article .term {
    background-color: white;
    color: black;
    font-size: .9em;
    text-align: center;
    padding: 1px 7px;
    font-weight: 400;
}
.roz-block {
    display: none;
    position: absolute;
    right: -11px;
    top: -60px;
    background-color: #e2e2e2;
    width: 330px;
    text-transform: none;
    padding: 15px 15px 0;
    border: solid 2px white;
    border-right: 0;
}
.unpack .roz-block {
    display: flex;
}
.roz-block a {
    display: block;
    color: black;
    text-decoration: none;
}
.roz-block img {
    max-width: 78px;
}
.roz-block strong {
    display: block;: 78px;
}
.roz-block .bg-ver {
    background-color: #cecece;
    background-position: center 12px;
    padding: 0;
    height: 78px;
}
.roz-block a:hover img, .roz-block a:hover div {
    border: solid 1px #46c1b3;
}
.text {
    padding: 25px;
}
.o-portalu aside {
    display: none;
}
footer {
    color: #A7A7A7;
    line-height: 1.3;
}
footer a {
    color: #F6F6F6;
    text-decoration: none;
}
footer .copy-ecn a {
    color: #A7A7A7;

}
footer h2 {
    font-size: 16px;
    font-weight: normal;
}
footer a:hover {
    color: #A7A7A7;
}
.ico {
    margin: 7px 3px 0 0;
    display: inline-block;
}
.ico:before {
    content: ".";
    display: inline-block;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    color: #ffffff;
    font-family: "FontAwesome";
    font-size: 17px;
    line-height: 24px;
    background-color: #147cce;
    text-align: center;
}
.nszm:before {
    background: #147cce url(/img/ico-brana-white-xs.png) no-repeat center;
    color: #167cce;
}
.fb:before {
    content: "\f09a";
}
.twitter:before {
    content: "\f099";
}
.instagram:before {
    content: "\f16d";
}
.you:before {
    content: "\f04b";
    font-size: 16px !important;
}
.fb.ico:hover:before {
    background-color: #3b5998;
}
.twitter:hover:before {
    background-color: #24a0ef;
}
.instagram:hover:before {
    background-color: #f637a5;
}
.you:hover:before {
    background-color: #fe1a1a;
}
footer .ico:before {
    color: #3e3a34;
    background-color: #ffffff;
}
.vpriprave {
    position: absolute;
    top: 0px;
    left: 23%;
    background: #E91E63;
    font-size: 12px;
    padding: 10px 15px;
    color: #fff;
    border-radius: 0 0 15px 15px;
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.42);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .07em;
}
@media (min-width: 768px) {
.logo {
    width: 350px;
}
.logo img {
    max-width: 85px;
}
.logo strong {
    font-size: 22px;
    line-height: 1.2;
    margin: 14px 0 0 8px;
}
.home .logo strong {
    display: block;
}
.ico {
    margin: 19px 15px 0 0;
}
.mainpadding {
    padding-left: 100px;
    padding-right: 35px;
    justify-content: space-between;
}
.osa, .text {
    padding-left: 100px;
    padding-right: 31%;
}
.osa-box {
    width: auto;
    max-width: 250px;
    margin-right: 33px;
    flex: 1;
}
.article-list article {
    width: 47.5%;
    margin: 0 2.5% 2.5% 0;
    align-items: flex-end;
}
.article-list article figure {
    flex: 1 0 40%;
    max-width: 202px;
}
.article-list article img {
    height: 130px;
}
.article-list article h3 {
    font-size: 15px;
}
.head-title h1 {
    padding: 1em 25px 1em 145px;
}
.mainpadding > .uvod:first-child {
	width: 65%;
}
.mainpadding > .uvod:last-child {
	margin: auto;
}
.unpack .odpoved-block {
    display: flex;
}
.head-box article {
    width: 40%;
    max-width: 450px;
    padding: 30px 40px 40px;
}
.head-box h2 {
    font-size: 22px;
}
.head-box h1 {
    font-size: 32px;
}
.home .mainpadding {
    padding-left: 35px;
}
.f-3 > * {
    width: 25.5%;
    margin: 0 3.91% 4.3%;
}
.rozcestnik .box-4  {
	align-self: center;
}
.rozcestnik .box-4 a {
    width: 90.5%;
}
aside {
    width: 20%;
    max-width: 185px;
    margin: 0;
}
.home .uvod div {
    padding-bottom: 50%;
}
.home iframe {
    padding: 13px 15px;
}
.roz-block {
    width: 417px;
}

}
@media (min-width: 1200px) {
.head-img {
    height: 504px;
}
}
