@media screen and (max-width: 1500px) {
  .consent {
    width: 30%;
  }
}

@media screen and (max-width: 1300px) {
  #header-categories {
    font-size: 0.8em;
    line-height: 2em;
  }

  #logo {
    width: 18%;
  }

  #header_searchbox {
    width: 50%;
    margin-left: -4em;
  }

  #control-links {
    width: 13%;
  }

  .control_text {
    display: none;
  }
}

@media screen and (max-width: 1050px) {
  #logo {
    width: 20%;
  }

  #logos {
    width: 95%;
  }

  #header-categories {
    display: none;
  }

  #welcome-text {
    width: 95%;
  }

  .cat ul {
    display: none;
  }

  .list_center {
    max-width: 50%;
  }

  .product_desc {
    display: flex;
    flex-direction: column;
  }

  .product_header .product_info_price {
    display: block;
    min-width: max-content;
  }

  .box {
    min-height: initial;
  }

  .buy_actions {
    margin-top: 0;
  }

  .box .product_info_price {
    display: none;
  }

  .product_header {
    order: 1;
  }

  .product_pictures_container {
    order: 2;
  }

  .box {
    order: 3;
    width: 100%;
    position: initial;
    margin-top: 3%;
  }

  .product_info_description {
    order: 4;
  }

  /* account */
  .account_grid {
    display: flex;
    flex-direction: column;
  }

  .account_grid ul {
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    flex-wrap: wrap;
  }

  .account_grid li {
    padding: 0 20px;
  }

  #account_mspa .products_container .products {
    width: 30%;
  }

  .consent {
    width: 35%;
  }
}

@media screen and (max-width: 950px) {

  #logo {
    width: 25%;
  }

  #header_searchbox {
    width: 45%;
    margin-left: -5em;
  }

  input.search-bar {
    background-size: 7%;
    background-position: 9px center;
  }

  input.search-bar::placeholder {
    font-size: 18px;
  }

  #control-links {
    width: 17%;
  }

  section.main {
    margin: 3%;
  }

  #logos {
    display: none;
  }

  #welcome-text h1 {
    font-size: 1.1em;
  }

  /* .welcome_description {
    display: none;
  } */

  .main_form {
    width: 100%;
  }

  .button_container .css_button {
    line-height: 35px;
    height: 35px;
    font-size: 15px;
    margin: 5px;
  }

    /* product list */

  .list {
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    justify-content: space-between;
    align-items: flex-end;
  }

  .list_left {
    flex-basis: 100%;
    text-align: center;
  }

  .list_center {
    padding: 0;
  }

  .list_center h4 {
    font-size: 1.2em;
  }

  .list_center > p:last-of-type {
    margin-bottom: 0;
  }

  .more_infos {
    display: none;
  }

  .list .list_right {
    margin-left: 0;
    align-items: right;
    /* flex-direction: row; */
    /* justify-content: space-between; */
  }

  .availability_container {
    text-align: right;
  }

  .price_container {
    text-align: right;
  }

  .list_right .button_buy_now {
    margin-top: 0;
  }

  /* product_info */

  .option select {
    height: 35px;
    font-size: 1.2em;
  }

  .menu_with_summary_container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .shopping_cart_summary {
    width: 100%;
  }

  .shopping_cart_summary div {
    padding: 0;
    line-height: 40px;
  }

  .product_list {
    width: 100%;
  }

  .breadcrumb_item {
    display: none;
  }

  .breadcrumb_previous {
    display: inline-block;
	  background: url('images/icons/breadcrumb_arrow_white_reversed.png') #2C6AD1 no-repeat left bottom;

  }
}

@media screen and (max-width: 850px) {

   #header_searchbox {
    width: 43%;
    margin-left: -6em;
  }

  .account_menu li {
    width: 49%;
  }

  #account_mspa .products_container {
    justify-content: center;
  }
  #account_mspa .products_container .products {
    width: 40%;
  }
}

@media screen and (max-width: 800px) {
  .product_pictures_container {
    flex-direction: row;
    justify-content: center;
    height: auto;
  }

  .main_image {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 5%;
  }

  .main_image img {
    height: auto;
    width: 60%;
  }

  .main_image iframe {
    width: 100%;
    height: auto;
  }

  .sub_image {
    margin: 2px;
  }

  .quantityLabel input {
    height: 35px;
    font-size: 1.2em;
  }

  .extra {
    flex-wrap: wrap;
  }

  .product_info_description {
    width: 100%;
  }

  .consent {
    right: 0px;
    left: 0px;
    bottom: 0;
    border-width: .3em 0 0 0;
    border-radius: 0;
    width: inherit;
  }
}

@media screen and (max-width: 730px) {
  #header_searchbox {
    width: 90%;
    order: 3;
    margin: 0 auto 10px;
  }

  #control-links {
    width: 70%;
  }

  .control_text {
    display: block;
    /* font-size: 14px; */
  }

  #footer-lang {
    width: 100px;
  }

  .lang_flags img {
    width: 40px;
  }

  .form_box {
    min-height: 50px;
  }

  .menu_dropdown {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    justify-content: center;
    align-items: center;
    font-size: 2em;
  }

  header#main .menu_dropdown a {
    padding: 15px;
    font-size: 1.2em;
    width: 60%;
    border: none;
  }

  header#main .menu_dropdown > a + a {
    border-top: 1px solid #2C6AD1;
  }

  .menu_dropdown span {
    transform: rotate(-45deg);
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .menu_dropdown span,
  .menu_dropdown span::after {
    display: block;
    width: 25px;
    height: 4px;
    background: black;
    cursor: pointer;
  }

  .menu_dropdown span::after {
    content: '';
    transform: rotateZ(90deg);
  }

  .select-js {
    width: auto;
  }

  .filter_select_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category_header_title {
    font-size: 1.3em;
  }


}

@media screen and (max-width: 550px) {
  #logo {
    width: 35%;
  }

  input.search-bar {
    height: 32px;
  }

  input.search-bar::placeholder {
    font-size: 14px;
  }

  #control-links {
    width: 50%;
  }

  .control_text {
    display: none;
  }

  #logos-payment {
    flex: 100% 0 0;
    grid-template-columns: repeat(5, 1fr);
  }

  #logos-payment h4 {
    grid-column: 1 / span 5;
  }

  .list {
    flex-direction: column;
    align-items: center;
  }

  .list_center {
    align-self: center;
    text-align: center;
    max-width: 100%;
  }

  .list_center p {
    display: none;
  }

  .list_center ul {
    display: none;
  }

  .list_center ul.shopping_cart_options {
    display: block;
    text-align: left;
  }

  .list .list_right {
    align-items: center;
  }

  .price_container {
    text-align: center;
  }

  .availability_container {
    text-align: left;
  }

  .account_menu li {
    width: 100%;
  }

  .list_details td {
    display: block;
  }

  .list_details tr {
    display: block;
  }

  .list_details thead {
    display: none;
  }

  .list_details .products_count {
    display: none;
  }

  .shopping_cart_buttons .css_button{
    height: auto;
    line-height: 20px;
  }

  .mobile_column {
    flex-direction: column;
  }

  .menu_dropdown a {
    line-height: 2em;
  }

  #footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-infos {
    padding: 1em;
  }
}

@media screen and (max-width: 450px) {

  #control-links > a > img {
    width: 35px;
  }

  .list .list_right {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .availability_container {
    text-align: center;
  }

  .quantityLabel input {
    display: block;
  }

  .quote_container_header {
    line-height: 25px;
  }

  .category_header_title {
    font-size: .9em;
  }

  #address_list_form #address_list_head {
    margin-bottom: 10px;
  }

  #account_mspa .products_container .products {
    width: 100%;
  }
}

@media screen and (max-width: 320px) {
  header#main {
    flex-direction: column;
  }

  #logo {
    width: 50%;
  }

  #control-links {
    justify-content: center;
  }

  .filter_select_grid {
    grid-template-columns: 1fr;
  }
}
