/*

    Template Name   : Richard Frank
    Template Author : Richard Frank
    Author Email    : info@richardfrank.sk
    
    
    *****************************************
          
*/


/* Basic setup */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}


.clearfix::after {
    height: 6rem !important;
}


body {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.01rem !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.btn:focus, .btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.container {
  padding-right: 25px !important;
  padding-left: 25px !important;
}


/* End of basic setup */







/* Navbar setup */

#menu {
  background: black;
}

nav {
  width: 100%;
  margin: 0 auto;
  background: transparent;
  padding: 2rem 0rem !important;
}

nav ul {
  list-style: none;
  text-align: center;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  display: block;
  padding: 15px 25px !important;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif !important;
}

nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}

nav ul li a:hover {
  color: white;
}

.navbar-toggler {
border-radius: 0rem !important;
}

.navbar-light .navbar-nav .nav-link {
color: white !important;
}

.navbar-brand {
padding: 0rem !important;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
color: #00539CFF !important;
}

.dropdown-menu {
border-radius: 0px !important;
}

.dropdown-item:hover {
display: block;
width: 100%;
padding: .25rem 1.5rem;
clear: both;
font-weight: 400;
color: #0396A6 !important;
background-color: #AEE6D1 !important;
text-align: inherit;
white-space: nowrap;
background-color: transparent;
border: 0;
}

.navbar-dark .navbar-toggler {
color: rgba(255,255,255,.5);
border-color: rgba(255,255,255,0.5) !important;
}


.dropdown-menu {
  color: white !important;
  background-color: black !important;
}

.dropdown-item {
  color: white !important;
  font-size: 1em !important;
  font-weight: 600 !important;
}

.dropdown-item:hover {
  background-color: transparent !important;
  color: white !important;
  font-size: 1em !important;
  font-weight: 600 !important;
}


.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: 0em solid !important;
  border-right: 0em solid transparent !important;
  border-bottom: 0em !important;
  border-left: 0em solid transparent !important;
}
/* End of Navbar setup */






/* Navbar hover setup */

@media (max-width: 992px) {
  nav.stroke ul li a:hover:after {
      width: 20% !important;
  }
}

@media (max-width: 992px) {
  .dropdown-item {
      text-align: center !important;
  }
}

/* stroke */
nav.stroke ul li a,
nav.fill ul li a {
position: relative;
}

nav.stroke ul li a:after,
nav.fill ul li a:after {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: auto;
width: 0%;
content: '.';
color: transparent;
background: #D22730;
height: 2px;
}

nav.stroke ul li a:hover:after {
width: 100%;
}

nav.fill ul li a {
transition: all 2s;
}

nav.fill ul li a:after {
text-align: left;
content: '.';
margin: 0;
opacity: 0;
}

nav.fill ul li a:hover {
color: #fff;
z-index: 1;
}

nav.fill ul li a:hover:after {
z-index: -10;
animation: fill 1s forwards;
-webkit-animation: fill 1s forwards;
-moz-animation: fill 1s forwards;
opacity: 1;
}

/* Keyframes */
@-webkit-keyframes fill {
0% {
  width: 0%;
  height: 1px;
}
50% {
  width: 100%;
  height: 1px;
}
100% {
  width: 100%;
  height: 100%;
  background: #333;
}
}

/* End navbar hover setup */






/* Back to top btn */

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border-color: black; 
    outline: none; /* Remove outline */
    background-color: transparent; /* Set a background color */
    color: black; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px; /* Some padding */
}
  
#myBtn:hover {
    background-color: black; /* Add a dark-grey background on hover */
    color: white !important;
}

#myBtn:hover .material-icons {
    background-color:black; /* Add a dark-grey background on hover */
    color: white !important;
}

.material-icons {
    color: black !important;
    vertical-align: sub;
}

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

  
/* End back to top btn */






/* Btn setup */

.btn-primary {
  color: #D22730 !important;
  background-color: transparent !important;
  border-color: #D22730 !important;
  font-size: 1em !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600 !important;
  margin: 0.750em 0em;
  border-radius: 0px !important;
  padding: 15px 35px !important;
}

  
.btn-primary:hover {
    background-color: #D22730 !important;
    color: white !important;
}


/* End of Btn setup */






/* Contact form setup */

.form-control {
    border-radius: 0rem !important;
  }
  
  
  .mb-0, .my-0 {
    margin-bottom: 0!important;
  }
  
  .md-form {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .md-form .form-control {
    margin: 0 0 .5rem 0;
    border-radius: 0;
    padding: .6rem 0 .4rem 0;
    background-color: transparent;
    height: auto;
  }
  
  .md-form input:not([type]), .md-form input[type=date]:not(.browser-default), .md-form input[type=datetime-local]:not(.browser-default), .md-form input[type=datetime]:not(.browser-default), .md-form input[type=email]:not(.browser-default), .md-form input[type=number]:not(.browser-default), .md-form input[type=password]:not(.browser-default), .md-form input[type=search-md], .md-form input[type=search]:not(.browser-default), .md-form input[type=tel]:not(.browser-default), .md-form input[type=text]:not(.browser-default), .md-form input[type=time]:not(.browser-default), .md-form input[type=url]:not(.browser-default), .md-form textarea.md-textarea {
    box-sizing: content-box;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  }
  
  .list-unstyled {
    padding-top: 4rem;
  }

/* End of contact form setup */





.logo {
  max-width: 580px !important;
}



/* Nadpisy setup */

h1 {
  font-size: 22px !important;
  font-weight: 200 !important;
  color: black !important;
  text-align: center;
}


h2 {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: black !important;
  margin-bottom: 0.5em !important;
}


h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: black !important;
  margin-bottom: 0.5em !important;
}


/* End of nadpisy setup */




.clearfix-extra {
  height: 14em;
}

.clearfix-big {
  height: 8em;
}

.clearfix-medium {
  height: 6em;
}

.clearfix-small {
  height: 2em;
}


.thumb {
  display: block;
  position: relative;
  overflow: hidden;
  z-index: 2;
} 

.thumb img {
  width: 100%;
  height: auto;
  -moz-transition: 0.5s all ease;
  -webkit-transition: 0.5s all ease;
  -o-transition: 0.5s all ease;
  transition: 0.5s all ease;
}


.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding: 15px !important;
}




.bg-gray-100 {
  background: linear-gradient(90deg, #f8f8f8 60%, #FFFFFF 40%);
}

.bg-gray-180 {
  background: linear-gradient(90deg, #FFFFFF 20%, #f8f8f8 80%);
}

.section-background-custom {
  position: relative;
  z-index: 1;
}


.section-md {
  padding: 90px 0;
}

.foto {
  height: 618px !important;
  box-shadow: 0 6px 35px 0 rgba(0, 0, 0, 0.25);
}


#formular {
  background: black !important;
  color: white !important;
  padding: 5em 0em 1em 0em !important;
}

#formular .container {
  max-width: 780px !important;
}

#formular h2 {
  font-size: 30px !important;
  font-weight: 600 !important;
  color: white !important;
  text-align: center !important;
}

#formular .subtitle-classic {
  text-align: center !important;

}


.kontaktne-udaje  a {
  color: black !important;
}

.kontaktne-udaje a:hover {
  color: #D22730 !important;
}


.ponuka  a {
  color: black !important;
}

.ponuka a:hover {
  color: #D22730 !important;
}

.clear  a {
  color: black !important;
}

.clear a:hover {
  color: #D22730 !important;
}

.cube-classic-wrap a {
  color: black !important;
}

.cube-classic-wrap a:hover {
  color: #D22730 !important;
}


.fa {
  padding: 15px;
  font-size: 15px !important;
  width: 15px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
    text-decoration: none !important;
}

.fa-facebook {
  background: #f1f4f6;
  color: #a1a2a4;
}

.fa-instagram {
  background: #f1f4f6;
  color: #a1a2a4;
}

.social-buttons {
  text-align: center !important;
}

.kontakty {
  text-align: center !important;
}

.kontakty i {
  padding: 10px;
}

.kontakty p {
  font-size: 14px !important;
}

.kontakty a {
  text-decoration: none !important;
  color: black !important;
}

.kontakty a:hover {
  text-decoration: none !important;
  color: #a1a2a4 !important;
}

.fa, ::after, ::before {
  box-sizing: content-box;
}