.site-header {
    width: 100%;
    position: relative;
    z-index: 20;
    backface-visibility: hidden;

    &.affix {
        position: fixed;
        top: 0;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.10);

        +.affix-separator {
            height: 80px;
        }

    }
}

.header-bar {
    width: 100%;
    height: 80px;
    padding-top: 10px;
    padding-bottom: 25px;
}

.header-bar--light {
    background-color: #fff;
}

.header-bar--dark {
    background-color: var(--brand-grey-dark);
}

.header-bar__inner {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1335px;
}

.site-logo {
    display: inline-block;
    width: 160px;
    height: 28px;
    margin-right: 40px;
    float: left;
    vertical-align: middle;

    img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    @media (min-width:1200px) {
        margin-right: 40px;
    }
}

.site-header--simple .site-logo {
    float: none;
    margin: 0 auto;
}

.main-nav {
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 15px;
}

.main-nav--left {
    float: left;
}

.main-nav--right {
    float: right;
}

.main-nav--fade {
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-in-out,
        visibility .2s ease-in-out;
}

.affix .main-nav--fade {
    opacity: 1;
    visibility: visible;
}

.main-nav {
    @media (max-width:991px) {
        display: none;
    }

    @media (min-width:1200px) {
        margin-left: -20px;
        margin-right: -20px;
    }
}

.main-nav__item {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
    line-height: 28px;
    /* logo height */
    font-weight: 700;
    color: var(--brand-grey-dark);
    float: left;
}

.main-nav--right .main-nav__item {
    font-size: 14px;
}

.main-nav__item--cta {
    margin-top: -5px;
}

.main-nav--right .main-nav__item--cta {
    margin-right: -10px;
}

.main-nav__item--cta--demo {
    @media (max-width:1199px) {
        display: none;
    }
}

.main-nav__item--has-dropdown,
.main-nav__item--search {
    &:hover {
        &:after {
            content: '';
            display: block;
            height: 5px;
            margin-top: 22px;
            background-color: var(--brand-grey-dark);
        }
    }
}

.main-nav__item--has-dropdown {
    &:hover {
        &:after {
            margin-right: 15px;
        }
    }
}

@media (min-width:1200px) {
    .main-nav__item {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
    }

    .main-nav--right .main-nav__item--cta {
        margin-right: -20px;
    }
}

.main-nav__link:not(.btn) {
    display: block;
    color: var(--brand-grey-dark);
    transition: color .2s ease-in-out;

    i {
        margin-left: 5px;
        font-size: 12px;
        color: var(--brand-grey-dark);
    }

    .main-nav__item--current &,
    .main-nav__item:hover &,
    &:focus {
        text-decoration: none;
        color: var(--brand-primary);
        outline: none;

    }
}

.video-cta {
    display: block;
    height: 280px;
    margin-right: 55px;
    background-color: #5d5f67;
    background-image: url('../../../img/layout/dot-pattern.png');
    background-size: cover;
    position: relative;
    color: #fff;

    &:hover,
    &:focus {
        color: #fff;
        text-decoration: none;
    }
}

.video-cta__content {
    padding-left: 85px;
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
}

.video-cta__icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    svg {
        width: 60px;
        height: 60px;

        path {
            stroke: #ffd802;
            transition: stroke .2s ease-in-out;
        }
    }
}

.video-cta__meta {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
}

.video-cta__category {
    +.video-cta__duration {
        padding-left: 12px;
        margin-left: 10px;
        border-left: 1px solid;
    }
}

.video-cta__title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 21px;
}

.accordion__inner {
    display: none;
    overflow: hidden;
}

.sw20-hero-animated .screen-contents {
    position: absolute;
    background-color: #fff;
    z-index: -1;
    top: 0;
    right: 0;
}

.sw20-hero-animated .screen-contents {
    width: auto;
    height: 100%;
}

.sw20-hero-animated .inner {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.sw20-hero-animated .inner {
    padding: 0 15px;
}

.sw20-hero-animated {
    background-color: rgba(17, 17, 17, 0.8);
    position: relative;
    height: 450px;
    overflow: hidden;
}

.sw20-hero-animated .inner {
    background: none;
    display: flex;
    align-items: center;
    height: 450px;
}

.sw20-hero-animated p,
.sw20-hero-animated .inner {
    color: white;
    text-align: center;
}

.sw20-hero-animated p {
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    margin-bottom: 30px;
}

.sw20-hero-animated .inner h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
}

.sw20-hero-animated a {
    bottom: 0;
}

@media (max-width: 992px) {

    .sw20-hero-animated .screen-contents,
    .sw20-hero-abtest .screen-frame {
        display: block;
    }
}

@media (min-width: 992px) {
    .sw20-hero-animated .screen-contents {
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 992px) and (max-width: 1122px) {
    header {
        .main-nav__list {
            .main-nav__item {
                &:first-child {
                    .main-nav__btn {
                        display: none;
                    }
                }
            }
        }
    }
}