/* Style for the modal and overlay*/

.ffb-container {
    background: #3498db;
    min-height: 100%;
}
.ffb-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 630px;
    min-width: 320px;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.ffb-show {
    visibility: visible;
}
.ffb-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(143, 27, 15, 0.8);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.ffb-show ~ .ffb-overlay {
    opacity: 1;
    visibility: visible;
}
.ffb-modal .ffb-close-icon:hover {
    background: url('../images/pop_close_hover.png') no-repeat;
}
.ffb-modal .ffb-close-icon {
    display: block;
    width: 20px;
    height: 20px;
    overflow: hidden;
    background: url('../images/pop_close.png') no-repeat;
    position: absolute;
    top: -30px;
    right: 0px;
    z-index: 999;
    cursor: pointer;
    border: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}
/* Content styles */

.ffb-content {
    color: #fff;
    background: #3498db;
    position: relative;
    border-radius: 3px;
    margin: 0 auto;
}
.ffb-content h3 {
    color: #fff;
	margin: 0;
    padding: 0.4em;
    text-align: center;
    font-size: 2.4em;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px 3px 0 0;
}
.ffb-content > div {
    padding: 15px 40px 30px;
    margin: 0;
    font-weight: 300;
    font-size: 1.15em;
}
.ffb-content > div p {
    color: #fff;
	margin: 0;
    padding: 10px 0;
}
.ffb-content > div ul {
    margin: 0;
    padding: 0 0 30px 20px;
}
.ffb-content > div ul li {
    color: #fff;
	padding: 5px 0;
}
.ffb-content button {
    color: #000;
	display: block;
    margin: 0 auto;
    font-size: 0.8em;
}


/* Blur background */
.ffb-show.ffb-effect ~ .ffb-overlay {
    background: rgba(78, 46, 32, 0.5);
}
.ffb-show.ffb-effect ~ .container {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    filter: blur(3px);
}

/* Effect: Fade in and scale up */
.ffb-effect .ffb-content {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.ffb-show.ffb-effect .ffb-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
@media screen and (max-width: 32em) {
    body {
        font-size: 75%;
    }
}