.member-img {
    position: relative;
    overflow: hidden;
    padding-bottom:100%;
    border-radius: 100%;
    border: 1px solid #eee;
}

.member-img img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.member-list .card {
    padding: 30px;
    box-shadow: 0 10px 20px #f5f5f5;
    margin-top: 20px;
    background: #fff;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.8s;
}

.member-list .card:hover, .member-list .card:focus {
    box-shadow: 0 10px 50px #c5c5c5;
}


/*filter*/

.js-stools-container-filters {
    display: none;
}

.js-stools .btn-wrapper { float: left; padding: 0; }

.js-stools input {
    height: 40px;
    border: 1px solid #eee;
    box-shadow: none;
}

.js-stools input::placeholder {
    color: #ccc;
}

.js-stools button {
    background: #272f6c;
    color: #fff !important;
}

.js-stools button {
    background: #191f47;
}

.filter-result {
    font-size: 15px;
    margin-top: 10px;
    color: #5c5e6c;
    line-height: 1.3;
    letter-spacing: 0.2px;
}


/*end of filter*/


/*pagination*/

.pagination .btn.previous-btn.btn-primary {
    float: left;
    width: 120px;
}

.pagination .btn.next-btn.btn-primary {
    float: right;
    width: 120px;
}

.pagination {
    padding: 15px 0;
    /*margin-top: 50px;
    border-top: 1px solid #eee;*/
}

/*end of pagination*/


/*left*/

@media (min-width: 768px) {
  .member-list .member-left { padding-right: 5%; }
}

.member-detail .member-left .row {
    background: #fff;
    box-shadow: 0 10px 20px #ededed;
    padding: 25px 25px 20px;
    border-radius: 10px;
    border-bottom: 5px solid #262f6c;
    margin-right: 10%;
}

@media (max-width: 767px) {
    .member-detail .member-left .row {margin: 0;padding: 20px;}
}


.member-left .card-img-top {
    width: 50%;
    margin: auto;
}

.member-detail-list {
    list-style-type: none;
    padding: 20px 0 5px;
    margin: 0;
}

.member-detail-list li {
    margin-bottom: 5px;
    color: #000;
    letter-spacing: 0.2px;
}

.member-detail-list p {
    margin: 0;
}

.member-detail-list .cp-name {
    font-weight: 600;
    color: #000;
    font-size: 24px;
    line-height: 1.3;
    display: block;
    padding-bottom: 10px;
    text-align: center;
}

.member-detail-list i {
    margin-right: 10px;
    color: #fff;
    width: 25px;
    border-radius: 100%;
    height: 25px;
    background: #3a3e5c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.member-detail-list p {
    display: inline-flex;
    align-items: center;
}

.member-detail-list li a {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

@media (max-width: 1199px) {
    .member-detail-list li a { max-width: 200px;}
}

@media (max-width: 991px) {
    .member-detail-list li a { max-width: 150px; }
}

@media (max-width: 767px) {
    .member-detail-list li a { max-width: 100%;}
}

@media (max-width: 480px) {
    .member-detail-list li a { max-width: 250px;}
}




.card .see-more-btn {
    background: #1eb0ed;
    color: #fff;
    display: block;
    padding: 5px 15px;
    text-align: center;
    margin: 10px 0 0;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-weight: 500;
}

.card .see-more-btn:hover, .card .see-more-btn:focus {
    background: #191f47;
}

.card .view-website-btn {
    background: #3a4448;
    color: #fff;
    display: block;
    padding: 5px 15px;
    text-align: center;
    margin: 10px 0 0;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-weight: 500;
}

.card .view-website-btn:hover, .card .view-website-btn:focus {
    background: #000
}


/*end of left*/


/*right*/

.card .member-right h3 {
    font-size: 24px;
    margin: 10px 0;
}

.business-nature a {
    background: #ededed;
    color: #5c5e6c;
    font-size: 14px;
    padding: 5px 15px;
    line-height: 1;
    border-radius: 50px;
    margin: 3px 0;
    display: inline-block;
}


.business-nature a:hover, .business-nature a:focus {
    background: #3a3e5c;
    color: #fff;
}



.card .member-right .company-info {
    margin-top: 20px;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.card a { cursor: pointer; }

.card .member-right .company-info label {
    font-size: 14px;
    color: #8d8d8d;
}

.card .member-right .company-info p {
    margin: 0;
    font-weight: 600;
    color: #000;
}

.card .member-right .company-info>div:not(:last-child) {
    padding: 0 0 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}


.member-right .company-history h5, .member-right .product h5 {
    font-size: 14px;
    line-height: 1.4;
    color: #8d8d8d;
    margin: 0 0 5px;
}

.member-right .product h5 span {
    background: #444969;
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    margin-left: 5px;
}

.member-right .company-history, .member-right .product {
    line-height: 1.4;
    letter-spacing: 0.2px;
    margin-top: 20px;
}

.member-right .company-history p, .member-right .product p {
    margin: 0;
    text-align: justify;
}

/*end of right*/


/*popup video*/

.member-detail .modal {
    background: rgb(0 0 0 /60%);
    backdrop-filter: blur(1px);
}

.member-detail .modal-header h4 {
    display: none;
}

.member-detail .modal-body {
    padding: 0;
    height: 315px;
}

.member-detail .modal-content {
    box-shadow: none !important;
    border: 0;
    border-radius: 0;
}

.member-detail .modal-header {
    position: absolute;
    top: -25px;
    right: 0;
    border: 0;
    padding: 0;
    width: 20px;
    height: 20px;
}

.member-detail .modal-header .close {
    margin-top: 0;
    position: relative;
    top: auto;
    right: auto;
    font-size: 25px;
    font-weight: 500;
    opacity: 1;
    transition: 0.5s;
}

/*end of popup video*/


/*gallery*/

.gallery-section .col-lg-3 {
    padding: 5px;
}

.gallery-section .row {
    padding: 0 10px;
}

.gallery-section {
    padding: 30px 0 20px;
}

.gallery-section p {
    font-size: 16px;
    line-height: 1.1;
    font-weight: 600;
    color: #000;
    padding: 0 0 10px;
    border-bottom: 1px solid #eee;
}

.gallery-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-photo img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: 0.5s;
}

.gallery-photo:hover img {
    transform: scale(1.2)
}

@media (max-width: 767px) {
    .gallery-photo { height: 150px; }
}

div#GalleryModal .modal-content {
    max-width: 650px;
    box-shadow: none !important;
    border: 0;
    top: 50%;
    transform: translateY(-50%);
}

div#GalleryModal {
    background: rgb(0 0 0 /60%);
    padding: 0;
    /* display: flex !important; */
}

div#GalleryModal .prev, div#GalleryModal .next {
    background: #777;
    color: #fff !important;
}

div#GalleryModal .close {
    box-shadow: none;
    opacity: 1;
    font-weight: 500;
}

/*.gallery-photo:before {
    content: "";
    position: absolute;
    background: #000;
    opacity: 0;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    transition: 0.5s;
}

.gallery-photo:hover:before {
    opacity: 0.5;
}*/

/*end of gallery*/



/*responsive*/

@media (max-width: 767px) {
    .member-list .card { padding: 20px; }
    .member-right { padding-top: 30px; }
    .member-right .row { display: flex; flex-direction: column-reverse; }
    .member-right .company-logo { max-width: 200px; margin: auto; padding-bottom: 15px; }
    .card .member-right h3 { text-align: center; font-size: 22px; }
    .member-right .business-nature { text-align: center; }
    .card .see-more-btn, .card .view-website-btn { font-size: 14px; margin-top: 5px; }
    .business-nature a { font-size: 12px; margin: 0; }
}

/*end of responsive*/



