/********FACULTY*************/
.cardlist {
    display: flex;
    flex-flow: wrap;
    margin: -10px;
}

.cardlist .cardcol {
    flex: 1 0 25%;
    max-width: 25%;
    padding: 10px;
}

.cardlist .cardbox {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 10px;
    border-radius: 0.3rem;
    border: 1px solid #4646463b;

    transition: .3s;
}

.cardbox:hover {
    border: 1px solid #7c0e38c0;
    box-shadow: 3px 2px 20px rgb(0 0 0 / 7%);
}

.normcard .cardbox {
    height: 100%;
}

.cardlist .cardbox .cardimg {
    border-radius: .3rem;
    overflow: hidden;

}

.normcard .cardbox .cardimg {
    max-height: 100%;
}

/* .cardlist .cardbox:hover .cardimg{
	transform: scale(1.025);
	-webkit-transform: scale(1.025);
} */

.cardlist .cardbox .cardcont {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    padding-bottom: 26px;
    position: relative;
    width: 100%;
}

.cardlist .cardbox .cardcont h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    text-align: center;
    color: #7f0d39;
    font-weight: 500;
}

.cardlist .cardbox .cardcont p {
    font-size: .875rem;
    margin-bottom: 0;
    /* color: #666; */
    text-align: center;
    line-height: 1.4;
}

.cardbox a {
    background: #ffd8f2;
    color: #7d0e39;
    height: 35px;
    width: 130px;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0px;
    transition: 0.3s;
    /* gap: 6px; */
    font-size: .85rem;
}

.cardbox a:hover {
    background-color: #a44785;
    color: white;
}


.cardlist .cardbox .cardcont button {
    margin-top: 10px;
    border: none;
    background-color: transparent;
    color: #ff5722;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-family: unset;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

.cardlist .cardbox .cardcont button:hover {
    color: #c93203;
}

.cardlist .cardbox .cardcont button i {
    font-size: .875rem;
    margin-left: 5px;
}

.cardlist .cardbox .cardcont .rankbtn {
    font-size: .875rem;
    background-color: #a54786;
    color: #fff;
    display: flex;
    padding: 6px 15px;
    position: absolute;
    z-index: 1;
    top: -30px;
    border-radius: 0 0 0.3rem 0.3rem;
    /* display: flex; */
    width: 100%;
    /* text-align: center; */
    justify-content: center;
}

@media(max-width: 1200px) {
    .cardlist .cardcol {
        flex: 1 0 33.333%;
        max-width: 33.333%;
    }
}

@media(max-width: 860px) {
    .cardlist .cardcol {
        flex: 1 0 50%;
        max-width: 50%;
    }
}

@media(max-width: 767px) {
    .cardlist .cardcol {
        flex: 1 0 33.333%;
        max-width: 33.333%;
    }

    .cardlist .cardbox .cardcont .rankbtn {
        padding: 3px 10px;
        top: -20px;
    }
}

@media(max-width: 480px) {
    .cardlist {
        margin: -6px;
    }

    .cardlist .cardcol {
        flex: 1 0 50%;
        max-width: 50%;
        padding: 6px;
    }

    .cardlist .cardbox {
        padding: 6px;
    }

    .cardlist .cardbox .cardcont button {
        font-size: .875rem;
    }
}

@media (min-width: 576px) {
    .faculty-modal .modal-dialog {
        max-width: 1000px;
        margin: 5rem auto;
    }
}

.faculty-modal .close {
    position: absolute;
    right: -18px;
    top: -18px;
    background: linear-gradient(90deg, rgb(193 0 73) 0%, rgb(253 108 163) 100%);
    font-size: 1.5rem;
    color: white;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    cursor: pointer;
}

.faculty-modal .modal-content {
    border: none;
}

.faculty-modal .modal {
    background: #0000008a;
}

.faculty-modal img {
    border-radius: .3rem;
}

/* .faculty-modal a{
	background-color: #a54786;
    color: white;
    padding: 5px 10px;
    font-size: .8rem;
	margin-top: 10px;
} */
.faculty-modal .fac-head {
    margin: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    border-bottom: 1px dashed #9c427e45;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.j-center {
    display: flex;
    justify-content: center;
}

.faculty-modal h4 {
    font-size: 1.3rem;
    margin-bottom: 3px;
    text-align: center;
    color: #7f0d39;
    font-weight: 500;
}

.profile-left p i {
    color: #7f0d39;
}

.profile-left p {
    gap: 8px;
    display: flex;
    align-items: center;
    color: #000000;
}

.profile-left {
    overflow: hidden;
    overflow-y: auto;
    max-height: 500px;
    padding-right: 10px;
}

.profile-left::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.profile-left::-webkit-scrollbar-track {
    background: #e8e8e8;
    border-radius: .3rem;
    margin-left: 5px;
}

/* Handle */
.profile-left::-webkit-scrollbar-thumb {
    background: #afafaf;
    border-radius: .3rem;
}

.card-pop-con {
    text-align: center;
    line-height: 1;
    padding: 13px 0;
}

.card-pop-con i {
    color: #7f0d39;
}

.card-pop-con p {
    font-size: .9rem !important;
}



.box {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 25px 0;
    border-radius: 0.3rem;
    border: 1px solid #4646463b;
    transition: .3s;
}

.box:hover {
    border: 1px solid #7c0e38c0;
    box-shadow: 3px 2px 20px rgb(0 0 0 / 7%);
}

.course-btn {
    display: flex;
    gap: 5px;
}

.course-bx span {
    font-size: 2rem;
    color: #c10049;
}



.gallery-list {
    display: flex;
    flex-flow: wrap;
    margin: -10px;
}

.gallery-list li {
    flex: 1 0 25%;
    max-width: 25%;
    padding: 10px;
}


.gallery {
    position: relative;
    height: 100%;
    display: flex;
}


.gallery .gallery-overlay {
    background: rgb(0 0 0 / 28%);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: .3rem;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.gallery:hover .gallery-overlay {
    opacity: 1;
}

.gallery .fa-magnifying-glass {
    font-size: 1.5rem;
    color: white;
}

.gallery-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.gallery:hover .gallery-details {
    top: 50%;
    left: 50%;
    opacity: 1;
}

/* .fadeIn-bottom{
  top: 80%;
} */
.gallery-image {
    border-radius: 8px;
    box-shadow: 6px 5px 20px #00000011;
}

.gallery p {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    background: linear-gradient(90deg, #7c0e39 0%, #c10049 100%);
    width: 100%;
    /* overflow: hidden; */
    border-radius: 0 0 0.3rem 0.3rem;
    padding: 5px 8px;
    font-size: .857rem;
    color: white;
}

.gallery-list li a{
    max-height: 180px;
}


.bg-video {

    height: 140px;
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 0.3rem;
}

.bg-video:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #00000052;
    border-radius: .3rem;
}


.play {
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 60px;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #840c3a;
}

.play-blink {
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.link-color {
    color: rgb(161 0 30);
    transition: .3s;
}

.link-color:hover {
    color: #f10b36;
}

.contact-main {
    text-align: center;
}


.contact {
    padding: 20px;
    background: #a907440f;
    border-radius: 0.3rem;
}

.myform input,
.myform textarea {
    width: 100%;
    border: none;
    padding: 10px;
    font-size: .85rem;
    border-radius: 0.3rem;
    margin-bottom: 10px;
    transition: .3s;
}

.myform input:focus,
.myform textarea:focus {
    box-shadow: 0px 0px 9px 2px #c1004a1f;
    outline: none;
}

.contact-details {
    display: flex;
    gap: 10px;
}

.contact-img {
    width: 20px;
}

.contact-img img {
    width: 18px;
}

.contact-con {
    width: calc(100% - 20px);
}

.contact-con p,
.contact-con a {
    font-size: .9rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-con h5 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1px;
}


.inlist {
    display: flex;
    flex-flow: column;
    color: #666;
    line-height: 1.8;
}

.inlist li {
    position: relative;
    padding-left: 35px;
}

.inlist li:before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    position: absolute;
    left: 17px;
    color: #c10049;
    font-size: .875rem;
    margin-top: 2px;
}

.textcontent {
    text-align: justify;
    color: #666;
    line-height: 1.6;
    font-size: .875rem;
    margin-bottom: 1rem;
}

.profile-img {
    float: left;
    margin-right: 10px;
    border-radius: 0.3rem;
}

.prnss-name {
    color: #7f0e3a;
    font-weight: 500;
}

.princi-img {
    float: left;
    margin-right: 10px;
    border-radius: 0.3rem;
    width: 300px;
    margin-bottom: 10px;
}
.banner h5{
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}
.add thead th{
    vertical-align: middle !important;
}

.newtable {
    color: #666;
    width: 100%;
    margin-bottom: 1rem;
    border-spacing: 0;
    border-collapse: collapse;
    border-radius: 0.3rem;
    overflow: hidden;
}
.newtable thead th{
        font-weight: 600;
        color: #fff;
        background-color: #c10049;
}
.newtable td, .newtable th {
    border: 1px solid #0000002e !important;
    padding: 10px;
}



@media(max-width:1199px){
    .gallery-list li {
    flex: 1 0 33.333%;
    max-width: 33.333%;
    padding: 10px;
}
}

@media(max-width:575px){
    .profile-img {
    width: 500px;
    padding-bottom: 10px;
}
.princi-img {
    width: 500px;
}
.gallery-list li {
    flex: 1 0 50%;
    max-width: 50%;
    padding: 10px;
}
}

@media(max-width:425px){

.gallery-list li {
    flex: 1 0 100%;
    max-width: 100%;
    padding: 10px;
}
}

















