/* Legal Notice - DO NOT REMOVE THIS NOTICE // START CSS Document Ownership. 
This CSS document is owned and managed by Swift Productions ABN 84 723 182 610, Suite F, 
Level 1 - The Octagon Building, 110 George St, Parramatta NSW 2150 Australia. 
This document contains Code which has been written by Swift Productions. 
Unauthorised reproducing, copying, selling and/or modifying is strictly prohibited. 
Doing so may result in legal action. 
Legal Notice - DO NOT REMOVE THIS NOTICE // END */


/* --------------------------------------------------------
Project Name: Template 4 - My Auto Parts
Version: 1.0 
Created by: Waqas @Swiftproductions on 17 July 2024 
----------------------------------------------------------*/


*{
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    font-family: 'Didact Gothic', sans-serif;
}
img {
    max-width: 100%;
    width: auto;
    height: auto;
}

a {
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}
*,
*:before,
*:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
body {
    line-height: 1;
    margin: 0;
    padding: 0;
    font-family: 'Didact Gothic', sans-serif;
}
.wrapper {
    float:left;
    width:100%;
    font-weight:400;
}
/*  container
========================================== */
.container {
    max-width: 1250px;
    margin: auto;
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
}
.topBar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    background: #000000;
    padding: 9px 0 12px 0;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
} 
.header{
    width: 100%;
    padding: 22px 0 0 0;
    border-bottom: 1px solid #f1f2f2;
}
.header-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search {
    margin-top: 11px;
    margin-left: -142px;
}

.atc-top {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}
.menu {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 33px;
    position: relative;
}

.menu>ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.menu>ul>li>a {
    font-size: 17px;
    text-transform: uppercase;
    color: #000000;
    font-weight: bold;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sub-menu{
    position: absolute;
    z-index: 9;
    left: 0;
    top: 26px;
    width: 100%;
    padding: 27px;
    border: 1px solid #cacaca;
    border-top: none;
    background-color: #fff;
    justify-content: start;
    gap:50px;
    border-radius: 3px;
    display: none;
}
.menu>ul>li:hover>a{
    color: #fec234;
}
.menu>ul>li:hover .sub-menu{
    display: flex;
}
.menu>ul>li>a:after {
    content: '';
    width: 18px;
    height: 2px;
    background: #fff;
    margin-top: 8px;
}
.menu>ul>li:hover a:after {
    background: #5b5b5b;
}
.ddm-col {
    width: 100%;
}
.ddm-col li {
    list-style: none;
    display: inline-block;
    width: 24%;
}
.ddm-col li a{
    font-size: 21px;
    line-height: 39px;
    color: #5b5b5b;
    font-weight: 400;
}
.banner{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.banner img {
  width:100%; max-width:1280px;
}

/* ========== Gallery  // START ========== */

.productGallery {
    position: relative;
    float: left;
    width: 100%;
}
.body-container {
    
    background: #fff;
    max-width: 1230px;
    margin: 0 auto;
    width: 100%;
    overflow: auto;
}
.gallery-container {
    width: 100%;
    float: left;
    padding: 0;
}
.gallery {
    width: 55%;
    position: relative;
    padding: 30px 30px 16px 30px;
    margin: 30px auto 0 auto;
    overflow: hidden;
    float: left;
}
.prod-title {
    float: left;
    width: 100%;
    text-align: center;
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 57px;
}
.white-box {
    height: 630px;
    width: 630px;
    margin: auto;
    float: right;
    border: 1px solid #dfdfdf;
}
.sm-block{display:none;}
.thumbnails {
    padding-top: 0px;
    margin-top: 25px;
    margin-left: 0px;
    margin-bottom: 0;
    float: left;
    margin-right: 0;
    width: 100%;
    text-align: right;
}
.thumbnails-row {
    width: 630px;
    max-width: 100%;
    float: right;
    text-align: center;
}
.thumbnails input[type=radio] {
    display: none;
}

.thumbnails label:hover {
    border-color: #e0e0e0;
}

.thumbnails label {
    display: inline-block;
    width: 98px;
    height: 98px;
    position: relative;
    cursor: pointer;
    transition: .5s;
    margin: 5px;
}

.thumbnails .image1 {
	margin-left: 0 !important;
}
.thumbnails .image6{
	margin-right: 0 !important;
}

.thumbnails label img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95px;
    max-height: 95px;
	border: 1px solid #dfdfdf;
}
.g-img-con {
    width: 100%;
    max-width: 630px;
    height: 630px;
    overflow: hidden;
    box-sizing: border-box;
    position: absolute;
    top: 30px;
    right: 30px;
    margin:auto;
    transform: translate(0%, 0);
    -webkit-transform: translate(0%, 0);
    -moz-transform: translate(0%, 0);
    padding: 0;
    margin-bottom: 30px;
}

.gallery-content {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 630px;
    height: 100%;
    max-height: 630px;
    -webkit-animation: cssAnimation 0.7661s 1 ease-in-out;
    -moz-animation: cssAnimation 0.7661s 1 ease-in-out;
    -o-animation: cssAnimation 0.7661s 1 ease-in-out;
    overflow: hidden;
    z-index: 1;
    padding: 10px;
}

#image1:checked~.g-img-con #gallery-content-1,
#image2:checked~.g-img-con #gallery-content-2,
#image3:checked~.g-img-con #gallery-content-3,
#image4:checked~.g-img-con #gallery-content-4,
#image5:checked~.g-img-con #gallery-content-5,
#image6:checked~.g-img-con #gallery-content-6,
#image7:checked~.g-img-con #gallery-content-7,
#image8:checked~.g-img-con #gallery-content-8,
#image9:checked~.g-img-con #gallery-content-9,
#image10:checked~.g-img-con #gallery-content-10,
#image11:checked~.g-img-con #gallery-content-11,
#image12:checked~.g-img-con #gallery-content-12 {
    display: block;
    -webkit-animation: cssAnimation 0.7661s 1 ease-in-out;
    -moz-animation: cssAnimation 0.7661s 1 ease-in-out;
    -o-animation: cssAnimation 0.7661s 1 ease-in-out;
}
/* #image1:checked~ label.image1{
    border:1px solid #e0e0e0;
}
#image2:checked~ label.image2{
    border:1px solid #e0e0e0;
}
#image3:checked~ label.image3{
    border:1px solid #e0e0e0;
}
#image4:checked~ label.image4{
    border:1px solid #e0e0e0;
}
#image5:checked~ label.image5{
    border:1px solid #e0e0e0;
} */
.thumbnails .item-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.thumbnails .gallery-content img {
    right: 0;
    bottom: 0;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}

.grid-item {
    height: 20%;
    width: 20%;
}

.grid-item:hover {
    cursor: move;
}

.grid-item:hover~img {
    height: 200%;
    width: 200%;
    max-width: 200%;
    max-height: 200%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition: 600ms ease-out;
    transition: 600ms ease-out;
}

.grid-item:hover:nth-of-type(5n + 1)~img {
    left: 0px;
}

.grid-item:hover:nth-of-type(5n + 2)~img {
    left: -112.5px;
}

.grid-item:hover:nth-of-type(5n + 3)~img {
    left: -255px;
}

.grid-item:hover:nth-of-type(5n + 4)~img {
    left: -337.5px;
}

.grid-item:hover:nth-of-type(5n + 5)~img {
    left: -450px;
}

.grid-item:hover:nth-of-type(1n + 1)~.zoom-image {
    top: 0px;
}

.grid-item:hover:nth-of-type(1n + 6)~.zoom-image {
    top: -93.75px;
}

.grid-item:hover:nth-of-type(1n + 11)~.zoom-image {
    top: -187.5px;
}

.grid-item:hover:nth-of-type(1n + 16)~.zoom-image {
    top: -281.25px;
}

.grid-item:hover:nth-of-type(1n + 21)~.zoom-image {
    top: -375px;
}

.zoom-image {
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    z-index: -1;
}

@-webkit-keyframes cssAnimation {
    from {
        -webkit-transform: rotate(0deg) scale(0.48) skew(-180deg) translate(0px);
    }
    to {
        -webkit-transform: rotate(0deg) scale(1.0) skew(-180deg) translate(0px);
    }
}

@-moz-keyframes cssAnimation {
    from {
        -moz-transform: rotate(0deg) scale(0.48) skew(-180deg) translate(0px);
    }
    to {
        -moz-transform: rotate(0deg) scale(1.0) skew(-180deg) translate(0px);
    }
}

@-o-keyframes cssAnimation {
    from {
        -o-transform: rotate(0deg) scale(0.48) skew(-180deg) translate(0px);
    }
    to {
        -o-transform: rotate(0deg) scale(1.0) skew(-180deg) translate(0px);
    }
}
.product-detail-container {
    float: right;
    width: 44%;
    margin-top: 40px;
}

.product-detail {
    width: 470px;
    margin-left: 0;
    margin-top: 50px;
}

.product-info h2 {
    font-size: 30px;
    color: #000000;
    font-weight: 400;
    line-height: 37px;
    margin-bottom: 17px;
}

.product-info p {
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    line-height: 20px;
}

 /* Accordion styles */
 .tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
  }
  .tabs {
    overflow: hidden; 
    margin-top: 40px;
  }
  .tab {
    width: 100%;
    color: #333;
    overflow: hidden;
  }
  .tab-label {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    background: #fff;
    font-weight: bold;
    cursor: pointer;
    border-top: 1px solid #f1f2f2;
    font-size: 16px;
    color: #000000;
    font-weight: 600;
    /* Icon */
  }
  .tab:last-child .tab-label{
    border-bottom: 1px solid #f1f2f2;
  }
  .tab-label:hover {
    background: #fff;
  }
  .tab-label::after {
    content: "";
    width: 1em;
    height: 1em;
    background:url(../images/tab-open.png) no-repeat center center;
    text-align: center;
    transition: all 0.35s;
  }
  .tab-content {
    max-height: 0;
    padding: 0;
    color: #2c3e50;
    background: white;
    transition: all 0.35s;
  }
  .tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: #2c3e50;
    cursor: pointer;
  }
  .tab-close:hover {
    background: #fff;
  }
  .tab input:checked + .tab-label {
    background: #fff;
  }
  .tab input:checked + .tab-label::after {
    transform: rotate(180deg);
    background:url(../images/tab-close.png) no-repeat center center;
  }
  .tab input:checked ~ .tab-content {
		max-height: 100vh;
		padding: 0 0 15px 0;
	}
  .tab-content ul{
    padding-left: 10px;
  }
  .tab-content ul li{
    font-size: 16px;
    line-height: 21px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 8px;
  }
  .tab-content,.tab-content p{
    font-size: 16px;
    line-height: 27px;
    color: #000000;
    font-weight: 400;
  }
  .footer {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 225px;
    margin-top: 40px;
    float: left;
    border-top: 1px solid #f1f2f2;
    padding-top: 36px;
}

.footer h3 {
    font-size: 20px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
}
.footer-col ul li a {
    font-size: 16px;
    line-height: 32px;
    color: #000000;
    font-weight: 400;
}
.footer-bottom {
    float: left;
    width: 100%;
}
.fbt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.Copyright {
    font-size: 14px;
    color: #676767;
    font-weight: 400;
}
#footerwrap {
    float: left;
    width: 100%;
    background: #fff;
    padding-bottom: 0px;
}
.dbusfoot {
    background-image: url(https://accessmylogin.s3.amazonaws.com/assets/swift-bottom-seperator.png);
    margin: 20px auto 0;
    max-width: 617px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    clear: both;
    position: relative;
    top: 10px;
}
.dbus {
    text-align: center;
    background-image: url(https://accessmylogin.s3.amazonaws.com/assets/swift-bottom-logo.png);
    float: left;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 70px;
    margin-bottom: 25px;
}

/*========== Responsive styles  Start =========*/
@media(max-width:1180px) {
  .g-img-con {
    left:5px;
  }
}
@media(min-width:1131px){
    .desktophidden {
        display: none;
    }
}
@media(max-width:1155px) {
.g-img-con {
    max-width: 580px;
}
@media(max-width:1130px){
    .menu, .search, .footer-col, .footer-col.col-2, .atc-topm, .atc-top, .mobilehidden{
        display: none;
    }
    .header{
        padding-bottom: 10px;
    }
  .header-row {
    justify-content:center;
  }
	
	
h2.desktophidden {
	text-align: center;	
		margin-top: 35px;
		font-weight: 400;
		font-size: 35px;
			
	}
	
    .gallery,.product-detail-container{
        width: 100%;
    }
    .product-detail-container{
        padding: 0 25px;
    }
    .product-detail{
        margin-left: 0;
        width: 100%;
    }
	
	.white-box {
		float: none;
	}
    .g-img-con{
        left: 0;
        right: 0;
    }
    .thumbnails-row{
        float: none;
        margin: auto;
    }
  .footer h3 {
    text-align:center;
  }
  .footer-col ul li  {
    display:inline-block;
    padding:0 10px;
  }
			.product-detail,
	.product-detail-container{
		margin-top: 0;
	}
}
	
@media(max-width:700px){
	.white-box {
		border: 0;
	}
	
	.thumbnails label {
		width: 90px;
		height: 90px;
	}
	
	.thumbnails label img {
		max-width: 85px;
		max-height: 85px;
	}

	}
	
@media(max-width:640px){
	
	h2.desktophidden {
		font-size: 28px;
	}
	
    .logo {
        max-width: 50%;
    }
    .g-img-con,.white-box{
        height: 400px;
    }
    .footer ,.fbt-row{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
    .thumbnails-row{
        text-align: center;
    }
}