@charset "utf-8";
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #808181;
    font-size: 15px;
    font-family: 'PT Sans', sans-serif;
    text-align: left;
    word-wrap: break-word;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    line-height: 1.5;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

textarea {
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    resize: none;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='number'],
input[type='password'] {
    font-size: 13px;
}

textarea,
input,
select {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'PT Sans', sans-serif;
}

input[type='submit'] {
    -webkit-appearance: none;
    border-radius: 3px;
    background: #e2e2e2;
    color: #727272;
    border: 1px solid #888888;
    cursor: pointer;
}

#wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    /* overflow: hidden; */
}

#lowermiddle {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

/* DEFAULT STYLING */

a {
    color: #444;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #bcd201;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #727272;
    font-weight: bold;
    margin: 10px 0 20px 0;
}

h1 {
    font-size: 41px;
}

h2 {
    font-size: 33px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 17px;
}

h6 {
    font-size: 14px;
}

p,
li,
td,
th {
    font-size: 24px;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

b,
strong {
    font-weight: bold;
}

#lightbox img {
    max-width: initial;
}

.button {
    display: inline-block;
    color: white;
    background-color: #bcd201;
    border: none;
    padding: .5rem 1rem;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

.button.rnd-5 {
    border-radius: 5px;
}

.button.rnd {
    border-radius: 25px;
}

.button:hover,
.button:focus {
    background-color: #99ab00;
    color: white;
    font-weight: 400;
    text-decoration: none;
}

.button-grey {
    background-color: #676c6e;
}

.button-grey:hover,
.button-grey:focus {
    background-color: #474b4d;
}

.button-large {
    padding: .7rem 1.8rem;
}

.button-green {
    background-color: #32cd32;
    border-radius: 25px;
    padding: .5rem 2.6rem;
}

.button-green:hover,
.button-green:focus {
    background-color: #2db92d;
    color: white;
    font-weight: 400;
    text-decoration: none;
}

section li ul,
section li ol {
    margin-top: 6px;
}

hr {
    border: 0;
    margin: 20px auto;
    background: url("https://www.avan.com.au/images/hr.png") no-repeat;
    height: 3px;
}

section ul>li ul {
    list-style-type: circle;
}

section ol>li>ol {
    list-style-type: lower-alpha;
}

section ol>li>ol>li>ol {
    list-style-type: lower-roman;
}

section blockquote {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-style: italic;
    padding: 0 8px 0 20px;
    border-left: 5px solid #cccccc;
    overflow: hidden;
}

.hr-heading {
    display: flex;
    align-content: center;
    justify-content: flex-end;
    background: #c6c8c8 url("../images/hr-heading.png") top left no-repeat;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin: 35px 0 10px;
}

.hr-heading .hr-range-link {
    flex: 0 0 calc(60% - 20px);
    padding: 6px 10px;
    color: #808181;
    text-decoration: none;
}

.hr-heading .hr-enquire-link {
    flex: 0 0 calc(20% - 25px);
    padding: 6px 10px 6px 15px;
    color: #bcd201;
    background: #545555 url("../images/hr-enquire.png") top left no-repeat;
    text-decoration: none;
}

/* Columns */

.section-inner {
    max-width: 1530px;
    margin: 0 auto;
}

.columns {
    display: flex;
}

.columns-wrap {
    flex-flow: wrap;
}

.columns-stretch {
    align-content: stretch;
}

.columns-centre {
    align-items: center;
}

.columns-justify {
    justify-content: space-between;
}

.columns-two {
    flex: 0 0 calc(50% - 30px);
    padding: 15px;
}

.columns-three {
    flex: 0 0 calc(33.33% - 30px);
    padding: 15px;
}

.columns-three-no-padding {
    flex: 0 0 33.33%;
    padding: 0;
}

.columns-four {
    flex: 0 0 calc(25% - 30px);
    padding: 15px;
}

.columns-five {
    flex: 0 0 calc(20% - 30px);
    padding: 15px;
}

.columns-six {
    flex: 0 0 calc(16.6666% - 30px);
    padding: 15px;
}

.columns-seven {
    flex: 0 0 calc(14.285714% - 30px);
    padding: 15px;
}

.dealer-state {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.dealer {
    position: relative;
    display: inline-block;
    padding: 15px;
    width: 28%;
    color: #fff;
    background: #555656;
    margin: 10px 1%;
}

.dealer:hover {
    background: #bcd201;
}

.dealer a {
    width: 100%;
    height: 100%;
    display: block;
    color: #fff;
}

.dealer a:hover {
    color: #444;
}

/* Header */

header .section-inner {
    display: flex;
    padding: 10px;
    align-items: end;
    justify-content: space-between;
}

.sociallinksupper {
    position: absolute;
    right: 250px;
    display: block;
    float: right;
    margin-top: -10px;
}

.sociallinksupper img {
    padding: 5px;
}

/* Search Bar */

.search-bar {
    text-align: right;
    padding: 10px 0;
}

.search-bar input {
    background: #b7b7b7;
    font-size: 15px;
    color: #58595b;
    font-weight: bold;
    border: 0;
    border-radius: 30px 0 0 30px;
    padding: 7px 25px 7px 15px;
    vertical-align: bottom;
}

.search-bar button {
    background: rgba(0, 0, 0, 0) url("https://www.avan.com.au/images/search-button.png");
    height: 63px;
    width: 63px;
    border: 0;
    margin-left: -10px;
    cursor: pointer;
}

/* Main Dropdown Menu */

.ddmenu {
    position: relative;
    z-index: 90;
}

.ddmenu ul {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: white;
}

.ddmenu li {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

.ddmenu a {
    padding: 8px 12px;
    font-size: 17px;
    line-height: 1.2;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #444;
}

.ddmenu a:hover,
.ddmenu a:focus,
.ddmenu a.active {
    text-decoration: none;
    color: #bcd201;
}

.ddmenu li li {
    display: block;
    align-self: baseline;
}

.ddmenu li>ul {
    position: absolute;
    left: 0;
    top: 50%;
    min-width: 200px;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease-in-out;
    background-color: rgba(0, 0, 0, 0.8);
}

.ddmenu li>ul a {
    color: #dedede;
}

.ddmenu li>ul a:hover,
.ddmenu li>ul a:focus {
    color: #bcd201;
}

.ddmenu li:hover>ul,
.ddmenu li:focus>ul {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

.ddmenu nav>ul>li:last-child>ul {
    right: 0;
    left: initial;
}

.ddmenu nav>ul>li:not(:last-child) {
    padding-right: 17px;
    background: url("https://www.avan.com.au/images/ddmenu-divider.png") right no-repeat;
}

/* Quick Link Tabs */

.quick-links {
    font-size: 28px;
    font-weight: bold;
    align-items: center;
    justify-content: space-between;
    margin: 2rem auto;
}

.quick-links a {
    display: block;
    text-align: center;
    text-decoration: none;
}

.quick-links a div {
    margin-top: -30px;
}

.quick-links-lower {
    align-items: center;
}

.quick-links-lower a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

/* Slideshow */

.slideshow-box {
    position: relative;
    z-index: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    max-width: 50%;
}

.cycle-slideshow {
    overflow: hidden;
    width: 100%;
    height: auto;
    z-index: 1;
    max-height: 650px;
    background: url("https://www.avan.com.au/images/slideshow-bg.jpg") center center no-repeat;
    background-size: cover;
    text-align: center;
}

.cycle-slide {
    width: 100%;
    line-height: 0;
    background: url("https://www.avan.com.au/images/slidewhite-overlay.png") center bottom repeat-x;
}

.cycle-slide a {
    display: block;
    width: 100%;
    height: auto;
    line-height: 0;
}

.cycle-slide a:hover,
.cycle-slide a:focus {}

.cycle-slide img {
    vertical-align: top;
}

/* RECENTLY VIEWED PRODUCTS */

#recentview {}

.recent_view {
    overflow: hidden;
    display: inline-block;
    position: relative;
    width: 200px;
    padding-bottom: 20px;
    vertical-align: top;
}

.recent_view:hover {
    opacity: 0.8;
}

.recent_view a {
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
    color: #727272;
}

.recent_view a:hover {
    text-decoration: underline;
}

.recent_image {
    display: inline-block;
    width: 50%;
    vertical-align: middle;
    text-align: center;
}

.recent_image a {
    line-height: 0;
}

.recent_image img {
    max-width: 90% !important;
}

.recent_detail {
    display: inline-block;
    width: 50%;
    vertical-align: middle;
}

.recent_title {}

.recent_price {}

/* IMAGE LIBRARY */

#imagelibrary {
    margin: 4px;
    padding: 4px;
}

#imagelibrary img {
    margin: 3px;
}

/* IMAGE STYLING */

html>body .outerpair1 {
    background: url(../images/upperrightfade.png) no-repeat right top;
}

html>body .outerpair2 {
    background: url(../images/lowerleftfade.png) no-repeat left bottom;
    padding-top: 8px;
    padding-left: 8px;
}

html>body .shadowbox {
    background: url(../images/shadow.png) bottom right;
}

html>body .innerbox {
    position: relative;
    left: -8px;
    top: -8px;
}

.shadowbox img {
    border: 1px solid #000000;
    vertical-align: bottom;
}

.pageimagecenter {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
}

.pageimageright {
    float: right;
    margin: 5px 0 5px 5px;
    padding: 0;
    max-width: 100%;
}

.pageimageleft {
    float: left;
    margin: 5px 5px 5px 0;
    padding: 0;
    max-width: 100%;
}

.pageimagenone img {
    margin: 3px;
    padding: 0;
}

/* SOCIAL SHARING BUTTONS */

#social {
    padding: 20px 0;
    overflow: hidden;
}

.a2a_label {
    display: none !important;
}

/* SEARCH */

#search {
    margin: 10px;
}

#search input[type='text'] {
    height: 24px;
    width: 100%;
}

#search input[type='submit'] {
    height: 24px;
    line-height: 14px;
}

#results ul {
    font-size: 13px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#results ul li {
    padding: 5px 10px;
    border: 1px solid #dfdfdf;
    margin: 3px 0 10px 0;
}

#results .title {
    padding-bottom: 5px;
}

#results .title a {
    font-weight: bold;
}

#results small {
    display: block;
    color: #578a1e;
    margin-top: -4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#results .desc {
    font-size: 12px;
    line-height: 18px;
    width: 400px;
    max-width: 100%;
}

/* WARRANTY PRINT PROGRAM */

.warrantyheading {
    width: auto;
    min-width: 37%;
    min-height: 30px;
    display: inline-block;
    font-weight: bold;
}

.warrantydata {
    width: auto;
    min-width: 60%;
    min-height: 30px;
    max-width: 65%;
    display: inline-block;
}

#middlewarrantyprint div:nth-child(4n+4) {
    background-color: #e9e9e9;
}

#middlewarrantyprint div:nth-child(4n+3) {
    background-color: #e9e9e9;
}

#warrantyheader {
    max-width: 1100px;
    display: block;
    margin: 0 auto;
}

/* VIRTUAL SHOWROOM */

.virtualshowroomsleft {
    position: relative;
    display: inline-block;
    width: 26%;
    padding-right: 3%;
    vertical-align: top;
}

.virtualshowroomsleft a {
    position: relative;
    display: inline-block;
    background: url(../images/arrow-right.png) 260px 15px no-repeat #2d7730;
    width: 100%;
    padding: 10px 10px 10px 10px;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid #2d7730;
}

.virtualshowroomsleft a:hover,
.virtualshowroomsleft a:focus {
    background: url(../images/arrow-right-hover.png) 260px 15px no-repeat #ffffff;
    color: #2d7730;
}

.virtualshowroomsright {
    position: relative;
    display: inline-block;
    width: 69%;
    vertical-align: top;
}

.virtualshowroomsright iframe {
    width: 100%;
    border: 0;
    height: 400px;
    width: 853px;
}

/* PAGE GALLERY */

.pagegalleryheading {
    display: none;
}

.pagegalleryinner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.pagegalleryimage {
    position: relative;
    display: inline-block;
    width: 14%;
    height: 0;
    padding-bottom: 14%;
    overflow: hidden;
    margin: 0.3%;
    vertical-align: middle;
}

.pagegalleryimage img {
    border: 0;
    vertical-align: middle;
    line-height: 0;
    position: absolute;
    display: block;
    max-width: 240% !important;
    /*min-width: 100% !important;*/
    height: auto;
    /*min-height: 100%;*/
    /*left: -25%;*/
}

.pagegalleryimage a {
    line-height: 0;
}

.pagegalleryimage a:hover img,
.pagegalleryimage a:focus img {
    opacity: 0.7;
}

/* LINKS SECTION */

.link {
    background: #efefef;
    overflow: hidden;
    border: 1px solid #bbbbbb;
    margin: 15px 0;
    padding: 5px;
}

.linktop {
    margin: 0;
    padding: 5px;
}

.linktop,
.linktop a {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.linkleftcontainer {
    float: left;
    width: 150px;
    height: auto;
    max-width: 25%;
    margin: 0 5px 0 0;
}

.linkleftcontainer img {
    border-style: none;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.linkrightcontainer {
    height: 120px;
    overflow-y: auto;
    border: 1px solid #bbbbbb;
    background: #ffffff;
    padding: 5px;
}

.linkrightcontainer p {
    margin: 0;
}

.linkfooter {
    padding: 5px 0 0 0;
    text-align: right;
}

/* HTML SITEMAP */

#sitemap a {
    text-decoration: none;
}

.sitemapL2:before,
.sitemapL3:before,
.sitemapL4:before,
.sitemapL5:before,
.sitemapL6:before {
    content: "\00BB";
    display: inline-block;
    margin: 0 3px 0 0;
}

.sitemapL1 {
    margin: 0 0 5px 0;
}

.sitemapL1 a {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.sitemapL2 {
    margin: 10px 0 3px 10px;
}

.sitemapL2 a {
    color: #333333;
    text-transform: uppercase;
}

.sitemapL3 {
    margin: 0 0 3px 20px;
}

.sitemapL4 {
    margin: 0 0 3px 30px;
}

.sitemapL5 {
    margin: 0 0 3px 50px;
}

.sitemapL6 {
    margin: 0 0 3px 60px;
}

/* PRODUCT LIST */

#product {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.productitem {
    display: flex;
    flex: 0 0 calc(33% - 25px);
    flex-direction: column;
    justify-content: flex-end;
    min-height: 275px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(to bottom, #dedede, 35%, rgba(255, 255, 255, 0));
}

.producttitle {
    position: relative;
    font-weight: bold;
    padding: 7px 0;
    margin: 0;
    background-color: #555656;
    color: #bdd301;
}

.producttitle:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    border-top: 55px solid white;
    border-right: 30px solid transparent;
}

.productimage {
    margin: 5px;
    max-width: 100%;
}

.productimage img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

.productorder,
.productview,
.productenquire,
.productD_thumb,
#productD_order,
#productD_enquire {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}

/* PRODUCT DETAILS */

.vertical-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vertical-tabs li {
    margin: 10px 0;
}

.vertical-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bcd201;
    text-decoration: none;
    height: 61px;
    background: #515151 url("../images/button-triangle.png") top left no-repeat;
}

.vertical-tabs a:hover,
.vertical-tabs a:focus {
    background-color: #bcd201;
    color: #515151;
}

.tabbed-content {}

.tabbed-content>div {
    display: none;
}

.tabbed-content>.active {
    display: block;
}

.tabbed-content h1 small {
    font-weight: normal;
    margin: -15px 0 0 0;
    font-size: 30%;
    display: block;
}

.buttons {
    text-align: center;
}

.buttons .button:not(:first-child) {
    margin: 5px 0 5px 5px;
}

.virtualshowroom {
    background: crimson;
    border: 1px solid crimson;
}

.virtualshowroom:hover,
.virtualshowroom:focus {
    text-decoration: none;
    background: #ffffff;
    color: crimson;
}

.product-desc {
    padding: 0 30px;
}

.disclaimer {
    padding: 20px 0;
}

.disclaimer p {
    font-size: .8rem;
    text-align: center;
}

.thumbnails {
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnails img {
    vertical-align: top;
    max-width: 300px;
    height: auto;
}

.thumbnail {
    flex-basis: 20%;
}

/* PRODUCT SPECS LOWER BOX */

#productTabs2Wrap {
    position: relative;
    margin: 80px auto 50px;
    top: 0;
    width: 100%;
    height: auto;
    background: #dcddde;
    border-top: 2px solid #dcddde;
}

#productTabs2 {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 0;
    min-height: 250px;
    overflow: hidden;
    margin-top: -45px;
}

#productTabs2>ul li {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

#productTabs2>ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#productTabs2>ul li {
    background-color: #727272;
    display: inline-block;
    font-size: 15px;
    color: #dcddde;
    padding: 10px 25px;
    margin: 0;
    cursor: pointer;
    margin-right: 4px;
}

#productTabs2>ul li.active {
    background-color: #dcddde;
    color: #727272;
}

#productTabs2>div {
    width: 100%;
    background: #dcddde;
}

#productTabs2>div>div {
    display: none;
}

#productTabs2>div>div.active {
    display: block;
}

#productTabs2 .review {
    display: inline-block;
    width: 99%;
    margin-bottom: 2%;
    vertical-align: top;
}

#productTabs2 .review:nth-child(odd) {
    margin-right: 2%;
}

#productTabs2 .specs h5 {
    text-transform: uppercase;
    padding: 25px 5px 0 5px;
    font-size: 20px;
    color: #454545;
}

#productTabs2 .group {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
    margin-bottom: 20px;
}

#productTabs2 .group2 {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
}

#productTabs2 .group>div:nth-child(odd) {
    background-color: #ececec;
}

#productTabs2 .specs label {
    display: inline-block;
    vertical-align: top;
    width: 25%;
    padding: 5px;
    box-sizing: border-box;
    color: #282828;
    font-size: 15px;
    letter-spacing: 2px;
}

#productTabs2 .spec {
    display: inline-block;
    vertical-align: top;
    width: 75%;
    padding: 10px 40px;
    box-sizing: border-box;
    color: #282828;
    font-size: 15px;
    letter-spacing: 2px;
}

#productTabs2 .full-width-spec {
    display: block;
    width: auto;
    font-size: 15px;
    color: #727272;
}

#productT2_left {
    display: inline-block;
    width: 60%;
    vertical-align: top;
}

#productT2_right {
    display: inline-block;
    width: 38%;
    vertical-align: top;
    margin-left: 2%;
}

/* Image Links */

.image-link {
    height: 386px;
    margin-bottom: 2rem;
}

.image-left,
.image-right {
    position: relative;
    padding: 0;
    flex: 0 0 50%;
    overflow: hidden;
}

.image-left img,
.image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.image-left::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 90%;
    width: 0;
    height: 0;
    border-right: 260px solid #fff;
    border-bottom: 386px solid transparent;
}

.image-right::after {
    content: " ";
    position: absolute;
    top: 0;
    left: -180px;
    width: 0;
    height: 0;
    border-left: 260px solid #fff;
    border-bottom: 386px solid transparent;
}

.text-left,
.text-right {
    background-color: #555656;
    color: #fff;
    padding: 30px 45px;
    box-sizing: border-box;
    flex-basis: 50%;
    position: relative;
    z-index: 3;
}

.text-left {
    padding-right: 0;
}

.text-left::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-left: 260px solid #555656;
    border-top: 386px solid transparent;
}

.text-right {
    padding-left: 0;
    text-align: right;
}

.text-right::after {
    content: " ";
    position: absolute;
    top: 0;
    left: -260px;
    width: 0;
    height: 0;
    border-right: 260px solid #555656;
    border-top: 386px solid transparent;
}

.image-link h3 {
    color: #bcd201;
    font-size: 40px;
}

.image-link h3 img {
    vertical-align: middle;
    margin-top: -10px;
}

.image-link p {
    font-size: 27px;
}

/* Form (Step 2) */

.c_div h2 {
    border-bottom: 2px solid #777777;
    color: #444444;
}

table.c_table th {
    width: 135px;
    color: #555555;
    font-weight: normal;
    text-align: left;
}

table.c_table td {
    padding: 3px 0;
}

.c_cards img {
    vertical-align: middle;
    border: 1px solid #888888;
    margin: 0 1px;
    width: 25px;
}

.c_table input[size='34'],
.c_table textarea {
    width: 220px;
}

.c_table label.c_err {
    color: #990000;
}

#c_cvvhelp {
    padding-left: 8px;
}

#c_cvvhelp a {
    font-size: 10px;
}

#c_cvvhelpbox {
    top: -140px;
    left: 60px;
    line-height: 0;
    z-index: 50;
    box-shadow: 5px 5px 10px #666666;
    border-radius: 10px;
}

/* DIRECTORY STYLING */

#directory {
    overflow: hidden;
}

.directoryitem {
    position: relative;
    display: inline-block;
    margin: 0 0 20px 0;
    padding: 0;
    overflow: hidden;
    width: 47%;
    margin-right: 2%;
    min-height: 200px;
    border: 0px solid red;
    vertical-align: top;
    margin-bottom: 30px;
}

.directorytitle {
    font-size: 18px;
    color: #ffffff;
    padding: 5px 0 6px 0;
    display: block;
    padding-left: 2%;
    width: 98%;
    border: 0px solid green;
    background-color: #252525;
    margin-bottom: 10px;
}

.directorydesc {
    position: relative;
    display: inline-block;
    color: #7c6b4c;
    font-size: 13px;
    width: 46%;
    padding-left: 2%;
    max-width: 48%;
    overflow: hidden;
    border: 0px solid purple;
}

.directoryphone {
    font-size: 16px;
    margin-top: 15px;
}

.directoryitem a {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.directoryimage {
    position: relative;
    float: right;
    width: 48%;
    padding-right: 0%;
    max-width: 48%;
    height: auto;
    min-height: 148px;
    text-align: center;
    display: inline-block;
    overflow: hidden;
    border: 0px solid blue;
}

.directoryimage a:hover img {
    opacity: 0.7;
}

.readmore {
    position: relative;
    float: left;
    background: #F26B2A;
    color: #ffffff;
    font-size: 13px;
    padding: 7px 9px 7px 9px;
    letter-spacing: 1px;
    /*border-radius: 10px;*/
    display: inline-block;
    margin-top: 10px;
}

.directoryitem a:hover .readmore {
    background: #ef4023;
}

.directoryitem a:hover .directorytitle {
    color: #ef4023;
}

/* DIRECTORY DISPLAY STYLING */

.directorydisplayright {
    width: 250px;
    float: right;
    margin-bottom: 20px;
}

.directorydisplayfacts {
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
}

.directorydisplayfacts h2 {
    font-size: 16px;
}

.directorydisplayfacts table {
    border-collapse: collapse;
    width: 100%;
}

.directorydisplayfacts td {
    vertical-align: top;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px solid #d9d4cb;
}

.directorydisplayfacts td:first-child {
    width: 30%;
}

.directorydisplayfacts td:last-child {
    width: 70%;
    text-align: left;
    font-weight: bold;
}

.directorydisplayfacts a {
    vertical-align: top;
    font-size: 13px;
}

.directorydisplaylarge {
    width: 100%;
    height: auto;
    background: #f1eee6;
    line-height: 0;
    margin-bottom: 10px;
}

.directorydisplaytext {
    width: 734px;
    margin: 30px 0 20px 0;
    padding-right: 15px;
    border-right: 1px solid #d9d4cb;
}

.directorydisplayauthor {
    padding: 20px 45px;
    clear: both;
    border-top: 1px solid #d9d4cb;
    border-bottom: 1px solid #d9d4cb;
    line-height: 22px;
    font-size: 12px;
}

.directorydisplayimages {
    margin-bottom: 5px;
    overflow: hidden;
    padding-bottom: 6px;
    border-bottom: 1px solid #d9d4cb;
}

.directorydisplaythumb {
    float: left;
}

.directorydisplaythumb a img {
    border: 0;
}

.directorydisplaythumb a:hover img {}

#directoryD_left {
    display: inline-block;
    width: 48%;
    vertical-align: top;
}

#directoryD_right {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    margin-left: 2%;
    padding-top: 20px;
}

.directoryD_large {
    max-width: 100%;
    text-align: center;
    overflow: hidden;
}

.directoryD_large a {
    background: url("../images/loading.gif") no-repeat 50% 50%;
    display: inline-block;
    width: 100%;
    height: auto;
}

.directoryD_large img {
    max-width: 100%;
    height: auto;
}

.directoryD_images {
    text-align: center;
}

.directoryD_thumb {
    border: 3px solid #efefef;
    margin: 2px;
    background: #ffffff;
    line-height: 0;
}

.directoryD_thumb,
.directoryD_thumb a {
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 96px;
    overflow: hidden;
}

.directoryD_thumb img {
    vertical-align: middle;
}

.directoryD_thumb:hover {
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

.directoryD_detail {
    padding: 0 10px;
}

#directoryD_links {
    padding: 0 10px 10px 10px;
    border-bottom: 1px solid #dddddd;
}

#directoryD_links a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 4px 10px;
}

#directoryD_pdfs {
    padding: 10px;
}

.directoryD_pdf {
    display: inline-block;
    width: 50%;
}

.directoryD_pdf img {
    max-width: 20px !important;
    margin-right: 6px;
    vertical-align: middle;
}

.directoryD_text {
    padding: 0 10px;
}

/* DIRECTORY SPECS BOX */

#directoryTabs {
    padding-left: 10px;
    width: 104%;
}

#directoryTabs>ul li {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

#directoryTabs>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #7c7c7c;
}

#directoryTabs>ul li {
    background-color: transparent;
    font-weight: normal;
    display: inline-block;
    text-transform: uppercase;
    padding: 7px 18px;
    margin: 0;
    cursor: pointer;
}

#directoryTabs>ul li.active {
    font-weight: bold;
}

#directoryTabs>div {
    width: 100%;
}

#directoryTabs>div>div {
    display: none;
}

#directoryTabs>div>div.active {
    display: block;
}

#directoryTabs .review {
    display: inline-block;
    width: 99%;
    margin-bottom: 2%;
    vertical-align: top;
}

#directoryTabs .review:nth-child(odd) {
    margin-right: 2%;
}

#directoryTabs .specs h5 {
    text-transform: uppercase;
    padding: 0 5px;
}

#directoryTabs .group {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
}

#directoryTabs .group>div:nth-child(odd) {
    background-color: #efefef;
}

#directoryTabs .specs label {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    padding: 5px;
    box-sizing: border-box;
    color: #282828;
    font-size: 14px;
    font-weight: bold;
}

#directoryTabs .spec {
    display: inline-block;
    vertical-align: top;
    width: 70%;
    padding: 5px;
    box-sizing: border-box;
    color: #282828;
    font-size: 14px;
}

#directoryTabs .full-width-spec {
    display: block;
    width: auto;
}

.gm-style-iw {
    width: 324px !important;
    height: 120px !important;
    overflow: hidden !important;
}

.gm-style-iw div {
    overflow: hidden !important;
}

/* DIRECTORY MAP */

.ubcmapbox {
    height: 320px;
    margin-bottom: 20px;
}

.ubcmap {
    position: relative;
    overflow: hidden;
    background-color: #e5e3df;
    height: 300px;
    top: 0;
    left: 0;
    margin: 0;
    max-width: 100%;
}

.ubcmap-big {
    position: fixed !important;
    top: 6% !important;
    margin: 0 10%;
    width: 80%;
    height: 600px !important;
    z-index: 10000;
}

.ubcmap-enlarge {}

.ubcmap img {
    max-width: none !important;
    height: initial !important;
}

.mapimage {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
}

.mapimage img {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
}

.mapcontent {
    position: relative;
    display: inline-block;
    width: 220px;
    margin-left: 5px;
}

.location-map .mappopup {
    display: flex;
    height: 100%;
}

.location-map .mapimage {
    flex-basis: 45%;
    padding-right: 1rem;
}

.location-map .mapimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-map .mapcontent {
    flex-basis: 55%;
    font-size: .65rem;
}

/* BLOG */

/* Post List */

.posts {
    padding: 40px 0 25px 0;
    border-bottom: 3px solid #dfdfdf;
}

.posts h1 a {
    text-decoration: none;
}

.posts h1 a:hover,
.posts h1 a:focus {}

.posts .date {
    color: #bbbbbb;
    letter-spacing: -0.5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Post Display */

.post .date {
    color: #bbbbbb;
    letter-spacing: -0.5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Next Post */

.next_post {
    margin: 15px 0;
}

/* Popular Posts */

.popular_posts {
    padding: 0 0 10px 0;
    border-top: 3px solid #dfdfdf;
    border-bottom: 3px solid #dfdfdf;
}

.popular_posts ul {
    padding-left: 20px;
}

/* Comments */

.comment {
    border-bottom: 1px solid #cccccc;
    padding: 13px 0;
    width: 60%;
    overflow: hidden;
}

.commentName,
.commentName a {
    font-weight: bold;
    text-decoration: none;
}

.commentName a:hover,
.commentName a:focus {}

.commentDate {
    color: #666666;
    font-size: 12px;
    padding-bottom: 10px;
}

.commentText,
.commentText p {
    color: #555555;
    margin: 0;
}

/* Blog Admin */

.admin_blog input[type='text'] {
    width: 100%;
}

.admin_blog textarea {
    width: 100%;
    min-height: 80px;
}

.admin_blog table {
    width: 100%;
}

.admin_blog td,
.admin_blog th {
    padding: 0 10px;
}

.admin_blog td {
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: 2px solid #bbb;
}

.admin_blog .comBox {
    padding: 5px;
    max-width: 500px;
    max-height: 35px;
    line-height: 17px;
    background: #efefef;
    overflow-y: auto;
}

#about-keypoint-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.about-keypoint {
    position: relative;
    display: inline-block;
    width: 170px;
    margin: 0 auto;
    text-align: center;
    vertical-align: top;
}

.about-keypoint-img {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.about-keypoint-txt {
    font-weight: bold;
}

/* ADMIN STYLING */

#adminpage input[name='login'],
#adminpage input[name='password'] {
    width: 100%;
}

#adminpage {
    margin: 0 0 20px 0;
    font-size: 12px;
    font-weight: normal;
}

#adminpage b {
    color: #000000;
    font-weight: bold;
}

#adminpage table {
    margin-bottom: 10px;
    border: none;
    background: #dfdfdf;
}

#adminpage table img {
    display: inline-block;
    margin: 0 auto;
}

#adminpage td {
    background: #dfdfdf;
    color: #000000;
    text-align: left;
	font-size: 12px;
}

#adminpage th {
    background: #cfcfcf;
    color: #000000;
    text-align: left;
	font-size: 14px;
}

#adminpagegallery {
    position: relative;
    font-size: 12px;
    font-weight: normal;
}

#adminpage table.productedit {
    width: 100%;
}

#adminpage .productedit>td {
    background: #d6d6d6;
}

#adminpage .productedit2>td {}

#adminpage table.LogBody {
    width: 100%;
}

#adminpage table.log {
    width: 100%;
    background: #333333;
}

#adminpage table.log th {
    padding: 2px;
    background: #555555;
    color: #ffffff;
    font-size: 13px;
}

#adminpage table .logrow1 td {
    padding: 4px;
    background: #cfcfcf;
    font-size: 12px;
}

#adminpage table .logrow2 td {
    padding: 4px;
    background: #eeeeee;
    font-size: 12px;
}

#adminpage table .logrowS td {
    padding: 4px;
    background: #ffff66;
    font-size: 12px;
}

#adminpage table label {
    display: inline-block;
    width: 100%;
    padding: 2px;
}

#adminpage table label:hover,
#adminpage table label:focus {
    color: #cf0000;
    cursor: pointer;
}

#edit_product tbody tr td fieldset table tbody tr td:first-child {
    width: 180px;
}

fieldset {
    border: none;
}

.audit_box li {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

span.audit_showhide {
    background: #222;
}

#adminpage input[size='90'] {
    width: 100%;
}

#adminpage input[name='insert'] {
    width: 50%;
}

/* SUBPAGES */

.subpages {
    margin: 3.5rem 0;
}

.subpages div {
    display: inline-block;
    box-sizing: border-box;
    width: 25%;
    min-width: 100px;
    padding: 2rem;
    text-align: center;
    vertical-align: bottom;
}

.subpages a {
    display: inline-block;
    max-width: 100%;
    color: #727272;
    text-decoration: none;
}

.subpages img {
    border: 0;
    margin-bottom: 5px;
}

.subpages span {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
}

.subpages a:hover img,
.subpages a:focus img,
.subpages a:hover {
    opacity: 0.7;
    font-weight: bold;
    color: #2d7730;
}

/* CONTACT MESSAGE */

#contact {
    margin: 20px auto;
    background: #ececec;
    color: #727272;
    font-size: 20px;
    font-weight: bold;
    padding: 30px;
}

/* CONTACT */

#contactform input[name='enquiry[Postcode]'] {
    width: 100px;
}

#contactform #contact_thanks {
    padding: 15px;
    margin: 0 auto;
    width: 75%;
    text-align: center;
    border: 1px solid #afafaf;
    background: #cfcfcf;
}

#contactpage {
    position: relative;
    display: inline-block;
    width: 54%;
    max-width: 60%;
    vertical-align: top;
    font-weight: bold;
    text-align: left;
    overflow: hidden;
    padding: 2%;
}

#warrantyright {
    position: relative;
    display: inline-block;
    max-width: 40%;
    vertical-align: top;
    font-weight: bold;
    text-align: right;
    overflow: hidden;
    float: right;
}

/* SITE FORMS */

.form {
    overflow: hidden;
    text-align: left;
    width: 100%;
}

.form * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form .error {
    color: #cc0000;
}

.form>div {
    padding: 1px;
    margin: 0 0 10px 0;
    overflow: hidden;
}

.form>div>label {
    width: 35%;
    float: left;
    padding-right: 10px;
    line-height: 24px;
}

.form>div>div {
    width: 65%;
    float: right;
}

.form input[type=text],
.form input[type=email],
.form input[type=url],
.form input[type=password],
.form input[type=tel],
.form input[type=number],
.form textarea,
.form select {
    width: 75%;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.form input[type=text]:focus,
.form input[type=email]:focus,
.form input[type=url]:focus,
.form input[type=password]:focus,
.form input[type=tel]:focus,
.form input[type=number]:focus,
.form textarea:focus {
    outline: 0;
    border-color: #4697e4;
}

@media (max-width: 640px) {
    .form>div {
        margin: 0 0 8px 0;
    }
    .form>div>label {
        width: 100%;
        float: none;
        margin: 0 0 5px 0;
    }
    .form>div>div {
        width: 100%;
        float: none;
    }
    .form input[type=text],
    .form input[type=email],
    .form input[type=url],
    .form input[type=password],
    .form input[type=tel],
    .form input[type=number],
    .form textarea,
    .form select {
        width: 100%;
    }
}

/* Footer & Legal */

footer {
    padding: 25px 0 0 0;
    background-color: #717171;
}

footer h3 {
    margin-bottom: 15px;
    color: white;
}

footer p {
    color: white;
    font-size: 15px;
}

footer li {
    font-size: 15px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    color: #bcd201;
    text-decoration: underline;
}

footer .quick-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 200;
}

footer .quick-menu li {
    margin-bottom: 10px;
}

footer .lower-bar {
    background-color: white;
    padding: 10px 15px;
    margin-top: 25px;
}

footer .lower-bar .columns {
    align-items: center;
    justify-content: space-between;
}

footer .legal {
    font-size: 11px;
    text-align: center;
    padding-top: 15px;
}

footer .legal a {
    color: #bcd201;
}

footer .legal img {
    margin-left: 5px;
    vertical-align: top;
}

@media (max-width: 1850px) {
    .sociallinksupper {
        position: absolute;
        right: 200px;
    }
}

@media (max-width: 1750px) {
    .sociallinksupper {
        position: absolute;
        right: 170px;
    }
}

@media (max-width: 1700px) {
    .sociallinksupper {
        position: absolute;
        right: 150px;
    }
}

@media (max-width: 1650px) {
    .sociallinksupper {
        position: absolute;
        right: 120px;
    }
}

@media (max-width: 1600px) {
    .sociallinksupper {
        position: absolute;
        right: 100px;
    }
}

@media (max-width: 1400px) {
    .dealer {
        width: 45%;
    }
}

@media (max-width: 1280px) {
    .slideshow-text {
        width: 90%;
    }
    .image-link p {
        font-size: 24px;
    }
    /* Main Menu */
    #toggleMenu {
        background: url("../images/menu-icon.png") 20px 15px no-repeat;
        color: #727272;
        font-size: 15px;
        font-weight: bold;
        text-transform: uppercase;
        padding: 10px 15px 13px 45px;
        cursor: pointer;
        text-align: left;
    }
    #toggleMenu:hover {
        background: url("../images/menu-icon-hover.png") 20px 15px no-repeat #bcd201;
        color: #F3F3F3;
    }
    .ddmenu ul {
        display: flex;
        flex-flow: wrap;
    }
    .ddmenu li {
        display: flex;
        flex: 0 0 100%;
    }
    .ddmenu a {
        flex: 0 0 calc(100% - 24px);
    }
    .ddmenu li ul {
        display: none;
    }
    .ddmenu nav>ul>li:not(:last-child) {
        background-image: none;
    }
}

@media (max-width: 1120px) {
    /* Product Page */
    .fixedContainer {
        width: 92% !important;
    }
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        width: 3% !important;
    }
}

@media (max-width: 1024px) {
    .dealer {
        width: 44%;
    }
}

@media (max-width: 985px) {
    .ddmenu nav ul li ul {
        display: none;
    }
    .ddmenu nav ul li ul li {
        display: none;
    }
    /* Product Page */
    #productD_left,
    #productD_right {
        width: 49%;
    }
    #productTabs .specs label {
        width: 60%;
        padding: 10px 5%;
    }
    #productTabs .spec {
        width: 40%;
        padding: 10px 2%;
    }
    .productitem {
        flex-basis: calc(50% - 25px);
    }
    .section-inner {
        padding: 0 1rem;
    }
    .product-details {
        flex-wrap: wrap;
    }
    .product-details>div {
        flex: 0 0 calc(100% - 30px);
    }
    .vertical-tabs {
        display: flex;
        flex-wrap: wrap;
    }
    .vertical-tabs li {
        flex: 0 1 auto;
    }
    .vertical-tabs a {
        padding: 0 1rem 0 2.5rem;
        font-size: 20px;
        height: 46px;
        background-position: bottom left;
    }
    /* VIRTUAL SHOWROOM */
    .virtualshowroomsleft {
        width: 35%;
    }
    .virtualshowroomsright {
        width: 61%;
    }
    .virtualshowroomsright iframe {
        height: 300px;
    }
    .image-link {
        flex-wrap: wrap;
        height: auto;
    }
    .image-link>div {
        flex: 0 0 100%;
    }
    .image-link p {
        font-size: 18px;
    }
    .text-left::after,
    .text-right::after {
        content: none;
    }
    .hr-heading {
        font-size: 20px;
    }
}

@media (max-width: 930px) {
    #contact {}
    #contact a {
        float: none;
        position: relative;
        display: block;
        width: auto;
        margin: 15px auto 0;
        padding: 10px;
    }
    .dealer {
        width: 90%;
    }
}

@media (max-width: 860px) {
    #contactpage {
        position: relative;
        display: inline-block;
        width: 96%;
        max-width: 70%;
        vertical-align: top;
        font-weight: bold;
        text-align: left;
        overflow: hidden;
        padding: 2% 0;
    }
    #warrantyright {
        position: relative;
        display: inline-block;
        max-width: 30%;
        vertical-align: top;
        font-weight: bold;
        text-align: right;
        overflow: hidden;
        float: right;
    }
}

@media (max-width: 825px) {
    header .section-inner {
        flex-wrap: wrap;
    }
    header .logo {
        flex: 0 0 50%;
    }
    header .header-right {
        flex: 0 0 100%;
        margin-top: -80px;
    }
    .form {
        width: 100%;
    }
    .quick-links {
        flex-wrap: wrap;
    }
    .quick-links>div {
        flex-basis: 50%;
    }
    .quick-links-lower {
        flex-wrap: wrap;
    }
    .quick-links-lower .columns-seven {
        flex: 0 0 calc(50% - 30px);
    }
    footer .columns {
        flex-wrap: wrap;
    }
    footer .columns-four,
    footer .columns-six,
    footer .columns-five {
        flex-basis: calc(50% - 30px);
    }
}

@media (max-width: 780px) {
    .directoryitem {
        width: 100%;
        margin-right: 0;
    }
    #footer {
        height: 30px;
        padding: 13px 0 0 0;
    }
}

@media (max-width: 700px) {
    .productitem {
        height: 270px
    }
    .productbtns a {
        display: block;
    }
    /* VIRTUAL SHOWROOM */
    .virtualshowroomsleft {
        width: 100%;
    }
    .virtualshowroomsright {
        width: 100%;
    }
    .virtualshowroomsright iframe {
        height: 500px;
    }
}

/* RESPONSIVE FOR MOBILE */

@media (max-width: 640px) {
    * {
        width: auto;
        height: auto;
    }
    .hr-heading {
        display: none;
        visibility: hidden;
        pointer-events: none;
    }
    .vertical-tabs li {
        flex: 0 0 100%;
        margin: 2px 0;
    }
    .text-left {
        padding-right: 45px;
    }
    .text-right {
        padding-left: 45px;
    }
    #contact {
        flex-wrap: wrap;
    }
    #contact>div {
        flex: 0 0 100%;
    }
    #contact>a {
        flex: 0 0 calc(100% - 20px);
    }
    #contactpage {
        max-width: 100%;
    }
    #warrantyright {
        display: none;
    }
    footer .columns-four,
    footer .columns-six,
    footer .columns-five {
        flex-basis: calc(100% - 30px);
    }
    /* Structure */
    #wrapper {
        width: 100%;
        border: 0;
    }
    /* Product Filtering */
    .filterOpts label {
        display: inline-block;
        margin-right: 10px;
    }
    /* Gallery */
    .pagegalleryimage {
        width: 19%;
        padding-bottom: 19%;
        margin: 0.5%;
    }
    /* HTML Sitemap */
    #sitemap>div {
        float: none !important;
        width: auto !important;
    }
    /* Product List */
    .productitem {
        width: 46%;
        height: 265px;
        margin: 5px 1% 10px 1%;
    }
    /* Product Display */
    .fixedContainer {
        width: 96% !important;
        height: auto !important;
        float: none !important;
        text-align: center;
        margin: 0 auto;
    }
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        display: none;
        width: 5% !important;
    }
    .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
        width: 100%;
        text-align: left;
        padding: 2px 6px !important;
    }
    .moveableContainer {
        height: auto !important;
        width: 100% !important;
    }
    #productTabs>ul li {
        width: 99% !important;
        padding: 0;
        display: block;
        margin-right: 0;
        text-align: center;
    }
    .productT_left {
        display: block;
        width: 100%;
    }
    .productT_right {
        display: block;
        width: 100%;
    }
    .productD_large {
        height: auto;
    }
    #productD_left {
        display: block;
        width: auto;
    }
    #productD_right {
        display: block;
        width: auto;
        margin-left: 0;
    }
    #productD_right h1 {
        padding: 0;
    }
    .productD_detail {
        padding: 0;
    }
    #productD_price {
        padding: 10px 0;
    }
    #productD_links {
        padding: 10px 0;
    }
    #productD_pdfs {}
    .productD_pdf {
        display: inline-block;
    }
    .productD_text {
        padding: 0;
    }
    .productD_thumb {
        width: 29%;
        margin: 1%;
    }
    .productD_thumb a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: auto;
    }
    #productTabs2>ul li {
        padding: 10px 3%;
        margin-right: 0;
        width: 44%;
    }
    /* Recent Views */
    #recentview {
        float: none;
        width: auto;
        padding: 0 15px 15px 15px;
        margin: 0;
        border-top: 1px solid #bbbbbb;
    }
    .recent_view {
        width: 50%;
        vertical-align: middle;
        display: inline-block;
    }
    /* Shopping Cart */
    td.c_del {
        width: 20px;
        padding: 3px 5px;
    }
    .c_img {
        width: 60px;
    }
    .c_qty {
        width: 50px;
    }
    .c_qty input {
        width: 100%;
    }
    .c_sub {
        width: 60px;
    }
    .c_opt {
        width: 50px;
    }
    .c_voucher input[type='text'],
    .c_shipping input[type='text'],
    .c_shipping select {
        width: 100%;
    }
    .c_box {
        clear: right;
        margin-top: 10px;
    }
    /* Form (Step 2) */
    #form_detail,
    #form_shipping,
    #form_payment {
        width: auto !important;
        display: block !important;
        margin: 0 !important;
    }
    .c_table input[type='text'],
    .c_table input[type='email'],
    .c_table input[type='phone'],
    .c_table input[type='number'],
    .c_table textarea,
    .c_table select {
        width: 100% !important;
    }
    .c_table input[size='4'],
    select[name='cart_submit[orderCardExpiryM]'],
    select[name='cart_submit[orderCardExpiryY]'] {
        width: auto !important;
    }
    table.c_table th {
        width: 35%;
        min-width: 90px;
    }
    #c_cvvhelpbox {
        left: -140px;
        width: 200px;
    }
    /* Admin Area */
    #adminpage textarea,
    #adminpage select,
    #adminpage input {
        width: 100%;
    }
    #adminpage input[size='3'] {
        width: 50px;
    }
    #adminpage input[type='submit'] {
        width: auto;
    }
    .audit_box li {
        width: auto;
        display: block;
    }
    /* Forces better display of page thumb editor */
    #adminpage td#subpage {
        width: 46%;
        display: inline-block;
    }
    #adminpage td#subpage table {
        width: 100%;
    }
    #adminpage td#subpage img {
        width: 100%;
    }
    /* Forces better display of page gallery editor */
    #adminpagegallery>table>tbody>tr>td,
    #adminpagegallery>table>tr>td {
        display: inline-block;
        width: 100%;
    }
    #adminpagegallery>table>tbody>tr>td>table,
    #adminpagegallery>table>tr>td>table {
        width: 100% !important;
        border: 0;
    }
    #adminpagegallery div[align='right'] {
        text-align: center;
    }
    #adminpagegallery>form td {
        width: 19%;
        height: 75px;
        overflow: hidden;
        display: inline-block;
    }
    /* Replace parts of Site Report that wont display well on mobile with a message */
    #sr_mvp #sr_data {
        display: none;
    }
    #sr_mvp:after {
        content: "This information cannot be displayed on this sized screen or device. Please view on a larger screened computer or device.";
        display: block;
        margin: 0 15px;
    }
    /* Subpages */
    .subpages div {
        width: 48%;
        margin: 4px 1%;
    }
    /* Contact */
    #contacttext iframe {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .sociallinksupper {
        right: 70px;
    }
    .sociallinksupper img {
        padding: 5px 2px;
        ;
    }
}

@media (max-width: 560px) {
    .search-bar {
        margin-top: 30px;
    }
}

@media (max-width: 495px) {
    .productD_thumb {
        width: 45%;
    }
}

@media (max-width: 415px) {
    #footer {
        height: 42px;
        padding: 0;
    }
    #productTabs2 .group {
        columns: 1;
    }
    #productTabs2>ul li {
        width: 94%;
    }
    .subpages div {
        width: 98%;
    }
    .virtualshowroomsright iframe {
        height: 400px;
    }
}

@media (max-width: 360px) {
    /* Product List */
    .productitem {
        width: auto;
        display: block;
        height: 265px;
        margin: 5px 0 10px 0;
    }
    .productbtns a {
        font-size: 14px;
    }
    /* Product Display */
    .productD_pdf {
        width: 100%;
    }
    /* Recent Views */
    .recent_view {
        width: auto;
        display: block;
    }
    /* Shopping Cart */
    table.cart {
        border-collapse: separate !important;
        border-spacing: 0 5px;
    }
    table.cart th {
        display: none;
    }
    td.c_title,
    td.c_opt,
    td.c_unit,
    td.c_qty,
    td.c_sub {
        display: inline-block;
        width: 94%;
        height: auto;
        border-right: 1px solid #bbbbbb;
    }
    td.c_del {
        border: 1px solid #bbbbbb;
        border-right: 0;
        border-radius: 6px 0 0 6px;
        height: auto;
    }
    td.c_img {
        width: auto;
        border-top: 1px solid #bbbbbb;
        border-bottom: 1px solid #bbbbbb;
    }
    td.c_img img {
        width: 50px !important;
    }
    td.c_title {
        border-top: 1px solid #bbbbbb;
        border-radius: 0 6px 0 0;
    }
    td.c_unit {
        text-align: left;
    }
    td.c_qty {
        text-align: left;
        border-bottom: 1px solid #bbbbbb;
        border-radius: 0 0 6px 0;
    }
    td.c_qty input {
        width: auto;
    }
    #c_upBtn {
        font-size: 13px;
        padding: 2px 6px;
        margin: 0 0 0 4px;
    }
    td.c_sub {
        display: none;
    }
    td#c_total {
        padding: 0;
        border-top: 0;
    }
    .c_totals {
        float: none;
        width: auto;
    }
    .c_box {
        float: none;
        width: auto;
        margin-right: 0;
    }
    #c_cvvhelpbox {
        left: -140px;
        width: 160px;
    }
}

@media (max-width: 320px) {
    /* Shopping Cart */
    table.cart * {
        font-size: 12px !important;
        line-height: 15px;
    }
    td.c_del {
        padding-right: 0;
        padding-left: 3px;
    }
    td.c_img {
        display: none;
    }
    td.c_title,
    td.c_opt,
    td.c_unit,
    td.c_qty,
    td.c_sub {
        padding-left: 0;
    }
    .c_totals div>span {
        width: 50%;
    }
    .c_totals span>span {
        width: 100%;
    }
}

/* DEBUG */

#debug {
    position: relative;
    padding: 10px 15px;
    text-align: left;
    background: #cfdaff;
    border-top: 12px solid #c4d2ff;
    border-bottom: 12px solid #c4d2ff;
}

#debug h1 {
    border: none;
    color: #001b51;
    text-transform: none;
    text-decoration: none;
}

#debug pre {
    color: #000d27;
}