﻿
.center-on-page {
    position: relative;
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%);
}

input[type="checkbox"],
input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

label {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-left: 30px;
    padding-right: 10px;
    line-height: 36px;
    cursor: pointer;
}

    label::before {
        content: " ";
        position: absolute;
        top: 6px;
        left: 0;
        display: block;
        width: 24px;
        height: 24px;
        border: 2px solid #428bca;
        border-radius: 4px;
        z-index: -1;
    }

input[type="radio"] + label::before {
    border-radius: 18px;
}
/* Checked */
input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label {
    padding-left: 10px;
    color: #fff;
}

    input[type="checkbox"]:checked + label::before,
    input[type="radio"]:checked + label::before {
        top: 0;
        width: 100%;
        height: 100%;
        background: #428bca;
    }
/* Transition */
label,
label::before {
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}

/* Accordian */
.panel-heading a:after {
    font-family: 'fontawesome';
    content: "\f07d";
    float: right;
    color: grey;
}

.panel-heading {
    cursor: pointer;
    cursor: hand;
}





.stack {
    position: relative;
    z-index: 10;
}

    .stack img {
        max-width: 100%;
        height: 180px;
        vertical-align: bottom;
        border: 10px solid #fff;
        border-radius: 3px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        transform: rotate(1.5deg);
    }

    .stack:before, .stack:after {
        content: "";
        border-radius: 3px;
        width: 100%;
        height: 180px;
        position: absolute;
        border: 10px solid #fff;
        left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        -webkit-transition: 0.3s all ease-out;
        -moz-transition: 0.3s all ease-out;
        transition: 0.3s all ease-out;
    }

    .stack:before {
        top: 4px;
        z-index: -10;
        transform: rotate(-2.5deg);
    }
    /* 1st element in stack (behind image) */

    .stack:after {
        top: 8px;
        z-index: -20;
        transform: rotate(-5deg);
    }
/* 2nd element in stack (behind image) */
.PicBox {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 999;
    border-width: 0;
}


.jzoom {
    position: absolute;
    top: 250px;
    left: 100px;
    width: 350px;
    height: 350px;
}
