/*
 -------------
     GLOBAL
 ---------------
 */

html {
  font-family: 'Roboto', sans-serif;
}

body {
    /*
    background-image: url("../pics/back.jpg");
    */
    background-color: white;
}

/*
 -------------
     SPECIAL
 ---------------
 */


#categories{
  overflow:hidden;
  width:100%;
  margin:0 auto;
  margin-top: 50px;
}
.clr:after{
  content:"";
  display:block;
  clear:both;
}
#categories li{
  position:relative;
  list-style-type:none;
  width:32.5%; /* = (100-2.5) / 3 */
  padding-bottom: 37.7906976744%; /* =  width /0.866 */
  float:left;
  overflow:hidden;
  visibility:hidden;
 
  -webkit-transform: rotate(-60deg) skewY(30deg);
  -ms-transform: rotate(-60deg) skewY(30deg);
  transform: rotate(-60deg) skewY(30deg);
}
#categories li:nth-child(3n+2){
  margin: 0 1%;
}
#categories li:nth-child(6n+4){
  margin-left:.5%;
}
#categories li:nth-child(6n+4), #categories li:nth-child(6n+5), #categories li:nth-child(6n+6) {
  margin-top: -8.5%;
  margin-bottom: -8.5%;
  
  -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
  -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
  transform: translateX(50%) rotate(-60deg) skewY(30deg);
}
#categories li:nth-child(6n+4):last-child, #categories li:nth-child(6n+5):last-child, #categories li:nth-child(6n+6):last-child{
  margin-bottom:0%;
}
#categories li *{
  position:absolute;
  visibility:visible;
}
#categories li > div{
  width:100%;
  height:100%;
  text-align:center;
  color:#fff;
  overflow:hidden;
  
  -webkit-transform: skewY(-30deg) rotate(60deg);
  -ms-transform: skewY(-30deg) rotate(60deg);
  transform: skewY(-30deg) rotate(60deg);
  
  -webkit-backface-visibility:hidden;
  
}

/* HEX CONTENT */
#categories li img{
  left:-100%; right:-100%;
  width: auto; height:100%;
  margin:0 auto;   
}

#categories div h1, #categories div p{
  width:100%;
  padding:0 0%;
  background-color:#008080; background-color: rgba(255, 255, 255, 0.8);
  font-family: 'Roboto', sans-serif;
  
  -webkit-transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
  -ms-transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
  transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
}
#categories li h1{
  bottom:110%;
  font-style:italic;
  font-weight:normal;
  font-size:1.5em;
  padding-top:100%;
  padding-bottom:100%;
}
#categories li h1:after{
  content:'';
  display:block;
  position:absolute;
  bottom:0px; left:50%;
  width:0%;
  text-align:center;
  z-index:1;
  /* border-bottom:2px solid #fff; Small white line */
}
#categories li p{
	padding-top:50%;
	top:100%;
	padding-bottom:50%;
}


/* HOVER EFFECT  */

#categories li div:hover h1 {
  bottom:46.5%;
  padding-bottom:0%;
}

#categories li div:hover p{
  top:50%;
  padding-top:10%;
}
#fork{
  position:fixed;
  top:0;
  left:0;
  color:#000;
  text-decoration:none;
  border:0px;
  padding:.5em .7em;
  margin:1%;
  transition: color .5s;
  overflow:hidden;
}
#fork:before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 130%; height: 100%;
  background: #000;
  z-index: -1;
  transform-origin:0 0 ;
  transform:translateX(-100%) skewX(-45deg);
  transition: transform .5s;
}
#fork:hover {
  color: #fff;
}
#fork:hover:before {
  transform: translateX(0) skewX(-45deg);
}



/*
 -------------
     HOME
 ---------------
 */

.content-splash {
    margin-top: 0px;
}

.background-wrapper-splash {
    margin: 0 auto;
    background-image: url("../pics/hero-splash.jpg");
    background-repeat: no-repeat;
    position: relative;
    background-position: center 0px;
    z-index: 1;
}
.container-splash .row {
    height: 0px;
    position: relative;
}

.community-logo-splash {
    line-height: 0px;
    margin-top: 20%;
}

/* Tablet View */

@media screen and (max-width: 959px) {
    
    .community-logo-splash img {
        width: 500px;
    }
    .container-splash .row {
        height: 0px;
    }
    .community-logo-splash {
        line-height: 300px;
    }
    
    .content-splash-home-main {
        background-color: #FAFAF0;
        background: rgba(250, 250, 240, 0);
        border-radius: 8px;
        padding: 30px;
        margin-bottom: 28px;
        -webkit-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
        -moz-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
        box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
    }

    .content-splash-sidebar-home-section {
        background-color: #FAFAF0;
        background: rgba(250, 250, 240, 0);
        border-radius: 8px;
        padding: 10px 15px;
        margin-bottom: 28px;
        -webkit-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
        -moz-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
        box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
    }
    
}

/* Mobile View */

@media screen and (max-width:639px) {

    .container-splash .row {
        height: 0px;
        text-align: center;
    }
    .community-logo-splash {
        line-height: 0px;
    }
}

.content-splash-home-main {
    background-color: #FAFAF0;
    background: rgba(250, 250, 240, 0);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 28px;
    -webkit-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
    -moz-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
}

.content-splash-sidebar-home-section {
    background-color: #FAFAF0;
    background: rgba(250, 250, 240, 0);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 28px;
    -webkit-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
    -moz-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0);
}


/* 
 -------------
    USER BAR
 ---------------
 */

#user-bar {
    background-color: #423F3E;
    color: white;

}

/* 
 -------------
    NAVIGATION 
 ---------------
 */

.nav-section-header {
    border-radius: 8px 8px 0 0;
    color: white;
    -webkit-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    background-color: #423F3E;
    /* For Safari 5.1 to 6.0 */
    background: -webkit-linear-gradient(left, #423F3E, #58504F, #423F3E);
    /* For Opera 11.1 to 12.0 */
    background: -o-linear-gradient(right, #423F3E, #58504F, #423F3E);
    /* For Firefox 3.6 to 15 */
    background: -moz-linear-gradient(right, #423F3E, #58504F, #423F3E);
    /* Standard syntax */
    background: linear-gradient(to right, #423F3E, #58504F, #423F3E);
}

.nav-section-container {
    border-radius: 0 0 8px 8px;
    background-color: #FAFAF0;
    /* For Safari 5.1 to 6.0 */
    background: -webkit-linear-gradient(left, #F0F0E6, #FAFAF0, #F0F0E6);
    /* For Opera 11.1 to 12.0 */
    background: -o-linear-gradient(right, #F0F0E6, #FAFAF0, #F0F0E6);
    /* For Firefox 3.6 to 15 */
    background: -moz-linear-gradient(right, #F0F0E6, #FAFAF0, #F0F0E6);
    /* Standard syntax */
    background: linear-gradient(to right, #F0F0E6, #FAFAF0, #F0F0E6);
    -webkit-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
}

/* 
 -------------
    NEWSBOARD
 ---------------
 */

.newsboard-container.newsboard-container__banner {
    background: #423F3E;
    /* For Safari 5.1 to 6.0 */
    background: -webkit-linear-gradient(left, #423F3E, #58504F, #423F3E);
    /* For Opera 11.1 to 12.0 */
    background: -o-linear-gradient(right, #423F3E, #58504F, #423F3E);
    /* For Firefox 3.6 to 15 */
    background: -moz-linear-gradient(right, #423F3E, #58504F, #423F3E);
    /* Standard syntax */
    background: linear-gradient(to right, #423F3E, #58504F, #423F3E);
    /*border-radius: 8px 9px 0 0;*/
    -webkit-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: white;
}


/* 
 -------------
    POPUPS
 ---------------
 */

.stand-alone-page .popup-header {
    background: #423F3E;
    /* For Safari 5.1 to 6.0 */
    background: -webkit-linear-gradient(bottom, #58504F, #423F3E);
    /* For Opera 11.1 to 12.0 */
    background: -o-linear-gradient(bottom, #58504F, #423F3E);
    /* For Firefox 3.6 to 15 */
    background: -moz-linear-gradient(bottom, #58504F, #423F3E);
    /* Standard syntax */
    background: linear-gradient(to bottom, #58504F, #423F3E);
    color: white;
}