/*
Theme: Dragonfly City
Version: 1
Author: Oet Capital
24 de Octubre
*/
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,
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; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block; }
ol, ul {list-style: none; }
#s{ display: none; }
.trans {-webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -ms-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; transition: all 0.5s ease-out; }
.flexBox{ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; }


body{
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background: #000;
  width: 100vw;
}


#static{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('background.jpg');
  background-position: 0px 0px;
  background-repeat: repeat-x;
  background-size: cover;
  z-index: 2;
  -webkit-animation: animatedBackground 20s linear infinite;
  -moz-animation: animatedBackground 20s linear infinite;
  -ms-animation: animatedBackground 20s linear infinite;
  -o-animation: animatedBackground 20s linear infinite;
  animation: animatedBackground 20s linear infinite;
}
#static>div{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
}
nav{
  position: fixed;
  top: 10px;
  left: 2vw;
  width: 96vw;
  height: 60px;
  z-index: 5;
  text-align: right;
}
nav>p{
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 37px;
  height: 15px;
  display: block;
  font-size: 0.7rem;
  line-height: 15px;
  text-align: center;
}
nav>#login{
  position: absolute;
  right: 0;
  top:0;
  display: block;
  width: 32px;
  height: 32px;
}
nav>#login>svg{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
.userFill{
  fill:#FFFFFF;
  opacity: 0.2;
}
.userStroke{
  fill:none;
  stroke:#FFF;
  stroke-miterlimit:10;
  stroke-width:8px;
}
#headUser{
  stroke-dasharray: 271.9611511230469;
  stroke-dashoffset: 271.9611511230469;
}
#bodyUser{
  stroke-dasharray: 367.515380859375;
  stroke-dashoffset: 367.515380859375;
}
nav>a:hover>svg>#headUser{
  stroke-dashoffset: 0;
}
nav>a:hover>svg>#bodyUser{
  stroke-dashoffset: -367.515380859375;
}
/* Main */
#main{
  position: absolute;
  width: 100vw;
  z-index: 4;
}
#main>#home{
  width: 100vw;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}
#main>#home>div{
  text-align: center;
  width: 80%;
  min-width: 280px;
  max-width: 580px;
}
#main>#home>div>a{
  position: relative;
  margin: 20px auto;
  display: block;
  width: 100%;
  height: 40px;
}
#main>#home>div>a>svg{
  position: absolute;
  left: 0;
  top: 0;
  width: 280px;
}
#main>#home>div>a>p{
  font-size: 1.2rem;
  position: absolute;
  color: #fff;
  text-transform: uppercase;
  display: block;
  width: 280px;
  height: 20px;
  top: calc(50% - 10px);
  left: calc(50% - 140px);
  text-align: center;
  line-height: 1.3;
}
#btnBorde{
  fill:none;
  stroke:#fff;
  stroke-width:2;
  stroke-miterlimit:10;
  stroke-dasharray: 431.5;
  stroke-dashoffset: 431.5;
}
#btnFill{
  fill:#FFFFFF;
  opacity: 0.3;
}
/* HOVER */
#main>#home>div>a:hover>svg>#btnBorde{
  stroke-dashoffset: 0;
}
#main>#home>div>a:hover>svg>#btnFill{
  opacity: 0;
}
#main>#home>div>p{
  font-size: 1.5rem;
  display: block;
  margin: 15px auto;
  /* border: 1px solid red; */
}
#main>#modules{
  width: 100vw;
  height: auto;
  padding-bottom: 100px;
}
#main>#modules>ul{
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}
#main>#modules>ul>li{
  width: 90%;
  margin: 10px auto;
}
#main>#modules>ul>li>h2{
  font-size: 1.5rem;
}
#main>#modules>ul>li>p{
  font-weight: 300;
}
footer{
  letter-spacing: 1px;
  bottom: 100px;  /* 0*/
  left: 10px;
  font-size: 0.9rem;
  position: fixed;
  width: calc(100vw - 20px);
  height: 30px;
  z-index: 5;
  font-weight: 300;
  color:#fff;
  text-align: center; /* right*/
}
/* LOGIN */
.logback{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#goback{
  position: absolute;
  top: 10px;
  left: 10px;
}
#goback>a{
  color: #fff;
}
#loginClient{
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);

}
#loginClient>h2{
  font-size: 2rem;
  text-align: center;
  margin: 100px auto 10px auto;
}
#loginClient>#logow{
  width: 100%;
  height: auto;
  text-align: center;
  margin: 10px auto 30px auto;
}
#loginClient>#form{
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}
#loginClient>#form>p{
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 10px auto;
}
#loginClient>#form>input{
  width: 180px;
  line-height: 30px;
  height: 30px;
  border: 0;
  border-bottom: 1px solid #fff;
}
#loginClient>#form>a{
  cursor: pointer;
  text-align: center;
  width: 180px;
  line-height: 30px;
  height: 30px;
  color: #fff;
  background: none;
  border: 2px solid #fff;
  margin: 30px auto 20px auto;
}
#loginClient>#form>a:hover{
  background: rgba(255,255,255,0.3);
}
#loginClient>a{
  display: block;
  width: 100vw;
  text-align: center;
  color: #fff;
}
#wrong{
  position: absolute;
  top: -40px;
  left: 0;
  width: 100vw;
  height: 30px;
  line-height: 30px;
  background: #b30000;
  color: #fff;
  text-align: center;
  cursor: pointer;
}
#wrong>p>span{}
/* DESKTOP */
@media (min-width: 960px){
  #main>#home>div>a{
    width: 280px;
    height: 60px;
  }
  #main>#modules>ul{
    height: 100%;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content:space-around;
    -moz-justify-content:space-around;
    -ms-justify-content:space-around;
    -o-justify-content:space-around;
    justify-content:space-around;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
  }
  #main>#modules>ul>li{
    width: 225px;
    height: 50vh;
    min-height: 200px;
  }
  #main>#modules{
    padding-bottom: 150px;
  }
}

/* @-webkit-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}
@-moz-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}
@-ms-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}
@-o-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
} */
@keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 100%; }
}

#gallery {
   line-height:0;
   -webkit-column-count:7; /* split it into 5 columns */
   -webkit-column-gap:5px; /* give it a 5px gap between columns */
   -moz-column-count:7;
   -moz-column-gap:5px;
   column-count:7;
   column-gap:5px;
}

#gallery img {
   width: 100% !important;
   height: auto !important;
   margin-bottom:5px; /* to match column gap */
}

@media (max-width: 1200px) {
   #gallery {
    -moz-column-count:    4;
    -webkit-column-count: 4;
    column-count:         4;
   }
}

@media (max-width: 1000px) {
   #gallery {
    -moz-column-count:    3;
    -webkit-column-count: 3;
    column-count:         3;
   }
}

@media (max-width: 800px) {
   #gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
   }
}

@media (max-width: 400px) {
   #gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
   }
}

.iframe-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  /*padding-top: 100%;*/ /* 1:1 Aspect Ratio */
}
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}
