@media screen and (max-width:575.99px) {
    .logo { align-items: start; }
    .logo { position: relative; top: 11px; }
    .kosik-mobile { position: absolute; right: 68px; height: 48px; width: 48px; z-index: 1; }

    .logo-img img { width: 135px; border-right:0; padding-right: 0; }
    .logo-nazev-clena { display: none; }
    header { -webkit-box-shadow: none; box-shadow: none; }

    .navigace { width: 48px; height: 48px; left: auto; right: 16px; top: 44px; background: #003880; border-radius: 4px; }

    #nav-icon1 {
        -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .5s ease-in-out; -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out; transition: .5s ease-in-out; cursor: pointer;
    }
    #nav-icon1 span {
        display: block; position: absolute; height: 2px; width: 50%; background: #fff; border-radius: 9px; opacity: 1; left: 12px;
        -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out;
    }
    #nav-icon1 span:nth-child(1) { top: 16px; }
    #nav-icon1 span:nth-child(2) { top: 23px; }
    #nav-icon1 span:nth-child(3) { top: 30px; }
    #nav-icon1.open span:nth-child(1) { top: 22px; -webkit-transform: rotate(135deg); -moz-transform: rotate(135deg); -o-transform: rotate(135deg); transform: rotate(135deg); }
    #nav-icon1.open span:nth-child(2) { top: 22px; -webkit-transform: rotate(-135deg); -moz-transform: rotate(-135deg); -o-transform: rotate(-135deg); transform: rotate(-135deg); }
    #nav-icon1.open span:nth-child(3) { display: none; }

    #mobile-menu { display: none; position: relative; top: 0; height: calc(100vh); background-color: #fff; width: 100%; z-index: 9999; transition: .3s ease-in-out; }
    #mobile-menu .nav-links a { color: #000; text-decoration: none; }
    #mobile-menu .nav-links a:hover { font-weight: 700; }
    #mobile-menu ul { list-style-type: none; padding-left: 0; padding-top: 20px; }
    #mobile-menu li { border-bottom: 1px solid #ddd; transform: translateY(-20px); transition: all .3s; padding-top: 10px; padding-bottom: 10px; }
    
    .nassortiment { clear: left; width:  100%; margin: 0 auto 30px; }
	.nassortiment button { padding: 8px 18px; font-size: 14px; font-weight: bold; text-transform: uppercase; color: #545758; border: 1px solid #aaaaaa; border-radius: 4px; background: transparent; margin: 30px auto 0; display: grid; }
	.nassortiment button:hover { background: #545758; color: #ffffff; box-shadow: 0 2px 4px 0 rgb(0 0 0 / 24%); }
	.nassortiment .title { float: none; clear: left; width: calc(100% - 30px); position: relative; display: flex; align-content: center; justify-content: center; margin: 15px; }
	.nassortiment .title::before { content: ""; position: absolute; top: 21px; left: 0; right: 0; margin: auto; width: 100%; height: 2px; background: #545758; }	
	.nassortiment h1 { width: auto; display: inline-block; position: relative; font-size: 18px; font-weight: 600; line-height: 2.8rem; color: #545758; text-transform: uppercase; text-align: center; background: #FFF; padding: 0 13px; margin: 0; border-bottom: none; }
	#nassortiment-grid { float: none; clear: left; width: calc(100% - 30px); margin: 0 15px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; grid-gap: 15px; }
	#nassortiment-grid.sluzby { grid-template-columns: 100%; width: 100%; margin: 0; }
	#nassortiment-grid .block { width: 100%; position: relative; line-height: 0; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
	#nassortiment-grid.sluzby .block { border: 1px solid rgba(229, 229, 229, .89); }		
	#nassortiment-grid .block img { width: 100%; height: 100%; transition: all .35s ease; -webkit-transition: all .35s ease; object-fit: cover; }
	#nassortiment-grid:not(.sluzby) .block:hover img { transform: scale(1.1); }
	#nassortiment-grid .block a { position: absolute; top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; -webkit-transition: all .35s ease; }
	#nassortiment-grid .block a::after { content: ""; position: absolute; width: 0; height: 3px; bottom: 0; right: 0; left: 0; background: #e0001b; transition: all .35s ease; -webkit-transition: all .35s ease; }
	#nassortiment-grid .block:hover a::after { width: 100%; }
	#nassortiment-grid .block a span { width: 100%; height: 50px; color: #FFF; font-size: .875rem; line-height: 1.2; font-weight: 500; transition: all .35s ease; -webkit-transition: all .35s ease; display: grid; text-align: center; justify-items: center; align-items: center; justify-content: center; position: absolute; bottom: 0; background: rgba(0,0,0,.4); text-transform: uppercase; }
	#nassortiment-grid .block a p { font-size: 14px; line-height: 1; text-align: left; margin: 0; padding: 10px; position: absolute; bottom: -100%; }
	#nassortiment-grid .block:hover a span { height: 100%; }
	#nassortiment-grid .block:hover a p { bottom: 25px; }
	#nassortiment-grid .block a p strong { margin-left: 5px; text-decoration: underline; }
	#nassortiment-grid.sluzby .block a span, #nassortiment-grid.sluzby .block:hover a span, #nassortiment-grid .block a p, #nassortiment-grid .block:hover a p { transition: all .5s ease; -webkit-transition: all .5s ease; }
	#nassortiment-grid.sluzby .block img { position: absolute; top: 0; right: 0; bottom: 55px; left: 0; margin: auto; width: auto; height: auto; max-width: 60%; }
	#nassortiment-grid.sluzby .block a span { height: 70px; justify-content: start; align-items: start; text-align: left; line-height: 1.2; font-size: .9rem; font-weight: bold; padding: 10px 15px; background: rgba(229, 229, 229, .89); color: #000; }
	#nassortiment-grid.sluzby .block:hover a span { height: 100%; padding-top: 20px; align-items: start; }
	#nassortiment-grid.sluzby .block a::after, #nassortiment-grid.sluzby .block:hover a::after	{ transition: all 1s ease; -webkit-transition: all 1s ease; }
	#nassortiment-grid.sluzby .block a p { padding: 15px; }	
    
    .static-banner-neprehlednete ul { width: 100%; list-style-type: none; padding: 0; display: block;  }
    .static-banner-neprehlednete ul li { margin-bottom: 30px; height: 430px; }
    .static-banner-neprehlednete ul li img { position: absolute; right: 0; }

    .homepage-blog { height: 940px; }
    .homepage-blog  .inner-hblog .blog { float: left; clear: none; width: 100%; position: relative; padding: 0; margin: 0; overflow: hidden; border: none; }
    .homepage-blog  .inner-hblog .blog:first-of-type .text-box h3 { font-size: 18px !important; line-height: 24px; }
    .homepage-blog  .inner-hblog .blog:first-of-type { width: 100%; border-right: 0; border-bottom: 8.5px solid transparent; }
    .homepage-blog  .inner-hblog .blog:nth-of-type(2) { border-bottom: 8.5px solid transparent; border-top: 8.5px solid transparent; }
    .homepage-blog  .inner-hblog .blog:nth-of-type(3) { border-top: 8.5px solid transparent; }

    #footer .partak-img { display: none; }
    #footer li, #footer p { font-size: .85rem; line-height: 1.3rem;  }


}
