/*************************

    HUB STYLE OVERRIDES 
    
*************************/
.description-block h1.hub-heading {
    border-bottom: 1px solid #3f1956;
    color: #0b3c51;
    padding: .3rem 0;
    font-size: 1em;
    font-weight: 300;
    display: inline-block;
    text-transform: none;
}
body:not(.stream-type-targeted) .description-block h1.hub-heading {
    padding-right: 1.2rem;
}
.description-block p,
h2.hub-heading{
    font-weight:400;
    color: #011c30;
    font-size: 1.6em;
    line-height: 1.2;
}
.description-block .powered-by{
    display:none;
}

.level-three h1{
    font-size:2.4em;
    line-height: 1.2;
}
.level-three .meta{
    font-weight:400;
}
.level-three .entry blockquote.author{
    border:0;
    border-top:1px solid #e1e1e1;
    background:transparent;
}
body.lab_permanent_header.hub-page header > .large-header .primary-logo > img {
    max-height: 350px;
    margin-top: 10px;
}

.large-header .header-intro {
    padding-top: 0;
    margin-top: -60px;
}

section.level-three {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid rgba(0,0,0,0.15);
}
.top-nav .search-container .search-toggle.expanded {
    background-color: #ce0058;
    border-color: #ce0058;
}

.description-block.author-bio{
    text-align:center;
}
body .description-block.author-bio h1.hub-heading{
    padding-left: 1rem;
    padding-right: 1rem;
}
.description-block.author-bio p {
    font-size: 1.2em;
    font-weight:300;
}
.description-block.author-bio .author-bio-avatar.pic{
    float:none;
    margin:20px auto;
}
.description-block.has-stream-owner-avatar .hub-heading, 
.description-block.has-stream-owner-avatar p {
    margin-left: 0;
}

/* desktop */
@media (min-width: 860px){

    body.lab_no_header.hub-page .main{
        margin-top: 160px;
    }

    header{
        margin-top: 120px;
    }

    header .large-header h2 {
        font-weight: 400;
        font-size: 22px;
    }

    header > .top-nav{
        top: 80px;
        height: 40px;
        max-height: 40px;
        margin-bottom:0;
        background: #ce0058;
        background: -webkit-linear-gradient(left,#ce0058,#211d53);
        background: -o-linear-gradient(left,#ce0058,#211d53);
        background: -moz-linear-gradient(left,#ce0058,#211d53);
        background: linear-gradient(to right,#ce0058,#211d53);
        border-bottom:1px solid #fff;

    }
    header > .top-nav .secondary-logo{
        display:none;
    }
    header > .top-nav .left-nav.desktop {
        top: 7px;
        left:-43px;
    }

    header > .top-nav .left-nav.desktop > li,
    header > .top-nav .left-nav.desktop > li > a {
        border-radius:0;
        -webkit-border-radius:0;
        -moz-border-radius:0;
    }
    header > .top-nav .left-nav.desktop > li > a {
        padding: 1px 10px;
        color: #fff;
    }
    header > .top-nav .left-nav.desktop > li > a,
    header > .top-nav .left-nav.desktop > li > a:hover,
    header > .top-nav .left-nav.desktop > li.hover > a:active {
        color: #fff;
    }
    header > .top-nav .left-nav.desktop > li.hover.has-children > a {
        color: #666;
    }
    header > .top-nav .right-side-btns{
        top: 0;
    }
    header > .top-nav .share-toggle,
    header > .top-nav .search-container .search-toggle{
        top:0;
        border-radius:0;
        -webkit-border-radius:0;
        -moz-border-radius:0;
        background-color:transparent;
        background-position:0 0;
        border:none;
    }
    header > .top-nav .share-toggle{
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP1JREFUeNrsl+kNwyAMhUPVAbJBO0pG6AbtCB0hIzgbMEJG6Ah0g4zQDVyQiBShHKYF55AtvT8c4ZMDz6AQsdhynIqNhwAKoAAK4EEAwQoHAvJMV0kyC3A8gDJfMZS6uQXU7vfgOeO3S6vnVgFv/iBcZsY0OQ7Jw8oMNrrxbX3/1eoVHAY9Mg+oa8bAaZwO11cHbQ6o+tcFYjJHjU+QVRZAQ4Rzv65M6aNUH6SapdprqcsO+CaO097/2AGpxf1u1aUw6F98MNZmOk6biTHqNgBtuYw6RpXP4JIlrQbYq16AlPvgId4kDed1K9W7BFLXYnkXC6AACqAArhRfAQYAencqDo+xv7YAAAAASUVORK5CYII=);
        margin-left: 2px;
    }
    header > .top-nav .share-toggle:hover,
    header > .top-nav .search-container .search-toggle:not(.expanded):hover{
        background-color:#011c30;
    }
    header > .top-nav .search-container .search-toggle .search-icon > span{
        background-position: -117px -449px;
    }

    header > .top-nav .right-side-btns{
        right: 13px;
    }

    .share-hub, .share-item, .hub-selection-menu {
        top: 130px;
    }
    .share-hub li:first-child, .share-item li:first-child{
        background: #011c30;
        color: #fff;
        text-shadow:none;
    }
    .share-hub:before, .share-item:before{
        border-bottom-color: #011c30;
    }

    body:not(.stream-type-targeted) .main{
        margin-top:145px;
    }

    .level-three.bottom{
        border:0;
        background:transparent;
    }

    /* search */
    .search-results-backdrop,
    .search-results-overlay{
        top: 120px !important;
    }
    .search-drop-down{
        top: 127px;
    }

    .tile.single > a.view {
        border-top: 1px solid rgba(0,0,0,0.1);
        background-color: #f4f4f4;
        color: #7e7e7e;
        font-size: 15px;
    }
    
    /* remove share on desktop - we have addthis */
    header > .top-nav .share-toggle{
        display:none !important;
    }

}


/* mobile */
@media (max-width: 859px) {

    div.site-header{
        display:none;
    }
    .tile.single .description h3 {
        font-size: 17px;
    }

    header > .top-nav > .page-width{
        margin: 0 !important;
    }
    header > .top-nav .right-side-btns{
        top: 0 !important;
    }
    body.lab_top_menu .page-aligner{
        width: 100%;
    }
    body.lab_top_menu .top-nav .right-side-btns .share-toggle,
    body.lab_top_menu .top-nav .right-side-btns .search-toggle,
    body.lab_top_menu .top-nav .nav-toggle,
    body.lab_top_menu .top-nav .nav-back{
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-width: 0;
        margin:0;
        width:45px ;
        height:45px;
    }
    body.lab_top_menu .top-nav .nav-toggle{
        top: 0;
        left: 0;
        background-position: 1px -201px !important;
    }
    body.lab_top_menu .top-nav .share-toggle {
        background-position: -33px -200px;
    }
    body.lab_top_menu .top-nav .search-container .search-toggle .search-icon {
        width: 45px;
        height: 45px;
    }
    body.lab_top_menu .top-nav .search-container .search-toggle .search-icon span {
        width: 45px;
        height: 45px;
        background-position: -114px -407px;
    }
    body.lab_top_menu .top-nav .search-container .search-toggle.expanded .search-icon span {
        background-position: -115px -445px;
    }
    body.lab_top_menu .top-nav .search-container .search-toggle .search-close {
        width: 45px;
        height: 45px;
    }
    body.lab_top_menu .top-nav .search-container .search-toggle .search-close span {
        margin: 10px auto 0 auto;
        color: #fff;
        background: transparent;
        font-weight: bold;
        font-size: 20px;
    }
    body.lab_top_menu .top-nav .search-container .search-toggle .search-input input {
        height: 45px;
        line-height: 45px;
        padding: 0 6px;
    }

    body.lab_top_menu .top-nav .nav-back {
        top: 0;
        line-height: 45px;
        border-width: 0 1px 0 0;
        text-indent: -1000px;
        padding: 0;
        background-image: url("https://uberflip.cdntwrk.com/img/hubs/sprite-2x.png?v=1075");
        background-size:434px auto;
        background-position: 6px -123px;
    }
    body.lab_top_menu .top-nav .page-aligner .secondary-logo {
        margin: 2px 90px 0 45px !important;
    }

    body.lab_top_menu .top-nav:after {
        content: " ";
        display: block;
        height: 2px;
        background: linear-gradient(to right,#ce0058,#011c30);
        margin-top: -2px;
    }
    /*************** MOBILE NAV ****************/
    .mobile-nav > .exit-bar{
        background-color:#ce0058;
        border-color: #ce0058;
    }
    .mobile-nav .overlay-scroller>ul>li{
        margin-left: 0;
    }
    .mobile-nav .overlay-scroller, .mobile-share .overlay-scroller{
        background:#ce0058;
        background: linear-gradient(to right,#ce0058,#011c30);
    }
    
}

@media (max-width: 767px) {

    body.lab_permanent_header.hub-page header > .large-header .primary-logo {
        /*margin-top: 20px;*/
    }

    body.lab_permanent_header.hub-page header > .large-header .primary-logo > img {
        max-width: 450px;
        max-height: 170px;
    }

    .large-header .header-wrapper.img {
        margin-top: 55px !important;
    }

    .header-intro h2 {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .large-header .header-wrapper.img {
        margin-top: 0 !important;
    }
}

/* ADDTHIS */
div.at-custom-sidebar {
    box-shadow: none;
    border:1px solid rgba(0,0,0,.2);
    border-right:none;
}
div.at-custom-sidebar:hover{
    border-color:#ce0058;
}
div.at-custom-sidebar .at-share-btn:hover svg{
    fill:#ce0058 !important;
}

/******************************

            TILES 
            
*******************************/
.tile.single > a.item-link.view {
    border-top: none !important;
    background-color: #fff !important;
    background-image:none !important;
    padding-left:15px !important;
    margin-bottom:-40px;
    transition:margin ease-out 200ms;
}
.tile.single:hover > a.view,
.tile.single.hover > a.view{
    margin-bottom:0;
}
.tile.single>a.view:before {
    height: 40px;
    margin-left: -15px;
    padding-right: 15px;
    margin-top: -39px;
    background-color: rgba(255,255,255,0.2);
    background-image: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255,255,255,0)), to(rgba(255,255,255,1)));
    background-image: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
    background-image: -o-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
    background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.tile{
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.tile.twitter:hover{
    border-bottom-color:#1da1f2;
}
.tile.uberflip:hover{
    border-bottom-color:#ce0058;
}
.tile.facebook:hover{
    border-bottom-color:#3d599b;
}
.tile.blogpost:hover{
    border-bottom-color:#fd7822;
}
.tile.wistiar:hover{
    border-bottom-color:#26a1bf;
}
.tile.slideshare:hover{
    border-bottom-color:#ed8431;
}
.tile.instagram:hover{
    border-bottom-color:#6c42ba;
}

.tile.single .icon{
    background-color: rgba(0,0,0,0.2);
    transform: scale(.5);
    top: -3px;
    right: -3px;
    border-radius: 6px;
    opacity:1;
}

.tile.single .description h3,
.tile.single .description div.h3like{
    font-weight: 400 !important;
    color: #011c30 !important;
}
.tile.single .description h4{
    font-size:1em;
    line-height:1.3em;
}

/************************** 

        WEBSITE MENU 
        
****************************/
div.site-header{
    position: fixed;
    z-index:6001;
    top: 0;
    margin-top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
div.site-header .wrapper-full{
    position: relative;
    max-width: 90rem;
    padding: 0 1rem;
    margin: 0 auto;
    height: 80px;
}
/* logo */
div.site-header .logo {
    position: absolute;
    left: 16px;
    display: block;
}

div.site-header .logo__img {
    overflow: hidden;
    height: 81px;
    width: 120px;
    max-width: none;
}

/* nav */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
div.site-header .nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.site-header .nav--main {
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
}

div.site-header .nav--main .nav__item {
    width: 100%;
}

div.site-header .nav__item {
    display: block;
    position: relative;
    white-space: nowrap;
}
div.site-header .nav__item a {
    display: block;
    line-height: 1;
    text-decoration: none;
    background:#fff;
}
div.site-header .nav--main .nav__item a:link{
    color: #111;
}

div.site-header .nav--sub {
    top: 90%;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 0;
    background: #fff;
}

div.site-header .btn--menu {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-block;
    padding: 8px 5px;
    color: #000;
    text-transform: uppercase;
    background-color: transparent;
    -webkit-transition: all .2s cubic-bezier(.6,.2,.6,.9);
    -moz-transition: all .2s cubic-bezier(.6,.2,.6,.9);
    -o-transition: all .2s cubic-bezier(.6,.2,.6,.9);
    transition: all .2s cubic-bezier(.6,.2,.6,.9);
}

div.site-header .btn {
    display: inline-block;
    padding: .5rem 2rem;
    border: 1px solid transparent;
    color: inherit;
    text-align: center;
    text-decoration: none;
    background-color: #eee;
    border-radius: 3px;
}

div.site-header button{
    -webkit-appearance: button;
    cursor: pointer;
    text-transform: none;
    overflow: visible;
    font: inherit;
    margin: 0;
}
div.site-header .btn--menu .bar {
    margin-top: -2px;
    margin-left: 4px;
}

div.site-header .btn--menu .bar,
div.site-header .btn--menu .bar:before,
div.site-header .btn--menu .bar:after {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 23px;
    height: 2px;
    background-color: #000;
    -webkit-transition: all .2s cubic-bezier(.6,.2,.6,.9);
    -moz-transition: all .2s cubic-bezier(.6,.2,.6,.9);
    -o-transition: all .2s cubic-bezier(.6,.2,.6,.9);
    transition: all .2s cubic-bezier(.6,.2,.6,.9);
}

@media only screen and (min-width: 860px){
    div.site-header .nav--main {
        width: 87%;
        display: block;
        position: absolute;
        top: 24px;
        right: auto;
        left: 150px;
        visibility: visible;
        opacity: 1;
    }
    div.site-header .nav--main .nav__item {
        position: relative;
        display: inline-block;
        width: auto;
    }

    div.site-header li.nav__item.nav__item--login {
        position: absolute;
        right: 9rem;
    }

    div.site-header li.nav__item.nav__item--request-a-demo {
        position: absolute;
        right: 0;
    }

    div.site-header .nav--main .nav__item a {
        font-size: .8rem;
        padding: .75rem 1.5rem;
        margin-left:0;
        background-color:transparent;
        font-weight: 300;
        text-align: center;
        transition: all .2s cubic-bezier(.6,0,.6,1);

    }
    div.site-header .nav__item a:link,
    div.site-header .nav__item a:visited {
        text-decoration: none;
    }
    div.site-header .nav--sub {
        height: auto;
        -webkit-box-shadow: 0 2px 12px 0 rgba(0,0,0,0.3);
        -moz-box-shadow: 0 2px 12px 0 rgba(0,0,0,0.3);
        box-shadow: 0 2px 12px 0 rgba(0,0,0,0.3);
        position:absolute;
    }
    div.site-header .nav--sub .nav__item:nth-child(1) a {
        border-radius: 3px 3px 0 0;
    }
    div.site-header .nav--sub .nav__item:last-child a {
        border-radius: 0 0 3px 3px;
    }
    div.site-header .nav--main .nav__item:first-child a {
        border: 0;
    }

    div.site-header .nav__item i {
        color: #111;
        position: absolute;
        right: 0;
        top: 11px;
        font-size: .8rem;
    }

    div.site-header .btn--menu {
        display: none;
    }
    div.site-header .nav__item--request-a-demo a:link {
        border: 1px solid #111;
        color: #111;
    }
    div.site-header .nav__item--request-a-demo a:hover{
        border-color:#ce0058;
        color:#ce0058;
    }
    div.site-header .nav--sub:after {
        bottom: 100%;
        left: 49%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(136,183,213,0);
        border-bottom-color: #fff;
        border-width: 12px;
        margin-left: -30px;
    }
    div.site-header .parent-menu-item:hover .nav--sub {
        display: block;
        position: absolute;
        visibility: visible;
        top: 100%;
        left: 58%;
        -webkit-transition: all .2s cubic-bezier(.6,.2,.6,.9);
        -moz-transition: all .2s cubic-bezier(.6,.2,.6,.9);
        -o-transition: all .2s cubic-bezier(.6,.2,.6,.9);
        transition: all .2s cubic-bezier(.6,.2,.6,.9);
        opacity: 0;
        white-space: normal;
    }
    div.site-header .nav__item--request-a-demo a:hover {
        border: 1px solid #ce0058;
        color: #fff !important;
        background: #ce0058 !important;
    }

    div.site-header .nav--sub {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        width: 12rem;
        margin-left: -80px;
    }
    div.site-header .nav--sub .nav__item {
        display: block;
    }
    div.site-header .nav--sub .nav__item a {
        background-color: #fff;
        text-align:left;
    }
    div.site-header .nav--main .nav__item:hover>.nav--sub,
    div.site-header .nav--sub .nav__item:hover>.nav--sub {
        visibility: visible;
        opacity: 1;
    }
    div.site-header .nav--sub .nav__item a:hover,
    div.site-header .nav--sub .nav__item a:focus {
        background-color: #ce0058;
        color: #fff !important;
    }
} /* 40em */

/* menu item fix */
div.site-header .nav__item.nav__item--content-hub {
    margin-left: -20px;
}

/*********************
    WEBSITE FOOTER
*********************/
footer, div#moveToTop{
    display:none;
}
div.site-footer{
    color: #fff;
    text-align: center;
    z-index: 8;
    font-weight: 300;
    position: absolute;
    width: 100%;
}
div.site-footer .footer-grey {
    background-color: #011c30;
}
div.site-footer .wrapper {
    position: relative;
    max-width: 70rem;
    padding: 0 1rem;
    margin: 0 auto;
}

.nav--footer,
.nav--footer-lower {
    text-align: left;
}
div.site-footer .nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
div.site-footer .nav__item {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

div.site-footer .nav--footer span:last-child {
    display: none;
}

div.site-footer .nav__item a {
    padding: 1rem;
    color: #fff;
    display: block;
    line-height: 1;
}

div.site-footer .nav__item a:link,
div.site-footer .nav__item a:visited {
    text-decoration: none;
}
div.site-footer .footer-social-menu li a:hover {
    background-color: #fff;
    color: #000;
}

div.site-footer .pull-left,
div.site-footer .pull-right{
    padding: .9em;
}
div.site-footer .footer-social-menu {
    list-style: none;
    padding: 0;
    text-align: right;
}
div.site-footer .footer-social-menu li {
    display: inline-block;
}
div.site-footer .footer-social-menu li a {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: .5rem;
    margin-left: .5rem;
    width: 22px;
    height: 22px;
    line-height:22px;
    display: inline-block;
    text-align: center;
    transition: all .3s ease;
    font-size: 1rem;
}

div.site-footer .footer-gradient-stripe {
    height: 2px;
    width: 100%;
    background: -webkit-linear-gradient(left,#011c30,#ce0058,#ce0058,#011c30);
    background: -o-linear-gradient(left,#011c30,#ce0058,#ce0058,#011c30);
    background: -moz-linear-gradient(left,#011c30,#ce0058,#ce0058,#011c30);
    background: linear-gradient(to right,#011c30,#ce0058,#ce0058,#011c30);
}
div.site-footer .footer-blue {
    background-color: #000;
}
div.site-footer small {
    color: #ccc;
    display: block;
    text-align: right;
    font-size: .6rem;
}

@media only screen and (max-width: 1000px){
    div.site-footer .pull-left,
    div.site-footer .pull-right{
        float:none;
        text-align:center;
        display:inline-block;
    }
    div.site-footer .nav--footer,
    div.site-footer .nav--footer-lower {
        text-align: center;
    }
}



/* Sales stream hack to remove black bar */
@media (min-width: 860px){
    body.stream-type-targeted header > .top-nav {
        transition: height ease-out 200ms;
        height: 2px;
    }
}

/***************************************
 * FLIPBOT - MAGIC LOGO CUSTOMIZATION
 ***************************************
 */

/* body:not(.uf-stream-template-banner-sales).stream-type-targeted header, */
.description-block.has-stream-owner-avatar {
    opacity: 0;
}
header.magic-logo,
body.uf-stream-template-banner-sales header{
    margin-top:80px;
}
@media (max-width: 860px) {
    header.magic-logo,
    body.uf-stream-template-banner-sales header{
        margin-top: 0;
    }
}

/***************************************
 * UFW - WEBSITE WIDGET - IFRAME EMBED 
 ***************************************
 */
body.hide-footer div.site-footer{
    display:none;
}
body.hubs-embedded-iframe {
    height: auto;
    background:#fff;
}
/* scrollbar */
body.hubs-embedded-iframe::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

body.hubs-embedded-iframe::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

body.hubs-embedded-iframe::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius:2px;
}
body.hubs-embedded-iframe::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}
/* template */
body.hubs-embedded-iframe section.level-three{
    border:0;
    margin:0;
}
body.hubs-embedded-iframe #hubs-container{
    margin:0;
}
body.hubs-embedded-iframe .bread-crumbs.item-level{
    display:none;
}
body.hubs-embedded-iframe .page-width.item-level{
    margin:40px 0 0 0;
}

body.hubs-embedded-iframe .single-embed-wrapper .single-slideshare,
body.hubs-embedded-iframe .single-embed-wrapper .single-video{
    margin:-40px -40px 20px;
}
body.lab_no_header.hubs-embedded-iframe.hide-header .main{
    margin:6px 0 0;
}
