/**
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.txt
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your
* needs please refer to CustomizationPolicy.txt file inside our module for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/
#view_credit_block .card {
    width: 320px;
    height: 190px;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px;
}
#view_credit_block .card__part {
    box-shadow: 1px 1px #aaa3a3;
    top: 0;
    position: absolute;
    z-index: 1000;
    left: 0;
    display: inline-block;
    width: 320px;
    height: 190px;
    background-image:url(''),linear-gradient(to right bottom, #fd696b, #fa616e, #f65871, #f15075, #ec4879);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 8px;

    -webkit-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -ms-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

#view_credit_block .card__front {
    padding: 18px;
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
}

#view_credit_block .card__back {
    padding: 18px 0;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
}

#view_credit_block .card__black-line {
    margin-top: 5px;
    height: 38px;
    background-color: #303030;
}

#view_credit_block .card__logo {
    height: 16px;
}

#view_credit_block .card__front-logo {
    position: absolute;
    top: 18px;
    right: 18px;
}

#view_credit_block .card__square {
    border-radius: 5px;
    height: 30px;
}

#view_credit_block .card_numer {
    display: block;
    width: 100%;
    word-spacing: 4px;
    font-size: 20px;
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

#view_credit_block .card__space-75 {
    width: 75%;
    float: left;
}

#view_credit_block .card__space-25 {
    width: 25%;
    float: left;
}

#view_credit_block .card__label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

#view_credit_block .card__info {
    margin-bottom: 0;
    margin-top: 5px;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#view_credit_block .card__back-content {
    padding: 15px 15px 0;
}

#view_credit_block .card__secret--last {
    color: #303030;
    text-align: right;
    margin: 0;
    font-size: 14px;
}

#view_credit_block .card__secret {
    padding: 5px 12px;
    background-color: #fff;
    position: relative;
}

#view_credit_block .card__secret:before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    height: calc(100% + 6px);
    width: calc(100% - 42px);
    border-radius: 4px;
    background: repeating-linear-gradient(45deg, #ededed, #ededed 5px, #f9f9f9 5px, #f9f9f9 10px);
}

#view_credit_block .card__back-logo {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

#view_credit_block .card__back-square {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

#view_credit_block .card:hover .card__front {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);

}

#view_credit_block .card:hover .card__back {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
}

#view_credit_block p.card-type {
    display: inline;
    width: 200px;
    height: 100px;
    padding: 5px;
}

@media only screen and (max-width: 300px) {
    #view_credit_block .card {
        width: 227px;
    }
    #view_credit_block .card__part  {
        width: 227px;
    }
    #view_credit_block .card_numer {
        font-size: 13px;
    }
}