html{
  margin: 0;
  height: 120%;
}

body {
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  background-image: url("/images/bg_main.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

p {
  font-size: 1em;
}

a {
  color: #424242;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #0f0f0f;
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: left;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #424242;
}

h1 {
  font-size: 2em;
	padding-bottom: 30px;
}

h2 {
  font-size: 1.6em;
	padding: 30px 0 10px 0;
}

h3 {
  font-size: 1.2em;
	padding: 30px 0 10px 0;
}

li {
  font-size: 1em;
  margin-bottom: 8px;
}

.red {
  color: #E3000F;
}
 
.orange {
  color: #ec7600;
}
 
.green {
  color: #76B729;
}

.blue {
  color: #162B6A;
}
 
 .grey {
  color: #c1c0c0;
}

 .bg_white {
  background-color: #FFFFFF;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  color: #000000;
  background-color: #FFFFFF;
  text-decoration: none;
  border: 1px solid #000000;
  border-radius: 0;
  padding: 5px 10px;
  font-size: 1rem;
}

.btn-primary.active, .btn-primary:active, 
.btn-primary:focus, .btn-primary:hover {
  color: #000000;
  background-color: #f3f3f3;
  border: 1px solid #000000;
}

.btn-secondary {
  color: #ffffff;
  background-color: transparent;
  text-decoration: none;
  border: 1px solid #ffffff;
  border-radius: 0;
  padding: 5px 10px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-secondary.active, .btn-secondary:active, 
.btn-secondary:focus, .btn-secondary:hover {
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #ffffff;
}

#no_record {
	margin-bottom: 120px;
	font-size: 1.3rem;
	text-align: center;
}

#no_record_ico {
	margin: 70px 0 50px 0;
	text-align: center;
  color: #E3000F;
}


/* hlavní navigace */

#mainNav {
  height: 79px;
  padding: 0;
  z-index: 999 !important;
  background-color: rgba(0, 0, 0, 0.2);
}

#mainNav .container {
  padding: 0 !important;
}

#mainNav .navbar-toggler {
  font-size: 1em;
  padding: 6px;
  margin-right: 30px;
  color: #FFFFFF;
  background-color: #dfdfdf;  
}

#mainNav .navbar-brand {
  margin: 10px 0 10px 30px;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 1.3rem;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  line-height: 28px;
  padding: 4px 2px;
  margin: 0 16px;
  color: #FFFFFF;
  position: relative;
  text-decoration: none;
  border-bottom: 0px;
  transition: border-bottom-width 0.4s fade;
}

#mainNav .navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ec7600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#mainNav .navbar-nav .nav-item.active .nav-link::after{
  opacity: 1;
}

#mainNav .navbar-nav .nav-item .nav-link:hover::after {
  opacity: 1;
}

#mainNav .navbar-nav .nav-item .ico-link {
  font-size: 1.3rem;
  margin: 0 30px;
  color: #FFFFFF;
  position: relative;
  text-decoration: none;
  border-bottom: 0px;
}

#mainNav .navbar-nav .nav-item .ico-link:hover {
  color: #cdcdcd;
}

.navbar-collapse.show, .navbar-collapse.collapsing {
  padding: 20px 0 10px 0;
  background-color: #616161;
}

/* index */

.content_index {
  height: calc(100vh - 80px);
}

.index_content {
  height: calc(100vh - 80px);
  color: #FFFFFF;
  margin-left: 32px;
}

.index_content h1 {
  color: #FFFFFF;
  text-shadow: 4px 4px 8px rgba(0,0,0,0.5);
  position: absolute;
  left: 14%;
  top: 10%;
}

.index_refer {
  position: absolute;
  bottom: 0;
  right: 0;
}

.index_scroll {
  width: 36px;
  height: 49px;
  position: absolute;
  margin-left: -13px;
  left: 50%;
  bottom: 60px;
  animation: pulse 2s infinite;
  transition: transform 0.2s ease;
  outline: 1px solid transparent;
}

@keyframes pulse {
    0% { transform: scale(0.8) translateY(0);}
    50% { transform: scale(1.2) translateY(20px); }
    100% { transform: scale(0.8) translateY(0); }
}

.divider_01 {
  height: 100px;
  width: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
  background-color: #FFFFFF;
  padding: 0;
  margin: 0;
}

.services_index {
  padding-top: 60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.services_index h2 {
  font-size: 1.8rem;
  padding-bottom: 0;
  margin-bottom: 60px;
  text-align: center;
}

.services_index p {
  padding-bottom: 30px;
  text-align: center;
}

.services_card {
  width: 500px;
  padding: 0 50px;
  text-align: center;
  margin: 0 0 120px 0 !important;
}

.services_card h3.card-title {
  padding-top: 0;
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.6rem;
}

.services_card .card-image {
  margin-bottom: 20px;
}

.services_card_divider {
  height: 200px;
  width: 1px;
  margin-top: 70px;
  padding: 0 !important;
  background-color: #e0e0e0;
}

.services_card_divider:last-child {
  display: none;
}



.projects_news {
  padding: 0;
  text-align: center;
}

.projects_news h2 {
  font-size: 1.8rem;
  padding-bottom: 0;
  padding-right: 10px;
  margin-bottom: -30px;
  text-align: center;
}

.projects_news .btn-projects {
  margin-top: 40px;
  margin-bottom: -20px;
}

.projects_index {
  padding: 82px 30px 0 34px;
  text-align: center;
}

.projects_index h2 {
  font-size: 1.8rem;
  padding-bottom: 0;
  margin-bottom: -30px;
  text-align: center;
}

.projects_index .btn-projects {
  margin-top: 40px;
  margin-bottom: -20px;
}

.motto_index {
  background-image: url("/images/bg_motto.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.motto_index h2 {
  font-size: 1.8rem;
  color: #FFFFFF;
  text-shadow: 0 0 7px #000;
  margin: 300px 0;
  text-align: center;
}

.divider_02 {
  height: 100px;
  width: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
  background-color: #616161;
  padding: 0;
  margin: 0;
}



/* obsah */

.content {
  padding: 10px 30px 0 30px;
  text-align: justify;
  background-color: #ffffff;
}

.content h1 {
  padding-top: 30px;
}

.content .settingCookiesBtn {
  float: right;
  margin: 6px 0 0 30px;
}

.content .settingCookiesBtn i {
  margin-right: 10px;
}

.breadcrumb {
	padding: 0;
	float: right;
  background-color: transparent;
}

.breadcrumb a {
  font-size: 0.9em;
  color: #c1c0c0;
	text-decoration: none;
}

.breadcrumb a:hover {
  color: #616161;
	text-decoration: none;
}

.content .desc {
  margin-bottom: 30px;
  font-style: italic;
  text-align: justify;
  color: #424242
}

.content .text {
  margin-bottom: 30px;
  text-align: justify;
  color: #424242
}

.content .text_block {
  display: inline-block;
  padding: 15px;
  margin-top: 10px;
  text-align: left;
  border-radius: 10px;
  background-color: #e9e9e9
}

.content ul {
  list-style: none;
  padding-left: 0;
  margin-left: 10px;
}

.content ul li {
  padding-left: 20px;
  margin-bottom: 12px;
  background-image: url('/images/ul_li_grey.png');
  background-repeat: no-repeat;
  background-position: 0 5px;
}

.content .thumb {
  margin-bottom: 24px;
  text-align: center;
}

.content .thumb-text {
  font-size: 1em;
  line-height: 1.6;
}

/* obchodní podmínky */

.content.terms .text ol {
  list-style: lower-alpha;
}

/* používání cookies */

.content.cookies {
}

/* patička */

.footer {
  font-size: 0.9em;
  padding: 0;
 	color: #FFFFFF;
  background-color: #616161;
}

.footer i {
  margin-right: 8px;
}

.footer hr {
  margin: 10px 0;
  opacity: 1;
  border-top: 1px solid #ffffff !important;
}

.footer a {
  text-decoration: none;
	color: #FFFFFF;
}

.footer a:hover {
  color: #cdcdcd;
}

.footer .left {
  width: 210px;
  margin-left: 25px;
  padding: 50px 0 0 0;
}

.footer .left .logo {
  float: left;
  margin: 0 0 30px 0;
}

.footer .left .logo_text {
  float: left;
  margin: 0 0 30px 0;
}

.footer .left_middle {
  padding-top: 80px;
}

.footer .middle {
  text-align: center;
  padding: 60px 0 20px 0;
}

.footer .middle ul {
  display: inline-block;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.footer .middle ul li {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 10px;
  background-image: url('/images/ul_li_white.png');
  background-repeat: no-repeat;
  background-position: 0 5px;
}

.footer .right {
  margin-right: 25px;
  padding: 60px 0 0 0;
}

.footer .right .s_icon {
  margin: -4px 10px 0 2px;
}

.footer .right ul {
  display: inline-block;
  list-style: none;
  padding-left: 0;
}

.footer .right ul li {
  text-align: left;
  margin-bottom: 10px;
}

.footer .copyright {
  line-height: 2em;
  padding: 10px 10px 80px 10px;
}

.footer .copyright a {
  margin-left: 30px;
}


/* cookies */

#cookieAlert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  border-radius: 0;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  font-size: 1em;
  color: #FFFFFF;
  background-color: #0000009e;
}

#cookieAlert a {
  color: #FFFFFF;
}

#cookieAlert i {
  margin-right: 10px;
}

#cookieAlert .btn {
  margin-left: 20px;
}

#cookieAlert.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
  transition-delay: 1000ms;
}


/* modal */

.modal-header {
	color: #454a4f;
	border-bottom: solid 1px #E9E9E9;;
	padding: 20px 20px 18px 20px;
	background-color: #F9F8F8;
}

.modal-header i {
	font-size: 1.2em;
	margin-top: 6px;
	margin-right: 10px;
}

.modal-header h1 {
	font-size: 1.4em;
  padding-bottom: 0;
}

.modal-footer {
	padding: 15px 20px;
	border-top: solid 1px #E9E9E9;
	background-color: #F9F8F8;
}


/* cookies modal */

#cookieModal .modal-body {
	color: #454a4f;
	padding: 30px;
}

#cookieModal .modal-body .disabled {
	color: #9ca6af;
}

#cookieModal .modal-body .form-check {
	padding: 20px 0;
	border-top: solid 1px #E9E9E9;
}

#cookieModal .modal-body .form-check.first {
	padding-top: 0;
	border-top: none;
}

#cookieModal .modal-body .form-check.last {
	padding-bottom: 0;
}

#cookieModal .modal-body .form-check .custom-control-label {
	font-size: 1.1em;
	font-weight: 600;
	padding: 0 0 0 20px;
}

#cookieModal .modal-body p {
	margin: 0 0 0 51px;
}

#cookieModal .modal-body .fa-circle-check {
	margin-bottom: 30px;
}

#cookieModal .modal-footer .modalCookiesAllBtn {
	margin-left: 20px;
}




/* reference */

.projects_header {
  text-align: left;
  margin-bottom: 40px;
}

.projects_header .btn {
  margin-right: 6px;
  margin-bottom: 6px;
}

.projects_body {
  padding: 0;
}

.projects_item {
  float: left;
  position: relative;
  clip-path: polygon(13% 0%, 87% 0%, 100% 50%, 87% 100%, 13% 100%, 0% 50%);
  margin-bottom: 2%;
}

.projects_item img {
  clip-path: polygon(13% 0%, 87% 0%, 100% 50%, 87% 100%, 13% 100%, 0% 50%);
}

.projects_item img:hover {
  opacity: 0.7;
}

.projects_item_1 {
  float: left;
  width: 35%;
}

.projects_item_2 {
  float: left;
  width: 35%;
  margin-top: 12.8%;
  margin-left: -2.8%;
}

.projects_item_3 {
  float: left;
  width: 35%;
  margin-left: -2.8%;
}

.projects_item_4 {
  float: left;
  width: 35%;
  margin-top: -12.8%;
}

.projects_item_5 {
  float: left;
  width: 35%;
  margin-left: -2.8%;
}

.projects_item_6 {
  float: left;
  width: 35%;
  margin-left: -2.8%;
  margin-top: -12.8%;
}


.projects_over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projects_item:hover .projects_over {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.projects_item img {
  transition: transform 0.3s ease;
}

.projects_item:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.projects_over h3 {
  font-size: 1.6em;
  text-shadow: 0 0 7px #000;
  color: #ffffff;
  margin-bottom: 10px;
  padding-top: 20px;
}



/* služby */

.services {
  padding: 10px 0 0 0;
}

.services_row {
  margin: 0;
  padding: 0 30px;
  background-color: #ffffff;
}

.services_col {
  padding: 0;
}

.service_item {
  margin: 0;
}

.service_header {
  margin: 20px -15px 0 -15px;
  padding: 30px;
  background-color: #E8E8E8;
}

.service_diamond {
  margin-top: -140px;
  z-index: 20;
}

.services .service_text {
  padding: 40px 0 150px 40px;
  text-align: justify;
  color: #424242
}

.services .btn-primary {
  text-align: left;
  margin: 20px 0 0 30px;
}

/* o společnosti */

.about {
  padding-bottom: 60px;
}

.services_about {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #f4f4f4;
}

.services_about .container{
  padding: 30px;
}

.services_about h2 {
  font-size: 1.8rem;
  padding-bottom: 0;
  margin-bottom: 60px;
}

.services_about .img_cover {
  float: left;
  width: 100px;
  height: 100px;
  margin-right: 30px;
  background-color: #FFFFFF;
  border-radius: 50%;
}

.services_about .service_item {
  margin-bottom: 30px;
}

.bottom_about {
  padding: 30px 30px 60px 30px;
}

.bottom_about h2 {
  margin-bottom: 30px;
}


/* kontakty */

.contacts .contact-address i {
  margin-right: 12px;
}

.contacts .contact_text {
  padding-right: 0;
}

.contacts .contact_text h2 {
  text-align: left;
  margin: 0 10px 18px 0;
}

.contacts .address {
  text-align: left;
  padding: 30px;
}

.contacts .address h2 {
  padding-top: 0;
}

.contacts .map-form {
  margin-bottom: 50px;
}

.contacts .map-form i {
  margin-right: 12px;
}

.contacts .map {
  padding-right: 0;
}

.contacts .map .ratio {
  height: 100%;
}

.contacts .contact_form {
  padding: 30px;
  color: #FFFFFF;
  background-color: #616161
}

.contacts .contact_form h2 {
  color: #FFFFFF;
  padding-top: 0;
}

.contacts .contact_form .form-text {
  color: #FFFFFF !important;
  float: right;
}




/* custom-switch-lg - zvětšení a barva custom-switch */

.form-switch .form-check-input {
  color: #ec7600;
  border-color: #ec7600;
  margin-left: 0;
}

.form-switch .form-check-label {
  margin-left: 15px;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-size: 1.2em;
}

.form-switch .form-check-input:checked {
  background-color: #ec7600;
  border-color: #ec7600;
}


/* msg modal */

#modal-msg .modal-body {
	padding: 30px 30px 50px 30px;
	text-align: center;
}

#modal-msg .modal-body .fa-circle-check {
	font-size: 36px;
	margin-bottom: 30px;
}


/* error modal */

#modal-error .modal-body {
	padding: 30px 30px 50px 30px;
	text-align: center;
}

#modal-error .modal-body .fa-exclamation-triangle {
	font-size: 36px;
	margin-bottom: 30px;
}





/* mobil na výšku */

@media (max-width: 575.98px) {
  .footer .left {
    margin-left: auto;
    margin-right: auto;
  }

  .footer .middle {
    display: none;
  }

  .footer .right {
    margin: 60px 25px 0 25px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .contacts .contact_text {
    margin-bottom: 30px;
  }

  .contacts .contact_text h2 {
    margin: 0 10px 18px 12px;
  }
}


/* tablet */

@media (max-width: 991.98px) {

  .projects_index h2 {
    padding: 0;
    margin-bottom: 30px;
  }

  .footer .left_middle {
    display: none;
  }

}


/* desktop */

@media (max-width: 1199.98px) {

  .footer .middle {
    display: none;
  }
}



/* services card divider */

@media (max-width: 999.98px) {
  .services_card_divider {
      display: none;
  }
}

@media (min-width: 999.98px) and (max-width: 1499.98px) {
  .services_card_divider:nth-child(4n) {
      display: none;
  }
}

@media (min-width: 1499.98px) and (max-width: 1999.98px) {
  .services_card_divider:nth-child(6n) {
      display: none;
  }
}

@media (min-width: 1999.98px) and (max-width: 2499.98px) {
  .services_card_divider:nth-child(8n) {
      display: none;
  }
}
