*, :after, :before {
  margin: 0;
  padding: 0;
	outline: 0;
	border: 0;
	text-decoration: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
	-webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  font-family: "Myriad Pro";
  font-weight: 400;
  color: #222;
  background: #f5f5f5;
}

img {
	display: block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

::-moz-selection {
  color: #fff;
  background: #222;
}

::selection {
  color: #fff;
  background: #222;
}

.loading {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  z-index: 999;
  background-image: url(../images/loading.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100px;
}

.mobile {
  display: none;
}

.main {
  width: 100%;
  min-width: 300px;
  overflow: hidden;
  padding: 0 0 30px 0;
}

.main_container {
  width: 100%;
  margin: 0 auto;
}

/* Menu */

.container_menu {
  width: 100%;
  margin: 0 0 75px 0;
  padding: 55px 0 115px 0;
  background: #ffc404;
}

.menu_content {
  max-width: 1280px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.menu_title {
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 130px;

  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;
}

.mobile-menu-button {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 0; left: 15px;
  background-color: #222;
  background-image: url(../images/menu.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  z-index: 98;
  cursor: pointer;
  display: none;
}

.mobile-menu-button.checked {
  background-image: url(../images/close.svg);
  background-size: 14px;
}

.menu_menu-item {
  padding: 6px 12px;
  cursor: pointer;
  margin: 5px;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;

  /*-webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;*/
}

.menu_menu-item:first-child {
  margin: 5px 5px 5px 0;
}

.menu_menu-item:last-child {
  margin: 5px 0 5px 5px;
}

.menu_menu-item:hover {
  background: #eab300;
}

.menu_menu-item--active, .menu_menu-item--active:hover {
  background: #222;
  color: #fff;
}

.menu_menu-icon {
  height: 20px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 10px 0 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.menu_menu-icon.sport {
  width: 30px;
  background-size: 30px;
  background-image: url(../images/sport.svg);
}

.menu_menu-icon.aiakaubad {
  width: 15px;
  background-size: 15px;
  background-image: url(../images/aiakaubad.svg);
}

.menu_menu-icon.tooriistad {
  width: 20px;
  background-size: 20px;
  background-image: url(../images/tooriistad.svg);
}

.menu_menu-icon.elektroonika {
  width: 26px;
  background-size: 26px;
  background-image: url(../images/elektroonika.svg);
}

.menu_menu-icon.riided {
  width: 24px;
  background-size: 24px;
  background-image: url(../images/riided.svg);
}

.menu_menu-icon.ilu {
  width: 22px;
  background-size: 22px;
  background-image: url(../images/ilu.svg);
}

.menu_menu-icon.moobel {
  width: 28px;
  background-size: 28px;
  background-image: url(../images/moobel.svg);
}

.menu_menu-link {
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  position: absolute;
  left: 20px; top: -35px;
  cursor: pointer;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.menu_menu-link-arrow {
  display: inline-block;
  width: 8px;
  height: 12px;
  margin: 0 10px 0 0;
  background-image: url(../images/arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

/* Content */

.container_content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.content_catalog {
  width: 100%;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;

  -ms-flex-line-pack: start;
  align-content: flex-start;
}

.catalog_catalog-item {
  width: 300px;
  background: #fff;
  margin: 10px;
  cursor: pointer;
  border: 1px solid #dddddd;
  position: relative;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.catalog_catalog-item:hover .catalog-item_image {
  opacity: 0.8;
}

.catalog-item_image {
  width: 100%;
  height: 170px;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  -webkit-transition: all .25s;
  -o-transition: all .25s;
  transition: all .25s;
}

.item_image_logo {
  width: 70px;
  position: absolute;
  top: 5px; right: 5px;
}

.item_image_logo img {
  width: 100%;
}

.catalog-item_text {
  max-width: 260px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding: 20px;
  letter-spacing: 0.2px;

  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-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.catalog-item_btn {
  width: 30px;
  height: 30px;
  border-radius: 50px;
  position: absolute;
  bottom: 10px; right: 10px;
  background-color: #2fdfb3;
  background-image: url(../images/arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 9px;
}

/* Calculator */

.catalog_catalog-calculator {
  width: 100%;
  max-width: 100%;
  height: 320px;
  font-family: "Museo Sans";
  font-weight: 500;
  background: #fff;
  color: #000;
  margin: 10px;
  border: 1px solid #dddddd;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.calculator_block {
  height: 100%;

  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-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.calculator_block:first-child {
  padding: 45px 0 40px 50px;
}

.calculator_block:last-child {
  padding: 40px 50px 20px 55px;
}

.calculator_inner-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.calculator_block--header {
  width: 435px;
  height: 100%;

  -ms-flex-negative: 0;
  flex-shrink: 0;

  background-image: url(../images/bg-coop-element.svg);
  background-repeat: no-repeat;
  background-position: 100% -30px;
  background-size: 648px;
}

.calculator_logo {
  width: 163px;
}

.calculator_logo img {
  width: 100%;
}

.calculator_title {
  font-size: 51px;
  line-height: 59px;
  font-weight: 300;
  color: #fff;
}

.calculator_block--content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.calculator_sliders {
  margin: 0 80px 0 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.calculator_slider {
  margin: 0 0 40px 0;
}

.calculator_slider:last-child {
  margin: 0;
}

.calculator_slider-header, .calculator_slider-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;

  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.calculator_slider-header--title {
  font-size: 19px;
  font-weight: 700;
}

.calculator_slider-header--count {
  font-size: 17px;
  color: #0078D2;
}

.calculator_slider-footer--max, .calculator_slider-footer--min {
  font-size: 14px;
}

.calculator_slider-range {
  height: 20px;
}

.calculator_disclaimer {
  font-size: 10px;
  line-height: 12px;
}

.calculator_results {
  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-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.calculator_result-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.calculator_result-count {
  font-size: 55px;
  font-weight: 300;
  color: #0078D2;
}

.calculator_btn {
  width: 250px;
  padding: 16px 0;
  display: inline-block;
  vertical-align: middle;
  font-size: 19px;
  color: #fff;
  background: #0078D2;
  text-align: center;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 500;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  cursor: pointer;
}

/* Sliders */

.calculator_slider-range {
  background: #E5E5E5;
  border-radius: 0;
  height: 2px;
  margin: 19px 0 14px 0;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.noUi-connect {
	background: #0078D2;
}

.noUi-horizontal .noUi-handle, .noUi-handle {
  width: 20px;
  height: 20px;
  right: -10px;
  top: -10px;
  border: 0;
  border-radius: 0;
  background: #FFF;
  cursor: pointer;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-image: url(../images/handle.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
}

.noUi-handle:after {
  left: 10px;
}

/* Media */

@media only screen and (max-width: 1366px) {
  .container_content {
    max-width: 1000px;
  }

  .menu_content {
    max-width: 1080px;
  }

  .catalog_catalog-calculator {
    height: 350px;
  }

  .calculator_inner-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .calculator_block--header {
    width: 315px;
    background-size: 580px;
  }

  .calculator_block:first-child {
    padding: 50px 0 55px 40px;
  }

  .calculator_block:last-child {
    padding: 40px 40px 20px 40px;
  }

  .calculator_logo {
    width: 125px;
  }

  .calculator_title {
    font-size: 39px;
    line-height: 44px;
  }

  .catalog-item_text {
    font-size: 16px;
    line-height: 22px;
  }

  .calculator_results {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;

    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .calculator_slider {
    margin: 0 0 25px 0;
  }

  .calculator_slider-header--title, .calculator_slider-header--count {
    font-size: 14px;
  }

  .calculator_slider-footer--min, .calculator_slider-footer--max {
    font-size: 12px;
  }

  .calculator_result-title {
    font-size: 14px;
    margin: 0 0 10px 0;
  }

  .calculator_result-count {
    font-size: 30px;
  }

  .calculator_sliders {
    margin: 0 0 25px 0;
  }

  .calculator_btn {
    width: 180px;
    font-size: 13px;
    padding: 10px 0;
  }

  .noUi-horizontal .noUi-handle, .noUi-handle {
    width: 14px;
    height: 14px;
    right: -7px;
    top: -7px;
    background-size: 14px;
  }

  .noUi-handle:after {
    left: 7px;
  }

  .calculator_slider-range {
    margin: 10px 0;
  }

  .calculator_disclaimer {
    font-size: 10px;
    line-height: 12px;
  }
}

@media only screen and (max-width: 1080px) {
  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  .main {
    padding: 0 0 10px 0;
  }

  .container_menu {
    width: 100%;
    height: 100vh;
    padding: 40px;
    margin: 0;
    color: #fff;
    position: fixed;
    top: 0; left: 0;
    z-index: 97;
  }

  .menu_content {
    width: 100%;
    height: 100%;
    padding: 0;

    -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;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .menu_menu-item {
    -webkit-box-flex: unset;
    -ms-flex: unset;
    flex: unset;
  }

  .menu_menu-item, .menu_menu-item:first-child, .menu_menu-item:last-child {
    margin: 5px 0;
  }

  .menu_menu-link {
    position: static;
    margin: 50px 0 0 0;
    font-size: 16px;
    line-height: 20px;
  }

  .main_title {
    width: 100%;
    background: #ffc404;
    margin: 0 0 60px 0;

    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;
  }

  .title_content {
    position: relative;
    top: 28px;
  }
}

@media only screen and (max-width: 1016px) {

  .main_container {
    width: 100%;
  }

  .container_content {
    max-width: 680px;
  }

  .content_catalog {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .catalog_catalog-calculator {
    height: unset;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .calculator_block--header {
    width: 100%;
    height: unset;
    background-size: 340px;
    background-position: bottom center;

    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .calculator_block:first-child {
    padding: 40px 0 50px 0;
  }

  .calculator_block:last-child {
    padding: 40px 20px 20px 20px;
  }

  .calculator_logo {
    margin: 0 0 35px 0;
  }

  .calculator_title {
    font-size: 33px;
    line-height: 38px;
    max-width: 200px;
    text-align: center;
  }

  .calculator_sliders {
    margin: 0 0 20px 0;
  }
  .calculator_results {
    margin: 0 0 15px 0;
    -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;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .calculator_result {
    text-align: center;
    margin: 0 0 30px 0;
  }

  .calculator_btn {
    width: 100%;
  }

  .calculator_disclaimer {
    text-align: center;
  }
}

@media only screen and (max-width: 696px) {
  .title_content {
    top: 30px;
    width: 350px;
  }

  .main_title {
    padding: 0 0 9px 0px;
  }

  .title_content img {
    width: 100%;
  }

  .catalog_catalog-calculator {
    max-width: 300px;
  }

  .container_content > .catalog_catalog-calculator {
    margin: 10px auto;
  }
}

@media only screen and (max-width: 480px) {
  .mobile-menu-button {
    top: 20px;
    top: constant(safe-area-inset-top);
    top: env(safe-area-inset-top);
  }

  .main_title {
    margin: 0 0 35px 0;
    padding-bottom: 23px;
    padding-top: 20px;
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
  }

  .title_content {
    top: 35px;
    width: 200px;
  }

  .title_content img {
    width: 100%;
  }

  .catalog_catalog-item, .catalog_catalog-calculator {
    margin: 10px 0;
  }

  .container_content > .catalog_catalog-calculator {
    margin: 10px auto;
  }
}

@media only screen and (max-width: 320px) {
  .catalog-item_image {
    height: 158px;
  }

  .catalog-item_text {
    max-width: 240px;
  }
}

.hidden {
	display: none !important;
}
