@media screen and (max-width: 1280px) and (min-width: 1024px) {
  #cart_product_popup {
    margin: 0 0 0 -450px;
    top: 100px;
    width: 900px;
  }

  #cart_product_popup {
    margin: 0 0 0 -400px;
    top: 20px;
    width: 750px;
  }
  #cart_product_popup #wrapper_content {
    width: 700px;
  }
  #cart_product_popup .close {
    height: 50px;
    width: 50px;
  }
  #cart_product_popup .header,
  .popup .header {
    padding: 0 40px;
  }
  #cart_product_popup #product_info,
  .popup .info {
    padding: 40px;
  }
  #cart_product_popup #product_info .product_image {
    margin: 0 30px 0 0;
  }
  #cart_product_popup #product_info .col + .col {
    width: 79%;
  }
  #cart_product_popup #product_info .product_name {
    width: 70%;
  }
  #cart_product_popup #product_info .price {
    width: 25% !important;
  }
  #cart_product_popup #product_info ul.attributes {
    width: 180px;
  }
  #cart_product_popup #product_info ul.attributes + ul.attributes {
    margin-left: 0px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) and (orientation: landscape) {
  #cart_product_popup {
    margin: 0 0 0 -450px;
    top: 100px;
    width: 900px;
  }
  #cart_product_popup,
  .popup {
    margin: 0 0 0 -363px;
    top: 20px;
    width: 732px;
  }
  #cart_product_popup #wrapper_content,
  .popup .wrapper_content {
    width: 100%;
  }
  #cart_product_popup .close,
  .popup .close {
    height: 50px;
    width: 50px;
  }

  #cart_product_popup .header,
  .popup .header {
    padding: 0 30px;
  }
  #cart_product_popup #product_info,
  .popup .info {
    padding: 30px;
  }
  #cart_product_popup #product_info .product_image {
    margin: 0 30px 0 0;
  }
  #cart_product_popup #product_info .col + .col {
    width: 79%;
  }
  #cart_product_popup #product_info .product_name {
    width: 70%;
  }
  #cart_product_popup #product_info .price {
    width: 25% !important;
  }
  #cart_product_popup #product_info ul.attributes {
    width: 50%;
  }
  #cart_product_popup #product_info ul.attributes + ul.attributes {
    margin-left: 0px;
  }
}

@media screen and (max-width: 940px) and (min-width: 768px) and (orientation: landscape) {
  #cart_product_popup {
    margin: 0 0 0 -450px;
    top: 100px;
    width: 900px;
  }

  #cart_product_popup {
    margin: 0 0 0 -275px;
    top: 40px;
    width: 552px;
  }

  #cart_product_popup #wrapper_content {
    width: 550px;
  }
  #cart_product_popup .header {
    padding: 0 20px;
    font-size: 22px;
  }
  #cart_product_popup .close {
    height: 35px;
    width: 35px;
    margin-left: -50px;
    margin-top: -35px;
  }
  #cart_product_popup #product_info {
    padding: 20px;
  }
  #cart_product_popup #product_info .product_image {
    margin: 0 15px 0 0;
  }
  #cart_product_popup #product_info .col + .col {
    width: 77%;
  }
  #cart_product_popup #product_info .product_name {
    width: 70%;
  }
  #cart_product_popup #product_info .price {
    width: 25% !important;
  }
  #cart_product_popup #product_info ul.attributes {
    font-size: 14px;
    padding: 10px 0 0;
    width: 50%;
  }
  #cart_product_popup #product_info ul.attributes + ul.attributes {
    margin-left: 0px;
  }
  #cart_product_popup .cart_navigation {
    height: 90px;
    padding: 10px 30px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) and (min-width: 680px) {
  #cart_product_popup {
    margin: 0 0 0 -450px;
    top: 100px;
    width: 900px;
  }

  #cart_product_popup {
    margin: 0 0 0 -275px;
    top: 40px;
    width: 552px;
  }
  #cart_product_popup #wrapper_content {
    width: 550px;
  }
  #cart_product_popup .header {
    padding: 0 20px;
    font-size: 22px;
  }
  #cart_product_popup .close {
    height: 35px;
    width: 35px;
    margin-left: -50px;
    margin-top: -35px;
  }
  #cart_product_popup #product_info {
    padding: 20px;
  }
  #cart_product_popup #product_info .product_image {
    margin: 0 15px 0 0;
  }
  #cart_product_popup #product_info .col + .col {
    width: 77%;
  }
  #cart_product_popup #product_info .product_name {
    width: 70%;
  }
  #cart_product_popup #product_info .price {
    width: 25% !important;
  }
  #cart_product_popup #product_info ul.attributes {
    font-size: 14px;
    padding: 10px 0 0;
    width: 50%;
  }
  #cart_product_popup #product_info ul.attributes + ul.attributes {
    margin-left: 0px;
  }
  #cart_product_popup .cart_navigation {
    height: 90px;
    padding: 10px 30px;
    text-align: center;
  }
}

@media screen and (max-width: 680px) and (orientation: landscape) {
  #cart_product_popup,
  .popup {
    margin: 0 0 0 -225px;
    top: 5px;
    width: 450px;
  }
  #cart_product_popup .header {
    font-size: 22px;
  }
  #cart_product_popup .header,
  .popup .header {
    height: 35px;
    line-height: 35px;
  }
  #cart_product_popup #product_info {
    padding: 5px;
  }
  #cart_product_popup #product_info .product_name {
    font-size: 20px;
  }
  #cart_product_popup #product_info ul.attributes {
    font-size: 14px;
    padding: 0;
  }
  #cart_product_popup .cart_navigation {
    height: 50px;
    padding: 0 30px;
  }
  #cart_product_popup .close,
  .popup .close {
    height: 35px;
    margin-left: -50px;
    margin-top: 0;
    width: 35px;
  }
}

@media screen and (max-width: 680px) and (min-width: 480px) {
  #cart_product_popup,
  .popup {
    margin: 0 0 0 -225px;
    top: 40px;
    width: 450px;
  }
  #cart_product_popup #wrapper_content,
  .popup .wrapper_content {
    width: 450px;
  }
  #cart_product_popup .header,
  .popup .header {
    padding: 0 15px;
  }
  #cart_product_popup .close,
  .popup .close {
    height: 35px;
    width: 35px;
    margin-left: -50px;
    margin-top: -35px;
  }
  #cart_product_popup #product_info {
    padding: 15px;
  }
  #cart_product_popup #product_info .product_image {
    margin: 0 15px 0 0;
  }
  #cart_product_popup #product_info .product_name {
    width: 70%;
  }
  #cart_product_popup #product_info .price {
    width: 25% !important;
    font-size: 36px;
  }
  #cart_product_popup #product_info ul.attributes {
    font-size: 14px;
    padding: 10px 0 0;
    width: 50%;
  }
  #cart_product_popup #product_info ul.attributes + ul.attributes {
    margin-left: 0px;
  }
  #cart_product_popup .cart_navigation {
    height: 85px;
    padding: 10px 30px;
    text-align: center;
  }
  #cart_product_popup #product_info .col + .col {
    width: 72%;
  }
  #cart_product_popup #product_info .product_name {
    width: 70%;
    padding-top: 20px;
  }
  #cart_product_popup .header {
    font-size: 22px;
  }
}

@media screen and (max-width: 480px) and (min-width: 320px) {
  .cart_voucher input[type="text"] {
    width: 100%;
  }

  #cart_product_popup {
    margin: 0 0 0 -450px;
    top: 100px;
    width: 900px;
  }
  #cart_product_popup,
  .popup {
    margin: 0 0 0 -150px;
    top: 5px;
    width: 302px;
  }
  #cart_product_popup #wrapper_content,
  .popup .wrapper_content {
    width: 300px;
  }
  #cart_product_popup .header,
  .popup .header {
    padding: 0 5px;
  }
  #cart_product_popup .close,
  .popup .close {
    height: 35px;
    width: 35px;
    margin-left: -50px;
    margin-top: 7px;
  }
  #cart_product_popup #product_info {
    padding: 5px 15px 15px;
  }
  #cart_product_popup #product_info .product_name {
    width: 70%;
    padding-top: 18px;
  }
  #cart_product_popup #product_info .price {
    margin-top: -5px;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    color: black;
    font-weight: bold;
    font-size: 20px !important;
  }
  #cart_product_popup #product_info ul.attributes {
    font-size: 14px;
    padding: 0px 0 0;
    width: 100%;
  }
  #cart_product_popup #product_info ul.attributes + ul.attributes {
    margin-left: 0px;
  }
  #cart_product_popup .cart_navigation {
    height: 130px;
    padding: 5px 30px;
    text-align: center;
  }
  #cart_product_popup .header {
    font-size: 15px;
  }
  #cart_product_popup .header {
    height: 50px;
    line-height: 50px;
  }
  #cart_product_popup #product_info .product_image {
    float: none;
    margin: 0 auto;
    width: 100px;
  }
  #cart_product_popup .cart_navigation .secondary_button {
    font-size: 18px;
    height: 40px;
    line-height: 40px;
    margin-top: 8px;
    padding: 0 4px;
  }
  #cart_product_popup .cart_navigation .button {
    height: 47px;
    line-height: 47px;
    padding: 0 50px;
    width: 100%;
    margin-top: 6px;
  }
  #cart_product_popup #product_info .col {
    text-align: center;
    width: 100%;
  }
  #cart_product_popup .attrs_wrapper {
    margin-top: 76px;
    margin-bottom: 23px;
  }
}

@media screen and (max-width: 320px) {
  #cart_product_popup {
    margin: 0 0 0 -450px;
    top: 100px;
    width: 900px;
  }

  #cart_product_popup,
  .popup {
    margin: 0 0 0 -140px;
    top: 5px;
    width: 279px;
  }
  #cart_product_popup #wrapper_content,
  .popup .wrapper_content {
    width: 279px;
  }
  #cart_product_popup .header,
  .popup .header {
    padding: 0 5px;
  }
  #cart_product_popup .close {
    height: 25px;
    width: 25px;
    margin-left: -25px;
    margin-top: 4px;
  }
  #cart_product_popup #product_info {
    padding: 5px;
  }
  #cart_product_popup #product_info .product_image {
    float: none;
    margin: 0 auto;
    width: 100px;
  }
  #cart_product_popup #product_info .col {
    text-align: center;
    width: 100%;
  }
  #cart_product_popup #product_info .product_name {
    width: 100%;
    font-size: 22px;
  }
  #cart_product_popup #product_info .price {
    margin-top: -5px;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    color: black;
    font-weight: bold;
    font-size: 20px !important;
  }
  #cart_product_popup .attrs_wrapper {
    margin-top: 72px;
    margin-bottom: 23px;
  }
  #cart_product_popup #product_info ul.attributes {
    font-size: 14px;
    padding: 0px 0 0;
    width: 100%;
  }
  #cart_product_popup #product_info ul.attributes + ul.attributes {
    margin-left: 0px;
  }
  #cart_product_popup .cart_navigation {
    height: 112px;
    padding: 0 30px;
    text-align: center;
  }
  #cart_product_popup .header {
    font-size: 14px;
    height: 35px;
    line-height: 35px;
  }
  #cart_product_popup .cart_navigation .secondary_button {
    float: none;
    height: 35px;
    line-height: 35px;
  }
  #cart_product_popup .col.product_image > img {
    height: 80px;
    width: 80px;
  }
  #cart_product_popup .cart_navigation .button {
    float: none;
    height: 40px;
    line-height: 40px;
    margin-top: 3px;
    padding: 0 65px;
  }

  #cart_product_popup .cart_navigation .secondary_button {
    font-size: 17px;
    padding: 0;
    width: 100%;
  }
}

@media only screen and (min-width: 320px) {
  #top_bar_order_samples_big {
    font-size: 14px;
  }
  #top_bar_order_samples_small {
    font-size: 14px;
  }
  #top_bar_remove_all_samples {
    font-size: 12px;
  }
  #top_bar_samples_header {
    font-size: 13px;
  }
  #samples_top_counter {
    font-size: 12px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
  #top_bar_order_samples_big {
    font-size: 14px;
  }
  #top_bar_order_samples_small {
    font-size: 19px;
  }
  #top_bar_remove_all_samples {
    font-size: 12px;
  }
  #top_bar_samples_header {
    font-size: 20px;
  }
  #samples_top_counter {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  #category_description {
    margin-top: 28px;
  }

  #primary_inputs .unit {
    top: 4px !important;
  }

  #product_wrapper #primary_inputs .primary_input input {
    font-size: 16px;
  }

  .stretched_slide {
    height: 419px !important;
  }

  .alternative_products.unigbannerblock.slider .arrow.right-arrow {
    right: 1px;
  }

  .alternative_products.unigbannerblock.slider .arrow.left-arrow {
    left: 1px;
  }

  iframe[src*="youtube"] {
    width: 100% !important;
  }
  .unig_select .options {
    z-index: 200;
  }

  .unig_select .select_box.opened {
    z-index: 98 !important;
  }

  .ac_results {
    border: 1px solid #e2e5ea;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    font-size: 18px !important;
    padding: 0 5px !important;
    position: fixed !important;
    bottom: 3px !important;
    overflow-y: auto !important;
    top: 152px !important;
  }

  .ac_results li {
    font-size: 18px;
  }

  #top_menu > .container {
    padding-bottom: 0px;
    padding-top: 2px;
  }

  .payment_strip img {
    float: none;
  }

  #shopping_cart > span:not(.cart_qties),
  .samples_block_text {
    font-size: 16px;
  }

  #category_description table {
    overflow-x: auto;
    display: block;
  }

  #blog_feed img {
    height: auto !important;
  }

  .pagination {
    margin: 0px 0px !important;
  }

  #pagination_MobileBottom {
    margin: 20px 0px !important;
  }

  #page {
    padding-top: 80px;
  }
  #page.samples_choosen {
    padding-top: 85px;
  }
  #new_header {
    position: fixed;
    top: 0px;
    z-index: 999;
    width: 100%;
    max-height: 100%;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.75);
    margin-bottom: 0px;
    background-color: transparent;
  }

  #mobile_container .input_search {
    background: white;
  }

  .samples_choosen #new_header {
    top: 0px;
  }

  #mobile_container {
    overflow: auto;
    max-height: 100%;
  }

  body[lang="no"] .payment_strip .payment_title,
  body[lang="se"] .payment_strip .payment_title,
  body[lang="de"] .payment_strip .payment_title,
  body[lang="cs"] .payment_strip .payment_title {
    text-align: right;
    float: none;
  }

  #product_wrapper .tab-content {
    width: 92%;
    font-size: 18px;
    margin-bottom: 0px;
  }

  #product_wrapper .tab-content .mobile_collapser {
    font-size: 24px;
  }

  #product_wrapper .configurator_header {
    font-size: 23px !important;
  }

  #product_wrapper #image_block {
    margin-top: 0px !important;
  }

  #product_wrapper .product_header h1 {
    margin: 21px 0px 20px 0;
    font-size: 16px !important;
  }

  #cookie_usage_info_panel {
    width: 100%;
    font-size: 13px !important;
  }

  .cart_navigation .button {
    width: 100%;
    margin-bottom: 4%;
  }

  #product_model_wrapper .model_container:nth-child(2n) {
    border-right: 1px solid #e2e5ea;
  }

  #cart_summary .delivery_mobile {
    display: block;
    width: calc(100% - 18px);
    margin: 10px;
    padding: 10px;
    text-align: center;
    margin-bottom: 5px;
  }

  .cart_summary_block {
    padding-top: 5px;
  }

  #cart_summary .delivery_method > td {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  #cart_summary .web_mounting_services > td,
  #cart_summary .measurements_insurance > td,
  #cart_summary .express_manufacturing_service > td {
    position: relative;
  }

  #cart_summary .web_mounting_services > td:before,
  #cart_summary .measurements_insurance > td:before,
  #cart_summary .express_manufacturing_service > td:before {
    left: -50px;
  }

  #cart_summary .web_mounting_services > td:after,
  #cart_summary .measurements_insurance > td:after,
  #cart_summary .express_manufacturing_service > td:after {
    right: -49px;
  }

  #cart_summary .web_mounting_services > td:after,
  #cart_summary .web_mounting_services > td:before,
  #cart_summary .measurements_insurance > td:after,
  #cart_summary .measurements_insurance > td:before,
  #cart_summary .express_manufacturing_service > td:after,
  #cart_summary .express_manufacturing_service > td:before {
    position: absolute;
    display: block;
    content: " ";
    background: #f0f0f0;
    top: -1px;
    bottom: 0px;
    width: 50px;
  }

  #product_wrapper .attributes .attribute span {
    font-size: 16px;
  }

  #product_wrapper #configurator_inputs .slide {
    border: none;
  }

  #configurator_form .select_attribute {
    font-size: 15px;
  }

  #product_first_col {
    padding-left: 20px;
    padding-right: 20px;
  }

  #homecms {
    margin-top: 5px !important;
  }

  #features-filter {
    margin-bottom: 5px;
  }
  .product .fabric-samples-button {
    background-color: #ebb479;
    background-image: linear-gradient(-135deg, #fff 50%, transparent 50%),
      linear-gradient(-45deg, #fff 50%, transparent 50%);
    background-position: top right, top right;
    background-size: 8px 8px;
    background-repeat: repeat-y;
    font-style: italic;
    color: white;
    padding: 4px 26px 4px 20px;
    font-size: 15px;
  }
  .sampleimg {
    width: 150px;
    height: 150px;
  }
  .sample {
    width: 100%;
    height: 150px;
  }
  .samplebg {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: none;
  }
  .sample_name {
    position: relative;
    font-size: 10vw;
    text-align: center;
    color: black;
    padding-top: 30px;
    padding-bottom: 1px;
    background-color: rgba(0, 0, 0, 0);
  }
  #features-container {
    width: 100% !important;
    right: inherit !important;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  #top_menu {
    padding-top: 24px !important;
  }

  .col-sm-1x5ths {
    width: 20%;
    float: left;
  }

  .col-sm-2x5ths {
    width: 40%;
    float: left;
  }

  .text-justify-sm {
    text-align: justify;
  }

  .text-left-sm {
    text-align: left;
  }
  .text-right-sm {
    text-align: right;
  }

  .text-center-sm {
    text-align: center;
  }

  #top_bar_order_samples_big {
    font-size: 13px;
    width: 111px;
    margin: 0px;
  }
  #top_bar_order_samples_small {
    font-size: 19px;
  }
  #top_bar_remove_all_samples {
    font-size: 12px;
    margin: 0px;
  }
  #top_bar_samples_header {
    font-size: 20px;
  }
  #samples_top_counter {
    font-size: 16px;
  }

  #product_wrapper #primary_inputs .primary_input {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #primary_inputs {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 991px) {
  #configurator_form .shape_group div {
    text-align: center !important;
  }

  .special_menu_container {
    padding-left: 22px !important;
  }

  #product_second_col {
    padding: 0px 20px;
  }

  .product_order_button {
    font-size: 18px;
  }

  #main_menu_tablet ul.list-inline li {
    padding-right: 18px;
  }
  .cart_voucher input[type="text"] {
    width: 100%;
  }
  .quantity_management input[name="quantity"] {
    width: 100%;
  }

  .stretched_slide {
    height: 453px !important;
  }

  #product_model_wrapper .model_container:nth-child(4n) {
    border-right: 1px solid #e2e5ea;
  }
}

@media (max-width: 992px) {
  .unig_social_block {
    margin: 25px 0px;
  }

  #product_wrapper .tab-content {
    width: 82%;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  #top_bar_order_samples_big {
    font-size: 17px;
    width: auto;
  }
  #top_bar_order_samples_small {
    font-size: 13px;
  }
  #top_bar_remove_all_samples {
    font-size: 14px;
  }
  #top_bar_samples_header {
    font-size: 20px;
  }

  .col-md-1x5ths {
    width: 20%;
    float: left;
  }

  .col-md-2x5ths {
    width: 40%;
    float: left;
  }

  .text-justify-md {
    text-align: justify;
  }

  .text-left-md {
    text-align: left;
  }
  .text-right-md {
    text-align: right;
  }

  .text-center-md {
    text-align: center;
  }

  .product .button {
    padding: 5px 8px 3px 8px;
    font-size: 13px;
  }

  .product .product-name {
    font-size: 100%;
  }

  #product_model_wrapper .model_container:nth-child(5n) {
    border-right: 1px solid #e2e5ea;
  }
}

@media (max-width: 1199px) {
  #shopping_cart .cart_qties {
    display: inline-block;
    padding: 3px;
    border-radius: 100%;
    width: 30px;
    height: 100%;
    font-weight: bold;
    margin: auto;
    text-align: center;
  }

  #shopping_cart {
    font-size: 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    cursor: hand;
    cursor: pointer;
  }

  #header_row {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
  #top_bar_order_samples_big {
    font-size: 15px;
  }
  #top_bar_order_samples_small {
    font-size: 16px;
  }
  #top_bar_remove_all_samples {
    font-size: 12px;
  }
  #top_bar_samples_header {
    font-size: 20px;
  }

  .col-lg-1x5ths {
    width: 20%;
    float: left;
  }

  .col-lg-2x5ths {
    width: 40%;
    float: left;
  }

  #shopping_cart .cart_qties {
    display: inline-block;
    border-radius: 100%;
    width: 22px;
    height: 100%;
    margin: auto;
    text-align: center;
  }

  #shopping_cart {
    font-size: 15px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    cursor: hand;
    cursor: pointer;
  }

  #shopping_cart > span:nth-child(1) {
    display: block !important;
  }

  .customer_support_dropdown > .row {
    margin: auto;
    width: 85%;
  }

  .text-justify-lg {
    text-align: justify;
  }

  .text-left-lg {
    text-align: left;
  }
  .text-right-lg {
    text-align: right;
  }

  .text-center-lg {
    text-align: center;
  }

  .product .button {
    padding: 4px 8px;
    margin: 5px 0px 3px 0px;
    font-size: 14px;
  }

  .products_block .buttons.buttons_simple .button {
    font-size: 14px;
  }

  .product .product-name {
    font-size: 100%;
  }
}

@media screen and (max-width: 480px) and (min-width: 321px) {
  #cart_product_popup #close_button {
    position: absolute !important;
    right: -1px !important;
    width: 50px !important;
    height: 50px !important;
    border: 1px solid black !important;
  }
  #cart_product_popup #product_info * {
    font-size: 16px !important;
  }
  #payever-loan-banner {
    width: 100% !important;
    margin-right: 2rem;
  }
}

@media (max-width: 320px) {
  #product_wrapper .attributes .attribute span {
    font-size: 14px;
  }

  .mobile_menu_toggler {
    padding-left: 9px;
  }

  #cart_product_popup #product_info * {
    font-size: 15px !important;
  }

  #cart_product_popup #close_button {
    position: absolute !important;
    right: -1px !important;
    width: 35px !important;
    height: 35px !important;
    border: 1px solid black !important;
  }

  #shopping_cart > span:nth-child(1) {
    display: block;
  }

  .cart_navigation .button {
    width: 100%;
  }

  #product_quantity_wrapper,
  #product_order_button_wrapper {
    width: calc(100% - 16px) !important;
    margin: 20px auto auto auto;
  }
}
