/* The Modal (background) */
.custom-modal{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999997; /* Sit on top */
    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.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.custom-modal-content{
    background-color: #fefefe;
    margin: 120px auto;
    border: 2px solid #F58220;
    border-radius:8px;
    max-width:550px;
    position:relative;
    padding:50px 15px 15px 15px;
    color:#000;
}
    .custom-modal-content p{
        line-height:18px;
        font-size:14px;
        font-style:italic;
        margin-bottom:8px;
        color:#AAA;
    }
    .custom-modal-content .custom-field{
        margin-bottom:8px;
    }
    .custom-modal-content .form-control{
        border-radius:6px;
        padding-left:8px;
        padding-right:8px;
        border-color:#DDD;
        font-size:14px;
        font-family:'geomanistregular' !important;
    }
    .custom-modal-content .form-control:focus{
        border-color:#F58220;
    }
    .custom-modal-content textarea.form-control{
        height:68px;
        padding-top:8px;
        padding-bottom:8px;
    }
    .custom-modal-content .custom-field label{
        font-weight:bold;
        font-size:15px;
        color:#333;
    }
    .custom-modal-content .custom-left{
        float:left;
        width:38%;
        margin-right:3%;
    }
    .custom-modal-content .custom-right{
        float:left;
        width:59%;
    }
    .custom-modal-content input.form-control, .custom-modal-content select.form-control{
        height:36px;
    }
.custom-modal-title{
    line-height:38px;
    height:38px;
    padding-left:15px;
    position:absolute;
    top:0;
    left:0;
    right:0;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    background-color:#F58220;
    color:#FFF;
    overflow:hidden;
}
.custom-button-container{
    text-align:center;
    margin-top:10px;
}
    #pc-submit{
        line-height: 39px !important;
        border: 2px solid #F58220;
        background: #F58220;
        padding: 0px !important;
        font-family: 'geomanistmedium';
        font-size: 16px;
        color: #fff;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        text-align: center;
        font-weight: normal;
        width:128px;
        margin:auto;
    }
    #pc-submit:hover{
        cursor:pointer;
        background-color:#45BA80;
        border-color:#45BA80;
    }
/* The Close Button */
.custom-close{
    color: #fff;
    position: absolute;
    top: 5px;
    right: 15px;
    font-weight: bold;
    font-size: 20px;
}
.custom-close:hover, .custom-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.custom-after-sent{
    display:none;
}
.custom-after-sent p{
    color:#333;
    margin-top:8px;
}
@media (max-width:767px) {
    .custom-modal-content{
        margin-left:2em;
        margin-right:2em;
    }
}