html, body
{
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: #222;
}

.widget {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    max-width: 1920px;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.75);
}

.widget h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

.widget .thumb {
    position: relative;
    border: solid 2px #FFFFFF;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    display: inline-block;
    line-height: 0;
    max-width: 100%;
    transition: all 200ms ease-out;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    border-radius: 50%;
}

.widget .thumb:hover,
.widget .thumb:focus {
    box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.5);
}

.widget .thumb.checked {

}

.widget .thumb img {
    border-radius: 50%;
}

.widget .thumb.checked img{
    opacity: 0.5;
    -ms-filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color=#959595);
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color=#959595);
    -moz-box-shadow: 0 0 5px 2px #959595;
    -webkit-box-shadow: 0 0 5px 2px #959595;
    box-shadow: 0 0 5px 2px #959595;
}

.widget .group span {
    font-size: 0.6rem;
    line-height: 0.9rem;
    display: block;
}

.widget .image-view {
    position: relative;
    height: 100%;
}

.widget .image-view img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.widget #details-toggle {
    position: absolute;
    top: 2.8125rem;
    right: 0;
    text-transform: uppercase;
    color: #fff;
    background-color: #f9ae40;
    z-index: 88;
    width: 30px;
    height: 100px;
    cursor: pointer;
    transition: 500ms ease;
    -webkit-transition: 500ms ease;
    -moz-transition: 500ms ease;
    -o-transition: 500ms ease;
}

.widget #details-toggle.active{
    right: 280px;
    transition: 400ms ease;
    -webkit-transition: 400ms ease;
    -moz-transition: 400ms ease;
    -o-transition: 400ms ease;
}

.widget #details-toggle span{
    letter-spacing: 0.1em;
    display: inline-block;
    position: absolute;
    top: 38px;
    right: -22px;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
}

.widget .config-details {
    z-index: 88;
    position: fixed;
    top: 2.8125rem;
    right: -280px;
    width: 280px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    transition: 500ms ease;
    -webkit-transition: 500ms ease;
    -moz-transition: 500ms ease;
    -o-transition: 500ms ease;
    overflow-x: hidden;
    overflow-y: hidden;
    max-height: 100%;
}

.widget .config-details.active{
    transition: 400ms ease;
    -webkit-transition: 400ms ease;
    -moz-transition: 400ms ease;
    -o-transition: 400ms ease;
    right: 0;
}

.widget .config-details .details-title{
    height: 100px;
    margin-top: 0;
    background-color: #ef8d24;
    padding: 0 1rem;
    margin-bottom: 0;
}

.widget .config-details .details-title h3{
    color: #fff;
    margin: 0 auto;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media only screen and (max-width: 40em), screen and (max-height: 30em) {
    .widget .config-details .details-title{
        height: 50px;
    }
    .widget .config-details .details-title h3{
        font-size: 1.375rem;
    }
}

.widget .details {
    padding: 1rem;
}

@media only screen and (max-width: 40em), screen and (max-height: 30em) {
    .widget .details {
        font-size: 0.8rem;
    }
}

.widget .config-details .button{
    background-color: #1c94c6;
    margin: 1rem;
}

.widget .config-details .button:focus,
.widget .config-details .button:hover{
    background-color: #1779a2;
}

.widget #debug {
    position: absolute;
    bottom: 0;
    left: 30%;
    color: #fff
}

/* foundation overrides */
.widget,
.widget .off-canvas-wrap,
.widget .off-canvas-wrap .inner-wrap {
    height: 100%;
}

@media only screen and (max-width: 40em) {
    .widget .tab-bar .middle.tab-bar-section {
        right: 0;
    }
}

.widget .left-small {
    width: 7.2rem;
    text-align: center;
    position: relative;
}

.widget .left-small:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 10px;
    background-image: url('../img/icons/icon-gear.svg');
    background-repeat: no-repeat;
    background-position: center center;
    width: 21px;
    height: 100%;
}

.widget .left-off-canvas-toggle {
    color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.widget .left-off-canvas-toggle:hover,
.widget .left-off-canvas-toggle:focus {
    color: inherit;
    background: #242424;
}

.widget .left-off-canvas-toggle span{
    text-transform: uppercase;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
}


.widget .accordion .accordion-navigation > a,
.widget .accordion .accordion-navigation.active > a {
    background: none;
    border-bottom: 1px solid #262626;
    color: rgba(255, 255, 255, 0.7);
    transition: background 300ms ease;
    -webkit-transition: background 300ms ease;
    -moz-transition: background 300ms ease;
    -o-transition: background 300ms ease;
    font-family: inherit;
    position: relative;
}

.widget .accordion .accordion-navigation > a:after {
    content: ' ';
    background-image: url('../img/icons/icon-arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0;
    right: 10px;
    height: 100%;
    width: 30px;
}

.widget .accordion .accordion-navigation.active > a:after {
    background-image: url('../img/icons/icon-arrow-down.svg');
}

.widget .accordion .accordion-navigation > a:hover {
    background: #242424;
}

.widget .accordion .accordion-navigation > .content {
    background: #ddd;
}

.widget .accordion label {
    background: #444;
    border-bottom: none;
    border-top: 1px solid #5e5e5e;
    color: #999;
    display: block;
    font-size: 0.66667rem;
    font-weight: bold;
    margin: 0;
    padding: 0.3rem 1rem;
    text-transform: uppercase;
}

.widget .tab-bar h1,
.widget .tab-bar h2,
.widget .tab-bar h3,
.widget .tab-bar h4,
.widget .tab-bar h5,
.widget .tab-bar h6 {
    font-weight: normal;
}

.tab-bar-section.middle {
    left: 7.2rem;
    right: 7.2rem;
}

[class*="block-grid-"] > li {
    padding: 0 0.3rem 1.25rem;
    text-align: center
}