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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}
.copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Responsive Grid
   ========================================================================== */
/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: block;
    float:left;
    margin: 0 0 2% 2.6%;
}
.col:first-child { margin-left: 0; }

/*  GRID OF THREE  */
.span_3_of_3 {
    width: 100%;
}
.span_2_of_3 {
    width: 65.8%;
}
.span_1_of_3 {
    width: 31.6%;
}

/*  GRID OF FOUR  */
.span_4_of_4 {
    width: 100%;
}
.span_3_of_4 {
    width: 74.35%;
}
.span_2_of_4 {
    width: 48.7%;
}
.span_1_of_4 {
    width: 23.05%;
}

/*  GROUPING  */
.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
* > .group:last-child .col{
    margin-bottom: 0;
}

/* ==========================================================================
   ReadIt main css file
   ========================================================================== */

*{ 
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

body {
    background: transparent url(../img/arches.png) repeat fixed;
    font: 14px/22px "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #4c4d51;
}

a{
    text-decoration: none;
    color: #222;
    transition: color .3s;
    -moz-transition: color .3s; /* Firefox 4 */
    -webkit-transition: color .3s; /* Safari and Chrome */
    -o-transition: color .3s; /* Opera */
}

a:hover, a.selected{
    color: #ea4848;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Bitter', serif;
}

blockquote {
    font-family: 'Bitter', serif;
    color: #787a7b;
    font-style: italic;
}

input, textarea, input[type="text"], input[type="url"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea {
    color: #333;
    background: #fff;
    border: 1px solid #cdcdcd;
    padding: 8px 12px 7px 12px;
    width: 250px;
    -moz-box-shadow: 0px 1px 1px #eee;
    -webkit-box-shadow: 0px 1px 1px #eee;
    box-shadow: 0px 1px 1px #eee;
}

.wrapper{
    padding: 0 30px 30px;
}

.justify{
    text-align: justify;
}
.center{
    text-align: center;
}

.wrapper > :last-child{
    margin-bottom: 0!important;
}

/* 
// Main Wrapper
*/
#wrapper{
    margin: 0 auto;
    padding-left: 0px;
    max-width: 960px;
    position: relative;
}

/* 
// Top hero header
*/
#hero{
    font-family: 'Bitter', serif;
    background: url(../img/top.png);
    padding: 10px 30px;
    color: white;
    margin: auto;
    width: 960px;
    max-width: 100%;
    border-bottom: 4px solid #ea4848;
}

#hero h1{
    float: left;
    margin: 0;
    margin-right: 15px;
    line-height: 40px;
}

#hero h2{
    float: left;
    margin: 0;
    border-left: 2px solid white;
    padding-left: 15px;
    line-height: 40px;
}

#global-social{
    float: right;
    margin-right: -5px;
}

#global-social a{
    color: white;
    display: inline-block;
    width: 24px;
    height: 24px;
    padding: 2px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background-color: transparent;
    text-align: center;
}

#global-social a:hover{
    background: #ea4848;
}

#global-social span{
    display: none;
}


/* 
// Main container
*/
#main{
    position: relative;
    background: white;
    padding: 0;
    padding-bottom: 0;
    padding-top: 15px;
}

#superfullscreen-wrapper #main{
    top: 0;
    margin-bottom: 0px;
}

/* 
// Topbar
*/
#topbar{
    padding: 15px 30px;
    position: relative;
    background: #fafafa;
    border-bottom: 1px solid #eaeaea;
    display:block;
    width: 100%;
    z-index: 1002;
}

#topbar.fixed{
    position: fixed;
    width: 960px;
    top: 0;
    left: 50%;
    margin-left: -480px;
    max-width: 100%;

    -webkit-box-shadow: 0px 2px 3px -2px rgba(0,0,0,.35);
    -moz-box-shadow: 0px 2px 3px -2px rgba(0,0,0,.35);
    box-shadow: 0px 2px 3px -2px rgba(0,0,0,.35);
}

#menus-wrapper{
    position: relative;
}

#toolbar{
    position: absolute;
    right: 0px;
    top: 0;
}

#toolbar a{
    margin-left: 5px;
    float: left;
}
#search-button.selected{
    color: #333;
}
#searchform {
    float: left;
}
#searchform.selected{
    margin-top: -15px;
    background: #f4f4f7;
    height: 52px;
    padding: 15px;
}
#searchform #s{
    width: 0px;
    border: none;
    padding: 0;
    background: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;

    transition: margin .3s, width .3s;
    -moz-transition: margin .3s, width .3s; /* Firefox 4 */
    -webkit-transition: margin .3s, width .3s; /* Safari and Chrome */
    -o-transition: margin .3s, width .3s; /* Opera */
}
#searchform.selected #s{
    width: 150px;
    margin-left: 10px;
}

#logo{
    display: block;
    width: 80px;
    height: 22px;
    float: left;
    background: transparent url(../img/logo.png) no-repeat center center;
}

/* 
// Menu
*/
#menu{
    position: relative;
    display: block;
    padding: 0;
    margin-left: 20px;
    padding-right: 55px;
    float: left;
}

#menu > ul{
    margin: 0;
    padding: 0;
    margin-left: -8px;
}
.first_list {
    float: left;
    margin: 0 2px 0 0;
}

.main_menu_first {
    color: #000;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 8px;
}

.main_menu_first:hover {
    color: #ea4848;
}

.with_dropdown {
    position: relative;
}

.with_dropdown li a {
    display: block;
}

.with_dropdown ul {
    border: 1px solid #e7e7e7;
    background: #fff;
    margin-top: 0;
    padding: 0;
    position: absolute;
    top: 26px;
    visibility: hidden;
    width: 197px;
    z-index: 998;
}

.first_list:hover.first_list ul {
    visibility: visible;
}

.with_dropdown .main_menu_first {
    background: url(../img/arrow_down.png) no-repeat 92% 50%;
    border: 1px solid transparent;
    border-bottom: 0;
    padding-right: 23px;
}

.with_dropdown:hover .main_menu_first {
    z-index: 999;
    position: relative;
    border: 1px solid #e7E7E7;
    border-bottom: 0;
    background: #fff url(../img/arrow_down.png) no-repeat 92%;
    color: #ea4848;
}

.second_list {
    margin: 0 5px;
    padding: 10px;
}

.second_list_border {
    border-bottom: 1px solid #e7e7e7;
}

.main_menu_second {
    color: #000;
    font-size: 13px;
    text-transform: capitalize;
}

.main_menu_second:hover {
    color: #ea4848;
}

.main_current {
    color: #ea4848;
}

select#option-menu{
    background: url(../img/arrow_down.png) no-repeat 95% 50%;
    width: 150px;
    padding: 0 10px;
    display: block;
    height: 30px;
    margin-top: -4px;
    margin-bottom: -4px;
    border: 1px solid #e7e7e7;
    cursor: pointer;
    outline: none;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select#option-menu:focus{
    -webkit-box-shadow: 0 0 4px rgba(234, 72, 72, .5);
    -moz-box-shadow: 0 0 4px rgba(234, 72, 72, .5);
    box-shadow: 0 0 4px rgba(234, 72, 72, .5);
    border: 1px solid #ea4848; 
}
select#option-menu:hover{
    border: 1px solid #ea4848;
}


/* 
// Slicebox
*/
#slicebox{
    min-height: 300px;
    position: relative;
    margin: 15px 30px 30px;
    background: transparent url(../img/loader_light.gif) no-repeat center center;
}

#slicebox.loaded{
    background: none;
    min-height: auto;
}

/* 
// HomePage
*/
#home{
    background: #fafafa;
    border-top: solid 1px #e1e1e1;
    border-bottom: solid 1px #e1e1e1;
}

#timeline{
    margin-top: -1px;
    padding: 0;
    position: relative;
    margin-bottom: -2px;
}

#timeline:after {
    content:'';
    display:block;
    position:absolute;
    top: 0;
    left: 61px;
    width: 4px;
    height:100%;
    z-index: 1;

    background: white;
    border-left: solid 1px #e1e1e1;
    border-right: solid 1px #e1e1e1;

}

.timeline-item{
    display: block;
    position: relative;
    padding-left: 110px;
    z-index: 2;
}

.timeline-item .timeline-author-date{
    position: absolute;
    top: 0px;
    left: 30px;
    width: 70px;
    height: 30px;
    padding: 1px;
    color: #fff;
    text-transform: uppercase;
    font-size: .7em;
    text-align: center;

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;

    background-color: #282828;
    z-index: 2;
}
.timeline-item .timeline-author-date:before, .timeline-item .timeline-author-date:after {
    content:'';
    display:block;
    position:absolute;
    left:49%;
    width:0;
    height:0;
}
.timeline-item .timeline-author-date:after {
    border:solid 6px transparent;
    margin-left:-6px;
    bottom:-12px;
    border-top-color: #282828;
    text-transform: uppercase;
    font-size: .7em;
    text-align: center;
}
.timeline-item .timeline-author-date span{
    line-height: 30px;
}

.timeline-item .timeline-author-link{
    position: absolute;
    top: 40px;
    left: 40px;
    width: 48px;
    height: 48px;
    padding: 3px;


    background-color: #fff;

    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;

    border: solid 1px #e1e1e1;

}
.timeline-item .timeline-author-link:after, .timeline-item .timeline-author-link:before{
    content: "";
    display: block;
    position: absolute;
    left: 21px;
    width: 4px;
    height: 3px;
    background: white;
    z-index: 1;

    transition: all 1s;
    -moz-transition: all 1s; /* Firefox 4 */
    -webkit-transition: all 1s; /* Safari and Chrome */
    -o-transition: all 1s; /* Opera */

}
.timeline-item .timeline-author-link:after{
    bottom: -2px
}
.timeline-item .timeline-author-link:before{
    top: -2px
}
.timeline-item .timeline-author-link:hover{
     background: #ea4848;
}
.timeline-item .timeline-author-link:hover:after, .timeline-item .timeline-author-link:hover:before{
    display: none;

}
.timeline-item .timeline-author-link img{
    width: 40px;
    height: 40px;

    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.timeline-item a.timeline-item-link{
    position: relative;
    display: block;
    min-height: 120px;
    margin: 30px 0;
    margin-right: 30px;


    background: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    border: solid 1px #e1e1e1;


    transition-duration: 0;
    -moz-transition-duration: 0;
    -webkit-transition-duration: 0;
    -o-transition-duration: 0;
}

.timeline-item .timeline-item-link:before, .timeline-item .timeline-item-link:after {
    content:'';
    display:block;
    position:absolute;
    top:57px;
    width:0;
    height:0;
}
.timeline-item .timeline-item-link:before {
    border: solid 6px transparent;
    border-right-color: #e1e1e1;
    left: -13px;
    z-index: 1;
    top: 57px;
}
.timeline-item .timeline-item-link:after {
    border:solid 6px transparent;
    left:-12px;
    border-right-color:#fff;
    z-index: 2;
}
.timeline-item .timeline-item-link:hover{
    background: #ea4848;
    color: #fff;
}
.timeline-item .timeline-item-link:hover:after {
    border-right-color:#ea4848;
}
.timeline-item .timeline-item-content{
    padding: 20px;
    padding-right: 120px;
}
.timeline-item .timeline-item-content .timeline-item-cover {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: 80px;
    overflow: hidden;
    -moz-border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}
.timeline-item .timeline-item-content .timeline-item-cover img {
    width: auto;
    position: relative;
    height: 100%;
    -moz-border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}
.timeline-item .timeline-item-content h2{
    margin-top: 0;
    border-bottom: 2px solid #ea4848;
    padding-bottom: 10px;
}
.timeline-item .timeline-item-content p{
    text-align: justify;
}
.timeline-item-meta{
    font-size: .7em;
    font-weight: bold;
}
.timeline-item-link:hover .timeline-item-meta .timeline-item-author, .timeline-item-link:hover .timeline-item-meta .timeline-item-comments-count{
    color: #fff;
}
.timeline-item-link:hover .timeline-item-content h2{
    border-bottom: 2px solid #fff;
}

/* 
// Sidebar Styles
*/
#sidebar{
    margin: 0;
    padding: 0;
}

#home #sidebar{
    margin: 30px 0;
}

/* 
// Portfolio and inline portfolio styles
*/
#portfolio{
    padding: 15px 30px;
}

#recent-work{
    background: #fff;
    padding: 0 30px;
}

ul#portfolio-items{
    list-style: none;
    margin: 0;
    list-style: none;
    padding: 0;
}

#portfolio-items li{
    float: left;
    display: block;
    margin: 0 0 2% 2.6%;
    width: 23.05%;
}

#portfolio-items li:nth-child(4n+1){
    margin-left: 0;
}

#portfolio-items img{
    min-width: 100%;
}

#portfolio-items .overlay-thumb{
    height: 140px;
}

/* 
// Blog Article
*/
#cover{
    position: relative;
    margin-bottom: 30px;
    margin-top: 15px;
}

#cover.with-soundcloud{
    margin-bottom: 196px;
}

#cover.with-audio{
    margin-bottom: 65px;
}

#cover.with-soundcloud.no-cover{
    margin-bottom: 0px;
}
#cover.with-audio.no-cover{
    margin-bottom: 0px;
}
#cover.with-audio.no-cover .audio-wrapper{
    position: relative;
    margin: 0 30px;
    bottom: auto;
    left: auto;
    right: auto;
}
#cover.with-soundcloud.no-cover .soundcloud-wrapper{
    position: relative;
    margin: 0 30px;
    bottom: auto;
    left: auto;
    right: auto;
}
#cover.no-cover.with-video #overlay h1{
    margin-top: 0.67em;
}

#cover figure{
    padding: 0 30px;
}

#cover img{
    width: 100%;
}

#overlay{
    bottom: 0;
    top: 0;
    left: 30px;
    position: absolute;
    color: white;
    background: url(../img/bg-overlay.png) repeat left top;
    right: 30px;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
    -o-box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
    box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
}

#overlay-wrapper{
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    margin: 0;
}

#overlay h1{
    margin-bottom: 0;
    font-weight: bold;
    font-size: 3em;
    line-height: 1.3em;
    max-width: 450px;
    margin-left: 10px;
}

#title{
    background: rgba(234,72,72,0.6);
    box-shadow: 10px 0 0 rgba(234,72,72,0.6), -10px 0 0 rgba(234,72,72,0.6);
    color: #fff;
    padding: 2px 0;
}

#overlay h2{
    margin-bottom: 0;
    font-weight: bold;
    line-height: 1.3em;
    margin-left: 10px;
    margin-bottom: 2px;
    margin-top: 0;
}

#subtitle{
    background: rgba(0,0,0,0.6);
    box-shadow: 10px 0 0 rgba(0,0,0,0.6), -10px 0 0 rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 0;
}


#cover.no-cover #overlay-wrapper{
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    background: none;
}
#cover.no-cover #overlay{
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    background: none;
    padding: 0 30px;
}

#cover.no-cover #overlay h1{
    max-width: 100%;
    margin-left: 0;
    margin-bottom: .4em;
    margin-top: .4em;
    line-height: 1em;
    font-weight: normal;
}

#cover.no-cover #title{
    background: none;
    box-shadow: none;
    color: #202222;
    padding: 2px 0;
}

#cover.no-cover #overlay h2{
    margin-left: 0;
    line-height: 1.1em;
    font-weight: normal;
    margin-bottom: 0.83em;
}

#cover.no-cover #subtitle{
    background: none;
    box-shadow: none;
    color: #202222;
}

.soundcloud-wrapper{
    margin: 0 30px;
}
.audio-wrapper{
    margin: 0 30px;
    height: 35px;
}
#cover .soundcloud-wrapper{
    position: absolute;
    height: 166px;
    bottom: -166px;
    left: 30px;
    right: 30px;
    margin: 0;
}
#cover .audio-wrapper{
    position: absolute;
    height: 35px;
    bottom: -35px;
    left: 30px;
    right: 30px;
    margin: 0;
}
#cover .video-wrapper{
    position: relative;
    margin: 0 30px;
}

h2.section {
    z-index: 2;
    position: relative;
    background: transparent url(../img/gammagallery/dash.png) 0 8px repeat-x;
    display: block;
    border: none;
    height: 23px;
    font-size: 1em;
    font-style: italic;
    margin: 0;
}

h2.section span {
    background: white;
    padding: 2px 8px;
    margin-left: 22px;
}


#content{
    padding: 0 30px;
}

#main-content{
    text-align: justify;
}

#side-content{
    font-size: 1.3em;
}

#side-content blockquote{
    margin: 0;
}

#main-content p:first-child, #side-content p:first-child{
    margin-top: 0;
}

#author-and-share{
    padding: 20px 0;
    background: #fafafa;
    border-top: solid 1px #e1e1e1;
    border-bottom: solid 1px #e1e1e1;
}

#author-and-share h2 {
    font-size: 1em;
    margin-top: 0;
}

/*
// Share
*/
#share{
    padding-left: 30px;
    text-align: center;
    margin-bottom: 0;
}

/*
// Author
*/
#author{
    padding: 0 30px;
    position: relative;
    z-index: 1;
    border-left: 1px solid #E4E4E4;
    margin-bottom: 0;
}
#author .avatar{
    float: left;
    overflow: hidden;
    width: 105px;
    height: 105px;
    padding: 5px;

    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;

    background-color: #E4E4E4;
    border: 1px solid #CCC;

}
#author .avatar img{
    height: 100%;
    position: relative;

    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;

    border: 1px solid #CCC;
}
#author a.pseudo{
    font-weight: bold;
    color: #4c4d51;
    display: block;
    padding-right: 140px;
}
#author a.pseudo:hover{
    color: #ea4848;
}
#author a.pseudo h2{
    margin: 0;
}
#author .author-body{ 
    padding-left: 120px;
}
#author .author-social{
    position: absolute;
    right: 30px;
    top: 0px;
}
#author .author-social a span{
    display: none;
}
#author .author-social a{
    display: inline-block;
    width: 24px;
    height: 24px;

    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;

    background-color: #E4E4E4;
    border: 1px solid #CCC;

    margin-right: 8px;
    text-align: center;
}
#author .author-social a:last-child{
    margin-right: 0;
}
#author .author-social a:hover{
    background-color: #ea4848;
    border-color: #cc3f3f;
}
#author .author-social a i{
    color: #fafafa;
    text-shadow: 0px 0px 1px rgba(34, 34, 34, 0.7);
    font-weight: bold;
}


/* 
// Comments
*/
#comments{
    padding: 0 30px;
    background: white;
}

#comments > ol{
    margin: 0;
    padding: 0;
}

li.comment{
    list-style: none;
}

.comment .avatar {
    float: right;
    margin: 0 0 0 10px;
}

.comment-meta,
.comment-meta a { 
    border-bottom: none;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 10px; 
}

.comment-author a{
    font-weight: bold;
    font-style: normal;
}

.comment-author cite { font-style: normal; }

.commentlist li.comment > div { 
    border-top: 1px solid #f7f7f8; 
    padding-top: 20px;
}

.commentlist li.comment:first-child > div { border-top: none; }

.commentlist .children li.comment:first-child > div { border-top: 1px solid #f7f7f8; }

/*
// Contact Page
*/
#contact{
    padding: 0 30px 30px;
}
#contact fieldset{
    width: 50%;
    padding-right: 10px ;
    float: left;
}
#contact fieldset:last-child{
    padding-right: 0;
    padding-left: 10px;
}
#contact input, #contact textarea{
    width: 100%;
    display: block;
    margin: 10px 0;
}
#contact input.required, #contact textarea.required{
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
#contact textarea{
    width: 100%;
    height: 76px;
}
#contact-submit{
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #202222;
    padding: 9px 15px;
}
#contact-submit:hover{
    background: #ea4848;
}
#map-canvas{
    min-width: 100%;
    min-height: 300px;
}
.alert {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
      border-radius: 4px;

    display: none;
}
#contact-form-success {
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

#contact-form-error {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}
/*
// Overlay effect
*/
.overlay-thumb{
    position: relative;
    overflow: hidden;
}
.overlay-thumb .related-title { margin-bottom: 0; }

.overlay-thumb .overlay-thumb{
    position: relative;
}

.overlay-thumb .overlay-title,
.overlay-thumb .overlay-title a { 
    margin: 0;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
}

.overlay-thumb a.fancy-overlay{
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 140px;
    display: table;
    background-color: rgba(0,0,0,.5);
    cursor: pointer;
    overflow: hidden;

    transition: background-color .3s;
    -moz-transition: background-color .3s; /* Firefox 4 */
    -webkit-transition: background-color .3s; /* Safari and Chrome */
    -o-transition: background-color .3s; /* Opera */
}

.overlay-thumb a.fancy-overlay:hover{
    background-color: rgba(234, 72, 72, 1);
}

.overlay-thumb .overlay-title{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 0 10px;
}

.overlay-thumb .overlay-icon{
    color: white;
    position: absolute;
    bottom: -14px;
    right: 0;
    width: 34px;
    height: 28px;

    transform:rotate(180deg);
    -ms-transform:rotate(180deg); /* IE 9 */
    -moz-transform:rotate(180deg); /* Firefox */
    -webkit-transform:rotate(180deg); /* Safari and Chrome */
    -o-transform:rotate(180deg); /* Opera */

    transition: transform .3s;
    -moz-transition: -moz-transform .3s; /* Firefox 4 */
    -webkit-transition: -webkit-transform .3s; /* Safari and Chrome */
    -o-transition: -o-transform .3s; /* Opera */
}

.overlay-thumb .fancy-overlay:hover .overlay-icon{
    transform:rotate(360deg);
    -ms-transform:rotate(360deg); /* IE 9 */
    -moz-transform:rotate(360deg); /* Firefox */
    -webkit-transform:rotate(360deg); /* Safari and Chrome */
    -o-transform:rotate(360deg); /* Opera */
}

.overlay-thumb .overlay-icon i{
    position: absolute;
    top: 0;
    right: 0;
}

/*
// Carousel basics
*/
.fancy-carousel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fancy-carousel li {
    display: block;
    float: left;
    width: 180px;
    margin: 0 15px;
    padding: 0;
    text-align: center;
}
.fancy-carousel li:nth-child(4n+1) { border-left: none; }



/*
// Related articles carousel
*/
.fancy-carousel{
    padding: 30px 60px;
    background: #fafafa;
    border-top: solid 1px #e1e1e1;
    border-bottom: solid 1px #e1e1e1;
    position: relative;
}
.fancy-carousel img{
    width: 180px;
    height: 140px;
}

.related-nav span{
    width:25px;
    height:38px;
    background:transparent url(../img/arrows.png) no-repeat top left;
    position:absolute;
    top:50%;
    margin-top:-19px;
    left:30px;
    text-indent:-9000px;
    opacity:0.7;
    cursor:pointer;
    z-index:100;
}
.related-nav span.next-related{
    background-position:top right;
    left:auto;
    right:30px;
}
.related-nav span:hover{
    opacity:1.0;
}

/*
// Widgets
*/
.widget{
    margin: 20px 0;
}
.widget:first-child{
    margin-top: 0;
}
h3.widget-title{
    font-weight: normal;
    border-bottom: 2px solid #ea4848;
    margin: 0;
    margin-bottom: 10px;
}

/*
// Search Widget
*/
.widget_search #sidebar-s {
    color: #999;
    width: 253px;
    border: 1px solid #cdcdcd;
    width: 100%;
}


/*
// Popular widget
*/
.widget-popular .fancy-carousel{
    padding: 0;
    position: relative;
}
.widget-popular li{
    margin: 0;
}
.widget-popular img{
    width: 301px; 
    height: 210px;
}
.widget-popular .overlay-thumb{
    height: 210px;
}
.widget-popular .overlay-thumb a.fancy-overlay{
    height: 210px;
    padding: 0 36px;
}
.popular-nav span{
    width: 25px;
    height: 38px;
    background: #fafafa;
    position: absolute;
    top: 50%;
    margin-top: -19px;
    left: 0px;
    cursor: pointer;
    z-index: 100;
    display: block;
    padding: 9px 3px;
}
.popular-nav span:hover{
    background: #ea4848;
    color: white;
}
.popular-nav span.next-popular{
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    left:auto;
    right:0px;
    text-align: right;
}
.popular-nav span.prev-popular{
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    text-align: left;
}
.popular-nav span:hover{
    opacity:1.0;
}
/*
// Audio Widget
*/
.widget-audio .audio-wrapper {
    margin: 0;
}
/*
// Soundcloud Widget
*/
.widget-soundcloud .soundcloud-wrapper {
    margin: 0;
}
/*
// Social widget
*/
ul.social-buttons-list{
    list-style: none;
    padding: 0;
}
ul.social-buttons-list li{
    margin: 0 4px 4px 0;
    float: left;
}
ul.social-buttons-list li a:hover{
    opacity: 0.5;
}
/* 
// Bottom footer
*/
#footer{
    background: #222528;
    padding: 15px 30px;
    color: white;
    margin: auto;
    width: 960px;
    max-width: 100%;
    border-top: 4px solid #ea4848;
}

/*
// Sharre
*/

.sharrre{
    display: inline-block;
}
.sharrre .box a:hover{
    text-decoration:none;
}
.sharrre .count {
    color: #41494e;
    display:block;
    font-size:1em;
    font-weight:bold;
    line-height:30px;
    height:30px;
    position:relative;
    text-align:center;
    width:40px;

    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #fff;
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.08);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.08);
    box-shadow: 0 1px 1px rgba(0,0,0,.08);
    border: 1px solid #a5b2bc;

}
.sharrre .count:before, .sharrre .count:after {
    content:'';
    display:block;
    position:absolute;
    left:49%;
    width:0;
    height:0;
}
.sharrre .count:before {
    border:solid 7px transparent;
    border-top-color:#a5b2bc;
    margin-left:-7px;
    bottom: -14px;
}
.sharrre .count:after {
    border:solid 6px transparent;
    margin-left:-6px;
    bottom:-12px;
    border-top-color:#fbfbfb;
}
.sharrre .share {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.15);
    display:block;
    font-size:.8em;
    font-weight:bold;
    height:25px;
    line-height:25px;
    margin-top:8px;
    padding:0;
    text-align:center;
    text-decoration:none;
    width:40px;
    
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;    

    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}
.twitter .share {
    background-color: #00aaf0;
    -moz-box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.25);
    -webkit-box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.25);
    box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.25);
    border: 1px solid #0082be;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PGxpbmVhckdyYWRpZW50IGlkPSJoYXQwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjEwMCUiIHgyPSI1MCUiIHkyPSIwJSI+CjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMwMDAiIHN0b3Atb3BhY2l0eT0iMC4xIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwLjEiLz4KICAgPC9saW5lYXJHcmFkaWVudD4KCjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjaGF0MCkiIC8+Cjwvc3ZnPg==);
    background-image: -moz-linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(255,255,255,.1) 100%);
    background-image: -o-linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(255,255,255,.1) 100%);
    background-image: -webkit-linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(255,255,255,.1) 100%);
    background-image: linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(255,255,255,.1) 100%);

}
.facebook .share {
    background-color: #3b5997;
    -moz-box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.2);
    box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.2);
    border: 1px solid #21335a;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PGxpbmVhckdyYWRpZW50IGlkPSJoYXQwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjEwMCUiIHgyPSI1MCUiIHkyPSIwJSI+CjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMwMDAiIHN0b3Atb3BhY2l0eT0iMC4wNyIvPgo8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iMC4wNyIvPgogICA8L2xpbmVhckdyYWRpZW50PgoKPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
    background-image: -moz-linear-gradient(90deg, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
    background-image: -o-linear-gradient(90deg, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
    background-image: -webkit-linear-gradient(90deg, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
    background-image: linear-gradient(90deg, rgba(0,0,0,.07) 0%, rgba(255,255,255,.07) 100%);
}
.googleplus .share {
    background-color: #4d4e52;
    -moz-box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.2);
    box-shadow:
        0 1px 1px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.2);
    border: 1px solid #151517;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PGxpbmVhckdyYWRpZW50IGlkPSJoYXQwIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjEwMCUiIHgyPSI1MCUiIHkyPSIwJSI+CjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMwMDAiIHN0b3Atb3BhY2l0eT0iMC4wOCIvPgo8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iMC4wOCIvPgogICA8L2xpbmVhckdyYWRpZW50PgoKPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
    background-image: -moz-linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(255,255,255,.08) 100%);
    background-image: -o-linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(255,255,255,.08) 100%);
    background-image: -webkit-linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(255,255,255,.08) 100%);
    background-image: linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(255,255,255,.08) 100%);

}

.facebook .share:active, .twitter .share:active, .googleplus .share:active{
    border: 1px solid transparent;
}


/*
// Slicebox styles
*/
.sb-slider {
    margin: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    list-style-type: none;
    padding: 0;
}

.sb-slider li {
    margin: 0;
    padding: 0;
    display: none;
}

.sb-slider li > a {
    outline: none;
}

.sb-slider li > a img {
    border: none;
}

.sb-slider img {
    max-width: 100%;
    display: block;
}

.sb-description {
    padding: 20px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    position: absolute;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);   
    opacity: 0;
    color: #fff;
}

.sb-description.sb-description-light{
    color: #000;
}

.sb-slider li.sb-current .sb-description {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);  
    opacity: 1;
}

.sb-slider li.sb-current .sb-description:hover {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=99)";
    filter: alpha(opacity=99);
}

.sb-slider li.sb-current .sb-description h3{
    display: block;
    font-size: 34px;
    line-height: 44px;
    max-width: 450px;
    margin-left: 10px;
}

.sb-slider li.sb-current .sb-description span {
    background: rgba(0,0,0,0.7);
    box-shadow: 10px 0 0 rgba(0,0,0,0.7), -10px 0 0 rgba(0,0,0,0.7);
    padding: 2px 0;
    font-weight: normal;
}

.sb-slider li.sb-current .sb-description.sb-description-light span{
    background: rgba(255,255,255,0.7);
    box-shadow: 10px 0 0 rgba(255,255,255,0.7), -10px 0 0 rgba(255,255,255,0.7);
    padding: 2px 0;
    font-weight: normal;
}

.sb-perspective {
    position: relative;
}

.sb-perspective > div {
    position: absolute;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

    -webkit-backface-visibility : hidden;
    -moz-backface-visibility : hidden;
    -o-backface-visibility : hidden;
    -ms-backface-visibility : hidden;
    backface-visibility : hidden;
}

.sb-side {
    margin: 0;
    display: block;
    position: absolute;

    -moz-backface-visibility : hidden;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.nav-arrows {
    z-index: 1001;
    display: none;
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.nav-arrows a {
    display: inline-block;
    width: 30px;
    height: 20px;
    text-align: center;
    background: rgba(0,0,0,0.7);
    color: white;
    left: 2px;
    cursor: pointer;

    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;

    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -ms-transition: all 200ms;
    transition: all 200ms;
}

.nav-arrows a:hover {
    background: #ea4848!important;
    color: white!important;
}

.nav-arrows.sb-nav-light a{
    color: #000;
    background: rgba(255,255,255,0.7);
}

/*
// Audioplayer
*/
.audioplayer
{
    height: 2.5em; /* 40 */
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    border: 1px solid #222;
    position: relative;
    z-index: 1;
    background: #333;
    background: -webkit-gradient( linear, left top, left bottom, from( #444 ), to( #222 ) );
    background: -webkit-linear-gradient( top, #444, #222 );
    background: -moz-linear-gradient( top, #444, #222 );
    background: -ms-radial-gradient( top, #444, #222 );
    background: -o-linear-gradient( top, #444, #222 );
    background: linear-gradient( top, #444, #222 );
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
    .audioplayer-mini
    {
        width: 2.5em; /* 40 */
        margin: 0 auto;
    }
    .audioplayer > div
    {
        position: absolute;
    }
    .audioplayer-playpause
    {
        width: 2.5em; /* 40 */
        height: 100%;
        text-align: left;
        text-indent: -9999px;
        cursor: pointer;
        z-index: 2;
        top: 0;
        left: 0;
    }
        .audioplayer:not(.audioplayer-mini) .audioplayer-playpause
        {
            border-right: 1px solid #555;
            border-right-color: rgba( 255, 255, 255, .1 );
        }
        .audioplayer-mini .audioplayer-playpause
        {
            width: 100%;
        }
        .audioplayer-playpause:hover,
        .audioplayer-playpause:focus
        {
            background-color: #222;
        }
        .audioplayer-playpause a
        {
            display: block;
        }
        .audioplayer:not(.audioplayer-playing) .audioplayer-playpause a
        {
            width: 0;
            height: 0;
            border: 0.5em solid transparent; /* 8 */
            border-right: none;
            border-left-color: #fff;
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            margin: -0.5em 0 0 -0.25em; /* 8 4 */
        }
        .audioplayer-playing .audioplayer-playpause a
        {
            width: 0.75em; /* 12 */
            height: 0.75em; /* 12 */
            position: absolute;
            top: 50%;
            left: 50%;
            margin: -0.375em 0 0 -0.375em; /* 6 */
        }
            .audioplayer-playing .audioplayer-playpause a:before,
            .audioplayer-playing .audioplayer-playpause a:after
            {
                width: 40%;
                height: 100%;
                background-color: #fff;
                content: '';
                position: absolute;
                top: 0;
            }
            .audioplayer-playing .audioplayer-playpause a:before
            {
                left: 0;
            }
            .audioplayer-playing .audioplayer-playpause a:after
            {
                right: 0;
            }
    .audioplayer-time
    {
        width: 4.375em; /* 70 */
        height: 100%;
        line-height: 2.375em; /* 38 */
        text-align: center;
        z-index: 2;
        top: 0;
    }
        .audioplayer-time-current
        {
            border-left: 1px solid #111;
            border-left-color: rgba( 0, 0, 0, .25 );
            left: 2.5em; /* 40 */
        }
        .audioplayer-time-duration
        {
            border-right: 1px solid #555;
            border-right-color: rgba( 255, 255, 255, .1 );
            right: 2.5em; /* 40 */
        }
            .audioplayer-novolume .audioplayer-time-duration
            {
                border-right: 0;
                right: 0;
            }
    .audioplayer-bar
    {
        height: 0.875em; /* 14 */
        background-color: #222;
        cursor: pointer;
        z-index: 1;
        top: 50%;
        right: 6.875em; /* 110 */
        left: 6.875em; /* 110 */
        margin-top: -0.438em; /* 7 */
    }
        .audioplayer-novolume .audioplayer-bar
        {
            right: 4.375em; /* 70 */
        }
        .audioplayer-bar div
        {
            width: 0;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
        }
        .audioplayer-bar-loaded
        {
            background-color: #333;
            z-index: 1;
        }
        .audioplayer-bar-played
        {
            background: #007fd1;
            background: -webkit-gradient( linear, left top, right top, from( #007fd1 ), to( #c600ff ) );
            background: -webkit-linear-gradient( left, #007fd1, #c600ff );
            background: -moz-linear-gradient( left, #007fd1, #c600ff );
            background: -ms-radial-gradient( left, #007fd1, #c600ff );
            background: -o-linear-gradient( left, #007fd1, #c600ff );
            background: linear-gradient( left, #007fd1, #c600ff );
            z-index: 2;
        }
    .audioplayer-volume
    {
        width: 2.5em; /* 40 */
        height: 100%;
        border-left: 1px solid #111;
        border-left-color: rgba( 0, 0, 0, .25 );
        text-align: left;
        text-indent: -9999px;
        cursor: pointer;
        z-index: 2;
        top: 0;
        right: 0;
    }
        .audioplayer-volume:hover,
        .audioplayer-volume:focus
        {
            background-color: #222;
        }
        .audioplayer-volume-button
        {
            width: 100%;
            height: 100%;
        }
            .audioplayer-volume-button a
            {
                width: 0.313em; /* 5 */
                height: 0.375em; /* 6 */
                background-color: #fff;
                display: block;
                position: relative;
                z-index: 1;
                top: 40%;
                left: 35%;
            }
                .audioplayer-volume-button a:before,
                .audioplayer-volume-button a:after
                {
                    content: '';
                    position: absolute;
                }
                .audioplayer-volume-button a:before
                {
                    width: 0;
                    height: 0;
                    border: 0.5em solid transparent; /* 8 */
                    border-left: none;
                    border-right-color: #fff;
                    z-index: 2;
                    top: 50%;
                    right: -0.25em;
                    margin-top: -0.5em; /* 8 */
                }
                .audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after
                {
                    /* "volume" icon by Nicolas Gallagher, http://nicolasgallagher.com/pure-css-gui-icons */
                    width: 0.313em; /* 5 */
                    height: 0.313em; /* 5 */
                    border: 0.25em double #fff; /* 4 */
                    border-width: 0.25em 0.25em 0 0; /* 4 */
                    left: 0.563em; /* 9 */
                    top: -0.063em; /* 1 */
                    -webkit-border-radius: 0 0.938em 0 0; /* 15 */
                    -moz-border-radius: 0 0.938em 0 0; /* 15 */
                    border-radius: 0 0.938em 0 0; /* 15 */
                    -webkit-transform: rotate( 45deg );
                    -moz-transform: rotate( 45deg );
                    -ms-transform: rotate( 45deg );
                    -o-transform: rotate( 45deg );
                    transform: rotate( 45deg );
                }
        .audioplayer-volume-adjust
        {
            height: 6.25em; /* 100 */
            cursor: default;
            position: absolute;
            left: 0;
            right: -1px;
            top: -9999px;
            background: #222;
            background: -webkit-gradient( linear, left top, left bottom, from( #444 ), to( #222 ) );
            background: -webkit-linear-gradient( top, #444, #222 );
            background: -moz-linear-gradient( top, #444, #222 );
            background: -ms-radial-gradient( top, #444, #222 );
            background: -o-linear-gradient( top, #444, #222 );
            background: linear-gradient( top, #444, #222 );
            -webkit-border-top-left-radius: 2px;
            -webkit-border-top-right-radius: 2px;
            -moz-border-radius-topleft: 2px;
            -moz-border-radius-topright: 2px;
            border-top-left-radius: 2px;
            border-top-right-radius: 2px;
        }
            .audioplayer-volume:not(:hover) .audioplayer-volume-adjust
            {
                opacity: 0;
            }
            .audioplayer-volume:hover .audioplayer-volume-adjust
            {
                top: auto;
                bottom: 100%;
            }
            .audioplayer-volume-adjust > div
            {
                width: 40%;
                height: 80%;
                background-color: #222;
                cursor: pointer;
                position: relative;
                z-index: 1;
                margin: 30% auto 0;
            }
                .audioplayer-volume-adjust div div
                {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    background: #007fd1;
                    background: -webkit-gradient( linear, left bottom, left top, from( #007fd1 ), to( #c600ff ) );
                    background: -webkit-linear-gradient( bottom, #007fd1, #c600ff );
                    background: -moz-linear-gradient( bottom, #007fd1, #c600ff );
                    background: -ms-radial-gradient( bottom, #007fd1, #c600ff );
                    background: -o-linear-gradient( bottom, #007fd1, #c600ff );
                    background: linear-gradient( bottom, #007fd1, #c600ff );
                }
        .audioplayer-novolume .audioplayer-volume
        {
            display: none;
        }

    .audioplayer-play,
    .audioplayer-pause,
    .audioplayer-volume a
    {
        -webkit-filter: drop-shadow( 1px 1px 0 #000 );
        -moz-filter: drop-shadow( 1px 1px 0 #000 );
        -ms-filter: drop-shadow( 1px 1px 0 #000 );
        -o-filter: drop-shadow( 1px 1px 0 #000 );
        filter: drop-shadow( 1px 1px 0 #000 );
    }
    .audioplayer-bar,
    .audioplayer-bar div,
    .audioplayer-volume-adjust div
    {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    .audioplayer-bar,
    .audioplayer-volume-adjust > div
    {
        -webkit-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
        -moz-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
        box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
    }
    .audioplayer-volume-adjust div div,
    .audioplayer-bar-played
    {
        -webkit-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
        -moz-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
        box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
    }
    .audioplayer-volume-adjust
    {
        -webkit-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
        -moz-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
        box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
    }
    .audioplayer *,
    .audioplayer *:before,
    .audioplayer *:after
    {
        -webkit-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        -moz-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        -ms-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        -o-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
        transition: color .25s ease, background-color .25s ease, opacity .5s ease;
    }

/*
// Buttons
*/
a.button,
a.button:visited,
a.button:hover {
    color: #fff;
    outline: 0 !important;
    text-decoration: none;
}

.button {
    display: inline-block;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    font-size: 12px;
    line-height: 20px;
    padding: 5px 12px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    position: relative;
    margin: 0 10px 10px 0;
}

.button:after {
    position: absolute;
    display: block;
    content: "";
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    z-index: -1;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.button:active {
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 1px rgba(0, 0, 0, 0.02) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 1px rgba(0, 0, 0, 0.02) !important;
}

.button:active:after {
    -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) !important;
}

/* Midnight Black */

.black-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #7c8184;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #7c8184;
    background-color: #676b6d;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#676b6d), to(#484a4c));
    background-image: -webkit-linear-gradient(top, #676b6d, #484a4c);
    background-image: -moz-linear-gradient(top, #676b6d, #484a4c);
    background-image: -o-linear-gradient(top, #676b6d, #484a4c);
    background-image: -ms-linear-gradient(top, #676b6d, #484a4c);
    background-image: linear-gradient(top, #676b6d, #484a4c);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#676b6d', EndColorStr='#484a4c');
}

.black-button {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #6f7476;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #6f7476;
}

.black-button,
.black-button:active {
    background-color: #5c6062;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#5c6062), to(#434547));
    background-image: -webkit-linear-gradient(top, #5c6062, #434547);
    background-image: -moz-linear-gradient(top, #5c6062, #434547);
    background-image: -o-linear-gradient(top, #5c6062, #434547);
    background-image: -ms-linear-gradient(top, #5c6062, #434547);
    background-image: linear-gradient(top, #5c6062, #434547);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#5c6062', EndColorStr='#434547');
}

.black-button:after {
    background-color: #37383a;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#37383a), to(#252627));
    background-image: -webkit-linear-gradient(top, #37383a, #252627);
    background-image: -moz-linear-gradient(top, #37383a, #252627);
    background-image: -o-linear-gradient(top, #37383a, #252627);
    background-image: -ms-linear-gradient(top, #37383a, #252627);
    background-image: linear-gradient(top, #37383a, #252627);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#37383a', EndColorStr='#252627');
}

.black-button:active:after {
    background-color: #323435;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#323435), to(#292b2b));
    background-image: -webkit-linear-gradient(top, #323435, #292b2b);
    background-image: -moz-linear-gradient(top, #323435, #292b2b);
    background-image: -o-linear-gradient(top, #323435, #292b2b);
    background-image: -ms-linear-gradient(top, #323435, #292b2b);
    background-image: linear-gradient(top, #323435, #292b2b);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#323435', EndColorStr='#292b2b');
}

/* Carbon Grey */

.grey-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #b6b8bc;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #b6b8bc;
    background-color: #a4a7ab;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#a4a7ab), to(#787a7f));
    background-image: -webkit-linear-gradient(top, #a4a7ab, #787a7f);
    background-image: -moz-linear-gradient(top, #a4a7ab, #787a7f);
    background-image: -o-linear-gradient(top, #a4a7ab, #787a7f);
    background-image: -ms-linear-gradient(top, #a4a7ab, #787a7f);
    background-image: linear-gradient(top, #a4a7ab, #787a7f);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#a4a7ab', EndColorStr='#787a7f');
}

.grey-button {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #abaeb2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #abaeb2;
}

.grey-button,
.grey-button:active {
    background-color: #979b9f;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#979b9f), to(#707277));
    background-image: -webkit-linear-gradient(top, #979b9f, #707277);
    background-image: -moz-linear-gradient(top, #979b9f, #707277);
    background-image: -o-linear-gradient(top, #979b9f, #707277);
    background-image: -ms-linear-gradient(top, #979b9f, #707277);
    background-image: linear-gradient(top, #979b9f, #707277);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#979b9f', EndColorStr='#707277');
}

.grey-button:after {
    background-color: #6c7277;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#6c7277), to(#3e3f41));
    background-image: -webkit-linear-gradient(top, #6c7277, #3e3f41);
    background-image: -moz-linear-gradient(top, #6c7277, #3e3f41);
    background-image: -o-linear-gradient(top, #6c7277, #3e3f41);
    background-image: -ms-linear-gradient(top, #6c7277, #3e3f41);
    background-image: linear-gradient(top, #6c7277, #3e3f41);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#6c7277', EndColorStr='#3e3f41');
}

.grey-button:active:after {
    background-color: #5d6266;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#5d6266), to(#444648));
    background-image: -webkit-linear-gradient(top, #5d6266, #444648);
    background-image: -moz-linear-gradient(top, #5d6266, #444648);
    background-image: -o-linear-gradient(top, #5d6266, #444648);
    background-image: -ms-linear-gradient(top, #5d6266, #444648);
    background-image: linear-gradient(top, #5d6266, #444648);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#5d6266', EndColorStr='#444648');
}

/* Plum Purple */

.plum-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #b89ac3;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #b89ac3;
    background-color: #a882b4;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#a882b4), to(#7b5a92));
    background-image: -webkit-linear-gradient(top, #a882b4, #7b5a92);
    background-image: -moz-linear-gradient(top, #a882b4, #7b5a92);
    background-image: -o-linear-gradient(top, #a882b4, #7b5a92);
    background-image: -ms-linear-gradient(top, #a882b4, #7b5a92);
    background-image: linear-gradient(top, #a882b4, #7b5a92);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#a882b4', EndColorStr='#7b5a92');
}

.plum-button {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #af8cba;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #af8cba;
}

.plum-button,
.plum-button:active {
    background-color: #9c74aa;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#9c74aa), to(#735489));
    background-image: -webkit-linear-gradient(top, #9c74aa, #735489);
    background-image: -moz-linear-gradient(top, #9c74aa, #735489);
    background-image: -o-linear-gradient(top, #9c74aa, #735489);
    background-image: -ms-linear-gradient(top, #9c74aa, #735489);
    background-image: linear-gradient(top, #9c74aa, #735489);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#9c74aa', EndColorStr='#735489');
}

.plum-button:after {
    background-color: #734487;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#734487), to(#402e4c));
    background-image: -webkit-linear-gradient(top, #734487, #402e4c);
    background-image: -moz-linear-gradient(top, #734487, #402e4c);
    background-image: -o-linear-gradient(top, #734487, #402e4c);
    background-image: -ms-linear-gradient(top, #734487, #402e4c);
    background-image: linear-gradient(top, #734487, #402e4c);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#734487', EndColorStr='#402e4c');
}

.plum-button:active:after {
    background-color: #643f79;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#643f79), to(#47345a));
    background-image: -webkit-linear-gradient(top, #643f79, #47345a);
    background-image: -moz-linear-gradient(top, #643f79, #47345a);
    background-image: -o-linear-gradient(top, #643f79, #47345a);
    background-image: -ms-linear-gradient(top, #643f79, #47345a);
    background-image: linear-gradient(top, #643f79, #47345a);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#643f79', EndColorStr='#47345a');
}

/* Royal Purple */

.purple-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #908dce;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #908dce;
    background-color: #7775c3;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#7775c3), to(#5251a9));
    background-image: -webkit-linear-gradient(top, #7775c3, #5251a9);
    background-image: -moz-linear-gradient(top, #7775c3, #5251a9);
    background-image: -o-linear-gradient(top, #7775c3, #5251a9);
    background-image: -ms-linear-gradient(top, #7775c3, #5251a9);
    background-image: linear-gradient(top, #7775c3, #5251a9);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#7775c3', EndColorStr='#5251a9');
}

.purple-button {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #817ec8;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #817ec8;
}

.purple-button,
.purple-button:active {
    background-color: #6b69bb;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#6b69bb), to(#4d4ca2));
    background-image: -webkit-linear-gradient(top, #6b69bb, #4d4ca2);
    background-image: -moz-linear-gradient(top, #6b69bb, #4d4ca2);
    background-image: -o-linear-gradient(top, #6b69bb, #4d4ca2);
    background-image: -ms-linear-gradient(top, #6b69bb, #4d4ca2);
    background-image: linear-gradient(top, #6b69bb, #4d4ca2);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#6b69bb', EndColorStr='#4d4ca2');
}

.purple-button:after {
    background-color: #403ea0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#403ea0), to(#2b2972));
    background-image: -webkit-linear-gradient(top, #403ea0, #2b2972);
    background-image: -moz-linear-gradient(top, #403ea0, #2b2972);
    background-image: -o-linear-gradient(top, #403ea0, #2b2972);
    background-image: -ms-linear-gradient(top, #403ea0, #2b2972);
    background-image: linear-gradient(top, #403ea0, #2b2972);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#403ea0', EndColorStr='#2b2972');
}

.purple-button:active:after {
    background-color: #3a3895;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#3a3895), to(#302e7d));
    background-image: -webkit-linear-gradient(top, #3a3895, #302e7d);
    background-image: -moz-linear-gradient(top, #3a3895, #302e7d);
    background-image: -o-linear-gradient(top, #3a3895, #302e7d);
    background-image: -ms-linear-gradient(top, #3a3895, #302e7d);
    background-image: linear-gradient(top, #3a3895, #302e7d);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#3a3895', EndColorStr='#302e7d');
}

/* PixelBin Blue */

.blue-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #7eaadc;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #7eaadc;
    background-color: #6a96d4;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#6a96d4), to(#4c6ac1));
    background-image: -webkit-linear-gradient(top, #6a96d4, #4c6ac1);
    background-image: -moz-linear-gradient(top, #6a96d4, #4c6ac1);
    background-image: -o-linear-gradient(top, #6a96d4, #4c6ac1);
    background-image: -ms-linear-gradient(top, #6a96d4, #4c6ac1);
    background-image: linear-gradient(top, #6a96d4, #4c6ac1);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#6a96d4', EndColorStr='#4c6ac1');
}

.blue-button {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #729ed7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #729ed7;
}

.blue-button,
.blue-button:active {
    background-color: #5f87cd;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#5f87cd), to(#4461ba));
    background-image: -webkit-linear-gradient(top, #5f87cd, #4461ba);
    background-image: -moz-linear-gradient(top, #5f87cd, #4461ba);
    background-image: -o-linear-gradient(top, #5f87cd, #4461ba);
    background-image: -ms-linear-gradient(top, #5f87cd, #4461ba);
    background-image: linear-gradient(top, #5f87cd, #4461ba);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#5f87cd', EndColorStr='#4461ba');
}

.blue-button:after {
    background-color: #3854b8;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#3854b8), to(#263596));
    background-image: -webkit-linear-gradient(top, #3854b8, #263596);
    background-image: -moz-linear-gradient(top, #3854b8, #263596);
    background-image: -o-linear-gradient(top, #3854b8, #263596);
    background-image: -ms-linear-gradient(top, #3854b8, #263596);
    background-image: linear-gradient(top, #3854b8, #263596);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#3854b8', EndColorStr='#263596');
}

.blue-button:active:after {
    background-color: #344ab1;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#344ab1), to(#2a3b9d));
    background-image: -webkit-linear-gradient(top, #344ab1, #2a3b9d);
    background-image: -moz-linear-gradient(top, #344ab1, #2a3b9d);
    background-image: -o-linear-gradient(top, #344ab1, #2a3b9d);
    background-image: -ms-linear-gradient(top, #344ab1, #2a3b9d);
    background-image: linear-gradient(top, #344ab1, #2a3b9d);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#344ab1', EndColorStr='#2a3b9d');
}

/* Azure Blue */

.azure-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #71c3f6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #71c3f6;
    background-color: #5db5f4;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#5db5f4), to(#4193ef));
    background-image: -webkit-linear-gradient(top, #5db5f4, #4193ef);
    background-image: -moz-linear-gradient(top, #5db5f4, #4193ef);
    background-image: -o-linear-gradient(top, #5db5f4, #4193ef);
    background-image: -ms-linear-gradient(top, #5db5f4, #4193ef);
    background-image: linear-gradient(top, #5db5f4, #4193ef);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#5db5f4', EndColorStr='#4193ef');
}

.azure-button {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #64baf5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #64baf5;
}

.azure-button,
.azure-button:active {
    background-color: #54abf2;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#54abf2), to(#3d8aed));
    background-image: -webkit-linear-gradient(top, #54abf2, #3d8aed);
    background-image: -moz-linear-gradient(top, #54abf2, #3d8aed);
    background-image: -o-linear-gradient(top, #54abf2, #3d8aed);
    background-image: -ms-linear-gradient(top, #54abf2, #3d8aed);
    background-image: linear-gradient(top, #54abf2, #3d8aed);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#54abf2', EndColorStr='#3d8aed');
}

.azure-button:after {
    background-color: #3187ed;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#3187ed), to(#204ce4));
    background-image: -webkit-linear-gradient(top, #3187ed, #204ce4);
    background-image: -moz-linear-gradient(top, #3187ed, #204ce4);
    background-image: -o-linear-gradient(top, #3187ed, #204ce4);
    background-image: -ms-linear-gradient(top, #3187ed, #204ce4);
    background-image: linear-gradient(top, #3187ed, #204ce4);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#3187ed', EndColorStr='#204ce4');
}

.azure-button:active:after {
    background-color: #2d79eb;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#2d79eb), to(#255be6));
    background-image: -webkit-linear-gradient(top, #2d79eb, #255be6);
    background-image: -moz-linear-gradient(top, #2d79eb, #255be6);
    background-image: -o-linear-gradient(top, #2d79eb, #255be6);
    background-image: -ms-linear-gradient(top, #2d79eb, #255be6);
    background-image: linear-gradient(top, #2d79eb, #255be6);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#2d79eb', EndColorStr='#255be6');
}

/* Bubblegum Pink */

.pink-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #f9acb9;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #f9acb9;
    background-color: #f898a9;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f898a9), to(#f66a7c));
    background-image: -webkit-linear-gradient(top, #f898a9, #f66a7c);
    background-image: -moz-linear-gradient(top, #f898a9, #f66a7c);
    background-image: -o-linear-gradient(top, #f898a9, #f66a7c);
    background-image: -ms-linear-gradient(top, #f898a9, #f66a7c);
    background-image: linear-gradient(top, #f898a9, #f66a7c);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#f898a9', EndColorStr='#f66a7c');
}

.pink-button {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #f8a0b0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #f8a0b0;
}

.pink-button,
.pink-button:active {
    background-color: #f78a9d;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f78a9d), to(#f56475));
    background-image: -webkit-linear-gradient(top, #f78a9d, #f56475);
    background-image: -moz-linear-gradient(top, #f78a9d, #f56475);
    background-image: -o-linear-gradient(top, #f78a9d, #f56475);
    background-image: -ms-linear-gradient(top, #f78a9d, #f56475);
    background-image: linear-gradient(top, #f78a9d, #f56475);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#f78a9d', EndColorStr='#f56475');
}

.pink-button:after {
    background-color: #f45874;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f45874), to(#f03740));
    background-image: -webkit-linear-gradient(top, #f45874, #f03740);
    background-image: -moz-linear-gradient(top, #f45874, #f03740);
    background-image: -o-linear-gradient(top, #f45874, #f03740);
    background-image: -ms-linear-gradient(top, #f45874, #f03740);
    background-image: linear-gradient(top, #f45874, #f03740);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#f45874', EndColorStr='#f03740');
}

.pink-button:active:after {
    background-color: #f24b64;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f24b64), to(#f13d47));
    background-image: -webkit-linear-gradient(top, #f24b64, #f13d47);
    background-image: -moz-linear-gradient(top, #f24b64, #f13d47);
    background-image: -o-linear-gradient(top, #f24b64, #f13d47);
    background-image: -ms-linear-gradient(top, #f24b64, #f13d47);
    background-image: linear-gradient(top, #f24b64, #f13d47);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#f24b64', EndColorStr='#f13d47');
}

/* Juicy Red */

.red-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #ed895a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #ed895a;
    background-color: #e9724b;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e9724b), to(#df4f33));
    background-image: -webkit-linear-gradient(top, #e9724b, #df4f33);
    background-image: -moz-linear-gradient(top, #e9724b, #df4f33);
    background-image: -o-linear-gradient(top, #e9724b, #df4f33);
    background-image: -ms-linear-gradient(top, #e9724b, #df4f33);
    background-image: linear-gradient(top, #e9724b, #df4f33);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#e9724b', EndColorStr='#df4f33');
}

.red-button {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #eb794f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #eb794f;
}

.red-button,
.red-button:active {
    background-color: #e66643;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e66643), to(#dd4a30));
    background-image: -webkit-linear-gradient(top, #e66643, #dd4a30);
    background-image: -moz-linear-gradient(top, #e66643, #dd4a30);
    background-image: -o-linear-gradient(top, #e66643, #dd4a30);
    background-image: -ms-linear-gradient(top, #e66643, #dd4a30);
    background-image: linear-gradient(top, #e66643, #dd4a30);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#e66643', EndColorStr='#dd4a30');
}

.red-button:after {
    background-color: #dc3d27;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#dc3d27), to(#cb291a));
    background-image: -webkit-linear-gradient(top, #dc3d27, #cb291a);
    background-image: -moz-linear-gradient(top, #dc3d27, #cb291a);
    background-image: -o-linear-gradient(top, #dc3d27, #cb291a);
    background-image: -ms-linear-gradient(top, #dc3d27, #cb291a);
    background-image: linear-gradient(top, #dc3d27, #cb291a);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#dc3d27', EndColorStr='#cb291a');
}

.red-button:active:after {
    background-color: #d63724;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d63724), to(#cf2d1d));
    background-image: -webkit-linear-gradient(top, #d63724, #cf2d1d);
    background-image: -moz-linear-gradient(top, #d63724, #cf2d1d);
    background-image: -o-linear-gradient(top, #d63724, #cf2d1d);
    background-image: -ms-linear-gradient(top, #d63724, #cf2d1d);
    background-image: linear-gradient(top, #d63724, #cf2d1d);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#d63724', EndColorStr='#cf2d1d');
}

/* Tangy Orange */

.orange-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #fec04e;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #fec04e;
    background-color: #feb23f;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#feb23f), to(#fe8a2d));
    background-image: -webkit-linear-gradient(top, #feb23f, #fe8a2d);
    background-image: -moz-linear-gradient(top, #feb23f, #fe8a2d);
    background-image: -o-linear-gradient(top, #feb23f, #fe8a2d);
    background-image: -ms-linear-gradient(top, #feb23f, #fe8a2d);
    background-image: linear-gradient(top, #feb23f, #fe8a2d);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#feb23f', EndColorStr='#fe8a2d');
}

.orange-button {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #feb646;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #feb646;
}

.orange-button,
.orange-button:active {
    background-color: #fea638;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fea638), to(#fe812a));
    background-image: -webkit-linear-gradient(top, #fea638, #fe812a);
    background-image: -moz-linear-gradient(top, #fea638, #fe812a);
    background-image: -o-linear-gradient(top, #fea638, #fe812a);
    background-image: -ms-linear-gradient(top, #fea638, #fe812a);
    background-image: linear-gradient(top, #fea638, #fe812a);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#fea638', EndColorStr='#fe812a');
}

.orange-button:after {
    background-color: #fe8122;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fe8122), to(#fe4717));
    background-image: -webkit-linear-gradient(top, #fe8122, #fe4717);
    background-image: -moz-linear-gradient(top, #fe8122, #fe4717);
    background-image: -o-linear-gradient(top, #fe8122, #fe4717);
    background-image: -ms-linear-gradient(top, #fe8122, #fe4717);
    background-image: linear-gradient(top, #fe8122, #fe4717);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#fe8122', EndColorStr='#fe4717');
}

.orange-button:active:after {
    background-color: #fe721f;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fe721f), to(#fe511a));
    background-image: -webkit-linear-gradient(top, #fe721f, #fe511a);
    background-image: -moz-linear-gradient(top, #fe721f, #fe511a);
    background-image: -o-linear-gradient(top, #fe721f, #fe511a);
    background-image: -ms-linear-gradient(top, #fe721f, #fe511a);
    background-image: linear-gradient(top, #fe721f, #fe511a);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#fe721f', EndColorStr='#fe511a');
}

/* Leafy Green */

.green-button:hover {
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #9aceb3;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #9aceb3;
    background-color: #82c3a1;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#82c3a1), to(#5aa874));
    background-image: -webkit-linear-gradient(top, #82c3a1, #5aa874);
    background-image: -moz-linear-gradient(top, #82c3a1, #5aa874);
    background-image: -o-linear-gradient(top, #82c3a1, #5aa874);
    background-image: -ms-linear-gradient(top, #82c3a1, #5aa874);
    background-image: linear-gradient(top, #82c3a1, #5aa874);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#82c3a1', EndColorStr='#5aa874');
}

.green-button {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #8cc8a8;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 0 #8cc8a8;
}

.green-button,
.green-button:active {
    background-color: #74bb93;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#74bb93), to(#54a06c));
    background-image: -webkit-linear-gradient(top, #74bb93, #54a06c);
    background-image: -moz-linear-gradient(top, #74bb93, #54a06c);
    background-image: -o-linear-gradient(top, #74bb93, #54a06c);
    background-image: -ms-linear-gradient(top, #74bb93, #54a06c);
    background-image: linear-gradient(top, #74bb93, #54a06c);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#74bb93', EndColorStr='#54a06c');
}

.green-button:after {
    background-color: #449e65;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#449e65), to(#2e703b));
    background-image: -webkit-linear-gradient(top, #449e65, #2e703b);
    background-image: -moz-linear-gradient(top, #449e65, #2e703b);
    background-image: -o-linear-gradient(top, #449e65, #2e703b);
    background-image: -ms-linear-gradient(top, #449e65, #2e703b);
    background-image: linear-gradient(top, #449e65, #2e703b);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#449e65', EndColorStr='#2e703b');
}

.green-button:active:after {
    background-color: #3e9256;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#3e9256), to(#347b42));
    background-image: -webkit-linear-gradient(top, #3e9256, #347b42);
    background-image: -moz-linear-gradient(top, #3e9256, #347b42);
    background-image: -o-linear-gradient(top, #3e9256, #347b42);
    background-image: -ms-linear-gradient(top, #3e9256, #347b42);
    background-image: linear-gradient(top, #3e9256, #347b42);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#3e9256', EndColorStr='#347b42');
}


/*
// Tabs
*/
.tabwrapper{
    position: relative;
    overflow: hidden;
    margin-bottom: 1em;
}
.tabrow {
    text-align: center;
    list-style: none;
    padding: 0 20px;
    margin: 0;
    line-height: 24px;
    height: 26px;
    overflow: hidden;
    font-size: 12px;
    position: relative;
}
.tabrow li {
    border: 1px solid #e1e1e1;
    background: #eaeaea;
    display: block;
    float: left;
    position: relative;
    z-index: 0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #fff;
    text-shadow: 0 1px #fff;
    margin: 0 -5px;
    padding: 0 20px;
    overflow: hidden;
}
.smaller .tabrow li{
    width: 10px;
}
.smaller .tabrow li.selected{
    width: auto;
}
.tabrow a {
      color: #555;
      text-decoration: none;
}
.tabrow li.selected {
    background: #fafafa;
    color: #333;
    z-index: 2;
    border-bottom-color: #fafafa;
}
.tabrow:before {
    position: absolute;
    content: " ";
    width: 100%;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #e1e1e1;
    z-index: 1;
}
.tabrow li:before,
.tabrow li:after {
    border: 1px solid #e1e1e1;
    position: absolute;
    bottom: -1px;
    width: 5px;
    height: 5px;
    content: " ";
}
.tabrow li:before {
    left: -6px;
    border-bottom-right-radius: 6px;
    border-width: 0 1px 1px 0;
    box-shadow: 2px 2px 0 #eaeaea;
}
.tabrow li:after {
    right: -6px;
    border-bottom-left-radius: 6px;
    border-width: 0 0 1px 1px;
    box-shadow: -2px 2px 0 #eaeaea;
}
.tabrow li.selected:before {
    box-shadow: 2px 2px 0 #fafafa;
}
.tabrow li.selected:after {
    box-shadow: -2px 2px 0 #fafafa;
}

.tabcontent{
    padding: 0 15px;
    border: 1px solid #e1e1e1;
    border-top: none;
    background: #fafafa;
    margin: 0;
}

.tabcontent li.tabcontentwrapper{
    display: none;
    list-style: none;
    padding: 1px;
}

.tabcontent li.tabcontentwrapper.selected{
    display: block;
}
.nav-responsive-tabs{
    position: absolute;
    top: 25px;
    width: 100%;
    left: 0;
}
.prev-responsive-tabs{
    position: absolute;
    top: 0;
    left: 5px;
}
.next-responsive-tabs{
    position: absolute;
    top: 0;
    right: 5px;
}
/*
// Toggle
*/
.toggle { margin: 1em 0; }

.toggle .toggle-title {
    display: block;
    padding: 10px 10px 10px 30px; 
    background: #fafafa;
    border: 1px solid #e1e1e1;
    cursor: pointer;
    outline: none;
    position: relative;
    }
    
.toggle .toggle-title:hover { border: 1px solid #c5c5c5; }

.toggle-inner {
    padding: 10px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-top: none;
    display: none;
}

.toggle .toggle-icon {
    background: url(../img/toggle-closed.png) no-repeat;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 10px;
    margin: -6px 0 0 0;

    -webkit-transition: all 0.3s ease-out;
       -moz-transition: all 0.3s ease-out;
         -o-transition: all 0.3s ease-out;
            transition: all 0.3s ease-out;
}

.toggle.open .toggle-icon {
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
         -o-transform: rotate(45deg);
            transform: rotate(45deg);
}

/* Gamma Gallery Style */

.gamma-container {
    min-height: 200px;
    margin-top: 15px;
}

.gamma-gallery {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
}

/* http://nicolasgallagher.com/micro-clearfix-hack/ */
.gamma-gallery:before,
.gamma-gallery:after {
    content: " ";
    display: table;
}

.gamma-gallery:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
.gamma-gallery {
    *zoom: 1;
}
 */

.gamma-gallery li {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    padding: 4px;
}

.gamma-gallery li img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

.gamma-description {
    background: #fff;
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    text-align: center;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
}

.no-touch .gamma-gallery li:hover .gamma-description {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    opacity: 1;
}
 
.gamma-description:before {
    content: '';
    height: 100%;
}

.gamma-description:before,
.gamma-description h3 {
    display: inline-block;
    vertical-align: middle;
}

.gamma-description h3 {
    width: 100%;
    padding: 0 20px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
}

.gamma-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10001;
}

.gamma-buttons button {
    float: left;
    background: #333;
    color: #fff;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
    border: none;
    outline: none;
}

.gamma-buttons button:before,
.gamma-nav span:before {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: block;
    text-align: center;
    opacity: 0.7;
    outline: none;
}

.no-touch .gamma-buttons button:hover {
    background: #666;
}

button.gamma-btn-close:before {
    content: '\f00d';
}

button.gamma-btn-ssplay:before {
    content: '\f04b';
}

button.gamma-btn-sspause:before {
    content: '\f04c';
}

/*
** Gamma gallery
*/

.gamma-single-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    z-index: 10000;
    text-align: center;
    display:none;
}

.gamma-overlay {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    z-index: 9999;
}

.gamma-single-view img {
    position: absolute;
    cursor: pointer;
}

.gamma-description-wrapper {
    background: rgba(0,0,0,0.7);
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 10;
    padding: 5px 0;
}

.gamma-single-view .gamma-description {
    background: transparent;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
}

.gamma-single-view .gamma-description h3 {
    font-size: 15px;
    padding: 5px 0;
    color: #fff;
}

.gamma-nav span {
    position: absolute;
    display: block;
    width: 20px;
    height: 38px;
    top: 50%;
    margin-top: -19px;
    left: 20px;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.gamma-nav span.gamma-next {
    left: auto;
    right: 20px;
}

.gamma-nav span:before {
    color: #fff;
    opacity: 0.7;
    font-size: 40px;
}

.gamma-nav span:hover:before {
    opacity: 1;
}

.gamma-nav span:before {
    display: block;
    margin: 0;
    width: auto;
}

.gamma-nav span.gamma-prev:before {
    content: '\f053';
}

.gamma-nav span.gamma-next:before {
    content: '\f054';
}

.gamma-img-fly {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
}

/* Loaders */

.gamma-loading {
    background: transparent url(../img/loader_light.gif) no-repeat center center;
}

.gamma-single-view.gamma-loading {
    background: transparent url(../img/loader_dark.gif) no-repeat center center;
}


/* Make some things unselectable. Remove where selection is needed: */

.gamma-container img,
.gamma-nav span,
.gamma-buttons button,
.gamma-description-wrapper,
.gamma-description,
.gamma-description h3 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



/* 
// Media queries
*/

@media screen and (max-width: 750px) {

    .gamma-description {
        top: 10px;
        left: 10px;
        bottom: 10px;
        right: 10px;
    }

    .gamma-description h3 {
        font-size: 14px;
        padding: 0 5px;
    }

}

@media screen and (max-width: 500px) {

    .gamma-buttons {
        float: left;
        clear: both;
    }

}


@media screen and (max-height: 400px) {
    #hero{
        position: relative;
        margin-left: 0;
        top: auto;
        left: auto;
        height: auto;
    }
    #main{
        top: auto;
        margin-bottom: 0px;
    }
    #footer{
        position: relative;
        margin-left: 0;
        top: auto;
        left: auto;
        height: auto;
    }
}
@media screen and (max-width: 960px) {
    #overlay h1{
        font-size: 2.5em;
    }

    #overlay h2{
        font-size: 1.3em;
    }
    #topbar.fixed{
        width: 100%;
        left: 0;
        margin-left: 0;
    }
    #hero{
        position: relative;
        margin-left: 0;
        top: auto;
        left: auto;
        height: auto;
    }
    #main{
        top: auto;
        margin-bottom: 0px;
    }
    #footer{
        position: relative;
        margin-left: 0;
        top: auto;
        left: auto;
        height: auto;
    }

}

@media screen and (max-width: 768px) {
    .sb-slider li.sb-current .sb-description h3 {
        font-size: 20px;
        line-height: 28px;
    }

    #nav-arrows{
        bottom: 20px;
    }
    .nav-dots {
        padding-right: 40px;
        text-align: right;
        bottom: 33px;
        z-index: 1;
    }
    #cover.with-soundcloud{
        margin-bottom: 0;
    }
    #cover .soundcloud-wrapper{
        position: relative;
        margin: 0 30px;
        bottom: auto;
        left: auto;
        right: auto;
    }
    #cover.with-audio{
        margin-bottom: 0;
    }
    #cover .audio-wrapper{
        position: relative;
        margin: 0 30px;
        bottom: auto;
        left: auto;
        right: auto;
    }
    #sidebar{
        display: none;
    }
    #overlay-wrapper{
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        background: none;
    }
    #overlay{
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        background: none;
        padding: 0 30px;
    }

    #overlay h1{
        max-width: 100%;
        margin-left: 0;
        margin-bottom: .4em;
        line-height: 1em;
        font-weight: normal;
    }

    #title{
        background: none;
        box-shadow: none;
        color: #202222;
        padding: 2px 0;
    }

    #overlay h2{
        margin-left: 0;
        line-height: 1.1em;
        font-weight: normal;
    }

    #subtitle{
        background: none;
        box-shadow: none;
        color: #202222;
    }

    #share{
        padding-bottom: 20px;
    }

    #author{
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid #E4E4E4;
    }

    #author .author-social {
        top: 20px;
    }

    #s, #search-button{
        display: none;
    }

    #portfolio-items li {
        width: 31.6%;
    }

    #portfolio-items li:nth-child(4n+1){
        margin: 0 0 2% 2.6%;
    }

    #portfolio-items li:nth-child(3n+1){
        margin-left: 0;
    }

    .col {
        margin: 0 0 2% 0;
    }

    /*  GRID OF THREE  */
    .span_3_of_3 {
        width: 100%;
    }
    .span_2_of_3 {
        width: 100%;
    }
    .span_1_of_3 {
        width: 100%;
    }

    /*  GRID OF FOUR  */
    .span_4_of_4 {
        width: 100%;
    }
    .span_3_of_4 {
        width: 100%;
    }
    .span_2_of_4 {
        width: 100%;
    }
    .span_1_of_4 {
        width: 100%;
    }

}

@media screen and (max-width: 480px) {
    #nav-arrows{
        left: 50%;
        margin-left: -32px;
    }

    .sb-slider li.sb-current .sb-description {
        display: none;
    }

    #portfolio-items li {
        width: 48.7%;
    }

    #portfolio-items li:nth-child(3n+1){
        margin: 0 0 2% 2.6%;
    }

    #portfolio-items li:nth-child(2n+1){
        margin-left: 0;
    }

    #timeline:after{
        left: 50%;
        margin-left: -2px;
    }

    .timeline-item{
        padding-top: 0;
        padding-left: 0;
    }

    .timeline-item:first-child:after {
        top: -2px;
        margin-left: -1px;
        left: 50%;
    }
    .timeline-item:last-child:after {
        left: 50%;
        margin-left: -1px;
    }

    .timeline-item .timeline-author-link {
        display: none;
    }

    .timeline-item .timeline-author-date{
        display: none;
    }

    .timeline-item a.timeline-item-link {
        margin: 30px;
    }

    .timeline-item .timeline-item-link:before, .timeline-item .timeline-item-link:after {
        display: none;
    }

    .timeline-item-content h2{
        font-size: 1em;
    }
    .timeline-item-meta {
        font-size: .7em;
        font-weight: normal;
    }

}

@media screen and (max-width: 300px) {

    .timeline-item .timeline-item-content {
        padding-right: 20px;
        text-align: center;
    }

    .timeline-item .timeline-item-content .timeline-item-cover {
        display: none;
    }

}

@media screen and (max-width: 200px) {

    #portfolio-items li {
        width: 100%;
    }

    #portfolio-items li{
        margin: 0;
    }

}


/* ==========================================================================
   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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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