/* modal */
.modal-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: 640px;
}

.modal-trigger {
    cursor: pointer;
    display: inline;
}

.modal-button {
    height: 38px;
    position: absolute;
    width: 60px;
    z-index: 1;
    background-color: #0064C0;
    opacity: 0.76;
    transition: all 80ms ease-out 0s;
    mix-blend-mode: normal;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.js-video-button {
    cursor: pointer;
}

.js-video-button:hover .modal-button {
    height: 113px;
    width: 200px;
    z-index: 1;
    background-color: #0064C0;
    opacity: 0.48;
    transition: all 80ms ease-out 0s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
    cursor: pointer;
}

.modal-video {
    background: rgba(0, 0, 0, 0.81);
}

.modal-backdrop.in {
    -webkit-opacity: 0.7;
    -moz-opacity: 0.7;
    opacity: 0.7;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: none;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.close-modal-button,
.close-modal-button:hover,
.close-modal-button:focus {
    background: transparent;
    border: none;
    margin-bottom: 8px;
    box-sizing: border-box;
    width: auto;
    height: auto;
    padding: 0;
    opacity: 1;
    box-shadow: none;
}

.modal-body {
    padding: 0;
}

.close-modal-button svg rect {
    fill: #FFFFFF;
}

.modal.modal-video .modal-dialog {
    width: 760px;
    margin-top: 90px;
}

.modal.modal-video .modal-body {
    padding: 0;
    padding-top: 0;
}

.modal.modal-video .modal-header {
    border: none;
    padding: 0;
    position: relative;
}

.modal.modal-video button.close {
    font-size: 36px;
    font-weight: 300;
    text-shadow: none;
    color: #fff;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    background: none;
    position: absolute;
    right: 0;
    bottom: 5px;
    z-index: 10;
}

.modal.modal-video button.close:hover {
    color: #0064C0;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.modal {
    text-align: center;
    padding: 0;
}
/* modal (end) */