/**
 * Styles for Athlete cards
 * Should be able to override in theme's style.css or Jetpack custom CSS
 *
 * Author: Gabriel Serafini / Serafini Studios
 *
 */

.athlete-db-card {
	overflow: auto;
	border: 1px solid #eee;
	background: #fff;
	float: left;
	margin: 0 2px 8px 0;
	padding: 4px;
	font-size: 12px;
	line-height: 18px;
	}

.athlete-db-card-size-100 {
	width: 288px;
	height: 100px;
	overflow: auto;
	border: 1px solid #eee;
	background: #fff;
	float: left;
	margin: 0 2px 8px 0;
	padding: 4px;
	font-size: 12px;
	line-height: 16px;
	}

.athlete-db-card-size-200 {
	width: 100%;
	border: none;
	background: #fff;
	float: left;
	margin: 14px 2px 8px 0;
	padding: 4px;
	font-size: 14px;
	line-height: 22px;
	}

.athlete-db-card-name {
	font-weight: bold;
	font-style: italic;
	font-size: 14px;
	}

.athlete-db-card-size-200 .athlete-db-card-name {
	display: block;
	margin: 4px 0 8px 0;
	font-size: 30px;
	line-height: 28px;
	font-weight: bold;
	font-style: normal;
	}

.athlete-db-card-size-200 .athlete-db-card-name a, .athlete-db-card-size-200 .athlete-db-card-name span {
	color: #000;
	text-decoration: none;
	}

.athlete-db-card-size-200 .athlete-db-card-name a:hover, .athlete-db-card-size-200 .athlete-db-card-name span:hover {
	color: #1982d1;
	text-decoration: none;
	}

.athlete-db-card-size-200 .athlete-db-card-nationality {
	display: block;
	margin: -4px 0 0px 0;
	font-size: 12px;
	font-weight: light;
	letter-spacing: .15em;
	font-style: normal;
	color: #666;
	text-transform: uppercase;
	}

.athlete-db-card-size-100 img {
	width: 100px !important;
	height: 100px !important;
	float: left;
	margin: 0 8px 0 0;
	}

.athlete-db-card-size-200 .athlete-picture-container {
	width: 25%;
	float: left;
	margin: 0;
	}

.athlete-db-card-size-200 .athlete-thumbnail-200 {
	width: 200px !important;
	height: 200px !important;
	}

.athlete-db-card-size-200 .athlete-picture-container img {
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
    }

@media only screen and (max-width: 600px) {

	.athlete-db-card-size-200 .athlete-picture-container {
    	margin: 0 0 12px 0;
	    width: 100% !important;
    }
	.athlete-db-card-size-200 .athlete-db-card-athlete-info {
	    width: 100% !important;
    }
    
    .athlete-db-card-nationality-flag img {
        width: 60px !important;
        height: auto !important;
        margin-right: 8px;
    }
}

.single-athlete .athlete-db-card-athlete-info ul {
	list-style-position: inside;
	margin: 0 0 0 42px;
    }

.athlete-db-card-size-200 .athlete-full-body-pic {
	}

.athlete-db-card-athlete-info {
    position: relative;
    }

.athlete-db-card-size-200 .athlete-db-card-athlete-info {
	width: 70%;
	float: right;
	}

.athlete-db-card-size-200 .athlete-db-card-nationality-flag {
	float: right;
	}

.athlete-db-card-size-200 .athlete-db-card-nationality-flag img {
	-webkit-box-shadow: 1px 2px 4px rgba(0,0,0,.2);
	-moz-box-shadow: 1px 2px 4px rgba(0,0,0,.2);
	box-shadow: 1px 2px 4px rgba(0,0,0,.2);	
	}

.athlete-db-card-size-200 ul li {
	margin: 0 0 0 -24px;
	}

.athlete-profile-page .entry-title, .athlete-profile-updated {
	display: none;
	}


.athlete-db-hover-card {
	overflow: hidden;
	position: relative;
	padding: 0;
	}

.athlete-db-hover-card img {
 	width: 100%;
 	height: auto;
	z-index: 100;
	padding: 0;
	}

.athlete-db-hover-card .athlete-db-card-name {
	}

.athlete-db-hover-card .athlete-db-card-sports {
	font-size: 9px;
	}

.athlete-db-hover-card .athlete-db-card-name a, .athlete-db-hover-card .athlete-db-card-name span {
	opacity:0;
    -webkit-transition: opacity .20s ease-in;
	-moz-transition: opacity .20s ease-in;
	transition: opacity .20s ease-in;
	font-size: 18px;
	letter-spacing: .15em;
	text-transform: uppercase;
	text-align: center;
	line-height: 20px;
	font-weight: bold;
	font-style: normal;
	font-family: Oswald, "Roboto Slab", sans-serif;
	bottom: 0px;
	padding: 12px 0;
	z-index: 10000;
	color: #fff;
	background: rgba(0,0,0,.5);
	display: block;
	position: absolute;
	width: 100%;
	}

.vc_responsive .athlete-db-hover-card .athlete-db-card-name a, .vc_responsive .athlete-db-hover-card .athlete-db-card-name span {
    bottom: 7px;
    }

.athlete-db-hover-card .athlete-db-card-name a:hover, .athlete-db-hover-card .athlete-db-card-name span:hover {
	text-decoration: none;
	}

.athlete-db-hover-card:hover .athlete-db-card-name a, .athlete-db-hover-card:hover .athlete-db-card-name span {
    opacity:1;
    }
