@media (min-width: 0px) and (max-width: 767px) {
  .productdetails .product-name {
    height: inherit;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .productdetails .product-field.product-field-type-Desc div:nth-child(2) {
    padding-left: inherit;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .productdetails .product-field.product-field-type-Desc div:nth-child(2) {
    padding-left: inherit;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .productdetails .product-name span:first-child {
    font-size: 20px !important;
    line-height: 40px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .productdetails .head-page .head-product {
    font-size: 20px;
    line-height: 30px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .border-relate {
    height: auto;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .border-relate {
    height: auto;
  }
}

@media (min-width: 1200px) and (max-width: 1700px) {
  .block-product-top {
    height: 100%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .block-product-top {
    height: 100%;
  }
}

@media (min-width: 1200px) and (max-width: 1700px) {
  .for-categname {
    padding-top: 60px;
    padding-left: 100px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .for-categname {
    padding-top: 50px;
    padding-left: 100px;
  }
}

@media (min-width: 1200px) and (max-width: 1700px) {
  .for-categname span {
    font-size: 30px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .for-categname span {
    font-size: 30px;
  }
}

@media (min-width: 1200px) and (max-width: 1700px) {
  .for-description {
    padding-left: 100px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .for-description {
    padding-left: 100px;
  }
}

@media (min-width: 1200px) and (max-width: 1700px) {
  .for-description span {
    font-size: 18px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .for-description span {
    font-size: 18px;
  }
}

@media (min-width: 1200px) and (max-width: 1700px) {
  .for-link {
    padding-left: 100px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .for-link {
    padding-left: 100px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .vm-pagination ul {
    padding-left: 0px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .vm-pagination ul .pagenav {
    padding: 3px 10px;
  }
}

/* Landscape Desktop */
@media (max-width: 1919px) and (min-width: 1824px) {
  .height-category-home {
    height: auto;
  }
  .block-row-category {
    height: auto;
  }
  .img-product {
    height: 100%;
  }
}

@media (min-width: 1281px) and (max-width: 1366px) {
  .height-category-home {
    height: auto;
  }
  .block-row-category {
    height: auto;
  }
  .img-product {
    height: 100%;
  }
  .for-link {
    padding-left: 100px;
  }
}

@media (min-width: 1201px) and (max-width: 1280px) {
  .height-category-home {
    height: auto;
  }
  .block-row-category {
    height: auto;
  }
  .img-product {
    height: 100%;
  }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .height-category-home {
    height: auto;
  }
  .block-row-category {
    height: auto;
  }
  .img-product {
    height: 100%;
  }
  li.sub-cat-taxt {
    padding: 5px 0 5px 0;
  }
  .scroll-right-to {
    top: 40px;
  }
}

@media (min-width: 1000px) and (max-width: 1100px) {
  .height-category-home {
    height: auto;
  }
  .block-row-category {
    height: auto;
  }
  .img-product {
    height: 100%;
  }
}

/* Ipad pro */
@media (min-width: 1024px) and (max-width: 1199px) {
  .menu-top a {
    padding: 0 15px 0 0px !important;
  }
  .detail-product {
    width: 100% !important;
    height: auto;
  }
  .sub-img-product img {
    width: 100%;
    height: auto;
  }
  .additional-images a {
    width: 90px;
    height: auto;
  }
  .product-related-products img {
    width: 100%;
    height: auto;
  }
  .img-product img {
    width: 100% !important;
    height: auto !important;
  }
  /* new */
  .blog-new img {
    object-fit: inherit;
  }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1023px) {
  .background-header,
  .img-category,
  .img-product,
  .height-category-home,
  .block-cat-main {
    height: auto;
  }
  .menu-top a {
    padding: 0 15px 0 0px !important;
  }
  .border-left-none {
    border-left: inherit;
  }
  .border-right-none {
    border-right: inherit;
  }
  .scroll-right-to {
    top: 30px;
  }
  li.sub-cat-taxt {
    padding: 2px 0 2px 0;
  }
  li.sub-cat-taxt a {
    font-size: 16px;
  }
  .img-product img {
    width: 100% !important;
    height: auto !important;
  }
  /* product */
  .product-related-products img {
    width: 100%;
    height: auto;
  }
  .detail-product {
    width: 100% !important;
    height: auto;
  }
  .additional-images img {
    width: 100%;
    height: auto;
  }
  .additional-images a {
    width: 92px;
    height: auto;
  }
  .block-row-category {
    height: auto;
  }
  .img-product {
    height: 100%;
  }
  .sub-img-product img {
    width: 100%;
    height: auto;
  }
  /* New */
  .blog-new .item-image {
    width: 100%;
    height: auto;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .logo {
    min-height: inherit;
    line-height: inherit;
    text-align: center;
  }
  .logo img {
    height: 100px;
  }
  .background-header {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100px;
  }
  .menu-tablet {
    padding-top: 100px;
  }
  .menu-responsive {
    position: absolute;
    top: 30px;
    left: 50px;
    z-index: 3;
  }
  .menu-responsive .active {
    background: #e7e6ec;
  }
  .icon-responsive {
    font-size: 40px;
  }
  .lang .srithepthai-call {
    display: none;
  }
  .tel {
    display: none;
  }
  .line-lang {
    display: none;
  }
  .srithepthai-search {
    position: relative;
    top: -100px;
    right: 50px;
  }
  .sidenav a:hover {
    color: #818181;
  }
  .search {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: inherit;
    width: 100%;
    height: 34px;
    text-align: center;
  }
  .search input[type="search"] {
    width: 100%;
  }
  .height-150 {
    height: 150px;
  }
  .height-100 {
    height: 100px;
  }
  .mod-languages li {
    float: left;
    width: 100%;
  }
  .mod-languages a {
    background: inherit;
    border-radius: inherit;
    color: #d31924;
  }
  .mod-languages a:hover {
    color: #d31924;
  }
  .box-homepage img {
    width: 100% !important;
    height: auto !important;
  }
  #new-home {
    z-index: inherit !important;
  }
  .des-product {
    width: max-content;
  }
  .product-fields .desc,
  .product-fields p {
    padding-left: 135px;
  }
  /* menu product responsive */
  .button-show-menu {
    width: 100%;
  }
  .button-show-menu .fa-angle-double-down {
    font-size: 20px;
  }
  .menu-left li:last-child {
    border-bottom: inherit;
  }
  .menu-left li {
    border-top: inherit;
  }
  .mob-category .dropdown-tablet {
    text-align: center;
    margin-top: 20px;
  }
  .mob-category button {
    border: 1px solid;
    background: inherit;
    padding: 10px;
    width: 100%;
    border-radius: inherit;
  }
  .mob-category button i {
    font-size: 18px;
  }
  .mob-category button .caret {
    position: absolute;
    right: 15px;
    top: 20px;
  }
  .width100-tablet {
    position: absolute;
    left: 0;
    right: 0;
  }
  .width100-tablet i {
    font-size: 18px;
  }
  .sub-category-mobile {
    text-align: center;
    margin: 20px 0 20px 0;
  }
  .sub-category-mobile select {
    width: 100%;
    height: 40px;
    padding-left: 15px;
  }
  .button-all {
    text-align: center;
  }
  .button-all a {
    margin-top: inherit;
  }
  .product-image {
    border: 1px solid #f5f5f5;
  }
  .product-name {
    margin-top: 15px;
  }
  .product-mobile .product-name a {
    font-family: "rsubold";
    color: #1f4478 !important;
    font-size: 18px;
    text-align: left;
    padding-left: 15px;
  }
  .margin-top70 {
    margin-top: 30px;
  }
  .sp-page-builder .page-content #section-id-1517392951777 .sppb-col-sm-12.sppb-col-xs-12 {
    z-index: 5;
  }
  .sp-page-builder .page-content #new-home {
    padding: 50px 0px 108px 0px;
  }
  /* product */
  .img-product img {
    width: 100% !important;
    height: auto !important;
  }
  .vm-col-3 {
    width: 33.333% !important;
  }
  .detail-product {
    width: 100% !important;
    height: auto;
  }
  .additional-images a {
    width: 70px;
    height: auto;
  }
  .sub-img-product img {
    width: 100%;
    height: auto;
  }
  .sub-img-product > .additional-images > div:first-child {
    padding-left: 15px;
  }
  .product-related-products img {
    width: 100%;
    height: auto;
  }
  /* contact us */
  #sppb-addon-1516334608642 {
    margin: 0px 0px 30px 0px;
  }
  .padding-left-28.company {
    padding-left: 0px;
  }
  .box-contact {
    width: 100%;
  }
  /* footer */
  .menu-footer ul {
    margin-top: 47px;
    column-gap: 100px;
  }
  .menu-footer li {
    width: max-content;
  }
  .subscribe {
    margin-top: 20px;
  }
}

/* Phones 576px and up */
@media (min-width: 576px) and (max-width: 767px) {
  /* header */
  .logo {
    min-height: inherit;
    line-height: inherit;
    text-align: center;
  }
  .logo img {
    width: auto;
    height: 80px;
  }
  .background-header {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 80px;
  }
  .menu-mobile {
    padding-top: 80px;
  }
  .menu-responsive {
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 3;
  }
  .menu-responsive .active {
    background: #e7e6ec;
  }
  .icon-responsive {
    font-size: 25px;
  }
  .lang .srithepthai-call {
    display: none;
  }
  .tel {
    display: none;
  }
  .line-lang {
    display: none;
  }
  .srithepthai-search {
    position: relative;
    top: -90px;
    right: 15px;
  }
  .sidenav a:hover {
    color: #818181;
  }
  .search {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: inherit;
    width: 100%;
    height: 34px;
    text-align: center;
  }
  .search input[type="search"] {
    width: 95%;
  }
  .search-btn {
    display: none !important;
  }
  .height-120 {
    height: auto;
  }
  .height-80 {
    height: 80px;
  }
  .mod-languages li {
    float: left;
    width: 100%;
  }
  .mod-languages a {
    background: inherit;
    border-radius: inherit;
    color: #d31924;
  }
  .mod-languages a:hover {
    color: #d31924;
  }
  #new-home {
    z-index: inherit !important;
  }
  .button-show-menu {
    width: 100%;
  }
  .button-show-menu .fa-angle-double-down {
    font-size: 20px;
  }
  .menu-left li:last-child {
    border-bottom: inherit;
  }
  .menu-left li {
    border-top: inherit;
  }
  /* menu product responsive */
  .mob-category .dropdown-tablet {
    text-align: center;
    margin-top: 20px;
  }
  .mob-category button {
    border: 1px solid;
    background: inherit;
    padding: 10px;
    width: 100%;
    border-radius: inherit;
  }
  .mob-category button i {
    font-size: 18px;
  }
  .mob-category button .caret {
    position: absolute;
    right: 15px;
    top: 20px;
  }
  .width100-tablet {
    position: absolute;
    left: 0;
    right: 0;
  }
  .width100-tablet i {
    font-size: 18px;
  }
  .sub-category-mobile {
    text-align: center;
    margin: 20px 0 20px 0;
  }
  .sub-category-mobile select {
    border: 1px solid;
    width: 100%;
    height: 40px;
    padding-left: 15px;
  }
  .button-all {
    text-align: center;
  }
  .button-all a {
    width: auto;
    height: auto;
    padding-top: inherit;
    margin-top: 20px;
    padding: 5px 15px 5px 15px;
  }
  .product-image {
    border: 1px solid #f5f5f5;
  }
  .product-name {
    margin-top: 15px;
  }
  .product-mobile .product-name a {
    font-family: "rsubold";
    color: #1f4478 !important;
    font-size: 18px;
    text-align: left;
    padding-left: 15px;
  }
  .margin-top70 {
    margin-top: 20px;
  }
  .sp-page-builder .page-content #section-id-1517392951777 .sppb-col-sm-12.sppb-col-xs-12 {
    z-index: 5;
  }
  .sp-page-builder .page-content #new-home {
    padding: 50px 0px 108px 0px;
  }
  /* produt */
  .img-product img {
    width: 100% !important;
    height: auto !important;
  }
  .btn-product {
    margin-bottom: 20px;
  }
  .detail-product {
    width: 100% !important;
    height: auto;
  }
  .product-related-products img {
    width: 100%;
    height: auto;
  }
  .sub-img-product {
    display: none;
  }
  .productdetails .product-related-products .product-fields-title-wrapper {
    padding: 80px 15px 30px 15px;
  }
  .product-name {
    height: inherit;
    margin-bottom: 10px;
  }
  .des-product {
    width: max-content;
  }
  .product-fields .desc,
  .product-fields p {
    padding-left: 130px;
  }
  /* contact us*/
  #sppb-addon-1516334608642 {
    margin: 0px 0px 30px 0px;
  }
  .padding-left-28.company {
    padding-left: 0px;
    margin-bottom: 20px;
  }
  #sppb-addon-1517387522642 .sppb-addon-gmap-canvas {
    width: 100%;
  }
  .box-contact {
    width: 100%;
  }
  .subscribe .acymailing_form {
    margin-bottom: 22px;
  }
  /* footer */
  .background-footer {
    height: auto;
  }
  .background-copyright {
    height: auto;
  }
  .menu-footer ul {
    margin-top: 47px;
    margin-left: 12px;
  }
  .subscribe {
    margin-top: 20px;
    margin-left: 12px;
  }
}

/* Phones extra small devices less than 576px */
@media (max-width: 575px) {
  /* header */
  .logo {
    min-height: inherit;
    line-height: inherit;
    text-align: center;
  }
  .logo img {
    width: auto;
    height: 80px;
  }
  .background-header {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 80px;
  }
  .menu-mobile {
    padding-top: 80px;
  }
  .menu-responsive {
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 3;
  }
  .menu-responsive .active {
    background: #e7e6ec;
  }
  .icon-responsive {
    font-size: 25px;
  }
  .lang .srithepthai-call {
    display: none;
  }
  .tel {
    display: none;
  }
  .line-lang {
    display: none;
  }
  .srithepthai-search {
    position: relative;
    top: -90px;
    right: 15px;
  }
  .sidenav a:hover {
    color: #818181;
  }
  .search {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: inherit;
    width: 100%;
    height: 34px;
    text-align: center;
  }
  .search input[type="search"] {
    width: 95%;
  }
  .search-btn {
    display: none !important;
  }
  .height-120 {
    height: auto;
  }
  .height-80 {
    height: 80px;
  }
  .mod-languages li {
    float: left;
    width: 100%;
  }
  .mod-languages a {
    background: inherit;
    border-radius: inherit;
    color: #d31924;
  }
  .mod-languages a:hover {
    color: #d31924;
  }
  #new-home {
    z-index: inherit !important;
  }
  .button-show-menu {
    width: 100%;
  }
  .button-show-menu .fa-angle-double-down {
    font-size: 20px;
  }
  .menu-left li:last-child {
    border-bottom: inherit;
  }
  .menu-left li {
    border-top: inherit;
  }
  /* menu product responsive */
  .mob-category .dropdown-tablet {
    text-align: center;
    margin-top: 20px;
  }
  .mob-category button {
    border: 1px solid;
    background: inherit;
    padding: 10px;
    width: 100%;
    border-radius: inherit;
  }
  .mob-category button i {
    font-size: 18px;
  }
  .mob-category button .caret {
    position: absolute;
    right: 15px;
    top: 20px;
  }
  .width100-tablet {
    position: absolute;
    left: 0;
    right: 0;
  }
  .width100-tablet i {
    font-size: 18px;
  }
  .sub-category-mobile {
    text-align: center;
    margin: 20px 0 20px 0;
  }
  .sub-category-mobile select {
    border: 1px solid;
    width: 100%;
    height: 40px;
    padding-left: 15px;
  }
  .button-all {
    text-align: center;
  }
  .button-all a {
    width: auto;
    height: auto;
    padding-top: inherit;
    margin-top: 20px;
    padding: 5px 15px 5px 15px;
  }
  .product-image {
    border: 1px solid #f5f5f5;
  }
  .product-name {
    margin-top: 15px;
    height: 4em;
    line-height: 16px;
  }
  .product-mobile .product-name a {
    font-family: "rsubold";
    color: #1f4478 !important;
    font-size: 18px;
    text-align: left;
  }
  .margin-top70 {
    margin-top: 20px;
  }
  .sp-page-builder .page-content #section-id-1517392951777 .sppb-col-sm-12.sppb-col-xs-12 {
    z-index: 5;
  }
  .sp-page-builder .page-content #new-home {
    padding: 50px 0px 108px 0px;
  }
  /* produt */
  .img-product img {
    width: 100% !important;
    height: auto !important;
  }
  .btn-product {
    margin-bottom: 20px;
  }
  .detail-product {
    width: 100% !important;
    height: auto;
  }
  .product-related-products img {
    width: 100%;
    height: auto;
  }
  .sub-img-product {
    display: none;
  }
  .productdetails .product-related-products .product-fields-title-wrapper {
    padding: 80px 15px 30px 15px;
  }
  .product-name {
    margin-bottom: 10px;
  }
  .des-product {
    width: max-content;
  }
  .product-fields .desc,
  .product-fields p {
    padding-left: 130px;
  }
  /* contact us*/
  #sppb-addon-1516334608642 {
    margin: 0px 0px 30px 0px;
  }
  .padding-left-28.company {
    padding-left: 0px;
    margin-bottom: 20px;
  }
  #sppb-addon-1517387522642 .sppb-addon-gmap-canvas {
    width: 100%;
  }
  .box-contact {
    width: 100%;
  }
  .subscribe .acymailing_form {
    margin-bottom: 22px;
  }
  /* footer */
  .background-footer {
    height: auto;
  }
  .background-copyright {
    height: auto;
  }
  .menu-footer ul {
    margin-top: 47px;
    margin-left: 12px;
  }
  .subscribe {
    margin-top: 20px;
    margin-left: 12px;
  }
}
