/*
    Ideal Lightbox
    Created on : Apr 4, 2014
    Author     : Cole Panike & Toby Hayes
*/

#IdealLightbox {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999999; /* that aughta' do it */
    display: none; /* start hidden */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    #IdealLightbox * {
        -moz-box-sizing: border-box; /*This attribute is not inherited*/
        -webkit-box-sizing: border-box; /*This attribute is not inherited*/
        box-sizing: border-box; /*This attribute is not inherited*/
        position: static;
    }

    #IdealLightbox > .content {
        font: 16px 'Lato', "Century Link", arial, sans-serif;
        width: 100%;
        height: 100%;
        color: #fff;
        background: #000;
        background: rgba(0,0,0,.7);
        margin: 0;
        overflow: hidden;
    }

    #IdealLightbox .col {
        float: left;
        position: relative;
        height: 100%;
    }

        #IdealLightbox .col:first-child {
            width: 80%;
            background: #000;
            background: rgba(0,0,0,.7);
            color: #fff;
            margin: 0;
        }

        #IdealLightbox .col:nth-child(2) {
            padding-left: 15px;
            padding-right: 15px;
            width: 20%;
        }

    /*For when adBox is disabled:*/
    #IdealLightbox .full {
        height: 100%;
        width: 100%;
        margin: 0;
        background: #000;
        background: rgba(0,0,0,.7);
        color: #fff;
        position: relative;
    }

    #IdealLightbox .caption {
        background-color: rgba(200,200,200,0.1);
        padding: 10px;
        padding-right: 50px;
        text-align: center;
    }

    #IdealLightbox .image {
        padding: 20px;
    }

        #IdealLightbox .image > .inner {
            max-width: 100%;
            height: 100%;
            position: relative;
        }

        #IdealLightbox .image img {
            display: block;
            margin: auto !important;
            max-width: 100%;
            max-height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }

    /*Navigation*/
    #IdealLightbox .chevron-container {
        cursor: pointer;
        position: absolute;
        top: 0;
        height: 100%;
        text-align: center;
        display: table;
        z-index: 880;
    }

        #IdealLightbox .chevron-container .chevron,
        #IdealLightbox .play span {
            font-weight: bold;
            color: #ccc;
            opacity: .6;
            display: table-cell;
            vertical-align: middle;
        }

            #IdealLightbox .chevron-container .chevron:hover,
            #IdealLightbox .image .play span:hover {
                color: #fff;
                opacity: 1;
            }

        #IdealLightbox .chevron-container .chevron {
            top: 50%;
            font-size: 120px;
        }

        #IdealLightbox .chevron-container.left {
            left: .5%;
        }

        #IdealLightbox .chevron-container.right {
            right: .5%;
        }

    #IdealLightbox .image .play span {
        color: #fff;
        font-size: 50px !important;
        bottom: 1em;
        left: 1em;
    }

    #IdealLightbox .ad img {
        margin: 0;
        margin-top: 40px;
        max-width: 100%;
    }

    #IdealLightbox .close {
        color: #ccc;
        cursor: pointer;
        font-size: 28px;
        padding: 20px;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 888;
    }

        #IdealLightbox .close:hover {
            color: #fff;
        }

/*Respond*/
@media screen and (max-width: 900px) {
    #IdealLightbox .content {
        background: rgba(0,0,0,.9);
    }

    #IdealLightbox .col,
    #IdealLightbox .full {
        float: none;
        margin: 0;
        width: 100% !important;
    }

        #IdealLightbox .col:first-child {
            background: none;
        }

    #IdealLightbox .ad {
        display: none;
    }

    #IdealLightbox .chevron-container .chevron {
        vertical-align: middle;
    }
}
