/* --------------------------------------------------------------------------------------
+
+   AUTHOR: ThemeStreet.Net
+
-------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------
+
+ BASIC STYLES
+
-------------------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

/* --------------------------------------------------------------------------------------
+
+ VARIABLES
+
-------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------
+
+ MIXINS
+
-------------------------------------------------------------------------------------- */
/* Borders */
/* hover opacity */
/* hover color */
/* TRIANGLES */
/* LINE-HIGH */
/* BOX SIZING */
/* HIDE TEXT*/
             /* SPRITES
$icon-spacing: 10px;
$icon-layout: horizontal; //vertical is default, smart(third option)
@import "icon/_.png";
@include all-icon-sprites(true);
 */
body {
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: black;
}
body #preloader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999999999;
  background: url("http://view.jqueryfuns.com/2015/3/12/08723c3250e34ce6401b3a95b03f687a/images/ajax_loader_gray_64.gif") 50% 50% no-repeat white;
}
body * {
  -webkit-backface-visibility: hidden;
  /* Chrome and Safari */
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1;
  font-family: "Roboto", sans-serif;
  color: white;
}

h1 {
  font-size: 24px;
  text-align: center;
  font-weight: 300;
  margin-bottom: 40px;
}

h2 {
  font-size: 24px;
}

a {
  outline: none;
  /* removing outline in Mozilla */
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-decoration: none;
  color: white;
}
a:active {
  background-color: transparent;
}
a:hover {
  color: white;
}

p {
  margin-bottom: 20px;
  clear: both;
}

img {
  vertical-align: top;
}

table {
  width: 100%;
}

strong {
  font-weight: bold;
}

.clearfix {
  *zoom: 1;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

::-moz-selection {
  background: black;
  color: white;
  text-shadow: none;
}

::selection {
  background: black;
  color: white;
  text-shadow: none;
}

.hide {
  display: none !important;
}

button:hover,
input[type="submit"]:hover,
label {
  cursor: pointer;
}

textarea {
  margin: 0;
  /* removing margin in Mozilla */
  overflow: auto;
  /* for IE and older browsers */
}

/* align checkboxes, radios, text inputs with their label */
input[type="radio"] {
  vertical-align: text-bottom;
}

input[type="checkbox"] {
  vertical-align: bottom;
  *vertical-align: baseline;
}

input:focus,
textarea:focus,
button:focus {
  outline: none;
}

button::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------------------
+
+ LAYOUT
+
-------------------------------------------------------------------------------------- */
html, body {
  height: 100%;
  background-color: #fff;
}

.layout {
  clear: both;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin-bottom: -auto;
}
.layout .layout_footer {
  height: auto;
}

footer {
  clear: both;
  position: relative;
  height: auto;
}

.container {
  margin: 0 auto;
  width: 950px;
  min-width: 950px;
}

.left {
  float: left;
}

.right {
  float: right;
}

/* --------------------------------------------------------------------------------------
+
+ CONTENT
+
-------------------------------------------------------------------------------------- */
.content {
  padding-top: 50px;
  text-align: center;
}

h1 {
  color: #000;
}

section {
  width: 310px;
  margin:0 10px 20px;
  height: auto;
  background-color: white;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
section >img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
}
section.slider {
  background: url('http://view.jqueryfuns.com/2015/3/12/08723c3250e34ce6401b3a95b03f687a/images/funfun_bcg.jpg') no-repeat 50% 50%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -ms-behavior: url(http://view.jqueryfuns.com/2015/3/12/08723c3250e34ce6401b3a95b03f687a/js/backgroundsize.htc);
}
section.video {
  background: url('http://view.jqueryfuns.com/2015/3/12/08723c3250e34ce6401b3a95b03f687a/images/funfun_video_bcg.jpg') no-repeat 50% 50%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -ms-behavior: url(http://view.jqueryfuns.com/2015/3/12/08723c3250e34ce6401b3a95b03f687a/js/backgroundsize.htc);
}
section a .text {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  bottom: -195px;
}
section a:hover .text {
  bottom: 0;
}
section a .text h2{
  margin-top: 10px;
}
section a img {
  width: 100%;
}
section a {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  overflow: hidden;
}
/*section .text {
  z-index: 10;
  width: 100%;
  display: block;
  top: 10px;
  position: absolute;
  left: 0;
  text-align: center;
}*/
section .text img {
  margin-bottom: 20px;
}

@media (max-width: 380px){
  section { margin: 0 0 20px;}

}
