/* STYLING OF HORT STRUCTURES GALLERY */

@media only screen and (min-width: 601px) {
	img.fancy-img-gallery {
		padding: 6px 4px 6px 4px;
		max-width: 32.5%;
	}
}

@media only screen and (max-width: 600px) {
	img.fancy-img-gallery {
		padding: 6px 4px 6px 4px;
		max-width: 48%;
	}
}

/* STYLING OF TABLES IN PRODUCT DESCRIPTIONS */

#ProductTable {
	border-collapse: collapse;
	width: 100%;
}

#ProductTable td,
#ProductTable th {
	border: 1px solid #ddd;
	padding: 6px;
}

#ProductTable tr:nth-child(even) {
	background-color: #f2f2f2;
}

#ProductTable tr:hover {
	background-color: #ddd;
}

#ProductTable th {
	padding: 8px;

	text-align: left;
	font-weight: 600;
	background-color: #0e9d45;
	color: white;
}

/* STYLING OF HEADER TEXT */

h1,
h2 {
	font-weight: 600;
}

/* FIX HIDDEN HOMEPAGE SLIDER TEXT */

@media only screen and (max-width: 1599px) and (min-width: 1450px) {
	h1.slider-title,
	p.slider-content {
		position: relative;
		top: 20px;
	}
}

@media only screen and (max-width: 1449px) and (min-width: 1280px) {
	h1.slider-title,
	p.slider-content {
		position: relative;
		top: 55px;
	}
}

/* FIX NO BOTTOM MARGIN ON CATEGORY 'ADD TO CART' AND 'VIEW PRODUCT' BUTTONS */

.category-products .products-grid li.item .details-area .actions {
	margin-bottom: 5px;
}

/* FIX LISTS STYLING IN BLOG */

.postContent ul {
	list-style: disc outside;
	padding-left: 1.5em;
}

/* FIX READ MORE LINK IN BLOG */

.aw-blog-read-more {
	font-weight: 700;
	color: #fff;
	background: #5988b7;
	padding: 0px 8px 1px;
	border-radius: 2px;
	line-height: 1;
	height: 21px;
	text-decoration: none;
	font-weight: 400;
	font-size: 15px;
	margin-left: 1px;
	white-space: nowrap;
}

/* RESTYLE READ MORE LINK HOMEPAGE BLOG SLIDER + BLOG */

.inner-post .new-content p a,
.aw-blog-read-more {
	display: block;
	width: 105px;
	height: 35px;
	padding: 10px;
	margin: 10px 0 0 0;
	text-transform: capitalize;
	text-align: center;
	font-weight: 600;
}

/* HIDE SIDE DATE IN MOBILE BLOG */

@media only screen and (max-width: 990px) {
	.post-date {
		display: none;
	}
	.postWrapper {
		margin-left: 0px;
	}
}

/* ADD LEFT PADDING TO HOMEPAGE NEWS TEXT */

@media only screen and (min-width: 767px) {
	.new-content {
		padding-left: 10px;
	}
}

/* FIX NO MARGIN ON LIST IN PRODUCT DESCRIPTION */

.tab-content ul {
	margin: 0 0 15px 0;
}

/* STYLING FOR TESIMONIALS */

.testimonial-row-parent {
	display: flex;
}

.div-testimonial {
	background-color: #f9f9f9;
	float: left;
	width: 49%;
	border-radius: 15px;
	padding: 10px;
	margin: 10px;
	border-bottom: 2px solid #e15500;
	box-shadow: 1px 1px 3px grey;
}

.avatar {
	max-height: 75px;
	max-width: 75px;
}

.div-testimonial-img {
		float: right;
		padding: 0 0 0 10px;
	}

@media screen and (max-width: 990px) {
	.div-testimonial-text {
		float: left;
		max-width: 70%;
		padding: 0 10px 0 0;
	}
	.div-testimonial-img {
		float: right;
		max-width: 30%;
		padding: 0 0 0 10px;
	}
	.testimonial-row-parent {
	display: block;
	}
	.div-testimonial {
	width: 98%;
	margin: 10px 0 10px 0;
	}
}


/* SCROLLBAR STYLE */

/* width */

::-webkit-scrollbar {
	width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 0px;
}

/* Handle */

::-webkit-scrollbar-thumb {
	background: #d4d4d4;
	border-radius: 0px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
	background: #0e9d45;
}

/* Border Radius on Green Button */

a.btn.btn-default {
	border-radius: 8px;
}

/* Main Structures Page Image Styling */

ul.images-style {
	text-align: center;
}

.structures-image {
	border-radius: 10px;
}

.structures-image:hover {
	opacity: 0.8;
}

/* Hide Cart Right Progress */

.block.block-progress.opc-block-progress {
	display: none;
}

/* Make Webform Success Text Fernland Style */

.webforms-success-text {
	border: 1px solid #0e9d45;
	background: rgba(241, 241, 241, 0.45);
}

/* Styling of Jobs Div */

.jobs {
	border: 1px solid #0e9d45;
	border-radius: 10px;
	background: rgba(241, 241, 241, 0.45);
	padding: 20px;
	display: inline-block;
}


/* Styling of Recently Purchased Items Table */

.my-account .welcome-msg {
    margin-bottom: 15px;
}

.dataTables_wrapper {
	border: 1px solid #ddd;
	background: #f5f5f5;
	padding: 10px 0 10px 0;
}
.dataTables_wrapper .data-table tbody th, .data-table tbody td {
	border-right: none;
}
.dataTables_wrapper .tier-price-wrap {
	border: none;
}
.dataTables_wrapper .addtocart {
	background: #e15500;
}
.dataTables_wrapper .data-table input.qty {
	width: 56px !important;
	height: 38px;
}
.dataTables_wrapper .qty-holder {
	width: 75px;
}
.dataTables_wrapper table.dataTable thead th, table.dataTable thead td {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.dataTables_wrapper table.dataTable.no-footer {
	border-bottom: none;
}
.dataTables_wrapper .dataTables_length {
	float: right !important;
	padding-bottom: 10px;
	padding-right: 10px;
}
.dataTables_wrapper .dataTables_filter {
	float: left !important;
	margin-left: 10px;
	background: #e15500;
	border: none;
	border-radius: 5px;
	width: 70%;
}
.dataTables_wrapper select {
	height: 35px;
	border: 1px solid #0e9d45;
}
.dataTables_wrapper .dataTables_filter input {
	height: 35px;
	border-top: 1px solid #0e9d45;
	border-right: 1px solid #0e9d45;
	border-bottom: 1px solid #0e9d45;
	border-left: none;
	width: 85%;
	background: #fff;
	padding-left: 10px;
}
.dataTables_wrapper .dataTables_filter label {
	width: 100%;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
}
.dataTables_wrapper .dataTables_info {
	padding-left: 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: #0e9d45 !important;
	border: 1px solid #0e9d45 !important;
}

@media only screen and (max-width: 640px) {
	.dataTables_wrapper .dataTables_filter {
		text-align: right !important;
		width: 95%;
		margin-bottom: 10px;
	}
}
@media only screen and (max-width: 640px) {
	.dataTables_wrapper .dataTables_length {
		float: left !important;
		padding-left: 10px;
	}
}
@media only screen and (max-width: 440px) {
	.dataTables_wrapper .dataTables_filter input {
		width: 75%;
	}
}


/* Remove border on mini cart on mobile */

@media only screen and (max-width: 991px) {
	.header-container.type9 .header .mini-cart {
		border-left: none !important;
	}
}

/* Remove Deafult Magento Last Ordered Item */

.block.block-reorder {
    display: none;
}

/* Change colour of product tabs */

.product-collateral {
    width: 100%;
}

.product-tabs>ul li a {
    background: #0e9d45;
    color: white;
}

.product-tabs>ul li.active a {
    background: #ae854d;
}

@media only screen and (max-width: 480px) {
.product-tabs>ul li a {
    width: 100%;
}
}

/* Contact Me With A Freight Price Tooltip */

.freighttooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.freighttooltip .freighttooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.freighttooltip .freighttooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.freighttooltip:hover .freighttooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Condense Product Page */

.short-description {
    display: none !important;
}

.product-view .product-img-box {
    margin-bottom: 20px;
}

.product-collateral {
    margin-top: 5px;
}

/* Fix Product Price Style for Loggedin Users */

.product-view .product-shop .price-box-product .price-box .special-price .price{
	color: #e15500;
	font-size: 25px;
	font-weight: 800;
}

/* Hide Reviews */

#tab_review_tabbed {
	display: none;
}

/* MAKE CHECKOUT STEPS CLEARER/LESS CONFUSING*/
.opc .section {
    opacity: 0.1;
}
.opc .section.allow.active {
    opacity: 1;
}
.opc .section.allow {
    opacity: 0.5;  
}

/* Fix Line Height & Padding on Attribute Layered Nav */
.block-layered-nav dd li {
padding-bottom: 15px;
}

.block-layered-nav dd li a {
line-height: 1; 
}

/* FIX WEBFORM FIELD WIDTH ON SMALLER SCREENS */
@media only screen and (max-width:1200px) {
.form-list .field {
	margin-left: 0px;
	width: 100%
}
.form-list li {
	padding-right: 1.5em;
}
}

/* HEADER CONTACT NUMBER STYLE */
.contact-number-link a{
	color: #666666 !important;
	font-size: 29px !important;
	font-weight: 800 !important;
	letter-spacing: -2px !important;
	float: left !important;
	margin-top: 2px !important;
	text-decoration: none !important;
}

/* FIX FOOTER */
.col-sm-6 {
   overflow: hidden; 
}

/* FIX RECENT PURCHASE NOTIFICATION POSITION */
.brposition {bottom: 60px !important;}

/* FIX GOOGLE RATINGS BADGE POSITION */
#___ratingbadge_0 {right: 70px !important;}


/* PROBLEM SOLVER DETAILED INFO PAGE */
.problem_solver_description_photo_div .problem_solver_description_photo_img {
	float: right;
	overflow: hidden;
	margin: 0 0 20px 20px;
	border-bottom:2px solid #e15500;
	box-shadow:1px 1px 4px grey;
}
@media only screen and (max-width: 991px) {
	.problem_solver_description_photo_div .problem_solver_description_photo_img {
		float: right;
		overflow: hidden;
		width: 100%;
		margin: 0 0 20px 0;
	}
}


/* PROBLEM SOLVER CATEGORY PAGE */
.problem_solver_category_div {
	float: left;
	overflow: hidden;
	margin: 10px;
	width: 31%;
	text-align: center;
	border-bottom:2px solid #e15500;
	box-shadow:1px 1px 4px grey;
}

.ps-problem-name {
    float:left;
    width:100%;
    background:#5988b7;
    padding:5px;
    margin-bottom:6px;
    color:#fff ;
    font-weight:600; 
    text-transform:uppercase; 
}

.problem_solver_category_img {
	width: 100%;
}
@media only screen and (max-width: 991px) {
	.problem_solver_category_div {
		width: 47%;
	}
}
@media only screen and (max-width: 640px) {
	.problem_solver_category_div {
		width: 100%;
	}
}

@media only screen and (max-width: 640px) {
	.problem_solver_category_parent {
		padding-right: 20px;
	}
}

.ps-information-btn a {
    float: left;
    color: white;
    font-weight:600;
    background: #0e9d45;
    width: 47.25%;
    padding: 5px;
    margin: 0 0px 6px 6px;
}

.ps-treated-by-btn a {
    float: right;
    color: white;
    font-weight:600;
    background: #ae854d;
    width: 47.25%;
    padding: 5px;
    margin: 0 6px 6px 0px;
}

.amfinder-horizontal .dropdown-title {font-weight: 600;padding-bottom: 15px;color: #e15500;}
.amfinder-horizontal .amfinder-toggle {padding-left: 0px; padding-bottom: 0px;}
.amfinder-horizontal li {padding-right: 10px;}

@media only screen and (max-width: 770px) {
.amfinder-horizontal {display: block;}
.amfinder-horizontal .amfinder-title { display: none; }
.amfinder-horizontal .amfinder-title span { position: relative; }
.amfinder-horizontal .amfinder-toggle { padding: 10px; display: block; border:none;}
.amfinder-horizontal .amfinder-buttons { display: block; width: 100%; }
.amfinder-horizontal li { display: inline-block; min-width: 160px; margin-bottom: 20px; }
.amfinder-horizontal li.last { display: block; width: 100%; }
.amfinder-horizontal li div select { width: 100%; }
.amfinder-hide { display: none; }
}

/* PROBLEM SOLVER IMAGE SLIDER */
.mySlides {display:none}
.w3-left, .w3-right, .w3-badge {cursor:pointer}
.w3-badge {height:13px;width:13px;padding:0}
.w3-left{float:left!important}.w3-right{float:right!important}
.w3-badge,.w3-tag{background-color:#000;color:#fff;display:inline-block;padding-left:4px;padding-right:4px;text-align:center}.w3-badge{border-radius:50%}
.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before,
.w3-cell-row:before,.w3-cell-row:after,.w3-clear:after,.w3-clear:before,.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both}
.w3-col,.w3-half,.w3-third,.w3-twothird,.w3-threequarter,.w3-quarter{float:left;width:100%}
.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px}
.w3-content,.w3-auto{margin-left:auto;margin-right:auto}.w3-content{max-width:980px}.w3-auto{max-width:1140px}
.w3-tooltip,.w3-display-container{position:relative}.w3-tooltip .w3-text{display:none}.w3-tooltip:hover .w3-text{display:inline-block}
.w3-display-container:hover .w3-display-hover{display:block}.w3-display-container:hover span.w3-display-hover{display:inline-block}.w3-display-hover{display:none}
.w3-center .w3-bar{display:inline-block;width:auto}
.w3-bar-block.w3-center .w3-bar-item{text-align:center}.w3-block{display:block;width:100%}
.w3-center{text-align:center!important}
.w3-section,.w3-code{margin-top:16px!important;margin-bottom:16px!important}
.w3-large{font-size:18px!important}
.w3-text-white,.w3-hover-text-white:hover{color:#fff!important}
.w3-display-bottommiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
.w3-text-khaki,.w3-hover-text-khaki:hover{color:#e15500!important}
.w3-border{border:1px solid #ccc!important}
.w3-transparent,.w3-hover-none:hover{background-color:transparent!important}
.w3-white,.w3-hover-white:hover{color:#000!important;background-color:#e15500!important}

/* FIX BUNDLE PRODUCT - CHECKBOX STYLE */
li span.input-icon {
	top: 15px !important;
}
.product-options ul.options-list .label label {
	text-transform: none;
}

/* REMOVE ADD TO CART and VIEW PRODUCT FROM PRODUCT UPSELL + STYLING */
.box-up-sell .actions {
    display: none !important;
}
.box-collateral.box-up-sell.category-products {
    border: lightgrey 1px solid;
    padding: 10px 10px 0px 10px;

/* END CSS STYLE */