/* HAMBURGER */
.hamburger-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #ae2bfe;
  z-index: 1038;
  border-bottom: 1px solid #ededed;
}
.hamburger {
  display: block;
  width: 32px;
  height: 32px;
  position: absolute;
  right: 10px;
  top: 9px;
  padding: 4px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.hamburger__line {
  display: block;
  width: 100%;
  height: 5px;
  margin-bottom: 4px;
  border-radius: 3px;
  background-color: #fff;
}
.hamburger__line:nth-child(1) {
  -webkit-transform: rotate(0deg) translate3d(0, 0, 0);
          transform: rotate(0deg) translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: -webkit-transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -o-transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55), -webkit-transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hamburger__line:nth-child(2) {
  opacity: 1;
  -webkit-transition: all 0.125s ease 0.275s;
  -o-transition: all 0.125s ease 0.275s;
  transition: all 0.125s ease 0.275s;
}
.hamburger__line:nth-child(3) {
  -webkit-transform: rotate(0deg) translate3d(0, 0, 0);
          transform: rotate(0deg) translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: -webkit-transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -o-transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55), -webkit-transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin-bottom: 0;
}
.is-closed .hamburger__line:nth-child(1) {
  -webkit-transition-delay: 75ms;
       -o-transition-delay: 75ms;
          transition-delay: 75ms;
  -webkit-transform: rotate(45deg) translate3d(7px, 7px, 0);
          transform: rotate(45deg) translate3d(7px, 7px, 0);
}
.is-closed .hamburger__line:nth-child(2) {
  width: 0;
  opacity: 0;
  -webkit-transition-delay: 0s;
       -o-transition-delay: 0s;
          transition-delay: 0s;
}
.is-closed .hamburger__line:nth-child(3) {
  -webkit-transition-delay: 75ms;
       -o-transition-delay: 75ms;
          transition-delay: 75ms;
  -webkit-transform: rotate(-45deg) translate3d(6px, -5px, 0);
          transform: rotate(-45deg) translate3d(6px, -5px, 0);
}
/* HAMBURGER END */
.is-activated {
  left: 0 !important;
}
.hamburger-overlay {
  width: 0;
  overflow: hidden;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.6);
  position: fixed;
  z-index: 1000;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.faded-bg {
  width: 100%;
}
.show-menu {
  opacity: 1 !important;
  padding: 1rem !important;
  height: auto !important;
  z-index: 2 !important;
  -webkit-transition: all 0.4s ease-out !important;
  -o-transition: all 0.4s ease-out !important;
  transition: all 0.4s ease-out !important;
}

@-webkit-keyframes bounce {
  0%, 100% {
    -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(.215, .61, .355, 1);
  }
  50% {
    -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
    -webkit-transform: translate3d(0, -3px, 0);
    transform: translate3d(0, -3px, 0);
    animation-timing-function: cubic-bezier(.215, .61, .355, 1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(.215, .61, .355, 1);
  }
  50% {
    transform: translate3d(0, -3px, 0);
    animation-timing-function: cubic-bezier(.215, .61, .355, 1);
  }
}

.bounce-animation {
  -webkit-animation: boucne 1s infinite ease-in-out;
  -o-animation: boucne 1s infinite ease-in-out;
  animation: boucne 1s infinite ease-in-out;
}

.images-wrap:before,
.images-wrap:after {
  content: "";
  display: table;
  clear: both;
}
#footer .contacts-mini {
  margin-top: 0;
}

.page-view .page table tr td:hover {
  background-color: #bfefff;
  transition: all .3s ease;
}

.contacts .row-fluid:first-child .span10 {
  margin-top: 25px;
}

#header .row .span8 {
  margin-bottom: 0;
}

.contacts .span10 {
  float: left;
}

.phone-desc {
  margin-left: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #B7BBC2;
  line-height: 1.2;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page {
  flex: 1 0 auto;
}

#footer {
  flex: 0 0 auto;
  min-height: 200px;;
}

#fast-order-form {
  font-size: 16px;
}

#fast-order-form input[type="text"]{
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  margin-bottom: 5px;
}

#fast-order-form textarea{
  width: 100%;
  resize: none;
  box-sizing: border-box;
  margin-bottom: 5px;
}

#fast-order-form input[type="submit"] {
  background: #92d494;
  border: none;
  box-shadow: none;
  outline: none;
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
  border-radius: 5px;
  width: 140px;
  height: auto;
  transition: all .3s ease;
}

#fast-order-form input[type="submit"]:hover {
  background: #5cbe5f;
}

#fast-order-form .inp-container{
  margin-bottom: 15px;
}

.notify-message {
  position: fixed;
  margin: 0 auto;
  z-index: 1080;
  top: 80px;
  padding: 10px 25px;
  color: white;
  background-color: #92d494;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  font-size: 18px;
}
.notify-message.success {

}
.notify-message.danger {
  background-color: #d9534f;
}

#header .row .search {
  width: 100%;
}

/* error page */
#error {
  text-align: center;
}
.error-container {
  display: flex;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
  margin-bottom: 80px;
}

.error-code {
  flex: 1 1 50%;
  text-align: center;
  font-size: 100px;
  line-height: 1;
  color: #333;
  text-shadow: #cad5e2 1px 1px 0, #cad5e2 2px 2px 0, #cad5e2 3px 3px 0, #cad5e2 4px 4px 0, #cad5e2 5px 5px 0;
  border-right: 1px solid #333;
}

.error-code .error-text {
  font-size: 48px;
  display: block;
}

.error_description {
  flex: 1 1 50%;
  text-align: center;
  line-height: 1;
  padding-top: 20px;
  padding-left: 90px;
  box-sizing: border-box;
}

.error_description .title {
  font-size: 32px;
  margin-bottom: 15px;
}

.error_description .message {
  font-size: 18px;
}
/* error page end */

/* input photo */
.input-photo {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
  color: #eee;
  text-align: center;
  max-width: 280px;
  margin-bottom: 20px;
  cursor: pointer;
}
.input-photo p {
  color: #727d8d;
}
.input-photo i {
  width: 30px;
  height: 30px;
  background-image: url('/themes/tools/images/mini-logo.png');
  background-size: cover;
  margin: 0 auto;
}
.input-photo input[type='file'] {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.input-photo img {
  max-width: 240px;
  max-height: 150px;
  display: none;
  margin: 0 auto;
}
/* input photo end */


/**********************
 *     CALCULATOR     *
 *********************/
.calc {
  display: block;
  border: 1px solid #d0d3da;
  border-radius: 5px;
  padding: 15px;
}

.calc-name {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
  margin-top: 20px;
}

.calc-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.calc-item {
  margin-bottom: 8px;
}

.calc-total {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}
.calc-total .total-price {
  margin-left: 5px;
  font-size: 20px;
  text-decoration: underline;
}
.calc-total .note {
  font-size: 14px;
  font-weight: 300;
}

.calc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc .btn-order {
  background: #92d494;
  border: none;
  box-shadow: none;
  outline: none;
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
  border-radius: 5px;
  height: auto;
  text-decoration: none;
  transition: border .3s ease, background .3s ease;
}
.calc .btn-order:hover {
  background: #5cbe5f;
}

.btn-calc {
  display: inline-block;
  background: #fff;
  border: 2px solid #ec5465;
  box-shadow: none;
  outline: none;
  color: #ec5465;
  margin: 0 8px 8px 0;
  text-decoration: none;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: 500;
  text-shadow: none;
  border-radius: 8px;
  height: auto;
  transition: border .3s ease, background .3s ease;
}
.btn-calc.active {
  background-color: #ec5465;
  color: #fff;
}
.btn-calc.active:active, .btn-calc.active:visited, .btn-calc.active:focus {
  text-decoration: none;
  color: #fff;
  outline: none;
}
.btn-calc:active, .btn-calc:visited, .btn-calc:focus {
  text-decoration: none;
  color: #ec5465;
  outline: none;
}
.btn-calc:hover {
  background-color: #ec5465;
  color: #fff;
}

.calc-item__name {
  font-size: 18px;
  margin-bottom: 5px;
}
/**********************
 *   CALCULATOR END   *
 *********************/

@media (max-width: 1200px) {
  .row > [class*="span-full-width"],
  .row-fluid > [class*="span-full-width"] {
    width: calc(100% - 20px);
  }
  .hamburger-menu {
    display: block;
  }
  .navbar-fixed-top {
    position: fixed;
    width: 50%;
    left: -50%;
    z-index: 1041;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  .navbar-fixed-top .navbar-inner {
    height: 100vh;
    margin-top: 51px;
  }
  .navbar-fixed-top .navbar-inner .container {
    width: 100% !important;
    min-width: 0;
  }
  .navbar-fixed-top .navbar-inner .container ul li {
    width: 100%;
    text-align: center;
  }
  .navbar-fixed-top .navbar-inner .container ul li a {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .logo-mini img {
    position: fixed;
    width: 40px;
    top: 8px;
    left: 15px;
    position: fixed;
  }
  .logo-big img {
    position: fixed;
    top: 16px;
    left: 70px;
    z-index: 1040;
  }
  .page-view .page {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .navbar .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    float: none;
  }
  .contacts .span10 {
    width: 100%;
    text-align: center;
  }
  .carousel-inner {
    height: 370px;
  }
  .carousel-inner .item img {
    width: 100%;
    max-width: none;
    min-height: 370px;
  }
  .about-content .desc {
    width: 70%;
    margin-bottom: 0;
  }
  .news .description,
  .shares .description {
    max-height: none;
  }
  .search-products .tag-group-group-products {
    margin-left: 20px;
  }
  .table-wrap {
    overflow-x: scroll;
  }
}
@media (max-width: 992px) {
  .span-sm-12 {
    width: calc(100% - 20px) !important;
  }
  #header {
    text-align: center;
  }
  .container {
    min-width: auto !important;
    width: 760px !important;
  }
  #fast-order-form iframe{
    display: block;
  }
  .map-block {
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
  }
  .gmap {
    display: block;
    height: 320px !important;
  }
  .cart-deferred {
    display: none;
  }
  .menu-box__wrap {
    margin-left: 30px;
  }
  .page-view .span12,
  .search-products .span12,
  .group-products .span12 {
    width: 100%;
  }
  .page-view .items.table tr td,
  .search-products .items.table tr td,
  .group-products .items.table tr td {
    padding: 8px !important;
  }
  .page-view .tag-group-group-products .title,
  .search-products .tag-group-group-products .title,
  .group-products .tag-group-group-products .title {
    position: relative;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 20px !important;
    padding: 13px 18px 13px 0 !important;
  }
  .page-view .tag-group-group-products .title:before,
  .search-products .tag-group-group-products .title:before,
  .group-products .tag-group-group-products .title:before {
    font-family: 'FontAwesome';
    content: "\f078";
    position: absolute;
    display: block;
    right: 16px;
    top: 12px;
    width: 16px;
    height: 16px;
    animation-name: bounce;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-name: bounce;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    transform: translate3d(0,0,0);
  }
  .page-view .tag-group-group-products .menu-widget .submenuItem,
  .search-products .tag-group-group-products .menu-widget .submenuItem,
  .group-products .tag-group-group-products .menu-widget .submenuItem {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 20px !important;
    padding: 13px 18px 13px 18px !important;
  }
  .page-view .tag-group-group-products .menu-widget .submenuItem:before,
  .search-products .tag-group-group-products .menu-widget .submenuItem:before,
  .group-products .tag-group-group-products .menu-widget .submenuItem:before {
    font-family: 'FontAwesome';
    content: "\f078";
    position: absolute;
    display: block;
    right: 16px;
    top: 12px;
    width: 16px;
    height: 16px;
    animation-name: bounce;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-name: bounce;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    transform: translate3d(0,0,0);
  }
  .page-view .tag-group-group-products .tag-menu,
  .search-products .tag-group-group-products .tag-menu,
  .group-products .tag-group-group-products .tag-menu {
    position: absolute;
    opacity: 0;
    -webkit-transition: all 0s;
    -o-transition: all 0s;
    transition: all 0s;
    padding: 0;
    height: 0;
    z-index: -1;
  }
  .page-view .tag-group-group-products .menu-widget,
  .search-products .tag-group-group-products .menu-widget,
  .group-products .tag-group-group-products .menu-widget {
    position: static;
    opacity: 1;
    height: auto;
  }
  .page-view .tag-group-group-products .menu-widget ul li > ul,
  .search-products .tag-group-group-products .menu-widget ul li > ul,
  .group-products .tag-group-group-products .menu-widget ul li > ul {
    /*position: absolute;*/
    display: none !important;
    -webkit-transition: all 0s;
    -o-transition: all 0s;
    transition: all 0s;
    padding: 0;
    height: 0;
    z-index: -1;
  }

  .page-view .tag-group-group-products .menu-widget ul li > ul.show-menu {
    display: block !important;
  }

  .images-wrap {
    text-align: center;
  }
  .images-wrap .img_mini_block {
    display: inline-block;
    margin-left: 0;
    width: 130px;
    float: none;
  }
  .up-page {
    width: 0;
  }

  #header .row .search{
    width: calc(100% - 20px);
  }

  /* error page */
  .error-container {
    display: flex;
    flex-direction: column;
  }

  .error-code {
    flex: 1 1 auto;
    border-right: none;
  }

  .error-code .error-text {
    font-size: 48px;
    display: block;
  }

  .error_description {
    flex: 1 1 auto;
    padding-left: 0;
  }
  /* error page end */

}
@media (max-width: 768px) {
  .container {
    min-width: auto !important;
    width: 460px !important;
  }
  .span-xs-12 {
    width: calc(100% - 20px) !important;
  }
  .header-menu ul {
    text-align: center;
  }
  .phone-desc {
    margin-top: 10px;
    display: block;
    margin-left: 0;
    font-size: 20px;
  }
  .logo-mini .span12,
  .logo-big .span12 {
    min-height: 0;
    margin-bottom: 0;
  }
  .search {
    width: calc(100% - 20px);
  }
  .center-item {
    float: none;
    margin: 0 auto 20px;
    -webkit-transform: translate3d(10px, 0, 0);
            transform: translate3d(10px, 0, 0);
  }
  .menu-box__wrap {
    margin-left: 0;
  }
  .menu-box__wrap .listItem ul {
    display: none;
  }
  .clients > ul {
    text-align: center;
  }
  .last-news .button {
    margin-left: 20px;
  }
  .inst-widget {
    display: none;
  }
  .product-view .span-xs-12 {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .product-view .span-xs-12 .params-row .span4,
  .product-view .span-xs-12 .params-row .span6 {
    width: 100px;
  }
  .product-view .span-xs-12 .params-row .span4 .product-buttom {
    display: none;
  }
  .product-view .span-xs-12 .params-row .span6 .compare-block {
    display: none;
  }
  .product-view .span-xs-12 .params-row .options {
    overflow: hidden;
    margin-left: 0;
  }
  .product-view .news-mini-block {
    display: none;
  }
  #product-slider {
    width: 100% !important;
  }
  .search-products .pagination ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .search-products .pagination ul li a {
    padding: 4px 6px;
  }
  .search-products .pagination .previous a,
  .search-products .pagination .next a {
    padding: 8px;
  }
  .group-products .span3 .catalog-dropodwn-menu {
    float: none;
  }
  .group-products .span3 .catalog-dropodwn-menu .tag-menu {
    display: block !important;
  }
  .group-products .span3 .span3:nth-child(2) {
    float: none;
    margin: 0 auto;
  }
  .group-products .row > .span3 .span3:not(:nth-child(-n+2)) {
    display: none;
  }
  .group-products .search-form {
    display: none;
  }
  .group-products #product-group-list .sorter {
    display: none;
  }
  .group-products .row .span3.show-nav.more:hover .tabs-left {
    width: 216px;
    outline: none;
  }
  #footer .foot-menu-mini > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #footer .logos > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #footer .contacts-mini {
    margin-top: 0;
    float: none;
  }
  #footer .contacts-mini p {
    text-align: center;
  }
  #footer .adelfo {
    text-align: center;
  }
}
@media (max-width: 480px) {
  .container {
    min-width: auto !important;
    width: calc(100% - 20px) !important;
  }
  .menu-box__wrap {
    width: 220px;
    margin: 0 auto;
  }
  .menu-box__wrap .span3 {
    margin-left: 10px;
  }
  .carousel-inner {
    height: 230px;
  }
  .carousel-inner .item img {
    min-height: 230px;
  }
  .clients ul {
    margin: 0;
  }
  .clients ul li {
    margin-right: 10px;
    margin-bottom: 0;
  }
  .last-news-block,
  .last-shares-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .last-news-block .img-rounded,
  .last-shares-block .img-rounded {
    border-radius: 6px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .news .big-title,
  .shares .big-title {
    white-space: normal;
  }
  .group-products #product-group-list .items .span3 {
    float: none;
    margin: 0 auto 20px;
    -webkit-transform: translate3d(10px, 0, 0);
            transform: translate3d(10px, 0, 0);
  }
  .group-products #product-group-list .items .span3 .show-nav.more:hover .tabs-left {
    width: 0;
  }
  /********************
  *     CALCULATOR
  *********************/
  .calc-footer {
    flex-direction: column;
    text-align: center;
  }
  .calc-total {
    margin-bottom: 15px;
  }
  /*********************
  *   CALCULATOR END   *
  *********************/
}