/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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
   ========================================================================== */
@import url("http://fnt.webink.com/wfs/webink.css/?project=486CC85B-FB09-4089-A340-C9DAD1EDF8AA&fonts=70F8A7D9-BDFF-D029-E465-E7FC928A5994:f=theinhardtmedium:style=italic,F77BBDE3-5270-5846-90AD-5529C2FFDA57:f=theinhardtmedium");

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

html,
button,
input,
select,
textarea  {
    font-family: 'theinhardtmedium', 'Helvetica', Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.4;
}

body {
    background-color: #FFF;
    /*background-image: url(../img/bg.jpg);
    background-size: cover;*/

    -webkit-transition: background 0.5s ease;
    -moz-transition: background 0.5s ease;
    -ms-transition: background 0.5s ease;
    -o-transition: background 0.5s ease;
    transition: background 0.5s ease;
}

.red { background-color: #EF3400; }

.yellow { background-color: #FCF800; }

.green { background-color: #00B947; }

.page {background-color: #FFF}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Text
   ========================================================================== */

h2 { font-size: 2em; margin: 0.83em 0 1.25em 0;}
h3 { font-size: 1.5em;}

p { font-size: 1.2em; margin: 25px 0; letter-spacing: 0.9;}

a { color: #000; text-decoration: none; }
.link {text-decoration: underline;}
.artist_list a:hover {text-decoration: underline;}

.mc-field-group { font-size: 1.2em; letter-spacing: 0.9;}

#nav a { font-size: 1.2em; }
#bottombar a { font-size: 1.2em; }

#nav a:hover, a:focus{
    border-bottom: 2px solid black;
    cursor: pointer;
}

#bottombar a:hover, a:focus{
    border-bottom: 2px solid black;
    cursor: pointer;
}

.active { border-bottom: 2px solid black; }

#le_mouvement { 
    margin: 2.3em 0 2.5em 0;
}

.header {
    width: 100%;
}

.header-link:focus {
    border:none;
}

.col_link a:hover, a:focus { 
    border-bottom: 2px solid black;
    cursor: pointer;
}

.col_header {
    margin: 1.8em 0;
}

#biel-bienne {
    margin-top: 2.5em;
}

.logo {
    margin: 0 1px;
}

.logo:hover, .logo:focus {
    border-bottom: none !important;
}

.img-tall {
    width: 75%;
}

.img-wide {
    width: 100%;
}

.map-legend p {
    margin: 10px 0;
}

#agenda-nav {
    font-size: 1.3em;
}
#agenda-nav a:hover, a:focus{
    border-bottom: 2px solid black;
    cursor: pointer;
}
.agenda-title {
    font-size: 1.3em;
}

/* ==========================================================================
   Styles for 960px and below
   ========================================================================== */

.container {
    position: relative;
    width: 93%;
    margin: 20px auto 60px;
    padding: 0; 
}

.container .columns {
    float: left;
    display: inline;
    margin: 0 1% 0 1%;
}

.columns.alpha { margin-left: 0; }
.columns.omega { margin-right: 0; }

.container .two.columns { width: 49%; }
.container .three.columns { width: 32%; }
.container .three.columns.alpha { margin-left:0; }
.container .three.columns.omega { margin-right:0; }

.container #nav .three.columns { width: 30.6%; margin: 0 2% 0 2%;}
.container #nav .three.columns.alpha { margin-left:0; }
.container #nav .three.columns.omega { margin-right:0; }

.container .map.columns { width: 65%;}

.info { min-height: 350px; }

.imagebox { width: 40%; margin: 0 auto; padding: 10% 0 5% 0;}
.imagebox img { width: 100%; }

#bottombar {
    position: fixed;
    width: 100%;
    height: 40px;
    bottom: 0;
    left: 0;
    background-color: inherit;
}

#bottombar.container {
    padding: 17px 3.5% 0 3.5%;
    margin: 0;
}

#bottombar.container .two.columns { width: 45.8%;}
#bottombar.container .three.columns { width: 30.6%; margin: 0 2% 0 2%;}
#bottombar.container .three.columns.alpha { margin-left:0; }
#bottombar.container .three.columns.omega { margin-right:0; }

/*
 * Form classes
 */

.mc-field-group { margin: 10px auto; }

.mc-field-group input { border: none; }

.mc-field-group input:focus { outline: none; }

.mc-options { margin: 10px auto; }

#mc_embed_signup a { font-size: 1.2em; letter-spacing: 0.9; }

#mc_embed_signup a:hover, a:focus { border-bottom: 2px solid black; cursor: pointer; }

/* Placeholder colors */
::-webkit-input-placeholder { color: #000; }
:-moz-placeholder { color: #000; }
::-moz-placeholder { color: #000; }
:-ms-input-placeholder { color: #000; }

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

#landscape-bottombar {
    display: none;
    visibility: hidden;
}

#mobile-nav {
    display: none;
    visibility: hidden;
}

#newsletter-link-mobile {
    display: none;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

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

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

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

@media only screen and (max-width: 767px) {
    /*Mobile*/
    h2 { margin: 0; }
    #le_mouvement { margin: 0.5em 0;}

    #bottombar a { font-size: 1em; }

    .three.columns .logo {
        float: right;
    }

    .three.columns.mid { width: 19%; }
    .three.columns.omega { width: 45%; }

    .info {
        width: 100% !important;
        min-height: 0;
    }

    #bottombar {
        height: 64px;
    }

    #bottombar.container {
        padding: 0 3.5% 0 3.5%;
    }

    #bottombar.container .two.columns{
        width: 93%;
        margin: 6px 3.5% 0 3.5%;
    }

    .mobile-hidden {
        display: none !important;
        visibility: hidden;
    }

    #mobile-nav {
        display: block !important;
        visibility: visible;
        padding-bottom: 40px;
    }

    #press-link {
        margin-right: 2% !important;
    }

    #newsletter-link-mobile {
        display: block !important;
        visibility: visible;
    }

    .mobile-noleftmargin {
        margin-left: 0 !important;
    }

    #biel-bienne {
        margin-bottom: 20px;
    }

    .logobox {
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 767px) and (orientation:portrait){
    /*Mobile Portrait*/
    .col_link {
        font-size: 1.5em;
    }

}

@media only screen and (max-width: 767px) and (orientation:landscape){
    /*Mobile Landscape*/

    #landscape-bottombar {
        display: block !important;
        visibility: visible;

        padding: 10px 3.5%;
        font-size: 1em; 
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        background-color: inherit;
    }

    #landscape-bottombar a {
        margin-right: 22px;
    }

    .landscape-hidden {
        display: none !important;
        visibility: hidden;
    }
}


@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    /*iPad Portrait*/
    h2 { margin: 0; }

    .container .two.columns { width: 100%; margin: 0;}
    .container .three.columns { margin: 0; }

    .info {
        width: 100% !important;
        min-height: 0;
    }
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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