/*

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


/* Basic setup */

html {
    scroll-behavior: smooth;
}


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


body {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1.01rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

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

/* End of basic setup */







/* Navbar setup */

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: 1.1rem;
    font-family: 'Open Sans', 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;
}

/* End of Navbar setup */






/* Navbar hover setup */

@media (max-width: 992px) {
    nav.stroke ul li a:hover:after {
        width: 20% !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: white;
  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: white; /* Add a dark-grey background on hover */
    color: black !important;
}

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

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

/* 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: #ffffff !important;
    background-color: transparent !important;
    border-color: white !important;
    font-size: 1em !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600 !important;
    margin: 0.750em 0em;
    border-radius: 0px !important;
    padding: 15px !important;
}

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

.btn-secondary {
  color: #00539CFF !important;
  background-color: transparent !important;
  border-color: #00539CFF !important;
  font-size: 1em !important;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600 !important;
  margin: 0.750em 0em;
  border-radius: 0px !important;
  padding: 15px !important;
}


.btn-secondary:hover {
  background-color: #00539CFF !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 */


/* Custom setup */

#Menu {
  min-height: 50rem;
  background-image: url("../img/bg-hero2.jpg");
  background-color: black;
  background-position: center;
  background-size: cover;
  position: relative;
}

.padded-multiline {
  line-height: 1.3;
  padding: 20% 0%;
  display: block;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.6rem;
  color: white !important;
}

h2 {
  font-size: 2rem !important;
  font-weight: 600 !important;
  line-height: 1.6rem !important;
  padding: 3rem 0rem !important;
}

h2::after {
  content: "";
  display: block;
  width: 5rem;
  margin-right: -100%;
  margin-top: 0.5rem;
  border-top: 3px solid red;
  border-color: #00539CFF;
}

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

.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 {
  padding-bottom: 2rem !important;
}

#kontakt {
  background-color: black !important;
  color: white !important;
  padding: 2rem 0rem 1rem 0rem;
  font-size: 0.875rem;
}

#kontakt a {
  color: white !important;
  text-decoration: none;
}

.list-unstyled .material-icons {
  color: #00539CFF !important;
}

/* End of custom setup */

.heading {
  text-align: center;
  color: #454343;
  font-size: 30px;
  font-weight: 700;
  position: relative;
  margin-bottom: 70px;
  text-transform: uppercase;
  z-index: 999;
}
.white-heading{
  color: #ffffff;
}
.heading:after {
  content: ' ';
  position: absolute;
  top: 100%;
  left: 50%;
  height: 40px;
  width: 180px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: url(img/heading-line.png);
  background-repeat: no-repeat;
  background-position: center;
}
.white-heading:after {
  background: url(https://i.ibb.co/d7tSD1R/heading-line-white.png);
  background-repeat: no-repeat;
  background-position: center;
}

.heading span {
  font-size: 18px;
  display: block;
  font-weight: 500;
}
.white-heading span {
  color: #ffffff;
}
/*-----Testimonial-------*/

.testimonial:after {
  position: absolute;
  top: -0 !important;
  left: 0;
  content: " ";
  background: url(img/testimonial.bg-top.png);
  background-size: 100% 100px;
  width: 100%;
  height: 100px;
  float: left;
  z-index: 99;
}

.testimonial {
  min-height: 100%;
  position: relative;
  /* background: url(https://i.ibb.co/PTJDkgb/testimonials.jpg); 
  padding-top: 50px;
  padding-bottom: 50px; */
  background-position: center;
      background-size: cover;
}
#testimonial4 .carousel-inner:hover{
cursor: -moz-grab;
cursor: -webkit-grab;
}
#testimonial4 .carousel-inner:active{
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}
#testimonial4 .carousel-inner .item{
overflow: hidden;
}

.testimonial4_indicators .carousel-indicators{
left: 0;
margin: 0;
width: 100%;
font-size: 0;
height: 20px;
bottom: 15px;
padding: 0 5px;
cursor: e-resize;
overflow-x: auto;
overflow-y: hidden;
position: absolute;
text-align: center;
white-space: nowrap;
}
.testimonial4_indicators .carousel-indicators li{
padding: 0;
width: 14px;
height: 14px;
border: none;
text-indent: 0;
margin: 2px 3px;
cursor: pointer;
display: inline-block;
background: #ffffff;
-webkit-border-radius: 100%;
border-radius: 100%;
}
.testimonial4_indicators .carousel-indicators .active{
padding: 0;
width: 14px;
height: 14px;
border: none;
margin: 2px 3px;
background-color: #9dd3af;
-webkit-border-radius: 100%;
border-radius: 100%;
}
.testimonial4_indicators .carousel-indicators::-webkit-scrollbar{
height: 3px;
}
.testimonial4_indicators .carousel-indicators::-webkit-scrollbar-thumb{
background: #eeeeee;
-webkit-border-radius: 0;
border-radius: 0;
}

.testimonial4_control_button .carousel-control{
top: 175px;
opacity: 1;
width: 40px;
bottom: auto;
height: 40px;
font-size: 10px;
cursor: pointer;
font-weight: 700;
overflow: hidden;
line-height: 38px;
text-shadow: none;
text-align: center;
position: absolute;
background: transparent;
border: 2px solid #ffffff;
text-transform: uppercase;
-webkit-border-radius: 100%;
border-radius: 100%;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transition: all 0.6s cubic-bezier(0.3,1,0,1);
transition: all 0.6s cubic-bezier(0.3,1,0,1);
}
.testimonial4_control_button .carousel-control.left{
left: 7%;
top: 50%;
right: auto;
}
.testimonial4_control_button .carousel-control.right{
right: 7%;
top: 50%;
left: auto;
}
.testimonial4_control_button .carousel-control.left:hover,
.testimonial4_control_button .carousel-control.right:hover{
color: #000;
background: black;
border: 2px solid black;
}

.testimonial4_header{
top: 0;
left: 0;
bottom: 0;
width: 550px;
display: block;
margin: 30px auto;
text-align: center;
position: relative;
}
.testimonial4_header h4{
color: black;
font-size: 30px;
font-weight: 600;
position: relative;
letter-spacing: 1px;
text-transform: uppercase;
}

.testimonial4_slide{
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 70%;
margin: auto;
padding: 20px;
position: relative;
text-align: center;
}
.testimonial4_slide img {
  top: 0;
  left: 0;
  right: 0;
  width: 136px;
  height: 136px;
  margin: auto;
  display: block;
  color: #f2f2f2;
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  position: relative;
  border-radius: 50%;
  /* box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23);
  -o-box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23);
  -webkit-box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23); */
}
.testimonial4_slide p {
  color: black;
  font-size: 1rem;
  line-height: 1.4;
  margin: 40px 0 20px 0;
}
.testimonial4_slide h4 {
color: #00539CFF;
font-size: 1.2rem;
}

.testimonial .carousel {
padding-bottom:50px;
}
.testimonial .carousel-control-next-icon, .testimonial .carousel-control-prev-icon {
  width: 35px;
  height: 35px;
}
/* ------testimonial  close-------*/