/* Reset */

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a{
  text-decoration: none;
}


/* General */

body{
  font-family: 'Lato', sans-serif;
  line-height: 1.3;
  font-size: 20px;
}

h1{
  display: none;
}
h2{
  font-size: 38px;
  font-weight: 300;
  margin-bottom: 35px;
  text-transform: uppercase;
}
h3{
  font-size: 24px;
  font-weight: bold;
}
.small{
  font-size: 16px;
}

a{
  color: #000;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a:hover{
  color: #86c6b8;
}

main{
	height: 100vh;
	display: table;
	width: 1170px;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}
main section{
  display: table-cell;
  left: 0;
	right: 0;
  top: 0;
	bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
	vertical-align: middle;
}
main aside{
  width: calc(100% - 500px);
  float: left;
  text-align: right;
}


/* Content */

main section .contact{
  margin-bottom: 25px;
}

main section {
  text-align: center;
}

footer{
  clear: both;
}
footer p{
  margin-bottom: 35px;
}
footer .social a{
  margin-left: 20px;
}

h2 {
  color: #76807D;
  font-family: 'lato', sans-serif;
  font-size: 30px;
}

.logo {
  text-align: center;
  padding-bottom: 20px;
}

.logo img {
  width: 400px;
  height: auto;
}

.social a:first-child {
  margin-left: 0;
}

/* Tablet */

@media only screen and (max-width: 1199px) {

  main aside{
    width: calc(100% - 320px);
  }
  main{
    width: 994px;
  }
  main figure img{
    width: 300px;
    height: auto;
  }

}

@media only screen and (max-width: 1023px) {

  main{
    height: auto;
		width: calc(100% - 30px);
  }
  main aside{
    width: 100%;
    text-align: center;
  }
  main section{

    position: relative;
    padding: 50px 0;
    min-height: calc(100vh - 100px);
  }
  main figure{
    text-align: center;
    float: none;
    margin-bottom: 25px;
  }
  #counter{
    width: 455px;
    float: none;
    margin: 0 auto 35px;
  }
	footer .social a{
    margin: 0 10px;
  }

}

@media only screen and (max-width: 559px) {

  body{
    font-size: 16px;
  }
  h2{
    font-size: 24px;
  }
  h3{
    font-size: 18px;
  }
  .small{
    font-size: 14px;
  }
  main section{
    padding: 35px 0;
    min-height: calc(100vh - 70px);
  }
  main figure img{
    width: 220px;
  }

}

@media only screen and (max-width: 464px) {

  .flip-clock-wrapper ul li a div div.inn{
    font-size: 28px;
  }
  .flip-clock-wrapper ul li{
    line-height: 45px;
  }
  .flip-clock-wrapper ul{
    width: 30px;
    height: 45px;
    margin: 4px;
  }
  .flip-clock-dot{
    width: 5px;
    height: 5px;
  }
  .flip-clock-dot.top{
    top: 20px;
  }
  .flip-clock-dot.bottom{
    bottom: 30px;
  }
  .flip-clock-divider{
    width: 14px;
  }
  #counter{
    width: 346px;
  }

}
