/*=================all font-size==============*/
* {
    font-size: 100%;
}

/*=================Customize Bootstrap==============*/
.container {
    max-width: 1350px;
    width: 90%;
}

.bg-img {
    overflow: hidden;
    width: 100%;
    background-position: center;
    background-size: cover;
}

.text-danger {
    color: #a72c29 !important;
}
a:hover{
    text-decoration:none;
}
.one-line{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
/*=================Header==============*/

#top-header .top-left,
#top-header .search {
    padding: 20px 0;
}

#top-header .input-group {
    padding: 26px 0;
    width: 60%;
    float: right;
}
span.label-socail {
    padding-left: 5%;
    text-transform: uppercase;
}
span.social img {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
}

.search .form-control {
    width: 60%;
    position: relative;
    right: -36%;
    top: 18px;
}

.input-group > .form-control {
    /* color: #fff; */
    background-color: #a72c29;
}

span#basic-text1 {
    color: #fff;
    background-color: #a72c29;
}

.logo {
    padding: 1%;
}

.logo .nitep-logo {
    max-width: 220px;
    min-width: 140px;
}

div#top-logo {
    background-image: url("../image/ocu-head.png");
    max-width: 1536px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.nitep-top-title {
    text-shadow: 5px 5px 10px white, -5px -5px 10px white;
}


/*======================Main menu====================*/
div#navbarSupportedContent {
    background-color: #a72c29;
}
.navbar-light .navbar-toggler{
    margin-bottom: 10px;
}
.navbar-expand-lg {
    padding: 5px 0;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff;
}

.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 500;
    /*font-size: 110%;*/
}

.navbar-light .navbar-nav .active > .nav-link {
    font-weight: 800;
    color: #ffffff;
}

li.nav-item {
    margin-top: -20px;
}

li.nav-item:before {
    content: '|';
    left: 50%;
    position: relative;
    top: 30px;
    opacity: 1;
    color: #ffffff;
}

li.nav-item:last-child:before {
    content: '  |';
    opacity: 0;
}

/*== dropdown ==*/
.dropdown-menu {
    background-color: #a72c29;
}

.dropdown-item {
    /*font-size: 110%;*/
    background-color: #a72c29;
}
.dropdown-item:hover {
    background-color: #c33631;
}

.dropdown-item, .dropdown-item:hover {
    color: #ffffff;
}


/*===================Footer===============*/
#footer {
    padding: 20px 0;
    background-color: #5d5d5d;
}

.content-footer {
    width: 100%;
}

.content-footer .logo-img {
    width: 30%;
    float: left;
}

.content-footer .foot-text {
    width: 70%;
    float: right;
}

.logo-img img {
    width: 85%;
}

.foot-title h5 {
    color: #ffffff;
}

.content-footer .foot-text p {
    font-size: 15px;
    color: #ffffff;
}
/*=================================================================
   Home-page
=================================================================*/
#carouselExampleIndicators {
    max-width: 1536px;
    max-height: 550px;
    margin: 0 auto;
}
#sec-1 .image{
    height: 400px;
}
#sec-2{
    background-color: #a82d2929;
}
#sec-2 h4.head {
    text-transform: uppercase;
    color: #e90556;
    font-size: 20px;
    padding: 10px 0;
}
#sec-2 li.item-post{
    position: relative;
}
#sec-2 .image{
    height: 50px;
    margin: 10px 0 ;
}
#sec-2 .image-1{
    height: 250px;
    margin-bottom: 30px;
}
#sec-2 .title-main-post h4 {
    font-size: 24px;
}
#sec-2 .info-main .label {
    text-transform: uppercase;
    font-weight: 600;
}
#sec-2 .info-main .link-post a{
    color: #000000;
}
.dec-main-post p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
.read-more a{
    color: red;
}
#sec-2 .main-post {
    padding-top:  30px;
}
#sec-2 .content-post {
    width: 83%;
    height: 95px;
    background-color: #ffffffd6;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 3px;
    position: relative;
    left: 50px;
}
#sec-2 .post-info {
    color: #000;
    width: 70%;
    float: right;
    text-align: right;
}
#sec-2 .post-info span.cate-post,
#sec-2 .post-info h5.title-post,
#sec-2 .post-info  p.body-post,
#sec-2 .info-main .link-post a
{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
#sec-2 .post-info span.cate-post{
    color: #e90556;
    text-transform: uppercase;
    line-height: 20px;
}
#sec-2 .row.latest-post {
    padding: 4% 0 0 0;
}

#sec-2 .row.latest-news {
    margin-bottom: 15px;
}

#sec-2 .latest-news .list-group-item {
    background: none;
}

#sec-2 .post-info h5.title-post {
    margin-bottom: 10px;
    color: black;
    text-transform: uppercase;
}
#sec-2 .bg-img.image {
    width: 30%;
    float: left;
}
#sec-2 .num-post{
    height: 80px;
    width: 60px;
    background-color: #ffffffd6;
    position: absolute;
    font-size: 26px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    top: 0;
}

#sec-2 .num-post .num{
    padding: 0 5px 0 10px;
    border-right: 1px solid #e90556;
    color: #e90556;
    position: relative;
    top: 20px;
}
#sec-2 .content-post.see-all {
    height: 60px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    background-color: #a31414 !important;
    text-align: center;
    font-size: 22px;
    line-height: 35px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}
#sec-3 .card{
    overflow: hidden;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
#sec-3 .card-head {
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 30px 0;
}
#sec-3 span.head-1 {
    color: #a31414;
    padding-right: 10px;

}
#sec-3 .card.left .card-head{
    background-color: #f1f2f2;
}
#sec-3 .card.right .card-head{
    background-color: #939393;
}
#sec-3 .card.left .card-body{
    background-color: #939393;
    color: #ffffff;
}
#sec-3 .card.right .card-body{
    background-color: #f1f2f2;
}
.row-flex{
    display:flex;
    flex-wrap: wrap;
}
.equal-height{
    height: 100%;
}
#home section#sec-3 {
    padding: 2% 0;
}

.event a {
    color: inherit;
}
 /*=================================================================
       ABOUT-US
    =================================================================*/
#about,#contact-us {
    padding-bottom: 4%;
}

#about .image {
    height: 265px;
    margin: 20px 0;
}

#about ul.left-sidebar,
#sec-2 ul.left-post{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.title h2 {
    text-transform: uppercase;
    color: #a72c29;
    font-weight: 700;
    margin-bottom: 20px;
}

.image {
    height: 265px;
    margin: 20px 0;
}

ul.sidebar {
    padding: 0;
    list-style: none;
}

ul.sidebar li.item-left {
    position: relative;
}

ul.sidebar li.item-left a {
    text-decoration: none;
}

ul.sidebar li.item-left a .label {
    border-radius: 12px;
    padding: 10px 10px 10px 60px;
    height: 120px;
    width: 100%;
    position: relative;
    background-color: #e6e7e8;
    margin-bottom: 10px;
}

ul.sidebar li.item-left a .label span.text-label {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    color: #5d5d5d;
    line-height: 24px;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    top: 14px;
}

ul.sidebar li.item-left a .num {
    border-radius: 12px;
    top: 0;
    color: #ffffff;
    font-size: 24px;
    padding-left: 10px;
    position: absolute;
    font-weight: 500;
    height: 120px;
    width: 70px;
    background-color: #a72c29;
    clip-path: polygon(0 0, 85% 0, 31% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 0, 85% 0, 31% 100%, 0% 100%);
}

/*=================================================================
   Contact-US
=================================================================*/
#contact-us .image {
    height: 220px;
}

ul.list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.list li i.far {
    padding-right: 10px;
    color: #a72c29;
}

.icon-info {
    margin-right: 20px;
    color: #a72c29;
    font-size: 22px;
}

.text h5 {
    line-height: 47px;
    margin: 0;
}

.contact-info {
    margin-bottom: 20px;
}

.text.one-line {
    line-height: 36px;
}

.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}

/*=================================================================
Graduate Degree Program
=================================================================*/
span.label-no-num {
    left: 16px;
}

.top-9 {
    top: 9px !important;
}
/*=================================================================
Related Program page
=================================================================*/

#related-pro .content-text {
    display: inline-block;
    width: 100%;
    margin-bottom:10px ;

}
#related-pro  img.icon{
    float: left;
    margin-right: 10px;
    width: 100px;


}
#related-pro .content-text h5.text-title{
    display: flex;
    align-items: center;
    height: 100px;
    margin: 0;
}
#relate-pro .content-program {
    display: flex;
    align-items: center;
    height: 100px;
    margin: 0;
}
/*=================================================================
Faculty page
=================================================================*/
.bg-color-1{
    background: rgb(237,237,237);
    background: linear-gradient(90deg, rgba(231,231,231,1) 42%, rgba(255,255,255,1) 70%);
}
.bg-color-2{
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 42%, rgba(231,231,231,1) 70%);
}
#faculty .content-text {
    border: 12px solid #ededed;
    border-radius: 15px;
    padding: 5px;
}
#faculty  .content-text  h4.title{
font-weight: 700;
}

#faculty .content-text p {
    margin-bottom: 0.5em;
}

#faculty .content-text dl {
    margin-bottom: 0.5em;
}
/*=================================================================
   workshop LECTURES1
=================================================================*/
.workshop-lecture .background-color {
    background-color: #fff0f0;
}

.workshop-lecture {
    font-size: 100%;
}
.workshop-lecture .row {
    padding: 15px 5px;
}
/*=================================================================
  Research-areas page
=================================================================*/
#research-areas .content.team {
    margin-bottom: 15px;
}
#research-areas .image{
    height: 250px;
    margin: 0;
}
#research-areas .body-text {
    color: #ffffff;
    background-color: #a72c29;
    padding: 5px;
}
#research-areas  h5.name,
#research-areas p.position{
    margin: 0;
}
#research-areas .content-sub .content-body {
    clear: both;
    margin-top: 20px;
}
#research-areas .content-sub img.content-img {
    float: left;
    display: inline-block;
    width: 125px;
    padding-right: 10px;
    padding-top: 15px;
}
#research-areas .content-sub p.text-body{
    padding-top: 15px;
}
/*=================================================================
               Department-History
=================================================================*/
#department-his{
    background-image: url("../image/bg-his.jpg");
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#department-his .title-his h5{
    font-weight: 700;
    padding-top: 20px;
    font-size: 26px;
    font-family: 'Alte Schwabacher';
}

#department-his .text-body p {
    font-weight: 700;
}
#department-his .text-body strong{
    font-size: 18px;
}
.text-body-center{
    display: flex;
    align-items: center;
    height: 270px;
}

.his-img{
    padding: 10px 0;
}
/*=================================================================
                Responsive
=================================================================*/
@media (max-width: 1200px) {
    .navbar-expand-lg {
        padding: 15px;
    }

    #home #sec-2 .content-post.see-all{
        font-size: 18px;
    }
    #contact-us .image {
        height: 166px;
    }
    #home #sec-2 .image-1 {
        height: 240px;
        margin-bottom: 30px;
    }
    #home #sec-2 .post-info{
        width: 65%;
    }

    #home #sec-2 .bg-img.image {
        width: 35%;

    }
}

/*===============Screen 992px====================*/
@media (max-width: 992px) {
    #home #sec-2 .content-post{
        width: 95%;
        height: 120px;
    }
    #sec-2 .image {
        height: 100px;
        margin: 0;
    }
    #research-areas .image {
        height: 400px;
        margin: 0;
    }

}

/*===============Screen 767px====================*/
@media (max-width: 767px) {
   #top-header .top-left
    {
       text-align: center;
       padding: 0;
    }
    span.label-socail {
        padding-left: 0;
    }

    #top-header .top-right{
        display: flex;
        justify-content: center;
        padding: 0;
    }
    #home #sec-2 .content-post{
        width: 90%;
    }
    #home #sec-2 .main-post{
        padding-top: 0;
    }
    #home #sec-2 .image-1 {
        height: 300px;
    }
    #contact-us .contact-info {
        margin-bottom: 0;
    }
    ul.sidebar li.item-left a .label{
        font-size: 12px;
        height: 120px;
        top: 14px;
    }
    ul.sidebar li.item-left a .label span.text-label{
        top: 14px;
        font-weight: 500;
        font-size: 18px;
        line-height: 22px;
    }
    ul.sidebar li.item-left a .num{
        font-size: 22px;
        height: 120px;
        top: 14px;
    }
    #research-areas .image {
        height: 300px;
    }
    #related-pro img.icon{
        width: 80px;
    }
    #related-pro .content-text h5.text-title{
        height: 80px;
    }
}

/*===============Screen 576px====================*/
@media (max-width: 576px) {
    #top-header .top-right .input-group{
        width: 100%;
    }
    #home #sec-2 .image-1 {
        height: 250px;
        margin-bottom: 0;
    }
    #home  #sec-2 .main-post {
        padding-bottom: 0;
    }

    #contact-us .image {
        height: 245px;
    }
    .title h2 {
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 20px;
    }

    .content-footer {
        width: 100%;
    }
    .content-footer .foot-text {
        width: 100%;
        float: none;
    }
    .content-footer .logo-img {
        width: 85%;
        height: 100px;
        margin: 0 auto;
        text-align: center;
        float: none;
    }
    #research-areas .image {
        height: 400px;
    }
}

/*===============Screen 480px====================*/
@media (max-width: 480px) {
    #home #sec-2 .content-post {
        width: 87%;
    }
    #home #sec-2 .content-post {
        height: 100px;
    }
    #home #sec-2 .image {
        height: 80px;
    }
    .content-footer .logo-img {
        height: 85px;
    }
    #research-areas .image {
        height: 360px;
    }

}

/*===============Screen 320px====================*/
@media (max-width: 320px) {
    #contact-us .image {
        height: 125px;
    }
    .content-footer .logo-img {
        height: 60px;
    }
    #research-areas .image {
        height: 230px;
    }
}




/*===============bootstrap style callout for title====================*/
.bd-callout {
    padding: 1.0rem;
    margin-top: 1.0rem;
    margin-bottom: 1.0rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem
}

.bd-callout h4 {
    margin-top: 0;
    margin-bottom: .25rem
}

.bd-callout p:last-child {
    margin-bottom: 0
}

.bd-callout code {
    border-radius: .25rem
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

.bd-callout-info {
    border-left-color: #5bc0de
}

.bd-callout-info h4 {
    color: #5bc0de
}

.bd-callout-warning {
    border-left-color: #f0ad4e
}

.bd-callout-warning h4 {
    color: #f0ad4e
}

.bd-callout-danger {
    border-left-color: #d9534f
}

.bd-callout-danger h4 {
    color: #d9534f
}

.bd-callout-nitep {
    border-left-color: #a72c29;
}

.bd-callout-nitep h4 {
    color: #a72c29;
}
