/*@import 'base/variables'
@import 'base/mixins'

@import 'base/base'
@import 'base/reset'*/
/*@import 'base/variables'
@import 'base/mixins'
*/
/*@import 'base/base'*/
/* @group Reset */
/* line 15, D:/ferenc4/POLARCREST/development/website/polarcrest/scss/layout/_header.scss */
/* line 19, ../scss/layout/_header.scss */
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, 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: inherit;
  vertical-align: baseline;
  font-family: sans-serif, "Lucida Grande", "Helvetica Neue", Arial, Helvetica;
  line-height:1.6em;
}

b, u, i, strong {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-family: sans-serif, "Lucida Grande", "Helvetica Neue", Arial, Helvetica;
  line-height:1em;
}

html, body, li {
  overflow-x:hidden;
}

/* HTML5 display-role reset for older browsers */
article, main, aside, details, figcaption,
footer, menu, section, h1, iframe {
  padding: 10px;
  display:block;
}

html, body {
  min-height: 100%;
  text-align:center;
}

ol, ul {
  list-style: none;
}

footer {
  background:#333/*242424*/;
  color:#bbb;
  text-align:center;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

article h1:first-child ,
section h1:first-child{
  font-size:2em;
  margin: 2.5em 0 0 0;
  line-height:1.4em;
}

#services h1 {
  margin:3.5em 0 0 0;
}

/* @end */

body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-text-size-adjust: none;
  -moz-font-smoothing: antialiased;
  -ms-tap-highlight-color: rgba(0, 0, 0, 0);
  -ms-text-size-adjust: none;
  -ms-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  outline: none;
}

#ic_icon {
  background:#7676bc;
}

#mcs_icon {
  background:#bbce63;
}

#bpd_icon {
  background:#fcae6e;
}

#wdd_icon {
  background:#e75548;
}

.service {
  /*background:grey;*/
  width: 25%;
  height:240px;
  padding:0;
  margin:5em auto 0 auto;
  line-height:180px;
}

.service h2 {
  font-size:1.2em;
  line-height:1.3em;
}

.service section {
  /*min-height:65px;*/
  max-width:100%;
  padding:0;
  margin:0 auto 0 auto;
}

.service_top {
  height:180px;
  width:100%;
  /*background:orange;*/
  line-height:180px;
}

.service_icon {
  height: calc(90% - (2 * (40px) + 5px));
  border-radius:/*35px*/30%;
  padding:30px;
  transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out; /* Firefox 4 */
  -webkit-transition: 0.5s ease-in-out; /* Safari and Chrome */
  -o-transition: 0.5s ease-in-out; /* Opera */
  display:inline-block;
  vertical-align:middle;
  max-width:39%;
  max-height:44%;
}

.service:hover .service_icon {
  height: calc(90% - (2 * (40px) + 25px));
  border-radius:33.5%;
  border:15px solid #444;
}

/*Fallback instead of .service:hover .service_icon */
.service_icon:hover {
  height: calc(90% - (2 * (40px) + 25px));
  border-radius:33.5%;
  border:15px solid #444;
}

.content > article > div, .content > article > section {
  max-width:950px;
  margin:0 auto 30px auto;
  /*background:yellow;*/
}

.content > article {
  box-sizing:border-box;
  background:#333;
  color:#fff;
  min-height:700px;
}

iframe.map {
  height:700px;
  width:100%;
  margin:0;
  padding:0;
}

.overlay {
  background:transparent; 
  position:relative; 
  width:100%;
  height:700px; /* your iframe height */
  top:700px;  /* your iframe height */
  margin-top:-700px;  /* your iframe height */
}

.content > .parallax {
  color:#fff;
  padding: 100px 0 100px 0;
  height: 600px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#parallax-1 {
  background-image: url(../images/1.jpg);
}

#parallax-2 {
  background-image: url(../images/2.jpg);
}

.content > .white {
  background:#fff;
  color:#333;
}

.white {
  text-align:left;
  background:#fff;
  color:#333;
  padding: 0;
  margin:0;
  font-size:1;
  line-height:1.3em;
}

.ghost {
  display:inline-block;
  /* text styles */
  font-size:1.5em;
  line-height:1.3em;
  color:#fff;
  /* modify text */
  text-decoration:none;
  text-transform:uppercase;
  /* add a border */
  border:0.15em solid #fff;
  border-radius:5px;
  padding:0.4em 0.6em;
  /* animate the change */
  -webkit-transition: 200ms;
  transition: 200ms;
  margin:30px auto 30px auto;
}

.ghost:hover {
  color:rgb(40,40,40);
  /* Fallback for web browsers that don't support RGBa */
  /*background-color: rgb(255, 255, 255);
  border-color:rgb(200,200,200);*/
  /* RGBa with 0.6 opacity */
  background: #fff;
}

.pseudo-hr {
  background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJElEQVQIW2M0MjKqP3fuXCMDEmAEsdElwILoEnBBZAkUQZgEAOViERvp9snaAAAAAElFTkSuQmCC
  ) repeat;
  height:5px;
  width:calc(98%);
  margin:20px auto 20px auto;
}

.block {
  display:block;
  margin-left:0;
}

.flex {
  display: -webkit-flex;
  -webkit-flex-flow:row wrap;
  -webkit-justify-content: space-around;
  
  display:flex;
  flex-flow:row wrap;
  justify-content:space-around;
}

#aboutus .flex {
  align-items: center;
  justify-content: center;
}

.col50 {
  width:47%;
  height:100%;
  font-size:1.5em;
  line-height:1.2em;
  display:inline-block;
  margin:0;
}

.flex-top {
  align-self: flex-start;
}

#contactus .col50 {
  padding:0;
  width:49.8%;
  height:100%;
}

#contactus .ghost {
  cursor:pointer;
  display:inline-block;
  width:calc(99.4% - 0.15em);
  background:none;
  color: #3ea9f5;
  border: 0.15em solid #3ea9f5;
  border-radius:0.1em;
  margin:0.5% 0 0;
}

#contactus .ghost:hover {
  color: #fff;
  border: 0.15em solid #fff;
}

.quote {
  font-size:2.5em;
  font-family: Serif, Times New Roman;
  line-height:1.5em;
  font-style:italic;
  padding-left:60px;/*10+x*/
  width:calc(47% - 50px);/*47%-x*/
  text-align:center;
}

#map-canvas {
  max-height:500px;
  z-index:0;
  height: 100%;
  margin: 0px;
  padding: 0px;
}

textarea, input {
  /*basic input mark-up*/
  display: block;
  width: calc( 100% - 1.2em - 2 * 0.2em);
  font-size: 0.8em;
  appearance: none;
  box-shadow: none;
  border-radius: 0.1em;
  margin:0.2em;
  /*ux specific style*/
  padding: 0.6em;
  border: none;
  border-bottom: solid 0.2em #969696;
  transition: border 0.3s;
}

textarea {
  resize:vertical;
  height:calc((1.2em + 1em ) * 4 + (0.9em));
  font-size:1em;
}

textarea:focus, input:focus {
  /*basic input mark-up*/
  outline: none;
  /*ux specific style*/
  border-bottom: solid 3px #c9c9c9;
}

#catchpa_refresh {
  width:2.74em;
  height:2.74em;
  display:inline-block;
  border:0;
  padding:0;
}

#container {
  height:100%;
  overflow:visible;
  position:relative;
}

header {
  height: 60px;
  background: #333;
  top:0;
  left:0;
  right:0;
  position:fixed;
}

header > div {
  max-width:950px;
  margin:0 auto 0 auto;
  padding:0;
  text-align:left;
}

header h1 {
  padding:0;
}

#logo {
  display:inline-block;
  width:316px;
  height:50px;
  padding-top:5px;
}

nav {
  max-width: 950px;
  width:100%;
  position:fixed;
  top: 0;
  right:0;
  left:0;
  margin:0 auto;
}

nav ul {
  width: 25%;
  table-layout: fixed;
  display: table;
  float:right;
  margin-right:15px;
}

nav li {
  display: table-cell;
}

nav li a {
  font-size: 14px;
  color: #bbb;
  font-weight: 600;
  display: block;
  line-height:60px;
}

nav li a:hover {
  color: #fff;
}

a {
  color: #bbb;
}

a:hover {
  color:#fff;
}

@media only screen and (max-height: 400px) {
  header {
    position:absolute;
  }
  nav {
    position:absolute;
  }
}
@media only screen and (max-width: 900px) {
  #navToggle {
    cursor: pointer;
    padding: 10px 35px 16px 0px;
    top: 17px;
    left: 17px;
    position:absolute;
  }
  #navToggle span, #navToggle span:before, #navToggle span:after {
    cursor: pointer;
    border-radius: 0.2em;
    height: 0.3em;
    width: 2.1em;
    background:#3ea9f5;;
    content: '';
    position:absolute;
    display: block;
    content: '';
    margin:0;
  }
  #navToggle span:before {
    top: -11px;
  }
  #navToggle span:after {
    top:11px;
  }
  #navToggle span, #navToggle span:before, #navToggle span:after {
    transition: all 600ms ease-in-out;
  }
  #navToggle.open span:before, #navToggle.open span:after {
    background:#fff;
    top: 0;
    left:0;
  }
  #navToggle.open span {
    background-color: transparent;
  }
  #navToggle.open span:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }
  #navToggle.open span:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  .content > .parallax {
    background-attachment:scroll;
  }
  
  #aboutus .table {
    display:block;
  }
  
  .service {
    width: 50%;
    margin:1em auto 0 auto;
  }
  
  article h1:first-child ,
  section h1:first-child{
    font-size:2em;
    margin: 1.1em 0 0 0;
    line-height:1.4em;
  }
  
  #services h1 {
    margin:1.1em 0 0 0;
  }
  
  .content > article {
    box-sizing:border-box;
    background:#333;
    color:#fff;
    min-height:500px;
  }
  
  iframe.map {
    height:500px;
    width:100%;
    margin:0;
    padding:0;
  }

  .overlay {
    background:transparent; 
    position:relative; 
    width:100%;
    height:500px; /* your iframe height */
    top:500px;  /* your iframe height */
    margin-top:-500px;  /* your iframe height */
  }
  
  .col50 {
    width:90%;
  }
  #contactus .col50 {
    padding:0;
    margin:0;
    width:100%;
    height:100%;
    display:inline;
  }
  
  .quote {
    font-size:1.7em;
    line-height:1.3em;
    padding-left:10px;
    width:80%;
    margin-top:40px;
  }
  
  #contactus .flex {
    display:block;
    padding:0;
    margin:0;
  }
  
  input,textarea {
    margin-top:0.2em;
    display:block;
  }
  
  #contactus li {
    display:inline;
  }
  
  textarea {
    height:calc((1.2em + 1em ) * 4 + (0.8em));
  }
  
  header {
    z-index: 2;
    /* starting point */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  header > div {
    text-align:center;
  }

  #logo {
    padding-top:5px;
  }

  .burger {
    display: block;
  }

  nav {
    position: relative;
    margin:0 auto;
    min-width: 100%;
  }

  nav ul {
    height: 100%;
    width:100%;
    overflow-y: auto;
    text-indent:1em;
  }

  nav li {
    display: block;
    float: none;
    text-align:left;
  }

  nav li a {
    padding: 21px 25px;
    letter-spacing: 1px;
    line-height:18px;
  }

  nav li a:hover {
    color: #fff;
    /*background:#333;*/
    background: #444;
  }

  /* NAVIGATION ANNIMATION */
  nav {
    width: 100%;
    float:left; 
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    /*background: #444;*/
    background: #fff;
    /* starting point */
    opacity: 0;
    -webkit-transform: translate3d(5%, 0, 0) scale(0.97);
    -moz-transform: translate3d(5%, 0, 0) scale(0.97);
    transform: translate3d(5%, 0, 0) scale(0.97);
  }

  /*Nav Expanding Open Effect*/
  nav.open {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    -webkit-animation: slideIn .35s ease-in-out;
    -moz-transform: translate3d(0, 0, 0) scale(1);
    -moz-animation: slideIn .35s ease-in-out;
    transform: translate3d(0, 0, 0) scale(1);
    animation: slideIn .35s ease-in-out;
  }

  @-webkit-keyframes slideIn {
    0% {
      opacity: 0;
      -webkit-transform: translate3d(5%, 0, 0) scale(0.97);
    }

    100% {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0) scale(1);
    }
  }

  @-moz-keyframes slideIn {
    0% {
      opacity: 0;
      -moz-transform: translate3d(5%, 0, 0) scale(0.97);
    }

    100% {
      opacity: 1;
      -moz-transform: translate3d(0, 0, 0) scale(1);
    }
  }

  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translate3d(5%, 0, 0) scale(0.97);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  nav.close {
    opacity: 0;
    -webkit-transform: translate3d(5%, 0, 0) scale(0.97);
    -webkit-animation: slideOut .3s ease-in-out;
    -moz-transform: translate3d(5%, 0, 0) scale(0.97);
    -moz-animation: slideOut .3s ease-in-out;
    transform: translate3d(5%, 0, 0) scale(0.97);
    animation: slideOut .3s ease-in-out;
  }

  @-webkit-keyframes slideOut {
    0% {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
      opacity: 0;
      -webkit-transform: translate3d(5%, 0, 0) scale(0.97);
    }
  }

  @-moz-keyframes slideOut {
    0% {
      opacity: 1;
      -moz-transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
      opacity: 0;
      -moz-transform: translate3d(5%, 0, 0) scale(0.97);
    }
  }

  @keyframes slideOut {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
      opacity: 0;
      transform: translate3d(5%, 0, 0) scale(0.97);
    }
  }

  /* CONTENT ANNIMATION */
  .content {
    /* starting point */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    background: #fff;
    z-index: 1;
  }

  /*Content Sliding Open Effect*/
  header.open,
  .content.open {
    -webkit-transform: translate3d(240px, 0, 0);
    -webkit-animation: open .5s ease-in-out;
    -moz-transform: translate3d(240px, 0, 0);
    -moz-animation: open .5s ease-in-out;
    transform: translate3d(240px, 0, 0);
    animation: open .5s ease-in-out;
  }

  @-webkit-keyframes open {
    0% {
      -webkit-transform: translate3d(0, 0, 0);
    }

    70% {
      -webkit-transform: translate3d(260px, 0, 0);
    }

    100% {
      -webkit-transform: translate3d(240px, 0, 0);
    }
  }

  @-moz-keyframes open {
    0% {
      -moz-transform: translate3d(0, 0, 0);
    }

    70% {
      -moz-transform: translate3d(260px, 0, 0);
    }

    100% {
      -moz-transform: translate3d(240px, 0, 0);
    }
  }

  @keyframes open {
    0% {
      transform: translate3d(0, 0, 0);
    }

    70% {
      transform: translate3d(260px, 0, 0);
    }

    100% {
      transform: translate3d(240px, 0, 0);
    }
  }

  /*Content Sliding Closed Effect*/
  header.close,
  .content.close {
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-animation: close .4s ease-in-out;
    -moz-transform: translate3d(0, 0, 0);
    -moz-animation: close .4s ease-in-out;
    transform: translate3d(0, 0, 0);
    animation: close .4s ease-in-out;
  }

  @-webkit-keyframes close {
    0% {
      -webkit-transform: translate3d(240px, 0, 0);
    }

    100% {
      -webkit-transform: translate3d(0, 0, 0);
    }
  }

  @-moz-keyframes close {
    0% {
      -moz-transform: translate3d(240px, 0, 0);
    }

    100% {
      -moz-transform: translate3d(0, 0, 0);
    }
  }

  @keyframes close {
    0% {
      transform: translate3d(240px, 0, 0);
    }

    100% {
      transform: translate3d(0, 0, 0);
    }
  }
}
@media only screen and (max-width: 500px) {
  .service {
    width: 100%;
  }
  
  .service_top {
    height:180px;
    width:100%;
    /*background:orange;*/
    line-height:180px;
  }

  #logo-cropper {
    width:230px;
    overflow:hidden;
    display:inline-block;
    float:right;
    margin-right:17px;
  }
  
  #logo {
    float:right;
  }
}