/*
 * HTML5 Boilerplate
 *
 * 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.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;background-color: #efefef;/* background-image: url(../images/bg-body.gif); background-repeat: repeat-x; */}

body { margin: 0; font-size: 12px; line-height: 1.8; background-color: transparent;}

body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; color: #666; }

/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #FFDBDB; color: #000; text-shadow: none; }
::selection { background: #FFDBDB; color: #000; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #336979; }
.about-panel a:link, .about-panel a:visited, .about-panel a:hover, .about-panel a:active { text-decoration: none; padding-bottom:1px; border-bottom: 1px solid #336979 }
a:link, a:visited { text-decoration: none; }
a:hover, a:active { text-decoration:underline;}
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

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

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

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

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }


/* =============================================================================
   Primary styles
   Author: 
   ========================================================================== */
   
/* TYPEKIT */
h1, .view-all h2, .intro, .gallery-list h2, nav, .offer div span, .buy-print, .offer2 div span, .contact input.submit, .tabs, footer, .pagehead {font-family: "Noto Serif",  Georgia, Serif; }
h1 { font-weight: 400}
.related-work h2 { font-family: Helvetica, Arial, Sans-Serif;}

/* SHADOWS */


.shadow,
.gallery img,
.gallery-list img,
.buy img
{
    border: 1px solid #999;
    -moz-box-shadow: 0 0 2px #666;
    -webkit-box-shadow: 0 0 2px #666;
    box-shadow: 0 0 2px #aaa;   
}

.shadow:hover,
.gallery img:hover,
.gallery-list img:hover,
.buy img:hover
{
    -moz-box-shadow: 0 0 6px #aaa;
    -webkit-box-shadow: 0 0 6px #aaa;
    box-shadow: 0 0 6px #aaa;
}

.contact .formrow input.submit 
{
     border: 1px solid #999;
    -moz-box-shadow: 0 0 1px #666;
    -webkit-box-shadow: 0 0 1px #666;
    box-shadow: 0 0 1px #aaa;
}

.contact .formrow input.submit:hover 
{
    -moz-box-shadow: 0 0 4px #666;
    -webkit-box-shadow: 0 0 4px #666;
    box-shadow: 0 0 4px #aaa;
}


.slides_container { border: 1px solid #999;
    -moz-box-shadow: 0 0 5px #666;
    -webkit-box-shadow: 0 0 5px #666;
    box-shadow: 0 0 5px #aaa;  
}

.slides_container:hover  { 
    -moz-box-shadow: 0 0 9px #666;
    -webkit-box-shadow: 0 0 9px #666;
    box-shadow: 0 0 9px #aaa;  
}


h1 { font-size: 275%; margin: 0 0 12px 0; line-height: 1.1; color:#666; }
h2 { font-size: 100%; margin: 24px 0 8px 0; line-height: 1.1; color:#666; font-weight: bold;text-transform: uppercase; font-family: arial,sans-serif} 
h3 { font-size: 100%; margin: 0 0 12px 0; line-height: 1.2; }
.aside h1 { font-size: 190%}
p {margin: 0 0 1em 0;}
ul {margin-bottom: 0 0 1.5em 0;}
.hide { text-indent: -2000em; position: absolute; height: 1px; width: 1px;}

.pagehead { font-size: 275%; float: left; /*font-style: italic;*//*text-transform: lowercase;*/ line-height:1; color:#666; }
.pagehead strong {font-weight: bold}
.pagehead a:link,.pagehead a:visited { text-decoration:none; color:#666;}
.pagehead a:hover,.pagehead a:active { text-decoration:none; color:#333;}

/* FORMS */
.formrow {margin-bottom: 18px;}
.formrow label { display: block; float: left; width: 70px;}

nav {  color: #666; padding-top: 26px; }
nav ul { margin: 0; padding: 0; list-style: none }
nav ul li {  display: block; float: left;  }
nav ul > li:last-child { margin-right:0;}
nav ul li a {
    display: block;
    min-width: 30px;
    text-align: center;
    text-decoration: none;  
    line-height: 1;       
}

nav ul li a:link, nav ul li a:visited, nav ul li a:hover, nav ul li a:active { color: #666; } 

/* FOOTER */
footer  {
    margin: 20px auto 20px auto;
	/*border-top: 1px solid #dedede; padding-top: 3px;*/
}

footer a { font-size: 150%; font-style: italic }
footer a:link, footer a:visited, footer a:hover, footer a:active { color: #336979;}
footer a:hover { text-decoration: none; border-bottom: 1px solid #336979;}

/* HOMEPAGE */
.pagination { display: none !important;}
#slides { margin-bottom: 18px; }
.intro { line-height: 1.5em}

.offer img {float: left; margin: 0 15px 5px 0 }

.offer div {float: left; }

.offer div p { font-size:110%; line-height:1.3}
.offer2 div p { font-size:110%; line-height:1.3}
.offer div span {
    display: block;
    background-color: #FFDBDB;
    font-style: italic; 
    line-height: 1em;
    font-size: 150%;
}
.offer2 div span {
    display: block;
    background-color: #FFDBDB;
    font-style: italic; 
    line-height: 1.3em;
    font-size: 140%;
	width: 246px;
}
.offer2 div span strong { display: block; font-weight: 400; font-size: 90% }
.offer div span a  {
    display: block;
    padding: 7px 20px 7px 10px;
    background-image: url(../images/g-arrow-pink.gif);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    color: #444;
}
.offer2 div span a  {
    display: block;
    padding: 7px 20px 7px 10px;
    background-image: url(../images/g-arrow-pink2.gif);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    color: #444;
}
.offer div span a:hover { text-decoration: none; color: #333;text-shadow: 1px 1px 1px #ccc; }
.offer2 div span a:hover { text-decoration: none; color: #000;  }

.about-panel , .about-panel2 { float:left}
.about-panel { min-width: 300px}
.about-panel2  img {  width: 100%;margin-bottom:10px }

/*
	Slideshow
*/

#slides {
	z-index:100;
}

.slides_container {
	width: 93%;
	max-width:415px;
	overflow:hidden;
	position:relative;
	display:none;
}

.slides_container a {
	width:415px;
	height:415px;
	display:block;
}


/* CONTACT */
.contact textarea, .contact .formrow input { border: 1px solid #ccc }

.contact input.submit {
    display: block;
    float: right;
    padding: 5px 12px;
    background-color: #FFDBDB;  
    color: #333;
    border:0;
    cursor: pointer;
    font-size: 200% ;
    font-style: italic;
    line-height: 1em;
}
.contact input.submit:hover {
    color: #000;
    text-shadow: 1px 1px 1px #ccc;
}

/* BUY PRINTS */
.prints { width: 300px; }
.buy { margin-bottom: 25px; }
.buy p { float: left; width: 50%; margin-top: -5px}
.buy-print { font-size: 150% }
.buy-print2 { display: block; margin-top: 4px}
/* GALLERY */
.tabs ul { margin: 0 ; padding: 0; list-style: none; line-height: 1 }

.tabs ul li {
    display: block;
    float: left;
    margin-right: 10px;
   /* margin-bottom: -1px;*/
    font-size: 150%;
   /* border-bottom: 1px solid #f7f7f7;*/
}
               
.tabs ul li a,
.tabs ul li strong {
    display: block;
    padding: 8px 12px;
    text-align: center;
    text-decoration:none;
    color: #666;          
    background: #efefef;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.tabs ul li a { /*border-top: 1px solid #efefef;
    border-left: 1px solid #efefef;
    border-right: 1px solid #efefef;
	background-image: -moz-linear-gradient(100% 100% 90deg, #efefef,#f7f7f7);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f7f7f7), to(#efefef)); */
    }

.tabs ul li strong { /*border-top: 1px solid #f7f7f7;
    border-left: 1px solid #f7f7f7;
    border-right: 1px solid #f7f7f7;*/
	background: #fafafa;
	font-weight: normal;
}
    
.tabs ul li.current {/*border-bottom: 1px solid #f7f7f7;*/}
.tabs ul li.current strong { /*background: #f7f7f7; color: #666; font-weight: normal;*/
	/*background-image: -moz-linear-gradient(100% 100% 90deg, #f7f7f7,#fff);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#f7f7f7)); */}
.tabs ul li a:link,.tabs ul li a:visited {color:#666; }
.tabs ul li a:hover,.tabs ul li a:active {color:#000; }

.gallery {/*border-top: 1px solid #f7f7f7; padding-left: 18px;
	 background: #efefef; color: #333; font-weight: normal;  background-image: -moz-linear-gradient(100% 100% 90deg, #efefef,#f7f7f7);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f7f7f7), to(#efefef));*/
}
.gallery-list {padding-left: 12px; padding-top: 14px}
.gallery-list  h2 { margin-top: 0; font-family: "utopia-std", Georgia, serif; text-transform: none }
.gallery .group { margin: 32px 0 0 0; float: left;}
.gallery .group ul { margin: 0; padding: 0; list-style: none }
.gallery .group ul li { display: block; float: left; margin-bottom: 6px; }

.gallery-detail h2 {margin-bottom:0.5em; font-style: italic; margin-right: 40px; font-weight: normal }
.gallery-detail {/* background: #efefef; color: #333; font-weight: normal;  background-image: -moz-linear-gradient(100% 100% 90deg, #efefef,#f7f7f7);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f7f7f7), to(#efefef));*/}
.gallery-detail ul { margin: 0; padding:0; list-style:none;}
.gallery-detail li { position: relative; padding-bottom: 18px;  padding-top: 18px; padding-left: 140px; min-height: 120px;}
.gallery-detail li img { position: absolute;top: 18px;left:0; width: 120px}

.gallery-detail p {margin-bottom:0 }
.gallery-detail a:hover {text-decoration: none; border-bottom: 1px solid #336979;padding-bottom:1px;}

/* CV */
.cv h2 {  margin-bottom: 24px; color:#666; font-family: "utopia-std",Georgia, serif; }
.cv h1 {margin-bottom: 18px; }
.cv h3 {margin-bottom: 0px; font-weight: normal; }
.cv h3 { margin-top: 1.75em;}
.cv h3.first { margin-top: 0;}
.cv h4 { margin-bottom: 1.75em;font-weight: normal;margin-left: 63px; margin-top: 0.5em }
.cv h3 span { display: block; float: left; height: 2.5em;  width: 60px;}

.cv h3 strong {margin-left:-18px;padding-left: 18px;}


.contributors{margin-left: 75px;}

.venues {margin-left: 63px; margin-top:9px; padding-left:0; list-style:none; }
.venues li {line-height:1.1em; margin-bottom: 0.75em}
.english, .cymraeg, .francais {background: #f7f7f7; margin-bottom: 24px; margin-top: -0.75em }
.js .venues, .js .english, .js .cymraeg, .js .francais {display: none;}

.js .venue-toggle { cursor: pointer; color: #336979; /*font-style:italic;*/ font-weight: normal; background-position: 0 1px; background-image: url(../images/arrow.gif); background-repeat: no-repeat; }
.js .venue-toggle:hover { text-decoration: underline;}

.js .open {background-image: url(../images/arrow-down.gif);background-position: 0 2px; }
.js .closed {background-image: url(../images/arrow.gif);background-position: 0 3px; }

.js .statement-toggle-english, .js .statement-toggle-cymraeg, .js .statement-toggle-francais { cursor: pointer; color: #336979; padding-bottom:1px; border-bottom: 1px solid #336979 /*font-style: italic*/} 
.js .statement-toggle-english:hover, .js .statement-toggle-cymraeg:hover, .js .statement-toggle-francais:hover { padding-bottom:1px; border-bottom: 1px solid #336979 }

.js .statement-toggle-english.show, .js .statement-toggle-cymraeg.show, .js .statement-toggle-francais.show {color:#666; border:0 }

/* ARTWORK DETAIL PAGE */
.main-inner img { width: 100%;  }
	
.work-detail p { margin-bottom: 0}
.work-detail { margin-bottom: 30px}
.related-work { margin: -15px 0 10px 0;}
.related-work h2 {font-size: 90%; margin-bottom: 1em; text-transform: uppercase }
.related-work ul { margin: 0; padding: 0; list-style: none }

.related-work ul li { display: block; float: left; margin: 0 8px 8px 0;line-height:1em;  }
.related-work ul li a {display:block;border: 2px solid #efefef;-webkit-transition: all 125ms ease-in-out;
	-moz-transition: all 150ms ease-in-out;
	-o-transition: all 150ms ease-in-out;
	-ms-transition: all 150ms ease-in-out;
	transition: all 150ms ease-in-out;
}
.related-work ul li  img { width: 110px }
.related-work ul li a img { margin: 0; padding:0; display: block; }
.related-work ul li a:hover {border: 2px solid #efefef; opacity: 1 }
.related-work ul li strong { display:block;border: 2px solid #efefef;}
.related-work ul li strong img { margin: 0; padding:0 ; display:block }

.view-all h2 { font-size: 150%; font-family: "utopia-std", Georgia, serif; text-transform: lowercase; font-style: italic; font-weight: normal}
.view-all { margin-top: 18px; }
.view-all a:link, .view-all a:visited, .view-all a:hover, .view-all a:active { color: #336979;}
.view-all a:hover { text-decoration: none; border-bottom: 1px solid #336979;}

   .driver {
		background-color: #FFDBDB;
		/*background: #F7E5E5;*/
		padding: 9px;
		border: 1px solid #ddd;
		
   }
    .driver span { display: block }
	.driver a { color: #666 }
  

/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.panel-half-intro, .slide-wrapper { float: left}

#container { min-width: 320px;}

@media only screen and (max-width: 480px) {
	header {text-align: center;}
	 nav {clear: both; font-size: 140%; margin: 0 auto; text-align: center; width: 100%}
    nav ul {  margin-left:auto !important; margin-right:0; width: 100%}
	nav ul li{  margin-right: 2%; margin-left: 2%; margin-bottom: 8px; width: 21% }
    
    nav ul li a { padding: 8px 7px 8px 7px; border-bottom: 1px solid #e6e6e6; background: #f9f9f9}
    nav ul li.current a {
        background: #666; color: #fff;
    }
	nav ul li a:hover, nav ul li a:active { text-decoration: none; background: #666; color: #fff}
   
  .panel-half { width: 100%; float: left; }
   .intro { width: 100%; font-size: 140%;}
   header { width: 90%; margin: 0 auto 25px auto; min-width: 320px }
   .pagehead {width: 100%; padding-top: 25px; margin-bottom:10px;  }
   #main { width: 90%; margin:  0 auto; }
   #slides { display: none}
   .offer { margin-top: 25px;}
   .offer div { width: 75%; margin-top: 5px}
   .offer div p { margin-bottom: 1em}
   
   .offer2 { margin-top: 25px;}
   .offer2 div { width: 75%; margin-top: 5px}
   .offer2 div p { margin-bottom: 1em}
   .offer2 img { width: 100% }
   
   .prints{ width:100%}
   .buy img { width: 99% }
   
   footer { width: 90%;  }
  .exhibitions { margin-bottom: 45px}
   .english, .cymraeg, .francais { padding:10px; margin-left: 53px; line-height: 1.6em;}

    .contact textarea, .contact .formrow input {width: 225px;  }
  
    .tabs ul li a, .tabs ul li strong { padding: 10px 10px; }
    
	.gallery .group { width: 99%; }
	.gallery .group ul li {  width: 45%; margin-right: 2%;  margin-left: 3%;  margin-bottom: 2%  }
	.gallery .group ul li  img{  width: 100%;  }

	.related-work ul li {  width: 46%; margin-right: 4%;  margin-left: 0;  margin-bottom: 4%  }
	.related-work ul li  img { width: 100% }
	
	.gallery-detail h2 { font-size: 140%;}
	
	.main{ margin-bottom: 10px }
	.contact-artist { margin-bottom: 20px }
	
}
@media only screen and (min-width: 481px) and (max-width: 690px) {
 nav {clear: both; font-size: 140%; margin: 0 auto; text-align: center; width: 100%}
    nav ul {  margin-left:auto !important; margin-right:0; width: 100%}
	nav ul li{  margin-right: 2%; margin-left: 2%; margin-bottom: 8px; width: 18% }
    
    nav ul li a { padding: 8px 7px 8px 7px; border-bottom: 1px solid #e6e6e6; background: #f9f9f9}
    nav ul li.current a {
        background: #666; color: #fff;
    }
	nav ul li a:hover, nav ul li a:active { text-decoration: none; background: #666; color: #fff}
}
@media only screen and (min-width: 691px) {
nav ul li a:link, nav ul li a:visited { color:#666 }
	nav ul li a:hover, nav ul li a:active { color:#666 }
	nav ul li.current a { color:#666 }
	nav ul li a:hover {color: #000; text-decoration: none}
	nav {font-size: 140%; padding-top: 37px; width: 280px; float: left; }      
     nav ul li { margin-right: 1px; margin-left:0 }
    
    nav ul li a { padding: 8px 13px 7px 13px;}
    nav ul li.current a {
        background: #f9f9f9;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
    }
}
@media only screen and (min-width: 481px) {
	.related-work { margin: 20px 0 10px 0;}
	.related-work ul li a {opacity: 0.8}
	.related-work ul li strong {opacity: 0.9}
	.slide-wrapper { width: 90% }
	.panel-half-intro { width: 90% }
	a{
	-webkit-transition: all 125ms ease-in-out;
	-moz-transition: all 125ms ease-in-out;
	-o-transition: all 125ms ease-in-out;
	-ms-transition: all 125ms ease-in-out;
	transition: all 125ms ease-in-out;
	}
	
    header   {
        margin: 0 auto 40px auto;
	    width: 95%;
		max-width: 960px
    }
	
   .pagehead { padding-top: 34px; margin-right: 35px}
   
    .about-panel2 { max-width: 320px}
    #main   {
        margin: 0 auto;
	    width: 95%;
		max-width: 960px
    }
    
     footer { width: 95%; max-width: 960px }
     
    
    .panel-half { width: 50%; float: left;}
	
    .intro { width: 80%;font-size: 140%;line-height: 1.4em}
    .offer { margin-top: 50px;}
    .offer div { width: 210px; }
	.offer2 { margin-top: 50px;}
    .offer2 div { width: 210px; margin-top: 6px}
	.work-aside .offer { margin-top: -10px; font-size: 90%; width:80%}
	.work-aside .offer div { width: 100%; max-width: 300px}
	.work-aside .offer div span{ width: 90%; }
	.work-aside .offer div span a{}
    .prints-info { padding-right: 40px; }
    
    .cv1 { min-width: 360px; margin-bottom: 30px }
	.cv2 { min-width: 260px; width: 35% }
    .english, .cymraeg, .francais { padding:15px 15px 10px 15px; margin-left: 50px;}

    
    div.contact { font-size: 110% }
    .contact textarea, .contact .formrow input {width: 314px; padding: 3px }
    .formrow input.submit { width: auto; }
    
   
   	.gallery-detail h2 { font-size: 175%;}
   
   .aside  {
       float: left;
   }
	
	.gallery .group { width: 31%; min-width: 225px;}
	.gallery .group ul { width: 95%; }
	.gallery .group ul li {  min-width: 95px; width: 45%; margin-right: 5%;  margin-bottom: 3%  }
	.gallery .group ul li img { max-width: 122px; min-width: 95px; width: 100%;}
    
	.main{ margin-bottom: 20px }
    
}

@media only screen and (min-width: 520px) {
	
	 .about-panel {width: 60%; margin-right: 5%;}
	 .about-panel2 {width: 35% }
	 
	.main-inner img { max-width: 565px; }
	    .exhibitions { margin-right: 40px}
}

@media only screen and (min-width: 700px) {
	nav {font-size: 160%; padding-top: 37px; width: 310px; float: left; }
	nav ul li { margin-right: 4px; margin-left:0 }
	.slide-wrapper { width: 60% }
	.panel-half-intro { width: 40% }
	.panel-half-intro { height: 417px; position: relative; }
	.offer2 { position: absolute; bottom: 0; margin-top:0 }
	.intro {padding-top: 11px; width: 245px;}

}
@media only screen and (min-width: 768px) {
	nav {font-size: 180%; padding-top: 35px; width: 370px; float: left; }      
    
	.about-panel {width: 45%; margin-right: 5%;}
	 .about-panel2 {width: 50% }
	
	 
	.slide-wrapper { max-width: 440px;min-width: 380px; width: 58%}
	.panel-half-intro {padding-left:1.5%}
	.gallery-detail-inner { width: 60% }

	.work-detail { height: 11em; margin-bottom:0; }
	
	 .main {
		width:50%;
		min-width: 490px;
		margin-right: 3%;
		float:left; 
   }

	.about-panel2 { max-width: 270px}
}
@media only screen and (min-width: 870px) {
	.aside { width: 37%}

}

@media only screen and (min-width: 1024px) {
	.contact-artist .driver { width: 75% }
	 .main {
        display: table;
       /*min-height: 450px;*/
        /*width: 598px*/
		width:62%;
		min-width: 490px;
		/*width: 100%;*/
        border: 1px solid #ddd;
        float: left;
        -moz-box-shadow: inset 0 0 8px #ddd;
        -webkit-box-shadow: inset 0 0 8px #ddd;
        box-shadow: inset 0 0 8px #ddd;
		margin-right: 3%;
		float:left; 
   }
   .aside { width: 31%}
   .main-inner {
       padding: 15px 10px;
       text-align: center;
       display: table-cell;
       vertical-align: top;
	   min-width: 410px;
    }
	

	
}

 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}



