/* @override http://clarifi.rubious.co.uk/style.css */

/**
 * HTML5 Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */


/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }

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

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

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

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

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

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

input, select { vertical-align: middle; }


/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body { font:13px/1.231 sans-serif; *font-size:small; font-family: Carto, Helvetica, Arial, sans-serif; background:  #f1f1f1;} /* Hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }

/* Normalize monospace sizing:
   en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; color: #a90047; }

ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }

td { vertical-align: top; }

/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } 

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: #eabac5; color:#000; text-shadow: none; }
::selection { background:#eabac5; color:#000; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { /*-webkit-tap-highlight-color: #f3f2f0;*/ }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/**
 * You might tweak these..
 */

body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #444;
  /* Set your base font here, to apply evenly */
  /* font-family: Georgia, serif;  */
}

/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */
h1, h2, h3, h4, h5, h6 { }

a, a:active { color: #555557; }
a:hover, button:hover { color: #;  }


p {margin: 0 0 15px 0; line-height: 1.4; font-size: 14px;color:#555557 ;}
#mainContent li {margin: 0 0 15px 0; line-height: 1.4; font-size: 14px;color:#555557}


/**
 * Primary styles
 *
 * Author: 
 */

/* @group Headings */


h1, h2, h3 {font-family: Palatino, Georgia, "Times New Roman", Times, serif;font-weight: normal}

h1 {font-size: 35px; margin: 0 0 5px 0;}

body#home article h1 {display: none;}

h2 {color: #a40047; font-size: 25px; margin: 0 0 5px 0;}


h3 {font-size: 22px;margin-bottom: 5px; color: #605d5c;}
h3 em {font-size: 27px; margin: 0 0 0 5px; color: #aaafd5; font-style: normal;}


#banner {text-align: right; height: 155px;width: 786px; margin: 0 auto; overflow: hidden;margin: 0 auto 10px auto; }

#home #banner {height: 310px;}

#banner p.findoutmore {display: none;}
#home #banner p.findoutmore {display: block; margin: 10px 0;}
#banner div {background: url(/images/banners.jpg);height: 155px;}
#home #banner div {height: 145px; margin-bottom: 12px;}

#banner p {margin: 0;}
#banner h1 {margin: 0;}


#banner .banner {padding: 10px 18px 0 0; position: relative;}
#banner .banner h1 {float: right; width: 100%;}
#banner .banner p {width: 440px; float: right; font-size: 15px;font-family: Palatino, Georgia, "Times New Roman", Times, serif;line-height: 1.4;}


#banner .banner p.findoutmore {float: right; font-size: 13px;font-family: Carto, Helvetica, Arial, sans-serif;line-height: 1.4;position: absolute; bottom: 18px;right: 18px;}

#banner .butterfly {background-position: 0 -620px; }
#banner .butterfly h1 {color: #eeebda; }
#banner .butterfly p {color: #fff; }


#banner .it-programme {background-position: 0 -465px; }
#banner .it-programme h1 {color: #aec4d9; }
#banner .it-programme p {color: #fff; }


#banner .social-work {background-position: 0 0px; }
#banner .social-work h1 {color: #f3f2f1; }
#banner .social-work p {color: #fff; }

#banner .training {background-position: 0 -155px; }
#banner .training h1 {color: #cdd5c8; }
#banner .training p {color: #fff; }

#banner .about {background-position: 0 -775px; height: 145px; }
#banner .about h1 {color: #f8a291; }
#banner .about p {color: #fff; }


#banner .contact {background-position: 0 -930px; height: 145px;}
#banner .contact h1 {color: #e4c69f; }
#banner .contact p {color: #fff; }

#banner .testimonials {background-position: 0 -930px; }
#banner .testimonials h1 {color: #e4c69f; }
#banner .testimonials p {color: #fff; }

#banner .childrens {background-position: 0 -1395px; }
#banner .childrens h1 {color: #f7dfc9; font-size: 30px; }
#banner .childrens p {color: #fff; }



#header {height: 125px;background: #fff;}

/* @group Homepage */

.columns-three {float: left; margin: 0 0 30px 0;}
.columns-three .column {float: left; width: 220px; margin: 0 12px; padding: 0 12px; border-right: 1px solid #eee; position: relative;}

.columns-three .column {height: 185px;}
.columns-three .column .button {position: absolute; bottom: -0px;}

.columns-three .one {margin-left: 0; padding-left: 0;}
.columns-three .three {margin-right: 0; border-right: 0; padding-right: 0;}

.columns-three h2 {position: relative; top: -8px; margin: 0;}

.columns-three p {line-height: 1.4; font-size: 13px; width: 210px;}

.columns-three blockquote {font-style: italic;}

.ldquo, .rdquo {color: #7c0a3b;font-family: Georgia, "Times New Roman", Times, serif; font-style: normal;}

.columns-three p strong {font-size: 130%;display: inline-block; margin: 8px 0 0 0;}
.columns-three p a strong {font-size: 120%; text-decoration: underline; margin: 0;}

/* @end */

/* @group Call to Action */

.call-to-action {margin: 30px 0 20px 0; width: 400px; padding: 20px;background: #eee;}
.call-to-action p {margin: 0;}
.call-to-action a, .call-to-action strong {color: #a40047;}

/* @end */








.contact-details {position: absolute; top: 0; right: 0; padding: 0px 30px 0 0;}
.contact-details p {text-align: right;margin: 0;}
.contact-details p.utility-nav {text-transform: uppercase;  font-size: 11px; color: #cbcbcb;}
.contact-details p.utility-nav a {color: #cbcbcb;}
.contact-details p.contact {margin: 5px 0 0 0;}
.contact-details p.contact span {font-size: 29px; color: #a40047; font-family: Palatino, Georgia, "Times New Roman", Times, serif;}
.contact-details p.contact .button {position: relative; top: -6px; margin: 0 0px 0 6px;}

.ie6 .contact-details p.contact .button,
.ie7 .contact-details p.contact .button {top: 0px;}

.contact-details p.subheading {line-height: 1.2;}
.contact-details p.subheading em {font-family: CartoBoldItalic, Helvetica, Arial Bold, sans-serif; color: #000;}
.contact-details p .facebook, .contact-details p .twitter, .contact-details p .linkedin  {display: inline-block; width: 26px; height: 26px; position: relative; top: 3px;margin: 0 0 0 2px;}



.contact-details p .facebook, .contact-details p .twitter, .contact-details p .linkedin {background: url(/images/sprite.png) -12px -82px no-repeat;} 

.contact-details p .twitter {background-position: -12px -111px;}
.contact-details p .linkedin {background-position: -64px -46px;}






#mainNav {background: #f1f1f1;}
#mainNav p {text-align: left; font-size: 13px;color: #a7aab1; margin: 0;width: 810px;}
#mainNav a {text-decoration: none; text-transform: uppercase; display: block; padding: 10px 0;color: #a7aab1; height: 18px; float: left; margin: 0 0 0 15px; position: relative;}
#mainNav a.selected {color: #000; background: url(/images/sprite.png) center -306px no-repeat;}

#mainNav a i {border-left: 1px solid #a7aab1; position: absolute; right: -10px;  top: 13px;width: 1px;height: 12px;}

#mainNav a:hover {color: #000;}

#main article {position: relative; z-index: 10; /*top: -60px;*/ 
background: url(/images/content-shadow-top.png), url(/images/content-shadow-bottom.png); background-repeat: no-repeat; background-position: top left, bottom left; background-color: #fff; 
padding: 40px 25px 0;
display: inline-block;
}

#main article.butterfly,
#main article.it-programme,
#main article.training,
#main article.social-work,
#main article.childrens {
	background: url(/images/content-shadow-bottom.png); background-repeat: no-repeat; background-position: bottom left; background-color: #fff;
	 }

#main article #subnav {background: url(/images/content-shadow-nav.png); width: 810px; height: 50px; position: absolute; top: -47px; left: 0;}

#subnav p {margin: 12px 0 0 45px; text-transform: uppercase; font-size: 12px; }
#subnav a {color: #fff; text-decoration: none;font-family: Carto, Helvetica, Arial, sans-serif;}
#subnav a.selected {color: #000; text-decoration: none;font-family: CartoBold, Helvetica, Arial, sans-serif;background: url(/images/sprite.png) center -230px no-repeat;}

#subnav a { padding: 0 0 10px 0; margin: 0 14px 0 0; position: relative;}
#subnav a:after {content: " | "; color: #ccc; position: absolute; right: -12px; font-family: Carto, Helvetica, Arial, sans-serif !important;display}

#subnav a:hover {color: #000;}



p.utility-nav { }
p.utility-nav a {color: #fff; text-decoration: none; display: inline-block;}
p.utility-nav a:hover {color: #d4b1c2;}
p.utility-nav a.selected {color: #d4b1c2; background: url(/images/sprite.png) center -191px no-repeat;}

p.utility-nav a { padding: 10px 0 0 5px; margin: 0 0px 0 0;}
p.utility-nav a:after {content: " | "; color: #ccc; position: relative; left: 2px; font-family: Carto, Helvetica, Arial, sans-serif !important;}

p.utility-nav a.contact-link:after {content: "";}


article .content {width: 470px; min-height: 650px;height: auto !important; _height:800px;/*border-right: 1px solid #ccc; padding-right: 40px;*/}

#sidebar {position: absolute; top: 0; right: 0px; width: 215px; padding: 0 35px 20px 25px; border-left: 1px solid #ccc; min-height: 620px; height: auto !important; _height:620px}

.ie6 #sidebar {position: relative;}

.testimonials #sidebar,
.about #sidebar,
.contact #sidebar {top: 40px;}

article h3 {font-size: 14px;font-family: CartoBold, Helvetica, Arial, sans-serif; margin: 30px 0 5px 0;}
article ul, article ol {margin: 0 0 20px 40px;}
article li {margin: 3px 0; font-family: Carto, Helvetica, Arial, sans-serif;}


article.butterfly h3 {color: #a1a276;}
article.it-programme h3 {color: #52648a;}
article.training h3 {color: #a29a93;}
article.social-work h3 {color: #a29a93;}
article.childrens h3 {color: #f7dfc9;}
article.about h3 {color: #f8a291;}
article.contact h3 {color: #e4c69f;}




/* @group Sidebar */

#sidebar h3 {margin-bottom: 5px; font-family: Palatino, Georgia, "Times New Roman", Times, serif; color: #666;}
.butterfly-logo, .sit-link {position: relative; overflow: hidden; margin: 40px 0;}

.sit-link {margin-top: 50px;}
.butterfly-logo img, .sit-link img {float: left; margin: 0 20px 0 0;}
.butterfly-logo p, .sit-link p {font-size: 12px;padding: 10px 0 0 0;}
.sit-link img {position: relative; top: 10px;}

.facebook a, .twitter a, .linkedin a {text-decoration: none;}


.facebook a:hover p, .twitter a:hover p, .linkedin a:hover p {color: #a40047;}

.facebook span, .twitter span, .linkedin span {display: block; width: 40px; height: 40px; float: left; margin: 0 5px 0 0; background: url(/images/sprite.png) -5px 2px no-repeat; position: relative; top: -2px;} 

.twitter span {background-position: -5px -40px;}
.linkedin span {background-position: -56px 1px;}

.facebook p, .twitter p, .linkedin p {font-size: 12px;}
.facebook p strong, .twitter p strong, .linkedin p strong {text-decoration: underline;;}


/* @end */


/* @end */



/* @group Main */

#main {width: 810px;margin: 20px auto 0px auto;overflow: visible; /*background: #fff;*/position: relative;float: ;}

/*article {float: left; width: 420px; margin: 200px 0 0 50px; min-height: 500px; height: auto !important; height:500px}*/



.logos {margin: 0 auto; text-align: right; position: relative; padding: 20px 0 15px 0; border-top: 1px solid #d2d2d2; width: 760px;float: left;margin-top: 40px;;}

#home .logos {margin-top: 0;}

/* @end */
















p strong, td strong, li strong {font-weight: normal; font-family: CartoBold, Arial Bold, Arial, sans-serif;}
p small {color: #55557;font-size: 80%;}

.alignleft {float: left; margin: 0 10px 10px 0;}
.alignright {float: right; margin: 0 0 10px 10px;}


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

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

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }






/**
 * Media queries for responsive design.
 *
 * These follow after primary styles so they will successfully override.
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
   consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {


  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */
   html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } 
}



/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

}

/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {

}


/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */
@media print {

}







.button, input#submit {border: none;
background: #8f2252;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#a40047), to(#8f2252));
background: -moz-linear-gradient(#a40047, #8f2252);
background: linear-gradient(#a40047, #8f2252);
-pie-background: linear-gradient(#a40047, #8f2252);
display: inline-block;padding: 4px 13px 5px;color: #fff;font-weight: normal;text-decoration: none;-moz-border-radius: 15px;-webkit-border-radius: 15px;border-radius: 15px;

/*-moz-box-shadow: 0 1px 3px rgba(255,255,255,0.5);-webkit-box-shadow: 0 1px 3px rgba(255,255,255,0.5);box-shadow: 0 1px 3px rgba(255,255,255,0.5);*/

/*border-bottom: 1px solid rgba(0,0,0,0.25);*/position: relative;cursor: pointer;font-size: 13px;line-height: 1;text-align: center; text-transform: uppercase;
behavior: url(/images/PIE.php);}

.button:hover,  input#submit:hover {  
background: #a40047; color: #fff;
}

.button.alt {background: #cbcbcb;}
.button.alt:hover {background: #ddd;}




#footer {float: left; width: 100%; background: url(/images/footer/footer-grad.gif) center bottom repeat-x; height: 116px; position: relative;padding-bottom: 60px;}





footer p {color: #a7aab1; font-size: 12px; text-transform: uppercase;}

footer .footer-1 {float: left; margin-top: 15px;}
footer .footer-2 {float: right; text-align: right;margin-top: 15px;}

footer p a {color: #a7aab1;}

#rubious a {text-decoration: none; text-transform: none; color: #a7aab1;-webkit-transition-duration: 1s;}
#rubious a:hover {-webkit-transition-duration: 1s; color: #7c0a3b;}
#rubious a strong {text-decoration: underline;}
#rubious span {display: block; width: 18px;height: 20px;position:absolute; right: 265px;background: url(/images/ruby.gif);}


/*.switcher-container*/ 
table {width: 100%;margin: 20px 0 20px 0;}
table td {padding: 10px 0 10px 0; border-bottom: 1px solid #ccc;}
table td span {font-family: LatoRegular, Arial, sans-serif; font-size: 17px;}

/* @group Form */

form.mainContact {background: #eee; margin: 0px 0 0 0; padding: 20px 10px 10px 10px; margin: 10px 0; 
position: relative;}
#content form.mainContact p.instructions {margin-left: 0px;}

.mainContact label {display: inline-block; width: 120px; text-transform: none;text-align: right; margin: 0 20px 0 0; color: #000;}


.mainContact label.radio {display: inline-block; width: auto; text-transform: none;text-align: left; margin: 0 0px 0 0; color;}



.mainContact input#name,
.mainContact input#tel,
.mainContact input#email {width: 255px;}

.mainContact p.message label {position: relative; top: -155px;}
.mainContact textarea {width: 355px;}
.mainContact label.error {color: #dd8b28; padding: 0px 0 0 80px; display: block;text-shadow: 0 0 #fff; width: 300px; text-align: left; position: absolute;behavior: url(/images/PIE.php);}

form .button {margin: 0 0 0 140px;}
#radiobuttons {display: block;position: relative;left: 140px; top: -30px;width: 300px; margin: 0;}

textarea#message {width: 255px;}

.map-button {margin:20px 0 0 0;}

p.address{ width: 225px; height: auto; position: relative; top: 127px;z-index: 10; background: #fff; padding: 13px;-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.5);box-shadow: 0 1px 3px rgba(0,0,0,0.5);margin: 0 auto; display: block;behavior: url(/images/PIE.php);}


/* @end */



