﻿body {
}
.banner-t1 {
    position: relative;
}
.banner-t1-image {
    max-height: 390px;
    display: flex;
}

.banner-t1-topcontent {
    height: 60px;
}

.banner-t1 .banner-t1-topcontent h1 {
    color: #FFF;
    margin-bottom: 0;
    margin-top: 8px;
    font-size: 40px;
}

.banner-t1 h1 {
    margin-left: 40px;
}

.banner-t1-topcontent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #FFF;
    background-color: rgba(0,0,0,0.7);
}

.banner-t1-topcontent .head-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.banner-t1-topcontent .header-cta {
    color: #041C2C;
    background-color: white;
    display: flex;
    justify-content: center;
    font-size: 15px;
    padding: 0 10px;
    align-items: center;
    height: 45px;
    font-weight: 600;
    margin-right: 7%;
    text-decoration: none;
    text-transform: uppercase;
}

.main-content {
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 62px;
}

.main-content .no-preview {
    position: absolute;
    top: 0;
    left: 0;
    height: 308px;
    width: 271px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ccc;
    color: white;
    font-weight: bold;
    text-align: center;
}
.main-content a {
    text-decoration: none;
}
.main-content .card-panel h2 {
    font-size: 40px;
    color: #041C2C;
    font-weight: 200;
    margin: auto;
    padding-top: 20px;
}
.main-content .card-panel h2 a {
    text-decoration: none;
    color: #041C2C;
}
.banner-part a[href="#"] {
    cursor: default;
}
.main-content .card-panel .sub-heading {
    color: #565059;
    font-size: 15px;
    margin-top: 18px;
    word-wrap:break-word;
    line-height: 1.5em;
}

.main-content .card-panel {
    margin-bottom: 30px;
}
.main-content .card-panel .cards {
    display: flex;
    flex-wrap: wrap;
}
.main-content .card-panel .card-block:not(:nth-child(4n + 1)) {
    margin-left: 30px;
}
.main-content .card-panel .card-block {
    background-color: #F3F4F4;
    width: 270px;
    margin-top: 18px;
    border: solid 1px #F3F4F4;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.main-content .card-panel .card-block img.thumbnail{
    height: 308px;
    width: 270px;
}
.main-content .card-panel .card-block img.series-icon {
    height: auto;
    width: auto;
    position: absolute;
    top: 258px;
    right: 18px;
}

.main-content .card-panel .card-block-header {
    margin-top: 20px;
    margin-bottom: 22px;
    font-family: 'Old Standard TT';
    color: #041C2C;
    font-size: 24px;
    font-weight: normal;
}

.main-content .card-panel .card-block-content {
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.main-content .card-panel .card-block-content p{
    margin-bottom: 26px;
    color: #565059;
    font-size: 15px;
    word-wrap: break-word;
    line-height: 1.5em;
}
.main-content .card-panel .card-cta {
    margin: 0 15px 32px 15px;
    color: #041C2C;
    font-size: 15px;
    text-decoration: none;
    min-width: 73px;
    padding-bottom: 8px;
    font-weight: bold;
    display: table;
    line-height: 1.5em;
}

h2, h3, h4, h5, h5 {
    font-family: 'Old Standard TT', sans-serif;
}

.main-content .fwd-arrow {
    border: solid #041C2C;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 6px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.main-content .fwd-arrow.right-arrow {
    margin-left: -15px
}

.main-content .card-panel .vertical-pole {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.main-content .card-panel:last-child {
    margin-bottom: 70px;
}

/* IE (10+) specific css block */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .ie-flex-1 {
        flex: 1;
    }

    .main-content .card-panel .card-cta {
        display: table;
    }
    .main-content .card-panel .card-block {
        display: inline-block;
    }

    .main-content .card-panel .vertical-pole {
        height: 100%
    }
}

/* Only for mobile portrait mode */
@media only screen and (min-width : 320px) and (max-width : 567px) {

    .main-content .no-preview {
        height: 195px;
        width: 165px;
    }
    .main-content .fwd-arrow {
        border-width: 0 2px 2px 0;
        padding: 4px;
    }
    .main-content .fwd-arrow.right-arrow {
        margin-left: -8px;
    }
    .wrapper {
        align-items: center;
    }
    .banner-t1 {
        width: 364px;
        padding-left: 13px;
    }

    .banner-t1-topcontent {
        position: relative;
        color: #041C2C;
        background-color: transparent;
    }
    .banner-t1-image{
        display: none;
    }
    .banner-t1-topcontent {
        height: auto;
    }
    .banner-t1 .banner-t1-topcontent h1 {
        color: #041C2C;
        font-size: 24px;
        margin: 20px 0 -7px 0px;
    }
    .banner-t1-topcontent .head-wrapper {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .banner-t1-topcontent .header-cta  {
        background-color: #041C2C;
        color: white;
        font-size: 12px;
        height: 37px;
        margin-top: 20px;
        margin-bottom: 5px;
    }
    .main-content .card-panel h2 {
        font-size: 22px;
        margin-left: 7px;
    }

    .main-content {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        max-width: 364px;
    }
    .main-content .card-panel .card-block-header {
        font-size: 16px;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    .main-content .card-panel .card-block-content p {
        font-size: 12px;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    .main-content .card-panel .sub-heading {
        color: #565059;
        font-size: 12px;
        margin: 8px 14px 8px 7px;
        overflow-wrap: break-word;
        line-height: 1.4;
    }

    .main-content .card-panel .card-block img.thumbnail {
        height: 196px;
        width: 165px;
    }
    .main-content .card-panel .card-block {
        max-width: 165px;
        margin-top: 10px;
    }

    .main-content .card-panel .card-block:not(:nth-child(2n + 1)) {
        margin-left: 12px!important;
    }
    .main-content .card-panel .card-block:not(:nth-child(4n + 1)) {
        margin-left: 0;
    }
    .main-content .card-panel .cards {
        justify-content: flex-start;
        margin: 7px;
        margin-top: -5px;
    }

    .main-content .card-panel h2 {
        padding-top: 18px;
    }
    .main-content .card-panel {
        margin-bottom: 0;
    }
   
    .main-content .card-panel .card-cta {
        font-size: 12px;
        min-width: 60px;
        margin: 0 5px 15px 5px;
    }
    .main-content .card-panel .card-block-content {
        margin: 0 5px;
    }
    .main-content .card-panel .card-block img.series-icon {
        top: 145px;
    }
}

/** small devices landscape mode */
@media only screen and (min-width : 568px) and (max-width : 767px) {
     .banner-t1-topcontent .header-cta  {
        background-color: #041C2C;
        color: white;
        font-size: 12px;
        height: 37px;
        margin-top: 16px;
        margin-bottom: 6px;
    }
     .banner-t1-topcontent .head-wrapper {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
    .main-content .fwd-arrow {
        border-width: 0 2px 2px 0;
        padding: 4px;
    }
    .main-content .fwd-arrow.right-arrow {
        margin-left: -8px;
    }
    .main-content .no-preview {
        height: 196px;
        width: 173px;
    }
    .wrapper {
        align-items: center;
    }
    .banner-t1 {
        width: 556px;
    }

    .banner-t1-topcontent {
        position: relative;
        color: #041C2C;
        background-color: transparent;
    }
    .banner-t1-image{
        display: none;
    }
    .banner-t1-topcontent {
        height: auto;
    }
    .banner-t1 .banner-t1-topcontent h1 {
        color: #041C2C;
        font-size: 24px;
        margin-left: 0;
        margin-top: 23px;
    }

    .main-content .card-panel h2 {
        font-size: 22px;
    }
    .main-content .card-panel .card-block:not(:nth-child(3n + 1)) {
        margin-left: 12px!important;
    }
    .main-content {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        max-width: 556px;
    }

    .main-content .card-panel h2{
        padding-top: 15px;
    }

    .main-content .card-panel{
        margin-bottom: 7px;
    }
    .main-content .card-panel .card-block:not(:nth-child(2n + 1)){
       /*margin-left: 0!important;*/
    }
    .main-content .card-panel .card-block-header {
        font-size: 16px;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    .main-content .card-panel .card-block-content p {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .main-content .card-panel .sub-heading {
        color: #565059;
        font-size: 12px;
        margin-top: 8px;
    }

    .main-content .card-panel .card-block img.thumbnail {
        height: 196px;
        width: 172px;
    }
    .main-content .card-panel .card-block {
        max-width: 172px;
        margin-top: 14px;
    }
    .main-content .card-panel .card-block:not(:nth-child(4n + 1)) {
        margin-left: 0;
    }
    .main-content .card-panel .cards {
        justify-content: flex-start;
    }

    .main-content .card-panel .card-cta {
        font-size: 12px;
        margin-bottom: 15px;
        min-width: 58px;
    }
    .main-content .card-panel .card-block-content {
        height: 147px;
    }
    .main-content .card-panel .card-block img.series-icon {
        top: 150px;
    }
}

/* Tablet portrait mode */
@media only screen and (min-width : 768px) and (max-width : 1023px) {
     .main-content-wrapper .banner-t1-image {
        height: 271px;
    }
    .main-content .card-panel:last-child {
        margin-bottom: 50px;
    }
    .banner-t1-topcontent {
        height: 64px;
    }
    .banner-t1-topcontent .header-cta {
        margin-right: 16px;
        min-width: 201px;
    }
    .main-content .card-panel .card-block {
        width: 359px;
    }

    .main-content {
        padding-left: 11px;
        padding-right: 11px;
        padding-top: 50px;
    }

    .main-content .card-panel .cards {
        justify-content: flex-start;
    }

    .main-content .card-panel .card-block:not(:nth-child(2n + 1)) {
        margin-left: 20px!important;
    }
    .main-content .card-panel .card-block:not(:nth-child(4n + 1)) {
        margin-left: 0;
    }
    .banner-t1 h1 {
        margin-left: 10px;
    }

    .main-content .card-panel .card-block img.thumbnail {
        height: 400px;
        width: 359px;
    }
    .main-content .no-preview {
        height: 400px;
        width: 359px;
    }
    .main-content .card-panel .card-block img.series-icon {
        top: 350px;
    }
}

@media only screen and (min-width : 1024px) and (orientation: portrait), screen and (min-width : 1024px) and (max-width: 1365px) and (orientation: landscape) {
     .main-content-wrapper .banner-t1-image {
        height: 271px;
    }
    .main-content {
        padding-left: 62px;
        padding-right: 62px;
        padding-top: 62px;
    }
    .main-content .card-panel .card-block:not(:nth-child(4n + 1)) {
        margin-left: 0;
    }
    .main-content .card-panel .card-block:not(:nth-child(3n + 1)) {
        margin-left: 20px!important;
    }
    .banner-t1-topcontent .header-cta {
        margin-right: 10%;
    }
}
