#contact-widget {
    border-radius: 0;
    max-width: 600px;
    padding: 30px 50px;
    box-shadow: none;
}

.close-modal {
    background: none !important;
    text-indent: initial !important;
    width: auto !important;
    height: auto !important;
    top: -25px !important;
    right: 0 !important;
}
#contact-widget input[type='email']{
    display: block;
    width: 100%;
    padding: 0.8rem 0.3rem 0.8rem 0.3rem;
    font-size: 16px;
    line-height: 1.5;
    color: #002a50;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    position: relative;
}
#contact-widget .input-box {
    margin: 1rem 0;
    position: relative;
}
#contact-widget .input-box button {
    display: inline-block;
    background-color: #002A50;
    transition: all .3s ease-out;
    padding: 14px 34px;
    font-size: 15px;
    font-family: "aptos", sans-serif;
    font-style: normal;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    border: none;
    cursor: pointer;
}
#contact-widget .input-box button:hover {
    color: #fff;
    background-color: #009EE0;
}
#contact-widget .input-box button.disabled {
    opacity: 0.3;
}
#contact-widget .input-box:last-child label{
    position: absolute;
    left: 2rem;
    font-size: 16px;
}
#contact-widget .input-box:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#contact-widget .input-box:last-child input[type="checkbox"] {
    margin: 0 !important;
}
#contact-widget .info {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
}
#contact-widget p.the-subtitle {
    margin: 0;
}
@media only screen  and (max-width: 1024px){
    #contact-widget .input-box:last-child label{
        position: absolute;
        top: 3rem;
        left: 0;
        font-size: 11px;
    }
}

/* novo dodano */
.the-subtitle{
    font-family: "aptos", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 28px;/*32px*/
    line-height: 1;/*41px*/
    color: #002a50;
    margin-top: 0;
}
.mega-close{
    line-height: 16px;
    z-index: 10;
    color: #fff;
    font-family: "aptos", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
}
.mega-close:hover{
    color: cyan;
}


/* new */

.modal.customModal{
    z-index: 1060;
    padding: 1rem;
    /*margin: auto;
    position: fixed;
    top: 35%;
    left: 35%;*/
    height: auto;
    width: 670px;
    max-width: unset;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}
.customModal .modal-dialog{
    margin: 2rem;
}
.modal-backdrop{
    background-color: rgba(0, 84, 140, 0.85);
}
.jquery-modal.blocker, .modal-backdrop{
    /*background-color: rgba(0, 84, 140, 0.85);*/
    background: rgb(12,33,78);
    background: linear-gradient(25deg, rgba(12,33,78,0.85) 0%, rgba(0,63,117,0.85) 35%, rgba(53,102,148,0.85) 100%);
    opacity: 0;
    z-index: 9999;
}
.modal-backdrop.show{
    opacity: 1;
}
.custom-btn{
    position: absolute;
    background-color: white;
    bottom: 100%;
    left: 95%;
    margin-bottom: 0.35rem;
}
.customModal .input-box{
    margin: 1rem 0 1rem 0;
}
.customModal .input-box > button{
    float: right;
    border-radius: 0;
    background-color: rgb(13, 49, 100);
    font-family: "aptos", sans-serif;
    font-style: normal;
    font-weight: 600;
    color: white;
}
.customModal .close-modal{
    display: none !important;
}
.modal-X{
    position: absolute;
    bottom: 100%;
    right: -1rem;
    width: 52px;
    height: 52px;
}

.customModal input[type='email']{
    border-color: rgb(210, 210, 210);
    color: black;
    padding: 1rem;
}

.jquery-modal.blocker.current{
    opacity: 0;
    animation-name: fade-in-modal;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
}

@keyframes fade-in-modal{
    from { opacity: 0; }
    to { opacity: 1; }
}

/*.modal-backdrop:before{
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
    content: ""
}*/

.customModal{
	margin: auto;
    top: 35%;
}
.customModal .modal-dialog{
	max-width: 570px;
}
.customModal .input-box label{
    float: left;
}