@charset "iso-8859-1";

/* grid */
#grid { padding: 0 0 0 50px; }
#grid li { 
    display: inline-block;
   
    width: 30%;
    width: calc(calc(100% / 3) - 50px);
    margin: 0 0 40px 30px;
    
    vertical-align: middle;
	line-height: 2em;	
}
#grid img { 
    display: block;
    
    position: relative;
    width: 100%;

    -webkit-transition: all 1.5s; transition: all 1.5s; 
}
#grid img:hover { opacity: .2; filter:alpha(opacity=20); }
#grid p { 
    display: inline;
    position: absolute;
    max-width: 10em;
    margin: 1em;
    
    color: #fff;
    font-size: 14pt;
    line-height: 2em;	
}

/* filter switch */
#switchbg {
    z-index: 200;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 160px;
    height: 57px;

    background: #00dbf5;
    background-image: -webkit-linear-gradient(to right, #0ff, #00b7eb 60%);
    background-image: -webkit-linear-gradient(left, #0ff, #00b7eb 60%);
    background-image: linear-gradient(to right, #0ff, #00b7eb 60%);
}

#switch {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 148px;
    height: 53px;
    padding: 0 4px;
  
    background: #fff;
}

#switch label {
    display: inline-block;
    width: 45px;
    height: 45px;
    
    position: fixed;
  
    background: #fff;
    -webkit-transition: all 1s;
    transition: all 1s;
    
    color: #fff;
    font-size: 8pt;
    letter-spacing: 1pt;
    line-height: 45px;
    text-align: center;
  
    cursor: pointer;
}

#switch label:hover:before {
    display: inline-block; 
  
    width: 45px; 
    height: 45px; 
    position: absolute; 
    margin: 0 -23px ;
  
    content: attr(data); 
}

#digital + label { right: 129px; bottom: 26px; }
#all + label { right: 78px; bottom: 26px; }
#print + label { right: 27px; bottom: 26px; }


#digital + label:hover { background: #0ff; }
#all + label:hover { background: #00dbf5; 
    background-image: -webkit-linear-gradient(to right, #0ff, #00b7eb 60%);
    background-image: -webkit-linear-gradient(left, #0ff, #00b7eb 60%);
    background-image: linear-gradient(to right, #0ff, #00b7eb 60%);
}
#print + label:hover { background: #00b7eb; }

#digital:checked ~ #slider {
    left: 4px;
    
    background: #0ff;
}
#all:checked ~ #slider {
    left: 55px;
    
    background: #00dbf5;
    background-image: -webkit-linear-gradient(to right, #0ff, #00b7eb 60%);
    background-image: -webkit-linear-gradient(left, #0ff, #00b7eb 60%);
    background-image: linear-gradient(to right, #0ff, #00b7eb 60%);
}
#print:checked ~ #slider {
    left: 106px;
    
    background: #00b7eb;
}

#slider {
    width: 45px;
    height: 45px;
    position: absolute;
    top: 4px;
  
    -webkit-transition: all .4s ease;
  
    transition: all .4s ease;
}

#slider p { 
    color: #fff;
    font-size: 8pt;
    letter-spacing: 1pt;
    line-height: 22px;
    text-align: center;
}

/* media queries */
@media (max-width: 600px) {
    #grid li { width: 95%; width: calc(100% - 50px); }
    #grid p { font-size: 12pt; }
}
@media (min-width: 600px) and (max-width: 1000px) {
    #grid li { width: 45%; width: calc(calc(100% / 2) - 50px); }
}
@media (min-width: 1000px) {
    #grid li { width: 30%; width: calc(calc(100% / 3) - 50px); }
    #grid p { font-size: 18pt; }
}