/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 #primary .badgesBox{
 	float: none;
 }
.badgesBox{
	border-top: solid 2px #919494;
	border-bottom: solid 2px #919494;
	padding: 3rem 0;
	float: none;
}

.badgesBox .the_badge{
	display: inline-block;
    padding: 1rem;
    padding-bottom: 3rem;
    border: 1px solid #888;
    border-radius: 5px;
    cursor: pointer;

}

.badgesBox .the_badge:hover{
	border: 2px solid green;
}

/****************************************************************************
* EMBED POPUP
***************************************************************************/

.rotateY180{
	transform: rotateY(180deg);
	transition: all 0.6s;
}
.the_badge{
	position: relative;
}
.the_badge .enterCode{
	position: absolute;
    text-align: center;
    z-index: 5;
    height: 100%;
    background-color: rgba(50,50,50,0.6);
    padding: 2rem 1rem;
    top: 0;
    left: 0;
}
.embed_badge{
	position: fixed;
	z-index: 999;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(50,50,50,0.6);
}
.embed_badge > div{
	padding: 2rem;
	margin: 3rem 10%;
	height: 90%;
}
.embed_badge > div iframe{
	width: 100%;
	height: 100%;
}
.embed_badge #close_embed{
    position: absolute;
    top: 4rem;
    font-size: 4rem;
    color: white;
    right: 4rem;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
}