﻿


/* -------------------- HOME PAGE -------------------- */

.healthcare-professionals {
	color: #999999;
	font-size: 16px;
}

.homebanner {
	display: flex;
}




    /* -- WHO IS PERRIGO --*/

    .whoisperrigo {
        text-align: center;
        max-width: 1100px;
        margin: auto;
        padding: 20px 0px;
    }

.whoisperrigoicons {
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    border: 0px solid red;
    align-items: stretch;
    align-content: stretch;
}

.whoisperrigoiconsshell {
    width: 200px;
    font-size: 14px;
    line-height: 17px;
    border: 0px solid blue;
}

    .whoisperrigoiconsshell b {
        color: #0066a6;
    }

    .whoisperrigoiconsshell img {
        height: 80px;
        display: block;
        margin: 0px auto 15px auto;
    }


@media all and (max-width:900px) {
    .whoisperrigo {
                width: 95%;
    }

    .whoisperrigoiconsshell {
        width: 40%;
        margin-bottom: 50px;
        font-size: 16px;
        line-height: 18px;
    }
}

@media all and (max-width:600px) {

    .whoisperrigoiconsshell {
        width: 80%;
    }
}

    /* -- WHO IS PERRIGO --*/




    /* -- HYPO --*/

    .homehypo {
        display: flex;
        font-size: 18px;
        line-height: 24px;
        align-items: center;
        border: 0px solid red;
    }

        .homehypo > div:first-child {
            padding-right: 50px;
           }


        @media all and (max-width:900px) {
            .homehypo > div:first-child {
                padding-right: 0px;
            }     
        }


    /* This is the slideshow code for the hypo slides. It is pure CSS, no javascript required.*/
    /* Each slide is on for 3 seconds (animation-delay field), for a total animation time of 24 seconds (animation field, infinite)*/
    /* Each slide turns on at 2%, stays on to 13%, then fades out until 16%.  Since there are 8 slides, each slide lasts 12.5% of the time, so these numbers allow slight fade effect. */

    .fling-minislide {
        width: 350px;
        height: 300px;
        position: relative;
    }

        .fling-minislide img {
            position: absolute;
            animation: fling-minislide 24s infinite;
            opacity: 0;
            width: 100%;
            height: auto;
        }

    @keyframes fling-minislide {
        2% {
            opacity: 1;
        }

        13% {
            opacity: 1;
        }

        16% {
            opacity: 0;
        }
    }

    .fling-minislide img:nth-child(8) {
        animation-delay: 0s;
    }

    .fling-minislide img:nth-child(7) {
        animation-delay: 3s;
    }

    .fling-minislide img:nth-child(6) {
        animation-delay: 6s;
    }

    .fling-minislide img:nth-child(5) {
        animation-delay: 9s;
    }

    .fling-minislide img:nth-child(4) {
        animation-delay: 12s;
    }

    .fling-minislide img:nth-child(3) {
        animation-delay: 15s;
    }

    .fling-minislide img:nth-child(2) {
        animation-delay: 18s;
    }

    .fling-minislide img:nth-child(1) {
        animation-delay: 21s;
    }


    @media all and (max-width:900px) {

        .homehypo {
            flex-direction: column;
            justify-content: center;
            border: 0px solid red;
            padding: 0px 20px;
        }


        .fling-minislide {
            width: 250px;
            height: 200px;
            position: relative;
            margin: auto;
        }
    }

    /* -- HYPO --*/




    /* -- TESTIMONIALS --*/
    .testimonials {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .testimonialbox {
        background-color: #ffffff;
        padding: 45px;
        font-size: 26px;
        line-height: 34px;
        box-shadow: 0px 0px 10px #CCCCCC;
        width: 90%;
        font-family: Vollkorn;
        border-radius: 10px;
    }

    .testimonialname {
        font-size: 24px;
        font-weight: bold;
        color: #f05f91;
        margin-bottom: 0px;
    }

    .testimonialcity {
        font-size: 18px;
        line-height: 18px;
        font-weight: bold;
        font-style: italic;
        margin-top: 0px;
    }


    @media all and (max-width:900px) {

        .testimonialbox {
            width: 95%;
            margin: auto;
            padding: 10px 35px;
            border-radius: 4px;
        }

        .testimonialbox2 {
            width: 95%;
            margin: 0px auto 10px auto;
            text-align: left;
        }
    }





    /* -- TESTIMONIALS --*/







    /* -- WHERE TO BUY --*/


    .homewheretobuy {
        text-align: center;
            padding: 20px 0px;
    }

    .logocarousel img {
        margin: 0px 5px 0px 5px;
    }



    /* -- WHERE TO BUY --*/












    /* -- REBATE --*/


    .homerebate {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0px;
    }

        .homerebate img {
            padding: 0px;
            border: 0px solid red;
        }

.homerebate {
    width: 90%;
    margin: auto;
}


    /* -- REBATE --*/



















    /* The Modal (background) */
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: hidden; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
        text-align: center;
    }

    /* Modal Content/Box */
    .modal-content {
        background-color: #fefefe;
        margin: 200px auto; /* 10% from the top and centered */
        padding: 1.5%;
        border: 2px solid black;
        width: auto;
        display: inline-block;
    }

    .ModalVideoWrapper {
        color: #0066a6;
        font-weight: bold;
    }

    .ModalVideoIframe {
        width: 560px;
        height: 315px;
    }


    @media all and (max-width:900px) {
        .modal-content {
            padding: 10px;
        }

        .ModalVideoWrapper {
            font-size: 14px;
        }

        .ModalVideoIframe {
            width: 392px;
            height: 220px;
        }
    }


    /* The Close Button */
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 10px;
    }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }





    /* -------------------- HOME PAGE -------------------- */


    /* ----------- CONTRAST SWITCH BUTTON ----------- */
    .contrastbuttonbox {
        margin-top: 20px;
        text-align: center;
    }

    .contrastbutton {
        font-size: 12px;
        /*margin: 15px 5px 0px 0px;*/
        margin-top: 15px;
        margin-left: -40px;
    }


    /* The switch - the box around the slider */
    .switch {
        position: relative;
        display: inline-block;
        width: 48px;
        height: 22px;
    }

        /* Hide default HTML checkbox */
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    /* The contrast slider */
    .contrastslider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
        margin-left: 30px;
        width: 48px;
        height: 22px;
    }

        .contrastslider:before {
            position: absolute;
            content: "";
            height: 15px;
            width: 15px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    input:checked + .contrastslider {
        background-color: #2196F3;
    }

    input:focus + .contrastslider {
        box-shadow: 0 0 1px #2196F3;
    }

    input:checked + .contrastslider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
    }

    /* Rounded contrast sliders */
    .contrastslider.round {
        border-radius: 15px;
    }

        .contrastslider.round:before {
            border-radius: 50%;
        }

    /* ----------- CONTRAST SWITCH BUTTON ----------- */