/* HTML5 Boilerplate  */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}


body{
    background-color:#e7e7e7;
}

/* Page Styles */
#wrapper{
    max-width:1200px;
    min-width:320px;
    margin:0 auto;
}
#wrapper > .inner{
    padding:10px;
}
.grid-container{
	position:relative;
	margin:0 auto;
    padding:0;
	padding-bottom: 10px;
}

.filters-wrap{
    padding:10px;
}
.filters-wrap ul{
    text-align:right;
    padding:0;
    margin:0;
}
.filters-wrap ul li{
    list-style:none;
    display:inline-block;
    margin:0;
    padding:.5em .8em;
    
    text-align:center;
    color:#fff;
    background:#a2a2a2;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#a2a2a2), to(#b8b8b8));
    background-image: -webkit-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: -moz-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: -ms-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: -o-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: linear-gradient(top, #a2a2a2, #b8b8b8);
    
    cursor:pointer;
}

.filters-wrap ul li:hover,
.filters-wrap ul li.active{
    background:#5d98cb;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#5d98cb), to(#5f8bc3));
    background-image: -webkit-linear-gradient(top, #5d98cb, #5f8bc3);
    background-image: -moz-linear-gradient(top, #5d98cb, #5f8bc3);
    background-image: -ms-linear-gradient(top, #5d98cb, #5f8bc3);
    background-image: -o-linear-gradient(top, #5d98cb, #5f8bc3);
    background-image: linear-gradient(top, #5d98cb, #5f8bc3);
    
    cursor:pointer;
}

/* Grid (blocksit styles) */
.grid-block{
	
    opacity:1;
    list-style:none;
	box-shadow: 0 1px 3px rgba(34,25,25,0.4);
	-moz-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
	-webkit-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
	
	-webkit-transition: top 1s ease, left 1s ease;
	-moz-transition: top 1s ease, left 1s ease;
	-o-transition: top 1s ease, left 1s ease;
	-ms-transition: top 1s ease, left 1s ease;
    
    z-index:1;
    
}
.grid-block:hover{
    opacity:1;
}
.grid-block.feature{
    min-height:300px;
}

/* inner stuff */
.grid-block .inner{
    position:relative;
    background-color:#dfdfdf;
    border: 1px solid #b6b6b6;
    color:#8d8d8d;
    
        -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -o-perspective: 1000px;
    perspective: 1000px;
}

.grid-block h3{
    background-color:#f1f1f1;
    color:#4a4a4a;
    font-weight:normal;
    font-size:13px;
    position:absolute;
    z-index:5;
    top:0;
    width:100%;
    margin:0;
    height:50px;
}
.grid-block .news-wrap h3{
    background-color:#000;
    color:#fff;
    opacity:.8;
    
    
  -webkit-transition: opacity 0.3s ease-in-out; 
     -moz-transition: opacity 0.3s ease-in-out; 
       -o-transition: opacity 0.3s ease-in-out; 
          transition: opacity 0.3s ease-in-out; 
}
.grid-block:hover .news-wrap h3{
    opacity:1;
}
.grid-block h3 .title{
    display:block;
    padding:.5em .8em;
    font-size: 16px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 80px;
}
.grid-block .date{
    position: absolute;
    z-index:10;
    opacity:.8;
    right: 10px;
    top: 10px;
    height:30px;
    padding-left:8px;
    padding-right:8px;
    line-height:30px;
    text-align:center;
    color:#fff;
    background:#a2a2a2;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#a2a2a2), to(#b8b8b8));
    background-image: -webkit-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: -moz-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: -ms-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: -o-linear-gradient(top, #a2a2a2, #b8b8b8);
    background-image: linear-gradient(top, #a2a2a2, #b8b8b8);
    
    
  -webkit-border-radius: 3px;
          border-radius: 3px;
  -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
    
  -webkit-box-shadow: inset 0px 0px 5px 0px #777;
          box-shadow: inset 0px 0px 5px 0px #777;

}

.grid-block .news-wrap .date{
    background:#000;
    background-image: none;
  -webkit-box-shadow: inset 0px 0px 5px 0px #111;
          box-shadow: inset 0px 0px 5px 0px #111;

}
.grid-block .overlay{
    position:absolute;
    z-index:3;
    width:100%;
    height:100%;
    background-color:#333;
    opacity:.05;
    top:50px;
    
    
  -webkit-transition: opacity 0.3s ease-in-out; 
     -moz-transition: opacity 0.3s ease-in-out; 
       -o-transition: opacity 0.3s ease-in-out; 
          transition: opacity 0.3s ease-in-out; 
}
.grid-block:hover .overlay{
    opacity:.6;
}
.grid-block  .alert-wrap .overlay{
    display:none;
}
.grid-block .img-wrap{
    
}
.grid-block .img-wrap img{
    width:100%;
}

.grid-block .img-wrap-clone{
    position: absolute;
    width: 100%;
    left: 0;
    height: 50px;
    bottom: 0px;
    overflow:hidden;
    z-index:20;

      -webkit-transition: all 0.3s ease-in-out; 
     -moz-transition: all 0.3s ease-in-out; 
       -o-transition: all 0.3s ease-in-out; 
          transition: all 0.3s ease-in-out; 

   -webkit-transform-style: preserve-3d;
     -moz-transform-style: preserve-3d;
      -ms-transform-style: preserve-3d;
          transform-style: preserve-3d;
          
        transform-origin:center top;
    -ms-transform-origin:center top;
-webkit-transform-origin:center top;
   -moz-transform-origin:center top;
     -o-transform-origin:center top;

}
.grid-block:hover .img-wrap-clone{
  -webkit-transform: rotateX(70deg); 
     -moz-transform: rotateX(70deg);
      -ms-transform: rotateX(70deg);
          transform: rotateX(70deg);
    border-top:1px solid #555;
    
  -webkit-box-shadow: inset 0px -10px 40px 10px #000, 5px 10px 40px 0px #000;
          box-shadow:  inset 0px -10px 40px 10px #000, 5px 10px 40px 0px #000;

}
.grid-block .img-wrap-clone img{
    position: absolute;
    width: 100%;
    left: 0;
    bottom:0;
}

.grid-block .social-wrap{
    position: absolute;
    width: 100%;
    left: 0;
    height: 50px;
    bottom: 0;
    overflow:hidden;
    z-index:15;    
    background-color:#e0e0e0;
}

.grid-block .details-wrap{
    padding:.5em .8em;
    padding-top:55px;
}
.grid-block .news-wrap .details-wrap{
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    z-index:12;
    color:#f0f0f0;
    font-size:15px;
    font-weight:bold;
}

/*# Media Queries/1: 480px  #*/
@media only screen and (min-width: 30em) {

}

/*# Media Queries/2: 768px  #*/
@media only screen and (min-width: 48em) {
    #wrapper > .inner{
        padding-left:50px;
        padding-right:50px;
        
    }
    
}

/*# Media Queries/3: 960px #*/
@media only screen and (min-width: 60em) {

}