
.grid-wrapper {
    width: 90% !important;
    max-width: 1000px !important;
}

.grid-container {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.grid-item {
    display: inline-block;
    position: relative;
    width: 280px;
    height: 200px;
    margin: 15px;
    padding: 0px !important;
}

.grid-item a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom: 0px;
}

.desc {
    color: black !important;
    font-size: 10.5pt;
    font-weight: 500;
    line-height: 11pt;
}

.grid-item img {
    width: 100%;
    max-width: 280px;
    height: 200px;
    /*border: 4px solid rgba(255, 25, 25, 0.7);*/
    border: 4px solid rgba(255, 255, 255, 0.7);
    border-radius: 0px;
}

.grid-item div {
    display: table;
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0px;
    padding: 4px;
    color: white;
    font-size: 16pt;
    text-align: center;
    vertical-align: middle;
    z-index: 900;
    opacity: 0;
    cursor: pointer;
}

.grid-item div:hover {
    opacity: 1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.grid-item div span {
    display: table-cell;
    vertical-align: middle;
}

.grid-item-sm {
    margin: 30px 15px;
}

.grid-item-sm, .grid-item-sm img, .grid-item-sm div {
    width: 210px !important;
    height: 150px !important;
}


/*===Lightbox===*/
.no-scroll {
    display: fixed !important;
    overflow: hidden !important;
}

.lightbox-wrap {
    display: block;
    visibility: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    overflow-y: auto;
    z-index: -1;

    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.lightbox-contents {
    display: block;
    width: 95%;
    max-width: 750px;
    position: relative;
    top: 50%;
    margin: -225px auto 0 auto;
    padding-bottom: 50px;
    border: 0px solid grey;
    color: rgb(220,220,220);
    font-size: 10pt;
}

.lightbox-contents h1 {
    font-size: 13pt;
}

.lightbox-contents iframe {
    display: block;
    width: 100%;
    margin: 20px auto;
}

.lightbox-contents img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 400px !important;
    margin: 20px auto;
}

.lightbox-contents a:hover, .lightbox-contents p {
    color: rgb(220,220,220);
    font-size: 10pt;
}

.lightbox-fadein {
    visibility: visible;
    opacity: 1;
    z-index: 3000 !important;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

/* Close Button */
a#close-x {
    display: block;
    width: 34px;
    height: 27px;
    line-height: 27px;
    padding-top: 5px;
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 14pt !important;
    color: black;
    border-bottom: none !important;
    cursor: pointer;
    opacity: 100;
    /*z-index: 3100;*/
    transition: none !important;
}

#close-x-inner {
    display:inline-block;
    width:34px;
    float:right;
}

a#close-x:hover > #menu-btn-inner > .m-mark {
    border: 2px solid #1da0f2 !important;
    border-radius: 2px;

    transition: 0.2s ease-in-out 0s;
    -moz-transition: 0.2s ease-in-out 0s;
    -webkit-transition: 0.2s ease-in-out 0s;
}

a#close-x:hover {
    color: #00bcba;
    border-bottom: none !important;
    transition: 0.2s ease-in-out;
}

.lightbox-x {
    display: block !important;
    height: 0px;
    float: right;
    font-size: 0;
    margin-bottom: 7px;
    border: 2px solid #3d3d3d;
    border-radius: 2px;
}

#top-x {
    width: 32px !important;
    border: 2px solid #1da0f2 !important;
    border-radius: 2px;
    transform: rotate(45deg) translateX(8px) translateY(8px);
    -ms-transform: rotate(45deg) translateX(8px) translateY(8px);
    -webkit-transform: rotate(45deg) translateX(8px) translateY(8px);
}

#bot-x {
    width: 32px !important;
    border: 2px solid #1da0f2 !important;
    border-radius: 2px;
    transform: rotate(-45deg) translateX(0px) translateY(0px);
    -ms-transform: rotate(-45deg) translateX(0px) translateY(0px);
    -webkit-transform: rotate(-45deg) translateX(0px) translateY(0px);
}