@import url("https://fast.fonts.net/lt/1.css?apiType=css&c=2f4b9135-1b24-4ce4-9b31-a111f4f5dea9&fontids=1475822");
    @font-face{
        font-family:"Futura LT W01 Bold";
        src:url("fonts/1475822/87f56fc1-ab05-4355-90af-9e83740663af.eot?#iefix");
        src:url("fonts/1475822/87f56fc1-ab05-4355-90af-9e83740663af.eot?#iefix") format("eot"),
            url("fonts/1475822/3cf9e1e8-63a2-497f-86ed-6b63d6de1986.woff2") format("woff2"),
            url("fonts/1475822/184895ac-545b-450b-9d3a-c0a0a7620977.woff") format("woff"),
            url("fonts/1475822/bf8628d2-1ae0-4645-ba3f-3ce62d8d907c.ttf") format("truetype");
    }

body {
  color: black;
  background-color: rgb(255, 255, 255);
  transition: background-color 1s ease;
  -webkit-transition: background-color 1s ease;
  -moz-transition: background-color 1s ease;

  margin: 0;

  font-size:  21px;
  line-height: 1.4em;

  font-family:"Futura LT W01 Bold";
  font-weight: normal;

  width: 100vw;
  padding: 0 2em;
  box-sizing: border-box;
}

:focus {
  outline: none;
}

.clear {
  clear: both;
}

h1, h2, section a.accordeon-title, #referencies li a {
  margin:   0;
  padding:  0;
  font-size: 2em;
  font-weight: normal;
  line-height: 1.2em;
}

h3{
  margin:   0;
  padding:  0;
  font-size: 2em;
  font-weight: normal;
  line-height: 1.2em;
}

h3 a, .teacher h3{
  color: white;
}

h4 {
  margin:   0;
  padding:  0.5em 0 0;
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1.2em;
}

a{
  text-decoration: none;
  color: black;
}

ul,li{
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  box-sizing: border-box;
}

nav{
  width: 100%;
  max-width: 1280px;
  box-sizing: border-box;

  margin: 0 auto;
  position: relative;

  background-color: rgb(255, 255, 255);
  margin-top: -4em;
  transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -webkit-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -moz-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;

}

nav:after{
  content:"";
  width: 0%;
  height:1px;
  background-color: black;

  position: absolute;
  bottom: 0;
}

body:not(.section-home) nav {
  margin-top: 0em;
  transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -webkit-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -moz-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
}

body:not(.section-home) nav:after{
  width: 100%;
  transition: 0.5s width 0.4s ease;
  -webkit-transition: 0.5s width 0.4s ease;
  -moz-transition: 0.5s width 0.4s ease;
}

nav h1{
  width: calc(100%/3 - 1em);
  padding: 1em 0;
  font-size: 1em;
  float: left;
}

nav ul{
  width: calc(100%/3 * 2);
  margin-left: 0;
  float: left;
}

nav li{
  list-style: none;
  display: inline-block;
  padding: 1em;
}

main {
  clear: both;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

article{
  width: calc(100%/2);
  float: left;
  box-sizing: border-box;
}

article:nth-child(odd){
  padding-right: 1em;
  clear: both;
}

article:nth-child(even){
  padding-left: 1em;
}


img.logo {
  display: inline;
  vertical-align: middle;
  box-sizing: border-box;
  height: 40px;
  padding-right: 10px;
}

#logo{
  left: calc(100%/3);
  position: relative;
  width: calc(100%/3 * 2);
}

#home p{
  width: calc(100%/3 * 2);
  position: relative;
  left: calc(100%/3);
  font-size: 2em;
  line-height: 1.2em;
  margin:1em 0;
}

section {
  clear: both;
  min-height: 100vh;
  position: relative;
  padding-top: 100px;
}

section#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
}


.show{
  opacity: 0;
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
}



form{
  width: calc(100%/3 * 2);
  left: calc(100%/3);
  position: absolute;
  top: 6.6em;
}

.wrap{
  padding-top: 1.6em;
}

.img{
  width: 100%;
  padding-bottom: 120%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 1em;
}

section li{
  border-bottom: 1px solid black;
}

section h2{
  width: 0;
  padding: 0.5em 0;
  position: sticky;
  position: -webkit-sticky;
  top: 3.6em;
  opacity:0;
  transition: opacity 0.4s;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  float: left;
}

section ul, .wrap{
  width: calc(100%/3 * 2);
  left: calc(100%/3);
  position: relative;
  float: left;
}

section a.accordeon-title, #referencies li a{
    padding: 0.5em 0 0.8em;
    display: block;
}

#training h3{
  font-size: 1.5em;
}

section#training a:hover{
  cursor:pointer;
}

.accordeon-description{
  margin-top: -1em;
  padding-bottom: 1em;
}

.ref{
  display: inline-block;
  max-width: 150px; 
  vertical-align: middle;
  margin-right: 1em; 
}

.ref img{
    width: 100%;
}

form .input-wrap{
  width: calc(100% / 2);
  float: left;
  position: relative;
}

form input{
  width: 100%;
  border: 0;
  border-bottom: 1px solid black;
  height: 60px;
  font-size: 1em;
  color: black;
  background: none;
  box-sizing: border-box;
  outline: 0;
  font-family:"Futura LT W01 Bold";
  border-radius: 0;
  padding:0;
}

form .input-wrap:nth-child(odd){
  width: calc(100%/2 - 1em);
  margin-right: 1em;
}

form .input-wrap:nth-child(even){
  width: calc(100%/2 - 1em);
  margin-left: 1em;
}

form ::placeholder{
  color: black !important;
  font-family:"Futura LT W01 Bold";

}

label {
  pointer-events: none;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  font-size: 12px;
  position: absolute;
  left: -999999px;
}

input:focus ~ label,
textarea:focus ~ label {
  margin-top:-55px;
  font-size: 10px;
}

.field{
  margin-bottom: 30px;
}

.filled ~ label {
  margin-top:-55px;
  font-size: 0.5em;
}

.textarea-wrap {
  clear: both;
  position: relative;
}

.textarea-wrap label {
  top: 50px;
  display: block;
  background-color: rgb(160,160,160);;
  width: 100%;
}

textarea {
    width: 100%;
    padding: 1em 0;
    background: none;
    border: 0;
    border-bottom: 1px solid black;
    min-height: 300px;
    color: black;
    font-size: 1em;
    font-family:"Futura LT W01 Bold";
      border-radius: 0;
}

form button{
  border: 0;
  background: none;
  padding: 1em 0;
  font-size: 1em;
  font-family:"Futura LT W01 Bold";
  cursor: pointer;
}

ul.danger{
  top: inherit;
  position: relative;
  width: 100%;
  left: 0;
}

.text-danger{  
    color: rgba(0,0,0,0.6);
    font-size: 0.5em;
    display: inline-block;
    border: 0;

    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

.section-home, .section-home nav{
  background-color: rgb(255, 255, 255);
  transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -webkit-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -moz-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
}

.section-training, .section-training nav {
  background-color: rgb(100, 200, 200);
  transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -webkit-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -moz-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
}

.training-link {
  color: rgb(100, 200, 200);
}

.section-team, .section-team nav {
  background-color: rgb(234, 127, 105);
  transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -webkit-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -moz-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
}

.section-team i {
  vertical-align: top;
}

.team-link {
  color: rgb(234, 127, 105);
}

.section-referencies, .section-referencies nav {
  background-color: rgb(230, 230, 230);
  transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -webkit-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -moz-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
}

.section-contact, .section-contact nav {
  background-color: rgb(160, 160, 160);
  transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -webkit-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
  -moz-transition: background-color 1s ease, margin 0.4s ease, height 0.4s ease;
}

.contact-link {
  color: rgb(160, 160, 160);
}

.section-home #home h2, 
.section-training #training h2,
.section-team #team h2,
.section-referencies #referencies h2,
.section-contact #contact h2{
  opacity: 1;
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
}

.section-home #home .show, 
.section-training #training .show,
.section-team #team .show,
.section-referencies #referencies .show,
.section-contact #contact .show{
  opacity: 1;
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
}

section#contact {
  min-height: 81vh;
}


.dg-content-cont--floating{
    position: absolute !important;
    top: 50% !important;
    -webkit-transform:  translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    margin-top: 0 !important;
    left: 50%;
    width: 240px !important;
    height: 310px !important;
    background: white;
    padding: 1em !important;
    border-radius: 10px;
}

.dg-main-content {
    width: 100% !important;
    position: absolute !important;
    width: 200px !important;
    max-width: 200px !important;
    margin: 0 auto !important;
    background-color: initial !important;
    font-family:"Futura LT W01 Bold";
}



.dg-content-body {
    border-bottom: 0 !important;
    padding-bottom: inherit !important;
    text-align: center;
}

.dg-content {
    font-size: 1em;
    padding:  0;
}

.dg-main-content .material-icons{
  display: none;
}

.dg-btn--ok {
    color: black !important;
    background-color: white !important;
}

.dg-backdrop{
  background-color:rgba(100, 200, 200, 0.8) !important;
}

.dg-btn {
    display: inline-block !important;
    position: relative !important;
    min-width: inherit !important;
    padding: 1em !important;
    border-radius: 100% !important;
    outline: 0 !important;
    border: 1px solid transparent !important;
    background-color: rgb(100, 200, 200) !important;
    font-family:"Futura LT W01 Bold";
    text-align: center !important;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1em;
}

.dg-pull-right{
  float: none !important;
  display: block !important;
  margin: 0 auto;
}


@media (max-width: 1340px){
  header {
    padding: 0 2em;
  }
}

@media (max-width: 1280px) {
  body{
    font-size: 18px;
  }

  section#contact{
    min-height: 84vh;
  }
}

@media (max-width: 960px){
  header{
    height: 3em;
    top: 0 !important;
    position: fixed;
    width: 100%;
  }

  #burger{
    position: absolute;
    right: 2em;
    top: 1em;
    z-index: 999;
    width: 30px;
    height: 40px;
    cursor: pointer;
  }

  .burger-line {
    width: 30px;
    height: 2px;
    background: black;
    display: block;
    position: absolute;
    top: 0.5em;
    opacity: 1;
    transition: opacity 0.4s, 0.4s transform 0.4s ease, 0.4s top 0.4s ease;
    -webkit-transition: opacity 0.4s, 0.4s transform 0.4s ease, 0.4s top 0.4s ease;
    -moz-transition: opacity 0.4s, 0.4s transform 0.4s ease, 0.4s top 0.4s ease;
  }

  .burger-line:nth-child(2){
    top: 1em;

  }

  .burger-line:nth-child(3){
    top: 1.5em;
  }

  nav.menuOn .burger-line{
    top: 1em;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
  }

  nav.menuOn .burger-line:nth-child(2){
    opacity: 0;
  }

  nav.menuOn .burger-line:nth-child(3){
    top: 1em;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
  }

  nav{
    z-index: 999;
    width: 100%;
    padding:0 2em;
    left: 0;
    position: fixed;
    overflow: hidden;
    margin-top: 0;
    height: 4.5em;
    transition: height 0.4s ease;
    -webkit-transition: height 0.4s ease;
    -moz-transition: height 0.4s ease;
  }

  body:not(.section-home) nav:after{
    width: calc(100% - 4em);
    transition: 0.5s width 0.4s ease;
    -webkit-transition: 0.5s width 0.4s ease;
    -moz-transition: 0.5s width 0.4s ease;
  }

  nav.menuOn{
    height: 100vh;
    transition: height 0.4s ease;
    -webkit-transition: height 0.4s ease;
    -moz-transition: height 0.4s ease;
  }

  nav h1 {
    float: none;
    width: 175px;
    z-index: 1;
    position: absolute;
  }

  nav h1 a {
    display: block;
  }

  nav ul{
    width: 100%;
    margin-left: 0;
    float: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

  nav.menuOn ul {
    opacity: 1;
  }

  nav li{
    text-align: center;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    float: none;
    font-size: 2em;
    padding: 0.5em;
  }

  section h2{
    width: 100%;
    position: relative;
    top: inherit;
    border-bottom: 1px solid black;
  }

  section ul, .wrap, form{
    width: 100%;
    left: inherit;
    position: relative;
    top: inherit;
  }

  #home p, #logo{
    width: 100%;
    left: inherit;
  }

  section#home {
    display: inherit;
    flex-direction: inherit;
    justify-content: inherit;
    position: relative;
  }

  section#home > #logo {
    display: none;
  }

  section#home > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
  }

}

@media (max-width: 640px){
  body{
    padding: 0 1em;
    font-size: 16px;
  }
  header, nav{
    padding: 0 1em;
  }

   body:not(.section-home) nav:after{
    width: calc(100% - 2em);
    transition: 0.5s width 0.4s ease;
    -webkit-transition: 0.5s width 0.4s ease;
    -moz-transition: 0.5s width 0.4s ease;
  }

  #burger{
    right: 1em;
  }

  article, form .input-wrap{
    width: 100% !important;
    margin: 0 !important;
  }

  article{
    padding: 0 0 1em !important;
    margin-bottom: 2em;
    border-bottom: 1px solid black;
  }

  form input{
    margin: 0 !important;
    width: 100% !important;
  }




  textarea {
    min-height: 50px;
  }

}

@media (max-width: 420px){
  #home p, h1, h2, h3, section a.accordeon-title, #referencies li a{
    font-size: 1.5em;
  }
  
  .text-danger{
    font-size: 0.7em;
  }

}

