/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
html,
button,
input,
select,
textarea {
  color: #222;
}
html {
  font-size: 1em;
  line-height: 1.4;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
img,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,
body {
  /*    width: 100%;*/
  /*    height: 100%;*/
}
body {
  /*    display: table;*/
  background: #d2d2d2;
  /*	font-family: 'Open Sans', sans-serif;*/
  font-family: 'Inter UI', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #222;
}
a,
a:visited {
  color: #d8262e;
  text-decoration: none;
}
a:hover,
a:active {
  color: #d8262e;
  text-decoration: underline;
}
.container {
  /*    display: table-cell;*/
  /*    vertical-align: middle;*/
  overflow: hidden;
}
.main {
  max-width: 600px;
  margin: 0 auto;
}
img {
  display: block;
  max-width: 100%;
  margin: 1em auto;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  text-align: center;
  color: #B42026;
}
h1 {
  font-weight: 400;
  font-size: 2.4em;
  color: #d8262e;
  margin: 1rem 0;
  line-height: 1;
}
h2 {
  text-transform: uppercase;
}
h3 {
  color: #888;
}
p {
  line-height: 1.4;
}
ol {
  list-style: decimal;
}
li {
  margin-bottom: 0.5em;
}
.program-desc {
  color: #888;
}
.uppercase {
  text-transform: uppercase;
}
.red {
  color: #d8262e;
}
.center {
  text-align: center;
}
.hidden {
  display: none;
}
.form-header {
  text-align: left;
  margin-bottom: 0;
}
.menu-link,
.menu-link:visited {
  display: inline-block;
  background-color: #d8262e;
  color: white;
  padding: 0.2em 2em;
  border-radius: 0.8em;
  transition: background-color linear 0.1s;
}
.menu-link:hover,
.menu-link:active {
  color: white;
  background-color: #B42026;
  text-decoration: none;
}
#active-link {
  pointer-events: none;
  background: #B42026;
}
.header {
  background-image: url(motomar-logo.jpg);
  width: 120%;
  width: calc(100% + 40px);
  margin-left: -20px;
  height: 85vh;
  margin-top: 20px;
  background-size: 85vh;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.8s;
}
.minimized {
  margin-top: 40px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7) inset;
  height: 18vh;
}
.shade {
  width: 100%;
  height: 15px;
  position: absolute;
  background: #d2d2d2;
}
.shade-top {
  top: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.shade-bottom {
  bottom: 0;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
}
.footer {
  color: #888;
  font-size: 0.6em;
  text-align: center;
  /* --------------------- diagnostyka ------------------------ */
  /*	height: 600px; */
  padding-top: 1em;
  padding-bottom: 4em;
}
#iframe-map {
  border: none;
  width: 100%;
  height: 460px;
  /*	margin: 1em 0;*/
}
#contactform-iframe {
  border: none;
  width: 100%;
  height: 724px;
}
.contactform {
  margin: 0;
}
textarea {
  width: 100%;
  min-height: 90px;
}
textarea,
input {
  box-sizing: border-box;
  border: 1px solid #818181;
  margin: 0;
  padding: 4px;
  font-size: 1em;
}
input {
  width: 180px;
}
form p {
  margin-bottom: 0;
}
.error {
  color: #B42026;
}
input[type=text] {
  width: 240px;
}
#sendBut {
  width: 110px;
  height: 34px;
  background: #d8262e;
  color: white;
  cursor: pointer;
}
#sendBut:hover {
  background: #B42026;
}
.confir {
  display: inline-block;
  color: white;
  background-color: #666;
  padding: 8px 12px;
  margin-top: 22px;
}
.g-recaptcha {
  margin-top: 1em;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (orientation: portrait) {
  /* - 0.85 - TODO: orientation portrait */
  .header {
    height: 80vw;
    background-size: 80vw;
  }
  .minimized {
    height: 20vw;
  }
}
@media only screen and (max-width: 640px) {
  .main {
    padding: 0 1em;
  }
  ol {
    padding-left: 24px;
  }
  #iframe-map {
    height: 360px;
  }
}
/*
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}
*/
/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}
.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}
.hidden {
  display: none !important;
  visibility: hidden;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
.invisible {
  visibility: hidden;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
