/* Website: Dignity College

Author: Weberge by ipsr 

Subpage.css*/



/********** CSS **********/

:root {

    --primary: #0E6DAD;

    --secondary: #04724D;

    --dark: #222222;

    --light:#4B4C4C;

    --light1: #808080;

    --bg-light: #F4F5F9;

}

/********************************* Sub Page - Header ************************************/

.subpage-header{

    position: relative;

    color: var(--dark);

}

.subpage-header .custom-nav a{

    color: var(--dark) !important;

}

.subpage-header .contact-top a{

    color: var(--dark) !important;

}

.subpage-header .contact-top i{

    color: var(--primary) !important;

}



/********************************* Sub Page ************************************/

.subpage-banner{

    height: 280px;

    background-repeat: no-repeat;

    background-size: cover;

    position: relative;

    display: flex;

    align-items: center;

    background-position: center;

    object-fit: cover;

    /* z-index: 99; */

}

.subpage-banner::before {

    /* background: rgba(12, 78, 159, 0.85);

    background-repeat: no-repeat;

    content: '';

    display: block;

    position: absolute;

    width: 100%;

    height: 100%;

    bottom: 0; */

}

.subpage-banner::after {

}



.sub-banner-content{

    color: var(--dark);

    z-index: 99;

}

.sub-banner-content h2{

    font-weight: 600;

    color: white;

    font-size: 30px;

}

.sub-page-content-area{

    margin-bottom: 50px;

}

.faculty-content-area{

    margin-top: 20px;
    margin-bottom: 50px;
    text-align: justify;

}

.sub-page-content p{

    margin-bottom: 30px;
/* 
    text-align: justify; */

}

/* ------------- Breadcrumbs ------------- */



.breadcrumbs{

    /* justify-content: center; */

    display: flex;

}

.breadcrumbs ul{

    /* background-color: white;

    border-radius: 20px; */

}

.breadcrumbs ul li{

    color: white;

    font-size: 16px;

    font-weight: 600;

    position: relative;

    padding: 0px 33px;

}

.breadcrumbs ul li::before{

    content: '\f054' !important;

    font-family: "fontAwesome";

    font-size: 15px;

    position: absolute;

    left: -20px;

    top: 1px;

    color: white !important; 

     opacity: 0.7;



        /* position: absolute;

        background-position: left;

        left: 0;

        bottom: 9px;

        left: -22px;

        opacity: 0.6;

        content: '' !important;

        width: 15px;

        height: 15px;

        border-radius: 0 15px 0 0;

        background: var(--secondary); */



}

.breadcrumbs ul li:first-child{

    padding-left: 0;

}

.breadcrumbs ul li:last-child{

    padding-left: 0;

}

.breadcrumbs ul li:first-child::before{

    content: none !important;



}

.breadcrumbs ul li a{

    color: white;

    font-size: 16px;

    font-weight: 600;

    opacity: 0.7;

}

.breadcrumbs ul li a:hover{

    color: var(--secondary);

}



/* ------------- Content ------------- */



.sub-page-content{

    padding: 60px 0px;

    position: relative;

}

.sub-page-content::before{

    background-image: url(../img/grade.gif);

    background-repeat: no-repeat;

    background-size: cover;

    position: absolute;

    left: 0;

    top: 20px;

    opacity: 0.5;

    content: '';

    height: 115px;

    width: 115px;

}

.sub-page-content::after{

    background-image: url(../img/board.gif);

    background-repeat: no-repeat;

    background-size: cover;

    position: absolute;

    right: 35px;

    bottom: 0px;

    opacity: 0.5;

    content: '';

    height: 115px;

    width: 115px;

}

.sub-page-content img{

    object-fit: cover;


}





/* ------------- Divider ------------- */



.divider{

    border-bottom: 1px solid #ccc;

    margin: 40px 0px;

}

/* ------------- List ------------- */



ul.vision-sub{

    padding-left: 0px;

    position: relative;

}

ul.vision-sub li{

    list-style: none;

    padding: 5px 0px;

    color: var(--dark);

    padding-left: 40px;

     line-height: 26px;

}



ul.vision-sub li::before {

    position: absolute;

    left: 0;

    font-family: "Font Awesome 5 Free";

    content: "\f138";

    display: inline-block;

    padding-right: 3px;

    vertical-align: middle;

    font-size: 18px;

    font-weight: 900;

    color: var(--primary);

}

/* ------------- Table ------------- */



table{

    margin-bottom: 20px;

}

table, th, td{

    border: 1px solid var(--primary);

    padding: 7px 5px;

    

}

th{

    background: var(--primary);

    color: white;

    font-weight: 500;

}

td{

    padding: 7px 5px;

    color: var(--dark_blue);

}

/* ------------- Accordion ------------- */

 .accordion {

    background-color: var(--primary);

    color: white;

    cursor: pointer;

    padding: 18px;

    width: 100%;

    border: none;

    text-align: left;

    outline: none;

    font-size: 18px;

    transition: all .4s;

    margin-bottom: 5px;

    text-transform: capitalize;

  }

  

.accordion.active, .accordion:hover {

    background-color: var(--secondary); 

}

  

.panel {

    padding: 10px 5px;

    display: none;

    background-color: white;

    overflow: hidden;

    /* transition: all .4s; */

    

    max-height: 0;

    transition: max-height 0.3s ease; 



}

.accordion.active + .panel {

    display: block;

    max-height: 500px; /* Adjust the max-height as needed */

}

  button.accordion:after {

    content: '\002B';

    color: white;

    font-weight: bold;

    float: right;

    margin-left: 5px;

}

button.accordion.active, button.accordion:hover {

    background-color: var(--secondary); 

}

button.accordion.active:after {

    content: "\2212";

} 

/*-----*/

/* ------------- Dept head------------- */





/* ------------- Side menu ------------- */



.quick-links-sub{

    /* padding: 30px 30px; */

    /* background: var(--bg-light); */

    height: auto;

    margin-bottom: 30px;

}

.quick-links-sub-title {

    background: var(--primary);

    color: white;

    padding: 20px 30px;

    border-radius: 10px 10px 0 0;

}

.quick-links-sub h2{

    border-bottom: none;

}

.quick-links-sub h2 span{

    color: white;

}

.quick-links-sub ul{

    padding-left: 0px;

    margin-bottom: 0px;



}



.quick-links-sub li{

    background-color: var(--secondary);

    /* border-bottom: 1px solid #ccccccc9; */

    padding: 20px 20px;

    list-style: none;

    margin-bottom: 5px;

    border-radius: 10px;

    position: relative;



    transition: all 0.3s ease-in-out;

    -webkit-transition: all 0.3s ease-in-out;

    -moz-transition: all 0.3s ease-in-out;

    -ms-transition: all 0.3s ease-in-out;

    -o-transition: all 0.3s ease-in-out;

}

.quick-links-sub li::before{

    /* position: absolute;

    background-position: left;

    left: 0;

    bottom: 9px;

    left: -22px;

    opacity: 0.6;

    content: '' !important;

    width: 15px;

    height: 15px;

    border-radius: 0 15px 0 0;

    background: var(--secondary); */



    /* background-image: url(../img/pencil3.png);

    background-repeat: no-repeat;

    background-size: cover;

    position: absolute;

    left: 20px;

    top: 15px;

    content: '';

    height: 30px;

    width: 30px; */

}

.quick-links-sub li:hover{

    padding: 20px 30px;

}

.quick-links-sub li:hover a{

    color: white;

}

.quick-links-sub li:last-child{

    border-bottom: none;

}

.quick-links-sub li a{

    color: white;

    /* color: white; */

    font-weight: 700;

}

.quick-links-sub li a:hover{

    color: white;

    /* opacity: 0.8; */

}

.quick-links-sub ul li.active{

    /* background-color: rgba(255, 255, 255, 13%); */

    background-color: var(--primary);

}

.quick-links-sub ul li.active a{

    color: white;

    /* font-weight: 500; */

}

/* ------------- Contact form ------------- */

.contact-page{



}

.contact-details{

    margin-bottom: 40px;

}

.contact-page h5{

    font-size: 28px;

    font-weight: 600;

}

.contact-page p{

    margin-bottom: 5px;

}

.contact-details a{

    color: var(--light);

}

.contact-details a:hover{

    color: var(--secondary);

}

.contact-page .contact-icon{

    border: 1px solid var(--secondary);

    width: 80px;

    height: 80px;

    border-radius: 100px;

    justify-content: center;

    display: flex;

    align-items: center;

    margin: 0 auto;

    margin-bottom: 20px;

}

.contact-page .contact-icon img{

    height: 40px;

    width: auto;

    object-fit: cover;

    border-radius: 0;

    margin: 0;

}

.contact-sub-form::after{

    /* display: none; */

}

.contact-sub-form{

    /* background-color: var(--bg-light); */

}

.contact-form{

    padding: 30px;

    border-radius: 5px;

    margin-bottom: 30px;

}

.contact-sub input[type=text], .contact-sub textarea {

    width: 100%; 

    padding: 12px 20px;

    /* margin: 8px 0; */

    /* display: inline-block; */

    border: 1px solid #ccc !important;

    border-radius: 8px;

    box-sizing: border-box;

    height: 50px;

    z-index: 99;

    margin-bottom: 15px;

}

.contact-sub input[type=submit] {

    background-color: var(--primary);

    color: white;

    padding: 12px 20px;

    margin: 0px 5px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    height: 50px;

    z-index: 99;

    text-transform: capitalize;

    margin: 7px 0px;

}

.contact-sub input[type=submit]:hover{

    background: var(--secondary);

}



.contact-sub input[type=text]:focus{

    border: none !important;

    outline: none !important;

}

.contact-sub input[type=text],.contact-sub input[type=tel], .contact-sub input[type=email], .contact-sub textarea  {

    width: 100%; 

    padding: 12px 20px;

    /* margin: 8px 0; */

    /* display: inline-block; */

    border: 1px solid #ccc !important;

    border-radius: 5px;

    box-sizing: border-box;

    height: 50px;

    z-index: 99;

    margin-bottom: 15px;

}

/* .contact-sub input[type=submit] {

    background-color: var(--secondary);

    color: white;

    padding: 12px 20px;

    margin: 0px 5px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    height: 50px;

    z-index: 99;

    text-transform: capitalize;

    margin: 7px 0px;

    float: left;

} */

.contact-sub input[type=submit]:hover{

    background: var(--primary);

}



.contact-sub input[type=text]:focus{

    border: none !important;

}



.address-sub{

    padding: 20px 5px;

    margin-bottom: 20px;

    text-align: center;

    min-height: 190px;

    border-radius: 5px;

}

.connect{

    padding: 0px 15px;

}

.address-sub i{

    color: var(--primary);

    /* background: #F6F6F6;

    border-radius: 50%;

    height: 35px;

    width: 35px; */

    text-align: center;

    /* align-items: center;

    justify-content: center;

    display: flex; */



    margin: 0 auto;

    display: block;

    font-size: 25px;

    margin-bottom: 10px;

}

.address-sub p{

    margin-bottom: 0px;

    font-size: 15px;

    line-height: 24px;

}

.address-sub a{

    margin-top: 7px;

    font-weight: 400;

    color: var(--dark);

    font-size: 15px;



}

.address-sub a:hover{

    color: var(--primary);

}

.address-sub h4{

    font-size: 22px;

}

.connect p span{

    /* color: var(--light); */

    font-weight: 400;

}

.contact-sub-form{

    /* padding: 50px 0px; */

}

.contact-top-sub{

    background: var(--primary);

    color: white;

}

.address-sub ul{

    padding: 0;

}

.address-sub ul li{

    list-style: none;

    line-height: 30px;

}

.contact-sub input:focus,

.contact-sub textarea:focus {

    border: none; /* Remove border on focus */

    /* You can also adjust other border properties here */

    outline: none !important;

}

.form-control:focus {

    color: #212529;

    background-color: #fff;

    border: 1px solid #ccc !important;

    outline: 0;

    /* box-shadow: none !important; */

}

.map-main{

    /* padding: 0px; */

    background: white;

    position: relative;

    z-index: 99;

}

.map-main p{

    margin-bottom: 30px;

}

.map-main h4{

    font-size: 24px;

    font-weight: 600;

    margin-bottom: 10px;

}



.contact-sub-form h4{

    font-size: 30px;

    font-weight: 500;

    margin-bottom: 10px;

}

/* ------------- Department ------------- */

.dept{

    /* box-shadow: 0px 10px 50px 0px rgba(26, 46, 85, 0.1); */

    /* padding: 20px 10px; */

    text-align: center;

    cursor: pointer;

    margin-bottom: 25px;

    position: relative;

    justify-content: center;

    display: flex;

}

.dept h5{

    font-size: 20px;

    font-weight: 600;

}

.dept img{

    /* width: 250px !important; */

    height: 250px !important;

    margin: 0 auto;

    display: block;

    margin-bottom: 20px;



    /* height: 390px; */

    background-size: cover;

    background-position: center;

    object-fit: cover;

}

.dept-name {

    position: absolute;

    background: white;

    bottom: 25px;

    width: 95%;

    padding: 15px;

    color: var(--dark);

    transition: all 0.3s ease-in-out;

    -webkit-transition: all 0.3s ease-in-out;

    -moz-transition: all 0.3s ease-in-out;

    -ms-transition: all 0.3s ease-in-out;

    -o-transition: all 0.3s ease-in-out;

}

.dept-name:hover {

    background-color: var(--secondary);

    color: white !important;

    cursor: pointer;

}

.dept h6{

    background: var(--bg-light);

    font-size: 13px;

    padding: 3px 14px;

    margin-right: 10px;

    border-radius: 7px;

    color: white;

}

.dept-head{

    padding: 30px;

    text-align: center;

    margin-bottom: 30px;

    box-shadow: 0px 10px 50px 0px rgba(26, 46, 85, 0.1);

}

.dept-head img{

    height: 250px;

    width: 250px;

    object-fit: cover;

    /* border-radius: 50%; */

    margin: 0 auto;

    display: block;

    margin-bottom: 30px;

    max-width: 250px;

}

.border{

    border-bottom: 1px solid #cccccc1a !important;

    margin: 15px 0px;

}

.dept-head h3{

    font-size: 20px;

}

.dept-head h5, .dept-head h6{

    color: var(--grey1);

}



.dept-head h4{

    font-weight: 700;

    margin-bottom: 10px;

    font-size: 19px;

    color: var(--primary);

}

.dept-head h5{

    font-weight: 500;

    font-size: 17px;

}

.dept-head a{

    font-size: 17px;

    font-weight: 600;

}

.dept-head a:hover{

    color: var(--secondary);

}

.dept-head h6{

   font-weight: 500;

   font-size: 17px;

   /* word-break: break-all; */



}

.dept-head h6 span{

    color: var(--dark);

    font-weight: 600;

}



/* ------------- Faculty ------------- */

.faculty1{

    padding: 30px;

    margin-bottom: 30px;

    box-shadow: 0px 10px 50px 0px rgba(26, 46, 85, 0.1);

    text-align: center;

}

.faculty1 img{

    height: 200px;

    width: 180px;

    object-fit: cover;

    margin: 0 auto;

    display: block;

    margin-bottom: 30px;

    max-width: 180px;

}

.border{

    border-bottom: 1px solid #cccccc1a !important;

    margin: 15px 0px;

}

.faculty1 h3{

    font-size: 20px;

}





.faculty1 h4{

    /* font-weight: 700; */

    margin-bottom: 10px;

    font-size: 18px;

    color: var(--primary);

}

.faculty1 h5{

    /* font-weight: 600; */

    font-size: 16px;

}

.faculty1 a{

    font-size: 17px;

    font-weight: 600;

}

.faculty1 a:hover{

    color: var(--secondary);

}

.faculty1 h6{

   font-weight: 500;

   font-size: 15px;

   /* word-break: break-all; */



}

.faculty1 h6 span{

    color: var(--dark);

}

.faculty{

    padding: 20px 15px;

    min-height: 400px;

}

.faculty img{

    /* width: 150px; */

    height: 170px;

    width: auto;

}

.faculty-single ul{

    margin-bottom: 30px;

}
.faculty_single{
    
    max-width: 200px;
}

/* ------------- Blog ------------- */

.blog{

    /* background: white;

    box-shadow: 0px 10px 50px 0px rgba(26, 46, 85, 0.1);

    margin-bottom: 25px; */



        border-radius: 20px;

        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06); */

        background-color: #EAF7FD;

        padding: 20px;

        margin-bottom: 30px;

}

.blog img{

    height: 200px;

    object-fit: cover;

    background-position: center;

    background-size: cover;

    max-width: 100%;

}

.blog-info{

    padding: 20px 10px;

}

.blog h6{

    font-size: 17px;

}

.blog1 img{

    height: auto !important;

}

.blog .read-more:hover{

    color: var(--secondary) !important;

}

/* ------------- Blog details ------------- */

.blog-details{



}

.blog-details img{

    /* max-width: 750px; */

    margin-bottom: 30px;

}

.blog-details h6{

    margin-bottom: 15px;

}

.blog-details1{

    padding-right: 50px;

}

.latest{

    /* box-shadow: 0px 10px 50px 0px rgba(26, 46, 85, 0.1); */

    background-color: white;

}

.latest1{

    background: none;

    box-shadow: 0px 10px 50px 0px rgba(26, 46, 85, 0.1);

    padding: 30px 10px 30px 20px;

    border-radius: 10px;

}

.latest1 h4{

    color: var(--primary);

    font-weight: 500;

}

.latest-news{

    /* padding: 20px 0px 10px; */

    /* margin-bottom: 20px; */

    align-items: center;

    gap: 15px;

}

/* .latest-news img{

    height: 70px;

    width: auto;

    margin: 0px;

    object-fit: cover;

    max-width: 100%;

} */

.latest-news .news-thumb {

    flex-shrink: 0;

}

.latest-news .news-thumb img {

    height: 70px;

    width: 70px;

    object-fit: cover;

    max-width: 100%;

}

.latest-news h5{

    font-size: 18px;

}

.latest-news h6{

    font-size: 15px;

    margin: 0;

}

.latest-news a:hover{

    color: var(--primary) !important;

    letter-spacing: 1px;

}

.latest-news-info{

    padding: 5px 10px;

}

/* ------------- Gallery ------------- */

.grid figure.effect-dexter {

    border: none;

    /* margin: 0px; */

    background: var(--primary) !important;

}

.grid figure.effect-dexter img {

	-webkit-transition: opacity 0.35s;

	transition: opacity 0.35s;

}



.grid figure.effect-dexter:hover img {

	opacity: 0.4;

}

.grid figure.effect-dexter figcaption{

    padding: 40px 30px;

    text-align: center;

    display: flex;

    align-items: center;

    justify-content: center;

}

.grid figure.effect-dexter figcaption::after {

	position: absolute;

	right: 20px;

	bottom: 30px;

	left: 20px;

	height: -webkit-calc(50% - 30px);

	height: calc(50% - 30px);

	border: 7px solid #fff;

	content: '';

	-webkit-transition: -webkit-transform 0.35s;

	transition: transform 0.35s;

	-webkit-transform: translate3d(0,-100%,0);

	transform: translate3d(0,-100%,0);

	display: none;

}



.grid figure.effect-dexter:hover figcaption::after {

	-webkit-transform: translate3d(0,0,0);

	transform: translate3d(0,0,0);

}

.grid figure.effect-dexter h2{

    position: absolute;

    bottom: 90px;

}

.grid figure.effect-dexter p {

    right: 0;

    left: 0;

    bottom: 60px;   

    top: auto;

    text-align: center;

}

/* ------------- 404 ------------- */

.error-page-main{

    border-top: 1px solid #ccc;



}

.error-page{

    /* min-height: 300px; */

    align-items: center;

    justify-content: center;

    /* padding: 0px 0px 50px; */

    display: flex;

}



.error-page h3{

    font-size: 24px;

    color: var(--dark);

}

.error-page img{

    height: 400px;

    width: auto;

    margin: 0 auto;

    display: block;

    /* opacity: 0.8; */

    animation: bounce 5s infinite;

    object-fit: cover;



}

.error1{

    display: flex;

    /* justify-content: center; */

    align-items: center;

    text-align: center;

}

.error-page-content h2{

    font-size: 130px;

    /* font-weight: 900; */

    color: var(--primary);

    line-height: 120px;



}

.error-page-content h3{

    font-size: 26px;

    font-weight: 600;

    color: var(--primary);

}

 /* .vimeo-container {

    position: relative;

    width: 100%;

    padding-bottom: 56.25%; 

    height: 0;

    overflow: hidden;

    }



.vimeo-container iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: none;

} */

@media (max-width: 768px) { 

    .error-page img{

        height: 250px;

    }

    .error-page-content h2{

        font-size: 90px;

        line-height: 90px;

    }

    .error-page-content h3{

        font-size: 23px;

    }

}



@media (max-width: 576px) { 

    .error-page img{

        height: 150px;

    }

    .error-page-content h2{

        font-size: 50px;

        line-height: 50px;

    }

    .error-page-content h3{

        font-size: 18px;

    }

    .error-page-content p{

        display: none;

    }

    

}
/********************************* New Style - (After wp) ************************************/
.wp-block-column{
    padding: 20px;
}
.wp-block-image figure{
    margin: 0 auto;
}
.wp-block-image img{
    height: 150px !important;
}


/*-------------------- Button, Tab, Accordion -----------------*/



.sowb-button{

    background-color: var(--primary)!important;

    border-color: #700025 !important;

}



.sowb-button:hover{

    background-color: var(--secondary)!important;

    border-color: #f8b729 !important;

}



/* Custom styles for SiteOrigin tabs */

.sow-tabs .sow-tabs-tab {

    background-color: var(--primary)!important; /* Background for inactive tabs */

    border-radius: 4px;

    font-weight: 500;

    color: #fff !important

}



.sow-tabs .sow-tabs-tab:hover {

    background-color: var(--secondary)!important; /* Hover effect */

    color: #fff !important;

}



.sow-tabs .sow-tabs-panel {

    padding: 15px;

    background-color: #eeeffa;

    border: 1px solid #ddd;

    border-radius: 5px;

}

.sow-tabs-tab-container {

    background-color: #ffff !important;

}



.sow-tabs .sow-tabs-tab.sow-tabs-tab-selected {

    background-color:var(--secondary)!important; /* Background for active tab */

    color: #fff;

}



/* Custom styles for SiteOrigin Accordion */



.sow-accordion .sow-accordion-panel-header{

    background-color: var(--primary)!important;

}



.sow-accordion .sow-accordion-panel-content {

    padding: 15px;

    background-color: #eeeffa !important;

    border-top: 1px solid #ddd;

}

.sow-accordion .sow-accordion-panel-border{

    background-color: #eeeffa !important;

}



.sow-accordion .sow-accordion-title{

    font-weight: 500;

}

.gallery-outer figure.effect-dexter {

    margin-right: 10px !important;

    margin-bottom: 10px !important;

}

.sow-image-container img {
    max-height: 250px;
    object-fit: contain;
    
}
