body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    margin: 0;
}

.page-wrapper {
    background-image: url(../images/background-new.png);
    background-attachment: fixed;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 3;
    width: 100%;
    position: relative;
    padding: 5px 0 95px 0;
}

.main-content {
    width: calc(100% - 85px);
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 10px 20px 10px;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 0px 10px 5px 11px white;
}

.header-pannel {
    background: #f1f1f1;
    color: #000;
    z-index: 2;
    padding: 8px 16px;
    font-size: 14px;
    display: table;
    width: 100%;
    box-sizing: border-box;
}

.header-pannel>div:nth-child(1) {
    text-align: left;
    width: 40%;
    float: left;
    display: Inline-block;
}

.header-pannel>div:nth-child(2) {
    text-align: center;
    width: 20%;
    float: left;
    display: Inline-block;
}

.header-pannel>div:nth-child(3) {
    text-align: right;
    width: 40%;
    float: left;
    display: Inline-block;
}

.header-container {
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    vertical-align: middle;
    text-align: center;
    display: table;
}

a {
    color: #70193d;
}

a:hover {
    color: #d1a81b;
    cursor: pointer;
}

.menu {
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    text-align: center;
    text-transform: uppercase;
    background-color: #f5f5f5;
}

.menu a {
    display: inline-block;
    /* margin: 0 5px; */
    line-height: 53px;
    padding: 0 12px;
    text-decoration: none;
    font-size: 14px;
}

.header-container #logo {
    float: left;
    width: 182px;
    margin-right: 16px;
}

.header-container select {
    position: relative;
    width: calc(33.333% - 96px);
    margin: 30px 14px;
    display: inline-block;
}

select {
    width: 325px;
    margin: 0 auto;
    display: block;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 1px;
    padding: 5px 10px 4px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 40px;
    font-size: 16px;
}

.background {
    height: calc(100vh - 194.59px);
    overflow: hidden;
    background-image: linear-gradient( rgb(0 0 0 / 40%), rgb(0 0 0 / 14%)), url(https://www.longstonetyres.co.uk/pub/media/background/longstone-team.jpg);
    background-color: #666;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    position: relative;
    text-align: center;
}

.logo {
    width: calc(20% - 13.4px);
    display: inline-grid;
    text-align: center;
    margin: 12px 5px;
    padding: 6px 0 0px 0;
    transition: 1s;
}

.logo img {
    width: 50px;
}

.logo span {
    display: block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #d1a81b;
    }
    30% {
        box-shadow: 0 0 15px 10px #d1a81b30;
    }
    100% {
        box-shadow: 0 0 5px 0 #d1a81b;
    }
}

.logo:hover {
    animation: pulse 0.5s;
    box-shadow: 0 0 5px 0 #d1a81b;
    background: #fefefe;
}

hr {
    margin: 20px 0;
    border-bottom: none;
}

h1 {
    letter-spacing: 4px;
    font-weight: 500;
    font-size: 40px;
    text-align: center;
    color: #2a2a2a;
}

h2 {
    font-weight: 500;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 5px;
    font-size: 24px;
    line-height: 26.4px;
}

h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 20px;
}

table {
    border-spacing: 0px;
    box-shadow: 1px 1px 3px 0px black;
    width: 100%;
    table-layout: fixed;
}

table tr:nth-child(even) {
    background: #fff;
}

table tr:nth-child(odd) {
    background: #eee;
}

table td,
th {
    padding: 10px;
    text-align: left;
}

table thead tr {
    background: #eee;
}

.w3-cell-row {
    width: 100%;
    display: flex;
}

.half {
    width: 50%;
    padding: 0 8px;
}

.half * {
    max-width: 100%;
}

.middle{
    vertical-align: middle;
    display: flex;
}

.side-by-side{
	display: table;
	width: 100%;
    padding:5px;
}

.side-by-side div{
	display: table-cell;
	vertical-align: middle;
    padding: 8px;
}

.side-by-side div img{
	width: 100%;
}

.large{
	width: 550px;
}

.middle ul{
    margin: auto 0;
    transform: translate(0px, -30px);
}

.middle li{
    padding: 20px 0;
}

.background h1 {
    color: white;
}

.main-content:after {
    content: "";
    display: table;
    clear: both;
}

.scroll-to{
    margin-top: -140px;
    position: absolute;	
}

.pressures {
    display: block;
    text-align: center;
    display: flex;
    margin: 10px 0 25px 0;
    /* width:33%; */
}
.pressures img {
    width: 100px;
    height: 100%;
    margin: auto 0;
    margin-top: 15px;
}

.pressures h3 {
    margin: auto 0;
    font-size: 10px;
}

.pressures table{
    margin-right: 10px;
}

select.searches {
    width: 40%;
    font-size: 20px;
    margin: 10px 30%;
    height: 50px;
    box-shadow: 0px 0px 2px 4px #d1a81b;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
}

.notice {
    background: #000000a6;
    width: auto;
    display: inline-block;
    padding: 0 4px;
    border-radius: 17px;
    position: relative;
    z-index: 1
}

.h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 26.4px;
    letter-spacing: 2px;
    margin: 20px 0;
}

.h4 {
    font-size: 15px;
    font-weight: 400;
    line-height: 16.5px;
    letter-spacing: 2px;
    margin: 20px 0;
}
.brand-banner {
    position: absolute;
    width: 100%;
    height: 140px;
    bottom: 0;
    opacity: .5;
    background-image: url(https://www.longstonetyres.co.uk/pub/media/background/banner.png);
    background-color: #666;
    background-repeat: no-repeat;
    background-size: cover;
}

.flags a {
    margin: 0 10px;
}

.width-3rd {
    width: 33%
}

.width-4th {
    width: 24.9999%;
}

.width-6th {
    width: 16.66%;
}

.footer-main div {
    display: table-cell;
    box-sizing: border-box;
    padding: 0 16px;
}

.footer-main {
    color: white !important;
    background-color: #222222;
}

.footer-main a {
    color: white !important;
    display: block;
    margin: 12px 0;
}

.small {
    width: 250px !important;
}

.medium {
    width: 350px !important;
    margin: 0 auto;
}

.float-right {
    float: right;
    width: 550px;
    padding: 8px;
    margin-left: 8px;
    box-sizing: border-box;
}

.float-right img,
video {
    max-width: 100%;
}

.float-left {
    float: left;
    width: 550px;
    padding: 8px;
    margin-left: 8px;
    box-sizing: border-box;
}

.float-left img,
video {
    max-width: 100%;
}

.large-center {
    width: 100%;
    text-align: center;
}

.center {
    width: 100%;
    text-align: center;
}

.large-center * {
    width: 750px;
    max-width: 100%;
}

.w3-card-2, .w3-card {
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.center img,
video {
    width: 550px;
    max-width: 100%;
}

.w3-clear::before {
    content: "";
    display: table;
    clear: both;
}

.mobile-menu img {
    display: none;
}

li {
    padding-bottom: 10px;
}


/* Pop up Image */

.pop-up-image {
    cursor: pointer;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #d1a81b;
  border-radius: 10px;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 500px;
  height: 200px;
}
* {box-sizing: border-box;}

.img-magnifier-container {
  position: fixed;
    left: 50%;
    transform: translate(-50%);
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 5vh);
    top: 5%;
    padding: 20px;
    z-index: 6;
}

#big-image{
	max-width: 100%;
	max-height: calc(100vh - 84px);
    margin: 0 auto;
    display: block;
}
#big-image:hover{
	cursor: zoom-in;
}

#big-image-close {
    top: 1%;
    right: 1%;
    z-index: 4;
    background: #70193d;
    border-radius: 30px;
    line-height: 33px;
    padding: 5px;
    font-size: 59px;
    color: #d1a81b;
    position: fixed;
    cursor: pointer;
}

form {
    width: 100%;
    margin: 0 auto 10px auto;
    box-sizing: border-box;
    padding: 0 10%;
}

form * {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

form .column {
    width: calc(50% - 2px);
    display: inline-grid;
    box-sizing: border-box;
    padding: 16px;
}

form .textbox {
    width: 100%;
    padding: 24px 50px;
    border: 1px solid #ccc;
    color: rgb(88, 89, 91);
    border-radius: 3px;
    margin-bottom: 6px;
}

form .column .textbox[name="name"] {
    background-image: url(/images/svg/name.svg);
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: 11px;
}

form p {
    font-weight: 700;
    margin: 7px 0px;
}

form .column .textbox[name="email"] {
    background-image: url(/images/svg/email.svg);
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: 11px;
}

form .column .textbox[name="message"] {
    height: 148px;
    background-image: url(/images/svg/message.svg);
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: 11px 21px;
}

form .submit-button {
    background: transparent;
    position: relative;
    vertical-align: middle;
    display: inline-block;
    height: 70px;
    line-height: 60px;
    text-align: center;
    transition: 0.5s;
    padding: 0 35px;
    cursor: pointer;
    font-size: 20px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-weight: 300;
    letter-spacing: 4px;
    border: 1px solid black;
    color: black;
    font-size: 20px;
    left: 50%;
    transform: translate(-50%, 0px);
}

form .submit-button:hover {
    cursor: pointer;
}

@media (max-width: 900px) {
    form .column {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .page-wrapper {
        margin-bottom: 0;
        padding-top: 0px;
    }
    .main-content {
        width: 96%;
        padding: 0;
        margin: 106px 2% 0 2%;
    }
    .header-container {
        background-color: white;
        padding: 1px 17px;
        height: 87px;
        z-index: 4;
        position: fixed;
        top: 0;
        width: 100%;
        box-shadow: 0px -13px 26px 2px black;
    }
    .header-container select {
        display: none;
    }
    .header-container #logo {
        float: none;
        width: 160px;
        margin-right: 0px;
    }
    .header-pannel {
        display: none;
    }
    .background {
        margin-top: 95px;
        height: calc(100vh - 92px);
    }
    h1 {
        font-size: 27px;
        font-weight: 600;
    }
    h3 {
        font-size: 20px;
        font-weight: 400;
        line-height: 26.4px;
        letter-spacing: 2px;
        margin: 20px 0;
    }
    .background select.searches {
        width: 80%;
        margin: 0px 10% 17px 10%;
    }
    .mail-image {
        background-image: url(../images/email-icon.png);
        background-size: 38px 32px;
        background-repeat: no-repeat;
        background-position: 5px 18px;
        background-color: #222;
        position: fixed;
        bottom: -1px;
        z-index: 4;
        left: 0;
        border-right: 1px solid #d1a81a;
        border-top: 1px solid #d1a81a;
        padding: 4px 8px 0 0;
        height: 60px;
        width: 60px;
        border-top-right-radius: 56px;
    }
    .phone-image:before {
        content: '\2706';
        font-family: 'icons-blank-theme';
        font-size: 53px;
        line-height: 54px;
        position: fixed;
        z-index: 4;
        bottom: -6px;
        border-left: 1px solid #d1a81a;
        border-top: 1px solid #d1a81a;
        padding: 9px 0 0 14px;
        color: #d1a81a;
        right: -5px;
        height: 60px;
        width: 60px;
        border-top-left-radius: 56px;
        background: #222;
    }
    .menu {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 4;
        width: 0%;
        top: 0;
        left: 0;
        display: none;
        background-color: rgba(0, 0, 0, 0.9);
        overflow-x: hidden;
        transition: 0.7s;
        padding: 0;
    }
    .menu a.menu-close {
        width: 25%;
        height: 100%;
        top: 0;
        right: 0;
        position: fixed;
        padding: 0;
        margin: 0;
    }
    .menu a {
        color: white;
    }
    .menu:target {
        display: inline-grid;
        width: 75%;
        color: white;
        padding-top: 50px;
    }
    .footer-main {
        padding: 10px 0;
    }
    .footer-main div {
        width: 100% !important;
        display: block;
    }
    .float-right {
        max-width: 100%;
        padding: 8px;
        margin: 0 auto;
        float: none;
    }
    .float-left {
        max-width: 100%;
        padding: 8px;
        margin: 0 auto;
        float: none;
    }
    .side-by-side div{
		width: 100%;
		display: block;
        
	}
    .mobile-menu img {
        display: block;
        position: absolute;
        float: left;
        top: 35px;
        left: 25px;
        width: 25px;
        z-index: 4;
        height: 28px;
    }
    form .column {
        padding: 0 1%;
    }
    #logo {
        width: calc(25% - 13.2px);
    }
    .w3-cell-row {
        display: block;
    }
    .half {
        width: 100%;
        padding: 0 8px;
        display: contents;
        box-sizing: border-box;
    }
    .w3-mobile img {
        padding: 0;
        width: 100%;
    }
    .logo {
        width: calc(33.3% - 12.4px);
    }
    .pressures{
        width:99%;
    }
}
.pdf-button {
    font-family: "Teko", sans-serif;
    background-color: #70193d;
    position: relative;
    vertical-align: middle;
    color: #FFF;
    display: inline-block;
    height: 70px;
    text-decoration: none;
    line-height: 70px;
    text-align: center;
    padding: 0 20px;
    cursor: pointer;
    font-size: 25px;
    border: 1px solid #FFF;
    border-radius: 10px;
    -webkit-transition: 0.5s;
    transition: 0.5s; 
    font-weight: 600;
    letter-spacing: 4px;
}

.pdf-button:hover {
     background-color:#ffffff;
     color: #70193d;
     border-radius: 10px;
     font-weight: 700;
     padding: 0 15px;
} 
.pdf-button::before,
.pdf-button::after {
    width: 100%;
    height: 100%;
    z-index: 3;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: 1s;
}

.pdf-button::before {
    border-bottom: 2px solid #70193d;
    border-left: 2px solid #70193d;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.pdf-button::after {
    border-top: 2px solid #70193d;
    border-right: 2px solid #70193d;
    -webkit-transform-origin: 100% 0%;
    transform-origin: 100% 0%;
}

.pdf-button:hover::after,
.pdf-button:hover::before {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.pdf-button:focus {
    outline: none;
}
@media only screen and (max-width: 400px) {
    .pdf-button {
        font-size: 12px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 500;
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
    }
}