/*
----------------------------------------------------------------------------------------

Main styles

----------------------------------------------------------------------------------------
*/


#hidden {
    display: none;
    }


* {
  margin:0;
  padding:0;
}

body {
  text-align: center;
  background: #000;
  color: #fff;
  font-family: helvetica, sans-serif;
  font-weight: light;
  font-size: 15px;
}
strong {
  font-weight: bold;
}

/*
----------------------------------------------------------------------------------------

Header

----------------------------------------------------------------------------------------
*/
header {
  background: #000; 
  z-index: 10; 
  height: 80px;
  position: relative;
  opacity:0.85;
}

h1 {
  font-weight: 100;
  margin:30px 0 0 25px;
  position: absolute;
  left: 0;
  top: 0;
  text-rendering:optimizeLegibility;
  text-transform: uppercase;
  font-size:1.4em;
  letter-spacing: 0.05em;
}
h1 strong { 
	font-weight:bold;
	letter-spacing: 0.08em;
  }
  
h1 a {
  color: #fff;
  text-decoration: none;
}

/* Lang navigation */
a.lang {
  color: #fff;
  text-transform: uppercase;
  position: absolute;
  top: 34px;
  right:130px;
  font-size: 0.8em;
  text-decoration: none;
  letter-spacing: 0.15em;
}
a.lang:hover { text-decoration: underline; }

a.lang.hide {display: none;}

/* Logo */
img.logo {
  margin:20px 25px 0 0;
  position: absolute;
  right: 0;
  top: 0;
}

/*
----------------------------------------------------------------------------------------

Main

----------------------------------------------------------------------------------------
*/

#main {
  background: #fff;
  position: relative;
}
.home #main { height: 800px;background: transparent; }

/*
----------------------------------------------------------------------------------------

jQuery plugin: Super BG Image

----------------------------------------------------------------------------------------
*/

#thumbs { display:none;}
#superbgimage {
  height: 880px;
  position: absolute;
  width: 100%;
  top: 0px;
  left:0;
}

/*
----------------------------------------------------------------------------------------

Boxes

----------------------------------------------------------------------------------------
*/

.boxes {
  margin: 0 auto;
  position: relative;
  width: 196px;
  height: 196px;
  top: 240px;
  text-align: left;
}

.box:hover {
  -webkit-box-shadow:  0px 0px 30px 0px rgba(0, 0, 0, 1);
  box-shadow:  0px 0px 30px 0px rgba(0, 0, 0, 1);
	}
	
.box:active {
  opacity: 0.95;
	}

/* javaScript enabled */
.js .boxes { opacity: 0; }

.box {
  display: inline-block;
  position: absolute;
  -webkit-border-radius:14px;
  -moz-border-radius:14px;
  font-weight: 100;
  -webkit-text-stroke-width: 0.1px;
  letter-spacing: 0.08em;
  border-radius:14px; 
  z-index:100; 
  text-transform: uppercase;
  line-height:1.1em;
  font-size: 1.2em;
  padding: 18px;
  padding-top: 23px;
  -webkit-box-shadow:  0px 0px 20px 0px rgba(0, 0, 0, 0.6);
  box-shadow:  0px 0px 20px 0px rgba(0, 0, 0, 0.6);
  margin:20px;
}
.box > .inner { 
  width: 120px;
  height: 120px;  
  position:relative;  
}
.boxes a  {
  color: #fff;
  text-decoration: none;
  display: block;
}
.boxes a.box1  { color: black;}
.boxes a.eventsfacebook { 
  position: absolute; 
  bottom:0;
  color: #000;
}

.box1,
.box2,
.box3 { bottom: 200px;}
.box4,
.box5,
.box6 { top: 0; }
.box7,
.box8,
.box9 { top: 200px; }
.box1,
.box4,
.box7 { right: 200px;}
.box2,
.box5,
.box8 { left: 0; }
.box3,
.box6,
.box9 { left: 200px; }

.js .box1,
.js .box2,
.js .box3 { bottom: 250px;}
.js .box7,
.js .box8,
.js .box9 { top: 250px; }
.js .box1,
.js .box4,
.js .box7 { right: 250px;}
.js .box3,
.js .box6,
.js .box9 { left: 250px; }




/* boxes background color*/
.box1 { background: #fff; }
.box2 { background: #007237; }
.box3 { background: #b10f66; }
.box4 { background: #b39016; }
.box5 { 
  background: #000;
  text-align: center;
}
.box .verticalmiddle {
  display: table-cell;
  vertical-align: middle;
}
.box6 { background: #3a67a8; }
.box7 { background: #d61f00; }
.box8 { background: #f6821d; }
.box9 { background: #808080; }



/*
----------------------------------------------------------------------------------------

Grid

----------------------------------------------------------------------------------------
*/

.grid {
  position: relative;
  opacity:0;
  width: 12px;
  height:12px;
  top:90px;
  left:90px;
}

.grid span {
  z-index:10; 
  background: #000;
  position: absolute;
}
.grid span.vertical {
  height:412px;
  width:12px;
  bottom: -200px;
}
.grid span.vertical1 { right: 200px;}
.grid span.vertical3 { left: 200px; }

.grid span.horizontal {
  height:12px;
  width:412px;
  right:-200px;
}
.grid span.horizontal1 { bottom: 200px; }
.grid span.horizontal3 { top: 200px; }

/* JavaScript enabled */
.js .grid span.vertical { height:512px;bottom: -250px;}
.js .grid span.vertical1 { right: 250px;}
.js .grid span.vertical3 { left: 250px; }
.js .grid span.horizontal {width:512px;right:-250px;}
.js .grid span.horizontal1 { bottom: 250px; }
.js .grid span.horizontal3 { top: 250px; }

/*
----------------------------------------------------------------------------------------

Footer

----------------------------------------------------------------------------------------
*/
footer {
  background: #ad9377 url('../images/bg-footer.png') repeat-x;
  min-height: 216px;
  z-index: 100;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
footer .content { margin: 30px 20px; }
footer .left .content { margin-right:0;}
footer .right .content { margin-left:0;}
footer .left {
  text-align: left;
  float: left;
  width: 66%;
}
footer .right {
  text-align: right;
  float: right;
  width: 33%;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover { text-decoration: underline;}
footer ul { list-style-type: none; }
footer ul li { line-height: 1.4em; }
footer ul.meta { margin: 0 0 2em 0; }
footer ul.meta li {
  display: inline;
  font-size: 0.8em;
}
footer ul.navigation { font-size: 0.6em; }
footer p {
  font-size: 0.8em;
  margin: 0 0 2em 0;
}
.sponsors img { margin: 0 25px 10px 0;}

/*
----------------------------------------------------------------------------------------

Tablet
----------------------------------------------------------------------------------------
*/
@media only screen and (max-width: 1024px) {


  footer .left { width: 59%;}
  footer .right { width: 40%; }

  /*.box {
    font-size: 0.9em;
  }
  body,h1 {font-weight: normal;}
  h1 strong ,
  strong {font-weight: bold;}
  */
  .sponsors img { margin: 0 15px 10px 0;}
}

/*
----------------------------------------------------------------------------------------

Mobile

----------------------------------------------------------------------------------------
*/
@media only screen and (max-width: 760px) {
  
  body { background: #000; }

  .mobile-hide,
  .grid span,
  #superbgimage  { display: none !important; }
  
  .container { width: 100%; min-width: inherit; max-width: inherit;}

  .home #main { height: auto; }
  
  #main { margin-top: 0;}
  
  strong {
    font-weight: bold;
  }

  .boxes {
    height: auto;
    margin: 0;
    position: relative;
    width: auto;
    opacity: 1;
    top:0;
  }
  .box {
    display: block;
    position: static;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    border-radius:0; 
    font-size: 1.09em;
    padding: 0;
    line-height:1.3em;
    text-align: left;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    margin:0;
    position: static;
  }
  .box5 .inner span {
    width: 41px;
    height: 20px;
    background: #000 url('../images/logo-mobile.png') no-repeat;
    display:inline-block;
    float: right;
    top:10px;
  }
  .box > .inner { 
    width: auto;
    height: auto;  
    position:relative;
    padding: 1em 20px;  
  }
  .box > .inner a {
    display: block;
    position: static;
    padding: 0 0 1em 0;
  } 
  .box .verticalmiddle { display: block;}  
  div.box > .inner {padding: 1em 20px 0 20px;}
  div.box > .inner a {padding: 0 0 0.5em 0;}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
  .box5 .inner span {
    background-image: url('../images/logo-mobile2x.png');
             -moz-background-size: 41px 20px;
               -o-background-size: 41px 20px;
          -webkit-background-size: 41px 20px;
                  background-size: 41px 20px;
  }
}


