/* NEW CSS Document */

.logo {
    position: absolute;
    top: 0;
    left: -80px;
    margin-top: 0;
    width: auto;
    height: auto;
}

.retina-logo {
    display: none;
}

.logo a:focus {
    outline: none;
}

.header {
    z-index: 10;
}

ul.main-nav {
    position: absolute;
    top: 0;
    right: 115px;
}

    ul.main-nav li a {
        font-weight: 400;
    }

ul.subnav {
    right: 0;
}

.nav-bg-wrapper {
    background: #282f3e;
}

ul.main-icons li {
    padding: 9px;
}

/* new dropdown */

ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 20px 15px;
    min-width: 140px;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 18px;
    line-height: 21px;
    color: #282f3e;
    background: white;
}

.main-nav-duplicate ul.dropdown {
    display: block;
    position: static;
    padding: 10px 0;
}

.nav-extra {
    width: 250px;
}

    .nav-extra::before {
        right: 16px;
    }

    .nav-extra ul li a {
        font-weight: 400;
        display: block;
    }

ul.dropdown li a {
    display: block;
    color: #282f3e;
    text-transform: none;
    font-weight: 400;
}

ul.dropdown li {
    display: block;
    padding-bottom: 0;
    margin: 0 0 10px;
}

    ul.dropdown li:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
    }

ul.main-nav > li {
    position: relative;
    padding-bottom: 20px;
    margin-right: 20px;
}

ul.main-nav li:hover {
    cursor: pointer;
}

    ul.main-nav li:hover ul.dropdown {
        display: block;
        text-transform: none;
    }

ul.main-nav ul.dropdown:before {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: -10px;
    left: 30px;
    background: white;
    transform: rotateZ(45deg);
}

/* rotator */

.swiper-container {
    width: 100%;
    height: 450px;
    background-color: #dfdfdf;
}

.swiper-container-sub {
    height: 375px;
}

.swiper-slide {
    font-size: 18px;
    color: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 0.8;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: #fb4f14 !important;
}

.bg-img {
    width: calc(100% - 120px);
    height: calc(100% - 80px);
    padding: 40px 60px;
    background-size: cover;
    background-position: center;
}

.swiper-slide a {
    color: white;
    text-decoration: none;
}

.swiper-slide .title {
    position: absolute;
    bottom: 70px;
    left: -10000px;
    padding: 30px 60px 30px 30px;
    width: 40%;
    text-transform: uppercase;
    font-weight: 300;
    background: rgba(0, 0, 0, 0.7);
    transform: skewX(-48deg) !important;
    transition: left 2s ease-out !important;
}

    .swiper-slide .title:hover {
        background: rgba(0, 0, 0, 0.8);
    }

.swiper-slide-active .title {
    left: -100px;
}

.swiper-slide .title h2 {
    width: 60%;
    float: right;
    margin: 0;
    padding: 0;
    font-size: 32px;
    line-height: 34px;
    transform: skewX(48deg) !important;
}

.swiper-slide .text {
    position: absolute;
    bottom: 40px;
    right: -10000px;
    padding: 20px;
    padding-left: 80px;
    width: 60%;
    font-size: 18px;
    font-weight: bold;
    line-height: 21px;
    background: rgba(251, 79, 20, 0.8);
    transform: skewX(-48deg) !important;
    transition: right 2s ease-out !important;
}

    .swiper-slide .text:hover {
        background: rgba(251, 79, 20, 0.9);
    }

.swiper-slide-active .text {
    right: -100px;
}

.swiper-slide .text p {
    width: 60%;
    float: left;
    margin: 0;
    transform: skewX(48deg) !important;
}

.content-wrap .swiper-container-horizontal > .swiper-pagination-bullets {
    width: 100%;
}

/* bottom feed */
.bottom-feed-container {
    padding: 40px 0;
    background: url(/Sitefinity/WebsiteTemplates/ApCo/App_Themes/APCOtheme/images/home2016/top-left.png) no-repeat top left, url(/Sitefinity/WebsiteTemplates/ApCo/App_Themes/APCOtheme/images/home2016/bottom-right.png) no-repeat bottom right;
    background-color: #dfdfdf;
}

.bottom-feed-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.bottom-feed-container .content {
    margin-top: 0;
    padding-top: 0;
}

.feed-box {
    width: 31%;
    margin: 1%;
    background: #fff;
    position: relative;
}

    .feed-box header {
        position: absolute;
        width: calc(100% - 20px);
        padding: 10px;
        background: rgba(40, 47, 62, 0.9) url(/Sitefinity/WebsiteTemplates/ApCo/App_Themes/APCOtheme/images/home2016/feed-header-bgr.png) no-repeat 100% 0%;
    }

        .feed-box header h3 {
            font-size: 25px;
            font-weight: normal;
            margin: 0;
            color: #fff;
        }

    .feed-box img {
        display: block;
        width: 100%;
        max-width: 100%;
        max-height: 500px;
    }

.box-content {
    padding: 20px;
    font-size: 13px;
    line-height: 18px;
}

    .box-content ul {
        padding: 0;
        margin: 0;
        list-style-type: none;
    }

        .box-content ul li {
            margin: 0 0 15px;
        }

            .box-content ul li.sticky {
                font-weight: bold;
                color: #fb4f14;
            }

            .box-content ul li a {
                text-decoration: none;
                color: inherit;
            }

                .box-content ul li a:hover {
                    text-decoration: underline;
                    color: inherit;
                }

    .box-content .more {
        font-weight: bold;
        text-decoration: none;
    }

/* footer */

.footer-wrap {
    padding: 25px 0 20px;
    background: rgb(40, 47, 62);
    background: rgba(40, 47, 62, 1);
}

.footer {
    display: flex;
    flex-wrap: wrap;
    top: auto;
}

.footer-left,
.footer-right {
    position: static;
}

.footer-left {
    width: 70%;
}

.footer-right {
    width: 30%;
    align-self: flex-end;
}

ul.footer-nav,
ul.footer-subnav {
    float: left;
    font-size: 14.5px;
}

ul.footer-subnav {
    font-weight: bold;
}

    ul.footer-subnav li {
        margin-right: 20px;
    }

        ul.footer-subnav li:last-child {
            margin-right: 0px;
        }

.footer-nav li {
    float: left;
    width: 110px;
    font-weight: bold;
}

    .footer-nav li a {
        display: block;
    }

    .footer-nav li ul {
        float: left;
        clear: left;
        display: block;
        padding-left: 0;
        margin-top: 3px;
        width: 90%;
    }

        .footer-nav li ul li {
            width: 100%;
            max-width: 100%;
            font-weight: normal;
        }

ul.social-nav li {
    float: left;
}

p.disclaimer {
    margin-bottom: 17px;
}



/* MEDIA QUERIES */
/* 1400 */
@media only screen and (min-width : 1400px) {
}
/* 1200 */
@media only screen and (max-width : 1250px) {
}
/* 1200 */
@media only screen and (max-width : 1200px) {
}

/* 1050 */
@media only screen and (max-width : 1050px) {
}

/* 1024 */
@media only screen and (max-width : 1024px) {
    .swiper-slide .title {
        padding: 26px 60px 34px 30px;
    }

        .swiper-slide .title h2 {
            font-size: 24px;
            line-height: 28px;
        }

    .swiper-slide .text {
        font-size: 16px;
        line-height: 19px;
    }

    .footer {
        flex-flow: column wrap;
        justify-content: center;
    }

    .footer-left {
        width: 100%;
    }

    .footer-right {
        width: 100%;
        align-self: flex-start;
    }

    ul.footer-nav, ul.footer-subnav {
        width: 100%;
    }

    .footer-nav li {
        float: none;
    }

        .footer-nav li > ul {
            margin-bottom: 15px;
        }
}

/* 850 */
@media only screen and (max-width : 850px) {
    .swiper-slide .title h2 {
        font-size: 22px;
        line-height: 24px;
    }

    .feed-box {
        width: 48%;
        margin-bottom: 20px;
    }

    .nav-extra::before {
        right: 14px;
    }
}

/* 800 */
@media only screen and (max-width : 800px) {
    ul.main-nav {
        right: 90px;
    }
}

/* 766 and up */
@media only screen and (min-width : 766px) {
}

/* 765 */
@media only screen and (max-width : 765px) {
    .logo {
        left: -50px;
    }

    .retina-logo {
        display: block;
    }

    .desktop-logo {
        display: none;
    }

    .logo img {
        width: 264px;
        height: 132px;
    }

    .nav-bg-wrapper {
        height: 74px;
    }

    ul.main-icons {
        margin: 17px 0 0;
    }

    ul.main-nav {
        margin-top: 26px;
    }
}

/* 640 */
@media only screen and (max-width : 640px) {
    .nav-extra {
        width: auto;
        left: 6px;
    }
}

/* 551 */
@media only screen and (min-width : 551px) {
}

/* 550 */
@media only screen and (max-width : 550px) {
    ul.main-icons {
        margin: 15px 0 0;
    }

    .bg-img {
        padding: 90px 25px 0;
        width: calc(100% - 50px);
        height: calc(100% - 90px);
    }

    .swiper-slide .title,
    .swiper-slide .text {
        padding: 20px;
        width: auto;
        transform: skewX(0deg) !important;
        left: 0;
        right: auto;
        position: static;
    }

        .swiper-slide .title h2,
        .swiper-slide .text p {
            float: none;
            transform: skewX(0deg) !important;
            width: 100%;
        }

    .content-wrap .swiper-container-horizontal > .swiper-pagination-bullets {
        width: 100%;
        position: relative;
        left: auto;
        right: auto;
        bottom: 50px;
    }

    .bottom-feed-wrapper {
        flex-direction: column;
    }

    .bottom-feed-container {
        padding: 20px;
    }

    .feed-box {
        width: 100%;
    }
}

/* 520 */
@media only screen and (max-width : 520px) {
}

/* 440 */
@media only screen and (max-width : 440px) {
}

/* 400 */
@media only screen and (max-width : 400px) {
}

/* 356 */
@media only screen and (max-width : 356px) {
}

/* 320 */
@media only screen and (max-width : 320px) {
}
