/**
 * Created by yding on 8/1/2016
 */

.course-header {
    background-color: #edf0f5;
    padding-top: 1.875rem;
    padding-bottom: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding-left: 5%;
}

.course-thumbnail {
    position: relative;
    margin-right: 2rem;
}

.course-thumbnail-img{
    width: 12.5rem;
    height: 13.75rem;
    object-fit: contain;
    object-position: center;
    /*object-fix polyfill for IE 11*/
    font-family: "object-fit: contain; object-position: center;";
}

.related-wrapper {
    padding-top: 0.625rem;
    height: 28px;
    visibility: hidden;
}

.related {
    font-family: proxima_nova_ltlight;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #233242;
}

.available {
    font-family: proxima_nova_ltsemibold;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #233242;
}

.course-duration {
    position: absolute;
    bottom: -2rem;
    text-align: center;
    width: 100%;
}

.course-header-content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    text-align: left;
}

.course-header-title {
    font-family: proxima_nova_ltsemibold;
    font-size: 2.8125rem;
    line-height: 0.9;
    color: #2e4154;
}

.course-header-subtitle {
    font-family: proxima_nova_rgregular;
    font-size: 1.5rem;
    line-height: 1.1;
    color: #464a54;
    margin-bottom: 2rem;
}

.course-header-description {
    font-family: proxima_nova_rgregular;
    font-size: 1rem;
    line-height: 1.2rem;
    color: #141414;
    margin-bottom: 0.8125rem;
    height: 3.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 60%;
    clear: both;
}

.course-header-description p {
    margin: 0;
}

p {
    margin: 0;
}

.read-more {
    font-family: proxima_nova_ltsemibold;
    font-size: 0.875rem;
    letter-spacing: -0.2px;
    color: #2e4154;
    position: relative;
    cursor: pointer;
}

.u-is-unrotated.read-more::before {
    -webkit-transform: scale(1.5, 1) rotate(180deg);
            transform: scale(1.5, 1) rotate(180deg);
}

.chapter-section {
    position: relative;
}

.chapter-count {
    font-family: proxima_nova_ththin;
    font-size: 2.5rem;
    line-height: 1;
    color: #2e4154;
    margin: 0.1875rem 25% 0.3125rem;
}

.course-ipad-social {
    display: none;
}

.chapter-content {
    padding-left: 25%;
    position: relative;
    margin-bottom: 3.75rem;
}

a.chapter-icon {
    border-radius: 3px;
    background-color: #43b2c4;
    width: 8.5rem;
    height: 4.125rem;
    max-width: 20%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.25rem;
    font-family: proxima_nova_ththin;
    color: #fff;
    text-decoration: none;
}

.chapter-assessment {
    font-size: 3rem;
}

.icon-circle-check-white,
.icon-circle-arrow {
    margin-right: 0.75rem;
}

.icon-circle-check-white {
    background-image: url('http://img.medscapestatic.com/pi/mscp-origin/courses/check-mark-3x.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 25px;
}

a.chapter-title {
    font-family: proxima_nova_ltsemibold;
    font-size: 1.875rem;
    line-height: 1;
    color: #233242;
    margin-top: 0.625rem;
    padding: 0.625rem 0 1.375rem;
    border-top: solid 3px #2e4154;
    display: block;
    text-decoration: none;
}

a.chapter-title:hover,
a.chapter-icon:hover {
    text-decoration: none;
}

.chapter-content:last-child > .chapter-title {
    border-bottom: solid 1px #ccd6dd;
}

.chapter-description {
    font-family: proxima_nova_rgregular;
    font-size: 16px;
    line-height: 1.4;
    color: #141414;
    position: relative;
}

.chapter-status-button {
    border-radius: 3px;
    width: 3.125rem;
    border: 1px solid transparent;
    background-color: #0897ad;
    margin-top: 0.875rem;
    padding: 0.625rem 2.125rem;
    color: #fff !important;
    display: block;
    text-align: center;
    text-decoration: none;
}

a.chapter-status-button:hover {
    text-decoration: none;
}

.chapter-status-button-start {
    background-color: #005b80;
}

.disabled-chapter .chapter-title,
.disabled-chapter .chapter-description{
    color: #7d86a0;
    font-family: proxima_nova_rgregular;
    cursor: default;
}

.disabled-chapter .chapter-title
.disabled-chapter .text-title{
    border-top: solid 3px #7d86a0;
}

.disabled-chapter a.chapter-icon {
    background-color: #dbe5ec;
    color: #2e4154;
    cursor: default;
}

.disabled-chapter a.test-status-button,
.disabled-chapter a.no-cme-start {
    background-color: #dbe5ec;
    color: #7d86a0;
    cursor: default;
}

.disabled-chapter .test-title,
.disabled-chapter .no-cme-description,
.disabled-chapter .test-description,
.disabled-chapter .test-item-description,
.disabled-chapter .cme-credit,
.disabled-chapter .plus-cme-credit,
.disabled-chapter .on-medscape-edu {
    color: #7d86a0;
}

.disabled-chapter .icon {
    -webkit-filter: grayscale(90%);
            filter: grayscale(90%);
}

.course-author-title {
    font-family: proxima_nova_ltsemibold;
    font-size: 0.9375rem;
    margin: 0.5rem 0 1rem;
    line-height: 1.3;
    color: #2e4154;
    position: relative;
}

.author {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    position: relative;
    margin-right: 0.625rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1.625rem;
}

.author-headshot {
    width: 3.75rem;
    height: 3.75rem;
    margin-right: 5px;
    display: block;
}

.author-info {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    position: relative;
}

.author-name {
    font-family: proxima_nova_ltsemibold;
    font-size: 0.8125rem;
    color: #262626;
}

.author-details {
    font-family: proxima_nova_rgregular;
    font-size: 0.75rem;
    color: #626b85;
    position: absolute;
    bottom: 0;
}

.course-about {
    border-top: solid 1px #2e4154
}

.course-about-about {
    font-family: proxima_Nova_ltlight;
    font-size: 1.25rem;
    color: #2e4154;
    padding: 0.625rem 0 0.5rem;
}

.course-about-title > span {
    display: block;
    font-size: 2.8125rem;
    line-height: 0.9;
    color: #2e4154;
}

.course-about-slogan {
    font-family: proxima_nova_rgregular;
    font-size: 0.9375rem;
    color: #2e4154;
    margin: 0.625rem 0 1.5rem;
}

.course-about-content {
    font-family: proxima_nova_ltlight;
    font-size: 1rem;
    line-height: 1.4;
    color: #141414;
    text-align: left;
}

a.view-all-button, button.view-all-button {
    width: 9.25rem;
    border-radius: 3px;
    border: 1px solid transparent;
    background-color: #005b80;
    padding: 0.6125rem 2.125rem;
    font-family: proxima_nova_rgregular;
    font-size: 0.8125rem;
    text-align: center;
    color: #fff !important;
    display: block;
    text-decoration: none;
    margin-top: 1rem;
    box-sizing: content-box;
}

a.view-all-button:hover, button.view-all-button:hover {
    text-decoration: none;
}

.start-chapter-button {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 3px;
    border: 1px solid transparent;
    background-color: #005b80;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.23);
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    text-decoration: none;
    display: none;
}

.start-chapter-status {
    font-family: proxima_nova_rgregular;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #ccd6dd;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

.start-chapter-no {
    font-family: proxima_nova_ltsemibold;
    font-size: 1.125rem;
    color: #fff;
    text-decoration: none;
}

.start-chapter-no::after {
    content: '\2227';
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
    display: inline-block;
    margin-left: 0.75rem;
}

.warning-box {
    border-radius: 3px;
    background-color: #f7e2e2;
    border: solid 1px #e7b2b9;
    padding: 1rem  2rem 1rem 1.375rem;
    position: absolute;
    text-align: center;
    font-family: proxima_nova_rgregular;
    font-size: 1rem;
    color: #2e4154;
    display: none;
    z-index: 100;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
@media only screen
and (min-width: 1279px){
    .mob-feedback-wrapper {
        justify-content: flex-start;
    }
    a.icon-feedback{
        margin-left: 0;
    }
    .social .icon-feedback {
        display: none;
    }
}

@media only screen
and (max-width: 1279px){
    .view-all-button {
        display: block;
        margin: 0 auto;
    }
}

@media only screen
and (max-width: 1279px)
and (min-width: 768px){
    .course-header {
        padding-left: 0.75rem;
    }

    .course-header-content {
        padding-right: 3rem;
    }

    .course-header-title {
        font-size: 2.1875rem;
    }

    .course-header-subtitle {
        margin-bottom: 0.675rem;
    }

    .course-header-description {
        width: auto;
    }

    .chapter-count {
        border-bottom: none;
        margin: 0;
        font-family: proxima_nova_ththin;
        font-size: 1.4375rem;
        font-weight: 100;
        line-height: 2;
        color: #2e4154;
    }

    .course-ipad-social {
        float: right;
        display: flex;
    }

    .chapter-title {
        border-top: solid 3px #2e4154;
    }

    .course-author-title::before {
        position: absolute;
        content: '';
        left: 5.75rem;
        top: 0.5rem;
        right: 0.5rem;
        border-top: solid 3px #2e4154;
    }

    .author-headshot {
        margin-right: 2rem;
    }

    .course-author {
        width: 80%;
        float: right;
    }

    .social {
        border-bottom: none;
    }

    .course-about {
        background-color: #f2f5f9;
        border-top: none;
        clear: both;
        padding: 1.5rem 2.5rem 0;
    }

	.partner .course-about {
		padding-bottom: 1.5rem;
	}

    .course-about-slogan {
        display: none;
    }

    .course-about-content {
        -webkit-column-count: 2;
           -moz-column-count: 2;
                column-count: 2;
        margin-bottom: 3.125rem;
        margin-top: 3.25rem;
        -webkit-column-gap: 4.5rem;
           -moz-column-gap: 4.5rem;
                column-gap: 4.5rem;
    }

    .course-about-title > span {
        display: inline-block;
    }

    .author-name {
        padding-top: 0.3rem;
    }

    .author-details {
        bottom: 0.75rem;
    }
}

@media only screen
and (min-width: 768px) {
   /* .column-right {
        display: none;
    }*/
}

@media only screen
and (max-width: 767px) {
    .course-header {
        display: block;
        padding: 0.75rem 0 0.5rem 0;
    }

    .course-header-title {
        font-size: 1.625rem;
        padding-right: 40%;
        padding-left: 5%;
        position: relative;
        border-bottom: solid 2px rgba(0, 0, 0, 0.21);
        margin-bottom: 0.6875rem;
    }

    .course-header-subtitle {
        font-size: 1.125rem;
        margin-bottom: 0;
    }

    .course-header-description {
        width: auto;
        padding: 1.5rem 1rem 0;
    }

    .read-more {
        margin: 0 1rem;
    }

    .course-thumbnail {
        width: 5rem;
        height: 5rem;
        display: block;
        float: left;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .course-thumbnail-img {
        width: 5rem;
        height: 5rem;
    }

    .course-duration {
        bottom: -1.3125rem;
    }

    .chapter-count {
        border-top: solid 2px #2e4154;
        border-bottom: solid 1px #ccd6dd;
        font-size: 1rem;
        color: #2e4154;
        font-family: proxima_nova_rgregular;
        padding: 0.8125rem 0;
        margin: 0;
    }

    .chapter-content {
        margin-bottom: 0.4375rem;
        border-radius: 2px;
        background-color: #f2f5f9;
        box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.21);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        min-height: 80px;
        padding: 0;
    }

    a.chapter-title {
        font-size: 1.1875rem;
        margin: 0 0.875rem;
        border-top: none;
        width: 55%;
    }

    .disabled-chapter .chapter-title {
        border-top: none;
    }

    .chapter-assessment {
        font-size: 2rem;
    }

    .chapter-description {
        display: none;
    }

    a.chapter-icon {
        min-width: 2.75rem;
        height: 2.5rem;
        position: relative;
        width: 4rem;
        margin-left: 1rem;
    }

    .start-chapter-button {
        display: block;
    }

    .chapter-status-button {
        display: inline-block;
        position: absolute;
        right: -0.45rem;
        top: 1.25rem;
        width: auto;
        padding: 0.5rem 1.4rem 0.5rem 1.1rem;
        background-color: #005b80;
        margin: 0;
        text-decoration: none;
        display: none;
    }

    .chapter-status-button-start {
        display: block;
    }

    .course-author {
        border-top: solid 2px #2e4154;
        padding-top: 0.5625rem;
        margin-top: 1.625rem;
    }

    .mobile-course-benefits {
        display: none;
    }

    .column-left {
        border-bottom: none;
    }

    .chapter-content:last-child > .chapter-title {
        border-bottom: none;
    }

    .course-about-title > span {
        font-size: 2rem;
    }

    .course-about-slogan {
        font-size: 0.625rem;
    }

    .course-about-content {
        font-size: 0.875rem;
        padding-top: 1rem;
    }

    a.view-all-button {
        margin:1rem auto;
    }

    .warning-box {
        left: 0;
    }

    .author-name {
        padding-top: 0rem;
    }

    .author-details {
        bottom: 0rem;
    }

    .course-ipad-social {
        display: none;
    }

}

@media only screen
and (max-width: 767px)
and (orientation: landscape) {
    .course-header-description,
    .read-more {
        margin-left: 7rem;
        padding-left: 0;
        clear: none;
    }

    .course-header-title {
        padding-bottom: 1rem;
    }

    .course-header-subtitle {
        margin-top: 2rem;
        margin-bottom: 0;
    }

}

#js-chapter-header-start {
    margin: 20px 0 0;
}
a.startChapterButton {
    background-color: #005b80;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    color: #fff;
    padding: 12px 0;
    text-align: center;
    text-indent: -10px;
    text-decoration: none;
    font-family: proxima_nova_ththin;
    font-size: 20px;
    width: 240px;
    display: inline-block;
}
.startChapterButton strong {
    font-family: proxima_nova_rgregular;
    position: relative;
}
.startChapterButton strong::after {
    position: absolute;
    right: -20px;
    top: -12px;
    font-family: proxima_nova_ththin;
    content: "\203a";
    font-size: 1.7em;
}
[class*="safari"].touchscreen .startChapterButton strong::after,
[class*="firefox"] .startChapterButton strong::after,
[class*="msie"] .startChapterButton strong::after {
    top: -10px;
}

@media only screen
and (max-width: 767px) {
    .startChapterButton {
        margin: 0 0 10px 15px;
    }
}


