@font-face {
    font-family: muliregular;
    src: url('//cdn.100procent.com/fonts/muli/muli-regular-webfont.eot');
    src: url('//cdn.100procent.com/fonts/muli/muli-regular-webfont.eot?#iefix') format('embedded-opentype'), url('//cdn.100procent.com/fonts/muli/muli-regular-webfont.woff2') format('woff2'), url('//cdn.100procent.com/fonts/muli/muli-regular-webfont.woff') format('woff'), url('//cdn.100procent.com/fonts/muli/muli-regular-webfont.ttf') format('truetype'), url('//cdn.100procent.com/fonts/muli/muli-regular-webfont.svg#source_sans_probold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: mulilight;
    src: url('//cdn.100procent.com/fonts/muli/muli-light-webfont.eot');
    src: url('//cdn.100procent.com/fonts/muli/muli-light-webfont.eot?#iefix') format('embedded-opentype'), url('//cdn.100procent.com/fonts/muli/muli-light-webfont.woff2') format('woff2'), url('//cdn.100procent.com/fonts/muli/muli-light-webfont.woff') format('woff'), url('//cdn.100procent.com/fonts/muli/muli-light-webfont.ttf') format('truetype'), url('//cdn.100procent.com/fonts/muli/muli-light-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 62.5%;
}

body {
    font-family: muliregular;
    font-size: 1.8rem;
    line-height: 1.2;
    color: #4c4c4c;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: #4c4c4c;
    line-height: 1.4;
}

h1 {
    font-family: mulilight;
    font-size: 4.1rem;
    margin: 1.5rem 0 0.2rem;
}

h2 {
    font-family: mulilight;
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 1.5rem 0 0.2rem;
}

h3 {
    font-family: mulilight;
    font-size: 2.3rem;
    margin: 1.5rem 0 0.2rem;
}

h4 {
    font-family: mulilight;
    font-size: 2.1rem;
    margin: 1.0rem 0 0.2rem;
}

h5 {
    font-family: mulilight;
    font-size: 1.9rem;
    margin: 1.0rem 0 0.2rem;
}

h6 {
    font-family: mulilight;
    font-size: 1.7rem;
    margin: 1.0rem 0 0.2rem;
}

a {
    color: #00707a;
}

    a:hover {
        opacity: .9;
    }

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #4a4a4a;
}


/* BUTTONS */
.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 8px 30px;
    font-size: 14px;
    line-height: 1.428571429;
    border-radius: 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .btn:focus,
    .btn:active:focus,
    .btn.active:focus,
    .btn.focus,
    .btn:active.focus,
    .btn.active.focus {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .btn:hover,
    .btn:focus,
    .btn.focus {
        color: #ffffff;
        text-decoration: none;
    }

    .btn:active,
    .btn.active {
        outline: 0;
        background-image: none;
        -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }

    .btn.disabled,
    .btn[disabled],
    fieldset[disabled] .btn {
        cursor: not-allowed;
        pointer-events: none;
        opacity: 0.65;
        filter: alpha(opacity=65);
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.btn-default {
    color: #fff;
    background-color: #e6007e;
    border-color: #e6007e;
}

    .btn-default:hover,
    .btn-default:focus,
    .btn-default.focus,
    .btn-default:active,
    .btn-default.active,
    .open > .dropdown-toggle.btn-default {
        color: #fff;
        background-color: #e6007e;
        border-color: #e6007e;
        opacity: 0.9;
    }

    .btn-default:active,
    .btn-default.active,
    .open > .dropdown-toggle.btn-default {
        background-image: none;
    }

    .btn-default.disabled,
    .btn-default[disabled],
    fieldset[disabled] .btn-default,
    .btn-default.disabled:hover,
    .btn-default[disabled]:hover,
    fieldset[disabled] .btn-default:hover,
    .btn-default.disabled:focus,
    .btn-default[disabled]:focus,
    fieldset[disabled] .btn-default:focus,
    .btn-default.disabled.focus,
    .btn-default[disabled].focus,
    fieldset[disabled] .btn-default.focus,
    .btn-default.disabled:active,
    .btn-default[disabled]:active,
    fieldset[disabled] .btn-default:active,
    .btn-default.disabled.active,
    .btn-default[disabled].active,
    fieldset[disabled] .btn-default.active {
        background-color: #ffffff;
        border-color: #ffffff;
    }

    .btn-default .badge {
        color: #000;
        background-color: #ffffff;
    }

.btn-primary {
    color: #ffffff;
    background-color: #7ccef4;
    border-color: #7ccef4;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.focus,
    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        color: #ffffff;
        background-color: #67b0d2;
        border-color: #2d5568;
    }

    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        background-image: none;
    }

    .btn-primary.disabled,
    .btn-primary[disabled],
    fieldset[disabled] .btn-primary,
    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary.focus,
    .btn-primary.disabled:active,
    .btn-primary[disabled]:active,
    fieldset[disabled] .btn-primary:active,
    .btn-primary.disabled.active,
    .btn-primary[disabled].active,
    fieldset[disabled] .btn-primary.active {
        background-color: #7ccef4;
        border-color: #7ccef4;
    }

    .btn-primary .badge {
        color: #7ccef4;
        background-color: #ffffff;
    }

.btn-success {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
}

    .btn-success:hover,
    .btn-success:focus,
    .btn-success.focus,
    .btn-success:active,
    .btn-success.active,
    .open > .dropdown-toggle.btn-success {
        color: #ffffff;
        background-color: #333333;
        border-color: #333333;
    }

    .btn-success:active,
    .btn-success.active,
    .open > .dropdown-toggle.btn-success {
        background-image: none;
    }

    .btn-success.disabled,
    .btn-success[disabled],
    fieldset[disabled] .btn-success,
    .btn-success.disabled:hover,
    .btn-success[disabled]:hover,
    fieldset[disabled] .btn-success:hover,
    .btn-success.disabled:focus,
    .btn-success[disabled]:focus,
    fieldset[disabled] .btn-success:focus,
    .btn-success.disabled.focus,
    .btn-success[disabled].focus,
    fieldset[disabled] .btn-success.focus,
    .btn-success.disabled:active,
    .btn-success[disabled]:active,
    fieldset[disabled] .btn-success:active,
    .btn-success.disabled.active,
    .btn-success[disabled].active,
    fieldset[disabled] .btn-success.active {
        background-color: #333333;
        border-color: #333333;
    }

    .btn-success .badge {
        color: #a2b35c;
        background-color: #000000;
    }

.btn-info {
    color: #ffffff;
    background-color: #73bcc5;
    border-color: #73bcc5;
}

    .btn-info:hover,
    .btn-info:focus,
    .btn-info.focus,
    .btn-info:active,
    .btn-info.active,
    .open > .dropdown-toggle.btn-info {
        color: #ffffff;
        background-color: #4fabb6;
        border-color: #49a6b1;
    }

    .btn-info:active,
    .btn-info.active,
    .open > .dropdown-toggle.btn-info {
        background-image: none;
    }

    .btn-info.disabled,
    .btn-info[disabled],
    fieldset[disabled] .btn-info,
    .btn-info.disabled:hover,
    .btn-info[disabled]:hover,
    fieldset[disabled] .btn-info:hover,
    .btn-info.disabled:focus,
    .btn-info[disabled]:focus,
    fieldset[disabled] .btn-info:focus,
    .btn-info.disabled.focus,
    .btn-info[disabled].focus,
    fieldset[disabled] .btn-info.focus,
    .btn-info.disabled:active,
    .btn-info[disabled]:active,
    fieldset[disabled] .btn-info:active,
    .btn-info.disabled.active,
    .btn-info[disabled].active,
    fieldset[disabled] .btn-info.active {
        background-color: #73bcc5;
        border-color: #73bcc5;
    }

    .btn-info .badge {
        color: #73bcc5;
        background-color: #ffffff;
    }

.btn-warning {
    color: #ffffff;
    background-color: #e9a839;
    border-color: #e9a839;
}

    .btn-warning:hover,
    .btn-warning:focus,
    .btn-warning.focus,
    .btn-warning:active,
    .btn-warning.active,
    .open > .dropdown-toggle.btn-warning {
        color: #ffffff;
        background-color: #d79018;
        border-color: #ce8a17;
    }

    .btn-warning:active,
    .btn-warning.active,
    .open > .dropdown-toggle.btn-warning {
        background-image: none;
    }

    .btn-warning.disabled,
    .btn-warning[disabled],
    fieldset[disabled] .btn-warning,
    .btn-warning.disabled:hover,
    .btn-warning[disabled]:hover,
    fieldset[disabled] .btn-warning:hover,
    .btn-warning.disabled:focus,
    .btn-warning[disabled]:focus,
    fieldset[disabled] .btn-warning:focus,
    .btn-warning.disabled.focus,
    .btn-warning[disabled].focus,
    fieldset[disabled] .btn-warning.focus,
    .btn-warning.disabled:active,
    .btn-warning[disabled]:active,
    fieldset[disabled] .btn-warning:active,
    .btn-warning.disabled.active,
    .btn-warning[disabled].active,
    fieldset[disabled] .btn-warning.active {
        background-color: #e9a839;
        border-color: #e9a839;
    }

    .btn-warning .badge {
        color: #e9a839;
        background-color: #ffffff;
    }

.btn-danger {
    color: #ffffff;
    background-color: #8f0a0a;
    border-color: #8f0a0a;
}

    .btn-danger:hover,
    .btn-danger:focus,
    .btn-danger.focus,
    .btn-danger:active,
    .btn-danger.active,
    .open > .dropdown-toggle.btn-danger {
        color: #ffffff;
        background-color: #5f0707;
        border-color: #560606;
    }

    .btn-danger:active,
    .btn-danger.active,
    .open > .dropdown-toggle.btn-danger {
        background-image: none;
    }

    .btn-danger.disabled,
    .btn-danger[disabled],
    fieldset[disabled] .btn-danger,
    .btn-danger.disabled:hover,
    .btn-danger[disabled]:hover,
    fieldset[disabled] .btn-danger:hover,
    .btn-danger.disabled:focus,
    .btn-danger[disabled]:focus,
    fieldset[disabled] .btn-danger:focus,
    .btn-danger.disabled.focus,
    .btn-danger[disabled].focus,
    fieldset[disabled] .btn-danger.focus,
    .btn-danger.disabled:active,
    .btn-danger[disabled]:active,
    fieldset[disabled] .btn-danger:active,
    .btn-danger.disabled.active,
    .btn-danger[disabled].active,
    fieldset[disabled] .btn-danger.active {
        background-color: #8f0a0a;
        border-color: #8f0a0a;
    }

    .btn-danger .badge {
        color: #8f0a0a;
        background-color: #ffffff;
    }

.btn-link {
    color: #7ccef4;
    font-weight: normal;
    border-radius: 0;
}

    .btn-link,
    .btn-link:active,
    .btn-link.active,
    .btn-link[disabled],
    fieldset[disabled] .btn-link {
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .btn-link,
        .btn-link:hover,
        .btn-link:focus,
        .btn-link:active {
            border-color: transparent;
        }

            .btn-link:hover,
            .btn-link:focus {
                color: #052b2e;
                text-decoration: underline;
                background-color: transparent;
            }

            .btn-link[disabled]:hover,
            fieldset[disabled] .btn-link:hover,
            .btn-link[disabled]:focus,
            fieldset[disabled] .btn-link:focus {
                color: #777777;
                text-decoration: none;
            }

.btn-lg,
.btn-group-lg > .btn {
    padding: 10px 50px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 2px;
}

.btn-sm,
.btn-group-sm > .btn {
    padding: 5px 15px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 2px;
}

.btn-xs,
.btn-group-xs > .btn {
    padding: 1px 10px;
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 1.5;
    border-radius: 2px;
}

.btn-block {
    display: block;
    width: 100%;
}

    .btn-block + .btn-block {
        margin-top: 5px;
    }

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
    width: 100%;
}

#footer .creme a {
    color: #fff;
}

.start
{
    overflow: hidden;
}

body.main .start .overlay
{
    position: absolute;
    left: 31%;
    top: 22%;
    width: 100%;
    height: 100%;
}

body.sub .start .overlay
{
    position: absolute;
    left: 0;
    top: 22%;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 8vw;
    line-height: 1;
    text-align: center;
}

.start .overlay img
{
    width: 38%;
    height: auto;
}

body.main .start .trassel
{
    position:absolute;
    top: -4vw;
    left: 0;
}

body.sub .start .trassel
{
    position:absolute;
    top: 17vw;
    left: 0;
}.thumbnail,
.img-thumbnail
{
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}

.btn-top-margin
{
    margin-top: 10px;
}

body .top-container
{
    margin: 0 auto;
}

html, body
{
    height: 100%;
    width: 100%;
}

@media(max-width: 767px)
{
    #top
    {
        display: none;
    }

    body.main .welcome
    {
        width: inherit !important;
    }

    body.main .welcome,
    body.sub .body
    {
        padding: 1em;
    }
}

@media(min-width: 768px) and (max-width: 991px)
{
    #top,
    body.sub .body
    {
        width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(min-width: 992px) and (max-width: 1023px)
{
    #top,
    body.sub .body
    {
        width: 970px;
        margin-left: auto;
        margin-right: auto;
    }

    #top
    {
        width: 970px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(min-width: 1024px) and (max-width: 1199px)
{
    #top,
    body.sub .body
    {
        width: 1002px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(min-width: 1200px) and (max-width: 2539px)
{
    #top,
    body.sub .body
    {
        width: 1170px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(min-width: 2540px)
{
    #top
    {
        width: 2510px;
        margin-left: auto;
        margin-right: auto;
    }
}

.search-widget input {
    border: 0;
    height: 2em;
    color: #4c4c4c;
    line-height: 1 !important;
    font-size: inherit !important;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

.search-widget .btn-secondary,
.search-widget .btn-secondary:hover,
.search-widget .btn-secondary:focus,
.search-widget .btn-secondary:active {
    color: #a6a6a5;
    line-height: 1;
    text-shadow: none;
    background-image: none;
    border: 0;
    box-shadow: none;
    background: none;
}


@media(max-width: 768px)
{
    body
    {
        padding-top: 0;
    }
}

@media (max-width: 767px)
{
    #site-inner-wrapper
    {
        position: relative;
    }
}

/* MENU */
@media (max-width: 767px)
{
    .mainmenu
    {
        font-size: 120%;
        line-height: 1;
    }
}

@media (min-width: 768px)
{
    .mainmenu,
    .mainmenu .list
    {
        width: 34rem;
    }
}

.mainmenu
{
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    color: #2a2621;
}

.mainmenu .logo > div
{
    height: 1.8em;
    background: url("/Content/themes/fysiolabbet/images/logo.svg") no-repeat;
    background-size: auto 100%;
    background-position: center center;
}

.mainmenu .search
{
    background: #aa9b86;
}

.mainmenu .search-popup button
{
  background: #e6007e !important;
  border: none;
  color: #fff;
}


.mainmenu input[type=text]
{
    color: #4c4c4c;
}

.mainmenu .title
{
    position: relative;
}

.mainmenu .toggle
{
    position: absolute;
    bottom: 0.5em;
}

.mainmenu .list
{
    position: absolute;
}

.mainmenu h3
{
    font-size: 10px;
}

.mainmenu .list
{
    background: #000;
}

.mainmenu .title a
{
    color: #ffffff;
    margin-bottom: 10px;
}

.mainmenu .list a
{
    color: #fff;
}

.mainmenu .item
{
    border-bottom: 1px solid #fff;
    padding: 0.6em;
}

.mainmenu .item .expander
{
    width: 1.1em;
    height: 1.1em;
    background: url("/Content/CSS/Images/mainmenu_expander.svg") no-repeat;
    background-size: 1.1em 1.1em;
    position: absolute;
    transition: transform 0 ease-in-out 0.2s;
    top: 0em;
    right: 0;
}

.mainmenu a
{
    text-decoration: none;
}

.mainmenu .item .expander:hover
{
    opacity: 0.8;
}

.mainmenu a.active
{
    color: #aa9b86;
}

.mainmenu a.navigate-to
{
    color: #e6dfd6;
}

.mainmenu a.navigate-to:hover
{
    opacity: 1;
}

.mainmenu .pad
{
    display: inline-block;
    width: 10px;
}

/* END MENU */

@media (max-width: 767px)
{
    #logo
    {
        display: none;
    }

    .logo > div
    {
        width: 40vw !important;
        max-width: 190px;
        height: 100%;
        margin: 0 auto;
        background: url("/Content/themes/fysiolabbet/images/logo.svg") no-repeat !important;
        background-size: 100% auto !important;
        background-position: center center !important;
    }

    .navbar-default
    {
        margin-top: 0;
    }

    .puffar > div
    {
        margin-bottom: 2px;
    }
}

.btn span.glyphicons
{
    text-shadow: none;
    color: #fff;
}

.glyphicons
{
    text-shadow: none;
}

.glyphicons-red
{
    color: #ff0000;
}

.glyphicons-green
{
    color: #239C23;
}

.pointer
{
    cursor: pointer;
}

label
{
    margin-bottom: 0;
}

@media(max-width: 767px)
{
    .body-content
    {
        min-height: 275px;
    }
}

@media(min-width: 768px)
{
    .body-content
    {
        min-height: 500px;
    }
}

@media(min-width: 768px)
{
    #sub-menu
    {
        min-height: 350px;
    }
}

#content-bottom a, #content a
{
    text-decoration: none;
}

#content-bottom
{
    padding: 40px 0;
}


#content-wrapper
{
    padding: 0;
}

#footer
{
    color: #797979;
    min-height: 20px;
}

#footer a
{
    color: #797979;
}

#footer > *
{
    color: inherit;
}

.text-smaller
{
    font-size: smaller;
}

.text-normal
{
    font-weight: normal;
}

.text-bold
{
    font-weight: bold;
}

.label-bottom
{
    padding-top: 10px;
    margin-left: 2px;
}

#contact-form td
{
    padding: 5px 10px;
}

#contact-form > tbody > tr > td:first-child
{
    font-weight: bold;
}

.recaptcha-error
{
    color: #ff0000;
}

.search-widget {
    z-index: 10;
    padding: 0.6em;
    background: #000;
    width: 20em;
    position: fixed;
    top: 30%;
    right: -17.9em;
    transition: right 0.05s ease-in-out 0.05s;
}

.search-widget .glyphicons-search
{
    font-size: 200% !important;
    float: left;
    top: 0;
    margin: 0 0.4em 0 0;
    font-weight: normal;
    color: #fff;
}

.btn-sm
{
    font-size: inherit !important;
}

.search-widget .glyphicons-chevron-right
{
    font-size: 160% !important;
}

.search-widget .btn
{
    padding: 0;
}

.search-widget .input-group
{
    background: none;
}

.search-widget .btn
{
    color: #a6a6a5;
    background-image: none;
    border: 0;
    margin-left: 0.4em !important;
    background: none;
    outline: 0;
}


.form-control
{
    box-shadow: none;
}

.search-open
{
    right: 0;
}

.search-widget .input-group-btn
{
    background: none;
}

.input-group-btn
{
    font-size: inherit !important;
}

#search-term
{
    display: none;
}

#search-results
{
    margin-top: 10px;
}

#search-results .hits
{
    padding-left: 35px;
}

#search-results .separator
{
    margin-top: 25px;
    margin-bottom: 20px;
    border-bottom: 2px dotted #000000;
    margin-left: -30px;
}

#search-results .no-search-hits
{
    font-style: italic;
    color: #000;
    margin-left: 17px;
    margin-bottom: 20px;
}

#search-results .heading
{
    border-top: 3px solid #000;
    height: 20px;
    background: #f4f4f4;
    padding-left: 17px;
    padding-top: 5px;
    padding-bottom: 7px;
    font-weight: bold;
    font-size: 14px;
}

#search-results .hit-title
{
    color: #000;
}

#search-results .hit-title a
{
    text-decoration: none;
}

#search-results .hit-title:hover
{
    text-decoration: underline;
}

#search-results .excerpt
{
    color: #000000;
}

.search-section
{
    margin-bottom: 20px;
}

span.search-results
{
    color: #000000;
    font-size: 28px;
}

#search-results ul
{
    list-style: decimal;
}

#contact-form table
{
    table-layout: fixed;
    width: 100%;
}

#contact-form td.answer input[type=text],
#contact-form td.answer textarea,
#contact-form #recaptcha_widget_div
{
    width: 100% !important;
}

.message
{
    margin-top: 10px;
}

.message strong
{
    font-weight: normal;
    font-size: 22px;
    font-size: 2.2rem;
}

.message span
{
    font-size: 16px;
    font-size: 1.6rem;
    text-transform: capitalize;
    margin-bottom: 5px;
}

.news-plainlistning-container
{
    background: #eaeaea;
}

.news-plainlistning-headline
{
    font-size: 16px;
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 10px;
    background: #000;
}


.news-plainlistning-footer
{
    font-size: 16px;
    font-size: 1.6rem;
    padding: 10px;
    background: #000;
}

.news-plainlistning-footer a
{
    color: #fff;
}

.news-item-date
{
    padding: 0 10px;
}

.news-item-headline
{
    padding: 0 10px;
}

.news-item
{
    border-bottom: 1px solid #fff;
}

.news-item a
{
    margin-left: 10px;
}

.events-wrapper
{
    background: #A5B397;
}

/* Vertical Center - http://jsfiddle.net/hashem/ut5sbqvz/ */
.vertical-center
{
    min-height: 100%; /* Fallback for vh unit */
    min-height: 100vh; /* You might also want to use
                        'height' property instead.
                        
                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.
  
                        In this case the parent of '.vertical-center'
                        is the <body> element */
    /* Make it a flex container */
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /* Align the bootstrap's container vertically */
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */
    width: 100%;
    /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.
  
     Therefore, we should use the following declarations to get it centered again */
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
}

p.preamble
{
    font-family: 'Libre Baskerville Roman';
    font-size: 20px;
    font-size: 2.0rem;
    line-height: 35px;
    line-height: 3.5rem;
    margin: 10px 0 2px;
    margin: 1rem 0 .2rem;
}

@media (max-width: 767px)
{
    p.preamble
    {
        font-size: 18px;
        font-size: 1.8rem;
        line-height: 32px;
        line-height: 3.2rem;
    }
}

p.caption
{
    font-family: "Century Gothic", Futura, AppleGothic, Helvetica, sans-serif;
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 24px;
    line-height: 2.4rem;
}


/* LABELS */
.label
{
    display: inline;
    padding: .3em 1.5em .3em;
    font-size: 75%;
    font-weight: normal;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

a.label:hover,
a.label:focus
{
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.label:empty
{
    display: none;
}

.btn .label
{
    position: relative;
    top: -1px;
}

.label-default
{
    background-color: #777777;
}

.label-default[href]:hover,
.label-default[href]:focus
{
    background-color: #5e5e5e;
}

.label-primary
{
    background-color: #7ccef4;
}

.label-primary[href]:hover,
.label-primary[href]:focus
{
    background-color: #7ccef4;
}

.label-success
{
    background-color: #a2b35c;
}

.label-success[href]:hover,
.label-success[href]:focus
{
    background-color: #869646;
}

.label-info
{
    background-color: #73bcc5;
}

.label-info[href]:hover,
.label-info[href]:focus
{
    background-color: #4fabb6;
}

.label-warning
{
    background-color: #e9a839;
}

.label-warning[href]:hover,
.label-warning[href]:focus
{
    background-color: #d79018;
}

.label-danger
{
    background-color: #8f0a0a;
}

.label-danger[href]:hover,
.label-danger[href]:focus
{
    background-color: #5f0707;
}

/* Search Page */
#search-result-page-contents
{
    margin-top: 30px;
}

@media (min-width: 768px) and (max-width: 1169px)
{
    #image-overlay
    {
        position: relative;
        padding-top: 100px;
        width: 100%;
    }
}

.tooltip-inner
{
    background-color: #F3E1E1;
}


#branding100
{
    display: none;
}

#site-inner-wrapper
{
    background: #000000;
}

#top,
.mainmenu .title
{
    height: 5em;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
}

#site-wrapper > div.container-fluid
{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.main .welcome a.button
{
    background: #e6007e;
    color: #fff;
    display: inline-block;
    padding: 1em 3em;
    margin-top: 1em;
    margin-bottom: 1.2em;
}

.phone
{
    color: #95c11f;
    font-size: 180%;
    margin-top: 0.6em;
}

div.puffar
{
    margin-bottom: 2.6rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

div.puffar > div
{
    padding-left: 1px !important;
    padding-right: 1px !important;
}

@media (max-width: 767px)
{
    div.puffar h1
    {
        font-size: 4.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px)
{
    div.puffar h1
    {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-top: 0;
    }

    div.puffar
    {
        font-size: 1.2rem;
        line-height: 1.2
    }
}

@media (min-width: 992px)
{
    div.puffar h1
    {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-top: 0;
    }

    div.puffar
    {
        font-size: 1.3rem;
        line-height: 1.2
    }
}

.social-links img
{
    width: 2.0em;
    height: 2.0em;
    min-width: 1cm;
    min-height: 1cm;
    margin-left: 1px;
    margin-right: 1px;
}

body.main .welcome
{
    width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

div.social-links
{
    display: inline-block;
    font-weight: bold;
    margin-top: 50px;
}

div.social-links table
{
    margin-top: 20px;
    margin-bottom: 50px;
}

div.contact
{
    text-align: center;
}

#footer
{
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.input-sm
{
    font-size: inherit !important;
    padding: 1em !important;
}

::-webkit-input-placeholder
{
    line-height: normal;
}

:-moz-placeholder
{
    line-height: normal;
}

:-ms-input-placeholder
{
    line-height: normal;
}


/* Tile */

div.tile-default-content {
    top: 0 !important;
    box-sizing: border-box;
    display: table;
}

.tile-hover
{
    background: #000;
    background: rgba(0, 0, 0, .8);
}

div.tile {
    height: 100%;
    position: relative;
    box-sizing: border-box;
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 0 !important;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

div.tile-overlay {
    display: none; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;    
    background-color: #000;
    background-color: rgba(0, 0, 0, .6);
    background-position: center;
    background-size: cover;
}

div.tile-default-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    color: #fff;
    text-align: center;  
}

div.tile-default-content > div,
div.tile-content > div
{
    display: table-cell;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
}

div.tile-default-content h1,
div.tile-default-content h2,
div.tile-default-content h3,
div.tile-default-content h4,
div.tile-default-content h5,
div.tile-default-content h6 {
    margin-top: 0;
    color: #fff;
}

div.tile-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
}

div.tile-content h1,
div.tile-content h2,
div.tile-content h3,
div.tile-content h4,
div.tile-content h5,
div.tile-content h6,
div.tile-content a,
div.tile-default-content a {
    margin-top: 0;
    color: #fff;
}


/* Tile Hover */
div.tile:hover > div.tile-default-content {
    display: none;
}

div.tile:hover > div.tile-overlay {
    display: table !important;
}
div.tile:hover > div.tile-content {
    display: table !important;
}

/* Tile Touch */
html.touch div.tile-default-content {
    display: none;
}

html.touch div.tile-overlay {
    display: table !important;
}

html.touch div.tile-content {
    display: table !important;
}

#logo-div
{
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    height: 100%;
    vertical-align: middle;
}

#logo-div a
{
    height: 100%;
    display: block;
}

#logo
{
    height: 100%;
}
