﻿#logo
{
    text-align: center;
    padding: 2px;
}

@media screen and (max-width: 2500px)
{
    .floatLeft
    {
        float: left;
        padding: 0px 10px 10px 0px;
    }
}

@media screen and (max-width: 700px)
{
    .floatLeft
    {
        float: none;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 2500px)
{
    .floatRight
    {
        float: right;
        padding: 0px 0px 10px 10px;
    }
}

@media screen and (max-width: 700px)
{
    .floatRight
    {
        float: none;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 2500px)
{ 
    .article_media
    {
        float: left;
        width: 251px;
        font-size: 12px;
        color: #4d4d4d;
        border-bottom: 1px solid #b7b7b7;
        margin: 4px 13px 10px 0;
    }
}

@media screen and (max-width: 700px)
{
    .article_media
    {
        float: none;
        text-align: center;
        width: 100%;
        font-size: 12px;
        color: #4d4d4d;
        border-bottom: 1px solid #b7b7b7;
        margin-left: auto;
        margin-right: auto;
    }
}

.byline
{
    display: block;
    margin-bottom: 20px;
}

@media screen and (max-width: 2500px)
{
    .articleImageInlineLeft
    {
        float: left;
        margin: 0 10px 10px 0;
        clear: left;
    }
}

@media screen and (max-width: 1200px)
{
    .articleImageInlineLeft
    {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }
    
    .articleImageInlineLeft img
    {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 700px)
{
    .articleImageInlineLeft
    {
        width: 100%;
        text-align: center;
    }
    
    .articleImageInlineLeft img
    {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 400px)
{
    .articleImageInlineLeft
    {
        width: 100%;
        text-align: center;
    }
    
    .articleImageInlineLeft img
    {
        width: 100%;
        height: auto;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 350px)
{
    .articleImageInlineLeft
    {
        width: 100%;
        text-align: center;
    }
    
    .articleImageInlineLeft img
    {
        width: 100%;
        height: auto;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 2500px)
{
    .articleImageInlineRight
    {
        float: right;
        margin: 0 0 10px 10px;
        clear: right;
    }
}

@media screen and (max-width: 700px)
{
    .articleImageInlineRight
    {
        text-align: center;
        width: 100%;
    }
    
    .articleImageInlineRight img
    {
        /*width: 100%;
        height: auto;*/
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 400px)
{
    .articleImageInlineRight
    {
        text-align: center;
        width: 100%;
    }
    
    .articleImageInlineRight img
    {
        width: 100%;
        height: auto;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 300px)
{
    .articleImageInlineRight
    {
        text-align: center;
        width: 100%;
    }
    
    .articleImageInlineRight img
    {
        width: 100%;
        height: auto;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

.validatorError .errorMessage {
    display: block !important;
}

div.errorMessage
{
    display: none;
}

.requiredError div.errorMessage, .validatorError div.errorMessage
{
    color: #F00000;
    display: block;
    font-style: italic; /*padding-left: 124px;     font-size: 11px;*/
    font-weight: normal;
    padding-top: 4px;
    padding-bottom: 2px;
}

.bbPhotoCaption
{
    padding: 5px;
    font-size: 12px;
    font-weight: normal;
    line-height: 14px;
    color: #4d4d4d;
    border-bottom: 1px solid #B7B7B7;
}

.bbPhoto.z
{
    color: #666;
    font-size: 11px;
    font-weight: normal;
}

.copyright
{
    padding: 5px;
}

.features li
{
    display: inline-block;
    width: 50%;
}
.features li.ui-li-divider
{
    display: block;
    width: auto;
}
.features li.alternate
{
    border-left: 0;
    margin-right: -3px; /*background-color: Gray;*/
}

.floatedContent .ui-li-desc
{
    white-space: normal;
    overflow: initial;
    font-size: 18px;
    margin: auto;
}

.clear
{
    clear: both;
}

@media screen and (max-width: 2000px)
{
    .beautyImage
    {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 700px)
{
    .beautyImage
    {
        margin-bottom: 15px;
        width: 100%;
    }
}

.genericPagination li
{
    display: inline;
    padding: 0px 12px;
}

.localnav li
{
    display: inline;
}

/************************* Header */

.headerLeft, .headerRight
{
    width: 50%;
    float: left;
    text-align: center;
}

.headerRight .ui-select
{
    padding-top: 15px;
}

.ad
{
    text-align: center;
    padding-top: 10px;
}

p.ui-li-desc
{
    font-size: 14px;
}

@media all and (max-width: 460px)
{
    .headerLeft, .headerRight
    {
        width: auto;
        float: none;
    }

    .headerRight .ui-select
    {
        padding-top: 0px;
        padding-bottom: 5px;
    }

    .headerLeft h3
    {
        -webkit-margin-before: 5px;
        -webkit-margin-after: 5px;
    }

    .article_media
    {
        float: none;
    }

    .features li
    {
        display: block;
        width: auto;
    }

    .features li.alternate
    {
        border-left: 1px;
        margin-right: 0;
    }
}

.ui-header .ui-title, .ui-footer .ui-title
{
    margin-right: 2px;
    margin-left: 2px;
}


/* F
-----------------------------------------------------------------------------------------------------------*/

/******************************** Bars */
.ui-bar-f
{
    border: 0px solid #ccc;
    background: #98012E;
    color: #fff;
    text-shadow: 0 1px 0 #000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#98012E), to(#333)); /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #98012E, #333); /* Chrome 10+, Saf5.1+ */
    background-image: -moz-linear-gradient(top, #98012E, #333); /* FF3.6 */
    background-image: -ms-linear-gradient(top, #98012E, #333); /* IE10 */
    background-image: -o-linear-gradient(top, #98012E, #333); /* Opera 11.10+ */
    background-image: linear-gradient(top, #98012E, #333);
}
.ui-bar-f, .ui-bar-f input, .ui-bar-f select, .ui-bar-f textarea, .ui-bar-f button
{
    font-family: Helvetica, Arial, sans-serif;
}
.ui-bar-f .ui-link-inherit
{
    color: #98012E;
}
.ui-bar-f .ui-link
{
    color: #98012E;
    font-weight: bold;
}

.ui-body-f li
{
    list-style: none;
}

/*
.ui-header 
{
    text-align: center;
}
    
.ui-header .ui-select 
{
    padding-top: 5px;
    padding-bottom: 5px;
}
*/

/************************************** Body */
.ui-body-f
{
    border: 1px solid #ccc;
    color: #333333;
    text-shadow: 0 1px 0 #fff;
    background: #ffffff;
}
.ui-body-f, .ui-body-f input, .ui-body-f select, .ui-body-f textarea, .ui-body-f button
{
    font-family: Helvetica, Arial, sans-serif;
}
.ui-body-f .ui-link-inherit
{
    color: #333333;
}
.ui-body-f .ui-link
{
    color: #98012E;
    font-weight: bold;
}
.ui-footer .ui-link
{
    color: #fff;
    text-decoration: none;
}

/************************************** Button */
.ui-btn-up-f
{
    border: 1px solid #ccc;
    background: #fff;
    font-weight: bold;
    color: #444;
    text-shadow: 0 1px 1px #fff;
}
.ui-btn-up-f a.ui-link-inherit
{
    color: #333;
}
.ui-btn-hover-f
{
    border: 1px solid #aaa;
    background: #eeeeee;
    font-weight: bold;
    color: #222;
    cursor: pointer;
    text-shadow: 0 1px 1px #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#eee)); /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #fdfdfd, #eee); /* Chrome 10+, Saf5.1+ */
    background-image: -moz-linear-gradient(top, #fdfdfd, #eee); /* FF3.6 */
    background-image: -ms-linear-gradient(top, #fdfdfd, #eee); /* IE10 */
    background-image: -o-linear-gradient(top, #fdfdfd, #eee); /* Opera 11.10+ */
    background-image: linear-gradient(top, #fdfdfd, #eee);
}
.ui-btn-hover-f a.ui-link-inherit
{
    color: #222;
}
.ui-btn-down-f
{
    border: 1px solid #aaaaaa;
    background: #ffffff;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 1px #000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#000), to(#98012E)); /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #000, #98012E); /* Chrome 10+, Saf5.1+ */
    background-image: -moz-linear-gradient(top, #000, #98012E); /* FF3.6 */
    background-image: -ms-linear-gradient(top, #000, #98012E); /* IE10 */
    background-image: -o-linear-gradient(top, #000, #98012E); /* Opera 11.10+ */
    background-image: linear-gradient(top, #000, #98012E);
}
.ui-btn-down-f a.ui-link-inherit
{
    color: #fff;
}
.ui-btn-up-f, .ui-btn-hover-f, .ui-btn-down-f
{
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: none;
}

.ui-icon
{
    background-image: url("../../images/icons-18-red.png");
    background-color: transparent;
}

.ui-content .ui-listview
{
    margin: -15px -23px 15px -15px;
}

.ui-content h2
{
    font-size: 20px;
    color: #98012E;
}

.floatedContent li
{
    list-style: disc;
}

.caption
{
    float: left;
    margin: 0px 10px 10px 0px;
    width: 229px;
}
.caption span
{
    font-weight: normal;
    font-size: 14px;
}
.moreContent
{
    display: none;
}

/*
.content-secondary .ui-listview
{
    margin: 0px -10px 0px -10px;
}
/*
.content-secondary .ui-header
{
    margin: 0px -10px 15px -10px;
    width: auto;
}
*/
/******************************** Media Queries */

.revealsmall
{
    display: block;
}
.reveal650
{
    display: none;
}
.reveal750
{
    display: none;
}
.reveal1200
{
    display: none;
}

.content-primary
{
    padding-top: 10px;
    line-height: 1.4em;
}

.content-secondary
{
    padding-top: 10px;
    border-right: 0px;
    border-left: 0px;
}

.content-secondary .ui-li-heading
{
    font-size: 12px;
}

@media all and (max-width: 649px)
{

    .content-secondary .ui-collapsible-contain .ui-btn-up-f
    {
        border-left: 0;
        border-right: 0;
    }

    .content-secondary .ui-collapsible-contain .ui-corner-top
    {
        -moz-border-radius-topleft: 0;
        -webkit-border-top-left-radius: 0;
        border-top-left-radius: 0;
        -moz-border-radius-topright: 0;
        -webkit-border-top-right-radius: 0;
        border-top-right-radius: 0;
    }

    .content-secondary .ui-collapsible-contain .ui-corner-bottom
    {
        -moz-border-radius-bottomleft: 0;
        -webkit-border-bottom-left-radius: 0;
        border-bottom-left-radius: 0;
        -moz-border-radius-bottomright: 0;
        -webkit-border-bottom-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .content-secondary .ui-collapsible-contain
    {
        padding: 0px;
        margin: 0px 0px 0px -15px;
    }

    .content-secondary .ui-collapsible-heading
    {
        padding: 0px;
        margin: 0px -15px 4px 0px;
    }

    .content-secondary .ui-collapsible-heading-collapsed
    {
        padding: 0px;
        margin: 0px -15px 0px 0px;
    }


    .content-secondary .ui-collapsible-content
    {
        margin-bottom: -26px;
    }

    .content-secondary .ui-collapsible
    {
        margin-left: -16px;
    }
    
    h1.ui-title
    {
        visibility: hidden;
    }
}

@media all and (min-width: 650px)
{
    .revealsmall
    {
        display: none;
    }
    .reveal650
    {
        display: block;
    }
    .reveal750
    {
        display: none;
    }
    .reveal1200
    {
        display: none;
    }

    .content-primary
    {
        float: right;
        width: 65%;
    }
    .content-secondary
    {
        float: left;
        width: 30%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .content-primary ul:first-child
    {
        margin-top: 0;
    }
    .content-secondary h2
    {
        position: absolute;
        left: -9999px;
    }

    /* fix up the collapsibles - expanded on desktop */

    .content-secondary .ui-collapsible-contain
    {
        margin: 0;
    }
    .content-secondary .ui-collapsible-content .ui-btn-up-f, .content-secondary .ui-collapsible-content .ui-btn-hover-f, .content-secondary .ui-collapsible-content .ui-btn-down-f
    {
        margin: 5px 7px -5px -1px;
    }

    .content-secondary .ui-collapsible-content .ui-listview
    {
        margin-bottom: -10px;
    }
}
@media all and (min-width: 750px)
{
    .revealsmall
    {
        display: none;
    }
    .reveal650
    {
        display: none;
    }
    .reveal750
    {
        display: block;
    }
    .reveal1200
    {
        display: none;
    }

}

@media all and (min-width: 1200px)
{
    .revealsmall
    {
        display: none;
    }
    .reveal650
    {
        display: none;
    }
    .reveal750
    {
        display: none;
    }
    .reveal1200
    {
        display: block;
    }
    .content-secondary
    {
        float: left;
        width: 32%;
    }
    .content-primary
    {
        float: right;
        width: 66%;
    }
}

.blogGallery
{
    margin: 0px !important;
    padding-bottom: 16px;
}

.blogGallery img 
{
    margin: 0px !important;
}

.blogGallery li
{
    list-style: none !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding: 0px;
}

.blog .beautyImage 
{
    width: 600px;
    height: 111px;
    margin: 0 auto;
}

@media screen and (max-width: 2000px)
{    
    .relatedBox
    {
        background: #a1bcda; /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ExYmNkYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a1bcda), color-stop(100%, #ffffff)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* IE10+ */
        background: linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a1bcda', endColorstr='#ffffff', GradientType=0 ); /* IE6-8 */
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        width: 300px;
        float: right;
        padding: 10px;
        margin: 0px 0px 10px 10px;
    }
}

@media screen and (max-width: 830px)
{    
    .relatedBox
    {
        background: #a1bcda; /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ExYmNkYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a1bcda), color-stop(100%, #ffffff)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* IE10+ */
        background: linear-gradient(top, #a1bcda 0%, #ffffff 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a1bcda', endColorstr='#ffffff', GradientType=0 ); /* IE6-8 */
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        width: 90%;
        float: none;
        padding: 10px;
    }
}

.relatedBox ul li
{
    list-style: disc;
    margin-bottom: 5px;
    font-size: 1.0em;
}

.floatedContent /* Not a final solution, but a temp one for the bolding of blog articles */
{
    white-space: normal;
    font-size: 18px;
    margin: auto;
    font-weight: normal;
}

.link_wrap /* Class for text-wrapping link text */
{
    white-space: pre-wrap; /* css-3 */    
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */    
    white-space: -o-pre-wrap; /* Opera 7 */    
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.more-story-padding
{
    padding: 0px 10px 5px 10px;
}

.moreStoriesDate
{
    font-size: 14px;
}

.moreStoriesItem a
{
    color: #98012E !important;
}

/* may be used for header on the trial form, haven't decided yet */
.form-header
{
    clear: both;
    font-weight: normal;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #b7b7b7;
    color: #4d4d4d;
    text-transform: none;
}

/* style for text labels beside certain inputs on trial page */
.small-label
{
    font-size: 11px;
    color: #999999;
    font-weight: normal;
}