/* Font */
.font-montserrat,
h1,
h2,
h3,
h4,
h5 {
    font-family: "Montserrat", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

.font-inter {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-900 {
    font-weight: 900;
}

/* Barvy */

:root {
	/* Definice zelené */
	--green: #103C1F;

	/* Definice žluté */
	--yellow: #DC9D00;

	/* Definice modré */
	--blue: #00487D;

	/* Definice světle šedé */
	--light-grey: #F2F4F9;

	/* Definice tmavě šedé */
	--dark-grey: #393939;	

	--accent-color: #1977cc;
	--surface-color: #ffffff;
	--contrast-color: #ffffff;
}

.text-color-green {
    color: var(--green);
}

a.text-color-green:hover {
	color: color-mix(in srgb, var(--green), transparent 30%);
}


.text-color-yellow {
    color: var(--yellow);
}

.text-color-blue {
    color: var(--blue);
}

.text-color-light-grey {
    color: var(--light-grey);
}

/* Třídy pro barvu pozadí */
.bg-color-green {
    background-color: var(--green);
}

.bg-color-yellow {
    background-color: var(--yellow);
}

.bg-color-blue {
    background-color: var(--blue);
}

.bg-color-light-green {
    background-color: rgba(16, 60, 31, 0.1);
}

.bg-color-light-grey {
    background-color: var(--light-grey);
}

.bg-color-dark-grey {
    background-color: var(--dark-grey);
}

.grey-border {
    border: 1px solid #E1E7F4;
}

.text-justify {
    text-align: justify !important;
}

.text-white-transparent,
.text-white-transparent a {
    color: rgba(255, 255, 255, 0.7);
}

.text-white-transparent a:hover {
	text-decoration: none;
}


/* Buttons */
.btn-default {
    background-color: var(--green);
    border-color: var(--green);
    transition: all 0.3s ease-in-out;
}

.btn-default:hover {
    background-color: color-mix(in srgb, var(--green), white 20%);
    border-color: color-mix(in srgb, var(--green), white 20%);
}

.btn-white {
    color: var(--green);
    background-color: #fff;
    border-color: #fff;
    transition: all 0.3s ease-in-out;
}

.btn-white:hover {
    color: var(--green);
    background-color: color-mix(in srgb, #fff, black 10%);
    border-color: color-mix(in srgb, #fff, black 10%);
}


/* Obrázky */
.bg-top-img {
    /*background-image: url(img/TOP.svg);*/
    background-image: url(../../images/bg-slider.png);
	background-color: rgba(16, 60, 31, 0.05);
    background-position: right;
    background-repeat: no-repeat;
	min-height: 580px;
}

.text-black {
    color: #000000 !important;
}

.text-black:hover {
   color: color-mix(in srgb, #000000, transparent 30%) !important;
}

.h-240 {
    height: 240px;
}

a.navbar-brand svg,
a.navbar-brand img {
    position: relative;
	width: 238px;
	height: 24px;
	display: block;
	align-self: center;
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
  
  .same-height {
	  height: auto !important;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item .gallery-item-image {
    position: relative;
    overflow: hidden;
}

.gallery-item .gallery-item-image a {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.gallery-item .gallery-item-image img {
    transition: all ease-in-out 0.4s;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.1);
}

.gallery-item .gallery-item-image a::before {
    content: "\f52a"; /* Bootstrap Icons - search */
    font-family: "bootstrap-icons";
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.gallery-item .gallery-item-image a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.gallery-item:hover .gallery-item-image a::before,
.gallery-item:hover .gallery-item-image a::after {
    opacity: 1;
}


#certification .gallery-item .gallery-item-image a::before {
	content: "\F640"; /* Bootstrap Icons - file-pdf */
	font-size: 30px;
}	


/*--------------------------------------------------------------
# Featured Content Section
--------------------------------------------------------------*/
.pdf-box, .link-box {
    display: block;
    text-decoration: none;
}

.pdf-box .content, .link-box .content {
    position: relative;
    overflow: hidden;
}

/* PDF box styly */
.pdf-box .content img {
    transition: all ease-in-out 0.4s;
}

.pdf-box .content::before {
    content: "\F640"; /* Bootstrap Icons - file-pdf */
    font-family: "bootstrap-icons";
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.pdf-box .content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.pdf-box:hover .content::before,
.pdf-box:hover .content::after {
    opacity: 1;
}

.pdf-box:hover .content img {
    transform: scale(1.1);
}

/* Link box styly */
.link-box .content img {
    transition: all ease-in-out 0.4s;
}

.link-box .content::before {
    content: "\F470"; /* Bootstrap Icons - link-45deg */
    font-family: "bootstrap-icons";
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.link-box .content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.link-box:hover .content::before,
.link-box:hover .content::after {
    opacity: 1;
}

.link-box:hover .content img {
    transform: scale(1.1);
}
