body::before {
  content: url(../images/hamblack.svg) url('image2.jpg') url('image3.jpg');
  display: none;
}


/** TYPOGRAFIE */
body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h2 a,
.nav-link,
.nav-item.item-107::after {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.center {
  text-align: center;
}

/** -smaller */
.btnTN,
.nav-item a,
.nav-item span {
  font-size: 1rem;
}

/** -beige text */
.MDdoprava .itm,
.footer a:hover,
.hero,
.PGhmpg .navbar-dark a.nav-link,
.PGhmpg .nav-item.item-107:after {
  color: #f9f2e3;
}




/** -white text */
/*.PGhmpg .navbar-dark .navbar-nav .nav-link:hover, 
.PGhmpg .navbar-dark .navbar-nav .nav-link:focus,*/
.MDdoprava,
.MDparams .itm,
.footer,
.footer a,
.MDheader {
  color: #fff;
}

/** -black text */
.com-content-article__body h2,
.scrolled .nav-item.item-107:after,
.nav-item.item-107:after,
a,
.navbar-dark .navbar-nav .nav-link,
.scrolled .navbar-dark .navbar-nav .nav-link {
  color: #000;
}
.PGaktu .article-info.text-muted {
  color: #000 !important;
}

@media(max-width:991px) {
.PGhmpg .navbar-dark a.nav-link,
.PGhmpg .nav-item.item-107:after {
	color: #000
}}

/** -red text */
.btnTN,
.btnTN:hover,
.btnTN:focus,
.tvcard a,
.scrolled .navbar-dark .navbar-nav .nav-item.active .nav-link,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.PGhmpg .scrolled .navbar-dark .navbar-nav .nav-link:hover,
.PGhmpg .scrolled .navbar-dark .navbar-nav .nav-link:focus,
.nav-item.active .nav-link,
a:hover,
a:focus,
.TNarticle .itm h3,
.pagination a.page-link,
.PGaktu .page-header h2 a,
.blog-featured h2.item-title a,
.TNaktualita .com-content-article__body a {
  color: #c00418;
}

/** -dark red text */
.btnTN:hover,
.btnTN:focus {
  /*color: #870310;*/
}

/** -uppercased */
.btnTN,
.itm .content h3,
.MDdoprava .itm h3,
h1,
h1 span,
.MDheader h1,
h2 span,
h2,
.navbar-dark .navbar-nav .nav-link {
  text-transform: uppercase;
}

/** -not uppercased */
.PGaktu .page-header h2,
.blog-featured h2.item-title,
.com-content-article__body h2 {
  text-transform: none;
}

/** -spaced */
.MDdoprava .itm h3 {
  letter-spacing: 0.1rem;
}

/** -light 400 */
h2,
.MDheader h1 .preheadB,
h2 .preheadB,
.MDheader h1 h1 span.preheadB,
h2 span.preheadB {
  font-weight: 400;
}

/** -semibold 500/600 */

.blog-featured h2.item-title {
  font-weight: 500;
}

.btnTN {
  font-weight: 600;
}


/** -bold 700 */

.nav-item a,
.nav-item a:after,
h2,
.com-content-article__body h2 {
  font-weight: 700;
}

/** -header SUPER BIG **/
/** -header BIG **/
h1,
h2,
.h2,
.MDheader h1 {
  font-size: 2rem;
}

/** -article header **/
.com-content-article__body h2 {
  font-size: 1.6rem;
}

/** -header SMALL PREHEADER */
h1 span.preheadS,
h2 span.preheadS,
.footer {
  font-size: 0.9rem;
}

/** -header SMALL 3TH */
.TNarticle .itm h3,
.PGaktu .page-header h2,
.footer h3,
.MDdoprava h3,
.MDparams h3,
.blog-featured h2.item-title {
  font-size: 1.3rem;
}

/** -lineheight 1 */
.MDparams h2,
.blog-featured h1 {
  line-height: 1;
}

/** -none decoration */
.smlink,
.tvcard a,
.PGdocs .TNarticle a,
.PGaktu .page-header h2 a,
.footer a,
.blog-featured h2.item-title a {
  text-decoration: none;
}

/** -responsive typography */

@media (max-width: 1279px) {
  /** -header SUPER BIG **/
  /** -header BIG **/
  h1,
  h2,
  .h2,
  .MDheader h1 {
    font-size: 1.7rem;
  }
}


@media (max-width: 767px) {
body {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.535;
}
}

@media (max-width: 450px) {
  .TNarticle .itm h3,
  .PGaktu .page-header h2,
  .footer h3,
  .MDdoprava h3,
  .MDparams h3,
  .blog-featured h2.item-title {
    font-size: 1.1rem;
  }

  h1,
  h2,
  .h2,
  .MDheader h1 {
    font-size: 1.3rem;
  }

  h1 span.preheadS,
  h2 span.preheadS,
  .footer {
    font-size: 0.7rem;
  }
}

/** LAYOUT */
.grd {
  display: grid;
}

div {max-width: 100%;}

@media (min-width: 768px) and (max-width: 1023px) {
  .container,
  .container-sm,
  .container-md {
    max-width: 950px;
  }
}

/**	 MENU */
.nav-item.item-107 {
  margin-left: 90px;
  position: relative;
}

.nav-item.item-107:after {
  content: "|";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-60%);
  transition: color 0.3s;
}


@media (max-width: 991px) {
	.nav-item.item-107 {
  margin-left:0px;
  margin-top:30px;
}
.nav-item.item-107:after {
  content: "";
}

#mainmenu {
	position:fixed;
	left:0;
	top:80px;
background:rgba(244,244,244,1);
width:100vw;
max-height:100vh;
padding:30px;
}


}

/** HEADER */
header {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  transition: background-color 0.3s;
}

.PGhmpg .navbar-nav.me-auto.mb-2.mb-lg-0 {
  margin-bottom: 74px !important;
  transition: margin 0.3s ease;
}
.PGhmpg .scrolled .navbar-nav.me-auto.mb-2.mb-lg-0 {
  margin-bottom: 0px !important;
}

.navbar-brand {
  display: block;
}
.navbar-brand svg {
}

.navbar-brand img,
.navbar-brand svg {
  transition: all 0.3s;
}

/** -logo	*/
/*
59x138
130x304
*/

.navbar-brand img,
.navbar-brand svg {
  max-height: 59px;
  width: 138px;
}
.navbar-brand svg path {
  fill: #c00418;
}

.navbar-nav.me-auto.mb-2.mb-lg-0 {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.PGhmpg .navbar-brand img,
.PGhmpg .navbar-brand svg {
  max-height: 130px;
  width: 304px;
}
.PGhmpg .navbar-brand svg path {
  fill: #f9f2e3;
}

.PGhmpg .scrolled .navbar-brand img,
.PGhmpg .scrolled .navbar-brand svg {
  max-height: 59px;
  width: 138px;
}
.PGhmpg .scrolled .navbar-brand svg path {
  fill: #c00418;
}

.navbar-brand {
  /*margin-right:10rem*/
}

.PGhashero nav.navbar.bg-dark {
  background-color: transparent !important;
}

header.scrolled {
  background-color: #fff; /*rgba(192,4,24,0.95)*/
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1365px) {
  .PGhmpg .navbar-brand {
    padding: 0;
    margin: 0;
  }
  .PGhmpg .navbar-brand svg {
    max-height: 80px;
    width: 187px;
  }
}

@media (max-width: 991px) {
  .navbar-brand svg,
  .PGhmpg .navbar-brand svg,
  .PGhmpg .scrolled .navbar-brand svg {
    max-height: 59px;
    width: 138px;
  }
}

/** MAIN MENU */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}


/** MOBILE MAIN MENU*/
.navbar-dark .navbar-toggler {
  color: transparent;
  border:none!important;
  border-color:transparent;
  padding:0;
}

.navbar-dark .navbar-toggler-icon {
background-image:url(../images/hamblack.svg);
height:20px;
width:20px;
}

.PGhmpg .navbar-dark .navbar-toggler-icon  {
	background-image:url(../images/hamb.svg);
}

.scrolled .navbar-dark .navbar-toggler-icon {
	background-image:url(../images/hamblack.svg);
}

@media (max-width: 991px) {
#topheader .container
{padding-left:0.5rem;
padding-right:0.5rem;
width:calc(100% - 1rem);
}}


/** LANGUAGES */
html[lang="cs-cz"] .item-107 .nav-link,
html[lang="en-gb"] .item-108 .nav-link {
  opacity: 0.35;
  pointer-events: none;
}

/** HERO*/
.nohero {
  height: 86px;
}
.hero {
  width: 100%;
  height: 0;
  padding-bottom: 35.416667%;
  padding-left: 0.75rem;
  background-color: #c00418;
  overflow: hidden;
}

.hero .custom {
  margin-top: 19.271vw; /*370px;*/
  width: 500px;
  position: relative;
  z-index: 2;
}

.hero video {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}

@media (max-width: 1365px) {
  .hero .custom {
    margin-top: 150px;
    width: 500px;
  }
}

@media (max-width: 991px) {
  .hero .custom {
    margin-top: 15vw;
  }
  .hero video {
    width: 200%;
    left: -80%;
  }
  .hero {
    padding-bottom: calc(70.83333% + 250px);
    position: relative;
  }
  .hero .container {
    position: absolute;
    bottom: 0;
    height: 250px;
    background: #c00418;
    padding: 0;
  }

  .hero .container .custom {
    width: calc(100% - 30px);
    color: #fff;
    margin: 0;
    position: absolute;
    left: calc(50% - 15px);
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 550px) {
  .hero video {
    width: 320%;
    left: -150%;
  }
  .hero {
    padding-bottom: calc(113.3333% + 250px);
  }
}

/** FEATURED BLOG */

.blog-items.TNblog {
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:1rem;
	margin-bottom:30px;
}




.PGabout main.siteBody,
.PGkont main.siteBody,
.PGdocs main.siteBody,
.PGserv main.siteBody,
.PGhmpg main.siteBody,
.PGaktu main.siteBody {
  background-color: #f9f2e3;
}

.PGaktu main.siteBody {
  /*margin-top:-30px;*/
  padding-top: 60px;
}

.blog-featured h1 {
  margin: 45px 0 60px;
}

.blog-featured h2.item-title {
  margin-bottom: 1rem;
}



.blog-items.TNblog[class^="masonry-"],
.blog-items.TNblog[class*=" masonry-"],
.TNblog {
  margin-bottom: 0;
}

.TNblog .blog-item {
  margin-bottom: 0;
  position: relative;
  padding-bottom: 3rem;
}

.TNblog p.readmore {
  position:absolute;
  bottom: 0;
}

@media (max-width:991px) {
.blog-items.TNblog {
	grid-template-columns:1fr;
	}
}




@media (max-width:767px) {
.blog-featured h1 {
  margin: 30px 0 40px;
}
}


/** BUTTON */
.btnTN {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color:transparent;
  border: 1px solid transparent;
  padding: 0.25rem 1.2rem;
  /*font-size: 1rem;*/
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
  border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  position:relative;
  transition:padding 0.3s, margin 0.3s;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btnTN:after,
.btnTN:before {
content:'';
background:url(../images/bracket.svg) left center no-repeat;
background-size:auto 100%;
display:block;
position:absolute;
top:0;
height:100%;
width:30px;
}

.btnTN:after {
	right:0;
	transform:rotate(180deg);
}

.btnTN:before {
	left:0;
}
	

.btnTN:hover,
.btnTN:focus {  
padding:0.25rem 0.8rem;
margin-left:0.4rem;
margin-right:0.4rem;
}




.allnwslnk {
  margin-bottom: 30px;
}

.smlink {
 padding: 0.375rem 1.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition:background-color 0.3s, color 0.3s;
}

.smlink:hover {
	background-color:#f9f6f0/*rgba(255,255,255,0.6)*/;
}


@media (max-width:767px) {
	.btnTN {  
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}}

/**MD HEADER*/

.MDheader .custom {
  background-size: cover;
  background-position: center center;
  min-height: 360px;
  position: relative;
  /*margin-bottom:30px;*/
  text-shadow: -1px 0px 11px rgba(0, 0, 0, 0.8);
}

.MDheader .custom .content {
  padding: 30px 0;
  width: 500px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.MDheader .custom .content.centered {
  padding: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.MDheader {
  position: relative;
}

.MDheader:after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: url(../images/darkener.png) no-repeat;
  background-size: 50% 100%;
  opacity: 0.75;
}


@media (max-width:767px) {
	.MDheader .custom {
min-height: 220px;}}

/**MD PARAMS*/
.MDparams h2 {
  margin: 45px 0 60px;
}

.MDparams {
  padding: 0 0 15px 0;
}

.MDparams .grd {
  margin: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
}

.MDparams .itm {
  background-color: #be0519;
  padding: 45px 15px;
  position: relative;
}

.MDparams .itm img {
  float: left;
  width: 33%;
  position: relative;
  background-image: url(../images/pxFFFFFF.png);
  background-position: top right +15px;
  padding: 10px 40px 10px 10px;
  background-size: 1px 100%;
  background-repeat: no-repeat;
}

.prmtxt p {
  margin-bottom: 0;
}

.prmtxt {
  position: absolute;
  left: calc(33% + 15px);
  top: 50%;
  transform: translateY(-50%);
}


@media (max-width:1023px) {
	.MDparams .grd {  
  grid-template-columns: 1fr 1fr;
}}

@media (max-width:767px) {
	.MDparams .grd {  
  grid-template-columns: 1fr;
  margin:0;
  row-gap: 15px;
}}

/**MD DOPRAVA*/
.MDdoprava {
  background-color: #bebebe;
  padding: 60px 0;
}
.MDdoprava .grd {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
}

.MDdoprava .itm {
  position: relative;
  height: 0;
  padding-bottom: 58.125%;
  background-color: #fff;
}

.MDdoprava .itm h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.itmcard {
  position: absolute;
  opacity: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

.MDdoprava .itm:hover .itmcard,
.MDdoprava .itm:focus .itmcard {
  margin-left: 0;
  opacity: 1;
}

.MDdoprava .itm:hover h3,
.MDdoprava .itm:focus h3 {
  opacity: 0;
}

.cardcont {
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.itmsilnice {
  background-image: url(../images/MDdoprava-silnice.jpg);
}
.itmlode {
  background-image: url(../images/MDdoprava-lode.jpg);
}
.itmvlaky {
  background-image: url(../images/MDdoprava-vlaky.jpg);
}

.MDdoprava .itm {
  background-size: 100% auto;
  background-position: center center;
  transition: all 0.3s;
}
.MDdoprava .itm:hover,
.MDdoprava .itm:focus {
  background-size: 160% auto;
}

@media (max-width:1199px) {
.cardcont {font-size:0.9rem}
}


@media (max-width:991px) {
	.MDdoprava .grd {  
  grid-template-columns:1fr;
  column-gap:0;
  row-gap: 30px;
}
	}
	
	


/**MD EU*/
.MDeu {
  padding: 60px 0;
}

/**FOOTER*/

.footer {
  background-color: #333;
  padding: 60px 0 30px;
}

.footer .grd {
  display: grid;
  grid-template-columns: 2fr 2fr 3fr 2fr;
  column-gap: 30px;
  row-gap: 30px;
}

.copyright {
  margin-top: 30px;
  opacity: 0.6;
}

.footer-logo {
  text-align: right;
}
.footer-logo img {
  width: 200px;
  opacity: 0.6;
}
.footer .itm a {
  line-height: 1.4rem;
}

@media (max-width:767px) {
	.footer .grd {
  display: grid;
  grid-template-columns: 5fr 3fr;
  column-gap: 0px;
  row-gap: 30px;
}
.footer-logo img {
  width: 150px;
  max-width:80%;
  opacity: 0.6;
}

/*.footer .grd .itm:nth-child(1),
.footer .grd .itm:nth-child(2)*/
.footer .grd .itm {
	padding-bottom:30px;
	margin-bottom:30px;
	border-bottom:1px solid #bebebe;
}

.copyright {
  margin-top: 0px;
  opacity: 0.6;
}

}

/** ARTICLES */

.com-content-article__body h2 {
  margin: 30px 0;
}

.TNarticle {
  width: 960px;
  margin: 60px auto;
  /*margin:0 auto;*/
}

/** -pagenavigation */
.page-link,
.page-item.disabled .page-link {
  background-color: #fffbf4;
}

/** DOKUMENTY */

.PGdocs .TNarticle h2 {
  margin-top: 60px;
}

.PGdocs .TNarticle a {
  display: block;
  width: auto;
  margin: 0;
  /*border:1px solid #999;*/
  padding: 15px 5px 15px 35px;

  background-image: url(../images/download.svg);
  background-size: auto 20px;
  background-repeat: no-repeat;
  background-position: left + 5px bottom + 20px;
}

.PGdocs .TNarticle a:hover,
.PGdocs .TNarticle a:focus {
  background-color: rgba(255, 255, 255, 0.35);
}

/*.PGdocs .TNarticle a[href$=".pdf"] {background-image:url(../images/download-pdf.svg); }
.PGdocs .TNarticle a[href$=".xls"] {background-image:url(../images/download-excel.svg); }
.PGdocs .TNarticle a[href$=".xlsx"] {background-image:url(../images/download-excel.svg); }
.PGdocs .TNarticle a[href$=".doc"] {background-image:url(../images/download-word.svg); }
.PGdocs .TNarticle a[href$=".docx"] {background-image:url(../images/download-word.svg); }*/

/** AKTUALITY */

.TNaktualita {
  width: 650px;
  max-width: 100%;
  margin: 90px auto;
}

.PGaktu main.siteBody div.container {
  width: 650px;
  max-width: 100%;
  margin: 0 auto;
}

.PGaktu .item-content {
  margin-bottom: 15px;
  border-bottom: 1px solid #bebebe;
  padding-bottom: 30px;
}

.PGaktu .article-info.text-muted {
  margin-bottom: 0;
}

.PGaktu .page-header h1 {
  margin-bottom: 30px;
}

.pagination .page-item.active .page-link {
  background-color: #c00418;
  border-color: #c00418;
}

/** -fotogalerie */
.newsgallery {
  display: grid;
  list-style-type: none;
  padding: 0;
}
.newsgallery img {
  margin: 0 0 30px 0;
}

@media (max-width: 1279px) {
  .TNaktualita {
    margin: 0px auto;
  }
}

@media (max-width: 991px) {
  .blog-featured .blog-item {	  
  margin-bottom: 15px;
  border-bottom: 1px solid #bebebe;
 /* padding-bottom: 30px;*/
}
}

/** EU PROJEKTY*/

.eulink {
  margin-top: 20px;
  display: inline-block;
}

.euposter {
  margin: 30px 0;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
}

/** -article grid boxes */
.TNarticle .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 60px;
  justify-content: center;
}

.TNarticle .itm {
  background-color: #f9f2e3;
  text-align: center;
  /*border:3px solid #fff;*/
  padding: 15px;
  position: relative;
  height: 0;
  padding-bottom: 33.3333%;
  /*background:rgba(255,255,255,1);*/
  background-image: url(../images/px000000.png), url(../images/px000000.png),
    url(../images/px000000.png), url(../images/px000000.png),
    url(../images/px000000.png), url(../images/px000000.png);
  background-position: top left, top left, top right, top right, bottom right,
    bottom left;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat,
    no-repeat;
  background-size: 4px 100%, 15px 4px, 15px 4px, 4px 100%, 15px 4px, 15px 4px;
}

.TNarticle .itma {
  grid-column: 1 / span 2;
  padding-bottom: 16.66667%;
}

.TNarticle .itm p {
  text-align: center;
  margin-bottom: 0;
}

.TNarticle .itm .content {
  width: 100%;

  padding: 15px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1023px) {
	.TNarticle .grid {  
  grid-template-columns: 1fr;
  column-gap: 0px;
  row-gap: 30px;
}

.TNarticle .itm .content {
position: relative;}

.TNarticle .itm {
  height:auto;
  padding: 0;  
}

.TNarticle .itma {
  grid-column: auto;
  padding: 0;
}


}


/** KONTAKTY */
.tvcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: start;
  margin-top: 45px;
}

.tvcard {
  margin: 15px 0 0 0;
  text-align: left;
  background: xx#fff;
}

.tvcard:nth-child(1) {
  padding-right: 75px;
  border-right: 1px solid #000;
}
.tvcard:nth-child(2) {
  padding-left: 30px;
}

.tvcard h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
}
.tvcard table tr td:nth-child(2) {
  padding-left: 15px;
}


@media (max-width:767px) {
	.tvcards {  
  grid-template-columns: 1fr;
	}
	
	.tvcard  {font-size:0.9rem;width:100%}
	
	.tvcard:nth-child(1) {
		padding-top:30px;
  padding-right:0;
  border-right: 0;
  padding-bottom:30px;
  border-bottom:1px solid #bebebe;
  border-top:1px solid #bebebe;
}
.tvcard:nth-child(2) {
	padding-top:15px;
  padding-left: 0px;
}
	
	
}