/** ----------------------------------------------------------
 *
 * 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
*/

.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%;} */

.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;
    background: #ededed;
    min-width: 240px; 
    -webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */
}
	.ie7 body,
	.ie8 body {
	    min-width: 860px; /* media queries are not supported in ie7/8 without a polyfill */
	}
	.main {
	    background: #fff;
	    padding: 40px 0 60px;
	    min-height: 300px;
	}
	.inner {
	    max-width: 1100px;
	    margin: 0 auto;
	    padding: 0 30px;
	}
	.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: 30px;
	    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: #fff;
	}
	.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 {
	    border-bottom: 1px solid #e5e5e5;
	}
		.main .secondary ul {
		    padding: 0;
		    margin: 0;
		}
		.main .secondary li {
		    border-top: 1px solid #e5e5e5;
		    position: relative;
		    list-style-type: none;
		    margin-bottom: 0;
		}
			.main .secondary li .arrow { 
			    color: #b80000;
			    padding-right: 5px;
			    display: block;
			    font-size: 15px;
			    line-height: 20px;
			    position: absolute;
			    left: 2px;
			    top: 7px;
			    -moz-transition: 0.2s; /* this transition moves the arrow from left:2px to left:6px */
			    -webkit-transition: 0.2s;
			    transition: 0.2s;
			}
		.main .secondary li a:hover .arrow {
		    left: 6px; /* this sets the final position for the arrow transition */
		}
		.main .secondary li a { /* side nav link styling */
		    padding: 10px 0;
		    display: block;
		    text-transform: uppercase;
		    letter-spacing: 2px;
		    font-size: 11px;
		    color: #333;
		    line-height: 17px;
		    border-bottom: none;
		    font-family: 'Lucida Sans', 'Lucida Grande', Arial, Helvetica, sans-serif;
		}
		.main .secondary li .text {
		    padding-left: 28px;
		    display: block;
		}
		.main .secondary li.current a.current {
			color: #b80000;
			background-color: #EDEDED;
		}
		.main .secondary li.section,
		.main .secondary li.current {
		    background-color: #F3F3F3;
		}
			.main .secondary li.section a,
			.main .secondary li.current a {
			    color: #000;
			}
		

		/* Secondary navigation 2-5 levels deep */
		.main .secondary ul ul {
			display: none;
		}
		.secondary ul li.current ul,
		.secondary ul li.section ul { /* Only show child pages from selected parent */
			display: block;
		}
		.secondary li.current ul ul {
			display: none;
		}
		.main .secondary ul ul li a { padding-left: 10px; } /* Indent all sidebar navigation levels*/
			.main .secondary ul ul li a .arrow { left: 12px; }
			.main .secondary ul ul li a:hover .arrow { left: 16px; }

		.main .secondary ul ul ul li a { padding-left: 20px; }
			.main .secondary ul ul ul li a .arrow { left: 22px; }
			.main .secondary ul ul ul li a:hover .arrow { left: 26px; }

		.main .secondary ul ul ul ul li a { padding-left: 30px; }
			.main .secondary ul ul ul ul li a .arrow { left: 32px; }
			.main .secondary ul ul ul ul li a:hover .arrow { left: 36px; }
			
		.main .secondary ul ul ul ul ul li a { padding-left: 40px; }
			.main .secondary ul ul ul ul ul li a .arrow { left: 32px; }
			.main .secondary ul ul ul ul ul li a:hover .arrow { left: 36px; }

		.main .secondary li a:hover,
		.main .secondary li.section a:hover,
		.main .secondary li.current a:hover {
			color: #b80000;
		}




/* 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 */
    -moz-transition: color 0.2s;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.footer a.brand { color: #333; 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: #999;
    background: #ededed;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px;
}
	.footer a {
	    color: #999;
	}
	.footer a:hover {
	    color: #B90000;
	}
	.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) {
	.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: 20px 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;
	}
}

@media (min-width: 768px) and (max-width: 979px) {
    #out_container.boxed, #out_container.boxed-attached {
        width:764px;
    }
    .three-columns-central {
        border-left: 1px solid #D4D4D4;
        border-right: 1px solid #D4D4D4;
        padding: 21px 19px 0;
    }
    .two-columns-left {
        border-left: 1px solid #D4D4D4;
        padding: 21px 0 0 19px;
    }
    .two-columns-right {
        border-right: 1px solid #D4D4D4;
        padding: 21px 19px 0 0;
    }
    .sidebar {
        width: 146px;
    }
    .portfolio-grid-1 .middle {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .small {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .large {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .tall {
        margin-bottom: 20px;
    }
    .comments .comment-date {
        text-align: right;
    }
    .post-item-panel ul li.comments {
        float: right;
    }
    .member-divider {
        margin-left: 20px;
    }
    .two-col-team .span4 {
        width: 259px;
    }
    .head_phone {
        text-align: right;
    }
    ul.socials {
        float: right;
        margin-top: 20px;
        text-align: center;
    }
    .contact-info ul.socials {
        width: auto;
        margin: 0 0 35px 0;
    }
    .carousel-caption {
        position: absolute;
        right: 30px;
        bottom: 20px;
        width: 50%;
        left: auto;
    }
    .slider4 .carousel-caption {
        bottom: auto;
        left: 20px;
        position: absolute;
        right: auto;
        top: 20px;
        width: 50%;
    }
    .flexslider .left-top {
        left: 20px;
        top: 20px;
        bottom: auto;
    }
    .flexslider .right-top {
        right: 20px;
        top: 20px;
        bottom: auto;
    }
    .flexslider .left-bottom {
        left: 20px;
        bottom: 20px;
    }
    .flexslider .right-bottom {
        right: 20px;
        bottom: 20px;
    }
    .navbar-inner {
        border: none;
    }
    .dif-table {
        margin-left: 20px;
    }
    .dif-table .table-column {
        border-width: 1px 0 1px 1px;
    }
    .price-table1 .span2 {
        width: 119px;
    }
    .price-table1 .span3 {
        width: 175px;
    }
    .price-table2 .span2 {
        width: 159px;
    }
    .price-table2 .span3 {
        width: 216px;
    }
    .price-table3 .span2 {
        width: 260px;
    }
    .price-table3 .span3 {
        width: 275px;
    }
    .quote-left, .quote-right {
        margin: 0 20px 0 0;
    }
    .portfolio-slider #carousel {
        width: auto;
        margin-left: 0;
    }
    .portfolio-slider #carousel .flex-prev {
        left: 20px;
        top: 26%;
    }
    .portfolio-slider #carousel .flex-next {
        right: 20px;
        top: 26%;
    }
    .gallery .thumbnail {
        display: block;
    }
    #gallery-main .span3 {
        width: 220px;
        height: 170px;
    }
    #gallery .span3 {
        width: 220px;
        height: 160px;
    }
    .portfolio-grid-1 .gallery li:hover .hover-shade {
        left: 5px;
        top: 5px;
    }
    #home_responsive .span3 {
        width: 220px;
        height: 160px;
    }
    #home_responsive .span6 {
        width: 460px;
        height: 160px;
    }
    #home_responsive .tall {
        height: 340px;
    }
    #portfolio .span6 {
        width: 460px;
    }
    #portfolio .large {
        height: 340px;
    }
    #portfolio .span3 {
        width: 220px;
    }
    #portfolio .span3 {
        height: 160px;
    }
    #portfolio .middle {
        width: 460px;
    }
    #portfolio .middle {
        height: 160px;
    }
    #clients .span2 {
        width: 140px;
        height: 125px;
    }
    .navbar .btn-navbar {
        cursor: pointer;
        opacity: 0;
        position: absolute;
        top: 0;
        z-index: 1000;
        width: 400px;
        height: 27px;
    }
    #responsive-menu-button {
        display: block;
        background: url("../images/selectnav.png") no-repeat scroll 0 0 transparent;
        color: #000000;
        cursor: pointer;
        font-family: Arial;
        font-size: 12px;
        height: 27px;
        margin-top: 10px;
        padding: 13px;
        position: relative;
        width: 400px;
        z-index: 5;
    }
    .buttons-container {
        position: relative;
        text-align: center;
        margin: 0 auto;
        height: 27px;
    }
    .sidebar-news-widget .date .icon-calendar {
        display: none;
    }
    .portfolio-slider #carousel {
        margin-bottom: 20px;
    }
    .buttons-container {
        margin: 0 -20px;
    }
    .tweets-slide .slides li {
        width: 72%;
        overflow: hidden;
    }
    .follow_img {
        display: block;
    }
    .attention-sidestick {
        background: url("../images/sticker_small_yellow.png") no-repeat scroll 0 0 transparent;
    }
    .white-sidestick {
        background: url("../images/sticker_small_white.png") no-repeat scroll 0 0 transparent;
    }
    .alert-sidestick {
        background: url("../images/sticker_small_red.png") no-repeat scroll 0 0 transparent;
    }
    .success-sidestick {
        background: url("../images/sticker_small_green.png") no-repeat scroll 0 0 transparent;
    }
    .note-sidestick {
        background: url("../images/sticker_small_blue.png") no-repeat scroll 0 0 transparent;
    }
    .sidebar-stick {
        height: 154px;
        margin-left: -10px;
        padding: 15px 18px 10px 10px;
        text-align: center;
        width: 146px;
    }
    .sidebar-stick h3 {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 4px;
        font-weight: bold;
    }
    .sidebar-stick p {
        font-size: 11px;
    }
    .hero-list h2 {
        font-size: 14px;
    }
    #gallery-main .hover-shade {
        height: 160px;
        width: 210px;
    }
    .tour-btn {
        padding: 51px 35px 35px;
    }
    .logo {
        margin: 27px 0 27px 20px;
    }
    .logo .logo {
        margin-left: 0;
    }
    .portfolio-grid-1 .hp-wrapper .bottom-block-optional {
        text-align: center;
    }
    .coming-soon-subscribe input {
        width: 288px;
        height: 22px;
        border-radius: 0;
        margin-right: 10px;
    }
    .coming-soon-subscribe .coming-soon-btn {
        margin-left: 0;
        border: none;
        background-color: #000000;
        color: #ffffff;
        padding: 6px 15px;
        height: auto;
    }
}


/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

    body {
        padding:0;
    }
    #out_container {
        padding:0 20px;}
    #out_container.boxed, #out_container.boxed-attached {
        width:auto;
        margin-left:20px;
        margin-right:20px;
    }
    .sidebar {
        width: auto;
    }
    .three-columns-central, .two-columns-left, .two-columns-right {
        border: none;
        padding: 21px 0 0 0;
    }
    .hero-list div.span3 {
        min-height: 114px;
    }
    .portfolio-grid-1 .middle {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .small {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .large {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .tall {
        margin-bottom: 20px;
    }
    .top_line, .footer-top, .recent-tweets, .footer-wrapper, .footer-bottom {
        margin: 0 -20px 0;
    }
    .block-posts .span3 {
        margin-bottom: 20px;
    }
    .block-posts .last {
        margin-bottom: 0;
    }
    .comments .comment-date {
        text-align: left;
    }
    .form-button-offset {
        margin-left: 0;
    }
    .reply-form h2 {
        margin-left: 0;
    }
    .post-item-panel ul li.comments {
        float: left;
    }
    .bordered-img {
        display: inline-block;
    }
    .member-divider {
        margin-left: 0;
    }
    .two-col-team .span4 {
        width: auto;
    }
    .logo {
        text-align: center;
        margin: 14px 0;
    }
    .head_phone {
        text-align: center;
    }
    ul.socials {
        margin: 0 auto 35px;
        overflow: hidden;
        margin-top: 20px;
        text-align: center;
    }
    .contact-info ul.socials {
        width: auto;
        margin: 0 0 35px 0;
    }
    .carousel-caption {
        right: 0;
        left: 0;
        bottom: 0;
    }
    .footer-wrapper .span4 {
        padding-left: 10px;
    }
    .navbar-inner {
        border:none;
    }
    .dif-table div.last-column {
        border-left: 1px solid #E0E0E0;
    }
    .dif-table {
        margin-left: 0;
    }
    .dif-table div.span3 {
        margin-top: 22px;
    }
    .dif-table .table-column {
        border-width: 1px;
    }
    .quote-left, .quote-right {
        margin: 0 20px 10px 0;
    }
    .portfolio-slider #carousel {
        width: auto;
        margin-left: 0;
    }
    .portfolio-slider #carousel .flex-prev {
        left: 20px;
        top: 26%;
    }
    .portfolio-slider #carousel .flex-next {
        right: 20px;
        top: 26%;
    }
    .gallery .thumbnail {
        display: table;
    }
    #gallery-main .span3 {
        width: auto;
        height: auto;
        margin-left: 20px;
    }
    #gallery-main {
        margin-left: -20px;
    }
    #gallery .span3 {
        width: 220px;
        height: 160px;
        margin-left: 20px;
    }
    .portfolio-grid-1 .gallery li:hover .hover-shade {
        left: 5px;
        top: 5px;
    }
    #home_responsive .span3 {
        width: 220px;
        height: 160px;
    }
    #home_responsive .span6 {
        width: 460px;
        height: 160px;
    }
    #home_responsive .tall {
        height: 340px;
        margin-right: 10px;
    }
    #portfolio .span6 {
        width: 460px;
        margin-left: 20px;
    }
    #portfolio .large {
        height: 340px;
    }
    #portfolio .span3 {
        width: 220px;
        height: 160px;
        margin-left: 20px;
    }
    #portfolio .middle {
        width: 460px;
        height: 160px;
        margin-left: 20px;
    }
    #portfolio {
        margin-left: -20px;
    }
    #gallery {
        margin-left: -20px;
    }
    #clients .span2 {
        width: 140px;
        height: 125px;
    }
    .navbar .btn-navbar {
        cursor: pointer;
        opacity: 0;
        position: absolute;
        top: 0;
        z-index: 1000;
        width: 400px;
        height: 27px;
    }
    #responsive-menu-button {
        display: block;
        background: url("../images/selectnav.png") no-repeat scroll 0 0 transparent;
        color: #000000;
        cursor: pointer;
        font-family: Arial;
        font-size: 12px;
        height: 27px;
        margin-top: 10px;
        padding: 13px;
        position: relative;
        width: 400px;
        z-index: 5;
    }
    .buttons-container {
        position: relative;
        text-align: center;
        margin: 0 auto;
        height: 27px;
    }
    .portfolio-slider #carousel {
        margin-bottom: 20px;
    }
    .buttons-container {
    }
    .tweets-slide .slides li {
        width: 58%;
        overflow: hidden;
    }
    .follow_img {
        display: block;
    }
    .attention-sidestick {
        background: url("../images/sticker_sidebar_yellow.png") no-repeat scroll 0 0 transparent;
    }
    .white-sidestick {
        background: url("../images/sticker_sidebar_white.png") no-repeat scroll 0 0 transparent;
    }
    .alert-sidestick {
        background: url("../images/sticker_sidebar_red.png") no-repeat scroll 0 0 transparent;
    }
    .success-sidestick {
        background: url("../images/sticker_sidebar_green.png") no-repeat scroll 0 0 transparent;
    }
    .note-sidestick {
        background: url("../images/sticker_sidebar_blue.png") no-repeat scroll 0 0 transparent;
    }
    .sidebar-stick {
        height: 187px;
        margin-left: -15px;
        padding: 25px 41px 25px 25px;
        text-align: center;
        width: 179px;
    }
    .sidebar-stick h3 {
        font-size: 22px;
    }
    #gallery-main .hover-shade {
        height: 160px;
        width: auto;
    }
    .tour-btn {
        padding: 0 21px 25px;
    }
    .portfolio-grid-1 .hp-wrapper .bottom-block-optional {
        width: 300px;
        text-align: center;
    }
    .coming-soon-subscribe input {
        width: 288px;
        height: 22px;
        border-radius: 0;
        margin-right: 10px;
    }
    .coming-soon-subscribe .coming-soon-btn {
        margin-left: 0;
        border: none;
        background-color: #000000;
        color: #ffffff;
        padding: 6px 15px;
        height: auto;
    }
    .coming-soon-subscribe .coming-soon-btn {
        margin-left: 0;
        border: none;
        background-color: #000000;
        color: #ffffff;
        padding: 6px 15px;
        height: auto;
    }
}

/* Landscape phones and down */
@media (max-width: 480px) {
	#BlogContent {
		width:100%;
	}
	.rightbar {
		clear:left;
	}
    .logo {
        text-align: center;
    }
    .head_phone {
        text-align: center;
    }
    .sidebar {
        width: auto;
    }
    .three-columns-central, .two-columns-left, .two-columns-right {
        border: none;
        padding: 0;
    }
    .hero-list div.span3 {
        min-height: 114px;
    }
    .portfolio-grid-1 .middle {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .small {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .large {
        margin-bottom: 20px;
    }
    .portfolio-grid-1 .tall {
        margin-bottom: 20px;
    }
    .top_line, .footer-top, .recent-tweets, .footer-wrapper, .footer-bottom {
        margin: 0 -20px 0;
    }
    .block-posts .span3 {
        margin-bottom: 20px;
    }
    .block-posts .last {
        margin-bottom: 0;
    }
    .comments .comment-date {
        text-align: left;
    }
    .form-button-offset {
        margin-left: 0;
    }
    .reply-form h2 {
        margin-left: 0;
    }
    .post-item-panel ul li.comments {
        float: left;
    }
    .bordered-img {
        display: inline-block;
    }
    .member-divider {
        margin-left: 0;
    }
    .two-col-team .span4 {
        width: auto;
    }
    ul.socials {
        margin: 0 auto 35px;
        overflow: hidden;
        margin-top: 20px;
    }
    .carousel-caption {
        right: 0;
        left: 0;
        bottom: 0;
    }
    .footer-wrapper .span4 {
        padding-left: 10px;
    }
    .navbar-inner {
        border:none;
    }
    .dif-table .last-column {
        border-left: 1px solid #E0E0E0;
    }
    .dif-table {
        margin-left: 0;
    }
    .dif-table div.span3 {
        margin-top: 22px;
    }
    .dif-table .table-column {
        border-width: 1px;
    }
    .quote-left, .quote-right {
        margin: 0 20px 10px 0;
    }
    .portfolio-slider #carousel {
        width: auto;
        margin-left: 0;
    }
    .portfolio-slider #carousel .flex-prev {
        left: 20px;
        top: 26%;
    }
    .portfolio-slider #carousel .flex-next {
        right: 20px;
        top: 26%;
    }
    .gallery .thumbnail {
        display: table;
    }
    #gallery-main .span3 {
        width: auto;
        height: 163px;
        margin-left: 0;
    }
    #gallery .span3 {
        width: auto;
        height: 160px;
        margin-left: 0;
    }
    #gallery .thumbnail {
        border: none;
        padding: 0;
        box-shadow: none;
    }
    .portfolio-grid-1 .gallery li:hover .hover-shade {
        left: 0;
        top: 0;
    }
    #home_responsive .span3 {
        width: auto;
        height: auto;
    }
    #home_responsive .span6 {
        width: auto;
        height: auto;
    }
    #home_responsive .tall {
        height: auto;
        margin-right: 10px;
    }
    #portfolio .span6 {
        width: auto;
    }
    #portfolio .large {
        height: auto;
    }
    #portfolio .span3 {
        width: auto;
        height: auto;
    }
    #portfolio .middle {
        width: auto;
        height: auto;
    }
    #gallery {
        margin-left: -20px;
    }
    #clients .span2 {
        width: auto;
        height: auto;
    }
    .navbar .btn-navbar {
        cursor: pointer;
        opacity: 0;
        position: absolute;
        top: 0;
        z-index: 1000;
        width: 400px;
        height: 27px;
    }
    #responsive-menu-button {
        display: block;
        background: url("../images/selectnav.png") no-repeat scroll 0 0 transparent;
        color: #000000;
        cursor: pointer;
        font-family: Arial;
        font-size: 12px;
        height: 27px;
        margin-top: 10px;
        padding: 13px;
        position: relative;
        width: 400px;
        z-index: 5;
    }
    .buttons-container {
        position: relative;
        text-align: center;
        height: 27px;
    }
    .portfolio-slider #carousel {
        margin-bottom: 20px;
    }
    .buttons-container .nav-select {
        border-radius: 4px;
    }
    .tweets-slide .slides li {
        width: auto;
        overflow: hidden;
    }
    .follow_img {
        display: none;
    }
    .attention-sidestick {
        background: url("../images/sticker_small_yellow.png") no-repeat scroll 0 0 transparent;
    }
    .white-sidestick {
        background: url("../images/sticker_small_white.png") no-repeat scroll 0 0 transparent;
    }
    .alert-sidestick {
        background: url("../images/sticker_small_red.png") no-repeat scroll 0 0 transparent;
    }
    .success-sidestick {
        background: url("../images/sticker_small_green.png") no-repeat scroll 0 0 transparent;
    }
    .note-sidestick {
        background: url("../images/sticker_small_blue.png") no-repeat scroll 0 0 transparent;
    }
    .sidebar-stick {
        height: 154px;
        margin-left: -10px;
        padding: 15px 18px 10px 10px;
        text-align: center;
        width: 146px;
    }
    .sidebar-stick h3 {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 4px;
        font-weight: bold;
    }
    .sidebar-stick p {
        font-size: 11px;
    }
    #gallery-main .hover-shade {
        height: 160px;
        width: auto;
    }
    .tour-btn {
        padding: 0 21px 25px;
    }
    .portfolio-grid-1 .hp-wrapper .bottom-block-optional {
        text-align: left;
    }
    .coming-soon-subscribe input {
        width: 100%;
        height: 22px;
        border-radius: 0;
        margin-right: 10px;
        margin-bottom: 20px;
    }
}

.post-item-panel {
    background-color: #F5F5F5;
    margin-top: 10px;
    overflow: hidden;
    padding: 10px 10px 0;
}
.post-item-panel ul {
    list-style: none;
    margin-left: 0;
}

.post-item-panel ul li {
	list-style: none;
    float: left;
    margin-right: 20px;
}
.post-item-panel ul li p {
    padding: 0 0 8px;
    color: #898989;
}
.post-item-panel ul li p i, .tags-widget p i {
    padding-right: 3px;
}
.post-item-panel ul li p {
	margin-bottom:0px;
}

.post-item {
    clear: both;
    margin-bottom: 25px;
}
.post-item .post-description {
    margin: 0;
    padding-bottom: 0;
}
.post-item .post-more {
    font-family: Arial;
    text-decoration: underline;
}
.post-item .post-more:hover {
    text-decoration: none;
}
#comments-holder {
	margin-top:30px;
	
}
#Form_CommentsForm .action {
	float:none;
}
p.message {
	background-color: #FEF4BA;
    border: 1px solid #E8C805;
    border-radius: 3px;
    padding: 5px 10px;
    min-width: 600px;
}
p.message.good {
        background-color: #ecf9d0;
        border-color: #8fbe00;
    }
.comments .name {
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.comments .comment-date {
    padding: 0;
}
.comments .reply {
    font-family: Arial, sans-serif;
    font-size: 12px;
}
.comment-details {
    margin-bottom: 5px;
    float:left;
}
.comment-item {
    margin-bottom: 15px;
    margin-left: 10px;
}
.comment-item .span1 {
    margin-bottom: 10px;
}
.comment-body {
    background-color: #f5f5f5;
    border-radius: 5px 5px 5px 5px;
    position: relative;
}
.comment-table .baloon {
    background: url("../images/baloon.gif") no-repeat scroll 7px 22px transparent;
    border: medium none;
    width: 15px;
}
.comment-body p {
    padding: 10px 12px;
    font-size: 14px;
    color: #666666;
}
.span5 {
    width: 480px;
}
.span3 {
    width: 220px;
}
.span9 {
    width: 100%;
}
[class*="span"] {
    float: left;
    margin-left: 5px;
    min-height: 1px;
}
table.comment-table {
	border-collapse: collapse;
	border-spacing: 0;
	border:none;
}
table.comment-table td {
	border:none;
	padding: 0px;
}
.commenting-rss-feed {
	float:left;
}
p.comment-date {
	margin-bottom:0px;
}
.comment-body p {
	margin-bottom:0px;
}
#Form_CommentsForm, #Form_CommentsForm_Comment {
	max-width: none;
	width:100%;
}
#top-bar {
	height: 35px;
	margin: 0 auto;
	max-width: 1100px;
}
#top-bar a {
	color: #888;
	font-size: 15px;
	font-family: Helvetica, Arial, sans-serif;
	padding: 8px 12px;
	font-weight: bold;
	background-color:#fff;
	float:right;
}
#top-bar a:hover {
	background-color: #F5F5F5;
	color:#000;
}
.LatestBlogPost, #signin-widget {
	background: none repeat scroll 0 0 #EDEDED;padding:15px;
	border-style: solid;
	border-width:1px;
	border-color: #444444;
}

.WidgetHolder {
	margin-top:20px;
}
#events-widget {
	background: none repeat scroll 0 0 yellow;
	padding:15px;
	border-style: solid;
	border-width:1px;
	border-color: #444444;
	margin-bottom:20px;
}
a.btn {
    background: none repeat scroll 0 0 #B80000;
    border: medium none;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-top: 20px;
    padding: 6px 15px;
    text-transform: uppercase;
}
#registration {
	text-align: center;
}
#GenTableAttendee input {
	font-size:14px;
	width:150px;
	margin-top:5px;
}
#GenTableAttendee .phone-field {
	width:100px;
}
#GenTableAttendee .email-field {
	width:140px;
}