/*

Theme Name: touchandplay.org
Theme URI: http://touchandplay.org
Description: Custom theme for touchandplay.org
Author: Frances d'Ath <a href='http://thingswithbits.info'>thingswithbits.info</a>
Version: 0.666a

*/

/* normally i wouldnt write so much incoherent and badly organised css but i'm in a rush … and the pay's not so good … i'll clean it up one day … oh look! clouds! */

/* ==============================================================

 import blueprint grid css with css reset 

============================================================== */

@import url(css/grid.css);

/* ===================================================

background image

=================================================== */


#hintergrund {
    border: none;
    outline: none;
    width: 25%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: url('images/touchandplay-background.jpg');
}

.home #hintergrund {
    min-height: 1200%;
    position: absolute;
}


#hintergrund-border {
    min-height: 100%;
    width: 99%;
    float: right;
    position: fixed;
    border-right: 13px solid #f65101; 
}

div#wrapper {
    position: relative;
    margin-top: 0;
}

/* ==============================================================

all @font-face declarations

============================================================== */

@font-face {
    font-family: 'OpenSansBold';
    src: url('fonts/opensans-bold-webfont.eot');
    src: url('fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-bold-webfont.woff') format('woff'),
         url('fonts/opensans-bold-webfont.ttf') format('truetype'),
         url('fonts/opensans-bold-webfont.svgz#OpenSansBold') format('svg'),
         url('fonts/opensans-bold-webfont.svg#OpenSansBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansBoldItalic';
    src: url('fonts/opensans-bolditalic-webfont.eot');
    src: url('fonts/opensans-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-bolditalic-webfont.woff') format('woff'),
         url('fonts/opensans-bolditalic-webfont.ttf') format('truetype'),
         url('fonts/opensans-bolditalic-webfont.svgz#OpenSansBoldItalic') format('svg'),
         url('fonts/opensans-bolditalic-webfont.svg#OpenSansBoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSansExtrabold';
    src: url('fonts/opensans-extrabold-webfont.eot');
    src: url('fonts/opensans-extrabold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-extrabold-webfont.woff') format('woff'),
         url('fonts/opensans-extrabold-webfont.ttf') format('truetype'),
         url('fonts/opensans-extrabold-webfont.svgz#OpenSansExtrabold') format('svg'),
         url('fonts/opensans-extrabold-webfont.svg#OpenSansExtrabold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansExtraboldItalic';
    src: url('fonts/opensans-extrabolditalic-webfont.eot');
    src: url('fonts/opensans-extrabolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-extrabolditalic-webfont.woff') format('woff'),
         url('fonts/opensans-extrabolditalic-webfont.ttf') format('truetype'),
         url('fonts/opensans-extrabolditalic-webfont.svgz#OpenSansExtraboldItalic') format('svg'),
         url('fonts/opensans-extrabolditalic-webfont.svg#OpenSansExtraboldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSansItalic';
    src: url('fonts/opensans-italic-webfont.eot');
    src: url('fonts/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-italic-webfont.woff') format('woff'),
         url('fonts/opensans-italic-webfont.ttf') format('truetype'),
         url('fonts/opensans-italic-webfont.svgz#OpenSansItalic') format('svg'),
         url('fonts/opensans-italic-webfont.svg#OpenSansItalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSansLight';
    src: url('fonts/opensans-light-webfont.eot');
    src: url('fonts/opensans-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-light-webfont.woff') format('woff'),
         url('fonts/opensans-light-webfont.ttf') format('truetype'),
         url('fonts/opensans-light-webfont.svgz#OpenSansLight') format('svg'),
         url('fonts/opensans-light-webfont.svg#OpenSansLight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansLightItalic';
    src: url('fonts/opensans-lightitalic-webfont.eot');
    src: url('fonts/opensans-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-lightitalic-webfont.woff') format('woff'),
         url('fonts/opensans-lightitalic-webfont.ttf') format('truetype'),
         url('fonts/opensans-lightitalic-webfont.svgz#OpenSansLightItalic') format('svg'),
         url('fonts/opensans-lightitalic-webfont.svg#OpenSansLightItalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/opensans-regular-webfont.eot');
    src: url('fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-regular-webfont.woff') format('woff'),
         url('fonts/opensans-regular-webfont.ttf') format('truetype'),
         url('fonts/opensans-regular-webfont.svgz#OpenSansRegular') format('svg'),
         url('fonts/opensans-regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansSemibold';
    src: url('fonts/opensans-semibold-webfont.eot');
    src: url('fonts/opensans-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-semibold-webfont.woff') format('woff'),
         url('fonts/opensans-semibold-webfont.ttf') format('truetype'),
         url('fonts/opensans-semibold-webfont.svgz#OpenSansSemibold') format('svg'),
         url('fonts/opensans-semibold-webfont.svg#OpenSansSemibold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansSemiboldItalic';
    src: url('fonts/opensans-semibolditalic-webfont.eot');
    src: url('fonts/opensans-semibolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-semibolditalic-webfont.woff') format('woff'),
         url('fonts/opensans-semibolditalic-webfont.ttf') format('truetype'),
         url('fonts/opensans-semibolditalic-webfont.svgz#OpenSansSemiboldItalic') format('svg'),
         url('fonts/opensans-semibolditalic-webfont.svg#OpenSansSemiboldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
}


/* ==============================================================

typography

============================================================== */

/* starting with some basic general stuff */

body,
p {
    font-family: 'OpenSans', Helvetica, Verdana, Arial sans-serif;
    color: #111;
    -webkit-font-smoothing: subpixel-antialiased;
    font-weight: normal;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'OpenSansBold', Helvetica, Verdana, Arial sans-serif;
    color: #111;
    -webkit-font-smoothing: subpixel-antialiased;
    font-weight: bold;
    font-style: normal;
}

/* ==============================================================

links

============================================================== */

a,
a:link {
    text-decoration: none;
    color: #111;
}

p a,
p a:link {
    text-decoration: none;
    background-color: #111;
    color: #fff;
    padding: 0 2px;
}

p a:visited {

}

p a:hover {
    text-decoration: none;
    background-color: #fff;
    color: #111;
    padding: 0 2px;
}

p a:active {
    top: 1px;
    position: relative;
}

/* ==============================================================

main layout

============================================================== */

#wrapper {

}

.section {
    min-height: 800px;
    margin-bottom: 10em;
}

/* ===== index section heights – this will need to be reworked once content is settling ===== */


.home #index {
    padding-top: 7.8em;
    min-height: 420px;
}

.home #news {

}

.home #events {

}

.home # articles {

}

.home # about {

}

.home #touch-and-play-festival {

}

.home #gallery {

}

.home #collaborators {

}

.home #faq {

}

#contact {
    margin-bottom: 0;
}



/* ==============================================================

navigation

============================================================== */

#access {
    position: fixed;
    width: 950px;
    z-index: 999;
    top: 10px;
    margin-bottom: 30px;
}

#access ul {
    float: right;
}

#access li,
#pagination .page-previous,
#pagination .page-next,
#footer a {
    display: inline;
    background-color: #111;
    padding: 0 3px;
}

#access li a,
#pagination .page-previous a,
#pagination .page-next a,
#footer a {
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
}

#access li:hover,
#access li a:hover,
#pagination .page-previous:hover,
#pagination .page-next:hover,
#pagination .page-previous a:hover,
#pagination .page-next a:hover,
#footer a:hover {
    background: transparent;
    color: #111;
}

#pagination {
    position: relative;
}

#pagination .page-previous {
    float: left;
}

#pagination .page-next {
    float: right;
}

/* ==============================================================

header

============================================================== */

#header {

}

#masthead {
    padding-top: 90px;
}

#branding {
    float: right;
}

#header h1 {
    font-family: 'OpenSansExtrabold', Helvetica, Verdana, Arial sans-serif;
    word-spacing: 0.125em;
    text-transform: uppercase;
    font-size: 6.6em;
    line-height: 1.2em;
    text-align: right;
    background: #33cccc;
    color: #fff;
}

#header h1 a {
    color: #fff;
}

#site-description h2 {
    font-family: 'OpenSansLightItalic', Helvetica, Verdana, Arial sans-serif;
    font-weight: normal;
    font-style: italic;
    font-size: 1.6em;
    text-align: right;
    word-spacing: 0.125em;
    color: #33cccc;
}

#site-description h2:before {
    content: '— ';
}


/* ==============================================================

content

============================================================== */

/* ===== general styling ===== */

#content .border {
    width: 240px;
    border-bottom: 5px solid #111;
    margin-bottom: 5.1em;
}

#content #articles .border {
    width: 240px;
    border-bottom: 5px solid #111;
    margin-bottom: 0;
    clear: both;
}

#content h2.section-title,
#content h2.entry-title,
#contact fieldset.contact legend,
#content #touch-and-play-festival h2.tap-link,
#content h2.tap-link,
#content .ngg-albumtitle,
#content .events h2.entry-title,
.parent-pageid-124 #content h2.entry-title,
#footer h3 {
    font-family: 'OpenSansExtrabold', Helvetica, Verdana, Arial sans-serif;
    word-spacing: 0.125em;
    text-transform: uppercase;
    font-size: 6.6em;
    line-height: 1.2em;
    text-align: right;
    padding-top: 1.1em;
}

#content #news h2.entry-title,
#content #event-calendar h2.entry-title,
#content #articles h2.entry-title,
#content #touch-and-play-festival h2.tap-link,
#content h2.tap-link,
#contact fieldset.contact legend,
#content .ngg-albumtitle,
#footer h3,
.blog #content h2.entry-title,
.single #content h2.entry-title,
#content .events h2.entry-title,
#content .articles h2.entry-title,
.parent-pageid-4 #content h2.entry-title,
.parent-pageid-124 #content h2.entry-title {
    word-spacing: 0.125em;
    font-size: 36px;
    padding-top: 1.1em;
    text-align: left;
}

#content #articles h2.entry-title {
    padding-top: 0;
    margin-top: 0;
}

#content #touch-and-play-festival h2.tap-link,
#content h2.tap-link {
    padding-top: 24px;
}

#content #touch-and-play-festival h2.tap-link:before,
#content h2.tap-link:before {
   content:"";
   width: 240px;
   position: absolute;
   z-index: -1;
   top: 12px;
   left: 0;
   border-top: 5px solid #111;
}

#event-calendar .section-content {
    padding-top: 3.1em;
}

#content #news h2.entry-title.first,
.blog #content h2.entry-title,
.single #content h2.entry-title,
.archive #content h2.entry-title,
#content .articles h2.entry-title,
.parent-pageid-4 #content h2.entry-title,
.parent-pageid-124 #content h2.entry-title {
    text-align: right;
}

#content #news h2.entry-title.last,
#content #event-calendar h2.entry-title,
#content .events h2.entry-title,
#content .articles h2.entry-title {
    margin-top: 0;
    top: 0;
    padding-top: 0;
}


h2.section-title {
    background: #33cccc;
    color: #fff;
}

h2.section-title a {
    color: #fff;
}

#events h2.section-title {

}

#articles h2.section-title {

}

#about h2.section-title {

}

#touch-and-play-festival h2.section-title {

}

#gallery h2.section-title {

}

#collaborators h2.section-title {

}

#faq h2.section-title {

}

#contact h2.section-title {

}

#content .entry-date,
#content .event-date {
    font-family: 'OpenSansbold', Helvetica, Verdana, Arial sans-serif;
    border-bottom: 5px solid #111;
    width: 240px;
    margin-bottom: 0;
}

#content #event-calendar .event-date,
#content .events .event-date {
    width: 480px;
}

#content #news .entry-date.last {
    margin-bottom: 0;
}


#content h3,
#content h4 {

}

#content h3 {
    
}

#post-151 h2.entry-title:first-child {
    padding-bottom: 0.7em;
}

.single-events #content h3 {
    margin-top: 18px;
    margin-bottom: 18px;
}

#content .events,
#content .articles {
    margin-top: 1.5em;
}

#content .articles .clear {
    height: 1em;
}

#content p,
#content blockquote,
#content ol,
#content ul,
#content .entry-content {
    width: 470px;
    padding-left: 240px;
    margin-bottom: 1em;
}

#content p:first-child:first-line {
    text-transform: uppercase;
}

#content p b,
#content p strong {
    font-family: 'OpenSansBold', Helvetica, Verdana, Arial sans-serif;
}

#content p i,
#content p em {
    font-family: 'OpenSansItalic', Helvetica, Verdana, Arial sans-serif;
}

#content .entry-content h1,
#content .entry-content h2,
#content .entry-content h3,
#content .entry-content h4,
#content .entry-content h5,
#content .entry-content h6 {
    width: 560px;
    padding-left: 160px;
}

#content blockquote,
#content blockquote p {
    padding-top: 0;
    width: 390px;
    font-family: 'OpenSansItalic', Helvetica, Verdana, Arial sans-serif;
    font-style: italic;
    margin-left: 40px;
}

#content blockquote p {
    margin-left: 0;
    padding-left: 0;
}

#content .entry-content ol {
    list-style-type: lower-roman;
}

#content .entry-content ul {
    list-style-type: square;
}

/* ===== specific styling for the index page & quote ===== */

#index h2 {
    display: none;
}

#index p {
    width: 470px;
    padding-left: 0;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.8em;
    line-height: 1.2em;
}

#index p:first-line {
    font-size: 3.6em;
    line-height: 1em;
    text-transform: none !important;
}

#index p:first-line,
#index p strong.first-word {
    font-size: 3.6em;
    line-height: 1em;
    text-transform: none !important;
    color: #111;
}

#index p strong.first-word {
    font-size: 1em !important;
}

#content p strong.first-word {
    font-size: 13.5px;
    text-transform: uppercase;
}

#index p strong {
    font-family: Georgia, serif;
    font-weight: normal;
}

#index p:before,
#index p:after {
    color: #111;
    font-size: 3.6em;
}

@-moz-document url-prefix() {
#index p:before {
        font-size: 1em;
    }
}

#index p:before {
    content: '“ ';
}

#index p:after {
    content: ' ”';
    margin-top: 24px;
    float: right;
}



/* ===== images styling ===== */

#content a[href$=".jpg"],
#content a[href$=".jpg"]:hover {
    background: transparent !important;
}

#content .entry-content img,
#content .featured-image img {
    outline: 1px solid #111;
    border: 3px solid #fff;
    margin-top: 5px;
}

#content .entry-content .alignleft,
#content .entry-content img.alignleft,
#content .featured-image img {
    float: left;
    margin-right: 9px;
}

#content .featured-image {
    padding-left: 65px;
}

#content .entry-content .alignright,
#content .entry-content img.alignright {
    float: right;
    margin-left: 5px;
}

.single-events .alignleft {
    margin-left: 240px;
}

.single-events .alignright {
    margin-right: 240px;
}

#content .entry-content .wp-caption-text {
    padding-left: 0;
    font-size: 11px;
    font-family: 'OpenSansItalic', Helvetica, Verdana, Arial sans-serif;
    font-style: italic;
    line-height: 12px;
}

/* ===== gallery styling – galleryview stuff on index page ===== */

.galleryview {
    float: right;
    margin: 2em 0;
}

.panel {
    background: #111;
}

.strip_wrapper li {
    margin-top: 5px !important;
}

/* ===== gallery styling – nextgen stuff on index page ===== */

#content .ngg-albumoverview {
    width: 240px;
    border: none;
    border-top: 5px solid #111;
    margin: 0;
    padding: 0;
}

#content .ngg-album {
    border: none;
    width: 950px;
    margin: 0;
    padding: 0;
}

#content .ngg-albumtitle {
    padding-top: 0;
}

#content .ngg-thumbnail {
    padding: 0 0 5px 65px;
    margin: 0;
}

#content .ngg-thumbnail img {
    padding: 0;
    margin: 0;
    outline: 1px solid #111;
    border: 3px solid #fff;
}

#content .ngg-thumbnail img {
    float: left;
    margin-right: 9px;
}

#content .ngg-description p + p {
    display: none;
}

/* ===== gallery styling – nextgen stuff  ===== */

.ngg-gallery-thumbnail img,
.ngg-gallery-thumbnail img:hover {
    background: #fff !important;
    border-color: #111;
}

#shDisplay {
    top: 1em !important;
}

#shDisplay #shWrap img {
    max-height: 800px !important;
}

#shTitle {
    padding: 0 10em !important;
}

#shDisplay div#shTitle a,
#shName,
#shCount {
    font-family: 'OpenSansBold', Helvetica, Verdana, Arial sans-serif !important;
    color: #fff !important;
}

#shName {
    padding-top: 5px !important;
}

#shCount {
    float: right !important;
    font-size: 12px !important;
    margin-top: -15px !important;
}

/* ===== contact form ===== */

fieldset.contact label,
fieldset.contact span.wpcf7-quiz-label {
    float: left;
    font-family: 'OpenSansBold', Helvetica, Verdana, Arial sans-serif;
    margin-top: 1em;
}

fieldset.contact span.wpcf7-quiz-label {
    margin-top: -2.4em;
    margin-left: 144px;
}

fieldset.contact input[type="text"]#maths {
    margin-top: -1.2em;
}

fieldset.contact input,
fieldset.contact textarea {
    float: left;
}

fieldset.contact input[type="text"],
fieldset.contact textarea {
    width: 470px;
    max-width: 470px;
    border: 1px solid #111;
    color: #111;
    font-family: 'OpenSans', Helvetica, Verdana, Arial sans-serif;
    font-size: 1em;
    padding: 5px;
    background: transparent;
    cursor: auto;
}

fieldset.contact .wpcf7-form-control-wrap {
    margin-top: 18px;
}

fieldset.contact input[type="submit"] {
    margin-top: 18px !important;
    margin-right: 10px;
    clear: both;
    float: left;
}

fieldset.contact input[type="submit"] {
    background-color: #fff;
    border: 1px solid #111;
    color: #111;
    cursor: pointer;
    font-family: 'OpenSans', Helvetica, Verdana, Arial sans-serif;
    font-weight: bold;
    font-size: 1em;
    padding: 5px;
    width: 482px;
    -webkit-transition: border-color 0.5s ease-in, background-color 0.5s ease-in, color 0.5s ease-in;
    -moz-transition: border-color 0.5s ease-in, background-color 0.5s ease-in, color 0.5s ease-in;
    -o-transition: border-color 0.5s ease-in, background-color 0.5s ease-in, color 0.5s ease-in;
    transition: border-color 0.5s ease-in, background-color 0.5s ease-in, color 0.5s ease-in;
}

fieldset.contact input[type="submit"]:hover {
    border-color: #111;
    color: #111;
    background-color: #fff;
}

.wpcf7-response-output {
    margin-left: 240px;
    margin-top: 0;
    width: 452px;
    padding: 0.6em 1em;
}

/* ===== mappress map ===== */

#mapp0_poweredby {
    display: none !important;
}

.mapp-canvas img {
    border: none !important;
    outline: none !important;
}

.event-map {
    margin-left: 240px;

}

.mapp-container {
    border: 3px solid white;
    outline: 1px solid #111;
    width: 470px;
    height: 387px;
    margin-top: 9px;
}


/* ===== footer ===== */

#footer li {
    list-style: none;
}

#footer .textwidget {
    margin-top: 2em;
}


#footer {
    margin-bottom: 2em;
}

#footer ul,
#footer p {
    padding-left: 0;
}





















