﻿    /*Image Wrapper*/
.wrapper-image_16_9, .wrapper-image_1_1, .wrapper-image_4_3,.wrapper-image_1_1_infograph {
    position: relative !important;
    width: 100% !important; /* desired width */
    clear: both;
}

    .wrapper-image_16_9:before {
        content: "";
        display: block;
        /*padding-top: 75%;*/ /*4:3*/
        /*padding-top: 100%;*/ /*1:1*/
        padding-top: 56.25%; /*16:9*/
    }

    .wrapper-image_1_1:before {
        content: "";
        display: block;
        /*padding-top: 75%;*/ /*4:3*/
        padding-top: 100%; /*1:1*/
        /*padding-top: 56.25%;*/ /*16:9*/
    }

    .wrapper-image_4_3:before {
        content: "";
        display: block;
        padding-top: 75%; /*4:3*/
        /*padding-top: 100%;*/ /*1:1*/
        /*padding-top: 56.25%;*/ /*16:9*/
    }
    
     .wrapper-image_1_1_infograph:before {
        content: "";
        display: block;
        /*padding-top: 75%;*/ /*4:3*/
        padding-top: 66.5%; /*1:1*/
        /*padding-top: 56.25%;*/ /*16:9*/
    }


    .wrapper-image_16_9 img, .wrapper-image_1_1 img, .wrapper-image_4_3 img,.wrapper-image_1_1_infograph img  {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        min-width: 100% !important;
    }

/*Single line text for health block*/
.ellipsis-widget-singleline-text {
    direction: rtl;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
}

/*Two line text in home page*/
.ellipsis-widget-twoline-text {
    height: 40px;
    line-height: 20px;
    overflow: hidden;
}

    .ellipsis-widget-twoline-text:before {
        content: "";
        float: right;
        height: 40px;
        width: 5px;
    }

    .ellipsis-widget-twoline-text:after {
        box-sizing: content-box;
        content: "…";
        float: right;
        margin-right: -3em;
        padding-left: 5px;
        position: relative;
        right: 100%;
        text-align: left;
        top: -20px;
        width: 3em;
    }

    .ellipsis-widget-twoline-text > *:first-child {
        float: left;
        margin-left: -5px;
        width: 100%;
    }



/*Two line text in home page*/
.ellipsis-widget-threeline-text {
    height: 60px;
    line-height: 20px;
    overflow: hidden;
}

    .ellipsis-widget-threeline-text:before {
        content: "";
        float: right;
        height: 60px;
        width: 5px;
    }

    .ellipsis-widget-threeline-text:after {
        box-sizing: content-box;
        content: "…";
        float: right;
        margin-right: -3em;
        padding-left: 5px;
        position: relative;
        right: 100%;
        text-align: left;
        top: -20px;
        width: 3em;
    }

    .ellipsis-widget-threeline-text > *:first-child {
        float: left;
        margin-left: -5px;
        width: 100%;
    }

/*Two line text in over of image*/
.ellipsis-widget-hover-text {
    height: 50px;
    line-height: 20px;
    overflow: hidden;
}

    .ellipsis-widget-hover-text:before {
        content: "";
        float: right;
        height: 50px;
        width: 5px;
    }

    .ellipsis-widget-hover-text:after {
        box-sizing: content-box;
        content: "…";
        float: right;
        margin-right: -3em;
        padding-left: 5px;
        position: relative;
        right: 100%;
        text-align: left;
        top: -30px;
        width: 3em;
    }

    .ellipsis-widget-hover-text > *:first-child {
        float: left;
        margin-left: -5px;
        width: 100%;
    }

/*Video Page*/

#nextpreviousvideo {
    margin: 25px;
}

    #nextpreviousvideo .pager-page {
        margin-bottom: 0;
    }

        #nextpreviousvideo .pager-page > li {
            border: 1px solid #d9d9d9;
            padding: 30px 20px;
            text-align: center;
            width: 49%;
        }

        #nextpreviousvideo .pager-page h3 {
            font-size: 15px;
            text-transform: uppercase;
            margin-bottom: 10px;
            margin-top: 0;
        }

            #nextpreviousvideo .pager-page h3 a {
                color: #e2001a;
            }

                #nextpreviousvideo .pager-page h3 a:hover {
                    color: #292929;
                }

            #nextpreviousvideo .pager-page h3 span {
                color: #e2001a;
                margin: 4px 6px;
                float: right;
            }

        #nextpreviousvideo.pager-page a {
            font-size: 17px;
            font-weight: 400;
        }
