/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0;
	background: red;
	color: white;
	padding: 0.5em;
	text-align: center;
}

.browserupgrade a {
	color:white;
	font-style: italic;
}
.browserupgrade a:hover {
	color: black;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    color: #666666;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #e44d26;
}

/*
.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}
*/

.header-container,
.nav-container,
.footer-container,
.main aside {
    background: #ff8000;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
/*      */
}

nav a:hover,
nav a:visited {
	
    color: white;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 2.5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

.main ul { padding-left: 1.5em; } 
.main ul li { color: #ff8000; list-style-type: square; }
.main ul li span { color: #666666; }
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* !### CUSTOM STYLES ### */

div.pic {
	position: relative;
}
div.sold {
	width: 100%;
	height:100%;
	z-index: 10;
	position: absolute;
	background: url(../img/sold.png) no-repeat;
	background-size: 95%;
	background-position: 50% 20%;
}

.main { padding: 15px 0; }
.main h1, .main h2, .main h3 { color: #ff8000; }
.main article h1 {
    font-size: 1.6em;
    line-height: 1.0em;
}

.wrapper { border: 0px solid green; width: 94%;
    margin: 0 3%; }
article {border: 0px solid blue; background-color: white; background: rgba(255, 255, 255, 0.9);}
nav { /* border: 1px solid white; */}
a { color: #ff8000;}
a:hover { color:black;}
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 0%;
	border: 0px dashed red;
}

.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
.span_1_of_12, .span_2_of_12, .span_3_of_12, .span_4_of_12, .span_5_of_12, .span_6_of_12, .span_7_of_12, .span_8_of_12, .span_9_of_12, .span_10_of_12, .span_11_of_12, .span_12_of_12 { width: 100%; }

.footer-container a.credit { color: #aaa; text-decoration: none; border-bottom: 0;}
.footer-container a.credit:hover { color: #ff8000; }
.footer-container span { width: 80px; display: inline-block;}
.header-container { background: #444; border-bottom: 0;}
header { /* border: 1px dotted red; */ font-size: 16px;}

header .logo { float:left;width: 18%; margin-right: 3%; margin-top: 5%; margin-bottom: 5%; border:1px solid red; display: inline-block;}
header .logo img { width:100%; height:100%;}

header .title { float:left; border:1px solid green; font-size: 1.0em; margin-top: 5.2%;}
header .title h1 { margin: 0 0 0 0; }
header .title h1 em { display: block; font-style: italic; font-weight: normal; opacity:0.75; font-size: 75%; margin-top: 0.1em;}
header .title h1 em span { display: none;}

.nav-container { font-size: 1.2em;text-shadow: 1px 1px 2px rgba(0,0,0, 0.5);}
nav { margin-bottom: 0.8em; }
nav a { margin-bottom: 2px; padding: 8px 0; background-color: #ffa100; }
nav a.current { background-color: orange;}
.nav-container nav { display:none;}
.nav-container .menu-toggle {
	width: 100%;
	text-align: center;
	    padding: 8px;
	color: white; font-weight: bold;
}

.footer-container { background-color: #222; border-top: 4px solid #ff8000;}
.footer-container a { text-decoration: none; border-bottom: 1px dashed silver; color:white;}
.footer-container a:hover { color: #ff8000; }
.footer-container h2 {
	color: #ff8000;
	font-size: 1.2em;
	margin-top: 0;
}
.footer-container h3 {
	text-align: center;
	color:#aaa;
	font-size: 0.8em;
}

.main-container.mobile {
	width:100%;
	height:auto;
	display: block;
/* 	background: url(http://spserviceltd.co.uk/fade_pics/home02.jpg) no-repeat center center; */
}

.main-container.mobile img {
	width:100%;
	height:auto;
}

.ilogo { border:0px solid red; padding: 0.5em 0; position: relative; }

.ilogo img {
	width: 20%;
/* 	margin-right: 0.5em; */
	vertical-align: middle;
	float: left;
	max-width: 89px;
	max-height: 96px;
	border:0px solid yellow;
}

.ilogo h1 { position: absolute; top: calc(37% - 1em); line-height: 1.0em; left: 25%; margin: 0;font-size: 1.5em; color:white; border:0px solid cyan; display: inline-block;}
.ilogo h1 em { display: block; font-weight: normal; color:#bbb; font-size: 59%;}
.ilogo h1 em span { display: none}

.phone-desktop { display:none; position: absolute; right:0;top: calc(50% - 1.2em); color:#bbb; font-size: 1.6em; line-height: 1.24em; border:0px solid yellow; }
.phone-desktop strong, .phone-mobile strong { color:white;}

.phone-mobile { display: block; color:#bbb; font-size: 0.88em; line-height: 1.24em; margin-top:1em;}
img.dim:hover { opacity:0.75;}
/* ! ### SALES STYLES ### */

section.sales .section {
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 4px solid #ff8000;
}

table.sales { font-size: 0.8em; line-height: 1.4em; width:100%;}
table.sales th img { width:100%;}
table.sales th.photo { padding: 0; text-align: center; background: white; border:0;}
table.sales h3 { margin: 0.4em 0em;}
table.sales th { padding: 0.3em; background-color: #fddfa9; border-bottom: 1px solid orange; text-align: left; width:37%; padding-right: 0.5em; vertical-align: top;}
table.sales td { padding: 0.3em; border-bottom: 1px solid silver; vertical-align: top;}

table.sales thead th { background-color: #ff8000; border-bottom: 0; } 
/* table.sales thead th { border-top: 1px solid orange; } */
table.sales thead th h3 { color:white; }

/*
table.sales.contact { width:100%;}
table.sales.contact th {  width:100px;}
*/
table.sales.contact tr:first-child th { border-top: 1px solid orange;}
table.sales.contact tr:first-child td { border-top: 1px solid silver; }

a.btn-enquire { background-color: #2a7ff0; color:white; text-decoration: none; padding: 0.4em; display: block; border: 2px solid #2a7ff0; }
a.btn-enquire:hover { background-color: white; color: #2a7ff0; }
.sales_pic { width:100%;}
.sales_details { width: 100%;}
	
.desktop-hide { display: block;}
.mobile-hide { display:none; }
table.form th { text-align: right;}

.main aside.why {
	width:100%;
	position: relative;
	padding: 0;
	font-size: 1.1em;
	line-height: 1.4em;
	font-weight: bold;
	text-align: center;
}

.main aside p  {
	text-align: center;
}
.main aside a.why {
	color: white;
	text-decoration: none;
	background-color: #2a7ff0;
	border: 2px solid #2a7ff0;
	display: block;
	width:100%;
	padding: 0.4em 0.2em;
}

.main aside a.why:hover {
	color: #2a7ff0;
	background-color: white;
}

.jqmWindow {
    display: none;
    
    position: fixed;
/*     top: 17%; */
    top: 0%;
    left: 50%;
    
/*     margin-left: -300px; */
    margin-left: -50%;
/*     width: 600px; */
    width: 100%;
    background-color: #fff;
    color: #333;
	max-height:100%;
    padding: 12px;
     -webkit-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
	-ms-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
}

.jqmWindow.why {
   		top:2%;
		margin-left: -50%;
		width: 100%;
	}

/* .jqmWindow { margin-left: -50%; width: 100%;top: 0%;max-height:100%; } */

textarea, input[type="text"] {
	width: 100%;
	border: 1px solid silver;
	padding: 4px;
}

input[type="submit"], input[type="reset"] {
	background-color: #ff8000; color: white; font-weight: bold; border: 2px solid #ff8000;
}

input[type="submit"]:hover, input[type="reset"]:hover {
	background-color: white; color: #ff8000; 
}

.jqmOverlay { background-color: #000; }

* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

.jqmWindow h2 { background-color: #ff8000; color: white; padding: 0.4em;}
.jqmWindow div.jqmClose { position: relative;
    float: right;
    top: -3px;
    width: 21px;
    height: 21px;
    cursor: pointer;
}

.jqmWindow div.jqmClose:hover {
	opacity:0.5;
}

.back-to-top {
    position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    text-decoration: none;
    color: #FFFFFF;
    background-color: rgba(255, 128, 0, 0.80);
    font-size: 28px;
    line-height: 14px;
    padding: 0.5em 0.3em 0.7em 0.3em;
    display: none;
    border-radius: 0.5em;
}

.back-to-top:hover {    
    background-color: rgba(135, 135, 135, 1);
}

/* ==========================================================================
   Start Media Queries
   ========================================================================== */

@media only screen and (min-width:375px) {
	.ilogo h1 { font-size: 1.7em; }
	table.sales { font-size: 0.93em; }
	.phone-mobile { font-size: 1em; }
	header .title { font-size: 1.2em;}
	header .title h1 { margin: 2% 0 3% 0; }
}

@media only screen and (min-width:414px) {
	.ilogo h1 { font-size: 1.9em; }
	table.sales { font-size: 1em; }
	.phone-mobile { font-size: 1.1em; }
	.main aside.why { font-size: 1.4em;}
	header .title h1 { margin: 4% 0 3% 0; }
	header .title h1 { line-height: 0.9em;}
}

/* !above 480px */
@media only screen and (min-width: 480px) {
	.jqmWindow { top: 15%; }
	table.sales.contact { width:auto;}
	.desktop-hide { display: none;}
	.mobile-hide { display:inline-block; }
	table.sales { font-size: 0.8em; }
	.sales_pic { width:48%;}
	.sales_details { width: 48%; float: right; clear: right;}
	
}

@media only screen and (min-width:498px) {
	.ilogo h1 { font-size: 2em; }
	.ilogo h1 { left: 110px; }
}

@media only screen and (min-width:730px) {
	.phone-desktop { display:block; }
	.phone-mobile { display: none; }
	.ilogo h1 { top: calc(50% - 1em); }
	.col {  margin: 1% 0 1% 1.6%; }
	.col:first-child { margin-left: 0; }
	.span_12_of_12 { width: 100%;}
	.span_11_of_12 { width: 91.53%; }
	.span_10_of_12 { width: 83.06%; }
	.span_9_of_12 { width: 74.6%; }
	.span_8_of_12 { width: 66.13%; }
	.span_7_of_12 { width: 57.66%; }
	.span_6_of_12 { width: 49.2%; }
	.span_5_of_12 { width: 40.73%; }
	.span_4_of_12 { width: 32.26%; }
	.span_3_of_12 { width: 23.8%; }
	.span_2_of_12 { width: 15.33%; }
	.span_1_of_12 { width: 6.866%; } 
}

/* ! > 768px iPad portrait & desktop computers */
@media only screen and (min-width: 768px) {
	.ilogo { padding: 1em 0; }
	table.sales { font-size: 0.9em;}
	.sales_pic { width:15.33%;}
	.sales_details { width: 40.73%; float:left; clear:none;}
	section.sales .section { padding-bottom: 0em; }
	article { padding: 0 1em;}
	.main.full-width article { padding: 0; }
	.nav-container .menu-toggle { display: none; }
	nav { font-size: 78%; width: 100%; display: block !important; margin-bottom: 0;}
	nav a {
        float: left;
        width:auto;
		margin: 0%;
		padding: 10px 1.21%;
		margin-bottom: 0;
		background-color: inherit;
    }
	nav a:hover { background-color: #ffa100; }
    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }
	
	nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
    .main { padding: 40px 0; }
	
	header .logo { width: 12%; margin-top: 20px;  margin-bottom: 20px;}
	header .title { margin-top: 25px;  margin-bottom: 20px;}
	header .title h1 em { display: inline-block;}
	header .title h1 em span { display: inline-block;}
    
   .jqmWindow {
	    margin-left: -300px;
		width: 600px;
   }
   
   .jqmWindow.why {
   		top:2%;
		margin-left: -50%;
		width: 100%;
	}

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 100%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: right;
        width: 57%;
    }
	
	.main.full-width article {
		float:left;
		width:100%;
	}
    .main aside {
        float: left;
        width: 28%;
    }
    
 .bg {
	 background-repeat: none;
	 background-position: center center; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 550px;
 }
 
	.main-container.mobile {
		display: none;
	}   
	
	.main aside.why {
		height: auto;
		position: absolute;
		bottom: 6%;
		width: 35%;
	}
}

@media only screen and (min-width: 900px) {
	nav { font-size: 84%; }
}

@media only screen and (min-width:1000px) { 
	.ilogo h1 { font-size: 2.1em; } 
	.main aside.why { bottom: 7%; width: 28%; }
}

/* !iPad landscape */
@media only screen and (min-width: 1024px) {
	.ilogo h1 em { font-size: 70%;}
	nav { font-size: 90%; }
	
	.jqmWindow.why {
		margin-left: -500px;
		width: 1000px;
	}

}

@media only screen and (min-width:1100px) {
	.ilogo h1 { font-size: 2.4em; top: calc(50% - 1em);  }
	.ilogo h1 em { /* display: inline; */ font-size: 80%; }
	.ilogo h1 em span { display: inline-block;}
}

@media only screen and (min-width: 1140px) {
    .wrapper {
        width: 1140px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    .main aside.why { bottom: 10%; width: 28%; }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

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