@-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}
}
.flex-modal-wrapper{
    background: rgba(0, 0, 0, 0.3);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-transition: opacity 400ms ease-in 0s;
    transition: opacity 400ms ease-in 0s;
    z-index: 2000;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    display: none;
    width: 100%;
}
.flex-modal-wrapper h2{
    text-align: center;
}
div.flex-modal-wrapper-head {
    background-color: #ffffff;
    border-radius: 5px 5px 0 0;
    position: relative;
    text-align: left;
}
div.flex-modal-title {
    background-color: rgba(217, 217, 222, 0.2);
    border-radius: 5px 5px 0 0;
    margin: 10px 0;
    border-bottom: 1px solid #d9d9de;
    font-size: 14px;
    padding: 20px 50px 20px 20px;
}
div.flex-modal-wrapper-head h4 {
    border-bottom: 1px solid #e5e5e5;
    font-size: 18px;
    margin-bottom: 0;
    padding: 20px 0px 20px 20px;
    text-transform: uppercase;
    color: #2274ac;
}
.flex-modal-content{
    background: #fff;
    margin: 0 auto;
    max-width: 80%;
    margin-top: 6%;
    border-radius: 5px;
}
.flex-modal-content-inner{
    position: relative;
    max-height: 400px;
    overflow-y: auto;
	background: #fff;
    border-radius: 5px;
    padding-top: 10px;
}
.flex-modal-content-inner .flex-modal-message{
    padding: 30px;
}
.flex-modal-content-inner .flex-modal-message img
{
	max-width: 100%;
}
.flex-modal-content h2{
    color: #222;
    font-size: 26px;
    line-height: 1;
    margin: 0 0 15px;
}
.flex-modal-content p{
    color: #414548;
    font-size: 16px;
    line-height: 1.5;
}
.flex-modal-close{
    color: #fff;
    font-size: 20px;
    left: auto;
    line-height: 1;
    position: absolute;
    right: -10px;
    top: -10px;
    text-decoration: none !important;
    background: #8BC53F;
    border-radius: 100%;
    width: 32px;
    height: 32px;
    text-align: center;
    z-index: 2000;
    padding: 5px;
}
/*
* Custom Responsive Media Query
*/
@media screen and (min-width: 768px) and (max-width: 1024px){
    
}
/** Media Query */
@media screen and (min-width: 320px) and (max-width: 767px) {
   
}
@media ( max-width: 910px) {
    .flex-modal-content
    {
        max-width: 90% !important;
    }
}
.header-contact-info-item
{
    cursor: pointer;
}
.flex-modal-content input[type='submit']
{
    padding: 12px 50px;
    background:#8BC53F;
    border-radius: 5px;
    border: 0;
    font-weight: bold;
    text-transform: uppercase;
    outline: none;
    display: inline-block;
}
.flex-modal-content .header-contact
{
    font-size: 16px;
    color: #8BC53F;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: inline-block;
}