/* Main Modal Content, may need to be cleaned up further */
.modal_section {
    display:block;
}
.hystmodal__opened,
.hystmodal__shadow {
    position: fixed;
    right: 0;
    left: 0;
    overflow: hidden
}
.hystmodal__shadow {
    border: none;
    display: block;
    width: 100%;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 98;
    opacity: 0;
    transition: opacity .15s ease;
    background-color: #000
}
.hystmodal__shadow--show {
    pointer-events: auto;
    opacity: .6
}
.hystmodal {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    pointer-events: none;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    z-index: 99;
    visibility: hidden
}
.hystmodal--active {
    opacity: 1
}
.hystmodal--active,
.hystmodal--moved {
    pointer-events: auto;
    visibility: visible
}
.hystmodal__wrap {
    flex-shrink: 0;
    flex-grow: 0;
    width: 100%;
    min-height: 100%;
    margin: auto;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center
}
.hystmodal__window {
/* Top margin avoids Staples navbar */
    margin: 110px 10px 10px 10px;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-grow: 0;
    background: #fff;
    overflow: visible;
    transition: transform .2s ease 0s, opacity .2s ease 0s;
    transform: scale(.9);
    opacity: 0;
    border-radius: 15px;
    padding: 30px 30px;
}
.hystmodal--active .hystmodal__window {
    transform: scale(1);
    opacity: 1
}

/* HR tag */
.hystmodal__styled hr {
    border:none;
    height:1px;
    background-color:#999;
}

/* Input field for forms */
.hystmodal__styled input {
    width:220px;
    line-height:26px;
    background: #fff;
    outline: none;
    box-shadow: inset 0 0 0 100px #fff;
    border: 1px solid #DDE0E6;
    border-radius:5px;
    padding: 5px;
    margin-bottom:5px;
}

/* Close button */
.hystmodal__window .hystmodal__close {
    top: 10px;
    right: 10px;
    z-index: 100;
    background:rgba(255,255,255, 0.6);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-5 -5 34 34'%3E%3Cpath fill='%23fff' stroke='%23111' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M22 2L2 22'/%3E%3Cpath fill='none' stroke='%23111' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M2 2l20 20'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    color:#fff;
    font-size:26px;
    border-radius:5px;
    padding: 5px;
    font-family: "Gill Sans", Helvetica, sans-serif;
    border: none;
    cursor: pointer;
    outline: none
}
.hystmodal__window .hystmodal__close:focus {
    outline: 2px solid #aaaaaa;
    outline-offset: 2px;
}

/* Form Modal */
.form_modal {
    text-align:center;
    width:95%;
}

/* Video Modal */
.video_modal {
    padding:0;
}
/* Class for video file */
.modal_video_frame {
    width: 100%;
}

/* Code from HystModal, unsure if still used */
.mshow{
    display: none;
}
.hide{
    display: none;
}

/* Media queries */
@media (min-width: 576px) {
    .form_modal {
        width:550px;
        padding:30px 100px 30px 100px;
    }
}
@media (min-width:768px) {
    .hystmodal__window {
        max-width: 1200px;
    }
}
/* Top margin avoids Staples navbar */
@media (min-width:821px) {
    .hystmodal__window {
        margin: 177px 50px 10px 50px;
    }
}
@media (min-width:1200px) {
    .hystmodal__window {
        max-width: 1200px;
    }
}
