/*
Theme Name: JiNAK!
Author: Radim Stolina
Author URI: http://www.radimstolina.net
*/

@-ms-viewport { width: device-width; }
@viewport { width: device-width; }
@-o-viewport { width: device-width; }
@-webkit-viewport { width: device-width; }

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
}
body {
  background-color: #e0e0e0;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 400;
  color: #606060;	
}
.clearfix:after {
  visibility: hidden;
  display: block;
  content: '';
  clear: both;
  height: 0;
}
a, a img, a:hover img, a:visited img {
	outline: none;
	border: none;
}
a img {
	-moz-transform: translate(0,0) scale(1.0);
}

/* Transitions */
a {
	transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
}

/* Animation */
.animation-element {
  filter: alpha(opacity=0);
  -webkit-opacity: 0;
	-moz-opacity: 0;
	-khtml-opacity: 0;
  opacity: 0;
}
.animation-element.animated {
  filter: alpha(opacity=100);
  -webkit-opacity: 1;
	-moz-opacity: 1;
	-khtml-opacity: 1;
  opacity: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  color: #303030;  
}
h1 {
  font-size: 72px;  
}
h2 {
  font-size: 30px;  
}
h3 {
  font-size: 24px;  
}
h4 {
  font-size: 18px;  
}
strong {
  font-weight: 700;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
.title {
  display: block;
  line-height: 90px;
  margin-left: 45px;
  font-size: 18px;
  font-weight: 700;
  color: #909090;
  text-align: left;
  position: relative;
}
.title:before {
  content: '';
  width: 25px;
  height: 2px;
  background-color: #909090;
  position: absolute;
  left: -45px;
  top: 44px;  
}
#content .grid > div a,
.popup p a {
  color: #00a895;
  border-bottom: 1px #00a895 solid;
}
#content .grid > div a:hover,
.popup p a:hover {
  border-bottom: 1px transparent solid;
}
#content .grid > div ul, #field .grid > div ul {
  margin: 20px 0;
  overflow: visible;
}
#content .grid > div ul li, #field .grid > div ul li {
  padding-left: 25px;
  line-height: 20px;
  margin: 15px 0;
  position: relative;
  overflow: hidden;  
}
#content .grid > div ul li:before, #field .grid > div ul li:before {
  content: '\f0c8';
  font-family: 'FontAwesome';
  font-size: 5px;
  color: #f27180;
  position: absolute;
  left: 0;
  top: 0; 
}
#content .grid > div ol, #field .grid > div ol {
  margin: 20px 0;
  padding-left: 18px;
}
#content .grid > div ol li, #field .grid > div ol li {
  padding-left: 15px;
  line-height: 20px;  
}

/* Layout */
header, section, footer {
  width: 100%;
}
section {
  background-color: #fff;
  padding: 90px 0;
}
.wrapper {
  padding: 0 12%;
  position: relative;
}
.centering {
  text-align: center;
}

/* Grid */
.grid > div {
  padding: 0 45px !important;
}

/* Button */
.btn {
  width: 186px;
  height: 56px;
  line-height: 50px;
  border: 2px solid;
  display: inline-block;
  margin-top: 45px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.btn:hover {
  background-color: transparent !important;
}
.btn.green {
  background-color: #00a895;
  border-color: #00a895;
}
.btn.green:hover {
  color: #00a895;
}
.btn.violet {
  background-color: #f27180;
  border-color: #f27180;
}
.btn.violet:hover {
  border-color: #f27180;
  color: #f27180;
}
.btn.green-white {
  background-color: #fff;
  border-color: #fff;
  color: #00a895;
}
.btn.green-white:hover {
  color: #fff;
}
.btn.violet-white {
  background-color: #fff;
  border-color: #fff;
  color: #f27180;
}
.btn.violet-white:hover {
  color: #fff;
}

/* Header */
header {
  background-color: #f27180;
  height: 90px;
  position: absolute;
  top: 0;
  z-index: 3;
}
.logo {
  margin: 32px 0;
  float: left;
}
nav {
  margin: 33px 60px 33px 0;
  float: right;
}
nav ul li {
  float: left;
  margin: 0 60px 0 0;
}
nav ul li a {
  display: block;
  line-height: 24px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}
nav li a:before {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
  transform-origin: bottom left;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}
nav li a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.social {
  position: absolute;
  right: 0;
  margin: 33px 0;
  padding-right: inherit;
}
.social a {
  line-height: 24px;
  font-size: 20px;
  color: #fff;
  margin-left: 30px;
}

/* Navicon */
#navicon {
  display: none;
  width: 24px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
#navicon:after, #navicon:before, #navicon div {
  background-color: #fff;
  -o-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  content: '';
  display: block;
  height: 2px;
  margin: 4px 0;
  -moz-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
#navicon:hover:before, #navicon:hover:after, #navicon:hover div {
  background-color: #fff;
}
#navicon.act:before {
  transform: translateY(6px) rotate(135deg);
  -moz-transform: translateY(6px) rotate(135deg);
  -webkit-transform: translateY(6px) rotate(135deg);
}
#navicon.act:after {
  transform: translateY(-6px) rotate(-135deg);
  -moz-transform: translateY(-6px) rotate(-135deg);
  -webkit-transform: translateY(-6px) rotate(-135deg);
}
#navicon.act div {
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
}

/* Front*/
#front {
  width: 100%;
  height: 100%;
  display: table;
  padding: 0 !important;
  position: relative;
}
#front .wrapper {
  display: table-cell;
  vertical-align: middle;
  text-align: center;  
}
#front h1 {
  color: #fff;
  margin: 0;
  text-shadow: 1px 1px 1px rgba(0,0,0,.4);
  font-family: 'Lautsprecher DJR', sans-serif;
  font-weight: normal;  
}
.overlay {
  position: relative;
}
.overlay:before {
  content: '';
  background-color: rgba(0,0,0,.4);
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0; 
}

/* Fields */
#field {
  padding: 0;
}
.box {
  padding: 0 45px 90px;
}
.box.intro {
  background-color: #f27180;
  position: relative;
  top: -90px;
  margin-bottom: -45px;
  color: #fff;
}
.box.intro h2, .box.intro h3, .box.intro .title {
  color: #fff;  
}
.box.intro .title:before {
  background-color: #fff;  
}
.box.actual {
  background-color: #00a895;
  margin-bottom: 0;
}
.box .grid > div {
  text-align: left;
}
.box .grid > div:nth-child(1) {
  text-align: right;
}

/* Content */
#content {
  padding: 135px 0 90px;
}

/* Team */
.grid > div.member {
  text-align: center !important;
  text-align-last: center !important;
  -moz-text-align: center !important;
  padding: 25px 45px !important;
}
.member img {
  -o-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}

/* Popup */
.popup {
	background: #fff;
  padding: 50px 70px 70px;
	text-align: left;
	max-width: 767px;
	margin: 40px auto;
	position: relative;
	color: #606060;
}
.popup h3 {
	color: #303030;
	margin-bottom: 45px;
}
.popup p strong {
	color: #f27180;
}
.popup .hvr-icon-spin:before {
  content: '\e3cd';
  font-family: 'retinaicon-font';
  right: 17px;
  top: 15px;
  -webkit-transition-duration: .6s;
  transition-duration: .6s;
}
.popup .hvr-icon-spin:hover:before, .popup .hvr-icon-spin:focus:before, .popup .hvr-icon-spin:active:before {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.popup ul {
  margin: 20px 0;
}
.popup ul li {
  padding-left: 25px;
  line-height: 20px;  
}
.popup ol {
  margin: 20px 0;
  padding-left: 18px;
}
.popup ol li {
  padding-left: 15px;
  line-height: 20px;  
}

/* Isotope */
#filter { 
  margin: 30px 40px; 
}
#filter li { 
  float: left;
  margin: 5px; 
}
#filter li a { 
  height: 45px;
  line-height: 40px;
  display: inline-block;
  color: #00a895;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px transparent solid;
  text-decoration: none; 
}
#filter li a:hover { 
  border-color: #00a895;   
}
#filter li a.selected, #filter li a.selected:hover { 
  background-color: #00a895;
  border-color: #00a895;
  color: #fff; 
}
.isotope-item { 
  z-index: 2; 
}
.isotope-hidden.isotope-item { 
  pointer-events: none; 
  z-index: 1; 
}  
.isotope, .isotope .isotope-item { 
  -webkit-transition-duration: .6s; 
  -moz-transition-duration: .6s; 
  transition-duration: .6s; 
}  
.isotope { 
  -webkit-transition-property: height, width; 
  -moz-transition-property: height, width; 
  transition-property: height, width; 
}  
.isotope .isotope-item { 
  -webkit-transition-property: -webkit-transform, opacity; 
  -moz-transition-property: -moz-transform, opacity; 
  transition-property: transform, opacity; 
}

/* Footer */
footer {
  background-color: #e0e0e0;
  padding: 90px 0;
  text-align: center;
}
.copyright {
  display: block;
  font-size: 13px;
  color: #909090;
  margin: 30px auto 0;
}
.copyright br {
  line-height: 20px;
}
.copyright a {
  color: #606060;
  text-decoration: none;
  text-transform: uppercase;
}
.copyright a:hover {
  color: #303030;
}
.scrollup {
  width: 30px;
  height: 30px;
  line-height: 24px;
  display: inline-block;
  margin: 30px auto 0;
  color: #909090;  
}
.scrollup:after {
  content: '\f077';
  font-family: 'FontAwesome';
  font-size: 20px;
}
.scrollup:hover {
  color: #606060;
}


/* Responsive styles */
@media only screen and (max-width: 1599px) {
  h1 {
    font-size: 60px;  
  }
  nav ul li {
    margin: 0 30px 0 0;
  }                 
}
@media only screen and (max-width: 1199px) {
  .wrapper {
    padding: 0 10%;
  }
  header {
    position: fixed;
  }
  #navicon {
    display: block;
    margin: 34px 100px 34px 0;
    position: absolute;
    right: 10%;
  }
  nav {
    background-color: #f27180; 
    width: 100%;
    padding: 30px 10% 45px;
    margin: 33px 0;
    position: absolute;
    top: 57px;
    right: -100%;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    opacity: 0;
    -moz-transition: opacity .6s, right .6s;
    -webkit-transition: opacity .6s, right .6s;
    -ms-transition: opacity .6s, right .6s;
    -o-transition: opacity .6s, right .6s;
    transition: opacity .6s, right .6s;
  }
  nav.mobile {
    right: 0;
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
  }
  nav ul li {
    float: none;
    display: block;
    margin: 30px 0;
  }
  nav ul li a {
    display: inline-block;
  }                   
}
@media only screen and (max-width: 991px) {
  .box .grid > div:nth-child(1) {
    text-align: left;
  }
  #content {
    padding: 90px 0;
  }
  #filter { 
    margin: 15px 40px; 
  }                 
}
@media only screen and (max-width: 767px) {
  h1 {
    font-size: 48px;  
  }                     
}
@media only screen and (max-width: 575px) {
  .box h2 {
    font-size: 24px;  
  }
  .grid > div {
    padding: 0 !important;
  }
  #filter {
    display: none;
  }                   
}
@media only screen and (max-width: 479px) {
                       
}