body
{
/*	background-color: #1D6BB8;*/
    background-image: url(../images/background.png);
    background-size: cover;
    background-repeat: no-repeat;
	font-size: 16px;
}

.btn
{
	background-color: #8A2BE2;
	border-width: 2px;
	color: cyan;
	border-radius: 32px;
}

.btn:hover
{
	box-shadow: 0 0 15px cyan;
}

#welcome #logo
{
	text-align: center;
	padding-top: 10%;
}

#welcome #banner
{
	text-align: center;
	padding-top: 5%;
}
#welcome form
{
	text-align: center;
}

#welcome label
{
	color: #00eeee;
	font-family: cambria;
	font-size: 18px;
}

#welcome input
{
	color: #8A2BE2;
	font-family: cambria;
	font-size: 18px;
	border-radius: 22px;
}

#welcome #listenState
{
	padding-left: 20%;
	padding-right: 20%;
}
#playerName
{
    display: none;
	text-align: center;
	font-family: cambria;
	/*color: #1E90FF;*/
	color:#ffffff;
	font-size: 36px;
	text-shadow: 4px 4px 10px black;
}

#gameStatus
{
	border-left-width: 0;
    position: absolute;
    top: 60px;
}

.scoreTable{
}

/*
#gameStatus .panel-heading{
	padding: 5px 15px;
}
*/

#gameStatus .panel-body{
    position: absolute;
	padding-left: 20px;
    background-color: #1D3D76;
    border: 2px solid #fff;
    color: white;
    width: 185px;
    top: -106px;
    left: 0px;
    height: 130px;
}

.card
{
	position: absolute;
	top:400px;
	left: 600px;
/*
	width: 80px;
	height: 120px;
*/
    width: 63px;
	height: 94px;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	background: url(../images/deck.jpg);
}

.selected
{
	box-shadow: 0 0 15px cyan;

}

.withOffsetTop{
    margin-top: -2rem;
}

.card-flipped
{
	position: absolute;
	top:400px;
	left: 600px;
/*
	width: 80px;
	height: 120px;
*/
    width: 63px;
	height: 94px;
	border-radius: 10px;
	border-style: solid;
	border-width: 0px;
	background: url(../images/deck.jpg) .5px -376px;
}

#nextTurnBtn{
    position: absolute;
    top: 330px;
    text-decoration: none;
}


.disabled {
    color: #848484;
    border-color: #929254;
    cursor: default;
}

.enabled {
    color: #eee;
    border-color: #ee0;
    cursor: pointer;
}



@keyframes rotationAnimation {
    0%   { transform: rotateZ(0deg); }
    40% { transform: rotateZ(-5deg); }
    60% { transform: rotateZ(5deg); }
    100%   { transform: rotateZ(0deg); }
}


/*#f-card-9{
    transform: rotateZ(-5deg);
    animation: rotationAnimation 1s infinite ;
}*/

.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}


.modal-title {
    font-size: 2.5rem;
}


.modal-body{
    font-size: 2.3rem;
}


.modal-footer .btn{
    background-color: #3361aa;
    width: 9rem;
    height: 5rem;
    font-size: 2.4rem;
    color: #fff;
}

#playerInTurnContainer{
    position: absolute;
    top: -160px;
    width: 180px;
    left: 2px;
    font-size: 30px !important;
}

#finishButton{
    position: absolute;
    top: -222px;
    width: 180px;
    left: 5px;
}

#undoBtn{
    position: absolute;
    top: 90px;
    width: 180px;
}

#nextTurnBtn{
    position: absolute;
    width: 180px;
    top: 160px;
}

#scoreHeader{
    margin-top: -5px;
}

.howToPlayBtn{
    position: absolute;
    font-size: 30px;
    color: white;
    right: 5px;
    bottom: 120px;
    background: rgba(255,255,255, 0.1);
    border: 1px solid #EE0;
    width: 160px;
    height: 50px;
    text-align: center;
    border-radius: 10px;
    line-height: 1.7;
}

#changeDifficultyBtn{
    position: absolute;
    font-size: 30px;
    color: white;
    right: 5px;
    bottom: 190px;
    background: rgba(255,255,255, 0.1);
    border: 1px solid #EE0;
    width: 160px;
    height: 50px;
    text-align: center;
    border-radius: 10px;
    line-height: 1.7;
}


/* --- Pop-Up Box --- */

.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 10;
    /* Sit on top */
    padding-top: 25px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black w/ opacity */
}

/* PopUp Content */

.popup-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */

.close {
    float: right;
    font-size: 58px;
    font-weight: bold;
    width: 40px;
    margin-right: 10px;
}
.close:hover,
.close:focus {
    color: #fff;
}
.popup-header {
    background-color: deepskyblue;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 60px;
    margin-top: -20px;
}

.popup-header h2{
    text-align: center;
    padding-top: 14px;
    font-size: 25pt;
}

.popup-body {
    margin-top: 10px;
    padding: 2px 16px;
    min-height: 570px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.popUpInfo{
    text-align: left;
}

.popUpInfo h2{
    font-size: 20pt;
}

.pictureSlot{
    margin-top: 40%;
}

.infoButtons button{
    background-color: deepskyblue;
    color: white;
    font-size: 16px;
    margin-right: 15px;
}

.diffBtn{
    width: 50%;
    height: 100px;
    font-size: 2em;
}