.modal:before {
    content: "";
    /*display: none;*/
    background: rgba(81, 63, 61, 0.6);
    /*background-color: #4f3d3b;*/
    position: absolute;
    color: #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.modal {
    height: 100vh;
    width: 100vw;
    background: rgba(81, 63, 61, 0.6);
    position: absolute;
    color: #fff;
    top: 0;
    left: 0;
    z-index: 1000;
}

.is-hidden {
    display: none !important;
}

.is-invisible {
    visibility: none !important;
}

.is-visible {
    display: block !important;
}

.button--close-modal {
    font-size: 1.55em;
    position: absolute;
    top: 30px;
    right: 30px;
    margin: 0;
    opacity: 1;
    color: #fff;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    z-index: 1200
}

.button:hover {
    color: #50505a;
}

.modal-author, .modal-location {
    position: relative;
    width: 100%;
    height: 100%;
}

.content.content--open.modal-author,
     .content.content--open.modal-location {
    background-image: none;
}


/*Modal content*/

.content--open {
    left: 0;
}

.content--open, .content__item--current {
    -webkit-transition: none;
    transition: none;
}

.content.modal-author h2 {
    font-size: 2.5em;
    font-family: 'roboto-light';
    font-weight: normal;
    margin: 0 0 0.2em 0;
    color: #fff;
}

.content.modal-author h3 {
    font-size: 1.25em;
    font-family: 'roboto-light';
    font-weight: normal;
    margin: 0.25em 0 0.5em;
    color: #fff;
}

.content.modal-author h3 span {
    font-size: 1.25em;
    font-weight: normal;
    margin-left: 0.25em;
    color: #fff;
}

.content.modal-author h3.author-years {
    font-size: 1em;
    font-family: 'roboto-light';
    font-weight: normal;
    margin: 0.5em 0 1em;
    color: #fff;
}

.content.modal-author p,.content.modal-author pre {
    font-family: 'roboto-light';
    color: #fff;
    font-size: 1.1em;
    line-height: 1.5em;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    text-indent: 1em;
}

    .content.modal-author .content__item-img {
        max-height: 60vh;
    }

#author-content {
    align-items: flex-start;
}

.author-content-columns{

    -moz-column-width: 32em;
    -webkit-column-width: 32em;
     column-width: 32em;

    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;

    -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
    -moz-column-gap: 40px; /* Firefox */
    column-gap: 40px;

   
}

#author-content .content__item-img{
    padding-bottom: 2vh;
}



/*.content--open .button--close-modal {
    opacity: 1;
}*/


/*.modal .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    top: 20%;
}
*/


/*.modal-dialog {
    background: #fefefe;
    border: #333 solid 1px;
    border-radius: 5px;
    margin-left: -200px;
    position: absolute;
    left: 50%;
    top: -100%;
    z-index: 1100;
    width: 360px;
    -webkit-transform: translate(0, -500%);
    -ms-transform: translate(0, -500%);
    transform: translate(0, -500%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}*/


/*ADDED TO STOP SCROLLING TO TOP*/

#close {
    display: none;
}

#map {
    width: 100%;
    height: 500px;
}

#map-header{
    padding: 5vh;
}

.content.modal-location p {
    color: #fff;
    font-size: 1.7em;
    margin-left: 1em;
}


/* Media Queries  iPhone 5 */

@media screen and (max-width: 380px) {
    #author-content {
        flex-direction: column;
    }
    .content.modal-author h2 {
        font-size: 2em;
    }
    .content__item-img {
        max-width: 60vw;
    }
    .content.modal-author h3 {
        font-size: 1em;
    }
    .content.modal-author p,pre {
        font-size: 1em;
    }

    #map{
        height: 20vh;
    }
}

@media screen and (max-height: : 400px) {
     #map{
        height: 40vh;
    }
}

@media screen and (min-width : 1281px) {
    #author-content .content__item-img{
        max-width: 25vw;
    }
}    
