
.gall-container {
    text-align: left;
    padding: 0 2% 0 2%;
    width: auto;
}
.gall-text {
    text-align: left;
    font-size: 16px;
    padding: 50px 5px 2px 5px;
    width: 100%;
}
.gallery {
    display: flex;
    height: auto;
    flex-wrap: wrap;
    justify-content: left;
    align-content: flex-start;
    padding: 5px 0 5px 0;
}
.gallery > img {
    max-width: 90vw;
    max-height: 200px;
    cursor: zoom-in;
    display: block;
    padding: 1px;
    margin-right: 6px;
    margin-top: 9px;
}
#modal-gall {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 8px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.97);
    align-items: center;
    justify-content: center;
}

.modal-open #modal-gall {
    display: block;
}

.modal-content {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
}
#modal-slides {
    display: block;
    max-width:100%;
    max-height: calc(100vh - 16px);
    margin: auto;
}
#closem {
    cursor: pointer;
    color: #9e97b1;
    position: absolute;
    top: 26px;
    right: 0px;
    font-size: 40px;
    font-weight: bold;
    border-radius: 5px 0 0 5px;
    padding: 2px 16px 8px 16px;
    z-index: 2;
    background-color: #29272e;
    text-decoration: none;
}
#closem:hover,
#closem:focus {
    color: red;
    cursor: pointer;
}
#prevm,
#nextm {
    cursor: pointer;
    position: absolute;
    top: 46%;
    width: auto;
    padding: 10px 22px;
    margin-top: -10px;
    color: #9e97b1;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    -webkit-user-select: none;
    background-color: #29272e;
    text-decoration: none;
}
#prevm {
    left: 0;
    border-radius: 0 5px 5px 0;
}
#nextm {
    right: 0;
    border-radius: 5px 0 0 5px;
}


#pms-gallery-modal .modal-body {
    padding: 0;
    border-radius: 0px;
}
#pms-gallery-modal .modal-body img {
    border-radius: 5px;
}
#pms-gallery-modal  .modal-content {
    background-color: #6390 !important;
    border: none;
}
#pms-gallery-modal .modal-body img {
    max-height: 90vh;
}
#prevm {
    position: fixed;
    left: 9px;
    border-radius: 6px;
    color: white;
    background-color: #d2b48c4f;
}

#nextm {
    position: fixed;
    right: 9px;
    border-radius: 6px;
    color: white;
    background-color: #d2b48c4f;
}
.containercenter {
    height: 90vh;
    position: relative;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.gallery.pms-gallery img {
    border-radius: 10px;
    margn: 0;
    max-width: 256px;
}
.modal-backdrop.show {
    opacity: .9;
}
.btn.btn-warning.btn-close {
    right: 31px;
    position: fixed;
    top: 30px;
}
.btn.btn-warning.btn-close {
    right: 31px;
    position: fixed;
    top: 30px;
    padding: 10px;
    background-color: orange;
    opacity: 1;
    color: white !important;
}
.pms_gallery_container {
    padding: 2px;
}
.pms_gallery_container h5 {
    font-size: 18px;
}
.pms_gallery_container p{
    font-size: 15px;
}

.container .card .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c73df;
}

.container .card .icon .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: #fff;
}

.container .card .slide {
    width: 300px;
    height: 200px;
    transition: 0.5s;
}

.container .card .slide.slide1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: .7s;
    transform: translateY(100px);
}

.container .card:hover .slide.slide1{
    transform: translateY(0px);
}

.container .card .slide.slide2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    transition: .8s;
    transform: translateY(-100px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);

}

.container .card:hover .slide.slide2{
    transform: translateY(0);
}

.container .card .slide.slide2::after{
    content: "";
    position: absolute;
    width: 30px;
    height: 4px;
    bottom: 15px;
    left: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c73df;
}

.container .card .slide.slide2 .content p {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #414141;
}

.container .card .slide.slide2 .content h3 {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 24px;
    text-align: center;
    color: #414141;

}

.pms-section {
    background-color: #f0f0f0;
    padding-top: 40px;
}