.modal .close {
    opacity: 1;
    cursor: pointer;
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    color: currentColor;
    font-size: 10px;
    line-height: 42px;
    text-shadow: none;
    text-align: center;
}

.modal-dialog {
    max-width: 275px;
    height: 100%;
    margin: 0 0 0 auto;
}

.modal-content {
    padding: 0 0 50px;
    border: none;
    border-radius: 0;
    background-color: #fff;
    font-size: 13px;
    line-height: normal;
}


.modal-header,
.modal-body,
.modal-footer {
    display: block;
    padding: 0 25px;
    border: none;
    border-radius: 0;
}

.modal-header {
    display: block;
    margin: 0 0 25px;
    padding-top: 14px;
    padding-bottom: 14px;
    border: none;
    background-color: #ffda3f;
}

.modal-header .modal-title {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.modal-subtitle {
    margin: 0 0 20px;
    font-size: 12px;
    line-height: 20px;
    color: rgba(51, 51, 51, .9);
}

.modal-btn-group {
    max-width: 175px;
    margin-left: auto;
    margin-right: auto;
}


/* modal contact block */
.modal-contact-block {
    color: rgba(51, 51, 51, .9);
}

.modal-contact-block a {
    color: inherit;
    text-decoration: none;
}

.modal-contact-block a:hover {
    color: #ffda3f;
    text-decoration: none;
}

.modal-contact-block .modal-contact-thumbnail {
    flex: 0 0 25px;
    width: 25px;
    max-width: 25px;
    height: 25px;
    margin-right: 8px;
    line-height: 25px;
    text-align: center;
}

.modal-contact-block .modal-contact-media {
    max-width: 100%;
    max-height: 100%;
}

.modal-contact-block .modal-contact-title {
    margin: 0 0 10px;
}
/* modal contact block end*/


/* modal social block */
.modal-social-block {
    margin: 25px 0;
}

.modal-social-block .modal-social-title {
    margin: 0 0 20px;
}

.modal-social-list {
    margin: 0 -8px;
}

.modal-social-list .modal-social-item {
    padding-left: 8px;
    padding-right: 8px;
}

.modal-social-list .modal-social-link {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
}

.modal-social-list .modal-social-link img {
    max-width: 100%;
    max-height: 100%;
}
/* modal social block end */


/* modal message block */
.modal-message-block {
    font-size: 20px;
    line-height: 26px;
}

.modal-message-block .modal-message-thumbnail {
    height: 100px;
    margin: 0 0 20px;
    line-height: 100px;
    text-align: center;
}

.modal-message-block .modal-message-thumbnail .modal-message-media {
    max-width: 100%;
    max-height: 100%;
}
/* modal message block end */

.modal-backdrop {
    background-color: #333333;
}

@media (min-width: 768px) {
    .modal .close {
        top: 10px;
        left: auto;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 17px;
        line-height: 32px;
    }

    .modal-dialog {
        height: auto;
        max-width: 420px;
        margin: 25px auto;
    }

    .modal-content {
        padding-top: 50px;
        padding-bottom: 50px;
        font-size: 16px;
        line-height: normal;
    }


    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0 35px;
    }

    .modal-header {
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        background: none;
    }

    .modal-header .modal-title {
        margin: 0 0 30px;
        font-size: 20px;
    }


    .modal-subtitle {
        margin: 0 0 30px;
        font-size: 16px;
        line-height: 23px;
    }


    /* modal sm */
    .modal-sm {
        max-width: 320px;
    }
    /* modal sm end */
    

    /* modal xs */
    .modal-xs {
        max-width: 300px;
    }

    .modal-xs .modal-header,
    .modal-xs .modal-body,
    .modal-xs .modal-footer {
        padding-left: 40px;
        padding-right: 40px;
    }


    .modal-btn-group {
        max-width: none;
    }


    /* modal social block */
    .modal-social-block {
        margin: 35px 0 0;
    }

    .modal-social-list {
        margin: 0 -10px;
    }

    .modal-social-list .modal-social-item {
        padding-left: 10px;
        padding-right: 10px;
    }

    .modal-social-list .modal-social-link {
        width: 30px;
        height: 30px;
    }
    /* modal social block end */
}