@media screen and (max-width: 1200px) {
    .top-search .desc {
        font-size: 12px;
        line-height: 16px;
    }
}

@media screen and (max-width: 1024px) {
    
    .recall {
	    font-size: 12px;
	}
	.topnav a {
	    padding: 14px 10px;
	    font-size: 12px;
	}
	
	.phone-number a:not(:last-child):after {
	    display:none;
    }

  .topnav a {
    font-size: 80%;
    padding: 14px 12px;
  }
  .recalls a span {
    display: none;
}
.recalls a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.recalls a i {
    padding: 0;
}
.top-search {
    flex-direction: column;
}
.top-search > div {
    width: 100%;
}
.top-search .desc {
    font-size: 12px;
    margin-right: 0;
}
.search-block {
    margin: 5px 0 0 0;
}
.search-block input {
    height: 30px;
}
.search-block button {
    height: 30px;
}
.phone-number a:not(:first-child) {
    padding-left: 17px;
    margin-top: 4px;
}
.topline-new .margo-container {
    grid-template-rows: 1fr 1fr;
    padding-top: 5px;
    padding-bottom: 10px;
}
.topline-new .margo-container > *:nth-child(2) {
    grid-row: 1/3;
}
.topline-new .margo-container > *:nth-child(3) {
    grid-column: 2/4;
    grid-row: 1/2;
}
.topline-new .margo-container > *:nth-child(4) {
    grid-column: 2/4;
    grid-row: 2/4;
}
.topline-new .margo-container > *:nth-child(5) {
    grid-row: 1/3;
    display: flex;
    flex-direction: column;
    justify-self: center;
}
.account-link {
    align-self: center;
    grid-row: 1/3;
}

}

@media screen and (max-width: 768px) {
    
    .topnav a, .topnav .dropdown {display: none;}
      .topnav a.icon {
        float: right;
        display: block;
      }
      
.topline-new .margo-container {
    -ms-grid-columns: 1fr 1fr 1fr 1fr 100px;
    grid-template-columns: 1fr 1fr 1fr 1fr 100px;
}

.topline-new .margo-container > *:nth-child(2) {
    grid-row: 1/2;
    grid-column: 1/4;
}

.topline-new .margo-container > *:nth-child(2) {
    flex-direction: row;
}

.topline-new .margo-container > *:nth-child(3) {
    grid-column: 1/2;
    grid-row: 2/3;
    justify-self: flex-start;
}

.topline-new .margo-container > *:nth-child(4) {
    grid-column: 2/3;
}
      
      .right-nav {
        float: left;
    }
    
    .top-search .desc {
        display: none;
    }
      
    .topnav.responsive {position: relative;}
      .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
      }
      .topnav.responsive a, .topnav.responsive .dropdown {
        float: none;
        display: block;
        text-align: left;
      }
      
      .work-mode {
	    /*display: none;*/
	}
	.topline-new .margo-container {
	    -ms-grid-columns: 120px 2fr 1fr 1fr 120px;
	    grid-template-columns: 120px 2fr 1fr 1fr 120px;
	}
	.topline-new .margo-container > *:nth-child(2) {
        flex-direction: column;
    }
	header .margo-container {
	    -ms-grid-columns: 2fr 3fr 1fr 3fr;
	    grid-template-columns: 2fr 3fr 1fr 3fr;
	}
	
    .slide-section .margo-container {
        grid-template-columns: 100%;
    }
    .common-home h1 {
      text-align: center;
      line-height: 24px;
  }
    .slide-name {
      margin: 5px 5px 15px;
      width: 100%;
  }
  .product-main-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
  }
  .product-main-grid div a span {
    font-size: 14px;
    left: 0;
    right: 0;
  }
  .product-main-grid div a:hover span {
    left: 0;
    bottom: 50%;
    background: #fff;
    color: #a72681;
    transform: translate(0%, 50%);
  }
}

@media screen and (max-width: 670px) {
    .topline-new .margo-container > *:nth-child(2) {
        grid-column: 1/3;
    }
    .topline-new .margo-container > *:nth-child(3) {
        grid-column: 3/5;
        grid-row: 1/2;
    }
    .topline-new .margo-container > *:nth-child(4) {
        grid-column: 1/4;
    }
    .top-search .desc {
        display: none;
    }
}

@media screen and (max-width: 600px) {
  .topnav a {
    display: none;
}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 15px;
    top: 0;
  }
  .topnav.responsive a, .topnav.responsive .main-menu-dropdown {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav .icon i {
    padding: 0 5px;
  }
    .topline-new .margo-container {
        grid-template-rows: 1fr;
        grid-template-columns: 2fr 1fr 1fr;
    }
    .topline-new .margo-container > *:nth-child(2) {
        grid-column: 1/2;
    }
    .topline-new .margo-container > *:nth-child(3) {
        grid-column: 2/3;
    }
    .topline-new .margo-container > *:nth-child(4) {
        display: none;
    }
    .topline-new .margo-container > *:nth-child(5) {
        grid-row: 1/2;
    }
    .topline-new * {
        font-size: 12px;
    }
    .breadcrumb {
    	overflow-x: scroll;
        max-width: 100%;
    }
    .remove_cart {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (min-width: 768px) {
  .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-tabs.nav-justified > li > a {
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
  }
  .nav-tabs.nav-justified > .active > a,
  .nav-tabs.nav-justified > .active > a:hover,
  .nav-tabs.nav-justified > .active > a:focus {
    border-bottom-color: #fff;
  }
}


@media screen and (max-width: 425px) {
    .city-address, .main-email {
	    display: none;
	}
	.topline-new .margo-container {
        -ms-grid-columns: 2fr 1fr;
        grid-template-columns: 2fr 1fr;
    }
    
.topline-new .margo-container > *:nth-child(2) {
    grid-column: 1/3;
}

.topline-new .margo-container > *:nth-child(3) {
    grid-column: 1/3;
}

.account-link {
    align-self: center;
    grid-row: 2/3;
    grid-column: 3/5;
    justify-self: flex-end;
}

.topline-new .margo-container > *:nth-child(5) {
    grid-row: 1/2;
    grid-column: 3/5;
    display: flex;
    flex-direction: column;
    justify-self: flex-end;
}

.top-cart {
    grid-row: 1/2;
    grid-column: 2/3;
}

.recalls {
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 999;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
}
.recalls a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

	header {
	    padding-top: 5px;
	    padding-bottom: 5px;
	}
	header .margo-container {
	    -ms-grid-columns: 2fr 1fr;
	    grid-template-columns: 2fr 1fr;
	    -ms-grid-rows: 1fr .5fr;
	    grid-template-rows: 1fr .5fr;
	}
	header .margo-container > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
	}
	header .margo-container > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
	}
	header .margo-container > *:nth-child(3) {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
	}
	header .margo-container > *:nth-child(4) {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
	}
	.top-search {
	    -ms-grid-row: 2;
	        grid-row-start: 2;
	    -ms-grid-row-span: 1;
	    grid-row-end: 3;
	    -ms-grid-column: 1;
	        grid-column-start: 1;
	    -ms-grid-column-span: 2;
	    grid-column-end: 3;
	    padding: 0 15px;
	}
	.recall {
	    display: none;
	}
	#cart-total-price {
	    /*display: none;*/
	}
	#cart {
	    padding-right: 15px;
	}
	.select_city .other_city a {
	    min-width: 130px;
	}
	a.openModal {
	    display: none;
	}
    .slide-section .margo-container {
        grid-template-columns: 0px 100% 0px;
    }
    .top-line-block img {
        max-width: 180px;
    }
    #cart {
        margin-top: 0;
    }
    .main-text-page {
	    padding: 0;
	    padding-right: 0;
	}
    .search-box input {
        width: calc(100% - 130px);
    }
    .search-box button {
        width: 130px;
    }
    .main-text-page p {
        max-width: 100%;
    }
    .row {
      margin-right: 0px;
      margin-left: 0px;
  }
    .productcategory img {
      margin: 0 auto;
  }
    .simplecheckout .form-horizontal label {
      padding-bottom: 10px;
  }
  .radio-btns > div {
      width: 100%;
  }
  .mob-feedback {
    display: block;
  }
  .product-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 375px) {
  .slick-dots {
    bottom: -40px;
    }
    .breadcrumb {
        margin-top: 10px;
    }
    .topline-new .margo-container {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    }
    .topline-new .margo-container > *:nth-child(1) {
            -ms-grid-row: 1;
            -ms-grid-column: 1;
    }
    .topline-new .margo-container > *:nth-child(2) {
            -ms-grid-row: 1;
            -ms-grid-column: 2;
    }
    .topline-new .margo-container > *:nth-child(3) {
            -ms-grid-row: 2;
            -ms-grid-column: 1;
    }
    .topline-new .margo-container > *:nth-child(4) {
            -ms-grid-row: 2;
            -ms-grid-column: 2;
    }
    .phone-number {
        -ms-grid-row: 2;
            grid-row-start: 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        grid-column: 1 / 3;
        padding-top: 5px;
    }
    .top-logo img {
        width: 50%;
    }
    #cart button i {
        font-size: 30px;
    }
    #cart-total {
        top: -5px;
        right: -5px;
    }
    header .margo-container {
        -ms-grid-rows: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .search-block input {
        height: 30px;
        padding: 0 0 0 42px;
    }
    .search-block button {
        height: 30px;
    }
}

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