@font-face {
  font-family: 'Neris';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/neris.light.woff') format('woff'),
       url('/fonts/neris.light.otf')  format('otf');
}

@font-face {
  font-family: 'Neris';
  font-style: italic;
  font-weight: 300;
  src: url('/fonts/neris.light-italic.woff') format('woff'),
       url('/fonts/neris.light-italic.otf')  format('otf');
}
@font-face {
  font-family: 'Niagara';
  font-style: normal;
  src: url('/fonts/Niagara.Engraved.Regular.woff') format('woff'),
       url('/fonts/Niagara.Engraved.Regular.ttf')  format('truetype');
}

::-moz-selection { background-color: #00a369; color:white; }
::selection { background-color: #00a369; color:white; }


*{
  font-size:1vw;
  font-family: 'Neris';
  color:#1A171B;
}

body,html{
  min-height:100%;
  min-width:100%;
  height:100%;
}

body{
  margin:0px;
  background-size:cover;
  background-position: center center;
  transition:2s ease-out;
  -webkit-transition:background-image 2s ease-out;
}

.slide{
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom:0;
  background-size:cover;
  background-position: center bottom;
}

#nav-icon,#slide-nav,#social{
  display:none;
}

#flex{
  position:fixed;
  top:0;
  right:0;
  left:0;
  bottom:0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  z-index:2;
}

#map{
  position:fixed!important;
  top:0;
  right:0;
  left:0;
  bottom:0;
  z-index:1;
  pointer-events: none;
}

#logo{
  width:155px;
  padding:45px 30px 0px 30px;
}

#logo img{
  max-width:100%;
}

.bg1{
  background-color:rgba( 26,23,27,0.8 );
}

#nav{
  height:100%;
  width:215px;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
}

#bottom{
  flex-shrink:0;
}

#nav ul{
  list-style:none;
  margin:0px;
  padding:0px;
}
#nav ul,#nav li{
  width:215px;
  display:block;
  text-align:center;
}

#nav a{
  display:inline-block;
  line-height:5vh;
  text-align:center;
  font-size:4vh;
  color:white;
  font-weight:normal;
  text-decoration:none;
  font-family:Niagara,sans-serif;
  text-transform: uppercase;
  letter-spacing:6px;
  margin-bottom:10px;
}

#home #page img{
  width:115px;
}

#darts #page img{
  width:135px;
}

#biljart #page img{
  width:145px;
}
#games #page img{
  width:130px;
}
#groups #page img{
  width:175px;
}

#info #page img{
  width:110px;
}

#nav a.active{
  border-bottom:2px solid white;
  margin-bottom:8px;
}

.flex{
   display: -webkit-flex;
   display: flex;
   -webkit-flex-direction: row;
   flex-direction: row;
}

#page{
  background-color:rgba( 255,255,255,0.8 );
  width:215px!important;
  height:185px!important;
  text-align:center;
  flex-shrink:0;
  padding:0px;
	display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
}

#page img{
  width:125px;
  margin:auto;
}

#content{
  background-color:rgba( 255,255,255,0.9 );
  padding:0px 22.5px;
  height:185px;
  width:100%;
  display: flex;
  align-items: center;
}
#content .flex{
  width:100%;
}

#content p{
  margin:0 22.5px;
  width:33%;
  text-align:justify;
}

#social-flex{
  position:fixed;
  z-index:11;
  width:calc( 100% - 215px );
  top:50px;
  left:215px;
  right:0;
  display:flex;
  height:200px;
}

#social-link{
  width:calc(( 100% - 180px ) / 3 );
  position:absolute;
  right:45px;
  z-index:99999;
}

#fb{
  width:100%;
  clear:both;
  height:200px;
  position:relative;
  transform-style: preserve-3d;
  transform-origin: 80% 0%;
  transform: rotateY( -180deg );
  margin-left:100px;
}

#fb-inner{
  background-color:rgba(255,255,255,0.9);
  padding:10px 10px 6px 10px;
}

#fb *{
  font-size:16px;
}


#fb .title{
  background-color:#009ddf;
  padding:0 10px;
  text-transform: uppercase;
  letter-spacing:0.5px;
  margin:10px 0px 4px 0;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
}

#fb .title>div{
  font-size:13px;
  color:white;
  text-align:center;
  line-height:12px;
  width:100%;
  font-family:'Museo Slab W01_500',sans-serif;
}

#fb .row{
  display:flex;
}

#fb .txt{
  width:48%;
  margin-right:2%;
  position:relative;
  display: -webkit-flex;
  display: flex;
  align-items:center;

}

#fb .img{
  width:50%;
}

#fb-inner img{
  max-width:100%;
}


#fb .img{
  text-align:center;
}

#social-link>a{
  height:54px;
  width:54px;
  padding:2px;
  display:block;
  float:left;
  background-color:rgba(0,0,0,0.6);
  border-radius:50px;
  display:flex;
  margin-left:20px;
  margin-bottom:20px;
  position:relative;
  border: 2px solid rgba(0,0,0,0.0);
}


#social-link>a:hover,#social-link>a.active{
  border:2px solid rgba(0,0,0,0.6);
}

#social-link>a:first-child{
  margin-left:0px;
}
#social-link>a img{
  max-width:60%;
  max-height:60%;
  margin:auto;
}

#social-link>a:hover{
  background-color:#009ddf;
}

#social-link a.fb-link.active,#social-link a.fb-link:hover{
  background-color:#009ddf;
}
#social-link a.yt-link.active,#social-link a.yt-link:hover{
  background-color:#e62117;
}
#social-link a.ta-link.active,#social-link a.ta-link:hover{
  background-color:#589442;
}

#fb.closed{
  opacity:0;
}

#fb.opened{
  opacity:1;
  transform: rotateY( 0deg );
  transition: 1s ease-out;
  margin-left:0px;
}

#fb.opened *{
  opacity:1;
}

#fb-inner a{
  left:0px;
  color:#009ddf;
  display:block;
  text-align:center;
  text-decoration: none;
  text-transform: uppercase;
  position:absolute;
  bottom:5px;
  width:100%;
  font-size:10px;
}

.indic{
  opacity:1;
  background-color:#e62117;
  color:white;
  font-weight:bold;
  width:20px;
  height:20px;
  position:absolute;
  right:-5px;
  top:-100px;
  border-radius:20px;
  font-size:0.8vw;
  text-align:center;
  line-height:1.1vw;
}

#gmaps{
  position:fixed;
  z-index:12;
  width:calc( 100% - 215px );
  height:calc( 100% - 185px );
  top:0;
  right:0;
}
.close-fb{
}

.close-fb img{
  height:24px;
  margin-top:5px;
}

#madeby{
  position:absolute;
  right:0px;
  line-height:17px;
  font-size:12px;
}

#madeby img{
  margin-top:3px;
  height:30px;
}

@media (min-width: 480px) and ( max-width: 700px){
  #logo{
    transition:0.5s;
    width:105px;
    padding: 45px 55px 0px 55px;
  }

}



@media (max-width: 1400px ) and (max-height: 1024px){
  .indic{
    font-size:10px;
    line-height:11px;
  }
}

@media (max-width: 1024px ) and (max-height: 768px){
  .indic{
    font-size:8px;
    line-height:10px;
  }
  *{
    font-size:11px;
  }
  #nav a{
    font-size:3rem;
    line-height:1.1;
  }
}

@media only screen
  and (min-width: 320px)
  and (max-width: 736px) {
    *{
      font-size:16px;
    }

    body{
    background-attachment: fixed;
    }

    #nav{
      display:none;
    }

    body.nav-enabled #bottom{
      display:none;
    }

    #flex{
      flex-direction:row;
    }

    #logo{
      position:absolute;
      background:none;
      left:40px;
      right:40px;
      width:auto;
      background-color:rgba( 255,255,255,0.9 );
      height:165px;
    }


    #nav-icon,#slide-nav,#social{
      display:block;
    }


    #nav-icon{
      width:30px;
      position:fixed;
      z-index:4;
      top:50px;
      left:5px;
    }

    #nav-icon i{
      width:100%;
    }

    #slide-icon i{
      width:100%;
    }

    #slide-nav{
      z-index:3;
      width:30px;
      padding:0 5px;
      height:100%;
      position:fixed;
      right:0;
      top:0;
      padding-top:35px;
    }

    #slide-nav img{
      margin-top:20px;
      margin-bottom:20px;
    }

    #social{
      padding-top:130px;
      z-index:3;
      width:40px;
      height:100%;
      position:fixed;
      left:0;
      top:0;
      background-color:rgba(0,0,0,0.8);
    }

    #socialinner{

    }

    #social a{
      margin:10px 5px;
      width:30px;
      display:block;
      height:20px;
    }

    #social a img{
      max-height:100%;
    }

    #logo::after{
      position:absolute;
      z-index:1;
      top:20px;
      content:'';
      width:160px;
      height:160px;
      background-color:rgba(0,0,0,0.8);
      border-radius:80px;
      margin-left:50%;
      left:-80px;
    }
    #logo img{
      position:absolute;
      z-index:2;
      width:150px;
      height:150px;
      top:25px;
      margin-left:50%;
      left:-75px;
    }

    body.nav-enabled #nav,#bottom{
      top:0px;
      position:absolute;
      left:40px;
      right:40px;
      display:block;
      height:auto;
      width:auto!important;
    }

    body.nav-enabled #nav{
      height: calc( 100% - 200px );
    }

    body.nav-enabled #nav ul{
      margin:0px 30px;
      padding-top:30px;
    }

    body.nav-enabled #nav ul,body.nav-enabled #nav ul li{
      width:auto;
    }

    body.nav-enabled #nav a{
      color:black;
      font-size:2.2rem;

    }

    body.nav-enabled #nav a.active{
      border-color: rgba(0,0,0,0.8);
    }


    #flex{
      position:absolute;
    }

    body.nav-enabled #nav,#bottom{
      background-color:rgba( 255,255,255,0.9 );
      top:0px;
      margin-top:210px;
    }

    #logo::before{
      margin-top:100px;
      content:'';
      height:2px;
      width: calc( 100% - 140px);
      position:fixed;
      top:100px;
      left:70px;
      z-index:10;
      background-color:rgba(0,0,0,0.8);
    }

    #bottom{
      padding:0 30px 0px 30px;
      height:calc( 100% - 210px );
      overflow:scroll;
       -webkit-overflow-scrolling: touch;
    }

    html,body{
      overflow:hidden;
    }

    #page{
      margin:0px;
      padding:0px;
      width:100%!important;
      z-index:3;
      height:130px!important;
      background:none;
    }

    .flex{
      display:block;
      flex-direction: none;
    }

    #content{
      background:none;
      padding:0px;
      height:auto;
      padding-bottom:20px;
    }

    #content p{
      margin:10px 0px;
      width:auto;
    }

    .play,.pause{
      width:12px;
      margin:auto;
    }

    .next{
      width:24px;
      margin:auto;
    }

    .pause{
      margin-bottom:30px!important;
    }

    body.slides-enabled #bottom,body.slides-enabled #social,.nolook,body.slides-enabled .look,.play,.next,.pause,body.slides-enabled.paused .pause{
      display:none;
    }

    body.slides-enabled .next{
      display:block;
    }

    body.slides-enabled #logo,body.slides-enabled #logo:before{
      background:none;
    }
    body.slides-enabled .nolook,body.slides-enabled .next,body.slides-enabled .pause,body.slides-enabled.paused .play{
      display:block;
    }


    .slide{
      background-size:auto 100%;
      background-position:center center;
    }
    #social-link{
      display:none;
    }
    #logo,#logo img,#logo::after,#logo::before,#bottom{
      transition: 0.5s;
    }

    #logo.mini img{
      width:75px;
      height:75px;
      left:-37.5px;
      top:23px;
    }

    #logo::after{
      transition: 0.5s;

    }

    #logo.mini::after{
      width:80px;
      height:80px;
      left:-40px;
    }

    #logo.mini{
      height:80px;
    }

    #logo.mini::before{
      margin-top:20px;
    }

    #bottom.mini,body.nav-enabled #nav.mini{
      top:-85px;
      height:calc( 100% - 125px );
    }

    #info #bottom{
    }

    #content{
      display:block;
    }

    #madeby{
      position:static;
      margin-top:20px;
      text-align:center;
    }

    #social-flex{
      display: none!important;
    }
    body#info{
      background-image:url(/img/maps.jpg);
      background-position:center center;
    }
}

/* Portrait */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) {

}



@media only screen
  and  (max-height: 480px) {
    *{
      font-size:14px;
    }
    #social{
      padding-top: 100px;
    }
}

/* Landscape */
@media only screen
  and (max-device-width: 1500px)
  and (orientation: landscape) {



    #logo,#logo img,#logo::after,#logo::before,#bottom{
      transition: 0.5s;
    }

    #logo.mini img{
      width:75px;
      height:75px;
      left:-37.5px;
      top:23px;
    }

    #logo::after{
      transition: 0.5s;

    }

    #logo.mini::after{
      width:80px;
      height:80px;
      left:-40px;
    }

    #logo.mini{
      height:80px;
    }

    #logo.mini::before{
      margin-top:60px;
    }

    #bottom.mini,body.nav-enabled #nav.mini{
      top:-30px;
      height:calc( 100% - 125px );
    }


    #social-flex{
      display: none!important;
    }

    #logo{
      height:110px;
    }

    #logo img{
      left:-50px;
      width:100px;
      height:100px;
    }

    #logo::after{
      width:110px;
      height:110px;
      left:-55px;
    }

    #logo::before{
      top:50px;
    }

    body.nav-enabled #logo{
      display:none;
    }

    body.nav-enabled #nav.mini{
      height:100%;
      top:0px;
      margin-top:0px;
    }

    #bottom{
      margin-top:155px;
      height:calc( 100% - 155px );
    }
    #content p{
      width:100%!important;
    }

    #nav a{
      font-size:2rem!important;
      line-height:2rem;
    }

    .slide{
      background-size: 100% auto;
    }
}
