/* 
 
 Author: Cloanta Alexandru
 Name: Tcard
 Version: 1.8
 
 */

@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i,900,900i');

.tcard *,
.tcard *:before,
.tcard *:after{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.tcard {
    position: relative;
    display: flex;
    width: 200px;
    margin: 20px 17px 20px 0;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    border-radius: 5px;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    clear: both;
}

.tcard-inner{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.tcard.cubicbezier .tcard-inner{
    -webkit-transition-duration: 1.2s;
    -o-transition-duration: 1.2s;
    transition-duration: 1.2s;
    -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -o-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tcard .tcard-front {
    position: absolute;
    width: 200px;
    height: 220px;
    top: 0;
    left: 0;
    z-index: 1;
}
.tcard .tcard-front .grade {
    color: #0A246A;
    background: #eee;
    margin-top: -6px;
}

.tcard .tcard-back {
    position: relative;
    width: 200px;
    height: 220px;
}
.tcard .tcard-front{
    background-size: cover !important;
    cursor: pointer;
}
.tcard .tcard-back.z-up {
    z-index: 99999;
}

.tcard .tcard-front,
.tcard .tcard-back {
    overflow: hidden;
    border-radius: 5px;
    background-size: cover;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.35);
}

.tcard .h2,
.tcard .h3,
.tcard .h4,
.tcard .h5{
    margin: 5px 0;
    font-weight: 300;
}

.tcard .h2{
    font-size: 14px;
}

.tcard .h3{
    font-size: 0.8em;
}

.tcard .h4{
    font-size: 12px;
    line-height: 1.1;
}

.tcard p{
    margin: 10px 0;
}

.tcard a{
    text-decoration: none;
}

.bottomElemProfilEns .linkToProfil{
    color: #fff;
}

.tcard .tcard-header,
.tcard .tcard-content,
.tcard .tcard-footer {
    overflow: hidden;
    position: relative;
    color: #fff;
    padding: 0 15px;
}

.tcard .tcard-header,
.tcard .tcard-footer {
    min-height: 50px;
}

.tcard .tcard-header{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.tcard .tcard-footer{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tcard .tcard-content {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 132px;
}

.tcard .tcard-button{
    position: absolute;
    top: 18px;
    right: 15px;
    width: 20px;
    height: 16px;
    line-height: 0;
    cursor: pointer;
    z-index: 9;
}

.tcard .tcard-button .tcard-button-line{
    position: absolute;
    width: 20px;
    height: 1px;
    left: 0;
    background: #fff;
}

.tcard .tcard-button .tcard-button-line:nth-child(1){
    top: 1px;
}

.tcard .tcard-button .tcard-button-line:nth-child(2){
    top: 5px;
}

.tcard .tcard-button .tcard-button-line:nth-child(3){
    top: 9px;
}

.tcard .tcard-button .tcard-button-line:nth-child(4){
    bottom: 2px;
}

.tcard .tcard-button.social{
    top: 13px;
    height: 28px;
    z-index: 99;
}

.tcard .tcard-button.social .tcard-button-line:nth-child(1){
    width: 8px;
    height: 8px;
    top: 50%;
    border-radius:100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.tcard .tcard-button.social .tcard-button-line:nth-child(2),
.tcard .tcard-button.social .tcard-button-line:nth-child(3){
    width: 15px;
    height: 2px;
    top: 50%;
}

.tcard .tcard-button.social .tcard-button-line:nth-child(2):before,
.tcard .tcard-button.social .tcard-button-line:nth-child(3):before{
    content: " ";
    position: absolute;
    width: 8px;
    height: 8px;
    right: -6px;
    top: -3px;
    border-radius: 100%;
    background: #fff;
}

.tcard .tcard-button.social .tcard-button-line:nth-child(2){
    margin-top: -3px;
    -webkit-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    transform: rotate(-30deg);
}

.tcard .tcard-button.social .tcard-button-line:nth-child(3){
    margin-top: 1px;
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.tcard .tcard-button.social .tcard-button-line:nth-child(4){
    display: none;
}

.tcard .tcard-button.social .tcard-social-list {
    position: absolute;
    width: 30px;
    height: 0;
    overflow: hidden;
    left: -3px;
    top: 20px;
    opacity: 0;
    padding-top: 5px;
    z-index: 99;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.tcard .tcard-button.social:hover .tcard-social-list {
    height: auto;
    opacity: 1;
}

.tcard .tcard-button.social .tcard-social-list a {
    display: block;
    font-size: 20px;
    margin-top: 5px;
    text-align: center;
    color: #fff;
}

.tcard .tcard-button.social ul li a:hover {
    text-decoration: underline;
}

.tcard .tcard-header .tcard-header-title{
    position: relative;
    float: left;
    overflow: hidden;
}

.tcard .tcard-header .tcard-header-title .h2,
.tcard .tcard-header .tcard-header-title .h3{
    position: relative;
    display: block;
    margin:0;
    line-height: 50px;
    letter-spacing: 1px;
}

.tcard .tcard-header-info{
    position: absolute;
    text-align: center;
    left: 15px;
    right: 35px;
    bottom: 0;
    line-height: initial;
}

.tcard .tcard-content-item{
    position: absolute;
    top:50%;
    left: 15px;
    right: 15px;
    padding: 1px 0;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    overflow: hidden;
}

.tcard .tcard-list {
    position: relative;
    float: left;
    list-style: none;
    padding: 5px 2px;
    margin:0;
    overflow: hidden;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tcard .tcard-list li{
    position: relative;
    float: left;
    margin-right: 10px;
    font-size: 14px;
    line-height: 0;
}

.tcard .tcard-list li:last-child{
    margin-right: 0;
}

.tcard .tcard-list li .h4{
    margin: 0;
    font-size: initial;
    text-align: center;
    color: #fff;
}

.tcard .tcard-list li a{
    font-size: 25px;
    line-height: 50px;
    color: #fff;
    -webkit-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

.tcard .tcard-profile,
.tcard .tcard-skills,
.tcard .content-info,
.tcard .skill-title,
.tcard .tcard-skills .skill-item,
.tcard .tcard-skill-point{
    position: relative;
    width: 100%;
}

.tcard .tcard-profile{
    height: 80px;
}

.tcard .tcard-profile,
.tcard .tcard-skills,
.tcard .content-info {
}

.tcard .tcard-avatar{
    position: absolute;
    left: 50%;
    top:0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 4px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tcard .tcard-avatar img{
    width: 68px;
    height: 68px;
    border-radius: 50%;
}

.tcard .email,
.tcard .tcard-button-gallery{
    position: absolute;
    width: 30px;
    height: 30px;
    line-height: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 100%;
    border:2px solid rgba(255, 255, 255, 0.7);
    -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.tcard .email:hover,
.tcard .tcard-button-gallery:hover{
    color: #fff;
    border-color: #fff;
}

.tcard .tcard-skills .skill-item{
    margin-right: 7px;
}

.tcard .tcard-skill-point span {
    font-size: 16px;
}

.tcard .tcard-progress-bar {
    position: relative;
    width: 60%;
    height: 10px;
    background: rgba(50, 50, 50, 0.5);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
    border-radius: 5px;
}

.tcard .tcard-bar{
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 5px;
    background: rgba(50, 50, 50,0.7);
    -webkit-transition: width 0.7s ease-in-out;
    -o-transition: width 0.7s ease-in-out;
    transition: width 0.7s ease-in-out;
}

.tcard-skills.circle{
    position: relative;
    float: left;
    width: auto;
    left: 50%;
    margin-bottom: 0;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.tcard .tcard-skills.circle .skill-title{
    color: #323232;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.tcard .tcard-skills.circle .skill-item{
    float: left;
    width: 55px;
}

.tcard .tcard-skills.circle .tcard-skill-point{
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 100%;
    border: 5px solid #e7e7e7;
}

.tcard .tcard-skills.circle .tcard-skill-point .count{
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: 400;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#svg {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 60px;
    height: 60px;
}

#svg circle {
    stroke-dashoffset: 156;
    stroke-dasharray: 156;
    stroke-width: 5px;
    fill: transparent;
    -webkit-transition: stroke-dashoffset 0.7s ease-in-out;
    -o-transition: stroke-dashoffset 0.7s ease-in-out;
    transition: stroke-dashoffset 0.7s ease-in-out;
}
#svg circle{
    stroke: #323232;
}
.tcard .content-info .upload_image,
.tcard .content-info input[type="file"]{
    position: absolute;
    width: 100px;
    height: 100px;
    color: #fff;
    border-radius: 100%;
    top: 0;
    left: 50%;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    opacity: 0;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tcard .content-info .upload_image{
    opacity: 1;
    line-height: 100px;
    font-size: 25px;
}

.tcard .tcard-form{
    position: relative;
    float: left;
    width: 100%;
}

.tcard .tcard-form-item{
    position: relative;
    float: left;
    width: 100%;
    z-index: 1;
    height: 30px;
    padding-left: 30px;
    text-align: left;
    margin-top: 20px;
}

.tcard .tcard-form-item.remember{
    margin-top: 0;
}

.tcard .tcard-form-item.gender{
    width: 50%;
    margin-top: 0;
}

.tcard .tcard-form-item.gender.terms{
    width: 100%;
}

.tcard .tcard-form-item label,
.tcard .tcard-icon{
    position: absolute;
    top:50%;
    color:#fff;
    z-index: -1;
    font-size: 13px;
    font-weight: 400;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

.tcard .tcard-form-item.remember label{
    position: relative;
    float: left;
    left: 0;
    cursor: pointer;
}

.tcard .tcard-icon{
    left: 1px;
    font-size: 16px;
}

.tcard .psw .tcard-icon i{
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.tcard .tcard-form-item label{
    left: 30px;
}

.tcard .tcard-form-item.gender label{
    left: 47px;
    cursor: pointer;
}

.tcard .tcard-form-item input{
    position: relative;
    float: left;
    width: 100%;
    border: none;
    font-weight: 400;
    background: none;
    height: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.tcard .tcard-form-item textarea{
    position: relative;
    float: left;
    width: 100%;
    height: 100px;
    color: #323232;
    border: none;
    font-weight: 400;
    background: none;
    -webkit-resize: none;
    -moz-resize: none;
    resize: none;
}

.tcard .tcard-form-item.remember input{
    width: auto;
    margin: 0;
}

.tcard .tcard-form-item input[type=checkbox],
.tcard .tcard-form-item input[type=radio]{
    visibility: hidden;
}

.tcard .tcard-form-item.remember div,
.tcard .tcard-form-item.gender div{
    width: 20px;
    height: 30px;
    position: relative;
    float: left;
    margin-left: 5px;
}

.tcard .tcard-form-item.gender div{
    margin-left: 0;
}

.tcard .tcard-form-item.remember .tocheck,
.tcard .tcard-form-item.gender .tocheck{
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 16px;
    left: 0;
    z-index: 1;
    margin: 0;
    cursor: pointer;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(255,255,255,1);
    box-shadow: inset 0px 0px 5px 0px rgba(255,255,255,1);
}

.tcard .tcard-form-item.remember .tocheck:before,
.tcard .tcard-form-item.gender .tocheck:before{
    content: '';
    width: 6px;
    height: 4px;
    position: absolute;
    top: 3px;
    left: 3px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: opacity 0.1s ease-in-out;
    -o-transition: opacity 0.1s ease-in-out;
    transition: opacity 0.1s ease-in-out;
}

.tcard .tcard-form-item input[type=checkbox]:checked + .tocheck:before,
.tcard .tcard-form-item input[type=radio]:checked + .tocheck:before{
    opacity: 1;
}

.tcard input:focus,
.tcard button:focus,
.tcard textarea{
    outline: none;
}

.tcard .tcard-form-item.active label{
    opacity: 0;
}

.tcard .tcard-submit{
    display: inline-block;
    position: relative;
    margin: 20px 0 10px 0;
}

.tcard .tcard-back .tcard-submit{
    margin: 10px 0 0 0;
}

.tcard .tcard-submit button{
    position: relative;
    height: 30px;
    font-size: 16px;
    width: 150px;
    color: #fff;
    border: none;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
}

.tcard-form-item.psw input{
    padding-right: 22px;
}

.tcard .forgot-psw{
    position: absolute;
    right: 0;
    top: 5px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    line-height: 17px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    -webkit-transition: color 0.2s ease-in-out,border-color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out,border-color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out,border-color 0.2s ease-in-out;
}

.tcard .forgot-psw:hover{
    color: #fff;
    border-color: #fff;
}

.tcard .info-post-blog{
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    text-align: center;
    line-height: normal;
}

.tcard .info-post-blog .h4{
    font-size: 13px;
    line-height: 14px;
    margin-top: 10px;
}

.tcard .info-post-blog .h4 span{
    margin: 0 2px;
}

.tcard .ellipsis{
    margin: 0;
}


/********************

    Tcard gallery:

*********************/
.tcg-group,
.tcg{
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    overflow: hidden;
    background: black;
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
    display: none;
}

.tcg-group{
    position: fixed;
}

.tcg{
    position: absolute;
}

.tcg-group.is-open,
.tcg.is-open{
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    z-index: 999;
}

.tcg-sidebar{
    position: absolute;
    width: 320px;
    right: -320px;
    top:50px;
    bottom: 0;
    overflow-y: scroll;
    z-index: 99999;
    background: rgba(12, 12, 12, 0.9);
    -webkit-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.tcg-sidebar.is-open{
    right: -20px;
}

.tcg-user {
    float: left;
    width: 140px;
    height: 98px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px 5px;
    border: 2px solid transparent;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tcg-user.user-activ{
    border-color: rgba(193,193,193,0.5);
}

.tcg-arrow {
    position: absolute;
    width: 30px;
    height: 36px;
    top: 50%;
    z-index: 9999;
    color: #c1c1c1;
    cursor: pointer;
    border-radius: 5px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tcg-arrow.tcg-left {
    left: 15px;
}

.tcg-arrow.tcg-right {
    right: 15px;
}

.tcg-arrow:before,
.tcg-arrow:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #c1c1c1;
}

.tcg-arrow.tcg-left:before {
    top: 10px;
    left: 4px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.tcg-arrow.tcg-left:after {
    bottom: 10px;
    left: 4px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.tcg-arrow.tcg-right:before {
    top: 10px;
    right: 4px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.tcg-arrow.tcg-right:after {
    bottom: 10px;
    right: 4px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.tcg-arrow:hover {
    background: rgba(12, 12, 12, 0.9);
}

.tcg-item {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 85vw;
    height: auto;
    width: auto;
    max-height: 100vh;
    -webkit-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
    display: none;
}

.tcard .tcg .tcg-item{
    width: 100%
}

.tcg-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 15px;
    height: 50px;
    z-index: 999;
    background: rgba(12, 12, 12, 0.9);
}

.tcg-counter {
    position: relative;
    float: left;
    width: 100px;
    height: 50px;
    line-height: 50px;
    color: #c1c1c1;
    text-align: center;
    font-size: 20px;
}
.tcard .tcg-counter{
    width: auto;
}
.tcg-close,
.tcg-toggle-sidebar {
    position: relative;
    float: right;
    margin-left: 10px;
    height: 30px;
    width: 30px;
    top: 10px;
    color: #c1c1c1;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
}

.tcg-toggle-sidebar {
    float: right;
    height: 24px;
    width: 24px;
    top: 14px;
}

.tcg-close:before,
.tcg-close:after {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    top: 15px;
    left: 2px;
    background: #c1c1c1;
}

.tcg-close:before {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.tcg-close:after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.tcg-toggle-sidebar .tcg-line {
    position: relative;
    float: left;
    border: 1px solid #c1c1c1;
    width: 8px;
    height: 8px;
    margin: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tcg-toggle-sidebar.is-open .tcg-line {
    border-color: #fff;
}

/********************

    Tcard Skin-1:

*********************/
.tcard.skin-1 .tcard-front .tcard-content {
    height: calc(100% - 100px);
}

.tcard.skin-1 .tcard-front .tcard-content:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

.tcard.skin-1 .tcard-front .tcard-content .tcard-content-item{
    top:60%;
    -webkit-transform: translateY(-60%);
    -ms-transform: translateY(-60%);
    transform: translateY(-60%);
}

.tcard.skin-1 .tcard-front .tcard-content .tcard-content-item .h2{
    font-weight: 400;
}

.tcard.skin-1 .email{
    top:25px;
    left: 10%;
}

.tcard.skin-1 .tcard-button-gallery{
    top:25px;
    right: 10%;
}

.tcard.skin-1 .skill-title .h3 {
    margin: 0 0 5px 0;
}
.tcard.skin-1 .tcard-progress-bar {
    background: rgba(255, 255, 255, 0.5);
}

.tcard.skin-1 .tcard-bar{
    background: rgba(255, 255, 255,0.7);
}
.tcard.skin-1 .content-info .h3 {
    margin-bottom: 0;
}

.tcard.skin-1 .tcard-front .tcard-list{
    padding: 0;
}

.tcard.skin-1 .tcard-back p{
    color: rgba(255, 255, 255, 0.7);
}


/********************

    Tcard Skin-2:

*********************/

.tcard.skin-2 .tcard-front:before {
    content: " ";
    position: absolute;
    display: block;
    top: 0;
    left: -10px;
    bottom: 0;
    right: -10px;
    width: auto;
    height: 100%;
    opacity: 0.15;
}


.tcard.skin-2 .tcard-back .tcard-button.social{
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.tcard.skin-2 .tcard-back .tcard-header{
    min-height: 150px;
    line-height: 0;
}

.tcard.skin-2 .tcard-profile {
    height: 100px;
    float: left;
    margin-bottom: 0 !important;
}

.tcard.skin-2 .tcard-back .tcard-header .tcard-button-gallery,
.tcard.skin-2 .tcard-back .tcard-header .email{
    bottom: 0;
    top: auto;
    border-radius: 0;
    border: none;
    width: 70px;
    font-weight: 400;
    color: #fff;
    line-height: 20px;
    height: 20px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tcard.skin-2 .tcard-back .tcard-header .tcard-button-gallery{
    left: 0;
}

.tcard.skin-2 .tcard-back .tcard-header .email{
    right: 0;
}

.tcard.skin-2 .tcard-back .tcard-header .tcard-avatar{
    top: -5px;
}

.tcard.skin-2 .tcard-back .tcard-content{
    color: #6e6e6e;
    background: #fff;
}

.tcard.skin-2 .tcard-back .tcard-content .h2{
    color: #323232;
    font-weight: 500;
}

.tcard.skin-2 .tcard-back .tcard-footer{
    border-top:1px solid #e5e5e5;
    background: #fff;
}


.tcard.skin-2 .tcard-back .tcard-footer:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e7e7e7;
}

.tcard.skin-2 .tcard-back .tcard-list li{
    color: #696969;
}
.tcard.skin-2 .tcard-back .tcard-list li .h4{
    color: #323232;
}


/********************

   Skin-3:

*********************/
.tcard.skin-3{
    max-width: 300px
}

.tcard.skin-3 .tcard-button {
    width: 12px;
    height: 17px;
}

.tcard.skin-3 .tcard-button-line {
    width: 10px;
    height: 2px;
}

.tcard.skin-3 .tcard-submit{
    top: auto;
    width: auto;
    height: auto;
    right: auto;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.tcard.skin-3 .tcard-button .tcard-button-line:nth-child(1) {
    top: 4px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.tcard.skin-3 .tcard-button .tcard-button-line:nth-child(2) {
    top: auto;
    bottom: 4px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.tcard.skin-3 .tcard-front .tcard-content {
    height: calc(100% - 107px);
}

.tcard.skin-3 .tcard-front .tcard-content-item{
    top: 100%;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

.tcard.skin-3 .content-info{
    height: 100px;
    margin-bottom: 0;
}

.tcard.skin-3 .tcard-front .content-info{
    position: absolute;
    top: 25%;
    left: 50%;
    font-size: 35px;
    height: auto;
    -webkit-transform: translate(-50%,-25%);
    -ms-transform: translate(-50%,-25%);
    transform: translate(-50%,-25%);
    padding-top: 20px;
}

.tcard.skin-3 .tcard-footer{
    text-align: center;
    line-height: 0;
    height: 57px;
}
.tcard.skin-3 .tcard-footer .h4{
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    padding: 0;
    line-height: 50px;
    margin: 0;
}
.tcard.skin-3 .tcard-footer .h4 .tcard-button{
    position: relative;
    top:0;
    right: auto;
    color: #fff;
    text-decoration: underline;
}



/********************

   Skin-4:

*********************/
.tcard.skin-4{
    max-width: 300px;
}
.tcard.skin-4 .tcard-header{
    height: 150px;
}

.tcard.skin-4 .tcard-back .tcard-button{
    top: 15px;
    padding: 0 1px;
    height: auto;
    width: auto;
    display: inline-block;
    font-size: 22px;
}

.tcard.skin-4 .tcard-front .tcard-content {
    color: #323232;
    height: calc(100% - 207px);
}

.tcard.skin-4 .tcard-content,
.tcard.skin-4 .tcard-footer{
    background: #fff;
}

.tcard.skin-4 .tcard-list{
    width: 100%;
}

.tcard.skin-4 .tcard-list li{
    width: 100%;
    margin-top: 15px;
    padding-left: 22px;
    font-weight: 400;
    text-align: left;
}

.tcard.skin-4 .tcard-list li .h4{
    color: #323232;
    padding-bottom: 5px;
    text-align: left;
    font-weight: 400;
}

.tcard.skin-4 .tcard-list li .h4:last-child{
    border-bottom: 1px solid #e5e5e5;
}

.tcard.skin-4 .tcard-list li:last-child .h4:last-child{
    border-bottom: none;
}

.tcard.skin-4 .tcard-form-item.message{
    height: auto;
}

.tcard.skin-4 .tcard-form-item label,
.tcard.skin-4 .tcard-icon{
    color: #323232;
}

.tcard.skin-4 .tcard-form-item input {
    color: #323232;
    border-bottom: 1px solid #e5e5e5;
}

.tcard.skin-4 .tcard-form-item.message label,
.tcard.skin-4 .message .tcard-icon,
.tcard.skin-4 .tcard-front .tcard-icon{
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.tcard.skin-4 .tcard-form-item.message label{
    top: 5px;
}

.tcard.skin-4 .tcard-front .tcard-icon{
    top: 2px;
}

.tcard.skin-4 .message .tcard-icon{
    top: 2px;
}

.tcard.skin-4 .tcard-footer{
    text-align: center;
    line-height: 0;
    height: 57px;
}

.tcard.skin-4 .tcard-back .tcard-submit{
    margin: 0;
}

.tcard.skin-4 .tcard-button.button-message{
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    right: auto;
    height: auto;
    background: none;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.tcard.skin-4 .button-message .h4{
    line-height: 16px;
}

.tcard.skin-4 .button-message button{
    background: none;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none
}


/********************

   Skin-5:

*********************/
.tcard.skin-5 .tcard-front .tcard-header{
    position: absolute;
    width: 35px;
    right: 0;
    height: auto;
    bottom: 100px;
    top: 0;
    padding: 0;
    z-index: 1;
    background: #323232;
    border-top-left-radius: 0;
    border-top-right-radius: 5px;
}

.tcard.skin-5 .tcard-front .tcard-header-title{
    position: absolute;
    min-width: 300px;
    text-align: center;
    top: 143px;
    left: -133px;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.tcard.skin-5 .tcard-front .tcard-header-title .h3{
    line-height: 36px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.tcard.skin-5 .tcard-front .tcard-header-title .h3 span{
    font-weight: 400;
}

.tcard.skin-5 .tcard-front .tcard-content{
    height: calc(100% - 100px);
    padding: 0;
}

.tcard.skin-5 .tcard-front .tcard-content-item{
    height: 100%;
    left: 0;
    right: 35px;
}

.tcard.skin-5 .tcard-front .tcard-content-item:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

.tcard.skin-5 .tcard-front .tcard-footer{
    height: 100px;
}

.tcard.skin-5 .tcard-list{
    position: absolute;
    width: 170px;
    bottom: 5px;
}

.tcard.skin-5 .tcard-list li:first-child{
    margin-right: 5px;
    font-weight: 400;
}

.tcard.skin-5 .tcard-list li:last-child{
    padding-right: 0;
}

.tcard.skin-5 .tcard-list li p{
    font-size: 16px;
}

.tcard.skin-5 .tcard-list li a{
    line-height: 22px;
    font-size: 16px;
}

.tcard.skin-5 .tcard-button {
    top: 40%;
    left: 50%;
    width: 122px;
    height: 30px;
    padding-left: 25px;
    text-align: center;
    right: auto;
    border-radius: 10px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.tcard.skin-5 .tcard-back .tcard-button{
    top: 30%;
    width: 150px;
}

.tcard.skin-5 .tcard-button .h3{
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.tcard.skin-5 .tcard-icon{
    font-size: 25px;
    top: 3px;
    padding: 0 5px;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.tcard.skin-5 .tcard-button .h3:before,
.tcard.skin-5 .tcard-button .h3:after{
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    right: -10px;
    background: #fff;
    -webkit-transition: right 0.3s ease-in-out;
    -o-transition: right 0.3s ease-in-out;
    transition: right 0.3s ease-in-out;
}

.tcard.skin-5 .tcard-button .h3:before{
    top: 7px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.tcard.skin-5 .tcard-button .h3:after{
    bottom: 5px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.tcard.skin-5 .tcard-button .h3:hover:before,
.tcard.skin-5 .tcard-button .h3:hover:after{
    right: -15px;
}

.tcard.skin-5 .tcard-back{
    font-size: 14px;
}

.tcard.skin-5 .tcard-back .tcard-content{
    padding-top: 15px;
    padding-bottom: 0;
    min-height: 350px;
    font-weight: 400;
}

.tcard.skin-5 .tcard-back .tcard-content .tcard-content-item{
    top: 15px;
    bottom: 0;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.tcard.skin-5 .tcard-back .tcard-footer{
    height: 70px;
    background: #323232;
}


/********************

   Skin-6:

*********************/
.tcard.skin-6 .tcard-front:before{
    content: " ";
    position: absolute;
    display: block;
    top: 0;
    left: -10px;
    bottom: 0;
    right: -10px;
    width: auto;
    height: 100%;
    opacity: 0;
}

.tcard.skin-6 .tcard-button{
    right: auto;
    left: 15px;
    width: 24px;
}

.tcard.skin-6 .tcard-button .tcard-button-line:nth-child(1){
    height: 2px;
    width: 24px;
}

.tcard.skin-6 .tcard-button .tcard-button-line:nth-child(2){
    height: 2px;
    top: 7px;
}

.tcard.skin-6 .tcard-button .tcard-button-line:nth-child(3){
    height: 2px;
    top: 13px;
}

.tcard.skin-6 .tcard-button.social{
    right: 15px;
    left: auto;
    width: 20px;
}

.tcard.skin-6 .tcard-button.social .tcard-button-line:nth-child(1){
    height: 8px;
    width: 8px;
}

.tcard.skin-6 .tcard-button.social .tcard-button-line:nth-child(2),
.tcard.skin-6 .tcard-button.social .tcard-button-line:nth-child(3){
    width: 15px;
    height: 2px;
    top: 50%;
}

.tcard.skin-6 .tcard-content-item{
    text-align: left;
    bottom: 20px;
    top: auto;
    left: 0;
    right: 40px;
    color: #fff;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.tcard.skin-6 .tcard-content-item .h2,
.tcard.skin-6 .tcard-content-item .h3,
.tcard.skin-6 .tcard-content-item .h4{
    font-weight: 400;
    padding: 0 15px;
}

.tcard.skin-6 .tcard-content-item .h2{
    padding: 2px 15px 5px 15px;
    text-transform: uppercase;
    background: #003071;
    transition : all 0.2s ease;
}
.tcard.skin-6 .tcard-front:hover .h2{
    background:#f46f1d;
}

.tcard.skin-6 .tcard-front .h3{
    color: #0A246A;
    background: #eee;
    margin-top: -6px;
}

.tcard.skin-6 .tcard-back{
    padding: 0 20px;
}

.tcard.skin-6 .tcard-back .tcard-content{
    background: #fff;
    color:#a7a6a9;
    font-weight: 400;
    padding: 5px 15px 0 15px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.35);
}

.tcard.skin-6.frosted-glass .tcard-back .tcard-content{
    color: #535354;
    background: rgba(255,255,255,0.5);
}

.tcard.skin-6 .tcard-back .tcard-button{
    left: 0;
    z-index: 2;
}
.tcard.skin-6 .tcard-button-gallery{
    width: auto;
    height: auto;
    color: #fff;
    border: none;
    z-index: 2;
    border-radius: 0;
    right: 0;
    top: 12px;
}
.tcard.skin-6 .tcard-back .tcard-header .h3{
    position: absolute;
    text-align: center;
    left: 25px;
    right: 24px;
    top: 17px;
    z-index: 1;
    margin: 0;
    font-weight: 600;
}
.tcard.skin-6 .tcard-back .tcard-profile{
    text-align: left;
    height: auto;
}

.tcard.skin-6 .tcard-back .tcard-profile .h4{
    font-weight: 400;
}

.tcard.skin-6 .tcard-back .tcard-profile .h3{
    font-weight: 400;
    color:#323232;
}

.tcard.skin-6 .tcard-back .content-info{
    font-size: 12px;
    text-align: left;
    padding-top: 10px;
}

.tcard.skin-6 .tcard-back .content-info .h3{
    color:#323232;
    font-weight: 400;
}

.tcard.skin-6 .tcard-back .content-info p{
    margin: 5px 0;
}

.tcard.skin-6 .tcard-back .h3{
}

.tcard.skin-6 .tcard-back .skill-title{
    text-transform: uppercase;
    font-weight: 400;
    color: #323232;
    text-align: left;
    margin-bottom: 0;
}

.tcard.skin-6 .tcard-back .tcard-progress-bar{
    width: 100%;
}

.tcard.skin-6 .tcard-skill-point span.count{
    position: absolute;
    right: 5px;
    top: -3px;
    color: #fff;
    font-size: 11px;
}

.tcard.skin-6 .tcard-back .tcard-footer{
    padding: 0;
}

.tcard.skin-6 .tcard-back .tcard-list li{
    margin: 0;
}

.tcard.skin-6 .tcard-back .tcard-list li:nth-child(1){
    padding-right: 15px;
}

.tcard.skin-6 .tcard-back .tcard-list li:nth-child(1):before{
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    height: 85%;
    width: 1px;
    background: #fff;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.tcard.skin-6 .tcard-back .tcard-list li:nth-child(2){
    padding-left: 15px;
}

.tcard.skin-6 .tcard-back .tcard-list li .h4{
    font-weight: 600;
}



/********************

   Skin-7:

*********************/
.tcard.skin-7{
    max-width: 320px;
    font-weight: 400;
}

.tcard.skin-7 .tcard-header {
    position: relative;
    height: 100px;
    z-index: 2;
    overflow: initial;
}

.tcard.skin-7 .tcard-header:before {
    content: "";
    position: absolute;
    width: 110%;
    height: 70px;
    border-radius: 100%;
    bottom: -20px;
    z-index: -1;
    left: -5%;
    -webkit-box-shadow: 0px 17px 35px -12px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 17px 35px -12px rgba(0, 0, 0, 0.35);
}

.tcard.skin-7 .tcard-header-info {
    width: 100%;
    left: 0;
    top: 50%;
    bottom: auto;
    color: #fff;
    opacity: 1;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.tcard.skin-7 .tcard-header-info .h2 {
    line-height: 40px;
    font-weight: 400;
}

.tcard.skin-7 .tcard-header-info .h2,
.tcard.skin-7 .tcard-header-info p {
    margin: 0;
}

.tcard.skin-7 .tcard-button {
    bottom: -48px;
    left: 50%;
    top: auto;
    width: auto;
    right: auto;
    height: auto;
    line-height: initial;
    padding: 4px 20px;
    border-radius: 10px;
    background: #f8f8e6;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tcard.skin-7 .tcard-content {
    background: #f8f8e6;
    color: #323232;
    padding: 30px 0 20px 0;
}

.tcard.skin-7 .content-info {
    padding: 20px 0;
    margin-bottom: 0;
}

.tcard.skin-7 .content-info .h2 {
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.tcard.skin-7 .content-info .h2 span {
    font-weight: 600;
}

.tcard.skin-7 .content-info .h2 .per{
}

.tcard.skin-7 .content-info .h2:before {
    content: "$";
    position: absolute;
    bottom: 7px;
    left: -15px;
}

.tcard.skin-7 .tcard-list {
    padding: 0;
}

.tcard.skin-7 .tcard-list li {
    width: 100%;
    padding: 15px 0;
    line-height: initial;
}

.tcard.skin-7 .tcard-list li span {
    font-weight: 600;
}

.tcard.skin-7 .tcard-list li:nth-child(odd) {
    background: rgba(0, 0, 0, 0.05);
}

.tcard.skin-7 .tcard-footer {
    background: #f8f8e6;
    text-align: center;
}

.tcard.skin-7 .tcard-footer .h3 {
    position: relative;
    color: #f8f8e6;
    padding: 5px 30px;
    display: inline-block;
    margin: 0;
    font-weight: 400;
    border-radius: 15px;
    top: 12px;
    -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, .35);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, .35);
}

.tcard.skin-1 .tcard-front:before,
.tcard.skin-1 .tcard-back:before,
.tcard.skin-2 .tcard-back .tcard-header:before,
.tcard.skin-3 .tcard-front:before,
.tcard.skin-3 .tcard-back:before,
.tcard.skin-4 .tcard-header:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
}

/********************

    Frosted Glass

*********************/
.tcard.skin-1.frosted-glass .tcard-front:before,
.tcard.skin-1.frosted-glass .tcard-back:before,
.tcard.skin-2.frosted-glass .tcard-back .tcard-header:before,
.tcard.skin-3.frosted-glass .tcard-front:before,
.tcard.skin-3.frosted-glass .tcard-back:before,
.tcard.skin-4.frosted-glass .tcard-header:before,
.tcard.skin-6.frosted-glass .tcard-back:before{
    content: "";
    width: auto;
    height: auto;
    position: absolute;
    top: -50px;
    left: -50px;
    bottom: -50px;
    right: -50px;
    -webkit-filter: blur(15px);
    filter: blur(15px);
}


/********************

   Tcard Animation

*********************/
.tcard.flip-x.to-bottom.flipped .tcard-inner,
.tcard.flip-x.to-top .tcard-back,
.tcard.rotate-x.to-top .tcard-back{
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
}

.tcard.flip-x.to-top.flipped .tcard-inner,
.tcard.flip-x.to-bottom .tcard-back,
.tcard.rotate-x.to-bottom .tcard-back{
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

.tcard.flip-y.to-right.flipped .tcard-inner,
.tcard.flip-y.to-left .tcard-back,
.tcard.rotate-y.to-left .tcard-back{
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.tcard.flip-y.to-left.flipped .tcard-inner,
.tcard.flip-y.to-right .tcard-back,
.tcard.rotate-y.to-right .tcard-back{
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.tcard.rotate-y.to-right.rotate-in .tcard-inner{
    -webkit-animation: rotate-right-in 1.8s 1s ease-in-out both;
    animation: rotate-right-in 1s ease-in-out both;
}

.tcard.rotate-y.to-right.rotate-out .tcard-inner{
    -webkit-animation: rotate-right-out 1s ease-in-out both;
    animation: rotate-right-out 1s ease-in-out both;
}

.tcard.rotate-y.to-left.rotate-in .tcard-inner{
    -webkit-animation: rotate-left-in 1s ease-in-out both;
    animation: rotate-left-in 1s ease-in-out both;
}

.tcard.rotate-y.to-left.rotate-out .tcard-inner{
    -webkit-animation: rotate-left-out 1s ease-in-out both;
    animation: rotate-left-out 1s ease-in-out both;
}

.tcard.rotate-x.to-top.rotate-in .tcard-inner{
    -webkit-animation: rotate-top-in 1s ease-in-out both;
    animation: rotate-top-in 1s ease-in-out both;
}

.tcard.rotate-x.to-top.rotate-out .tcard-inner{
    -webkit-animation: rotate-top-out 1s ease-in-out both;
    animation: rotate-top-out 1s ease-in-out both;
}

.tcard.rotate-x.to-bottom.rotate-in .tcard-inner{
    -webkit-animation: rotate-bottom-in 1s ease-in-out both;
    animation: rotate-bottom-in 1s ease-in-out both;
}

.tcard.rotate-x.to-bottom.rotate-out .tcard-inner{
    -webkit-animation: rotate-bottom-out 1s ease-in-out both;
    animation: rotate-bottom-out 1s ease-in-out both;
}

.tcard.rotate-y.to-right.cubicbezier.rotate-in .tcard-inner,
.tcard.rotate-y.to-right.cubicbezier.rotate-out .tcard-inner,
.tcard.rotate-y.to-left.cubicbezier.rotate-in .tcard-inner,
.tcard.rotate-y.to-left.cubicbezier.rotate-out .tcard-inner,
.tcard.rotate-x.to-top.cubicbezier.rotate-in .tcard-inner,
.tcard.rotate-x.to-top.cubicbezier.rotate-out .tcard-inner,
.tcard.rotate-x.to-bottom.cubicbezier.rotate-in .tcard-inner,
.tcard.rotate-x.to-bottom.cubicbezier.rotate-out .tcard-inner{
    -webkit-animation-duration: 1.2s;
    animation-duration: 1.2s;
    -webkit-animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@-webkit-keyframes rotate-right-in {
    0% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
    }
    100% {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
}

@keyframes rotate-right-in {
    0% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
    }
    100% {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
}

@-webkit-keyframes rotate-right-out {
    0% {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
    100% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

@keyframes rotate-right-out {
    0% {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
    100% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

@-webkit-keyframes rotate-left-in {
    0% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
    }
    100% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }
}

@keyframes rotate-left-in {
    0% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
    }
    100% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }
}

@-webkit-keyframes rotate-left-out {
    0% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }
    100% {
        -webkit-transform: rotateY(-360deg);
        transform: rotateY(-360deg);
    }
}

@keyframes rotate-left-out {
    0% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }
    100% {
        -webkit-transform: rotateY(-360deg);
        transform: rotateY(-360deg);
    }
}

@-webkit-keyframes rotate-top-in {
    0% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
    }
    100% {
        -webkit-transform: rotateX(180deg);
        transform: rotateX(180deg);
    }
}

@keyframes rotate-top-in {
    0% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
    }
    100% {
        -webkit-transform: rotateX(180deg);
        transform: rotateX(180deg);
    }
}

@-webkit-keyframes rotate-top-out {
    0% {
        -webkit-transform: rotateX(180deg);
        transform: rotateX(180deg);
    }
    100% {
        -webkit-transform: rotateX(360deg);
        transform: rotateX(360deg);
    }
}

@keyframes rotate-top-out {
    0% {
        -webkit-transform: rotateX(180deg);
        transform: rotateX(180deg);
    }
    100% {
        -webkit-transform: rotateX(360deg);
        transform: rotateX(360deg);
    }
}

@-webkit-keyframes rotate-bottom-in {
    0% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
    }
    100% {
        -webkit-transform: rotateX(-180deg);
        transform: rotateX(-180deg);
    }
}

@keyframes rotate-bottom-in {
    0% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
    }
    100% {
        -webkit-transform: rotateX(-180deg);
        transform: rotateX(-180deg);
    }
}

@-webkit-keyframes rotate-bottom-out {
    0% {
        -webkit-transform: rotateX(-180deg);
        transform: rotateX(-180deg);
    }
    100% {
        -webkit-transform: rotateX(-360deg);
        transform: rotateX(-360deg);
    }
}

@keyframes rotate-bottom-out {
    0% {
        -webkit-transform: rotateX(-180deg);
        transform: rotateX(-180deg);
    }
    100% {
        -webkit-transform: rotateX(-360deg);
        transform: rotateX(-360deg);
    }
}

/********************

   Gallery Animation

*********************/
.tcg.fade-in .tcg-item,
.tcg.fade-in .tcg-item.previous{
    -webkit-animation: fade-out 0.5s ease-in-out both;
    animation: fade-out 0.5s ease-in-out both;
}

.tcg.fade-in .tcg-item.current{
    -webkit-animation: fade-in 0.5s ease-in-out both;
    animation: fade-in 0.5s ease-in-out both;
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-webkit-keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity:  0;
    }
}
@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity:  0;
    }
}