.modal-body {
    padding: 0;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0;
    border-bottom: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.modal-content {
    border-radius: 0;
    background: #000;
    border: none;
}

.ekko-lightbox-nav-overlay a {
    color: black;
    opacity: .5;
}

.modal-header .close:before,
.modal-header .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 1px;
    background-color: #cacccc;
}

.modal-header .close:before {
    transform: rotate(45deg);
}

.modal-header .close:after {
    transform: rotate(-45deg);
}

.modal-header .close span {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 1;
}

.modal-backdrop {
    background-color: #000;
}

.modal.fade {
    transition-duration: 700ms;
}

.modal.in {
    transition-duration: 700ms;
}

.modal.fade .modal-dialog {
    /*transition-duration: 0.1s;*/
    /*transform: translate3d(0, -10%, 0);*/
}


.ekko-lightbox-nav-overlay {
    z-index: 1;
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    width: initial;
    height: 100%;
    display: -ms-flexbox;
    /* display: flex; */
}

.ekko-lightbox-nav-overlay a {
    font-size: 8px;
    /*border: 1px solid white;*/
}

.ekko-lightbox-nav-overlay a:last-child {
    /*color: yellow;*/
    position: fixed;
    right: 10%;
    bottom: 50%;
    margin-bottom: -0.5em;
}

.ekko-lightbox-nav-overlay a:first-child {
    /*color: skyblue;*/
    position: fixed;
    left: 10%;
    bottom: 50%;
    margin-bottom: -0.5em;
}

.ekko-lightbox-nav-overlay a:last-child:before {
    content: '\e804';
    content: '';
    width: 33px;
    height: 33px;
    border: 1px solid;
    border-color: #cacccc #cacccc transparent transparent;
    transform: rotate(45deg);
}

.ekko-lightbox-nav-overlay a:first-child:before {
    content: '\e804';
    content: '';
    width: 33px;
    height: 33px;
    border: 1px solid;
    border-color: transparent transparent #cacccc #cacccc;
    transform: rotate(45deg);
}

.ekko-lightbox-nav-overlay a span {
    padding: 0;
    color: white;
    display: inline-block;
    text-indent: -9999px;
}

.ekko-lightbox-nav-overlay a:last-child span {
    text-align: initial;
}

/*.ekko-lightbox .ekko-lightbox-container {
    overflow: hidden !important;
    -webkit-transition: width 300ms ease-in-out, height 300ms ease-in-out !important;
    -moz-transition: width 300ms ease-in-out, height 300ms ease-in-out !important;
    -o-transition: width 300ms ease-in-out, height 300ms ease-in-out !important;
    transition: width 300ms ease-in-out, height 300ms ease-in-out !important;
}*/
@media screen and (max-width: 640px) {
    .ekko-lightbox-nav-overlay a {
        /*border: 1px solid red;*/
    }

    .ekko-lightbox-nav-overlay a:last-child {
        bottom: 15px;
        right: 20px;
    }

    .ekko-lightbox-nav-overlay a:first-child {
        bottom: 15px;
        left: 20px;
    }
}
