/* Wrapper for content below the header */
.main-content {
    background-image: url('/scandata/images/cogs.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Container for buttons */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0px;
}

/* General button styles */
.button {
    display: inline-block;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border-radius: 5px;
    padding: 25px 20px;
    margin: 20px 10px;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-decoration: none;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.5),
                3px 3px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    flex: 1 1 calc(33% - 40px);
}

.button:hover {
    box-shadow: inset 3px 3px 12px rgba(0,0,0,0.3), inset -3px -3px 12px rgba(0,0,0,0.9),
                2px 2px 6px rgba(0,0,0,0.4);
    transform: translateY(0.5px);
    text-decoration: none;
}


.button .text {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    font-family: Arial, sans-serif;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .button {
        flex: 1 1 calc(33.33% - 40px);
		font-size: 14px;
    }
}

@media (max-width: 900px) {
    .button {
        flex: 1 1 calc(50% - 40px);
		font-size: 16px;
    }
}

@media (max-width: 600px) {
    .button {
        flex: 1 1 calc(100% - 40px);
		font-size: 18px;
    }
}

/* Different button color variations */
.button.repair-solutions { border: 4px solid #FBB914; }
.button.good-scan { border: 4px solid #E30613; }
.button.technical-assistance { border: 4px solid #3DB6EA; }

.button.fault-codes { border: 4px solid #FBB914; }
.button.oem-info { border: 4px solid #E30613; }
.button.magazine { border: 4px solid #3DB6EA; }

.button.abbreviation { border: 4px solid #FBB914; }
.button.smart-assist { border: 4px solid #E30613; }
.button.equipment-reviews { border: 4px solid #3DB6EA; }

.button.web-links { border: 4px solid #FBB914; }
.button.ev-hybrid { border: 4px solid #5CC639; }
.button.share { border: 4px solid #3DB6EA; }

.button.technical-videos { border: 4px solid #FBB914; }
.button.diagnostic-programs { border: 4px solid #E30613; }
.button.technical-training { border: 4px solid #3DB6EA; }

.button.business-directory { border: 4px solid #FBB914; }
.button.diagnostic-checklists { border: 4px solid #E30613; }
.button.business-resources { border: 4px solid #3DB6EA; }


.button .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
}


.svg-repair-solutions { 
	background-color: #FBB914;
	mask url('/scandata/images/individual-svg/glyphicons-basic-739-check.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-739-check.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-good-scan { 
	background-color: #E30613;
	mask url('/scandata/images/individual-svg/glyphicons-basic-359-graphic-tablet.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-359-graphic-tablet.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-technical-assistance { 
	background-color: #273583;
	mask url('/scandata/images/individual-svg/glyphicons-basic-316-wrench.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-316-wrench.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-fault-codes { 
	background-color: #FBB914;
	mask url('/scandata/images/individual-svg/glyphicons-basic-197-circle-empty-alert.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-197-circle-empty-alert.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-oem-info { 
	background-color: #E30613;
	mask url('/scandata/images/individual-svg/glyphicons-basic-159-thumbnails-list.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-159-thumbnails-list.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-magazine { 
	background-color: #273583;
	mask url('/scandata/images/individual-svg/glyphicons-basic-588-book-open-text.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-588-book-open-text.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-abbreviation { 
	background-color: #FBB914;
	mask url('/scandata/images/individual-svg/glyphicons-basic-974-spell-check.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-974-spell-check.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-smart-assist {
    background-image: url('/scandata/images/individual-svg/Tina4.png');
    background-size: contain;     /* This is key! It fits the image inside the 50px box */
    background-repeat: no-repeat; /* Stops the image from tiling */
    background-position: center;  /* Centers the image */
    width: 50px;
    height: 50px;
}

.svg-equipment-reviews { 
	background-color: #273583;
	mask url('/scandata/images/individual-svg/glyphicons-basic-606-user-chat.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-606-user-chat.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-web-links { 
	background-color: #FBB914;
	mask url('/scandata/images/individual-svg/glyphicons-basic-351-link.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-351-link.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-ev-hybrid { 
	background-color: #0090FF;
	mask url('/scandata/images/individual-svg/glyphicons-basic-556-flash.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-556-flash.svg') no-repeat center;
	width: 55px;
	height: 55px;	
}

.svg-share { 
	background-color: #273583;
	mask url('/scandata/images/individual-svg/glyphicons-basic-578-share.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-578-share.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-technical-videos { 
	background-color: #FBB914;
	mask url('/scandata/images/individual-svg/glyphicons-basic-9-film.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-9-film.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-diagnostic-programs { 
	background-color: #E30613;
	mask url('/scandata/images/individual-svg/glyphicons-basic-165-tablet.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-165-tablet.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-technical-training { 
	background-color: #273583;
	mask url('/scandata/images/individual-svg/glyphicons-basic-46-calendar.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-46-calendar.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-business-directory { 
	background-color: #FBB914;
	mask url('/scandata/images/individual-svg/glyphicons-basic-594-nearby.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-594-nearby.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-diagnostic-checklists { 
	background-color: #E30613;
	mask url('/scandata/images/individual-svg/glyphicons-basic-88-book-log.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-88-book-log.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}

.svg-business-resources { 
	background-color: #273583;
	mask url('/scandata/images/individual-svg/glyphicons-basic-42-stats-bars.svg') no-repeat center; 
	-webkit-mask: url('/scandata/images/individual-svg/glyphicons-basic-42-stats-bars.svg') no-repeat center;
	width: 50px;
	height: 50px;	
}