body,
html {
  /* width: 100%;
  height: 100%; */
}
@font-face {
    font-family: myRobotoFontR;
    src: url("../ROBOTOfont/Roboto-Regular.ttf");
}
@font-face {
    font-family: myRobotoFontL;
    src: url("../ROBOTOfont/Roboto-Light.ttf");
}
body {
  /* font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif; */
  font-family: myRobotoFontR, myRobotoFontL;
  overflow-x: hidden;
  background-color: #f5f5f5;
  
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #F05F40;
}

hr.light {
  border-color: #fff;
}

/* a {
  color: #fff;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
} */

a:hover {
  color: #f05f40;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}


.parallax { 
    /* The image used */
    background-image: url("../img/parallax2.jpg");
    background-blend-mode:saturation;


    /* Set a specific height */
    height: auto; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode:lighten;

}
@media only screen and (max-device-width: 966px) {
    .parallax {
        background-attachment: scroll;
    }
}
.parallax2 { 
    /* The image used */
    background-image: url("../img/kontaktiza.jpg");
    background-blend-mode:saturation;


    /* Set a specific height */
    height: auto; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode:lighten;

}
@media only screen and (max-device-width: 966px) {
    .parallax2 {
        background-attachment: scroll;
    }
}


.bg-grey {
  background-color: #e2e1e1 !important;
  color: #000000;
}
.bg-mojneki {
    background-color: transparent; 
}
.pozadina {
    background-image: url("../img/kontaktiza.jpg");
    background-color: #cccccc;
}

.bg-white {
  background-color: #f5f5f5 !important;
}

.text-black {
  color: #000000;
}
.text-white{
  color:#fff;
}
.text-grey{
  color:#353435;
}
section {
  padding: 8rem 0;
}
.section-heading {
  margin-top: 0;
  padding-bottom: 1rem;
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
}
.section-moj {
  margin-top: 0;
  padding-bottom: 1rem;
  color: #FFFFFF;
  font-weight: bold;
  text-transform: uppercase;
}

#oNama p {
  padding-top: 1rem;
}
@media (min-width:992px){
  #oNama p {
    padding-top: 0;
  }
}

.programi-cnt-mini{
  background-color: #f5f5f5;
  width: 100%;
  height: 251px;
  margin: 1rem auto 1rem auto;
  text-align: center;
  display: inline-block;
  border: 2px solid transparent;
  /* font-size: 1.3rem; */
  transition: all .2s ease-in-out;
}
.programi-cnt-mini > p{
  margin-top: 8rem;
  /* font-size: 1.5rem; */
}
.programi-cnt-mini:hover{
  border: 2px solid #353435;
}
.kurac{
  height: 240px;
  line-height: 240px;
}
span{
  display: inline-block;
  vertical-align: middle;
  line-height: 25px; <-- adjust this
}
@media (min-width: 768px) {
  .programi-cnt-mini{
    height: 210px;
  }
  .programi-cnt-mini{
    font-size: 1.1rem;
  }
  .kurac{
    height: 210px;
    line-height: 210px;
  }
}
@media (min-width: 1200px){
  .programi-cnt-mini{
    height: 255px;
  }
  .programi-cnt-mini {
    font-size: 1.3rem;
  }
  .kurac{
    height: 255px;
    line-height: 255px;
  }
}

.tim-cnt-mini{
  background-image: url("../img/customer.png");
  background-size:contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 150px;
  display: inline-block;
  border: 2px solid transparent;
  transition: all .2s ease-in-out;
  margin-bottom: 30px;
}
.tim-cnt-tekst{
  background-color: rgba(255, 255, 255, .5);
  width: 100%;
  height: 30px;
  text-align: center;
  transition: all .2s ease-in-out;
  position: relative;
  top: 116px;
  font-size: .8rem;
  line-height: 30px;
}
.tim-cnt-tekst > p {
  display: inline-block;
  vertical-align: middle;
  line-height: 30px;
}
.tim-cnt-mini:nth-child(2){
  height: 200px;
}
.tim-cnt-mini:hover{
  border: 2px solid #353435;
}
.tim-cnt-mini:hover .tim-cnt-tekst{
  background-color: #2F99BE;
}
.tim-cnt-mini-dva{
    display: block;
    width: 150px;
    height: 150px;
    margin: auto;
}
@media (min-width:768px){
  .tim-cnt-mini{
    height: 210px;
  }
  .tim-cnt-tekst{
    top: 176px;
    /* height: 30px; */
    line-height: 30px;
    font-size: 1rem;
  }
  .tim-cnt-tekst > p{
    line-height: 30px;
  }
  .tim-cnt-mini-dva{
      width: 210px;
      height: 210px;
  }
}
@media (min-width:992px){
  .tim-cnt-mini{
    height:130px;
    margin-bottom: 0px;
  }
  .tim-cnt-mini-dva{
      width: 100%;
      height:130px;
      margin-bottom: 0px;
  }
  .tim-cnt-tekst{
    font-size: .7rem;
    top:106px;
    height: 20px;
    line-height: 20px;
  }
  .tim-cnt-tekst > p{
    line-height: 20px;
  }
}
@media (min-width:1200px){
  .tim-cnt-mini,
  .tim-cnt-mini-dva{
    height: 160px;
    margin-bottom: 0px;
  }
  .tim-cnt-tekst{
    font-size: .85rem;
    top: 126px;
    height: 30px;
    line-height: 30px;
  }
  .tim-cnt-tekst > p {
    line-height: 30px;
  }
}


.vida{
    background-image: url("../img/nasiSampioni/VidaMedic/VidaMedic.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.diana{
    background-image: url("../img/nasiSampioni/DianaTrudic/DianaTrudic.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.tempo{
    display: none;
}
.sampioni-cnt-mini{
    position: relative;
    height: 240px;
    border: 2px solid #f5f5f5;
    transition: all .2s ease-in-out;
}
.sampioni-cnt-mini:hover{
    border:2px solid #353435;
}
.sampioni-cnt-tekst{
    background-color: rgba(255, 255, 255, .7);
    position: absolute;
    width: 100%;
    top: 176px;
    height: 60px;
    text-align: center;
    font-size: .9rem;
}
.sampioni-cnt-tekst p{
    margin: 0;
    line-height: 20px;
}
.sampioni-cnt-tekst p span{
    font-size: .8rem;
    line-height: 20px;
}
.sampioni-strelice{
    z-index: 100;
    padding:0px 17px;
    position: relative;
    top:-140px;
    display: block;
}
.sampioni-strelice-levo,
.sampioni-strelice-desno{
    background-color: #f5f5f5;
    height: 40px;
    width: 40px;
    text-align: center;
}
.sampioni-strelice-levo > span,
.sampioni-strelice-desno > span{
    line-height: 40px
}
@media (min-width:768px) {
    .sampioni-cnt-mini{
        height: 330px;
    }
    .sampioni-cnt-tekst{
        top:266px;
    }
    .sampioni-cnt-tekst p{
        font-size: 1rem;
        line-height: 20px;
        padding-top: .5rem;
    }
    .sampioni-cnt-tekst p span{
        font-size: .80rem;
        line-height: 30px;
    }
    .sampioni-strelice{
        top:-185px;
    }
}
@media (min-width:992px) {
    .sampioni-cnt-mini{
        height: 290px;
    }
    .tempo{
        display: block;
    }
    .sampioni-cnt-tekst{
        top:226px;
    }
    .sampioni-cnt-tekst p{
        font-size: 1rem;
        line-height: 25px;
        padding-top: 0;
    }
    .sampioni-cnt-tekst p span{
        font-size: .8rem;
        line-height: 15px;
    }
    .sampioni-strelice{
        top:-165px;
    }
}
@media (min-width:1200px) {
    .sampioni-cnt-mini{
        height:350px;
    }
    .sampioni-cnt-tekst{
        top: 286px;
    }
    .sampioni-cnt-tekst p{
        font-size: 1.2rem;
        line-height: 20px;
        padding-top: .5rem;
    }
    .sampioni-cnt-tekst p span{
        font-size: .85rem;
        line-height: 30px;
    }
    .sampioni-strelice{
        top:-195px;
    }
}


.vest-fzs{
    background-image: url("../img/Vesti/VestFZS-saradnja/VestFZS-saradnja.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.vest-protein{
    background-image: url("../img/Vesti/VestPROTEIN-saradnja/VestPROTEIN-saradnja.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.vesti-strelice{
  height: 40px;
  width: 40px;
  background-color: #f5f5f5;
  float: right;
  line-height: 40px;
}
.vesti-strelice > span{
  vertical-align: middle;
  line-height: 20px; <-- adjust this
  margin: auto;
  width: inherit;
  text-align: center;
}
.vesti-strelice:hover,
.sampioni-strelice:hover{
    cursor: pointer;
}
.vesti-cnt-mini{
  position: relative;
  height: 240px;
  border: 2px solid #e2e1e1;
  transition: all .2s ease-in-out;
}
.vesti-cnt-tekst{
  position: absolute;
  font-size: .8rem;
  background-color: rgba(255, 255, 255, .7);
  height: 60px;
  text-align: center;
  top: 176px;
  width: 100%;
  display: table;
  color: black;
}
.vesti-cnt-mini:hover{
  border: 2px solid #353435;
}
.vesti-cnt-tekst > p {
  display: table-cell;
  vertical-align: middle;
}
@media (min-width:768px){
  .vesti-cnt-mini{
    height: 330px;
  }
  .vesti-cnt-tekst{
    top: 266px;
    font-size: .8rem;
  }
}
@media (min-width:992px){
  .vesti-cnt-mini{
    height: 290px;
  }
  .vesti-cnt-tekst{
    top: 226px;
    font-size: .8rem;
  }
}
@media (min-width:1200px){
  .vesti-cnt-mini{
    height: 350px;
  }
  .vesti-cnt-tekst{
    top: 286px;
    font-size: .95rem;
  }
}


#Galerija{
  margin: auto;
}
.galerija-cnt-mini{
  /* background-image: url("../img/customer.png"); */
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 240px;
  transition: all .2s ease-in-out;
  border: 2px solid transparent;
}
.galerija-cnt-mini:hover{
  border: 2px solid black;
}
.galerija-cnt-mini:hover .galerija-cnt-tekst{
  background-color: #2F99BE;
}
.galerija-cnt-tekst{
  background-color: rgba(255, 255, 255, .5);
  text-align: center;
  position: relative;
  top: 196px;
  width: 100%;
  transition: all .2s ease-in-out;
  height: 40px;
  line-height: 40px;
  z-index: 100;
}
.galerija-cnt-tekst > p{
  vertical-align: middle;
  display:inline-block;
  line-height: 40px;
}
/* .galerija-cnt-mini  img{
    position: absolute;
    width: calc(100% - 34px);
    height: calc(100% - 4px);
    top: 2px;
    animation-name: cf3FadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    animation-direction: alternate;
}

@keyframes cf3FadeInOut {
0% {
opacity:1;
}
45% {
opacity:1;
}
55% {
opacity:0;
}
100% {
opacity:0;
}
} */
@media (min-width:768px){
  .galerija-cnt-mini{
    height: 330px;
  }
  .galerija-cnt-tekst{
    top:276px;
    height: 50px;
    line-height: 50px;
  }
  .galerija-cnt-tekst > p{
    line-height: 50px;
  }
}
@media(min-width:992px){
  .galerija-cnt-mini{
    height: 290px;
  }
  .galerija-cnt-tekst{
    top:236px;
  }
}
@media (min-width:1200px) {
  .galerija-cnt-mini{
    height:350px;
  }
  .galerija-cnt-tekst{
    top: 296px;
  }
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}
::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}
img::selection {
  color: #fff;
  background: transparent;
}
img::-moz-selection {
  color: #fff;
  background: transparent;
}

nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
#mainNav .navbar-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: #F05F40;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  width: 100px;
  height: 50px;
}
.navbar-brand  {
  background-image: url("../img/LogoREBORN/logoo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.navbar-brand:hover{
  background-image:url("../img/LogoREBORN/logooglow.png");
  }

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #f05f40;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #fff;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #fff !important;
  background-color: transparent;
}
#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}
.navbar-toggler{
  background-color: #fff;
}
#mainNav{
    background-color: #000000;
  }
#mainNav .navbar-brand{
    color: #e2e1e1;
  }
#mainNav .navbar-brand{
    color: #e2e1e1;
  }
#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover{
    color: #fff;
  }
#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #e2e1e1;
  }



  /* nav ul li a{
    position: relative;
  }
  nav ul li a:after{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: #aaa;
    height: 1px;
  }
  nav ul li a:hover:after {
    width: 100%;
  } */


footer{
    background-color: #353435;
    color: #bbbcbd;
  }
footer>p{
    padding: 2rem 0rem;
    margin: auto;
    text-align: center;
  }

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: #000000;
  }
  #mainNav .navbar-brand {
    color: #f5f5f5;
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem .8rem;
    font-size: .65rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #f5f5f5;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #000000;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #e2e1e1;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #ffffff;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #e2e1e1;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #ffffff;
    /* text-shadow: 0.25px 0.25px #ffffff; */
  }
}
@media (min-width:1200px){
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
    font-size: .7rem;
  }
}

#social{
  height: 130px;
  width: 40px;
  position: absolute;
  top: 230px;
  z-index: 2;
}
.social-img{
  width: 40px;
  height: 40px;
}
.social-img:nth-child(1){
  margin-bottom: 10px;
}
.social-img:nth-child(2){
  margin-bottom: 10px;
}
.social-img >a> img{
  width: 100%;
  height: 100%;
}

header {
  height:560px;
  width: 100%;
  margin-top: 67px;
}
#carousel{
    position: absolute;
    left: 0px;
}
#carousel div {
    height: 560px;
    float: left;
}
#carousel img {
    min-width: 100%;
    min-height: 100%;
}
/*.slider-strelice{
  width: 90px;
  height: 40px;
  background-color: transparent;
  position: relative;
  top: 220px;
  z-index: 5;
  color: #353453;
  margin: auto;
}
.control_next,
.control_prev{
    transition: all .2s ease-in-out;
}
/* #slider {
  position: absolute;
  overflow: hidden;

  z-index: 1;
  height: inherit;
  width: 100%;
}
#slider ul {
  position: absolute;
  margin: 0;
  padding: 0;

  list-style: none;
  height: 100%;
  width: 100%;
}
.slide {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  background: #ccc;
  text-align: center;
  line-height: 300px;
  height: 100%;
  width: 100vw;
}

.slide img{
    width: 100%;
    height: 100%;
}
*/
.control_next:hover, .control_prev:hover{
  color:#2f99be;
}

.sportovi-margina{
  margin-top: 20px;
}

@media (min-width: 768px) {

}

@media (min-width: 992px) {
  .sportovi-margina{
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  /* header.masthead h1 {
    font-size: 4rem;
  } */
}

.service-box {
  max-width: 400px;
}
@media (min-width: 768px) {

}

.text-primary {
  color: #F05F40 !important;
}


.form-control::-moz-placeholder {
  color: #bbbcbd;
  font-size: .8rem;
}
.form-control::-webkit-input-placeholder {
  color: #353435;
  font-size: .8rem;
}
.form-control:-ms-input-placeholder {
  color: #bbbcbd;
  font-size: .8rem;
}

.form-control{
   border-radius: 0px;
   border-color: transparent;
 }

.peding-gornji{
  padding-top:20px;
}


#map{
  height:400px;
  width: 100%;
  margin-top: 4em;
}

#Partneri{
  background-color: #fff;
}

.partneri-cnt-naslov{
  padding-bottom: 50px;
}
.partneri-cnt-tekst{
  text-align: center;
  margin: 0;
}
.partneri-cnt-slika{
  width: 100%;
  /* height: 100%; */
  padding-bottom: 50px;
}


 .btn-secondary{
   background-color: #ffffff;
   color: #353435;
   border:none;
   border-radius: 0;
 }
.pristup-dugme{
    background-color: #bbbcbd;
    color: #353435;
}
.pristup-dugme:hover{
    color: #fffs;
    background-color: #353435;
}

#Kontakt a {
    text-decoration: none;
    color: inherit;
    transition: all .1s ease-in-out;
}
#Kontakt a:hover {
    color: black;
    text-shadow: 2px 2px 12px black;
}
dfn {
  cursor: help;
  font-style: normal;
  position: relative;

}
dfn::after {
  content: attr(data-info);
  display: inline;
  position: absolute;
  top: 22px; left: 0;
  opacity: 0;
  width: 230px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5em;
  padding: 0.5em 0.8em;
  background: rgba(53, 52, 53,0.8);
  color: #fff;
  pointer-events: none;
  transition: opacity 250ms, top 250ms;
}
dfn::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px; left: 20px;
  opacity: 0;
  width: 0; height: 0;
  border: solid transparent 5px;
  border-bottom-color: rgba(53, 52, 53,0.8);
  transition: opacity 250ms, top 250ms;
}
dfn:hover {z-index: 2;}
dfn:hover::after,
dfn:hover::before {opacity: 1;}
dfn:hover::after {top: 30px;}
dfn:hover::before {top: 20px;}

a>.btn-secondary{
  margin-top: 2rem;
  margin-left: 1rem;
}
@media (min-width: 500px) {
  .overlay h1,
  .overlay h5{
  	text-align: center;
  }
  .overlay p{
  	text-align: justify;
  }
  .overlay hr{
    border-color:#353435;
    border-width:2px;
    min-width: 100%;
  }

.overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.overlay ul li {
  padding: 6px 20px;
}
.overlay button {
  opacity: 0.6;
  background-color: transparent;
  position: fixed;
  z-index: 2;
  top: 24px;
  left: 24px;
  border: none;
  width: 36px;
  height: 30px;
  outline: none;
  transition: opacity 0.2s ease-out;
}
.overlay button:after {
  opacity: 0;
  content: '×';
  color: white;
  position: absolute;
  top: 16px;
  left: -4px;
  font-family: Arial, sans-serif;
  font-size: 76px;
  line-height: 0;
  transition: opacity 0.4s ease-out;
}
.menu-toggle:active {
  transform: translateY(10px);
	transition: .1s all ease-out;
}
.overlay button:hover {
  opacity: 1;
}
.open .overlay button {
  opacity: 1;
}
.open .overlay button:before {
  opacity: 0;
  width: 0;
}
.open .overlay button:after {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(360deg);
  transition: transform 0.4s 1s ease-out, opacity 0.4s 1s ease-out;
}
.overlay {
  z-index: 1;
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  overflow: hidden;
}
.overlay:before {
  content: '';
  position: absolute;
  /* top: 0;
  right: 0;
  bottom: 0;
  left: 0; */
  margin: auto;
  background: rgba(47, 153, 190, 0.95);
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 100%;
  transform: scale(0.04), translateY(9999px);
  overflow: hidden;
}
.open .overlay {
  top: calc(calc(10% - 67px) + 10%);
	left: 10%;
	width: 80%;
	height: 80%;
}
.open .overlay:before {
  animation: menu-animation 0.8s ease-out forwards;
}
ul.menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  backface-visibility: hidden;
  perspective: 1000;
  color: white;
}
ul.menu li {
  opacity: 0;
  text-align: center;
  transform: translate3d(0, 36px, 0);
}
ul.menu li:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  left: auto;
  background-color: white;
  height: 100%;
  width: 0;
  overflow: hidden;
  transition: width 0.14s ease-out;
}
ul.menu li:after {
  opacity: 0;
  content: attr(data-text);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  color: #98b296;
  overflow: hidden;
  transform: translate(-24px, 6px);
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}
.open ul.menu li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.open ul.menu li:nth-child(1) {
  transition-delay: 0.75s;
}
.open ul.menu li:nth-child(2) {
  transition-delay: 0.85s;
}
.open ul.menu li:nth-child(3) {
  transition-delay: 0.95s;
}
#Programi {
  transition: 0.2s ease-out;
}
.open #Programi {
  transform: scale(0.92);
  transition: transform 0.2s 0.41s ease-out;
}
@keyframes menu-animation {
  0% {
    opacity: 0;
    transform: scale(0.04) translateY(300%);
  }
  40% {
    transform: scale(0.04) translateY(0);
    transition: ease-out;
  }
  40% {
    transform: scale(0.04) translateY(0);
  }
  60% {
    opacity: 1;
    transform: scale(0.02) translateY(0px);
  }
  61% {
    transform: scale(0.04);
  }
  99.9% {
    height: 0;
    padding-bottom: 100%;
    border-radius: 100%;
  }
  100% {
    transform: scale(2);
    height: 100%;
    padding-bottom: 0;
    border-radius: 0;
  }
  .modal-dialog {width:600px;}
  .thumbnail {margin-bottom:6px;}
  }
  div.gallery {
    border: 1px solid #ccc;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

.responsive {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
}

@media only screen and (max-width: 700px) {
    .responsive {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
        width: 100%;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
}
/*-----------------------------------
    6. Slider 
-------------------------------------*/
.slider { margin-bottom: -100px; }
.slider-img { position: relative; width: 100%; height: 670px; }
.slider-img img { position: relative; z-index: -1; }
.slider-captions { position: absolute; bottom: 180px; width: 100%; color: #ffffff; text-align: left; border-radius: 2px; }
.slider-title { color: #ffffff; font-size: 38px; font-weight: 600; line-height: 52px; text-transform: capitalize; margin-bottom: 10px; }
.slider p { font-size: 21px; font-weight: 500; color: #ffffff; }
.slider .owl-theme .owl-nav { line-height: 1; text-align: center; -webkit-tap-highlight-color: transparent; }
.slider .owl-theme .owl-nav .owl-prev { position: absolute; top: 40%; left: -10px; color: #2c3132; font-size: 40px; margin: 12px; padding: 0px; background: transparent; display: inline-block; cursor: pointer; border-radius: 2px; height: 0px; width: 0px; }
.slider .owl-theme .owl-nav .owl-next { position: absolute; top: 40%; right: 30px; color: #2c3132; font-size: 40px; margin: 12px; padding: 0px; background: transparent; display: inline-block; cursor: pointer; border-radius: 2px; height: 0px; width: 0px; }
.slider .owl-theme .owl-nav .owl-prev:hover { background-color: transparent; text-decoration: none; color: #00bf29; }
.slider .owl-theme .owl-nav .owl-next:hover { background-color: transparent; text-decoration: none; color: #00bf29; }
.slider .owl-theme .owl-dots { text-align: center !important; position: relative; bottom: 50px; }
.slider .owl-theme .owl-dots .owl-dot { display: inline-block; zoom: 1; }
.slider .owl-theme .owl-dots .owl-dot span { width: 20px; height: 4px; margin: 4px 3px; background-color: #fff; border-radius: 0px; display: block; -webkit-backface-visibility: visible; transition: opacity 200ms ease; }
.slider .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background-color: #574b49; border: transparent; }
.slider .owl-theme .owl-carousel .owl-item img { width: 100%; }


/* Large Devices, Wide Screens */
@media only screen and (max-width:1440px) {
    .slider-captions { bottom: 230px; background: transparent; }
}
@media only screen and (max-width:1200px) {
    .slider-img { height: 450px; }
    .slider-captions { bottom: 190px; background: transparent; text-align: center;  }


/* Small Devices, Tablets */
@media only screen and (max-width:768px) {
    .head-btn { position: absolute; bottom: 59px; right: 17px; }
    .slider-img { height: initial; }
    .slider-captions { bottom: 50px; background: transparent; text-align: center; }
    .slider-title { font-size: 30px; line-height: 26px; padding: 10px 30px 0px 10px; font-weight: 600; }


/* Extra Small Devices, Phones */
@media only screen and (max-width:480px) {
    .slider-img { height: initial; }
    .slider p {font-size: 8px;}
    .slider-captions { bottom: 30px; background: transparent; text-align: center; }
    .slider-title { font-size: 18px; line-height: 26px; padding: 10px 30px 0px 10px; font-weight: 600; }
    .slider .owl-theme .owl-dots { text-align: center !important; position: relative; bottom: 30px; }
    .slider .owl-theme .owl-dots .owl-dot { display: inline-block; zoom: 1; }
    .slider .owl-theme .owl-dots .owl-dot span { width: 20px; height: 4px; margin: 4px 3px; background-color: #fff; border-radius: 0px; display: block; -webkit-backface-visibility: visible; transition: opacity 200ms ease; }


/* Custom, iPhone Retina */
@media only screen and (max-width:320px) {
    .slider-img { height: initial; }
    .slider p {font-size: 8px;}
    .slider-captions { bottom: 10px; background: transparent; text-align: center; }
    .slider-title { font-size: 18px; line-height: 26px; padding: 10px 30px 0px 10px; font-weight: 600; }
    .slider .owl-theme .owl-dots { text-align: center !important; position: relative; bottom: 30px; }
    .slider .owl-theme .owl-dots .owl-dot { display: inline-block; zoom: 1; }
    .slider .owl-theme .owl-dots .owl-dot span { width: 20px; height: 4px; margin: 4px 3px; background-color: #fff; border-radius: 0px; display: block; -webkit-backface-visibility: visible; transition: opacity 200ms ease; }
    .slider .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background-color: #574b49; border: transparent; }
/*-------------- tiny footer ------------*/
.tiny-footer { background-color: #242323;    padding-top: 10px; padding-bottom: 10px; font-size: 14px; color: #ffffff; text-align: center; }
.copyrightlink { color: #ffc836; }
.copyrightlink:hover { color: #e7ae0f; }
/*-----------------------------------