/** ----------------------------------------------------------
 *
 * Contains the main layout of the page and the individual styles.
 * Acts as the main stylesheet for theme.
 *
 *		Include your notes or table of contents below....
 *		Include color hex's or values of your grid
 *
 *		1. OOCSS GRID
 *		2. MAIN LAYOUT
 *		3. HEADER
 *			- Brand
 *			- Search Form
 *		4. Navigation
 *			- Primary Navigation
 *			- tablet Navigation
 *			- Secondary Navigation
 *			- Secondary Nav 2-5 Levels deep
 *		5. Mixed
 *		6. Footer
 *		7. Page Specific Layout
 *			- Homepage
 *			- Search Results
 *		8. Device and Responsive Layout
 *			- Breakpoint 960px
 *			- Breakpoint 640px
 *				- Search Form
 *				- Main Content
 *		9. Print Styles
 *			- Simple Theme custom print styles
 *
 * @author Your Name <email@silverstripe.com>
 * ------------------------------------------------------- */

/* OOCSS Grid
* https://github.com/stubbornella/oocss/wiki/grids
*/



/* PERMANITE COLOURS */
/*
BROWN 79716F
PINK E81469
YELLOW FCB040
BLUE 27a7DD

SUCCESS GREEN 8cde3c

*/


.permaniteBlue { color:#27a7DD; }
.permanitePink { color:#E81469;  }

#LayoutBannerMain { min-height:20px; /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bababa+1,26aae1+9,70a373+30,fec432+57,fec432+57,ff2323+91,bababa+100 */

/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#26aae1+14,70a373+35,fec432+63,e21f1f+84 */
background: #26aae1; /* Old browsers */
background: -moz-linear-gradient(left,  #26aae1 14%, #70a373 35%, #fec432 63%, #e21f1f 84%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #26aae1 14%,#70a373 35%,#fec432 63%,#e21f1f 84%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #26aae1 14%,#70a373 35%,#fec432 63%,#e21f1f 84%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26aae1', endColorstr='#e21f1f',GradientType=1 ); /* IE6-9 */






/* IE6-8 */}
#test {   font-family: 'Gotham Book' !important;
    font-weight: normal;
    font-style: italic;  font-size:36px; }

.line, /* line - Groups units on one horizontal line. Note: for mobile layout units may be stacked to avoid horizontal scrolling. */
.lastUnit {
	overflow:hidden;
	*overflow:visible;
	*zoom:1;
	padding:0 10px;
}
.unit { /* unit - Base class which divides a line into sections (columns). */
	float:left;
	padding:0 10px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box; /* box-sizing:border-box; creates a box-model where 
	padding and border are NOT added onto the width - they are included in the width, 
	so a 200px wide element with 20px padding will be 200px, NOT 240px wide */
}
.unitRightv { /* Use this class if you want to offset a column eg: |--content(.unit)--|--content(.unit)--|--no-content--|--no-content--|--content(.unitRighttv)--| */
	float:right;
}

/* sizeXofY - Extends unit. Indicates the fractional width of the unit, for example size3of4 would take up three quarters, or 75%, of the horizontal space. 
The following fractions are supported: 1, 1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, 4/5 */
/* It is possible to add more columns if you wish you will just have to add the fractions that are missing eg: .size1of6 {width:16.66666%;} */
.floatLeft { float:left; }
.clear { clear:both;}
.size1of1 {
	float:none;
}
.size1of2 {
	width:50%;
}
.size1of3 {
	width:33.33333%;
}
.size2of3 {
	width:66.66666%;
}
.size1of4 {
	width:25%;
}
.size3of4 {
	width:75%;
}
.size1of5 {
	width:20%;
}
.size2of5 {
	width:40%;
}
.size3of5 {
	width:60%;
}
.size4of5 {
	width:80%;
}
.lastUnit { /* lastUnit - Extends unit. Applied to the last child of every line. */
	float:none;
	width:auto;
	_position:relative; /* Bug fix for IE6 - Internet Explorer 6 and below wouldn't fail on properties that were prefixed with non-alphanumeric characters. 
	meaning that anything prefixed with _ wouldn't be picked up by any other browsers */
	_left:-3px;
	_margin-right:-3px;
}

/* MAIN LAYOUT */
body {
    margin: 0;
   
    min-width: 240px; 
    -webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */
}
	.ie7 body,
	.ie8 body {
	    min-width: 1080px; /* media queries are not supported in ie7/8 without a polyfill */
	}
	.main {
	    background: #fff;
	    padding: 0px 0 60px;
	    min-height: 300px;
	}
	.inner {
	    max-width: 1080px;
	    margin: 0 auto;
	    padding: 0 0px;
	}
	.ie6 .inner {
	    width: 960px;
	}
	.no-sidebar .content-container {
	    float: left;
	    width:100%; /* makes content container full width when there is no sidebar */
	}
	.sidebar { /* this is the sidebar element */
	    margin-top: 12px;
	}
	.no-sidebar .sidebar {
		display: none;
	}


/* HEADER */
.header {
    background: #161616;
}
	.header .inner {
	    padding-top: 45px;
	    position: relative;
	    min-height: 72px;
	}

	/* Brand */
	header .brand, header .brand:hover {
	    float: left;
	    color: #fff;
	    display: inline-block;
	}
		.brand h1 {
		    margin: 0;
		    padding: 0;
		    font-size: 48px;
		    font-family: "HelveticaNeueLTPro-Bd", "Helvetica Neue LT Pro Bold", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue LT Pro", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
		    color: #fff;
		    font-weight: 600;
		    font-stretch: normal; /* default value. No font stretching */
		    line-height: 1em;
		}
		.brand p {
		    color: #888;
		    margin-bottom: 22px;
		}

	/* Search form */

	.search-bar {
		position: absolute;
		right: 13px;
		top: 12px;
	}
		.search-bar .field {
			margin: 0;
			padding: 0;
		}
		.search-bar form input.text {
		    width: 155px;
		    padding: 5px 34px 5px 15px;
		    color: #888;
		    margin: 0;
		    border: none;
		    -moz-border-radius: 14px;
		    border-radius: 14px;
		    background: #fff;
		}

		.search-bar form input.action { /* positions the search button icon over the top of the search input */
		    font-size: 14px;
		    position: absolute;
		    right: 5px;
		    top: 0;
		    cursor: pointer;
		    border: none;
		    padding: 5px;
		    background: none;
		    font-family: 'WebSymbolsRegular';
		    color: #848484;
			border-radius: 0;
			margin: 0;
		}
		.search-bar form input.active,
		.search-bar form input.action:hover {
		    color: #000;
		}
		.search-bar form input:focus,
		.header textarea:focus {
		    outline: none; /* removes default browser outlining on focus */
		}
		.search-dropdown-icon {
		    display: none; /* hides search-dropdown-icon when site is at full width - media queries set it to display:block when at mobile/tablet width */
		}



/* NAVIGATION */

	/* Primary navigation */
	.header .inner .unit {
		position: relative; /* used to position the main navigation */
	}
	.header .primary ul {
		position:absolute;
		bottom:0;
		right:0; /* positions the main navigation */
	}
	.header .primary li {
	    float: left;
	    padding-bottom: 14px;
	    margin: 0 5px;
	    position: relative;
	    white-space: nowrap; /* forces text to never wrap onto a second line */
	}
	.header .primary li a {
	    color: #888;
	    font-size: 15px;
	    font-family: Helvetica, Arial, sans-serif;
	    padding: 6px 8px;
	    font-weight: bold;
	    display: block;
	}
	.header .primary li a:hover {
	    color: #fff;
	}
	.header .primary li.section a,
	.header .primary li.current a {
	    color: #5f6266;
	}
	.header .primary li.section:after,
	.header .primary li.current:after {
	    content: '}'; /* adds triangle beneath current nav item ('}' is renders as a triangle when WebSymbolsRegular is set as the font) */
	    display: block;
	    position: absolute;
	    left: 50%;
	    margin-left: -7px;
	    bottom: -7px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 30px;
	    color: #fff;
	    text-align: center;
	    line-height: 20px;
	}

	/* Tablet Navigation */
	/* When navigation and logo overlap tablet-nav is initialized */
	.tablet-nav .brand p {
	    margin-bottom: 0;
	}
	.tablet-nav .header .inner {
	    padding-top: 20px;
	}
	.tablet-nav .header .primary ul {
	    float: left;
	    clear: both;
	    position: relative;
	    margin: 20px 0 0 -13px;
	    white-space: nowrap;
	    right: auto; /* resets the right property value that is set for the desktop site */
	}
		.tablet-nav .header .primary ul li {
		    white-space: nowrap;
		}
			.tablet-nav .header .primary ul li a { /* there is no hover on touch devices so no transition on hover is necessary */
			    -moz-transition: none;
			    -webkit-transition: none;
			    transition: none;
			}
	.tablet-nav .footer .right {
	    float: left;
	    width: 100%;
	}

	/* Secondary navigation */
	.main .secondary h3 {
	    font-size: 20px;
	    color: #AAA;
	    margin: 0 0 8px 0;
	    font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
	    font-weight: normal;
	}
	.main .secondary {
	   
	}
		.main .secondary ul {
		  
		}
		.main .secondary li {
		 
		}
			
		
	
		




/* MIXED */
header:after,
.main:after,
#Root:after,
.search-bar:after,
header .inner:after,
footer:after { /* clearfix */
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}
.search-bar form input.action,
.header .primary li a,
.footer a { /* adds color transition when links/inputs on hover */
	color:#fff;
    -moz-transition: color 0.2s;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.footer a.brand { color: #666; margin-left: 0; }
.footer a.brand:hover { color: #B80000; }
body h1 span.amp {
    font-family: Baskerville,"Goudy Old Style","Palatino","Book Antiqua",Georgia;
    font-style: italic;
}


/* FOOTER */
.footer {
    color: #d4d4d4;
    background: #5f6266;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px;
}
	.footer a {
	    color: #d4d4d4;
	}
	.footer a:hover {
	    color: #fff;
	}
	.footer .left {
	    float: left;
	    color: #000;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer .right {
	    float: right;
	    display: block;
	    margin-bottom: 10px;
	}
	.footer span {
	    padding: 0 3px;
	    color: #bbb;
	}
	.footer .primary,
	.footer .primary ul {
	    display: inline;
	    margin: 0;
	    padding: 0;
	}
		.footer .primary li {
		    display: inline;
		}
	.ie6 .footer .primary li,
	.ie7 .footer .primary li { /* this is a bugfix for ie6/7 */
	    display: inline;
	    zoom: 1;
	    margin-right: 10px;
	}
	.footer .primary li:after { /* adds '/' to separate the footer navigation items */
	    padding: 0 3px 0 5px;
	    content: '/';
	    color: #999;
	}
	.footer .primary li:last-child:after {
	    content: ''; /* makes sure last nav item doesn't have a '/' following it */
	}
	.footer .arrow {
	    padding: 0 8px 0 5px;
	    color: #b80000;
	    font-size: 13px;
	}
	.footer .primary .nav-open-button {
	    display: none; /* the footer includes the primary nav include - this makes sure the nav open close button doesn't show up */
	}

/* PAGE SPECIFIC LAYOUT */

	/* Homepage */
		/* currently no Hompage specific styles - feel free to add your own */

	/* Search Results */
	.typography .searchResults h1 {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	.searchResults p.searchQuery {
	    margin-bottom: 10px;
	    font-size: 15px;
	    font-weight: bold;
	}
	.searchResults ul#SearchResults {
	    padding: 0;
	    border-bottom: 1px solid #e5e5e5;
	    margin:0;
	}
		.searchResults ul#SearchResults li {
		    border-top: 1px solid #e5e5e5;
		    padding: 20px 0;
		    list-style-type: none;
		}
		.searchResults ul#SearchResults p {
		    margin-bottom: 10px;
		}
		.searchResults #PageNumbers a {
		    padding: 0 5px;
		}
		.searchResults #PageNumbers .pagination {
		   	border-bottom: 1px solid #e5e5e5;
		    padding: 20px 0;
		    display:table; /* displays the pagination as a table so that elements stay inline and the middle column adjusts its size to accomodate and the right arrow stays to the right */
		    width:100%;
		}
		.searchResults #PageNumbers .pagination span{
			display:table-cell; /* each element in the pagination div displays as a table cell */
		}
		.searchResults #PageNumbers p {
		    text-align: center;
		    padding:20px 0;
		}
		.searchResults #PageNumbers .next,
		.searchResults #PageNumbers .prev {
		    font-size: 14px;
		    padding: 0 20px;
		    display:table-cell; /* each element in the pagination div displays as a table cell */
		    vertical-align: middle;
		    border-bottom:0 !important;
		}
		.searchResults #PageNumbers .next {
		    margin-left: 15px;
		}
		.searchResults #PageNumbers .prev {
		    margin-right: 15px;
		}

/* DEVICE & RESPONSIVE LAYOUT */
.header .nav-open-button {
    display: none; /* removes the nav toggle button for desktop site */
}
#media-query-trigger {
    /* instead of detecting the width of the window in simple/javascript/script.js it detects the visibility of this element (which is set using media queries) 
    instead to trigger the hiding/showing of nav and search in mobile mode */
    display: none;
    visibility: hidden;
}

/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {
	.mobileDisplay { display:none; }
	.content img {
	    max-width: 97%;
	    height: auto;
	}
	.header .primary ul {
	    margin-left: -12px;
	    -webkit-padding-start: 0px; /* removes default webkit padding on ul items */
	}
}

/* BREAKPOINT 640px */

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 640px) { 
	body {
	    max-width: 640px;
	}
	#media-query-trigger {
	    visibility: visible;
	}

	/* Navigation*/

	.tablet-nav .header .brand {
	    float: none;
	    display: inline-block;
	    margin-left: 22px;
	    margin-bottom: 22px;
	}
		.brand h1 {
		    font-size: 40px;
		}
		.brand h1 {
		    padding-right: 100px; /* padding stops .brand text from overlapping the search and nav buttons */
		}
	.tablet-nav .header {
	    padding: 0px;
	}
		.tablet-nav .header .inner {
		    padding: 20px 0 0 0;
		    min-height: 0;
		}
		.tablet-nav .header .primary .nav-open-button { /* styling and positioning of the nav toggle button */
		    z-index: 100;
		    width: 20px;
		    height: 20px;
		    position: absolute;
		    right: 20px;
		    top: 35px;
		    display: block;
		    cursor: pointer;
		    font-family: 'WebSymbolsRegular';
		    font-size: 20px;
		    color: #ededed;
		}
		.tablet-nav .header .primary ul {
		    z-index: 10;
		    position: relative;
		    display: none; /* initially hiding the navigation */
		    float: left;
		    margin: 0;
		    padding: 0;
		    white-space: normal;
		    width: 100%;
		}
			.tablet-nav .header .primary ul li {
			    width: 100%;
			    margin: 0;
			    padding: 0;
			    float: none; /* displays list items vertically */
			    background: none;
			    position: relative;
			    text-shadow: 0 1px #fff;
			}
			.tablet-nav .header .primary ul li:after { /* creates the arrow for the primary nav links */
			    content: '\003e';
			    display: block;
			    position: absolute;
			    right: 20px;
			    top: 0px;
			    font-family: 'WebSymbolsRegular';
			    font-size: 14px;
			    color: #999;
			    text-align: center;
			    vertical-align: middle;
			    line-height: 38px;
			}
			.tablet-nav .header .primary ul li a,
			.tablet-nav .header .primary ul li.current a,
			.tablet-nav .header .primary ul li.section a { /* styling the  top level nav links */
			    padding: 10px 0 10px 22px;
			    font-weight: bold;
			    border-bottom: 1px solid #bbb;
			    color: #434343;
			    background: #e7e7e7;
			}
			.tablet-nav .header .primary ul li.current a,
			.tablet-nav .header .primary ul li.section a {
				background: #CCCCCC; /* makes background on current top level page slightly darker */
			}
			.tablet-nav .header .primary ul li a:hover {
			    color: inherit;
			}
			.tablet-nav .header .primary li.section:after,
			.tablet-nav .header .primary li.current:after {
			    display: none; /* hides the link arrow on current top level page */
			}
			.tablet-nav .tablet-nav .header nav.primary ul li {
				padding: 0;
			}

	/* Search Form */
	.search-bar { /* adds new styling to mobile search bar */
	    width: 100%;
	    position: relative;
	    top: 0;
	    right: 0;
	    display: none; /* hides searchbar initially */
	    padding: 20px 0;
	    margin: 0;
	    background-color: #E7E7E7;
	}
	.search-dropdown-icon { /* styling for search toggle button */
	    display: block;
	    cursor: pointer;
	    width: 20px;
	    height: 20px;
	    position: absolute;
	    right: 60px;
	    top: 34px;
	    font-family: 'WebSymbolsRegular';
	    font-size: 20px;
	    color: #ededed;
	    text-align: center;
	    line-height: 20px;
	}
	.search-bar form {
	    margin: 0;
	    width: 100%;
	}
		.search-bar form fieldset {
		    padding: 0 18px;
		    left: 0;
		    right: 0;
		    position: relative;
		}
	.search-bar div.field {
	    margin-bottom: 0;
	}
	.search-bar form input.text {
	    width: 89%; /* makes search input full width - allowing for space either side */
	    max-width: 89%;
	    padding: 8px 10% 8px 1%;
	    text-indent: 15px;
	    position: relative;
	    display: block;
	    right: 0;
	    left: 0;
	    border: 1px solid #e5e5e5;
	    background: #fff;
	    font-size: 17px;
	    -moz-border-radius: 20px; /* increase border radius due to increased padding */
		border-radius: 20px;
	}
	.search-bar form input.action {
	    right: 5%;
	    top: 2px;
	    font-size: 18px;
	}

	/* Main Content */
	.main { 
	    padding: 0px 0 45px; /* decrease padding so that more content can fit on screen */
	}
	.content-container,
	.sidebar {
	    width: 100%; /* sidenav is now shown above the page content */
	    margin-bottom: 30px;
	}
		.typography h1 { /* decrease size of page heading due to smaller screen */
		    font-size: 30px;
			line-height:35px;
		    margin-bottom: 15px;
		    padding-bottom: 10px;
		}
		.typography p {
		    font-size: 14px;
		    line-height: 23px;
		}
	p.intro {
	    font-size: 19px;
	    line-height: 27px;
	}
	.main .inner {
	    padding: 0 22px;
	}
	/* Secondry Nav */
	.secondary li a {
	    line-height: 24px;
	}
	.secondary li .arrow {
	    line-height: 26px;
	}
	/* Footer */
	.footer .right {
	    float: left;
	    width: 100%;
	}
}

/* Print Styles */

/* Based on HTML5 boilerplate print styles */
@media print {
	* {
	    background: transparent !important;
	    color: black !important;
	    box-shadow: none !important;
	    text-shadow: none !important;
	    filter: none !important;
	    -ms-filter: none !important;
	}
	a,
	a:visited {
	    text-decoration: underline
	}
	a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

	thead {
	    display: table-header-group
	}
	tr,
	img {
	    page-break-inside: avoid
	}
	img {
	    max-width: 100% !important
	}
	pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    /* Simple theme custom print styles */
	.header,
	.footer,
    .nav-open-button,
    .search-bar,
    .search-dropdown-icon,
    nav.primary {
	    display: none;
	}
}
#layoutHeaderContact .ultraBold:hover { color:red; }
.clear { clear:both;  }
.corner { padding-left:10px;
	border-radius: 8px 8px 8px 8px;
-moz-border-radius: 8px 8px 8px 8px;
-webkit-border-radius: 8px 8px 8px 8px;
   }
   .cornerBottom { padding-left:10px; 
 border-radius: 0px 0px 8px 0px;
-moz-border-radius: 0px 0px 8px 0px;
-webkit-border-radius: 0px 0px 8px 0px;
   }
input,textarea {     font-family: 'Permanite-Book'; background-color:#f7f7f7; }
.mobile { display:none; }
.main { padding-top:10px; font-size:14px; padding-bottom:30px; }
.book { font-family: "Permanite-Book", Verdana, Arial !important; } 
.bold { font-family: "Permanite-Bold", Verdana, Arial !important; font-weight:600 !important; }
.ultraBold {  font-family: "Permanite-Ultra", Verdana, Arial !important; }
.smallText { font-family: "Permanite-Book", Verdana, Arial !important; font-size:12px; color:#999 !important; font-weight:600 !important;  text-transform: none !important; }
.medText { font-family: "Permanite-Book", Verdana, Arial !important; font-size:14px; color:#999 !important; font-weight:600 !important; text-transform: none !important;  }
.smallTextPink { font-family: "Permanite-Book", Verdana, Arial !important; font-size:12px; color:#E81469 !important; font-weight:600 !important; text-transform: none !important;  }
#bodyContainer { overflow:auto; width:100%;  }
#bodyContent { width:836px; float:left;  }

.hidden { display:none;  } 
/* LOADER */
.gallery-loader { margin-top:30px !important;  }
#permanite-loader {margin:0 auto;  height:100px; width:100px; display: block;   background-image:url(../images/permanite-loader.png); background-color:#fff; 
}


/* DEALER CALC */

.dealer-bluebox {border:1px solid #27a7dd; color:#27a7dd; background-color:rgba(39,167,221,0.09); padding:7px; margin-top:3px; margin-bottom: 3px;
	
border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px; }
.dealer-bluebox input { border:1px solid #27a7dd; text-align: center; width: 150px; padding:6px; background-color: #fff;   border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
-webkit-border-radius: 2px 2px 2px 2px; font-family: "Permanite-Bold", Verdana, Arial !important; font-weight:600 !important; font-size:18px; }
#dealer-calculator h3 { border-bottom:0px; margin:0px !important; line-height:30px; }
.dealer-greybox {border:1px solid #ddd; background-color:#f7f7f7; padding:7px; margin-top:3px; margin-bottom: 3px;
border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px; }
.deal-callabel {  font-family: "Permanite-Black", Verdana, Arial !important; font-size:16px; margin-left:10px; margin-right:10px; }
.dealer-greybox input { text-align: center; width: 150px; padding:6px; background-color: #fff; border:1px solid #ddd;  border-radius: 2px 2px 2px 2px;
-moz-border-radius: 2px 2px 2px 2px;
-webkit-border-radius: 2px 2px 2px 2px; font-family: "Permanite-Bold", Verdana, Arial !important; font-weight:600 !important; font-size:18px;
}
/* HOMEPAGE */ 

h1#homepage-title {  letter-spacing:-1px; text-align: center; }

/* SUBPAGE MENU */
#submenu li { list-style: none; margin:0px; padding:0px;  }
#submenu li:first-child a { border-top:1px solid #e9e9e9; border-radius: 8px 8px 0px 0px;
-moz-border-radius: 8px 8px 0px 0px;
-webkit-border-radius: 8px 8px 0px 0px;   }
#submenu li:last-child a { border-radius: 0px 0px 6px 6px;
-moz-border-radius: 0px 0px 6px 6px;
	-webkit-border-radius: 0px 0px 6px 6px; }

#submenu li a:hover { background:#f6f6f6;  }

#submenu li a  { border-left:1px solid #e9e9e9; border-right:1px solid #e9e9e9; border-bottom:1px solid #e9e9e9; list-style: none;
	display: block;
	background: #ffffff; /* Old browsers */ 
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
-moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);  font-size:15px;
	padding:13px;
	font-family: "Permanite-Bold", Verdana, Arial !important; font-weight:600; text-transform: uppercase;
	color:#746c6a; padding-left:20px;
}
#subpage-left { width:280px; margin-right:20px; float:left;  }
#subpage-right {  max-width:770px; float:left; }
#subpage-contact-left { width:480px; margin-right:20px; float:left;  }
#subpage-contact-right {  width:580px; float:left; }
#subpage-container { width:1080px; display: block; overflow:auto; }
#subpage-filter-box { padding-bottom:15px; display: block; }
#subpage-filter-bar { 
	
border:1px solid #e9e9e9; 
	background: #ffffff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
-moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1); }

#subpage-filter-bar div:hover { background-color: white;  }
#subpage-filter-bar div {
font-size: 15px !important; color:#746c6a; padding-left:15px !important;  padding-bottom:10px; padding-right:15px !important;
font-family: "Permanite-Bold", Verdana, Arial !important; text-transform:uppercase;
border-left:1px solid #e9e9e9; float:left; padding-top:8px; }
#subpage-filter-bar div:hover { cursor: pointer; }
#subpage-page-dsp {margin:0 auto; }
#subpage-page-dsp a {list-style: none; float:left; margin:0px; padding:0px; border:0px; height:150px; }
#subpage-page-dsp a:hover {cursor: pointer;}
#subpage-page-dsp a img { border:0px; }

/* GALLERY PAGE */


#gallery-filter-box { padding-bottom:15px; display: block; }
#gallery-filter-bar { 
	
border:1px solid #e9e9e9; 
	background: #ffffff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
-moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1); }

#gallery-filter-bar div:hover { background-color: white;  }
#gallery-filter-bar div {
font-size: 15px !important; color:#746c6a; padding-left:15px !important;  padding-bottom:10px; padding-right:15px !important;
font-family: "Permanite-Bold", Verdana, Arial !important; text-transform:uppercase;
border-left:1px solid #e9e9e9; float:left; padding-top:8px; }
#gallery-filter-bar div:hover { cursor: pointer; }
#gallery-page-dsp {margin:0 auto; }
#gallery-page-dsp a {list-style: none; float:left; margin:0px; padding:0px; border:0px; height:150px; }
#gallery-page-dsp a:hover {cursor: pointer;}
#gallery-page-dsp a img { border:0px; }


#tuffcrete-page-dsp {margin:0 auto; }
#tuffcrete-page-dsp a {list-style: none; float:left; margin:0px; padding:0px; border:0px;  }
#tuffcrete-page-dsp a:hover {cursor: pointer;}
#tuffcrete-page-dsp a img { border:0px; }

.tuffcretebox { float:left; margin-right:20px; }
.tuffcrete-dim { font-weight:bold; }
.tuffcrete-wp { }
.tuffcrete-rrp {}
.tuffcrete-prices { overflow:auto;  padding-top:10px;   padding-bottom:10px; margin-bottom:10px; border-bottom: 1px solid #e5e5e5;  }
/* ORDER STUFF */
#FormLoadingIcon { padding:10px; background-color:#ffffff; margin:0 auto; width:120px; 
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
border-radius:30px;
-webkit-box-shadow: 2px 2px 2px -1px #574f4d; 
box-shadow: 2px 2px 2px -1px #574f4d;
}
#FormLoadingMsgSmall {  font-family: "Permanite-Book", Verdana, Arial !important; color:#ffffff; font-size:12px; text-shadow: 2px 2px 2px #574f4d; line-height:15px; }
#FormLoadingMsg {  font-family: "Permanite-Bold", Verdana, Arial !important; color:#ffffff; font-size:18px; margin-top:10px; text-shadow: 2px 2px 2px #574f4d; }
#form-error-message { color:#c9214d !important; font-size:14px !important; padding-bottom:5px; font-weight:bold;  }
#orderSummaryBox { padding-top:15px; padding-bottom:10px; border-bottom:1px solid #ddd; border-top:1px solid #ddd; font-size:17px; margin-bottom:15px; }
#orderNeedHelp { padding-bottom:10px; }
#previewSize { width:100px; height:75px; background-color:#83cef3;  border:1px solid #2c77ab; display:block;   -webkit-transition: 1s; /* Safari */
  transition: 1s; margin-left:10px; margin-top:10px; -webkit-box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.21);
-moz-box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.21);
box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.21); }
#noteSummary { line-height:14px; font-family: "Permanite-Book", Verdana, Arial; font-size:12px; color:#999; font-weight:600 !important; padding-top:10px;  }
#previewSizeInfo { margin-left:10px; font-size:12px; width:200px; text-align:left; margin-top:10px }
#Form_Form_DeliveryAddress_Holder { font-size:15px; }
#orderAgreeContainer ul { padding-bottom:5px; margin-bottom:0px; }
#orderAgreeContainer li { margin-bottom: 5px !important; line-height:13px; }
#orderAgreeContainer { background-color:#f7F7F7; border:1px solid #ddd;  padding:10px; padding-bottom:0px;  }
#orderAgreeContainer p { font-size:12px !important; line-height:13px; }
#Form_Form_Agree_Holder { background-color:#d7e9f5; border:2px solid #327db3; padding:10px; color:#fff;  }
 #Form_Form_Agree_Holder label {  color:#327db3; font-weight:bold; font-size:15px; margin-top:2px;    text-shadow: 1px 1px #ffffff; }
#iconContainer {  width:184px;   float:right;  }
#iconOne {   width:184px;  height:169px; background-image:url(../images/layoutIconFade.png);  background-repeat:no-repeat; }
#iconOne:hover { background-image:url(../images/layoutIconFade1.png); }
#iconTwo { width:184px; height:135px; background-image:url(../images/layoutIconFadeTwo.png); background-repeat:no-repeat; }
#iconTwo:hover { background-image:url(../images/layoutIconFadeTwo1.png); }
#iconThree { width:184px; height:151px; background-image:url(../images/layoutIconFadeThree.png); background-repeat:no-repeat; }
#iconThree:hover { background-image:url(../images/layoutIconFadeThree1.png); }
#iconFour { width:184px; height:147px; background-image:url(../images/layoutIconFadeFourx.png); background-repeat:no-repeat; }


.iconRight:hover { -webkit-transition: all 200ms ease-in;
-moz-transition: all 200ms ease-in;
-ms-transition: all 200ms ease-in;
-o-transition: all 200ms ease-in;
transition: all 200ms ease-in;

 }
.iconRight { -webkit-transition: all 200ms ease-in;
-moz-transition: all 200ms ease-in;
-ms-transition: all 200ms ease-in;
-o-transition: all 200ms ease-in;
transition: all 200ms ease-in; }

#layoutLoginBox {  }
.dealerLogOff a { 
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
-moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
 float:right; border:1px solid #e9e9e9; 
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f6f6f6+99 */
background: #ffffff; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-8 */ text-decoration:none !important;
font-size:14px !important; font-family: "Permanite-Bold", Verdana, Arial !important; text-transform:uppercase; font-weight:bold; padding-left:20px !important;
padding-right:20px !important; padding-top:8px !important; padding-bottom:10px !important; display:inline-block;
color:#746c6a !important;  margin-left:5px;
}
.dealerLogOff a:hover { background:#f7f7f7; }
.dealerLoginButton a { 
float:right; background-color:#5f6266; /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#95908d+0,7a7270+99 */
text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
color:#fff !important; text-decoration:none !important;
font-size:14px !important; font-family: "Permanite-Bold", Verdana, Arial !important; text-transform:uppercase; font-weight:bold; padding-left:20px !important;
padding-right:20px !important; padding-top:8px !important; padding-bottom:10px !important; display:inline-block;
}
.qrcodePreviewLink { position: relative; top:-20px; left:10px; z-index: 99; margin-bottom:-10px; }
.codeResult { display:none; position: relative; }
.qrcodePreview:hover { cursor: pointer;  
 }
.qrcodePreview { background-color:#27a7DD; /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#95908d+0,7a7270+99 */
border-radius: 8px 8px 8px 8px;
-moz-border-radius: 8px 8px 8px 8px;
-webkit-border-radius: 8px 8px 8px 8px;
float:left;
	text-shadow: 0 1px #0d5878;
color:#fff !important; text-decoration:none !important;
font-size:14px !important; font-family: "Permanite-Bold", Verdana, Arial !important; text-transform:uppercase; font-weight:bold; padding-left:30px !important;
padding-right:30px !important; padding-top:10px !important; padding-bottom:10px !important; }

.dealerLoginButton a:hover { background:#5fc4f0; text-decoration:none !important;  }
.primaryButton a { background-color:#7b7371; /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#95908d+0,7a7270+99 */
background: rgb(149,144,141); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk1OTA4ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iIzdhNzI3MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, rgba(149,144,141,1) 0%, rgba(122,114,112,1) 99%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(149,144,141,1) 0%,rgba(122,114,112,1) 99%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(149,144,141,1) 0%,rgba(122,114,112,1) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#95908d', endColorstr='#7a7270',GradientType=0 ); /* IE6-8 */

color:#fff !important; text-decoration:none !important;
font-size:14px !important; font-family: "Permanite-Bold", Verdana, Arial !important; text-transform:uppercase; font-weight:bold; padding-left:30px !important;
padding-right:30px !important; padding-top:20px !important; padding-bottom:10px !important; 
}
.primaryButton a:hover { background:#7a7270; text-decoration:none !important; }
#galleryViewButton { color:#fff !important; }
#footerLogo a:hover {  background-image:url(../images/LayoutPermaniteFooterLogo.png); -webkit-transition: all 200ms ease-in;
-moz-transition: all 200ms ease-in;
-ms-transition: all 200ms ease-in;
-o-transition: all 200ms ease-in;
transition: all 200ms ease-in;
 }
 #footerLogo { padding-top:10px; }
#footerLogo a {  display:block; -webkit-transition: all 200ms ease-in;
-moz-transition: all 200ms ease-in;
-ms-transition: all 200ms ease-in;
-o-transition: all 200ms ease-in;
transition: all 200ms ease-in; width:263px; height:63px; background-image:url(../images/LayoutPermaniteFooterLogoOne.png); margin-top:10px; }
#footerNotice { clear:left; font-size:11px; padding-top:10px; }
#footerContainer div { float:left; font-size:13px; color:#666; font-family: "Permanite-Book", Verdana, Arial; text-transform:uppercase; font-weight:bold; margin-left:20px; padding-right:20px; border-right:1px solid #7a7b7e; }
#footerContainer div:last-child { border-right:0px; }
#footerContainer div:first-child { margin-left:0px; }
#footerContainer div a:hover { }
#layoutHeaderContact {  padding-top:10px; font-size:16px; margin-top:10px; padding-bottom:10px; }
#layoutHeaderContact span { font-size:19px;  }
#layoutHeaderMaps { padding-top:7px;  font-family: "Permanite", Arial !important; font-weight:bold;  font-size:14px; }
#layoutHeaderContact a {color:#999; }
#layoutDealerLogin { }
#layoutDesktopHeader { }
#layoutHeaderLogo a { width:275px; height:193px; background-image:url(../images/LayoutPermaniteLogoUx1.png); display:block; float:left; position:relative; margin-top:7px; }
#layoutHeaderRight { float:right; width:530px;   }
#layoutHeaderRightContactInfo { text-align:right; margin-bottom:10px; display: block; }
#layoutHeaderDealerLogin {}

#layoutHolder { width:100%; background-color:#fff; }
/* NAVIGATION LARGE ONLY EFFECTS */
@media all and (min-width: 800px) {
	.topnav { display: none; }
	
header nav { padding-left:10px; 
border: 0px solid #e9e9e9;   } 	

header nav ul li a {
font-size: 14px !important; color:#746c6a; padding-left:10px !important;  padding-right:10px !important;
font-family: "Permanite-Bold", Verdana, Arial !important; text-transform:uppercase; 
text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
header nav ul li { }
header nav ul li.current,header nav ul li.current:hover { /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+55,ffffff+56,ffffff+56,ffffff+88&0+0,1+9,1+58 */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background-color:#fff; 

 }
	header nav ul li.current a { color:#5f6266; text-shadow: 1px 1px 1px rgba(0,0,0,0.0); }
}
header { max-width:1080px; margin:0 auto;  }

.nav-bar { display: none; }

header nav {

  z-index: 1000;
  width: 660px; float:Right;
  margin: auto; border:1px solid #e9e9e9; 
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f6f6f6+99 */
background: #5f6266; /* Old browsers */  border-radius: 0px 0px 8px 0px;
-moz-border-radius: 0px 0px 8px 0px;
-webkit-border-radius: 0px 0px 8px 0px;

}

header nav ul { list-style: none; }

header nav ul li {
  float: left;
  position: relative;
}

header nav:after {
  content: "";
  display: block;
  clear: both;
}


header nav ul li a {
	margin:5px;
  color: #fff ;
  display: block;
  padding: 6px 20px 6px 20px !important;
  text-decoration: none;
  font-size: 14px;
  font-family: "Permanite", Verdana, Arial; font-weight:bold; text-transform:uppercase; 


}
header nav ul li a:hover {  color:#f6c812; }
header nav ul li:hover { /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e8e8e8+1,e8e8e8+100&1+0,0+100 */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background:#4d4d50; 
 }

header nav ul li:hover i { }

header nav ul li i {  }

header nav ul li:hover .children { display: block; }

header nav ul li .children {
  display: none;

  position: absolute;
  width: 150%; padding-bottom:3px;
  z-index: 1000;
}

header nav ul li .children span { display: none; }

header nav ul li .children li {
  display: block;
  width: 100%;
	 border-top: 1px solid #ccc;
    background: #4d4d50;
}
header nav ul li .children li:last-child { border-bottom:0px; }
header nav ul .children {
  display: block;
  width: 100%;

}
header nav ul li .children li a { padding-left: 20px; }

header nav ul li .fa-angle-down {
  position: relative;
  top: 1px;
}


@media all and (max-width: 800px) {
	/* Style the navigation menu */
	
#subpage-container { width:100%; display: block; overflow:auto; }
.typography	h2 { line-height:normal !important;  }
.topnav {
  overflow: hidden;
  background-color: #5f6266;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

	#subpage-left { display:none; }
	#subpage-right { width:100%; }
/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
	border-top:1px solid #aeabab; 
}

/* Style the hamburger menu */
.topnav a.icon {
  background: #5f6266;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #424549;
  color: #fff;
}
	#homeNav a:hover { color:#FFFFFF !important; }
	#homeNav { background-color:#aeb1b5; }
/* Style the active link (or home/logo) */
.active {
  background-color: #3c3e3f;
  color: white;
}
.desktop { display:none; }
.mobile  { display:inline; }
	
body { padding-top: 10px; }
#layoutMobileHeader { width:100%; background-repeat:no-repeat; ; background-image:url(../images/LayoutPermaniteLogoMob.png); background-size:contain; background-position:center; height:193px; display:block; }
.nav-bar {
  display: block;
  width: 100%;
  position: fixed; 
  top: 0; background-color: #444; opacity:1; z-index:999999;
 
}

.nav-bar span {
  float: left;
  font-size: 20px;
  padding: 8px; padding-left:20px;
  color: #fff;
}
header nav ul .children { border-radius:0px;   border-bottom: 1px solid #ccc;  }
.nav-bar a { color:#fff;  font-family: "Permanite", Verdana, Arial; text-transform:uppercase;  }
#nav-mobile-pad { margin-top:11px;  font-size:15px !important; }
.nav-bar .fa-bars {
  display: block;
  padding: 18px;
  color: #fff;
  overflow: hidden;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none; 
  float: right;
}

header nav {
  width: 80%;
  height: auto;
  position: fixed;
  right: 100%; background-color:#999;
  top : 63px;
  overflow: hidden;
  height: 100%;
}

header nav ul li {
	background-color:#444; 
  display: block;
  border-bottom: 1px solid #919191;
  width: 100%;
}
header nav ul li:hover { background:#222222 !important; 
	
	 }


header ul li a { display: block; color:#fff !important; text-shadow:none !important; }

header nav ul li .children {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: none;
}

header nav ul li:hover .children { display: none; }

header nav ul li ul li:first-child { border-top: 1px solid #ffffff99; }

header nav ul li .children span {
  display: inline-block;
  margin-right: 10px;
}

header nav ul li .children a {
  margin-left: 10px;
  padding: 5px 0;
}

header nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}
}
#headerNav {margin:0 auto;  max-width:1060px; }
#headerSlider { margin:0 auto;  max-width:1060px; padding-top:10px; }

#headerSlider .carousel {
    
background-color:rgba(255, 255, 255, 0.5);

    float: left;
    padding-left: 7px;
	padding-right:7px;

    /* Needed for rendering without flicker */
 z-index:2;
    position: relative;
    visibility: hidden;
    left: -5000px;
}

    /* Styling for image based carousel content. Only width and height are mandatory */
    #headerSlider .carousel>ul>li>img {
        width: 228px;
        height: 171px;
        vertical-align:middle;

        /* optional */
        margin: 10px 12px 5px 10px;
        border:7px solid #fff;
    }

    /* Styling for text based carousel content. Only width and height are mandatory */
    #headerSlider .carousel>ul>li>p {
        width: 228px;
        height: 171px;

        margin: 18px 10px 10px 0;
        border: 1px solid #808080;
        border-radius: 5px;
        line-height: normal;
        background-color: #ff0;
        padding: 10px;
    }


#SliderButtons { max-width:1098px; margin:0 auto;  height:0px; background-position:relative; margin-top:-70px;	 }
#SliderButtons  a { font-size:70px; color:white; }
#SliderButtons  a:active { font-size:70px; color:black !important;    transition: .3s ease-out; }
#SliderButtons a.next { float:right; right:-29px;    display: block; position:relative; top:330px;
    width: 36px;
    height: 70px; text-align:right;
    line-height: 1; z-index:2;  }
#SliderButtons a.prev { float:left;  position:relative; left:-20px;   display: block;  top:330px;
    width: 36px;  
    height: 70px;
    line-height: 1;   z-index:2; }
	

/* Styles for PREV and NEXT anchor buttons */
#headerSlider a.prev {
	position:absolute;
    display: block;
    width: 26px;
    height: 30px;
    line-height: 1;

    background-color: #333333;
    color: ghostwhite;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 25px;

    border-radius: 8px;
    float: left; z-index:2;
}

#headerSlider a.next, #headerSlider a.go {
	position:absolute;
    display: block;
    width: 26px;
    height: 30px;
    line-height: 1;
	left: 1000px;
   
    background-color: red;
    color: ghostwhite;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 25px;

    border-radius: 8px;
 z-index:2;
}

    #headerSlider a.prev.disabled, #headerSlider a.next.disabled,
    #headerSlider a.prev.disabled:hover, #headerSlider a.next.disabled:hover {
        background-color: #8d8d8d;
        cursor: default;
    }
    #headerSlider a.go.highlight {
        background-color: #dedede;
        color: #000;
    }
    #headerSlider a.prev {
        margin: 50px -5px 0 0;
        text-indent: 7px;
    }
    #headerSlider a.next {
        margin: 50px 0 0 -5px;
        text-indent: 10px;
    }
        #headerSlider a.prev:hover, #headerSlider a.next:hover, #headerSlider a.go:hover {
            background-color: #666666;
        }

/* Additional carousel styles for external controls, slider, widget, mid etc. */

#headerSlider .externalControl button,
#headerSlider .imageSliderExt button {
    margin: 5px 5px 0 0;
}
#headerSlider .externalControl a.next, #headerSlider .externalControl a.prev, #headerSlider .externalControl a.go,
#headerSlider .imageSliderExt a.next, #headerSlider .imageSliderExt a.prev, #headerSlider .imageSliderExt a.go
{
    margin: 0 5px 0 0;
    padding: 7px 5px 0 5px;
    font-size: 15px;
    text-align: center;
    border-radius: 3px;
}

#headerSlider .widget img {
    cursor: pointer;
}
#headerSlider .mid {
    margin-left: 50px;
    width: 400px;
    height: 300px;
}
#headerSlider .vertical {
    margin-left: 170px;
}

#headerSlider .imageSlider .carousel>ul>li>img,
#headerSlider.imageSliderExt .carousel>ul>li>img {
    width: 400px;
    height: 300px;
}
#headerSlider .imageSlider .carousel>ul>li>p,
#headerSlider .imageSliderExt .carousel>ul>li>p {
    width: 380px;
    height: 280px;
}

