.new-contents-panel .top-toolbar {
    position: fixed;
    box-sizing: content-box;
}

.new-contents-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(51,51,51,0.8);
    z-index: 3000;
}

.new-contents-panel .x-button {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    width: 32px;
    height: 32px;
}

.new-contents-panel-wrapper {
    overflow: scroll;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: scroll;
}

.new-contents-panel-title {
    width: 100%;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 12px;
}

.new-contents-panel-title h1 {
    font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
    font-size: 1.8em;
    font-weight: 300;
    text-align: center;
}

.grid-container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.grid-row {
    width: 100%;
    clear: both;
    box-sizing: border-box;
    display: flex;
}

.grid-tile {
    padding: 10px;
    display: inline-block;
    float: left;
    width: 50%;
    max-width: 450px;
    margin-left: auto;
    box-sizing: border-box;
}

.grid-tile-right {
    margin-right: auto;
    margin-left: 0;
}

.grid-tile-content {
    padding: 10px;
    background-color: #eee;
}

.new-contents-panel .grid__link {
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .grid-row {
        width: 100%;
        clear: both;
        box-sizing: border-box;
        display: block;
    }

    .grid-tile {
        padding: 10px;
        display: block;
        float: none;
        width: 100%;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        max-width: 450px;
    }

    .grid-tile-right {
        margin-left: auto;
        margin-right: auto;
    }
}

.new-contents-panel .grid__img {
    width: 100%;
    height: auto;
    display: block;
}

.new-contents-panel .grid-tile-content {
    background-color: rgba(0, 0, 0, 0.5);
}

.new-contents-panel a:focus {
    outline: none;
}

.new-contents-panel a:hover .grid-tile-content,
.new-contents-panel a:focus .grid-tile-content {
    border: 8px solid rgb(32, 143, 255);
    /* background-color: rgb(14, 69, 124); */
}

.new-contents-panel .top-toolbar a.toolbar-button:hover, 
.new-contents-panel .top-toolbar a.toolbar-button:focus {
    color: #000;
    background-color: #fff;
    opacity: 1;
}

.new-contents-panel a,
.new-contents-panel a:hover,
.new-contents-panel a:visited {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.new-contents-panel .grid-tile-content h1 {
    font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
    font-size: 1.3em;
    font-weight: 300;
    text-align: center;
}

.new-contents-panel .grid-tile-content h2 {
    font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: 300;
    color: #ececec;
}
