/*
* Based on Foundation Framework
* http://foundation.zurb.com/
*/

@media only screen {
    [class*="block-grid-"] {
        display: block;
        padding: 0;
        margin: 0 -10px;
        *zoom: 1; }
    [class*="block-grid-"]:before, [class*="block-grid-"]:after {
        content: " ";
        display: table; }
    [class*="block-grid-"]:after {
        clear: both; }
    [class*="block-grid-"] > li {
        display: inline;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        height: auto;
        float: left;
        padding: 0 10px 10px; }

    .small-block-grid-1 > li {
        width: 100%;
        padding: 0 10px 10px !important; }
    .small-block-grid-1 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-1 > li:nth-of-type(1n+1) {
        clear: both; }

    .small-block-grid-2 > li {
        width: 50%;
        padding: 0 10px 10px !important; }
    .small-block-grid-2 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-2 > li:nth-of-type(2n+1) {
        clear: both; }

    .small-block-grid-3 > li {
        width: 33.33333%;
        padding: 0 10px 10px !important; }
    .small-block-grid-3 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-3 > li:nth-of-type(3n+1) {
        clear: both; }

    .small-block-grid-4 > li {
        width: 25%;
        padding: 0 10px 10px !important; }
    .small-block-grid-4 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-4 > li:nth-of-type(4n+1) {
        clear: both; }

    .small-block-grid-5 > li {
        width: 20%;
        padding: 0 10px 10px !important; }
    .small-block-grid-5 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-5 > li:nth-of-type(5n+1) {
        clear: both; }

    .small-block-grid-6 > li {
        width: 16.66667%;
        padding: 0 10px 10px !important; }
    .small-block-grid-6 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-6 > li:nth-of-type(6n+1) {
        clear: both; }

    .small-block-grid-7 > li {
        width: 14.28571%;
        padding: 0 10px 10px !important; }
    .small-block-grid-7 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-7 > li:nth-of-type(7n+1) {
        clear: both; }

    .small-block-grid-8 > li {
        width: 12.5%;
        padding: 0 10px 10px !important; }
    .small-block-grid-8 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-8 > li:nth-of-type(8n+1) {
        clear: both; }

    .small-block-grid-9 > li {
        width: 11.11111%;
        padding: 0 10px 10px !important; }
    .small-block-grid-9 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-9 > li:nth-of-type(9n+1) {
        clear: both; }

    .small-block-grid-10 > li {
        width: 10%;
        padding: 0 10px 10px !important; }
    .small-block-grid-10 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-10 > li:nth-of-type(10n+1) {
        clear: both; }

    .small-block-grid-11 > li {
        width: 9.09091%;
        padding: 0 10px 10px !important; }
    .small-block-grid-11 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-11 > li:nth-of-type(11n+1) {
        clear: both; }

    .small-block-grid-12 > li {
        width: 8.33333%;
        padding: 0 10px 10px !important; }
    .small-block-grid-12 > li:nth-of-type(n) {
        clear: none; }
    .small-block-grid-12 > li:nth-of-type(12n+1) {
        clear: both; }
}
@media only screen and (min-width: 48em) {
    /* Remove small grid clearing */
    .small-block-grid-1 > li:nth-of-type(1n+1) {
        clear: none; }

    .small-block-grid-2 > li:nth-of-type(2n+1) {
        clear: none; }

    .small-block-grid-3 > li:nth-of-type(3n+1) {
        clear: none; }

    .small-block-grid-4 > li:nth-of-type(4n+1) {
        clear: none; }

    .small-block-grid-5 > li:nth-of-type(5n+1) {
        clear: none; }

    .small-block-grid-6 > li:nth-of-type(6n+1) {
        clear: none; }

    .small-block-grid-7 > li:nth-of-type(7n+1) {
        clear: none; }

    .small-block-grid-8 > li:nth-of-type(8n+1) {
        clear: none; }

    .small-block-grid-9 > li:nth-of-type(9n+1) {
        clear: none; }

    .small-block-grid-10 > li:nth-of-type(10n+1) {
        clear: none; }

    .small-block-grid-11 > li:nth-of-type(11n+1) {
        clear: none; }

    .small-block-grid-12 > li:nth-of-type(12n+1) {
        clear: none; }

    .large-block-grid-1 > li {
        width: 100%;
        padding: 0 10px 10px !important; }
    .large-block-grid-1 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-1 > li:nth-of-type(1n+1) {
        clear: both; }

    .large-block-grid-2 > li {
        width: 50%;
        padding: 0 10px 10px !important; }
    .large-block-grid-2 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-2 > li:nth-of-type(2n+1) {
        clear: both; }

    .large-block-grid-3 > li {
        width: 33.33333%;
        padding: 0 10px 10px !important; }
    .large-block-grid-3 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-3 > li:nth-of-type(3n+1) {
        clear: both; }

    .large-block-grid-4 > li {
        width: 25%;
        padding: 0 10px 10px !important; }
    .large-block-grid-4 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-4 > li:nth-of-type(4n+1) {
        clear: both; }

    .large-block-grid-5 > li {
        width: 20%;
        padding: 0 10px 10px !important; }
    .large-block-grid-5 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-5 > li:nth-of-type(5n+1) {
        clear: both; }

    .large-block-grid-6 > li {
        width: 16.66667%;
        padding: 0 10px 10px !important; }
    .large-block-grid-6 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-6 > li:nth-of-type(6n+1) {
        clear: both; }

    .large-block-grid-7 > li {
        width: 14.28571%;
        padding: 0 10px 10px !important; }
    .large-block-grid-7 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-7 > li:nth-of-type(7n+1) {
        clear: both; }

    .large-block-grid-8 > li {
        width: 12.5%;
        padding: 0 10px 10px !important; }
    .large-block-grid-8 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-8 > li:nth-of-type(8n+1) {
        clear: both; }

    .large-block-grid-9 > li {
        width: 11.11111%;
        padding: 0 10px 10px !important; }
    .large-block-grid-9 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-9 > li:nth-of-type(9n+1) {
        clear: both; }

    .large-block-grid-10 > li {
        width: 10%;
        padding: 0 10px 10px !important; }
    .large-block-grid-10 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-10 > li:nth-of-type(10n+1) {
        clear: both; }

    .large-block-grid-11 > li {
        width: 9.09091%;
        padding: 0 10px 10px !important; }
    .large-block-grid-11 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-11 > li:nth-of-type(11n+1) {
        clear: both; }

    .large-block-grid-12 > li {
        width: 8.33333%;
        padding: 0 10px 10px !important; }
    .large-block-grid-12 > li:nth-of-type(n) {
        clear: none; }
    .large-block-grid-12 > li:nth-of-type(12n+1) {
        clear: both; }
}

/* Foundation Switches */
@media only screen {
    div.switch, div.switch:before, div.switch:after,
    div.switch *, div.switch *:before, div.switch *:after {
        -moz-box-sizing: border-box !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important; }
    div.switch {
        position: relative;
        width: 100%;
        padding: 0;
        display: block;
        overflow: hidden;
        border-style: solid;
        border-width: 1px;
        font-size: 16px;
        margin-bottom: 1.25em;
        -webkit-animation: webkitSiblingBugfix infinite 1s;
        height: 36px;
        background: white;
        border-color: #cccccc; }
    div.switch label {
        position: relative;
        left: 0;
        z-index: 2;
        float: left;
        width: 50%;
        height: 100%;
        margin: 0;
        font-weight: bold;
        text-align: left;
        -webkit-transition: all 0.1s ease-out;
        -moz-transition: all 0.1s ease-out;
        transition: all 0.1s ease-out; }
    div.switch input {
        position: absolute;
        z-index: 3;
        opacity: 0;
        width: 100%;
        height: 100%;
        -moz-appearance: none; }
    div.switch input:hover, div.switch input:focus {
        cursor: pointer; }
    div.switch > span {
        position: absolute;
        top: -1px;
        left: -1px;
        z-index: 1;
        display: block;
        padding: 0;
        border-width: 1px;
        border-style: solid;
        -webkit-transition: all 0.1s ease-out;
        -moz-transition: all 0.1s ease-out;
        transition: all 0.1s ease-out; }
    div.switch input:not(:checked) + label {
        opacity: 0; }
    div.switch input:checked {
        display: none !important; }
    div.switch input {
        left: 0;
        display: block !important; }
    div.switch input:first-of-type + label,
    div.switch input:first-of-type + span + label {
        left: -50%; }
    div.switch input:first-of-type:checked + label,
    div.switch input:first-of-type:checked + span + label {
        left: 0%; }
    div.switch input:last-of-type + label,
    div.switch input:last-of-type + span + label {
        right: -50%;
        left: auto;
        text-align: right; }
    div.switch input:last-of-type:checked + label,
    div.switch input:last-of-type:checked + span + label {
        right: 0%;
        left: auto; }
    div.switch span.custom {
        display: none !important; }
    div.switch label {
        padding: 0 0.375em;
        line-height: 2.3em;
        font-size: 0.875em; }
    div.switch input:first-of-type:checked ~ span {
        left: 100%;
        margin-left: -2.1875em; }
    div.switch > span {
        width: 2.25em;
        height: 2.25em; }
    div.switch > span {
        border-color: #b3b3b3;
        background: white;
        background: -moz-linear-gradient(top, white 0%, #f2f2f2 100%);
        background: -webkit-linear-gradient(top, white 0%, #f2f2f2 100%);
        background: linear-gradient(to bottom, white 0%, #f2f2f2 100%);
        -webkit-box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.07), 1000px 0 0 1000px #e1f5d1, -2px 0 10px 0 rgba(0, 0, 0, 0.07), -1000px 0 0 1000px whitesmoke;
        box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.07), 1000px 0 0 980px #e1f5d1, -2px 0 10px 0 rgba(0, 0, 0, 0.07), -1000px 0 0 1000px whitesmoke; }
    div.switch:hover > span, div.switch:focus > span {
        background: white;
        background: -moz-linear-gradient(top, white 0%, #e6e6e6 100%);
        background: -webkit-linear-gradient(top, white 0%, #e6e6e6 100%);
        background: linear-gradient(to bottom, white 0%, #e6e6e6 100%); }
    div.switch:active {
        background: transparent; }
    div.switch.large {
        height: 44px; }
    div.switch.large label {
        padding: 0 0.375em;
        line-height: 2.3em;
        font-size: 1.0625em; }
    div.switch.large input:first-of-type:checked ~ span {
        left: 100%;
        margin-left: -2.6875em; }
    div.switch.large > span {
        width: 2.75em;
        height: 2.75em; }
    div.switch.small {
        height: 28px; }
    div.switch.small label {
        padding: 0 0.375em;
        line-height: 2.1em;
        font-size: 0.75em; }
    div.switch.small input:first-of-type:checked ~ span {
        left: 100%;
        margin-left: -1.6875em; }
    div.switch.small > span {
        width: 1.75em;
        height: 1.75em; }
    div.switch.tiny {
        height: 22px; }
    div.switch.tiny label {
        padding: 0 0.375em;
        line-height: 1.9em;
        font-size: 0.6875em; }
    div.switch.tiny input:first-of-type:checked ~ span {
        left: 100%;
        margin-left: -1.3125em; }
    div.switch.tiny > span {
        width: 1.375em;
        height: 1.375em; }
    div.switch.radius {
        -webkit-border-radius: 4px;
        border-radius: 4px; }
    div.switch.radius > span {
        -webkit-border-radius: 3px;
        border-radius: 3px; }
    div.switch.round {
        -webkit-border-radius: 1000px;
        border-radius: 1000px; }
    div.switch.round > span {
        -webkit-border-radius: 999px;
        border-radius: 999px; }
    div.switch.round label {
        padding: 0 0.5625em; }

    @-webkit-keyframes webkitSiblingBugfix {
        from {
            position: relative; }

        to {
            position: relative; } } }