/* just a demo, feel free to make this however you like in your app */

.cardflow-wrapper {
    position:absolute;
    overflow:hidden;
    width: 100%;
    height: 100%;
}

.cardflow-container {
    /* just make it big enough to float the second card next to first, so I can calculate offsets & width */
    width: 200%; 
    
    /* disable text selection */
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    outline: 0;

    cursor: pointer;

    /* card movement transition */
    transition: transform 0.25s ease-out;
    -webkit-transition: -webkit-transform 0.25s ease-out;
    -moz-transition: -moz-transform 0.25s ease-out;
    -o-transition: -o-transform 0.25s ease-out;
    -ms-transition: -ms-transform 0.25s ease-out;

    /* center cards in me */
    padding-left: 50%;
}


.cardflow-card{
    float:left;
    margin-right: 10px;
    margin-left: 10px;

    width: 200px;
    height: 200px;
    
    text-align: center;
    line-height:200px;

    background: #000;
    background-size:cover;

    border: 1px solid #000;

    /* keep padding & borders inside box size */
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -o-box-sizing:border-box;

    
}

/* disable dragging */
.cardflow-card img {
    pointer-events: none;
}

.cardflow-carousel {
    position: relative;
}

/* style carousel single-card flows */
.cardflow-carousel,.cardflow-carousel .cardflow-card,.cardflow-carousel .cardflow-container,.cardflow-carousel .cardflow-wrapper {
    height: 100%;
}

.cardflow-carousel .cardflow-card {
    line-height: 100%;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    text-align: center;
}

.carousel .cardflow-card {
    margin-right: 0;
}

.cardflow-carousel .indicators {
    position: absolute;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
    bottom: 0;
    left: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    width: 100%;
    text-align: center;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
    -ms-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
}

.cardflow-carousel:hover .indicators {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

.cardflow-carousel .indicator {
    background-color: #000;
    background-color: rgba(10, 10, 10, 0.6);
    cursor: pointer;
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 50%;
    margin: 2px;
    -webkit-transition: color 0.5s ease-out;
    -moz-transition: color 0.5s ease-out;
    -o-transition: color 0.5s ease-out;
    -ms-transition: color 0.5s ease-out;
    transition: color 0.5s ease-out;
}

.cardflow-carousel .indicator.active {
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.6);
}

/*

You can get much better cross-browser support by doing all your reflections & glows like this:
http://webdesign.tutsplus.com/tutorials/cross-browser-css-reflections-glows-and-blurs--webdesign-6294

*/


cardflow .cardflow-wrapper {
    height: 100%;
}

cardflow .cardflow-card {
    /*
    this seems to mess up reflection in chrome.
    I can fix with moving everything to 3d, but chrome was also
    doing funny stuff with the transform matrix (mis-repainting)
    I am just going to leave this out.
    */

    /*
    -webkit-transition: -webkit-transform 0.25s ease-out;
    -moz-transition: -moz-transform 0.25s ease-out;
    -o-transition: -o-transform 0.25s ease-out;
    -ms-transition: -ms-transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
    */
}

cardflow .cardflow-card.cardflow-active {
    
}

/* disable indent & active card for page-driven coverflows */
.page .cardflow-container {
    padding-left: 0;
}

.page .cardflow-card.cardflow-active {
    border-color: #000;
    -webkit-box-shadow: none;
    box-shadow: none;
}


