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

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

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

body {
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
}

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

::selection {
    background: #F55C98;
    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;
}

/* ==========================================================================
   Author: Jesus Ortiz
   ========================================================================== */
html {
    height: 100%;
}

#wrapper {
    margin: 0 auto;
    max-width: 1360px;
    min-width: 320px;
    padding: 20px;
    font-family: helvetica, arial, sans-serif;
}

body.home {
    background: #FB0681;
}

body.home #wrapper{
    color: white;
    height: 100%;
    max-width: none;
    padding: 0;
}

body.home #wrapper h1 {
    float: none;

    width: auto;
    font-weight: normal;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
}

body.home #wrapper h1 a {
    color: white;
}

body.home #wrapper h1 a br {
    display: none;
}


body.home #wrapper .ticker {
    padding: 20px;
}

body.home #wrapper .ticker p {
    display: inline-block;
    text-align: center;
}

body.home #wrapper .ticker p a {
    padding: 5px 4px 4px;
    line-height: 1em;
    margin-right: 5px;
    background: black;
    display: inline-block;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

body.home #wrapper .ticker p a:hover {
    color: #ff3895;
}

body.home #wrapper .ticker p {
    display: none;
    text-align: center;
}

.content a {
    color: #ff3895;
    font-weight: bold;
    text-decoration: none;
}

.content a:hover {
    color: black;
}


ul.menu {
    list-style: none;
    padding: 0 0 0 10px;
    float: left;
    margin: 0;
    margin-bottom: 15px;

}

ul.menu li {
    width: 100px;
}

ul.menu li a,
ul.menu li a:hover,
ul.menu li span {
    color: #ff3895;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    white-space: nowrap;
}


ul.menu li.active a,
ul.menu li a:hover,
ul.menu li span {
    color: black;
}

h1 {
    float: left;
    margin-top: 0px;
    width: 265px;
    margin-left: 10px;

}

h1 a {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

.content {
    padding-left: 10px;
}

.box {
    display: inline-block;
}

.box:hover {

    -webkit-transition: -webkit-transform .1s ease-out;
    -moz-transition: -moz-transform .1s ease-out;
    -o-transition: -o-transform .1s ease-out;
    transition: transform .1s ease-out;

    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    z-index: 1;
}

.box img {
    display: inline-block;
    width: 300px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: white;

    padding: 10px;
    -webkit-box-shadow: 0 0 1px #ccc;
    -moz-box-shadow: 0 0 1px  #ccc;
    box-shadow: 0 0 1px #ccc;
}
.no-js .box img {
    width: 100%;
}
.box:hover img {
    -webkit-box-shadow: 0 0 2px #aaa;
    -moz-box-shadow: 0 0 2px #aaa;
    box-shadow: 0 0 2px #aaa;
}

.lt-ie9 .box img {
    padding: 9px;
    border: 1px solid #ccc;
}

.no-js .cols {
    -moz-column-count: 3;
    -moz-column-gap: 10px;
    -webkit-column-count: 3;
    -webkit-column-gap: 10px;
    column-count: 3;
    column-gap: 10px;
}

.vimeo {
    position: relative;
}
.play-button {
    background: url(images/play-button.png) repeat scroll 0 0 transparent;
    height: 90px;
    left: 50%;
    margin: -45px 0 0 -54px;
    position: absolute;
    top: 50%;
    width: 108px;
    display: block;
}

.icon-star {
    background: url("/static/img/star.png") no-repeat scroll left top transparent;
    display: inline-block;
    font-size: 11px;
    font-style: normal;
    height: 23px;
    padding-top: 11px;
    text-align: center;
    vertical-align: middle;
    width: 32px;
}

#info {
    background: url(/static/css/images/bg-star.png) repeat-x left 30px, url(/static/img/bg-info.png) repeat top left;
    min-height: 200px;
    min-width: 300px;
    position: fixed;
    width: 100%;
    color: white;
    font-size: 14px;
    z-index: 2;
}

#info .expander {
    display: inline-block;
    margin-top: -32px;
    position: absolute;
    right: 4px;
    top: 0;

}

#info .col {
    display: inline-block;
    float: left;
    width: 50%;
}

#info h3 {
    background: url("/static/img/bg-info.png") repeat scroll left top transparent;
    display: inline-block;
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-left: -5px;
    margin-top: 0;
    padding-left: 5px;
    padding-right: 5px;
}

#info p {

}


#info em {
    font-style: normal;
    text-transform: uppercase;
}

#info .adr span {
    display: block;
}
#info .adr .type {
    min-width: 50px;
    padding-right: 10px;
    float: left;
}

#info .adr .email .type {
    min-width: 0;
}

#info p.email,
#info p.tel {
    margin: 0;

}

#info a {
    color: white;
    text-decoration: underline;
}

#info p.tel a {
    text-decoration: none;
}

.padding {
    padding: 20px;
}

.right {
    float: right;
    min-width: 50%;
}


/*	BigVideo Styles
	You may need to adjust these styles to get this working right in your design.
*/
#big-video-wrap{overflow:hidden;position:fixed;height:100%;width:100%;top:0;left:0;
    z-index: -1;
}
#big-video-vid,#big-video-image{position:absolute; min-width: 100%; min-height: 100%;
}
#big-video-control-container{position:fixed;bottom: 7px;padding: 0 20px;width: 92%; padding-left: 2%;
    -webkit-transition-duration:0.6s;-moz-transition-duration:0.6s;-ms-transition-duration:0.6s;-o-transition-duration:0.6s;transition-duration:0.6s;}
#big-video-control{width:100%;height:16px;position:relative;}
#big-video-control-middle{margin: 0 56px 0 24px;}
#big-video-control-bar{width:100%;height:16px;position:relative;cursor:pointer;}
#big-video-control-progress{position:absolute;top:7px;height:3px;width:0%;background:#fff;}
#big-video-control-track{position:absolute;top:8px;height:1px;width:100%;background:#fff;}
#big-video-control-bound-left{left:0;}
#big-video-control-bound-right{right:-1px}
#big-video-control-track .ui-slider-handle {opacity:0;}
#big-video-control-playhead{left:30%;}
#big-video-control-play{position:absolute;top:0;left:0;height:16px;width:16px;background-image:url('/static/css/images/bigvideo.png');}
#big-video-control-timer{position:absolute;top:1px;right:0;color:#fff;font-size:11px;}
#big-video-control-playhead,#big-video-control-bound-left,#big-video-control-bound-right{position:absolute;top:0;height:16px;width:1px;background:#fff;}
#big-video-control .ui-slider-handle{border-left:solid 1px #fff; width:16px;height:16px;position:absolute;top:-8px;}
.transparent{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;}
.vjs-big-play-button{display:none !important;}

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

/*
 * 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: 640px) {
    #wrapper {
        padding: 10px;
    }
    #info {
        font-size: 11px;
        background-position: left 20px;
    }

    #info .padding {
        padding: 10px;
    }
    body.home #wrapper h1 {
        line-height: 1em;
    }
    body.home #wrapper h1 a br {
        display: block;
    }
}

@media only screen and (max-height: 440px) {
    #wrapper {
        padding: 10px;
    }
    #info {
        font-size: 11px;
    }

    #info .padding {
        padding: 10px;
    }

    #info h2, #info h3, #info p {
        margin-bottom: 0;
        margin-top: 5px;
    }
    body.home #wrapper h1 {
        line-height: 1em;
    }
    body.home #wrapper h1 a br {
        display: block;
    }
}

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