/***********************

Author: Vignaruban

File: ruban.css;

Desc: for mahsa.edu.my

Start: 28-June-2018

Modified: 28-June-2018

***********************/



@import url('https://fonts.googleapis.com/css?family=PT+Sans:700');

/*fix for owl carousel images overlapping*/

.about-bg .owl-item {

    padding-right: 5px;

}



/*header dropdown*/
.dropdown {
    position: relative;
}

.dropdown a.nav-drop-main {
    color: #fff !important;
}
.dropdown a.nav-drop-main.activate,
.dropdown a.nav-drop-main:hover {
    /*color: red !important;*/
}
.dropdown .drop {
    position: absolute;
    height: 0;
    /*showhide fit-content !important*/
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s all ease-in-out;
    -webkit-transition: 0.3s all ease-in-out;
    -moz-transition: 0.3s all ease-in-out;    
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    left: 50%;
}
.dropdown .drop ul {
    padding: 0px;
    width: 100% !important;
    list-style: none;
    background-color: #f5f5f5;
}
.dropdown .drop ul li a {
    left: 0;
    position: relative;
    color: #fff !important;
    transition: 0.3s all ease;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
}
.navbar-default .navbar-nav>li ul li {
    margin-bottom: none !important;
    /*border-bottom: 1px solid #d2d2d2;*/
}
.navbar-default .navbar-nav>li ul li a {
    color: #333 !important;
    font: 400 14px 'lato', sans-serif;
    text-transform: capitalize;
    width: 100% !important;
    white-space: nowrap;
    padding: 10px 30px;
    box-shadow: none !important;
    background-color: #f5f5f5;
    border-bottom: 1px solid #d2d2d2;
}
.navbar-default .navbar-nav>li ul li a:hover {
    background-color: #d2d2d2;
}
.navbar-default .navbar-nav>li ul li a:hover {
    color: unset !important;
    box-shadow: unset !important;
}






.owl-carousel .owl-wrapper-outer {

    width: 99%;

}



/*end header dropdown*/





/*homepage_c3_news.php*/
.news-owl-text {
    padding: 20px 20px 20px 20px;
    text-align: center !important; position: absolute;
    position: relative;
    font-size: 14px;
    background: #222222;
    color: white;
    margin: 0;
}


.row_ruban_01 {

    display: -webkit-box;

    display: -webkit-flex;

    display: -ms-flexbox;

    display: flex;

    -webkit-flex-wrap: wrap;

    -ms-flex-wrap: wrap;

    flex-wrap: wrap;

    margin: 0;

}

.row_ruban_01 .col-md-6  {

    padding-bottom: 10px !important;

    padding-right: 10px !important;

}





.col70 {

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 70%;

    -ms-flex: 0 0 70%;

    flex: 0 0 70%;

    max-width: 70%;

}



.col30 {

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 30%;

    -ms-flex: 0 0 30%;

    flex: 0 0 30%;

    max-width: 30%;

    max-height: 510px;

    /*padding-left: 1%;*/

}

.shortencol30 {

    /*max-height: 300px !important;*/

}

.test {
    
}

.news_upcoming_news01 {

    height: 100%;
    width: 100%;
    position: relative;

}



.news_upcoming_news01::before {

    content: "";

    position: absolute;

    /*background-image: url("../images/new-home/news_latest_scroller.jpg");*/

    background-repeat: no-repeat;

    background-size: cover;

    opacity: 0.7;

    z-index: -1;

    width: 100%;

    height: 100%;

}
.news_scroller_left {
    height: calc(100% - 110px);
    max-height: 400px;
    background-color: white;
    overflow: hidden;
    overflow-y: auto;
    /*position: absolute;*/
}
.news_scroller_left::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
    border-radius: 20px;
    background-color: transparent;
}
.news_scroller_left::-webkit-scrollbar {
    width: 7px;
    background-color: transparent;
}
.news_scroller_left::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, .3);
    background-color: silver;
}
.news_scroller_left .news_container {
    padding: 15px;
}

.news_viewall2 {

    text-align: center;

    position: relative;

    bottom: 0;

    height: 50px;

    width: 100%;

    display: grid;

    align-items: center;
    background-color: white;
    /*background-image: linear-gradient(to bottom, rgba(1,0,0,0.3), black);*/

}



.news_viewall2 a {

    color: #203283 !important;

    /*#203283;*/

}

.news_upcoming_events01 {

    height: 100%;
    width: 100%;
    position: relative;

}



.news_upcoming_events01::before {

    content: "";

    position: absolute;

    background-image: url("../images/new-home/news_latest_scroller.jpg");

    background-repeat: no-repeat;

    background-size: cover;

    opacity: 0.7;

    z-index: -1;

    width: 100%;

    height: 100%;

}



.news_headbox {

    height: 60px;

    background-size: cover;

    background-color: #243182;

    display: grid;

    text-align: center;

    align-items: center;

    color: white;

    /*padding-left: 0px;*/

}



.news_scroller {

    height: calc(100% - 110px);

    /*headbox+viewall*/

    overflow: hidden;

    overflow-y: auto;

    /*position: absolute;*/

}



.news_scroller::-webkit-scrollbar-track {

    /*-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.3);*/

    border-radius: 20px;

    /*background-color: transparent;*/

}



.news_scroller::-webkit-scrollbar {

    width: 7px;

    /*background-color: transparent;*/

}



.news_scroller::-webkit-scrollbar-thumb {

    border-radius: 20px;

    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, .3);

    background-color: silver;

}



.news_container {

    display: block;

    padding: 10px;

    position: relative;

    display: flex;

    align-items: flex-start;

    margin-left: 1px;

}



.news_container.active .news_date{

   opacity: 0.4; 

}

.news_container.active .fademe{

   opacity: 0.4; 

   color: #9f1218;

}



.news_container:not(:last-child) {

    border-bottom: 1px solid #bebec0;

/*    padding-bottom: 10px;*/

    /*margin-bottom: 10px !important;*/

}



.news_date {

    text-align: center;

    border-right: 1px solid #9f1218;

    /*background-color: whitesmoke;*/

    color: #9f1218;

    padding: 5px;

    font-size: 14px;

    line-height: 1;

    font-weight: bold;

    display: flex;

    align-items: center;

    justify-content: center;

    /*max-width: 60px;*/

}



.news_info {

    /*border-left: 1px solid #9f1218;*/

    font-size: 14px;

    font-weight: bold;

    line-height: 1.4;

    color: #333;

}

.news_info br {
display: none !important;
}


.news_info p{

    margin-bottom: 0px;

    font-size: 14px;

}



.news_viewall {

    text-align: center;

    position: absolute;

    bottom: 0;

    height: 50px;

    width: 100%;

    display: grid;

    align-items: center;

    /*background-image: linear-gradient(to bottom, rgba(1,0,0,0.3), black);*/

}



.news_viewall a {

    color: #203283 !important;

    /*#203283;*/

}



#below-part .row_ruban_01 img {

    max-height: 300px !important;

}





/*end homepage_c3_news.php*/





/*news_allnews.php & news_editevents.php*/



.row_ruban_02 {

    display: -webkit-box;

    display: -webkit-flex;

    display: -ms-flexbox;

    display: flex;

    -webkit-flex-wrap: wrap;

    -ms-flex-wrap: wrap;

    flex-wrap: wrap;

    margin: 0;

    background-color: white;

    /*border: 1px transparent black;*/

    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.3);

    padding-left: 20px;

    padding-right: 20px;

    opacity: 0;

    transition: 0.5s all ease;

    -webkit-transition: 0.5s all ease;

    -moz-transition: 0.5s all ease;

}

.col50 {

    -webkit-box-flex: 0;

    -webkit-flex: 0 0 50%;

    -ms-flex: 0 0 50%;

    flex: 0 0 50%;

    max-width: 50%;

}



.news_upcoming_events02 {

    background-repeat: no-repeat;

    background-size: cover;

    height: 100%;

    position: relative;

    margin-left: 10px;

}



.news_headbox2 {

    height: 40px;

    margin-top: -20px;

    width: 200px;

    font-size: 12px;

    transform: translateX(280px);

    /*position: absolute;*/

    background-color: #333333;

    display: grid;

    text-align: center;

    align-items: center;

    color: white !important;

    /*padding-left: 0px;*/



}



.news_headbox2.active {

    background-color: #243182;

}



.news_headbox3 {


    height: 40px;

    margin-top: -40px;

    width: 200px;

    font-size: 12px;

    transform: translateX(50px);

    /*position: absolute;*/

    background-color: #333333;

    display: grid;

    text-align: center;

    align-items: center;

    color: white !important;

    /*padding-left: 0px;*/

}



.news_headbox3.active {

    background-color: #243182;

}



.news_scroller2 {

    margin-top: 10%;

    height: 70%;

    width: 100%;

    overflow: hidden;

    overflow-y: auto;

    position: absolute;

    border-right: 1px solid black;

}



.news_scroller2::-webkit-scrollbar-track {

    /*-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.3);*/

    border-radius: 20px;

    /*background-color: transparent;*/

}



.news_scroller2::-webkit-scrollbar {

    width: 7px;

    /*background-color: transparent;*/

}

.news_scroller2::-webkit-scrollbar-thumb {

    border-radius: 20px;

    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, .3);

    background-color: silver;

}



.tabresult {

    display: none;

}



.tabresult.active {

    display: block;

}



.row_ruban_02 .tabs .tab {

    cursor: pointer;

}



.news_year_separator {

    color: #333;

    font-weight: bold;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

}



.separator {

    border: 1px solid #333;

    margin: 0 10px 0 10px;

    width: 100%;

    opacity: 0.4;

    /*text-align: center;*/

}



.news_container.remove_bottom_border {

    border-bottom: none;

    padding-bottom: 0;

    /*margin-bottom: 0;*/

}



.news_timevenue {

    position: relative;

    list-style-type: none;

    padding-left: 0;

    display: flex;

    align-items: center;

    font-weight: 600;

    margin-bottom: 3px;

}



.news_timevenue_title {

    font-size: 14px;

}



.news_timevenue_font {

    font-size: 12px;

    width: 100%;

}



.news_timevenue .time img {

    padding-right: 0;

    width: 33px;

    /*width: fit-content;*/

}

.news_timevenue .venue img {

    padding-right: 0;

    width: 34px;

    padding-top: 3px;

    padding-bottom: 3px;

    /*width: fit-content;*/

}



.news_timevenue .row {

    display: inherit;

    align-items: inherit;

}



.news_time {

    display: flex;

    align-items: center;

    font-weight: 600;

    font-size: 12px;

}



.news_venue {

    display: flex;

    align-items: center;

    font-weight: 600;

    font-size: 12px;

}

.news .title-bg .col-md-2 h1 {
    cursor: pointer;
}

/*ruban mou-panel*/
.mou-panel .col-md-4 {
    text-align: center;
    margin-top: 30px;
}
.mou-panel .col-md-4 .text{
    margin-top: 15px;
}


.bluebutton {
    border-radius:0;
    background-color:#243182;
    color:#fff;
    padding:10px 50px;
    border: 1px solid transparent;
    transition:0.6s all ease;
    -webkit-transition:0.6s all ease;
    -moz-transition:0.6s all ease;
}
.bluebutton:hover {
    background-color: #999;
    color: #fff;
}
.news_scrollhere .tab-content table td,th{
    padding: 5px;
}


.navbar-collapse.mobile-only {
    display: none !important;
}
.dropdown .expandbtn {
    display: none;
}

@media (max-width: 1199px) {
    .navbar .navbar-collapse.mobile-only {
        display: none !important;
    }
    .navbar .navbar-collapse.mobile-only.collapse.open {
        display: block !important;
    }
    .navbar .navbar-collapse.desktop-only {
        display: none !important;
    }
    .navbar .dropdown .expandbtn {
        color: #1f5ca3;
        width: 20px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: 0.3s all ease;
        -webkit-transition: 0.3s all ease;
        -moz-transition: 0.3s all ease;
        font-size: 20px;
        font-weight: bold;
        position: relative;
        float: right;
        right: 20px;
        padding: 10px;
    }
    .navbar .dropdown.expand .expandbtn {
        transform: rotate(90deg);
    }
    .navbar .dropdown:hover .expandbtn {
        transform: rotate(90deg);
    }
    .navbar .dropdown:hover .drop{
        display: block !important;
    }
    .navbar .dropdown .drop {
        z-index: 3; 
        height: unset !important;
        overflow: unset;
        position: relative;
        left: unset;
        transform: unset;
        transition: 0.3s all ease;
        -webkit-transition: 0.3s all ease;
        -moz-transition: 0.3s all ease;
    }
    .navbar .dropdown .expand .drop {
        height: auto !important;
    }
}
@media (max-width:767px) {
 
    .row_ruban_01{

    justify-content: center;
    
    }
    .col70 {

        -webkit-box-flex: unset;

        -webkit-flex: unset;

        -ms-flex: unset;

        flex: unset;

        max-width: unset;

    }

    .col30 {

        -webkit-box-flex: unset;

        -webkit-flex: unset;

        -ms-flex: unset;

        flex: unset;

        max-width: unset;

        max-height: 370px;

        width: 100%;

    }

    .news_upcoming_events01 {

        margin-left: 0;

        margin-top: 20px;

    }

    .news-box h4 {

        width: unset;

    }



    /*section#main-content #below-part {

    margin: 0;

  }*/

    .news_scroller2 {

        position: relative;

        height: 200px;

        z-index: 1;

        margin-top: 20px;

    }

    .col50 {

        -webkit-box-flex: 0;

        -webkit-flex: 0 0 100%;

        -ms-flex: 0 0 100%;

        flex: 0 0 100%;

        max-width: 100%;

    }

    .news_upcoming_events02 {

        margin: 0;

    }

    .news_headbox2 {

        width: 100%;

        transform: unset;

        margin-top: 20px;

    }

    .news_headbox3 {

        margin-top: 5px;

        width: 100%;

        transform: unset;

    }

    .owl-carousel.owl-slider.owl-theme {

        padding: 30px;

    }

    .news_scrollhere .tab-content {

        padding: 0px;

    }
    .a2a_kit.a2a_kit_size_32.a2a_default_style {

        padding-bottom: 20px;

    }

}

.newstable {
  border: 1px solid black;
}
.newstable td, .newstable tr {
  border: 1px solid black;
}
.newstable tr td {
  padding: 10px;
}
.newstable tr td:first-child img {
  padding: 5px;
}
.newstable tr td:first-child p {
  text-align: center !important;
}
.newstable tr td:last-child p {
  text-align: left !important;
}

@media (max-width: 599px) {
  .newstable td {
    padding: 5px;
  }
  .newstable td p {
    font-size: 14px !important;
  }
  .newstable td:first-child img {
    padding: 0px !important;
  }
}

/*end news_allnews.php, news_editnews & news_editevents.php*/



/*faculties entry requirements*/

/*end faculties entry requirements*/