


/* Position the image container (needed to position the left and right arrows) */
.box-con {
    position: relative;
}

.box-con img {
    border: 1px solid #fff;
}

.box-con .cursor {
    margin-bottom: 5%;
    margin-top: 5%;
}

.box-con .numbertext {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}


/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    /*padding: 2px 16px;*/
    color: white;
    /*border: 1px solid #fff;*/
}
.caption-container p{
    line-height: 30px;
}
.modal .box-con{
    margin-bottom: -25px;
    margin-left: -10px;
    margin-right: -10px;
}

/* Six col-md-6 col-6 columns side by side */
.col-md-6 col-6 column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.column {
    margin-top: 3%;
}

/*.caption-container {*/
/*    padding-top: 2%;*/
/*}*/

.active,
.demo:hover {
    opacity: 1;
}

.modal-header .clsd {
    font-size: 2rem !important;
    padding: 0.1rem 0.7rem 0.4rem !important;
    margin: -2.3rem -2.1rem -1rem auto !important;
    background-color: #aaa;
    border-radius: 50px;
}

.modal-body {
    background-color: #4b4b4b !important;
}

.modal-content {
    background-color: transparent !important;
}

@media screen and (min-width: 990px) {
    /*.modal-lg {*/
    /*    max-width: 1200px !important;*/
    /*}*/
    .box-con .box-mob{
        margin-right: -20px;
    }
}

@media screen and (min-width: 1600px) {
    .modal-lg {
        max-width: 1800px !important;
    }
     .box-con .box-mob{
        margin-right: -45px;
    }
       .px-100{
        padding-right: 250px;
        padding-left: 250px;
    }
}

@media screen and (max-width: 700px) {
    .modal-body {
        padding: 5px 0 !important;
    }
    .modal-body .box-con {
        padding-top: 10px;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    .modal .modal-dialog .box-content {
        width: 98%;
        overflow-y: hidden;
        overflow-x: hidden;
    }
    .caption-container {
        padding: 0;
        margin-bottom: -25px;
    }
    .shadow-sm .content h5 {
        font-size: 12px;
    }
    .modal .caption-container p{
        font-size: 11px;
    }
    .portfolio-tab .portfolio-link {
        padding-right: 0;
        padding-left: 5px !important;
        font-size: 10px;
    }
    .modal-header {
        padding: 40px 40px 20px 0 !important;
        background-color: transparent !important;
    }
    .portfolio-heading{
        margin-top: 22% !important;
        padding: 7% 0 5%;
    }
    .box-con .box-mob{
       grid-template-columns: 25% 25% 25% 25%;
       column-gap: 5px;
       margin-right: 0;
    }
}
         .box-con .box-mob{
            display: grid; 
            grid-template-columns: 100%;
            margin-right: -20px;
        }
        .port-sec{
            padding: 0 5%;
        }
        
        





.dimension {
    width: 500px;
    height: 300px;
}

.portfolio-tab {
    border-bottom: 0 !important;
}

.portfolio-tab .portfolio-link.active {
    background-color: #00aeef !important;
    color: #fff !important;
    border: 1px solid #00aeef !important;
}

.portfolio-tab .portfolio-link {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #aaa !important;
    /* margin-right: 2rem; */
    padding-left: 3rem;
    padding-right: 3rem;
    border-radius: 0;
}

.portfolio-tab .portfolio-link:hover {
    border: 1px solid #00aeef !important;
    color: #000 !important;
}

.portfolio-tab {
    border-bottom: 1px solid #aaa;
}

.tab-content {
    border: 1px solid #aaa;
    padding: 20px;
}

/*.tab-content .tab-pane .box {*/
/*    padding: 5px;*/
/*    margin: 0;*/
/*}*/

.tab-content img {
    width: 100%;
    cursor: pointer;
}

.shadow-sm .box {
    position: relative;
}

.tab-content .content {
    text-align: center;
    padding: 2% 0 1%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 93%;
    margin: auto;
}

.tab-content .content h5 {
    font-size: 16px;
    color: #fff;
    font-family: "Poppins", sans-serif;
}



@media (max-width: 1024px) {
    .tab-content .content h5{
        font-size:12px;
    }
}

@media screen and (max-width: 700px) {
    .nav-tabs .nav-item {
        width: 33.33%;
    }
    .tab-content .content h5 {
        font-size: 14px;
    }
      .box-con .box-mob{
        display: grid; 
        grid-template-columns: 25% 25% 25% 25%;
        margin-right: 0;
        column-gap: 0;
    }
}

