/*
----------------------------------------------------------------------------------------

Main styles

----------------------------------------------------------------------------------------
 */


#hidden {
  display: none;
}


* {
  margin:0;
  padding:0;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  display: flex;
}

body {
  background: #fff;
  color: #000;
  font-family: helvetica, sans-serif;
  font-weight: light;
  font-size: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}
strong {
  font-weight: bold;
}

.content a {
  color: #F6821D;
}

h1.page-title {
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 2.3rem;
  color: #F6821D;
}
p {
  line-height: 1.4;
  margin-bottom: 0.66667rem;
}
img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
/*
----------------------------------------------------------------------------------------

Header

----------------------------------------------------------------------------------------
 */
header {
  background: #000;
  z-index: 10;
  height: 80px;
  position: relative;
  opacity:0.85;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-weight: 100;
  text-rendering:optimizeLegibility;
  text-transform: uppercase;
  font-size:1.4em;
  letter-spacing: 0.05em;
}
header h1 strong {
  font-weight:bold;
  letter-spacing: 0.08em;
}

header h1 a {
  color: #fff;
  text-decoration: none;
}


/* Lang navigation */
a.lang {
  color: #fff;
  text-transform: uppercase;
  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 {
  width: 60px;
}

/*
----------------------------------------------------------------------------------------

Main

----------------------------------------------------------------------------------------
 */

.content {
  /* -webkit-box-flex: 1; */
  /* -ms-flex: 1; */
  /* flex: 1 0 auto; */
  flex-grow: 1;
}
/* home */
.home .content { height: 700px; min-height: 700px }
.home { background-color: #000 }



/*
----------------------------------------------------------------------------------------

Content Grid

----------------------------------------------------------------------------------------
 */
.row {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}
.row:before, .row:after {
  content: " ";
  display: table;
}
.row:after {
  clear: both;
}
.columns {
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
  float: left;
}
.column+.column:last-child, .columns+.column:last-child, .column+.columns:last-child, .columns+.columns:last-child {
  float: right;
}
.w-1-3 {
  width: 33.33333%;
}
.w-2-3 {
  width: 66.66667%
}
.vertical-padding {
  padding-top: 40px;
  padding-bottom: 40px;
}
/*
----------------------------------------------------------------------------------------

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: 16px;
  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 .footer-content { margin: 30px 20px; }
footer .left .footer-content { margin-right:0;}
footer .right .footer-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;
  color: #fff;
}
.footer-links a::after {
  content: '\00b7';
  display: inline-block;
  margin-left: 5px;
}
.footer-links a:last-child::after {
  content: '';
  margin-left: 0;
}
.sponsors img { margin: 0 25px 10px 0;}

.social a {
  display: inline-block;
  margin-right: 10px;
  width: 25px;
  overflow: hidden;
  color: transparent;
}
.social a:last-child {
  margin-right: 0;
}
/*
----------------------------------------------------------------------------------------

Tablet
----------------------------------------------------------------------------------------
 */
@media only screen and (max-width: 1024px) {

  h1.page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  footer .left { width: 59%;}
  footer .right { width: 40%; }

  .sponsors img { margin: 0 15px 10px 0;}
}

/*
----------------------------------------------------------------------------------------

Mobile

----------------------------------------------------------------------------------------
 */
@media only screen and (max-width: 767px) {
  header h1 {
    font-size: 16px;
  }

  img.logo {
    width: 45px;
  }
  a.lang {
    width: 20px;
    overflow: hidden;
  }

  .columns {
    width: 100%;
  }
  .mobile-hide,
  .grid span { display: none !important; }

  .container { width: 100%; min-width: inherit; max-width: inherit;}

  .home .content { height: auto; }


  .footer-links a{
    display:block;
    margin-bottom: 5px;
  }
  .footer-links a::after {
    content: '';
    margin: 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;
  }
}


