@import url(http://fonts.googleapis.com/css?family=Titillium+Web:400,700);

/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}


body {
    font-size: 1em;
    line-height: 1.4;
	font-family: arial, helvetica, sans-serif;
	/*background: url(../images/bg.png) no-repeat 0 95%;*/
		background: #5e3f74 url(../images/bg.gif) repeat-y center;
}

ul#nav, .blob a,	#header .contact {
	font-family: 'Titillium Web', sans-serif;
}

a {
	color: #5E3F74;
}

h1, h2, h3, h4 {
	font-family: 'Titillium Web', sans-serif;
	color: #5E3F74;
}

h1 {
	border-bottom: 1px solid #f1e4f0;
	text-transform: uppercase;
	font-size: 2em;
	margin: 0 0 0.3em 0;
	padding-bottom: 0.2em;
	letter-spacing: -1px;
}

h2 {
	font-size: 1.25em;
	margin: 0;
}

blockquote {
	background: url(../images/q.png) no-repeat 1% 50%;
	margin: 0;
	padding: 10px 40px;
	color: #5e3f74;
	font-family: 'Titillium Web', sans-serif;
	font-size: 1.1em;
}

blockquote p {
	margin: 0.2em 0;
	padding: 0;
}

::-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;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

	#wrap {
		width:100%;
		max-width: 940px;
		margin: 0 auto;
	}
	
	#header {
		width: 100%;
	}
	
	#header .logo {
		width: 405px;
		height: 125px;
		background: url(../images/logo.png) no-repeat;
		display: block;
		float: left;
		margin: 0 0 0 -40px;
	}
	
	#header span.contact {
		display: block;
		text-align: right;
		margin: 0px 9px 0 0;
		padding: 0 0 0 19px;
		text-decoration: none;
		font-size: 0.95em;
		color: #999999;
		clear: right;
	}
	
	#header span.contact a {
	color: #999;
	text-decoration: none;
	}
	
	ul#nav {
		float: right;
		list-style: none;
		width: auto;
		border-bottom: 1px solid #F1E4F0;
		text-align: right;
		padding: 0 0 2px 0;
		margin: 35px 0 5px 0;
		text-transform: lowercase;
	}
	
	ul#nav li {
		display: inline;
	}
	
	ul#nav li a {
		text-decoration: none;
		padding: 2px 4px;
		margin: 0 5px;
		line-height: 1em;
	}

	ul#nav li a.current {
		font-weight: bold;
	}
	
	ul#nav li a.current, ul#nav li a:hover{
		border-bottom: 3px solid #F1E4F0;
	}
	
	#content {
		width: 70%;
		float: left;
		margin: 2.5em 0;
	}
	
	#content ul {
		list-style: none;
	}
	
	#content ul li {
	background: url(../images/bullet.png) no-repeat 0 35%;
	padding: 0 0 0 19px;
	margin: 0 0 5px 0;
}

	#content #accordion {
	margin: 1.3em 0;
	}
	
	
	#content #accordion p {
	padding: 0.2em 0 0.5em 0;
	margin: 0
	}
	
	#content #accordion p.title {
	color:#5e3f74;
	padding: 0em 0 0.5em 0;
	}

	#content #accordion div img {
	float: right;
	margin: 5px 0 10px 10px;
	max-width: 50%;
	}
	
	#content #accordion ul {
	margin: 0;
	padding: 0.2em 0 1em 0;
	}
	
	#content #accordion h4 {
	border-bottom: 1px solid #e7dced;
	margin: 10px 0 6px 0;
	padding: 0px 0 6px 18px;
	clear: both;
	background: url(../images/arrow.gif) no-repeat 0 6px;
	}
	
	#content #accordion h4:focus {
	outline: none;
	}
	
	#content #accordion h4.ui-accordion-header-active {
	border-bottom: 3px solid #e7dced;
	background: url(../images/arrow.gif) no-repeat 0 -63px;
	}  
	
	
	#content #accordion div {
	font-size: 0.9em;
	}

#content form {
	/*background-color: #f0f0f0;*/
	margin: 1em 0;
	/*border-left: 2px solid #f1e4f0;*/
	padding: 15px 40px 10px 0px;
	font-size: 1em;
	margin: 1em 0;
	display: block;
}

#content form p {
	display: block;
	margin: 1em 0;
}

#content form div {
	display: block;
	margin: 0 0 1em 0;
}

#content form label {
	display: block;
	margin: 1em 0 0.3em 0;
}

#content form input, #content form textarea {
	font-family: arial, helvetica, sans-serif;
	font-size: 1em;
	padding: 2px 4px;
	width: 70%;
}

#content form input.submit {
	font-family: arial, helvetica, sans-serif;
	font-size: 1em;
	padding: 4px 5px;
	width: auto;
}	
	
	#sidebar {
		width: 25%;
		float: right;
		margin: 2.5em 0;
		min-width: 221px;
	}
	
	.blob {
		background: url(../images/blob.png) no-repeat;
		width: 180px;
		height: 131px;
		padding: 30px 20px 20px 21px;
		margin: 0.5em 0 3em 0;
		font-size: 0.8em;
		color: #fff;
	}
	
	.blob h3 {
		color: #fff;
		text-transform: uppercase;
		margin: 0.2em 0;
	}
	
	.blob p {
		margin: 0em 0 0.3em;
		color: #E7DCED;
	}
	
	.blob a {
		color: #fff;
		text-transform: uppercase;
		text-decoration: none;
		font-weight: bold;
	}
	
	#sidebar img {
		display: block;
		margin: 2em auto;
		text-align: center;
	}
	
	.linked_in {
		text-align: center;
	}
	
	#footer {
		width: 100%;
		clear: both;
		font-size: 0.8em;
		border-top: 1px solid #f1e4f0;
		margin: 1em 0;
		color: #999999;
	}
	
	#footer .left {
		max-width: 45%;
		float: left;
	}
	
	#footer .right {
		float: right;
		text-align: right;
	}
	
	#footer .right a {
	background: url(../images/website-design-ayrshire.png) no-repeat;
	display: block;
	width: 101px;
	height: 11px;
}













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

@media only screen and (max-width: 960px) {
	body {
		border-top: 2px solid orange;
	}
	
	#header .logo {
		margin: 0 5% 0 5%;
		float: none;
	}
	
	#header ul#nav {
		float: none;
		width: 90%;
		text-align: left;
		margin: 2% 5% 0 5%;
	}
	
	#header span.contact {
		display: block;
		text-align: left;
		margin: 2% 5% 0 6%;
		padding: 0;
		text-decoration: none;
		font-size: 0.95em;
		color: #999999;
		clear: right;
		float: none;
	}
	
	#content {
		float: none;
		width: 90%;
		clear: both;
		margin: 5%;
	}
	
	#sidebar {
		float: none;
		width: 90%;
		clear: both;
		text-align: center;
		margin: 5%;
	}
	
	#sidebar .blob, #sidebar img {
		float: left;
		margin: 20px 20px 0 0;
	}
	
	#footer {
		width: 90%;
		margin: 2% 5% 0 5%;		
	}
	
}

@media only screen and (max-width: 480px) {
	body {
		border-top: 2px solid blue;
	}
	
	#header .logo {
		margin: 0 3% 0 3%;
		float: none;
	}

	#header span.contact {
		display: block;
		text-align: left;
		margin: 3% 3% 1% 3%;
		padding: 0;
		text-decoration: none;
		font-size: 0.95em;
		color: #999999;
		clear: right;
		float: none;
	}
	
	#header ul#nav {
		float: none;
		width: 94%;
		text-align: left;
		margin: 3% 3% 1% 3%;
		border-bottom: none;
	}
	
	#header ul#nav li {
		display: block;
	}
	
	#header ul#nav li a {
		border-bottom: 1px solid #f1e4f0;
		padding: 2% 0;
		display: block;
		margin: 0;
	}
	
	#header ul#nav li a.current, #header ul#nav li a.current:hover {
		border-bottom: 3px solid #f1e4f0;
	}
	
	#header ul#nav li a:hover {
		border-bottom: 1px solid #5e3f74;
	}
	
	#content {
		width: 94%;
		margin: 3%;
	}
	
	#content #accordion div img {
	float: none;
	margin: 10px 0;
	max-width: 100%;
	}
	
	#sidebar {
		width: 94%;
		margin: 3%;
	}
	
	#sidebar .blob, #sidebar img {
		float: none;
		margin: 3%;
	}
	
	#footer {
		width: 94%;
		margin: 2% 3% 0 3%;		
	}
	
	#footer .left, #footer .right {
		float: none;
		clear: both;
	}
	
}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.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;
}

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

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

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

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

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

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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