/* 
 
 Author: Cloanta Alexandru
 Name: Tcard Wordpress
 Version: 1.8.0
 
 */
@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-group{
    position: relative;
    display: flex;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 40px 0;
}

.tcard-widget-group,
.widget_container{
    position: relative;
    width: 100%;
}

.tcard_widget{
    padding: 0 15px;
    margin: 20px 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.tcard-group-title{
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.tcard-group-title h2{
    color: #323232;
    font-size: 30px;
    display: block;
    margin-bottom: 0;
}

.tcard {
    position: relative;
    display: flex;
    max-width: 280px;
    margin: 15px auto;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #fff;
    border-radius: 5px;
    line-height: 1.7;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.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 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.tcard .tcard-back {
	width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

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

.tcard .tcard-back.z-up {
    z-index: 99999;
}

.tcard h2, 
.tcard h3, 
.tcard h4,
.tcard h5{
    margin: 5px 0;
    font-weight: 300;
    font-family: 'Lato', sans-serif;
    color: #fff;
    padding: 0;
}

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

.tcard h3{
    font-size: 18px;
}

.tcard h4{
    font-size: 16px;
    line-height: 1.2;
}

.tcard a,
.tcard a:hover,
.tcard a:focus{
    text-decoration: none;
    box-shadow: none;
    outline: none;
    color: #fff;
    border: none;
}

.tcard p{
    margin-bottom: 5px;
}

.tcard .tc-1{
	position: relative;
	float: left;
    width: 25%;
    padding: 5px;
    overflow: hidden;
    box-sizing: border-box;
}

.tcard .tc-2{
	position: relative;
	float: left;
    width: 50%;
    padding: 5px;
    overflow: hidden;
    box-sizing: border-box;
}

.tcard .tc-3{
	position: relative;
	float: left;
    width: 75%;
    padding: 5px;
    overflow: hidden;
    box-sizing: border-box;
}

.tcard .tc-4{
	position: relative;
	float: left;
    width: 100%;
    padding: 5px;
    overflow: hidden;
    box-sizing: border-box;
}

.tc-1 img,
.tc-2 img,
.tc-3 img,
.tc-4 img{
    display: block;
    margin: auto;
    max-width: 100%;
}

.tcard .tcard-header, 
.tcard .tcard-content, 
.tcard .tcard-footer {
    position: relative;
    float: left;
    width: 100%;
    overflow: hidden;
    padding: 0 5px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.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-button-container,
.tcard-header-title{
    min-height: 50px;
}

.tcard .tcard-button{
    position: relative;
    top: 14px;
    width: 20px;
    height: 16px;
    line-height: 0;
    cursor: pointer;
}

.tcard .tcard-button.left-button{
    float: left;
}

.tcard .tcard-button.center-button{
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.tcard .tcard-button.tcard-button-gallery.center-button{
    display: inherit;
}  

.tcard .tcard-button.right-button,
.tcard .tcard-button.tcard-button-gallery.right-button{
    float: right;
}

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

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

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

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

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

.tcard-button.button_three_line{
    height: 13px;
    width: 24px;
    top: 13px;
}

.tcard-button.button_three_line .tcard-btn-line{
    height: 2px;
}

.tcard-button.button_three_line .tcard-btn-line:nth-child(1){
    display: block;
    width: 24px;
    top: 1px;
}

.tcard-button.button_three_line.to-right .tcard-btn-line:nth-child(2){
    display: block;
    top: 7px;
    width: 85%;
}


.tcard-button.button_three_line.to-right .tcard-btn-line:nth-child(3){
    display: block;
    top: 13px;
    width: 85%;
}

.tcard-button.button_three_line.to-left .tcard-btn-line:nth-child(2){
    display: block;
    top: 7px;
    width: 85%;
    right: 0;
    left: auto;
}

.tcard-button.button_three_line.to-left .tcard-btn-line:nth-child(3){
    display: block;
    top: 13px;
    width: 85%;
    right: 0;
    left: auto;
}

.tcard-button.button_arrow{
    width: 12px;
    height: 20px;
    top: 9px;
}

.tcard-button.button_arrow.to-right{
    top: 10px;
}

.tcard-button.button_arrow .tcard-btn-line{
    width: 10px;
    height: 2px;
    background: #fff;
    left: auto;
}

.tcard-button.button_arrow .tcard-btn-line:nth-child(1),
.tcard-button.button_arrow .tcard-btn-line:nth-child(2) {
  display: block;
  position: absolute;
}

.tcard-button.button_arrow.to-right .tcard-btn-line:nth-child(1) {
    top: 12px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.tcard-button.button_arrow.to-right .tcard-btn-line:nth-child(2) {
    top: auto;
    bottom: 12px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.tcard-button.button_arrow.to-left{
    top: 10px;
}

.tcard-button.button_arrow.to-left .tcard-btn-line:nth-child(1) {
    top: auto;
    bottom: 12px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.tcard-button.button_arrow.to-left .tcard-btn-line:nth-child(2) {
 	top: 12px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.tcard-button.button_squares{
    height: 19px;
    top: 11px;
}

.tcard-button.button_squares .tcard-btn-line{
    display: block;
    width: 5px;
    height: 5px;
}

.tcard-button.button_squares .tcard-btn-line:nth-child(1){
    left: 0;
    top: 0;
}

.tcard-button.button_squares .tcard-btn-line:nth-child(2){
    left: 8px;
    top: 0;
}
.tcard-button.button_squares .tcard-btn-line:nth-child(3){
    left: auto;
    right: 0;
}
.tcard-button.button_squares .tcard-btn-line:nth-child(4){
    left: 0;
    top: 7px;
}
.tcard-button.button_squares .tcard-btn-line:nth-child(5){
    left: 8px;
    top: 7px;
}
.tcard-button.button_squares .tcard-btn-line:nth-child(6){
    right: 0;
    left: auto;
    top: 7px;
}
.tcard-button.button_squares .tcard-btn-line:nth-child(7){
    bottom: 0;
    left: 0;
}
.tcard-button.button_squares .tcard-btn-line:nth-child(8){
    left: 8px;
    bottom: 0;
}
.tcard-button.button_squares .tcard-btn-line:nth-child(9){
    bottom: 0;
    left: auto;
    right: 0;
}

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

.tcard-header-info{
	text-align: center;
}

.tcard .profile_banner{
    position: relative;
    float: left;
    width: 100%;
    padding: 10px 0;
    background-position: center center;
    background-size: cover;
}

.tcard .tcard-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    padding: 4px;
    border: 2px solid rgba(255,255,255,.7);
}


.tcard .twitter_profile .tcard-avatar{
    z-index: 1;
}

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

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

.tcard .email,
.tcard .tcard-button-gallery,
.tcard .twitter-website{
    position: relative;
    text-align: center;
    width: 70px;
    font-weight: 400;
    color: #fff;
    line-height: 20px;
    height: 20px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -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;
    cursor: pointer;
}

.tcard .tcard-button-gallery.icon,
.tcard .email.icon,
.tcard .twitter-website.icon{
    width: 30px;
    height: 30px;
    line-height: 24px;
    text-align: center;
    color: rgba(255,255,255,.7);
    border-radius: 100%;
    border: 2px solid rgba(255,255,255,.7);
    font-size: 15px;
}

.tcard .tcard-button-gallery.icon,
.tcard .twitter-website.icon{
	left: 10%;
} 

.tcard .email.icon{
	right: 10%;
} 

.tcard .tcard-button.gallery_button{
	top: 11px;
	font-size: 17px;
	width: auto;
}

.tcard .tcard-button-gallery,
.tcard .twitter-website {
	float: left
}

.tcard .email{
    float: right
}

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

.twitter_counts,
.twitter_profile_info{
    position: relative;
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 10px 0;
}

.twitter_profile_info{
    padding: 0;
}

.twitter_count{
    display: inline-block;
    margin-right: 10px;
}

.twitter_count h4,
.twitter_profile_location span{
    margin: 0;
    text-transform: capitalize;
}

.tcard-button-container.social-btn{
	overflow: initial;
}

.tcard .tcard-button.social_button{
    top: 8px;
    height: 28px;
    z-index: 99;
}

.tcard .tcard-button.social_button .tcard-btn-line{
    display: block;
}

.tcard .tcard-button.social_button .tcard-btn-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_button .tcard-btn-line:nth-child(2),
.tcard .tcard-button.social_button .tcard-btn-line:nth-child(3){
    width: 15px;
    height: 2px;
    top: 50%;
}

.tcard .tcard-button.social_button .tcard-btn-line:nth-child(2):before,
.tcard .tcard-button.social_button .tcard-btn-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_button .tcard-btn-line:nth-child(2){
    margin-top: -3px;
    -webkit-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    transform: rotate(-30deg);
}

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

.tcard .tcard-button.social_button .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_button:hover .tcard-social-list {
    height: auto;
    opacity: 1;
}

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

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

.tcard .empty_box,
.tcard .content-info{
	text-align: center;
}

.tcard .tcard-skill-point{
    position: relative;
}

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

.skill-item{
	position: relative;
	text-align: center;
}

.skill-item .skill_percent{
	position: relative;
    width: 100%;
    float: left;
}

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

.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 .skill-title {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    color: #323232;
    text-align: left;
    margin: 0;
}

.tcard .skill-item .skill_percent{
    position: absolute;
    right: 5px;
    top: -4px;
    color: #fff;
    font-size: 11px;
    width: auto;
}

.tcard .tcard-skill-point span.count {
    margin-right: 2px;
} 

.tcard .tcard-skills.circle .skill-title{
    color: #323232;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.tcard .tcard-skills.circle .skill-item{
    float: left;
    margin: 2px 5px;
}

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

.tcard .tcard-skills.circle .tcard-skills-container{
    width: auto;
    left: 50%;
    transform: translateX(-50%);
}

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

.tcard .tcard-skills.circle .tcard-skill-point .skill_percent{
    position: relative;
    color: #323232;
    top: 50%;
    left: 50%;
    font-weight: 400;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.tcard .tcard-skills.circle .tcard-skill-point span{
    font-size: 13px;
}

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

#svg circle {
	stroke-dashoffset: 157;
    stroke-dasharray: 156;
    stroke-width: 6px;
    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 .tcard-content-item{
    text-align: center;
    overflow: hidden;
}

.tcard .tcard-ellipsis_text{
	text-align: center;
	overflow: hidden;
}

.ellipsis{
    position: relative;
    float: left;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.tcard-content .tcard-profile-buttons{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.tcard .tcard-list {
	position: relative;
    float: left;
    list-style: none;
    margin:0;
    overflow: hidden;
}

.tcard .tcard-list li{
    position: relative;
    float: left;
    width: 100%;
    padding: 15px 0;
    font-size: 14px;
    text-align: center;
}

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

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

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

.tcard .tcard-form-item input {
    position: relative;
    float: left;
    width: 100%;
    border: none;
    font-weight: 300;
    color: #fff;
    padding: 0;
    background: none;
    height: 30px;
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.tcard .tcard-form-item label,
.tcard .tcard-icon{
    position: absolute;
    top:50%;
    color: #fff;
    z-index: -1;
    font-size: 13px;
    font-weight: 400;
    text-transform: capitalize;
    -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 label{
	color: rgba(255,255,255,0.7);
}

.tcard .tcard-form-item.remember label{
    color: #fff;
}

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

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

.tcard .tcard-submit{
	float: left;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.tcard .tcard-form .tc-form-button{
    height: 30px;
    font-size: 16px;
    width: 150px;
    float: none;
    color: #fff;
    border: none;
    line-height: 26px;
    padding: 0;
    font-weight: 300;
    border-radius: 10px;
    text-transform: none;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.2);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.2);	
}

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

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

.tcard .tcard-form-item.message .tcard-icon{
	top: 11px;
}

.tcard .tcard-form-item.message label {
    top: 10px;
}

.tcard .tcard-list.address li{
    padding: 10px 0 10px 30px;
    text-align: left;
}

.tcard .tcard-list.address li:nth-child(odd){
	background: none;
}

.tcard .tcard-list.address .tcard-icon{
	top: 22px;	
}

.tcard .tcard-list.address .tcard-icon.phone-icon{
	top: 21px;	
}
.tcard .tcard-form-item.remember{
	margin: 0;
}
.tcard .tcard-form-item.remember label{
    position: relative;
    float: left;
    left: 0;
    cursor: pointer;
}
 
.tcard .tcard-form-item.remember div {
    width: 20px;
    height: 30px;
    position: relative;
    float: left;
    margin-left: 5px;
}

.tcard .tcard-form-item.remember .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{
    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{
    opacity: 1;
}

.tcard .tcard-form-item input[type=checkbox], 
.tcard .tcard-form-item input[type=radio] {
    visibility: hidden;
    width: 20px;
    margin: 0;
}

.tcard .tcard-list.tcard-login-profile li{
	text-align: center;
	padding: 5px 0;
}

.tcard .tcard-list.tcard-login-profile li:nth-child(odd){
	background: none;
}

.tcard-login,
.tcard-login-profile{
    position: relative;
    float: left;
    width: 100%;
}

.tcard-login{
	line-height: 40px;
}

.tcard-login-title{
	float: left;
}

.tcard-login a{
    color: #fff;
    float: right;
}

.tc-login_display_title{
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
}

.tcard-errors,
.tcard-success{
    position: absolute;
    left: 10px;
    right: 10px;
    top: 20px;
    z-index: 2;
    width: auto;
    background: rgba(229, 43, 80,0.9);
	 -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.35);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.35);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.35);
}

.tcard-success,
.tcard-errors.msg{
    padding: 0 15px;
    text-align: center;
}

.tcard-success{
    background: green;
}

.tcard-success p,
.tcard-errors.msg{
    margin-bottom: 0;
}

.tcard-errors p{
	position: relative;
	margin: 0;
    color: #fff;
	padding: 2px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.tcard-errors p:last-child{
	border: 0;
}

.tcard-errors p .tc-line-error {
    position: absolute;
    left: 3px;
    top: 1px;
}

.tcard-errors span{
	font-weight: 600;
}

.tcard-errors .tcard-error-msg{
    font-weight: 400;
}

.tcard .tc-close-errors{
    position: absolute;
    right: -5px;
    background: #fff;
    width: 22px;
    height: 22px;
    color: rgba(229, 43, 80,1);
    top: -10px;
    border-radius: 100%;
    text-align: center;
    cursor: pointer;
    z-index: 321;
}

.tcard .tcard-errors a{
	color: blue;
}

.tcard .tc_button{
	font-size: 14px;
    text-align: center;
	line-height: 40px;
}

.tcard .tc_button h4 {
    position: relative;
    display: inline-block;
    font-size: 14px;
}

.tcard .tc_button .tcard-button{
    top: auto;
    color: #fff;
    width: auto;
    height: auto;
    position: relative;
    display: inline-block;
    text-decoration: underline;
    margin-left: 4px;
}

.tcard .social_list .tcard-list,
.tcard .info_list .tcard-list{
	position: relative;
    float: left;
    left: 50%;
    transform: translateX(-50%);
}

.tcard .social_list .tcard-list li,
.tcard .info_list .tcard-list li{
    position: relative;
    float: left;
    padding: 0;
    text-align: left;
    margin-right: 10px;
    font-size: 14px;
    line-height: 0;
    width: auto;
}

.tcard .social_list .tcard-list li:nth-child(odd),
.tcard .info_list .tcard-list li:nth-child(odd){
    background: none;
}

.tcard .social_list .tcard-list li:last-child,
.tcard .info_list .tcard-list li:last-child {
    margin-right: 1px;
}

.tcard .social_list .tcard-list li a{
    font-size: 25px;
    line-height: 40px;
    color: #fff;
}

.tcard .info_list .tcard-list li p {
    color: rgba(255,255,255,.7);
    margin: 0;
    line-height: 16px;
    text-align: center;
}

.tcard .tcard-list li h4 {
    margin: 0;
    color: #fff;
    line-height: 24px;
}

.tcard .tcard-slider,
.tcard .tcs-inner,
.tcard .tcs-item,
.tcard .tcs-item-inner,
.tcard .tcs-author,
.tcard .tcs-helem{
    position: relative;
    float: left; 
}

.tcard .tcard-slider{
    width: 100%;
    overflow: hidden;
    padding: 5px 0 5px 0;
    box-sizing: border-box;
}

.tcard .twitter_timeline .tcard-slider{
    padding: 0;
}

.tcard .tcs-title,
.tcard .tcs-info{
    position: relative;
    float: left;
    width: 100%;
}

.tcard .tcs-item-inner a.tcs-button{
    position: relative;
    display: inline-block;
    padding: 5px 10px 7px 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 3px;
    margin-top: 10px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.tcard .tcs-item-inner a:hover {
    color: #1DA1F2;
}

.tcard .tcs-item-inner a.tcs-button:hover{
    color: #fff;
    background: rgba(0,0,0,0.7);
}

.tcard .tcs-inner{
    left: 0;
    height: 100%;
}

.tcard .tcs-inner.cubictime {
  -webkit-transition: all 400ms cubic-bezier(0.800, 0.000, 0.200, 1.000);
  -o-transition: all 400ms cubic-bezier(0.800, 0.000, 0.200, 1.000);
  transition: all 400ms cubic-bezier(0.800, 0.000, 0.200, 1.000);
  -webkit-transition-timing-function: cubic-bezier(0.800, 0.000, 0.200, 1.000);
  -o-transition-timing-function: cubic-bezier(0.800, 0.000, 0.200, 1.000);
  transition-timing-function: cubic-bezier(0.800, 0.000, 0.200, 1.000);
}

.tcard .tcs-item{
    padding: 5px 32px;
}

.tcard .twitter_timeline .tcs-item{
    padding: 10px 0 20px 0;
}

.tcard .tcs-item-header{
    padding: 10px 0;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: -webkit-box;
    display: flex;
    -ms-flex-flow: row wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    -moz-align-items: center;
    -ms-align-items: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
}

.tcard .tcs-item-inner{
    text-align: center;
}

.tcard .twitter_timeline .tcs-item-inner{
    text-align: left;
}

.tcard .tcs-item-inner,
.tcs-item-header{
    width: 100%;
}

.tcard .tcs-author{
    border-radius: 100%;
    margin-right: 10px;
}

.tcard .tcs-author img{
    border-radius: 100%;
}

.tcard .tcs-bar{
    position: relative;
    width: 55px;
    float: left;
    height: -webkit-calc(100% - 68px);
    height: -moz-calc(100% - 68px);
    height: calc(100% - 68px);
    text-align: center;
}

.tcard .tcs-bar span {
    width: 100%;
    position: relative;
    float: left;
}

.tcard .tcs-bar span a{
    padding-right: 9px;
}

.tcard .tcs-item-content{
    position: relative;
    float: right;
    width: -webkit-calc(100% - 58px);
    width: -moz-calc(100% - 58px);
    width: calc(100% - 58px);
}

.tcard .tc-slider-arrows{
    position: absolute;
    width: 66px;
    right: 0;
    top: 30px;
    z-index: 999;
    border-radius: 4px;
}

.tcard .tc-slider-arrow{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    z-index: 999;
    margin-bottom: 4px;
    background: rgba(0,0,0,0.5);
    border-radius: 100%;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.tcard .tc-slider-arrow.left{
    left: 0;
}

.tcard .tc-slider-arrow.right{
    right: 0;
}

.tcard .tc-slider-arrow:hover{
    background: rgba(0,0,0,0.7);
}

.tcard .twitter_timeline .tc-slider-arrow{
    position: relative;
    float: left;
    top: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    background: rgba(0,0,0,0.1);
}

.tcard .twitter_timeline .tc-slider-arrow:hover{
    background: rgba(0,0,0,0.3);
}

.tcard .twitter_timeline .tc-slider-arrow.left{
    margin-right: 3px;
    left: auto;
}

.tcard .twitter_timeline .tc-slider-arrow.right{
    right: auto;
}

.tcard .tc-slider-arrow:before,
.tcard .tc-slider-arrow:after{
    content: '';
    position: absolute;
    width: 12px;
    height: 1px;
    background: #fff;
}

.tcard .tc-slider-arrow.left:before{
    left: 8px;
    top: 10px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.tcard .tc-slider-arrow.left:after{
    left: 8px;
    bottom: 10px;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg); 
}

.tcard .tc-slider-arrow.right:before{
    left: 10px;
    top: 10px;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.tcard .tc-slider-arrow.right:after{
    left: 10px;
    bottom: 10px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg); 
}

.tcard .tcs-item-inner a {
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.tcard .tcard-slider.scroll .tcs-inner{
  max-height:200px;
  overflow-y: scroll;
  padding-right: 9px;
  width: -webkit-calc(100% + 30px);
  width: -moz-calc(100% + 30px);
  width: calc(100% + 30px);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.tcard .tcard-slider.scroll .tcs-item{
    width: 100%;
}

.tcard .tcard-slider.scroll .tcs-item:before{
    content: "";
    position: absolute;
    bottom: -1px;
    height: 1px;
    width: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+50,ffffff+100&0+0,0.15+50,0+100 */
    background: -moz-linear-gradient(left, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.04) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(255,255,255,0.04) 0%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.04) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(255,255,255,0.04) 0%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.04) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

.tcard .tcard-slider.scroll .tcs-item:last-child:before{
    display: none;
}

.tcard-post{
    text-align: center;
    color: #323232;
}

.tcard_post_item {
    width: 100%;
    float: left;
    position: relative;
    padding: 5px 0;
}

.tcard_post-title h3{
    color: #323232;
}

.tcard_post-comment_count,
.tcard_post-date,
.tcard_post-author,
.tcard_post-show_category{
    width: auto;
    margin-right: 15px;    
}

.tcard-post a{
    color: #323232;
}

.tcard-post a:hover{
    color: #337ab7
}

.tcard_post-featured_image img{
    border-radius: 3px;
}

.tcard_post-post_button a{
    background: #323232;
    height: 30px;
    line-height: 29px;
    display: inline-block;
    border-radius: 3px;
    padding: 0 15px;
    border: none;
    color: #fff;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.tcard_post-post_button a:hover{
    color: #323232;
    background: #fff;
}

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

    Skin 1:

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

.tcard.skin_1 .tcard-content{
    height: -webkit-calc(100% - 100px);
    height: -moz-calc(100% - 100px);
    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 h2{
    font-weight: 400;
}

.tcard.skin_1 .tcard-content-item{
    top: 50%;
    transform: translateY(-50%);
    display: inline-table;
}

.tcard.skin_1 .tcard-back:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
}

.tcard.skin_1 .content-info {
    color: rgba(255,255,255,.7);
    margin-bottom: 15px;
}

.tcard.skin_1 .tcard-progress-bar{
    width: 60%;
    background: rgba(255,255,255,.5)
}

.tcard.skin_1 .tcard-bar {
    background: rgba(255,255,255,.7);
}

.tcard.skin_1 .tcard-back .skill-title{
    color: #fff;
    text-align: center;
    font-size: 14px;
    margin-bottom: 5px
}

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

.tcard.skin_1 .info_list .tcard-list li p {
    margin: 0;
    text-align: center;
    color: #fff;
    line-height: 24px;
}

.tcard.skin_1 .tcard-list li h4 {
    color: rgba(255,255,255,.7);
    margin: 0;
    line-height: 16px;
    font-size: 14px;
}

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

    Skin 2:

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

.tcard.skin_2 .tcard-back .tcard-content{
	background: #fff;
	color: #323232;
	padding-bottom: 5px;
}

.tcard.skin_2 .tcard-back .tcard-content h3 {
    color: #323232;
    font-weight: 500;
}

.tcard.skin_2 .tcard-back .tcard-profile{
    padding-bottom: 0;
} 

.tcard.skin_2 .tcard-back .tcard-footer{
	color: #323232;
	background: #fff;
	border-top: 1px solid #e5e5e5;
}

.tcard.skin_2 .tcard-back .info_list .tcard-list li p,
.tcard.skin_2 .tcard-back .tcard-list li h4 {
    color: #323232;
}


.tcard.skin_2 .tcard-back .tcard-header:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
}

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

.tcard.skin_2 .tcard-skills.circle .tcard-skills-container{
    width: auto;
    left: 50%;
    margin-bottom: 0;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tcard.skin_2 .tcard-skills.circle .skill-item{
    float: left;
    width: 56px;
    margin: 2px 5px;
}

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

    Skin 3:

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

.tcard.skin_3 {
    max-width: 300px;
}

.tcard.skin_3 .tcard-header-title h2{
	font-size: 18px
}

.tcard.skin_3 .tcard-content{
    height: -webkit-calc(100% - 100px);
    height: -moz-calc(100% - 100px);
    height: calc(100% - 100px);
}


.tcard.skin_3 .tcard-front .tcard-content-item{
    top: 25%;
    transform: translateY(-50%);
}

.tcard.skin_3 .tcard-back .tcard-content-item{
    margin: 30px 0 10px 0;
}

.tcard.skin_3 .tcard-form.login{
	position: absolute;
    bottom: 0;
    width: auto;
    left: 10px;
    right: 10px;
}

.tcard.skin_3 .tcard-form.register .tcard-submit{
	margin-bottom: 15px;
}

.tcard.skin_3 .tcard-form-item textarea{
	height: 70px;
}

.tcard.skin_3 .tc-login_display_title.before_log {
    position: absolute;
    width: auto;
    left: 10px;
    right: 10px;
    text-align: center;
    top: 25%;
    transform: translateY(-50%);
}

.tcard.skin_3 .tc-login_display_title.before_log h2{
    font-size: 30px;
}

.tcard.skin_3 .tcard-front:before,
.tcard.skin_3 .tcard-back:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
}

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

    Skin 4:

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

.tcard.skin_4{
    max-width: 300px;
}

.tcard.skin_4 .tcard-header{
	min-height: 150px;
}

.tcard.skin_4 .tcard-header:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
}

.tcard.skin_4 .tcard-header .tcard-header-info{
	position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    width: auto;
}

.tcard.skin_4 .tcard-content{
    background: #fff;
    color: #323232;
    font-weight: 400;
    padding: 0;
}

.tcard.skin_4 .tcard-front .tcard-content{
    height: -webkit-calc(100% - 200px);
    height: -moz-calc(100% - 200px);
    height: calc(100% - 200px);
}

.tcard.skin_4 .tcard-content .tcard-address{
	position: absolute;
    width: auto;
    left: 10px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.tcard.skin_4 .tcard-header-title h2{
	font-size: 18px;
}

.tcard.skin_4 .tcard-front .tcard-content .tcard-list li .address h4{
	text-align: left;
	color: #323232;
    font-weight: 400;
}

.tcard.skin_4 .tcard-front .tcard-content .tcard-list li .address,
.tcard.skin_4 .tcard-front .tcard-content .tcard-list li .address_email,
.tcard.skin_4 .tcard-form-item input{
	border-bottom: 1px solid #e5e5e5;
	color: #323232;
}

.tcard.skin_4 .tcard-front .tcard-content .tcard-list li .tcard-icon,
.tcard.skin_4 .tcard-form-item label, 
.tcard.skin_4 .tcard-icon,
.tcard.skin_4 .tcard-form-item textarea{
	color: #323232;
}

.tcard.skin_4 .tcard-back .tcard-icon{
    left: 10px;
}

.tcard.skin_4 .tcard-back .tcard-form{
    padding: 15px 0 0 0;
}

.tcard.skin_4 .tcard-back .tcard-form-item{
    padding: 0 10px 0 40px;
}

.tcard.skin_4 .tc_button .tcard-button{
	text-decoration: none;
}

.tcard.skin_4 .tcard-submit{
    background: inherit;
    height: 50px;
    line-height: 50px;
    background: #f7f7f7;
    border-top: 1px solid #eee;
}

.tcard.skin_4 .tcard-submit .tc-form-button{
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
}


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

    Skin 5:

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

.tcard.skin_5 .tcard-front .tcard-header{
    position: absolute;
    width: 35px;
    right: 0;
    height: auto;
    top: 0;
    bottom: 70px;
    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: 50%;
    margin-top: -25px;
    left: -107px;
    -webkit-transform: rotate(-90deg) translateY(-50%);
    -ms-transform: rotate(-90deg) translateY(-50%);
    transform: rotate(-90deg) translateY(-50%);
}

.tcard.skin_5 .tcard-front .tcard-header-title h2{
    line-height: 36px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
}

.tcard.skin_5 .tcard-front .tcard-header-title h2 span{
    font-weight: 400;
}

.tcard.skin_5 .tcard-front .tcard-content{
    height: 330px;
    background-position: center;
}

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

.tcard.skin_5 .tcard-ellipsis_text{
    padding: 10px 5px;
}

.tcard.skin_5 .tcard-footer{
    min-height: 70px;
}

.tcard.skin_5 .tcard-back .tcard-footer{
    background-color: #323232;
}

.tcard.skin_5 .tcard-back .tcard-footer .tc-button-post{
    text-align: center;
    font-weight: 400;
    position: absolute;
    right: 15px;
    left: 15px;
    top: 15px;
}

.tcard.skin_5 .tcard-back .tcard-footer .tc-post-date{
    position: absolute;
    right: 15px;
    left: 15px;
    bottom: 5px;
    text-align: center;
    font-size: 12px;
    line-height: 12px;
}

.tc-post-title{
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    text-align: center;
    font-size: 17px;
    line-height: 20px;
    transform: translateY(-50%);
}

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

    Skin 6:

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

.tcard.skin_6 .tcard-front .tcard-header{
    overflow: initial;
}

.tcard.skin_6 .tcard-front .tcard-content{
    height: -webkit-calc(100% - 50px);
    height: -moz-calc(100% - 50px);
    height: calc(100% - 50px);
}

.tcard.skin_6 .tcard-front .tcard-content-item{
    text-align: left;
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: auto;
    padding: 0;
    left: 0;
}

.tcard.skin_6 .tcard-front .tcard-content-item h2,
.tcard.skin_6 .tcard-front .tcard-content-item h3,
.tcard.skin_6 .tcard-front .tcard-content-item h4{
    padding-left: 10px;
}

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

.tcard.skin_6 .tcard-back .tcard-header{
    padding: 0;
}

.tcard.skin_6 .tcard-back .tcard-header .tcard-header-title h2{
    font-size: 17px;
    text-align: center;
    font-weight: 600;
}

.tcard.skin_6 .tcard-back .tcard-content-item h3,
.tcard.skin_6 .tcard-back .content-info h3 {
    color: #323232;
    font-weight: 400;
}

.tcard.skin_6 .tcard-back .tcard-content-item h3{
    font-size: 17px;
    line-height: 17px;
    text-align: left;
    margin-top: 0;
}

.tcard.skin_6 .tcard-back .content-info h3{
    margin: 0;
}

.tcard.skin_6 .tcard-back .tcard-content-item h4{
    font-weight: 400;
    color: #a7a6a9;
    text-align: left;
    font-size: 15px;
    margin-bottom: 0;
}

.tcard.skin_6 .tcard-back .tcard-content {
    background: #fff;
    color: #a7a6a9;
    font-weight: 400;
    font-size: 14px;
    padding: 5px 5px 0 5px;
    border-radius: 5px;
    -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_6 .tcard-back .content-info{
    text-align: left;
    text-align: justify;
}

.tcard.skin_6 .tcard-back .tcard-skills {
    padding-bottom: 10px;
}  

.tcard.skin_6 .tcard-back .tcard-skill-point span{
    font-size: 11px;
}

.tcard.skin_6 .tcard-front:before {
    content: " ";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: 100%;
    opacity: .25;
}

.tcard.skin_instagram_profile .tcard-header,
.tcard.skin_instagram_profile .tcard-insta-profile{
    padding: 0;
}

.tcard .tcard-front,
.tcard .tcard-back,
.tcard .tcard-header,
.tcard .tcard-content{
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;    
}


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

    Frosted Glass

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

.tcard.skin_1.frosted-glass .tcard-front:before,
.tcard.skin_1.frosted-glass .tcard-back:before,
.tcard.skin_3.frosted-glass .tcard-front:before,
.tcard.skin_3.frosted-glass .tcard-back:before,
.tcard.skin_2.frosted-glass .tcard-back .tcard-header:before,
.tcard.skin_4.frosted-glass .tcard-header:before,
.tcard.customSkin .tcard-front.frosted-glass:before,
.tcard.customSkin .tcard-back.frosted-glass:before,
.tcard.customSkin .tcard-front .tcard-header.frosted-glass:before,
.tcard.customSkin .tcard-back .tcard-header.frosted-glass:before{
    content: "";
    width: auto;
    height: auto;
    position: absolute;
    top: -50px;
    left: -50px;
    bottom: -50px;
    right: -50px; 
    -webkit-filter: blur(15px);
    filter: blur(15px);
}


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

    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: 159999;
}

.tcg-sidebar{
    position: absolute;
    width: 320px;
    right: -320px;
    top:50px;
    bottom: 0;
    overflow-y: scroll;
    z-index: 999999;
    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 {
    position: relative;
    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;
    background-position: center center;
    background-size: cover;
}

.tcg-user h4{
    text-align: center;
    position: absolute;
    bottom: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    background: rgba(0,0,0,0.5);
    line-height: 13px;
    padding: 5px 0;
    font-weight: 400;
    font-size: 15px;
}

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

.tcg-arrow {
    position: absolute;
    width: 30px;
    height: 36px;
    top: 50%;
    z-index: 999999;
    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;
    background: rgba(12, 12, 12, 0.4);
}

.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: 999999;
    background: rgba(12, 12, 12, 0.9);
}

.tcg-group .tcg-header-btn{
    position: relative;
    float: left;
    color: #c1c1c1;
    padding-right: 15px;
    font-size: 14px;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 300;
}

.tcg-group .tcg-header-btn p{
    margin: 0;
    transition: color 0.2s ease-in-out;
}

.tcg-group .tcg-header-btn p.tcg-delete-image{
    margin-left: 15px;
}

.tcg-group .tcg-header-btn p:hover{
    color: #fff;
}

.tcg-header-btn.bar:before{
    content: '';
    position: absolute;
    right: 0;
    top: 12%;
    height: 80%;
    width: 1px;
    background: #c1c1c1;
}

.tcg-counter {
    position: relative;
    float: left;
    margin-right: 15px;
    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 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);
}


h3.tcard-not-group{
    padding: 20px 0;
    text-align: center;
    background-color: #f7f7f7;
    border: 1px solid #eee;
    font-size: 20px;
    color: #444;
}

.tcard-nav-btn{
    position: relative;
    float: right;
    margin: 0 15px;
    cursor: pointer;
    height: 100%;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: -webkit-box;
    display: flex;
    -ms-flex-flow: row wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    -moz-align-items: center;
    -ms-align-items: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
}

.tcard-nav-group{
    position: absolute;
    right: 0;
    min-width: 280px;
    top: 40px;
    cursor: initial;
}


@-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);
    }
}

@media screen and (min-width: 320px) and (max-width: 600px) {
    .tcg-item{
        max-width: 100%;
        width: auto;
    }
}

@media screen and (min-width: 601px) and (max-width: 991px){
    .tcg-item{
        max-width: 100vw;
    }
}

@media screen and (min-width: 320px) and (max-width: 400px) {

    .tcg-group .tcg-header-btn{
        font-size: 13px;
        padding: 0;
    }

    .tcg-group .tcg-header-btn.bar {
        padding-right: 10px;
    }

    .tcg-header-btn.bar:before{
        display: none;
    }

    .tcg-group .tcg-header-btn p.tcg-delete-image {
         margin-left: 0;
    }

    .tcg-close {
        margin-left: 5px;
    }

    .tcg-toggle-sidebar{
        margin-left: 0;
    }

    .tcg-counter{
        margin-right: 10px;
        font-size: 16px;
    }

}