/* Carousel */
#carousel_wrapper {
    position: relative;
    height: 500px;
    min-width: 250px;

}

#carousel_wrapper .background {
    background: no-repeat center;
    background-size: cover;
    height: 100%;
}

#carousel_wrapper .center {

    max-width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#carousel_wrapper .left {
    position: absolute;
    /*height: 100%;*/
    left: 0;

    max-width: 25%;

    top: 50%;
    transform: translateY(-50%);
}

#carousel_wrapper .right {
    position: absolute;
    /*height: 100%;*/
    right: 0;
    max-width: 25%;

    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 650px) {

    #carousel_wrapper .center {
        max-width: 90%;
    }

    #carousel_wrapper .left {
        display: none;
    }

    #carousel_wrapper .right {
        display: none;
    }
}

/* License header */
#license_header_container {
    position: relative;
    width: 100%;
    height: 150px;

    margin-top: -90px;
}

.license_header_background {
    width: 100vw;
    height: 100%;
    top: 0;
    position: absolute;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#license_header {
    font-size: 2em;
    text-align: center;

   font-family: 'Combo', cursive;
    font-weight: 700;

    margin-top: 72px;
    position: absolute;
    width: 100%;
}

@media (min-width: 650px) {

    #license_header_container {
        height: 250px;
    }

    #license_header {
        font-size: 3.8em;
        margin-top: 100px;
    }
}

/* Header */

#license_header_container .swirl_down {
    position: absolute;
    width: 36px;
    left: 0;
    top: 45px;
}

#license_header_container .swirl_center {
    background: white;
    left: 36px;
    right: 45px;
    top: 45px;
    position: absolute;
    height: 16px;
}

#license_header_container .swirl_up {
    position: absolute;
    width: 45px;
    top: 0;
    right: 0;
}

/* Product */
.product_container {
    position: relative;
    margin: 10px 0;
    min-height: 430px;
}

.product_sphere {
    position: absolute;
    right: -45px;
    top: 10px;

    width: 70px;
    height: 70px;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.35) 0 0 6px;
    border: 11px solid white;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url(../images/home/cnr_button_pattern.png);
    background-size: contain;
    color: #ffffff;
}

.product_sphere > img {
    display: block;
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: auto -50% auto auto;
    transform: translate(-50%, -50%);
}

.product_sphere > p {
    text-align: center;
    font-weight: bold;
    margin: 0;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.product_visual {
    box-sizing: border-box;
    position: relative;
    float: left;
    display: inline-block;
    width: 50%;
    height: 430px;
    padding: 10px 60px 10px 10px;

}

.product_image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 60px;
    max-width: 42vw;
    max-height: 100%;

    -webkit-filter: drop-shadow(-3px 0px 3px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(-3px 0px 3px rgba(0, 0, 0, 0.2));
}

.product_info {
    box-sizing: border-box;
    display: inline-block;
    background-color: white;
    width: 50%;
    padding: 11px 10px 10px 60px;
}

.product_info_buyButton {
    float: right;
    height: 100%
}

.product_info_table_buttons {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.product_info_table_buttons td {
    width: 50%;
    padding: 5px 1%;
}

.product_description {
    max-height: 30%;
    overflow-y: auto;
    min-height: 115px;
}

.product_background {
    width: 100vw;
    height: 100%;
    top: 0;
    position: absolute;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: -1;
}

.background_column {
    width: 50%;
    height: 100%;
    float: left
}

@media (max-width: 850px) {
    .background_column.white {
        display: none;
    }

    .background_column.colored {
        width: 100%;
    }
}

/* Flipped */

.flipped .product_sphere {
    left: -45px;
}

.flipped .product_visual {
    float: right;
    padding-right: 0;
    padding-left: 60px;
}

.flipped .product_info {
    padding-left: 10px;
    padding-right: 60px;
}

.flipped .product_info > p,
.flipped .product_info > h3 {
    text-align: right;
}

.flipped .product_info_table {
    float: right;
}

.flipped .product_info_buyButton {
    float: left;
}

.flipped .product_image {
    right: auto;
    left: 60px;
}

/* Store buttons */

.product_store_button {
    cursor: pointer;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
    height: auto;
}

.product_store_button p {
    padding: 15px 0;
}

#header_filler {
    width: 100%;
    margin-top: 10px;
}

/* Mobile products */
@media (max-width: 850px) {

    #header_filler {
        height: 50px;
    }

    .product_sphere {
        position: relative;
        top: -45px;
        right: 0;
        left: 0 !important;
        margin: 0 auto;
    }

    .product_visual {
        float: none;
        width: 100%;
        display: block;
        height: initial;
        padding: 10px;
        min-height: 400px;
    }

    .product_image {
        max-width: 90vw;
        max-height: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-40%);
    }

    .flipped .product_image {
        left: 50%;
    }

    .product_info {
        float: none;
        width: 100%;
        height: auto;
        display: inline-block;
        padding: 10px 10px 50px;
    }

    .product_description {
        max-height: inherit;
    }

    .product_container.flipped .product_visual {
        padding: 10px;
    }

    .product_container.flipped .product_info {
        padding: 10px 10px 50px;
    }

    .flipped .product_info > p,
    .flipped .product_info > h3 {
        text-align: left;
    }

}

/* Icons */
.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: contain;
}

/* Icon table */
.product_info_table {
    display: inline-block;
}

.product_info_table td {
    text-align: center;
    padding: 0 20px;
}

/* VIDEO */
.video_overlay {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;

    opacity: .75;
}

.video_overlay:hover {
    opacity: 1;
}

.video_overlay img {
    /*height: 33%;*/
    width: 33%;
    margin: 33%;
}

#video_player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0);
    /* RGBA with 0.75 opacity */
    background: rgba(0, 0, 0, 0.75);

    z-index: 999;

    display: none;
}

#video_player_close {
    position: absolute;
    right: 10px;
    top: 10px;

    width: 52px;
    height: 52px;

    background: url(../images/product/video_overlay_close.png) no-repeat;
}

.product_video {
    height: 100%;
}

@media (max-height: 850px) {
    .product_video {
        height: auto;
        width: 100%;
    }
}