/*page styles*/

#frmb-0 {
    min-height: 300px !important;
}

#amform-form-container div.form-actions.btn-group {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

div#frmb-0-cb-wrap {
    min-height: 300px !important;
    position: relative;
    padding-bottom: 40px;
}

.amform-form {
    max-width: 700px;
    margin-bottom: 10px;
}

.amform-form-fieldset.fieldset {
    margin-bottom: 10px;
}

.amform-form input[type="number"] {
    max-width: 70px;
}

.amform-groupv2 {
    display: inline-block;
}

#loading_image_container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
}

#form_submit_loading {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: -moz-linear-gradient(rgba(11,11,11,0.1), rgba(11,11,11,0.6)) repeat-x rgba(11,11,11,0.2);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.1)), to(rgba(11,11,11,0.6))) repeat-x rgba(11,11,11,0.2);
    z-index: 100000;
}

.amform-form .amform-hide-formload,
.amform-form .amform-hide-formload.action.primary {
    display: none;
}

.amform-versiontwo-label {
    margin-right: 10px;
    padding-right: 20px;
    display: inline;
    word-break: break-all;
}

.amform-popup {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.amform-show {
    display: inline-block;
}

.amform-content {
    position: relative;
    padding: 20px;
    height: auto;
    max-height: 60%;
    border: 1px solid #888;
    border-radius: 2%;
    box-sizing: border-box;
    overflow-y: auto;
    background-color: #fefefe;
}

.amform-popup-close {
    position: absolute;
    right: 20px;
    top: 5px;
    display: inline-block;
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.amform-popup-close .amform-close {
    position: fixed;
}

@media (min-width: 768px) {
    .amform-content {
        width: 40%;
        top: 20%;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .amform-content {
        width: 30%;
    }
}

@media only screen and (max-width: 767px) {
    .amform-content {
        width: 100%;
        top: 15%;
    }
}
