* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1em;
}

SUP, SUB {
	font-size: .75em;
}

H1 {
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 25px;
	margin-bottom: 15px;
}
H2 {
	text-align: center;
	font-size: 1.25em;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
}
H3 {
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 15px;
	margin-bottom: 10px;
}

DIV.space {    
    height: 25px;
}
DIV.line {
	width: 340px;
	height: 1px;
	background: black;
	margin: 10px auto;
}


/*---HEADER---*/
HEADER {
	width: 100%;
	height: 100%;
	position: relative;
}
@media (max-width: 1024px) {
	HEADER {
		display: flex;
		justify-content: space-between;
	}
}
DIV.header-logo {
    margin: 10px auto;
    background-image: url(img/Mercury_EPC_Lockup.jpg);
    background-repeat: no-repeat;
    width: 800px;
    height: 238px;
    cursor: pointer;
}
@media (max-width: 1024px) {
    DIV.header-logo {
        margin: 10px;
        background-image: url(img/Mercury-small-logo.jpg);
        background-repeat: no-repeat;
        width: 100px;
        height: 100px;
		display: block;
    }
}
DIV.cart {
	position: absolute;
	top: 30%;
	right: 50px;
	text-align: center;
}
DIV.cart-button {
	border: 1px solid black;
	border-radius: 3px;
	width: 120px;
	background: darkblue;
	padding: 5px;
	margin: 10px auto;
}
DIV.cart-button A {
	color: white;
	font-weight: bold;
	text-decoration: none;
}
@media (max-width: 1024px) {
	DIV.cart {
		position: static;
		margin-top: 25px;
		margin-right: 50px;
	}
	DIV.cart-image {
		display: none;
	}
}
DIV.cart-info {
	font-size: .75em;
}
DIV.motorservice {
	font-size: .75em;
	font-weight: bold;
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
}

/*---NAV---*/
DIV.nav-container {
    width: 100%;
}
UL.menu {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}
LI.menu-element {
    position: relative;
    display: inline;
    padding-top: 10px;
    padding-bottom: 10px;
}
LI.menu-element A {
    color: black;
	font-size: .75em;
    text-decoration: none;
}
LI.menu-element:hover {
    text-decoration: underline;
}
@media (max-width: 800px) {
    DIV.nav-container {
        height: 20px;
    }
    UL.menu {
        display: none;
    }
    UL.menu.active {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }
    LI.menu-element {
        display: block;
        width: 100%;
        text-align: center;
        background-color: #151a25;
        z-index: 99;
    }
	LI.menu-element A {
		color: white;
	}
}
#mobile {
    display: none;
}
@media (max-width: 800px) {
    UL.menu.active #mobile {
        display: block;
    }
}

/*---Burger---*/
DIV.burger {
    display: none;
}
@media (max-width: 800px) {
    DIV.burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        margin-right: 40px;
        margin-top: 40px;
    }
    DIV.burger SPAN {
        position: absolute;
        background-color: black;
        top: 9px;
        width: 100%;
        height: 2px;
        display: block;
        transition: all 0.3s ease 0s;
    }
    DIV.burger:before,
    DIV.burger:after {
        content: '';
        position: absolute;
        left: 0;
        background-color: black;
        width: 100%;
        height: 2px;
        transition: all 0.3s ease 0s;
    }
    DIV.burger:before {
        top: 0;
    }
    DIV.burger:after {
        bottom: 0;
    }
    DIV.burger.active SPAN {
        transform: scale(0);
    }
    DIV.burger.active:before {
        transform: rotate(45deg);
        top: 9px;
    }
    DIV.burger.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
}

/*---MAIN---*/
DIV.grey-notice {
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	font-size: .75em;
	color: darkgrey;
}
DIV.catalogs-menu {
	width: 500px;
	margin: 15px auto;
}
DIV.catalogs-menu-item {
	height: 40px;
	border: 1px solid black;
	text-align: center;
	background: darkgrey;
	margin: 10px;
}
@media (max-width: 800px) {
	DIV.catalogs-menu {
		width: 360px;
	}
	DIV.catalogs-menu-item {
		height: 70px;
	}
}
DIV.catalogs-menu-item:hover {
	background: black;
}
DIV.catalogs-menu-item A {
	color: white;
	font-weight: bold;
	text-decoration: none;
}
DIV.table {
	display: table;
	width: 360px;
	margin: 15px auto;
}
DIV.table-row {
	display: table-row;
}
DIV.table-row DIV:nth-child(odd) {
	text-align: right;
}
DIV.table-row DIV:nth-child(even) {
	text-align: left;
}
DIV.table-cell {
	display: table-cell;
	padding: 5px;
}
DIV.bread-crumbs {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: 25px;
}
DIV.bread-crumbs A {
	font-size: .75em;
	color: black;
	text-decoration: none;
}
DIV.bread-crumbs A:hover {
	color: #e22625;
	text-decoration: underline;
}
UL.catalog-list {
	margin-left: 50px;
	margin-top: 15px;
	margin-bottom: 15px;
}
UL.catalog-list LI {
	padding: 5px;
}
UL.catalog-list LI A {
	font-size: 1em;
	color: black;
	text-decoration: none;
}
UL.catalog-list LI A:hover {
	color: #e22625;
	text-decoration: underline;
}
DIV.blocks-list {
	margin-top: 15px;
	margin-bottom: 15px;
	text-align: center;
}
DIV.block-unit {
	display: inline-block;
	padding: 3px;
	margin: 2px;
	border: 1px solid black;
	border-radius: 5px;
}
DIV.current-block-unit {
	display: inline-block;
	padding: 3px;
	margin: 2px;
	border: 1px solid black;
	border-radius: 5px;
	background-color: lightgray;
}
DIV.block-unit:hover {
	background-color: #e3e3e4;
}
DIV.block-unit A,
DIV.current-block-unit A {
	color: black;
	font-size: 1em;
	text-decoration: none;
}
TABLE.parts-table {
	border-collapse: collapse;
}
TABLE.parts-table TR:nth-child(odd) {
	background-color: #eceded;
}
TABLE.parts-table TR:nth-child(even) {
	background-color: #e3e3e4;
}
TABLE.parts-table TR:first-child {
	text-align: center;
	background-color: gray;
	color: white;
	font-weight: bold;
}
TABLE.parts-table TR:hover {
	background-color: lightgrey;
}
TABLE.parts-table TR TD {
	padding: 3px;
	font-size: .75em;
	border: 1px solid black;
}
TABLE.parts-table TR TD A {
	color: black;
	font-size: .9em;
	text-decoration: none;
}
TABLE.parts-table TR TD A:hover {
	color: red;
	text-decoration: underline;
}
TABLE.parts-table-mob {
	display: none;
	width: 360px;
	border-collapse: collapse;
}
TABLE.parts-table-mob TR TD {
	padding: 3px;
	font-size: .75em;
	border: 1px solid black;
}
TABLE.parts-table-mob TR TD A {
	color: black;
	font-size: .9em;
	text-decoration: none;
}
DIV.scheme {
	margin: 15px;
	text-align: center;
}
DIV.scheme-image {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	width: 700px;
}
DIV.scheme-image A IMG {
	width: 680px;
}
DIV.scheme-table {
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
	width: 560px;
}
@media (max-width: 801px) {
    DIV.scheme {
		margin: 0;
	}
	DIV.scheme-image {
		display: block;
		margin: 0 auto;
		width: 360px;
	}
	DIV.scheme-image A IMG {
		width: 340px;
	}
	DIV.scheme-table {
		width: 360px;
		margin: 0;
	}
	TABLE.parts-table {
		display: none;
	}
	TABLE.parts-table-mob {
		display: block;
	}
}
SPAN.green-price {
	color: darkgreen;
	font-weight: bold;
}
INPUT[type='submit'].dinamic-button {
	border: 1px solid black;
	background: lightgrey;
	color: black;
	cursor: pointer;
	padding: 2px;
}
INPUT[type='submit'].dinamic-button:hover {
	background: lightgreen;
}
INPUT[type='submit'].mercury {
	border: 1px solid #e22625;
	background: #e22625;
	padding: 5px;
	font-weight: bold;
	color: white;
}
INPUT[type='submit'].mercury:hover {
	border: 1px solid black;
	background: black;
}
INPUT[type='submit'].blue-button {
	border: 1px solid black;
	background: blue;
	padding: 5px;
	font-weight: bold;
	color: white;
}
INPUT[type='submit'].blue-button:hover {
	border: 1px solid blue;
	background: darkblue;
}
INPUT[type='submit'].green-button {
	border: 1px solid black;
	background: green;
	padding: 5px;
	font-weight: bold;
	color: white;
}
INPUT[type='submit'].green-button:hover {
	border: 1px solid green;
	background: darkgreen;
}
DIV.searching {
	width: 350px;
	margin: 10px auto;
	text-align: center;
}
INPUT.input-text {
	width: 120px;
	border: 1px solid black;
	padding: 4px;
}
A.w-o-line {
	text-decoration: none;
	color: black;
}
DIV.eac-description {
	width: 820px;
	padding: 10px;
	margin: 10px auto;
}
@media (max-width: 800px) {
	DIV.eac-description {
		width: 360px;
	}
}
DIV.eac-item {
	width: 800px;
	margin: 10px auto;
}
DIV.eac-image {
	display: inline-block;
	width: 340px;
	text-align: center;
}
DIV.eac-image IMG {
	max-width: 340px;
}
DIV.eac-desc {
	display: inline-block;
	vertical-align: top;
	width: 340px;
}
@media (max-width: 800px) {
	DIV.eac-item {
		width: 360px;
	}
	DIV.eac-desc {
		text-align: center;
	}
}
DIV.eac-price {
	text-align: center;
}

/*---Scheme---*/
A.arrow {
	text-decoration: none;
	color: black;
}
A.arrow:hover {
	color: #e22625;
}

/*---FOOTER---*/
FOOTER {
	text-align: center;
}
DIV.footer-info {
	font-size: .75em;
}

/*---CART---*/
DIV.border-table {
	display: table;
	width: 340px;
	margin: 15px auto;
	border-collapse: collapse;
}
DIV.border-table-row {
	display: table-row;
}
DIV.border-table-cell {
	display: table-cell;
	vertical-align: middle;
	border: 1px solid black;
	padding: 3px;
}
DIV.border-table-cell-title {
	background-color: lightgrey;
	font-weight: bold;
}

/*---EPC---*/
A.red-link {
	color: black;
}
A.red-link:hover {
	color: #e22625;
}
A.current-midas-link {
	color: white;
	background: darkblue;
	text-decoration: none;
}

/*---TXT---*/
.pt10 {
	padding-top: 10px;
}
.pt15 {
	padding-top: 15px;
}
.p10 {
	padding: 10px;
}
.pl30 {
	padding-left: 30px;
}
.red {
	color: #e22625;
}
.grey {
	color: darkgrey;
}
.white {
	color: white;
}
.blue {
	color: darkblue;
}
.black {
	color: black;
}
.center {
	text-align: center;
}
.bold {
	font-weight: bold;
}
.italy {
	font-style: italic;
}
.border {
	border: 1px solid black;
	padding: 5px;
}
.bold {
	font-weight: bold;
}
.bigger {
	font-size: 1.1em;
}
.smaller {
	font-size: .9em;
}
.small {
	font-size: .8em;
}
.smallest {
	font-size: .75em;
}

/*---IMPORT---*/
.leftSideFrame {
	width: 250px;
	height: 400px;
	padding: 5px;
	border: solid 1px black;
}
.rightSideFrame {
	width: 250px;
	height: 350px;
	padding: 5px;
	border: solid 1px black;
}
.centralFrame  {
	overflow-y: scroll;
	width: 350px;
	height: 400px;
	padding: 5px;
	border: solid 1px black;
}
.fullFrame  {
	overflow-y: scroll;
	width: 850px;
	height: 400px;
	padding: 5px;
	border: solid 1px black;
}
TD.currentMarker {
	border-right: 1px solid black;
	border-left: 1px solid black;
	border-top: 1px solid black;
	padding: 5px;
	color: black;
	font-size: .75em;
}
TD.marker {
	border-right: 1px solid black;
	border-left: 1px solid black;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	padding: 5px;
	color: black;
	font-size: .75em;
}
TD.threeBorders {
	border-right: 1px solid black;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}
TD.bottomBorder {
	border-bottom: 1px solid black;
}
.tableTitle {
	text-align: center;
	font-weight: bolder;
	color: darkblue;
	font-size: .9em;
}
/*
DIV.main-container {
	width: 850px;
	margin: 25px auto;
}

DIV.main-container {
	display: block;
}
DIV.list-menu-container {
	display: none;
}
@media (max-width: 1000px) {
	DIV.list-menu-container {
		display: block;
	}
	DIV.main-container {
		display: none;
	}	
}
*/
DIV.main-container {
	display: none;
}
DIV.list-menu-container {
	display: block;
}
DIV.m-wrapper {
	max-width: 800px;
	margin: 0 auto;
}



DIV.basket-info-add {
	border: 1px solid blue;
	padding: 5px;
	width: 200px;
	font-size: .75em;
}

DIV.cons-button {
	width: 250px;
	margin: 15px auto;
	text-align: center;
	background-color: #e22625;
	border: 1px solid #e22625;
	padding: 5px;
}
DIV.cons-button:hover {
	background-color: black;
	border: 1px solid black;
}
DIV.cons-button A {
	text-decoration: none;
	font-weight: bold;
	color: white;
}
DIV.m-list {
	max-width: 600px;
	margin: 10px auto;
	text-align: left;
}
DIV.m-list DIV {
	padding: 5px;
}
DIV.m-list DIV A {
	text-decoration: none;
	color: black;
}
DIV.m-list DIV A:hover {
	color: #e22625;
}
DIV.search-form {
	text-align: center;
	font-weight: bold;
}
DIV.search-form INPUT[type='text'] {
	border: 1px solid black;
	width: 150px;
	height: 30px;
	padding: 5px;
}
DIV.search-form INPUT[type='text']:hover {
	border: 1px solid #e22625;
}
