/*=== Ratings ===*/

.rating:before
{
    font-family: 'FontAwesome';
    color: #dbef5f;
    letter-spacing: 3px;
}

.rating-05:before { content: '\f089';}
.rating-10:before { content: '\f005';}
.rating-15:before { content: '\f005\f089';}
.rating-20:before { content: '\f005\f005';}
.rating-25:before { content: '\f005\f005\f089';}
.rating-30:before { content: '\f005\f005\f005';}
.rating-35:before { content: '\f005\f005\f005\f089';}
.rating-40:before { content: '\f005\f005\f005\f005';}
.rating-45:before { content: '\f005\f005\f005\f005\f089';}
.rating-50:before { content: '\f005\f005\f005\f005\f005';}

.rating[data-rating='1']:before, .rating[data-rating='1.0']:before { content: '\f005';}
.rating[data-rating='1.5']:before { content: '\f005\f089';}
.rating[data-rating='2']:before, .rating[data-rating='2.0']:before { content: '\f005\f005';}
.rating[data-rating='2.5']:before { content: '\f005\f005\f089';}
.rating[data-rating='3']:before, .rating[data-rating='3.0']:before { content: '\f005\f005\f005';}
.rating[data-rating='3.5']:before { content: '\f005\f005\f005\f089';}
.rating[data-rating='4']:before, .rating[data-rating='4.0']:before { content: '\f005\f005\f005\f005';}
.rating[data-rating='4.5']:before { content: '\f005\f005\f005\f005\f089';}
.rating[data-rating='5']:before, .rating[data-rating='5.0']:before { content: '\f005\f005\f005\f005\f005';}

/*=== Page header ===*/

.page-header-container
{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0px;
    background-color: #fff;
    border-bottom: solid 1px rgba(200,200,200,0.3);
    overflow: auto;
    z-index: 1000;
    padding: 20px 0px;
    transition: background-color 0.2s;
}

.page-header-container img { max-height: 32px; }
.page-header-container.has-bg { background-color: rgba(0,0,0,0.05);}
.page-header-container.has-bg .ss-logo-white { display: inline-block; }
.page-header-container .ss-logo-white, .page-header-container.float .ss-logo-white { display: none; }
.page-header-container.has-bg .ss-logo-color { display: none; }
.page-header-container.float .ss-logo-color { display: inline-block; }
.page-header-container li { list-style-type: none; }
.page-header-container.has-bg ~ .content { padding-top: 0px;}

.page-header-container ul a, .page-menu-nav ul a, .menu-drawer ul a
{
    text-decoration: none;
    color: inherit !important;
    border-bottom: 0px;
}

.page-nav
{
    color: #14202d;
    margin: 4px auto 0 auto;
    padding: 0px;
    font-size: 16px;
}
.page-header-container.has-bg .page-nav { color: #fff; }
.page-header-container.float .page-nav { color: #14202d; }

.page-nav > li
{
    display: inline-block;
    margin: 0px 0px 0px 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.page-menu-nav
{
    background-color: #14202d;
    position: absolute;
    top: 40px;
    left: -1000px;
    right: 10px;
    padding: 20px;
    width: 200px;
    opacity: 0;
    margin: 0px;
    z-index: 1000;
    transition: opacity 0.35s  ease-out, top 0.35s  ease-out;
}

.page-menu-nav.show
{
    opacity: 100;
    top: 55px;
}

.page-menu-nav .major, .menu-drawer .major
{
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 30px;
    letter-spacing: 1px;
}

.page-menu-nav .minor, .menu-drawer .minor
{
    font-size: 14px;
    color: #5e656e;
    line-height: 24px;
}

.page-menu-nav > .up-caret:after
{
    font-family: 'FontAwesome';
    content: '\f0d8';
    color: #14202d;
    position: absolute;
    top: -18px;
    right: 11px;
    font-size: 20px;
}

.menu-drawer
{
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: -200px;
    width: 200px;
    z-index: 1000;
    background-color: #14202d;
    padding: 10px 20px;
    font-size: 8px;
    transition: right 0.35s ease-out;
}

.page-header-container.float { background-color: rgba(255,255,255,0.98) !important; }

.client-only, .partner-only, .admin-only, .creative-only { display: none !important; }
body.client .client-only,
body.partner .partner-only,
body.admin .admin-only,
body.creative .creative-only { display: inline-block !important; }

@media (max-width: 768px) {

    .page-header-container
    {
        position: fixed;
        right: 0px;
        z-index: 100;
        width: 100%;
        transition: right 0.35s ease-out, left 0.35s ease-out;
        background: #fff !important;
        padding: 20px;
    }

    .ss-logo-white { display: none !important; }
    .ss-logo-color { display: inline-block !important; }

    .page-menu-nav > .major, .menu-drawer > .major{
        line-height: 44px;
    }

    .content
    {
        position: absolute;
        right: 0px;
        transition: right 0.35s ease-out;
        z-index: 99;
        width: 100%;
        min-height: 100%;
        background-color: #fff;
    }

    .open-mobile-drawer .content
    {
        right: 200px;
    }

    .open-mobile-drawer .menu-drawer
    {
        right: 0px;
    }

    .open-mobile-drawer .page-header-container
    {
        left: -200px;
        right: 200px;
    }
}

/*=== Page hero ===*/

.page-hero
{
    width: 100%;
    position: relative;
    z-index: 98;
    background-color: #00769d;
    height: 400px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero:after
{
    position: absolute;
    z-index: 99;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
}

.page-hero .hero-content
{
    color: #f8f8f8;
    width: 100%;
    background-position: center center;
    position: absolute;
    top: 20%;
    z-index: 100;
    max-width: 80rem;
    overflow:hidden;
}

.page-header-container ~ .content > .page-hero .hero-content { top: 100px; }
.page-header-container ~ .content > .page-hero.short .hero-content{ top: 80px; }
.page-header-container ~ .content > .page-hero.xs .hero-content{ top: 40px; }

.page-hero .hero-headline
{
    font-size: 42px;
    font-weight: 600;
    line-height: 60px;
    color: #fff;
}

.page-hero .secondary-text
{
    font-size: 18px;
    line-height: 24px;
    font-weight: 100;
    color: #e7ecee;
}

.page-hero.standard { height: 500px; }
.page-hero.large { height: 700px; }
.page-hero.full { height: 100vh; }
.page-hero.short { height: 400px; }
.page-hero.xs { height: 300px; }

@media (max-width: 40em) {

    .page-hero .hero-headline{
        font-size: 30px;
        line-height:40px;
    }

    .page-hero .secondary-text{
        font-size: 14px;
        line-height: 18px;
    }

}

/*=== Page Footer ===*/

.page-footer a
{
    color: #60646b !important;
    border-bottom: 0px;
    font-size: 12px;
    line-height: 24px;

}

@media (max-width: 480px) {
    .page-footer ul{
        margin-bottom: 40px;
    }
    .page-footer ul li{
        border-bottom: 1px solid #efefef;
        padding: 10px 0;
    }
    .page-footer a
    {
    color: #60646b !important;
    border-bottom:0px;
    font-size: 16px;
    padding: 5px 0;
    line-height: 36px;
    }
}

.footer-extra a
{
    color: #60646b;
    border-bottom: 0px;
    font-size: 12px;
    line-height: 24px;
}

.copyright{
    color: #60646b;
    border-bottom: 0px;
    font-size: 12px;
    line-height: 24px;
}

/*=== Faux Paper ===*/

body.faux-paper
{
    background-color: #f8f8f8;
}

.faux-paper-content
{
    position: relative;
    margin-top: -50px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 5px 22px 32px rgba(0,0,0,0.03);
    z-index: 100;
    min-height: 100px;
    padding: 70px;
}

@media (max-width: 600px) {
  .faux-paper-content {
    padding: 70px 0px;
  }
}

/*==== Attributions ===*/

.attribution
{
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    padding: 8px;
    z-index:99;
}

.attribution > a{
    color:white;
}

.attribution > .fa
{
    font-size: 8px;
    margin-right: 5px;
    position: relative;
    top: -1px;
}

.attribution-anihover
{
    position: relative;
    overflow:hidden;
}

.attribution-anihover .attribution
{
    bottom: -30px;
    opacity: 0;
    -webkit-transition: bottom 0.25s ease-out,opacity 0.35s ease-out;
    -moz-transition: bottom 0.25s ease-out,opacity 0.35s ease-out;
    -o-transition: bottom 0.25s ease-out,opacity 0.35s ease-out;
    transition: bottom 0.25s ease-out,opacity 0.35s ease-out;
}

.attribution-anihover:hover .attribution
{
    bottom: 10px;
    opacity: 1;
}

/*=== Browse Creative Card ===*/

.creative-card
{
    position: relative;
}

.creative-card .featured-img
{
    height: 250px;
    position: relative;
    z-index: 999;
    overflow: hidden;
    animation-duration: 0.8s !important;
    -webkit-animation-duration: 0.8s !important;
    -moz-animation-duration: 0.8s !important;
}

.creative-card .favorite-icon-button
{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

/*=== Favorites ===*/

.favorite-icon-button
{
    padding-top: 3px;
    padding-left: 10px;
    display:inline-block;
    background: rgba(0,0,0,0.6);
    width: 30px;
    height: 30px;
    border-radius: 15px;
    border: 0;
}

.favorite-icon-button.favorited
{
    background: #26c163;
}

.favorite-icon-button:before
{
    color: #fff;
    font:normal normal normal 14px/1 FontAwesome;
    font-size:14px;
    text-rendering:auto;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    content:"\f02e"
}

.favorite-button.favorited
{
    background-color: rgba(0,0,0,0.6) !important;
}

.favorite-button:before
{
    color: #fff;
    opacity: 0.6;
    font:normal normal normal 14px/1 FontAwesome;
    font-size:18px;
    text-rendering:auto;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    content:"\f02e";
    margin-right: 12px;
}

.favorite-button:after
{
    color: #fff;
    content:"Add to Favorites";
}

.favorite-button.favorited:before
{
    opacity: 1;
}
.favorite-button.favorited:after
{
    content:"Favorited";
}

/* Component Form Elements */
.form-element.error, input.error, select.error, textarea.error, label.error
{
  outline: solid 1px #FF6D4A !important;
}

.ss-error-message
{
    display: block;
    color: #FF6D4A;
    font-size: 0.875rem;
}

.ss-error-message:before
{
  font-family: 'FontAwesome';
  color: #FF6D4A;
  content: '\f071';
  margin-right: 4px;
}