/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #888;
    font-size: 1em;
    line-height: 1.4;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#922c46+0,922c46+57,661f26+100 */
    background: #922c46; /* Old browsers */ /* FF3.6-15 */
    background: -webkit-linear-gradient(#922c46 0%, #922c46 57%, #661f26 100%);
    background: -o-linear-gradient(#922c46 0%, #922c46 57%, #661f26 100%);
    background: linear-gradient(#922c46 0%, #922c46 57%, #661f26 100%); /* Chrome10-25,Safari5.1-6 */ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	background-attachment:fixed;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#922c46', endColorstr='#661f26',GradientType=0 ); /* IE6-9 */
	height:100%;

}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

a {
	text-decoration:none;
	outline:none;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

body {
	

/*	background: #922c46 url(../img/bkgnd-grad.gif) 0 100% fixed repeat-x;
*/	font-family: "open-sans", Verdana, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
	padding: 0;
	
	/*Improves the appearance of downlaodable fonts*/
	-webkit-text-rendering: optimizeLegibility;
	-moz-text-rendering: optimizeLegibility;
	-ms-text-rendering: optimizeLegibility;
	-o-text-rendering: optimizeLegibility;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

#wrapper, footer {
	width: 1015px;
	margin: 20px auto 30px;

}
	
* html #wrapper {
	height: 100%;
		min-height: 100%;
}
	
section, .content, .content-hp {
/*Rounded corners 10px radius*/
	-khtml-border-radius: 0 0 10px 10px;
	border-radius: 0 0 10px 10px;
}	
section {
/*Box shadow*/
	background-color: rgb(0,0,0); /* Needed for IEs */

	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 4px 4px 10px;
	box-shadow: rgba(0, 0, 0, 0.5) 4px 4px 10px;
	clear: both;
}	
.content{
	background: rgba(255,255,255,1); /*White*/
	padding: 15px 25px 8px;	 
	position: relative; /* This protects the inner element from being blurred */
}
	
	
.content-hp{
	background: rgba(255,255,255,1); /*White*/
	padding: 24px 25px 8px 10px;	 
	position: relative; /* This protects the inner element from being blurred */
}	 

.balance-text {
	text-wrap: balanced;
}


header {
	height:100px;
	width:100%;	
	
}

header aside a {
	float:right;
	margin-right:25px;
	margin-bottom: 9px;
	}

nav {
	height:1.4em;
	margin:0 0 0 25px;
	}
	
nav h1 {
	margin: 0 0 0 -2px;
	color: rgb(248, 148, 29);
	font-family: "open-sans", sans-serif;
	font-size: 2.2em;
	font-weight: 700;
	padding: 7px 0 11px;
	letter-spacing: .05em;
	}

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

nav li {
	text-align:center;
	float:left;
	border-left:1px dotted rgba(255, 255, 255, 0.75);
	border-bottom:1px dotted transparent;
	padding:0 10px;
	}
	
nav li.i1 {
	background: none;
	border-left: none;
	padding-left:0;
	}	
	
nav a {
	color:rgb(130, 151, 99);
	display:block;
	font-size:.9em;
	font-weight:600;
	line-height:1.4em;
	width:100%;
	letter-spacing: .05em;
	}
	
nav a:hover {	
	color: #f7941d;
	cursor: pointer;
	}
.home nav li.i1 a:link, .home nav li.i1 a:visited, .home nav li.i1 a:hover, .home nav li.i1 a:active, .home nav li.i1 a:focus,	
.about nav li.i2 a:link, .about nav li.i2 a:visited, .about nav li.i2 a:hover, .about nav li.i2 a:active, .about nav li.i2 a:focus,
.what nav li.i3 a:link, .what nav li.i3 a:visited, .what nav li.i3 a:hover, .what nav li.i3 a:active, .what nav li.i3 a:focus,
.canapes nav li.i4 a:link, .canapes nav li.i4 a:visited, .canapes nav li.i4 a:hover, .canapes nav li.i4 a:active, .canapes nav li.i4 a:focus,
.events nav li.i5 a:link, .events nav li.i5 a:visited, .events nav li.i5 a:hover, .events nav li.i5 a:active, .events nav li.i5 a:focus,
.styling nav li.i6 a:link, .styling nav li.i6 a:visited, .styling nav li.i6 a:hover, .styling nav li.i6 a:active, .styling nav li.i6 a:focus,
.contact nav li.i7 a:link, .contact nav li.i7 a:visited, .contact nav li.i7 a:hover, .contact nav li.i7 a:active, .contact nav li.i7 a:focus  {
	
	color: #fff;
	cursor: default
	}
	

a[href^="http://www.olivesandcanapes.co.uk"], 
a[href^="http://olivesandcanapes.co.uk"], 
a[href^="http://www.adobe.com"]{
	background:none;
	padding-left: 0;
	}
	
a i {
	margin-right:4px;
}

article {
	margin:0;
	float:left;
	width:68%;
	}
	
.hp {
	width:100%
	}	
	
h1 {
	margin:0 0 .5em;
	font-family: "open-sans", sans-serif;
	font-size:1.6em;
	color:rgb(248, 148, 29);
	}
	
aside h1 {
	float: right;
width: 265px;
text-align: left;
}	
	
 h2 {
	margin:0 0 .25em;
	font-family: "open-sans", sans-serif;
	font-size:1em;
	color:rgb(130, 151, 99);
	}

.hp h2 {
	margin:4px 0 12px 16px;
	font-size:19px;
}

aside h2, aside div	{
	float:right;
	width:265px;
	text-align:left;
	}	
	
p{ 
	font-family: "mislab-std", serif;
	color:#888;
	font-size:1.2em;
	font-weight:400;
	margin:0 0 1em;
	line-height:1.3em;
	}
	
aside p{ 
    font-size: 14px;
    line-height: 1.6em;
    float: right;
    width: 265px;
    text-align: left;
    margin: 0 0 9px;
	font-family: "open-sans", sans-serif;
}	

aside div {
	font-family: "open-sans", sans-serif;
	color:#888;
	font-size: 14px;
	line-height: 1.6em;
	letter-spacing: .015em
	}	

aside strong {
	color: #333;
	font-weight:400;
}
	
aside div.adr {
	margin:.75em 0 0;
	}
	
aside div.download {
	margin-top:1.5em;
	}
	
.size {font: .8em/1em "open-sans", sans-serif;
margin-left:3px;
}	
	
	
p strong {
	font-weight:400;
	color:#333;
	text-transform:uppercase;
	}	
	
h1:first-child {
	margin-top:0;
	}
	
		
.quote {
	border: 1px dotted #333;
	border-left: none;
	border-right: 1px solid #fff;
	position: absolute;
	bottom: 24px;
	width: 66%;
	color:rgb(130, 151, 99);
	font-family: "open-sans", sans-serif;
	font-size:1.6em;
	line-height:1.2em;
	font-weight:700;
	padding:5px 0 6px;
	}

.open {
	float:left;
	width:2.75%;
	}
	
.words {
	float:left;
	width:97.25%;
	}	

.quote .credit {
	color:#333;
	font-size:14px;
	font-weight:normal;
	clear:both;
	padding-left:2.75%;
	}
	
	
article ul {
	margin:0 0 20px;
	}			
	
article li:nth-child(even) {
	list-style: square;
	color:rgb(146, 44, 70);
	}
article li:nth-child(odd) {
	list-style: square;
	color:rgb(248, 148, 29);}

article li span { 
	list-style: square;
	font-family: "mislab-std", serif;
	color:#888;
	font-size:1.2em;
	font-weight:400;
	margin:0 0 0;
	line-height:1.4em;
	}	
		
aside span.mob {
	color:#333;
	}

aside .fn {
	margin-bottom: .25em;
	}
	
li em {
	font-family: source-sans-pro, sans-serif;
	font-size:.8em;
	font-style:italic;
	}

aside {
	float:right;
	width:30%;
	}	
	
.top {
	margin-top:9px;
	}		
	
	
.imgbox {
	margin-left:15px;
	margin-bottom:14px;
	width:125px;
	height:126px;
	/*margin-left:15px;
	margin-bottom:14px;*/
	float:right;
	
	/*Rounded corners 10px radius*/
	-khtml-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
	}	
	
	
.imgbox img {
	width:100%;
}	
	
.container2 {
	width:280px;
	height:280px;
	float:right;
	}
	
.container21 {
	width:280px;
	height:280px;
	float:right;
	}		
	
.container21 .imgbox {
	width:265px;
	height:266px;
	}
	
.container3 {
	width:420px;
	height:280px;
	float:right;
	}		
	
	
 article a:link,  article a:visited,
 aside a:link, aside a:visited {
	color:rgb(146, 44, 70);
	}
	
 article a:hover,  article a:active,  article a:focus,
  aside a:hover,  aside a:active,  aside a:focus {
	color:rgb(248, 148, 29);
	}				
		
footer .addthis_toolbox{
	float:right;
	width:290px;
	margin:-7px 0 0;
	}	
	
footer .addthis_toolbox a{
	margin-right:3px;
	}	
	
footer a img {
	 width:30px;
	 height:30px;
	}

footer a circle.outer-shape {
	fill: rgb(130, 151, 99);}	
	
footer a circle:hover.outer-shape {
	fill: rgb(247, 148, 29);}			
		
footer p{
	color: rgb(247, 148, 29); /*Orange*/
	font-size:.7em;
	padding-right:36px;
	margin:21px 9px 0 26px;
	text-align:left;
	letter-spacing: .05em;
	}
	
footer a {
	color: rgb(247, 148, 29); /*Orange*/
	text-decoration:none;
}	

footer a:hover {
	color: rgb(255, 255, 255); /*white*/
	text-decoration:none;
}

footer a.at300b {
	color: rgb(130, 151, 99); /*Green*/
	text-decoration:none;
}	

footer a.at300b:hover {
	color: rgb(247, 148, 29); /*Orange*/
	text-decoration:none;
}

/*  -----------------------------------------------------------------
	= Form styles	
    -----------------------------------------------------------------  */	
form {
	margin:36px 0 0;
	}
	
form p {
	font-family: "open-sans", sans-serif;
	font-size:.9em;
	margin-bottom:18px;
	}	

label {
	margin:0 0 0 20px;
	padding:0 0 0 0;
	float:left;
	width:175px;
	color: rgb(248, 148, 29);

	}
	
label.code {
	padding:6px 0 0 0;
	}	
	
input, textarea {
display: inline;
font-family: inherit;
font-size: 0.9em;
margin: -5px 6px 3px 0;
padding: 3px 5px 4px;
border: 1px solid #ccc;
	}	
input::placeholder {
  color: #999;
}

input:focus, textarea:focus {
	border:1px solid #999;
	
}

select.ui-datepicker-month {	
	outline: none
	}		
	
.full {
	width:361px;
	}

.half {
	width: 179px;
	}
	
.short {
	width:85px;
	}
	
.date{
	width:25px;
	}
	
input.check1{
	font-family: "open-sans", sans-serif;
	margin: 2px 5px 0 0;
	padding:0;
    vertical-align:text-top;
	}
			
input.check{
	font-family: "open-sans", sans-serif;
	margin: 2px 5px 0 10px;
	padding:0 0 0 0;
	vertical-align:text-top;
	}	
	
input.button{
	width:85px;
	padding:3px;
	font-size:11px;
	}
	
label span.mandatory {
	font-family: "open-sans", serif;
	font-size:1.1em;
	color:#888;
	}
	
#botty {
	display:none;
	}	
	
/*  -----------------------------------------------------------------
	= Errors
    -----------------------------------------------------------------  */	
p label.red {
	color:#b20303;
	background:url(/img/icon_error-r.gif) no-repeat 90% 65%;
	}
	
label.red span.mandatory {
	color:#b20303;
	}	


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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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