@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin-ext';

/* Box sizing + reset */

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

html, body, h1, h2, h3, h4, h5, h6, p, ul {
    margin: 0;
    padding: 0;
}

/* Global */

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
}

#wrapper {
    min-height: 100%;
    margin-bottom: -212px;
}

#wrapper:after {
    content: "";
    display: block;
    height: 212px;
}

.red {
    color: #d8292f;
}

.light {
  font-weight: 300;
}

img {
  max-width: 100%;
}

/* Header */

header {
    position: relative;
    width: 100%;
    height: 249px;
    z-index: 1;
    background-color: #d8292f;
    background-image: url('../img/logo.png'), url('../img/bg-header.webp');
    background-repeat: no-repeat;
    background-size: 257px auto, auto 100%;
    background-position: center 70%, center top;
}

nav {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;

}

header nav {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav:before {
    content: "";
    display: block;
    position: absolute;
    width: 1186px;
    max-width: 100%;
    height: 77px;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.5);
}

nav ul {
    text-align: center;
}

nav li {
    list-style: none;
    display: inline-block;
    font-size: 16px;
    line-height: 69px;
    margin: 0px 15px;
    text-transform: uppercase;
    font-weight: 700;
}

nav li a {
    text-decoration: none;
}

header nav li a {
    color: black;
}

header nav li a:hover {
    color: #d8292f;
}

header nav li.active a {
    border-bottom: 4px solid #d8292f;
}

header nav .menu-logo {
  margin-left: 15px;
}

header nav .language {
    width: 98px;
    height: 100%;
    background: #EAEAEA;
    position: relative;
    border-left: 1px solid #CCC;
}

header nav .language .mod-languages,
header nav .language .mod-languages ul,
header nav .language .mod-languages ul li,
header nav .language .mod-languages ul li a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

header nav .language .mod-languages ul li {
    display: none;
}

header nav .language .mod-languages ul li.lang-active {
    display: block;
}

header nav .language .mod-languages:hover ul li {
    display: block;
}

header nav .language .mod-languages:hover ul li.lang-active {
    display: none;
}

header nav .language .mod-languages ul li a img {
    vertical-align: middle;
}

header .menu-button {
	display: none;
	font-family: 'Open Sans', sans-serif !important;
	height: 69px;
	line-height: 69px;
	font-weight: 700;
}

/* Main */

main {
    text-align: center;
    font-size: 16px;
}
#duvody{
    max-width: 90% !important;
}
.container,
main .blog > div {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    max-width: 1050px;
    text-align: center;
    padding-bottom: 30px;
    text-overflow: ellipsis;
}

main div[itemprop='articleBody'] > p,
main .content,
main .flexcontent,
main .page-header,
#phocagallery #pg-msnr-container
{
    width: 100%;
    margin: 25px auto;
    max-width: 1050px;
    text-align: center;
    grid-template-columns: 1fr,1fr,1fr;
    grid-template-rows: 1fr,1fr;
}

main .content.article {
    padding: 20px;
}

main .bg .content {
    margin: 0 auto;
}

main .bg,
main .blog {
    background-color: #f1f4f8;
    background-image: url('../img/bg.webp');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 50px 0;
    padding-bottom: 100px;
    margin-top: 50px;
    text-align: center;
}

main .blog {
    margin: 0;
    padding-top: 25px;
}

main .bg.doprava {
    background-image: url('/templates/jumbo/img/bg-doprava2.webp');
    background-position: right center;
    background-size: 70% auto;
    padding-bottom: 50px;
}

main .bg.small {
    padding-top: 5px;
    margin-top: 30px;
}

main h2,
#phocagallery .page-header h1 {
    display: inline-block;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 600;
	margin: 30px 0 10px 0;
    position: relative;
    text-align: center;
    justify-content: space-evenly;
}

main h2:before,
#phocagallery .page-header h1:before {
    content: "";
    background-image: url('../img/bg-heading.png');
    position: absolute;
    display: block;
    width: 51px;
    height: 10px;
    top: 39px;
    left: 3px;
}

main .bg h2 {
    margin-bottom: 30px;
}

main h3 {
    color: #d8292f;
    text-align: left;
    padding-bottom: 1em;
}

main h3 small {
    color: #888888;
}

main h4 {
    color: #d8292f;
    font-size: 1em;
    text-align: left;
    margin-bottom: 5px;
}

main p {
    margin-bottom: 1em;
    text-align: left;
}

main p.center {
    text-align: center;
}

main p.left {
    text-align: left;
    text-overflow: ellipsis;
}

main p.question {
    color: #d8292f;
    font-size: 1.25em;
    margin-bottom: 0.5em;
}

main p.question:before {
    content: "Otázka:";
    color: #888888;
    font-size: 0.8em;
    margin-right: 0.5em;
}

main p.answer {
    margin-left: 2em;
    margin-bottom: 1.5em;
}

main p.answer:before {
    content: "Odpověď:";
    color: #888888;
    margin-right: 0.5em;
}

main img.left, {
    margin: 2em;
    margin-left: 0;
    float: left;
}

main img.right {
    margin: 2em;
    margin-right: 0;
    float: right;
}

main img.top {
    margin-top: 0;
}

main ol,
main ul {
    text-align: left;
    padding-left: 2em;
}

main ul {
    list-style-type: circle;
    margin-bottom: 1em;
}

main li {
    padding-bottom: 0.3em;
}

main a {
    color: #b42227;
    text-decoration: none;
}

main address {
    text-align: left;
    font-style: normal;
    margin-bottom: 2em;
}

main abbr {
    cursor: pointer;
    border-bottom: 1px dotted #888888;
}

main a:hover {
    color: #d8292f;
    text-decoration: underline;
}

main a.button,
#rsform_3_page_0 button {
    display: block;
    border: 0;
    width: 200px;
    height: 50px;
    margin: 30px auto;
    background: #d8292f;
    line-height: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

main a.button:hover,
#rsform_3_page_0 button:hover {
    background: #b42227;
    color: white;
    text-decoration: none;
}

#rsform_3_page_0 button {
  cursor: pointer;
}

#sluzby > div, #reference > div, #doprava > div, #novinky > div, #contacts {
    padding: 14px;
}
#duvody > div {
    padding: 14px 25px 14px 14px;
}

#sluzby > div {
    position: relative;
}
#reference > div {
    display: flex;
}

p.big {
  font-size: 18px;
  padding: 20px;
}

main .grid2 {
    width: 60%;
}

main .grid3 {
    width: 33.3333%;
}

main .grid4 {
    width: 25%;
}
main .grid4 p {
    text-align: left !important;
}

main .card,
.phocagallery tr,
#phocagallery .pg-cv-box.item {
    background: white;
	box-shadow: 0 0 6px 1px rgba(0,0,0,0.2);
    border-radius: 2px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    color: black;
}

#sluzba .w6 {
    margin: 0 30px;
}

#sluzby > div:hover .card div,
#sluzby > div:hover:after {
    filter: blur(2px);
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='2'); 
}

#sluzby > div.novinka:after {
    content: "";
    display: block;
    background-image: url('../img/novinka.png');
    width: 142px;
    height: 142px;
    position: absolute;
    left: 4px;
    top: 4px;
    z-index: 2;
}

#sluzby > div.novinka:hover:after {
    background-image: url('../img/novinka-white.png');
}

#sluzby > div .card a.button {
    width: 130px;
}

#sluzby > div .card a.cover {
    display: none;
}

#sluzby > div:hover .card a.cover {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    height: auto;
    margin: auto;
    z-index: 2;
    background: url('../img/button-bg.png') center center no-repeat rgba(255,255,255,0.75);
}

#sluzby {
    align-items: stretch;
}

#reference {
    align-items: stretch;
}

#duvody, #novinky {
    align-items: flex-start;
}

#prace, #people {
    align-items: flex-end;
}

#duvody h3 {
  text-transform: uppercase;
  text-align: center;
}

#duvody img {
    margin: 0 auto;
  	padding-bottom: 15px;
}

#prace {
    padding: 0 25px;
}

#prace > div {
    margin: 10px;
}

#prace a {
    margin: 15px;
    text-decoration: none;
}

#prace a .title {
	display: block;
    font-weight: 600;
    color: #0072bc;
    margin-top: 15px;
}

#prace a:hover .title {
    text-decoration: underline;
}

main #sluzby .w3 {
    text-align: left;
}

#people {
	display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#people > div {
	margin: 5px 0;
}

#top .wrapper-people {
	background: #ececec;
	padding: 20px;
    background-image: url(../img/bg-people.webp);
    background-position: bottom right;
	background-repeat: no-repeat;
}

#top h5 {
	text-transform: uppercase;
	margin: 5px 0 20px 0;
	font-size: 18px;
	font-weight: 600;
}

#top .line {
	margin: 20px 0;
	width: 100%;
	height: 1px;
	background: #b1b1b1;
}

#top .button {
  margin: 15px auto;
}

#people .name {
	margin-top: 5px;
	font-weight: 700;
}

#people .email {
    font-size: 0.75em;
}

#people .position {
    font-size: 0.85em;
    font-style: italic;
    color: #7D7D7D;
}

#slideshow {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    border: 14px solid white;
}

#slideshow li {
    background: #D8292F;
}

#slideshow a {
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

#slideshow .slide-desc {
    display: flex;
}

#slideshow .slide-desc-in {
    width: 100%;
}

#slideshow .slide-desc-bg {
    background: transparent;
}

#slideshow .slide-desc-text {
    padding: 0 30px;
    text-transform: uppercase;
    text-align: center;
}

#slideshow .slide-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0px;
}

#slideshow .slide-text p {
    font-size: 16px;
    text-align: center;
    padding-bottom: 6px;
}

#slideshow .navigation-container > img {
    z-index: 2;
    padding: 20px;
}

main .card.flex {
    display: flex;
    align-items: center;
}

main .flexcontent, #phocagallery #pg-msnr-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

main .w1 {
    flex: 1;
}

main .w2 {
    flex: 2;
}

main .w3 {
    flex: 4;
}

main .w6 {
    flex: 6;
}

main .card .top-img {
    height: 140px;
    margin: 20px;
    margin-bottom: 40px;
    position: relative;
}

main .card .top-img img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

#rsform_3_page_0 {
    text-align: left;
    border: 0;
    margin: 0;
    padding: 0;
}

#rsform_3_page_0 input,
#rsform_3_page_0 textarea {
    width: 100%;
    border: 2px solid #CACACA;
    padding: 7px;
    box-shadow: inset 0 2px 0 0 #f2f2f2;
}

#rsform_3_page_0 input:focus,
#rsform_3_page_0 textarea:focus {
    border: 2px solid #DC757B;
    outline: none;
}

#rsform_3_page_0 button {
    display: inline-block;
    margin: 15px 0;
}

#rsform_3_page_0 .rsform-block-send .formControls {
    text-align: right;
}

#rsform_3_page_0 label {
    font-size: 14px;
    font-weight: 700;
}

.phocagallery {
    width: 100%;
}

.phocagallery table {
    display: block;
}

.phocagallery tr {
    display: inline-block;
    width: calc(33.3333% - 28px);
    margin: 14px;
  	padding: 0;
}

.phocagallery td:nth-of-type(1) a {
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.phocagallery td:nth-of-type(2) {
    padding: 15px;
}

.phocagallery tbody {
    display: flex;
    flex-wrap: wrap;
}

.phocagallery img.pg-image {
    display: block;
    width: 100%;
}

.phocagallery td {
    display: block;
    padding: 0;
    margin: 0;
}

.phocagallery a {
    display: block;
}

.phocagallery a.category {
    display: inline-block;
    float: left;
}

.phocagallery span.small {
    color: #888888;
    display: inline-block;
    float: right;
}

#phocagallery #pg-msnr-container {
	box-sizing: border-box !important;
}

#phocagallery .pg-cv-box.item {
    width: 23%;
    height: initial;
    margin: 0;
    padding: 0;
    margin-right: 15px;
    box-sizing: border-box !important;
}

#phocagallery .pg-cv-name {
    padding: 5px 15px 10px;
    font-size: 0.9em;
}

#phocagallery .pg-cv-box:hover {
	background: none;
}

#phocagallery .pg-box1, .pg-box1 {
    height: initial;
	box-shadow: 1px 1px 6px rgba(0,0,0,0.2);
	border-radius: 2px;
}

#phocagallery .pg-box1,
.pg-box1,
#phocagallery .pg-box2,
.pg-box2,
#phocagallery a.pg-modal-button,
#phocagallery img.pg-image {
    display: block;
    width: 100%;
}

#sb-wrapper {
    background: white;
    padding: 20px;
}

#sb-wrapper-inner {
    border: none;
}

#sb-info {
    position: absolute;
    top: 0;
    margin-left: -20px;
}

#sb-info,
#sb-info-inner,
#sb-nav {
    width: 100%;
    height: 100%;
}

#sb-nav {
    float: none;
}

#sb-nav a,
#sb-counter {
   display: none;
   width: 45%;
   height: 100%;
}

#sb-nav a#sb-nav-previous {
   display: block;
   float: left;
   background: url('../img/slider-left.png') left center no-repeat;
}

#sb-nav a#sb-nav-next {
   display: block;
   float: right;
   background: url('../img/slider-right.png') right center no-repeat;
}

#sb-title {
    position: absolute;
    bottom: -15px;
    width: 100%;
    margin-left: -20px;
    text-align: center;
    background: white;
}

#sb-title-inner {
    color: black;
    padding-bottom: 10px;
}

#phocagallery > div:last-of-type {
    display: none !important;
}

#novinky .category-module {
    display: flex;
    flex-wrap: wrap;
}

#novinky .novinka-item {
    display: inline-flex;
    width: 100%;
    margin-bottom: 20px;
    align-items: center;
    text-align: left;
}

#novinky .novinka-item .image_intro {
    width: 160px;
    min-width: 160px;
    height: 160px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 20px;
}

#novinky .novinka-item .details {
    display: inline-block;
}

#novinky .novinka-item .details a {
    display: block;
    font-weight: 700;
    color: #004a80;
}

#novinky .novinka-item .details span {
    display: block;
    font-style: italic;
}

#novinky .novinka-item .details p {
    font-weight: 300;
    margin-top: 5px;
    margin-bottom: 0;
}

#novinky .line {
    display: block;
    width: 100%;
    height: 1px;
    background: #b1b1b1;
    margin: 15px auto;
}

#archiv {
    display: flex;
    justify-content: space-between;
}

#archiv div {
    color: #7D7D7D;
    font-weight: 600;
}

.red-bottom {
  border-bottom: 3px solid #d8292f;
  margin-bottom: 10px;
}

/* Footer */

footer {
    position: relative;
    width: 100%;
    height: 212px;
    text-align: center;
    color: white;
    background-color: #d8292f;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center 65%;
    clear: both;
}

footer nav li a {
    color: white;
}

footer nav li a:hover {
    color: #FFABAE;
}

footer .line {
    width: 100%;
    max-width: 1109px;
    height: 2px;
    margin: 0 auto;
    background-color: #ea9396;
}

footer .copyright {
    position: absolute;
    width: 100%;
    bottom: 5px;
    font-size: 0.9em;
}

footer .copyright a {
    color: white;
}

footer .copyright a:hover {
    text-decoration: none
}

@media (max-width: 1100px) {
    header .menu-button {
        display: block;
    }
  
	header .menu-button + .nav {
        display: none;
    }
  
	header .menu-button:hover + .nav, header .nav:hover {
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		top: 69px;
		background: #FFF;
	}
  
	header .nav li {
		display: block;
		background: #FFF;
		border-top: 1px solid #808080;
		margin: 0;
	}
  
  	header .nav li:last-of-type {
		border-bottom: 1px solid #808080;
	}
}

@media (max-width: 1000px) {
    main .grid3 {
        width: 100%
    }

    #sluzba .w1 {
        flex: initial;
    }

    #sluzba .w6 {
        flex: initial;
        width: 100%;
    }
	footer {
		height: 660px;
		background-position: center 90%; 
	}
	#wrapper {
		margin-bottom: -660px;
	}
  
	#wrapper:after {
		height: 660px
	}
	
	footer li {
		display: block;
	}
}

@media (max-width: 900px) {
    main .grid4, #phocagallery .pg-cv-box {
        width: 50%
    }
}

@media (max-width: 600px) {
    main .grid2, main .grid4, #phocagallery .pg-cv-box {
        width: 100%
    }
	main .bg.doprava {
    	background-image: none;
  }
}