/*
 Miracle 1.0.4, 06.05.14 23:51
 © 2014, Maxim Dubrovin,  License — https://github.com/MaximDubrovin/miracle/blob/dev/LICENSE-MIT.md 
*/

/* Reset */
*, *:before, *:after {
  margin: 0;
  padding: 0; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

ol, ul {
  list-style: none; }

img {
  border: none; }

/* variables */
/* Clearfix */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table; }

.clearfix:after {
  clear: both; }

.clearfix {
  *zoom: 1; }

/* Snippet classes */
.b-abs-inner {
  /* for further element positioning inside absolute element */
  /* usage — create div with this class */
  position: relative; }

.b-thinspace_text {
  /* for spaces between numbers & etc */
  /* usage — create span with &nbsp; and with this class */
  font-size: 80%; }

.b-nowrap {
  /* usage — wrap your text in span with this class */
  white-space: nowrap; }

.b-spinner {
  /* for creating spinners */
  /* usage — create div with this class; show it when something loads */
  display: none;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  background: center no-repeat;
  background-image: url("http://spk-metallon.ru/img/spinner.gif"); }

/* BASEMENT */
html {
  /* 62.5% from 16px = 10px */
  font-size: 62.5%;
  min-height: 100%;
  height: 100%;
  -webkit-transition: font-size 0.2s ease-in-out 0s;
  transition: font-size 0.2s ease-in-out 0s; }

body {
  position: relative;
  min-height: 100%;
  height: 100%;
  color: #000;
  background: #BBD4E4;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  zoom: 1;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch; }

#b-page {
  position: relative;
  min-height: 100%;
  height: auto !important;
  height: 100%; }

#b-content {
  position: relative;
  padding-left: 27px;
  padding-right: 27px;
  padding-bottom: 250px; }

/*** TYPOGRAPHY ***/
a {
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  outline: none; }
  a:hover {
    color: darkred;
    border-bottom: 1px solid darkred;
    border-bottom: 1px solid rgba(139, 0, 0, 0.2); }

a.a_dashed {
  border-bottom: 1px dashed #000;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2); }
  a.a_dashed:hover {
    border-bottom: 1px dashed darkred;
    border-bottom: 1px dashed rgba(139, 0, 0, 0.2); }

strong, b {
  font-weight: bold; }

em {
  font-style: italic; }

sub, sup {
  font-size: 70%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.4em; }

/*** DESKTOP & TABLET ***/
h1 {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 4rem; }
  h1 a {
    border-bottom: none; }

h2 {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.1; }

#b-header {
  height: auto;
  background: #16A4B8;
  background-image: -webkit-linear-gradient(top, #19b6cc, #16a4b8);
  background-image: linear-gradient(to bottom, #19b6cc, #16a4b8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding-bottom: 2rem;
  padding-left: 3rem;
  padding-right: 2rem;
  margin-bottom: 5rem;
  overflow: hidden; }
  #b-header #b-header__logo {
    float: left;
    padding-top: 2rem;
    padding-right: 3rem;
    font-size: 4.6rem;
    font-weight: bold;
    text-shadow: 0 1px rgba(255, 255, 255, 0.8);
    line-height: 1; }
    #b-header #b-header__logo a {
      border-bottom: none; }
  #b-header #b-header__nav {
    float: right;
    margin-top: 4rem;
    line-height: 1; }
    #b-header #b-header__nav .b-header__nav-item {
      display: inline-block;
      margin-right: 2.2rem;
      font-size: 2rem;
      line-height: 1;
      padding-bottom: 1rem;
      zoom: 1;
      *display: inline; }
      #b-header #b-header__nav .b-header__nav-item a {
        border-bottom: none; }
        #b-header #b-header__nav .b-header__nav-item a:hover {
          color: darkred;
          border-bottom: 1px solid darkred;
          border-bottom: 1px solid rgba(139, 0, 0, 0.2); }
      #b-header #b-header__nav .b-header__nav-item a#b-call-me-link:hover {
        cursor: pointer; }
      #b-header #b-header__nav .b-header__nav-item a.a_dashed {
        border-bottom: 1px dashed #000;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.2); }
        #b-header #b-header__nav .b-header__nav-item a.a_dashed:hover {
          border-bottom: 1px dashed darkred;
          border-bottom: 1px dashed rgba(139, 0, 0, 0.2); }

#b-catalog .b-catalog__section {
  margin-bottom: 50px; }
  #b-catalog .b-catalog__section .b-catalog__item-wrap {
    position: relative;
    float: left;
    width: 326px;
    height: 294px;
    margin-right: 50px;
    margin-bottom: 30px; }
    #b-catalog .b-catalog__section .b-catalog__item-wrap:last-child {
      margin-right: 0; }
  #b-catalog .b-catalog__section.b-catalog__section-descr {
    margin-bottom: 50px; }
    #b-catalog .b-catalog__section.b-catalog__section-descr .b-catalog__item-wrap {
      width: 100% !important;
      height: 100% !important;
      overflow: hidden; }
    #b-catalog .b-catalog__section.b-catalog__section-descr .b-catalog__item {
      display: inline-block;
      margin-right: 3rem;
      margin-bottom: 3rem;
      background: #99C6E2 !important;
      border: #99C6E2 !important;
      border: transparent !important; }
      #b-catalog .b-catalog__section.b-catalog__section-descr .b-catalog__item .b-catalog__item-title {
        background: #99C6E2 !important;
        font-size: 3.2rem !important;
        line-height: 1.5 !important; }
      #b-catalog .b-catalog__section.b-catalog__section-descr .b-catalog__item.b-catalog__item_mouseenter .b-catalog__item-title {
        background: #99C6E2; }
    #b-catalog .b-catalog__section.b-catalog__section-descr .b-item-descr {
      display: inline-block;
      vertical-align: top;
      max-width: 60rem;
      padding-right: 3rem;
      margin-bottom: 4rem;
      font-size: 2rem; }
      #b-catalog .b-catalog__section.b-catalog__section-descr .b-item-descr p {
        padding-bottom: 3.2rem; }
      #b-catalog .b-catalog__section.b-catalog__section-descr .b-item-descr h2 {
        line-height: 1;
        padding-bottom: 1.5rem; }
  #b-catalog .b-catalog__section .b-catalog__section-header {
    margin-bottom: 3rem; }
    #b-catalog .b-catalog__section .b-catalog__section-header h1 {
      margin-bottom: 0.8rem; }
    #b-catalog .b-catalog__section .b-catalog__section-header .b-catalog__section-header_sub {
      line-height: 1;
      min-height: 1.8rem;
      font-size: 1.8rem; }
  #b-catalog .b-catalog__section .b-catalog__item {
    position: relative;
    width: 320px;
    background: #16A4B8;
    background: #fff;
    border-radius: 10px;
    overflow: hidden; }
    #b-catalog .b-catalog__section .b-catalog__item.b-catalog__item_mouseenter .b-catalog__item-title {
      background: #19a8be;
      background-image: -webkit-linear-gradient(top, #19c1d7, #19a8be);
      background-image: linear-gradient(to bottom, #19c1d7, #19a8be); }
    #b-catalog .b-catalog__section .b-catalog__item .b-catalog__item-img {
      display: block;
      width: 320px;
      height: 240px;
      background: center no-repeat;
      background-size: 100%; }
      #b-catalog .b-catalog__section .b-catalog__item .b-catalog__item-img.b-catalog__item-img_error {
        background-image: url("../img/fail-image.jpg") !important; }
      #b-catalog .b-catalog__section .b-catalog__item .b-catalog__item-img#b-catalog__item-img_snickers {
        background-image: url("../img/snickers.jpg"); }
      #b-catalog .b-catalog__section .b-catalog__item .b-catalog__item-img#b-catalog__item-img_bounty {
        background-image: url("../img/bounty.jpg"); }
      #b-catalog .b-catalog__section .b-catalog__item .b-catalog__item-img#b-catalog__item-img_twix {
        background-image: url("../img/twix.jpg"); }
    #b-catalog .b-catalog__section .b-catalog__item .b-catalog__item-title {
      padding-top: 10px;
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 10px;
      font-size: 2.4rem;
      font-weight: bold;
      text-align: center;
      background: #16A4B8;
      background-image: -webkit-linear-gradient(top, #19b6cc, #16a4b8);
      background-image: linear-gradient(to bottom, #19b6cc, #16a4b8);
      text-shadow: 0 1px rgba(255, 255, 255, 0.8);
      line-height: 1.2; }
    #b-catalog .b-catalog__section .b-catalog__item a {
      border-bottom: none; }

#b-footer {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: grey; }
  #b-footer a {
    color: grey; }
  #b-footer .b-site-copy {
    float: left;
    padding-left: 30px;
    padding-right: 30px; }
  #b-footer .b-dev-copy {
    float: right;
    padding-left: 30px;
    padding-right: 30px; }
    #b-footer .b-dev-copy a {
      border-bottom: 1px solid grey;
      border-bottom: 1px solid rgba(128, 128, 128, 0.3); }
      #b-footer .b-dev-copy a:hover {
        color: darkred;
        border-bottom: 1px solid darkred;
        border-bottom: 1px solid rgba(139, 0, 0, 0.2); }

/*** NARROW SCREENS ***/
@media only screen and (max-width: 1160px) {
  html {
    font-size: 56.25%;
    -webkit-transition: font-size 0.2s ease-in-out 0s;
    transition: font-size 0.2s ease-in-out 0s; }

  .b-catalog__item-wrap {
    position: relative;
    width: 272px !important;
    height: 252px !important;
    margin-right: 35px !important; }
    .b-catalog__item-wrap:last-child {
      margin-right: 0 !important; }

  .b-catalog__item {
    width: 266px !important; }
    .b-catalog__item .b-catalog__item-img {
      width: 266px !important;
      height: 200px !important; }
      .b-catalog__item .b-catalog__item-img#b-catalog__item-img_snickers {
        background-image: url("../img/snickers.jpg"); }
      .b-catalog__item .b-catalog__item-img#b-catalog__item-img_bounty {
        background-image: url("../img/bounty.jpg"); }
      .b-catalog__item .b-catalog__item-img#b-catalog__item-img_twix {
        background-image: url("../img/twix.jpg"); } }
@media only screen and (max-width: 780px) {
  #b-header__logo {
    font-size: 4rem !important; }

  #b-header__nav {
    float: left !important;
    clear: both !important;
    margin-top: 2.5rem !important; }

  .b-dev-copy {
    float: left !important;
    clear: both; }

  .b-call-me__content-wrap {
    top: 50px !important; } }
.b-list-test li {
  list-style: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/4621/treehouse-marker.png"); }

.b-border-img-test {
  width: 200px;
  height: 200px;
  border-image: url("http://www.norabrowndesign.com/css-experiments/images/border1.png");
  border-width: 10px;
  border-image-slice: 20%;
  border-image-repeat: repeat; }

/* SNIPPETS */
.b-abs-inner {
  position: relative; }

.b-thinspace_text {
  font-size: 80%; }

.b-nowrap {
  white-space: nowrap; }
