/* 
Project   : Lunahabit
Author  : Vivi
By      : http://www.sirclo.com
*/

.container{
    -webkit-transition: all 0.5s ease 0.1s;
    -moz-transition: all 0.5s ease 0.1s;
    -o-transition: all 0.5s ease 0.1s;
    transition: all 0.5s ease 0.1s;
}

@media only screen  
and (max-width : 1024px) {
    .filter-form .filter-action {
        display: inline-block;
        padding-bottom: 4px;
        padding-top: 10px;
        text-align: center;
        width: 15%;
    }

    .filter-form input[type="number"] {
        width: 80%;
    }

    .contact-info-box #contact-info-widget .textwidget table tbody tr td {
        padding: 10px;
    }

    /*.people-item {
        border-bottom: 1px solid #eee;
        margin-bottom: 0;
        margin-top: 29px;
        padding-bottom: 29px;
    }*/



    #people.content-box {
        padding-top: 30px;
    }

    .page-template-about-director #about-intro {
        top: 35%;
    }
}

@media only screen
and (max-width: 767px) {

    .contact-info-box #contact-info-widget .textwidget table tbody tr td{
        display: block;
        padding: 0;
        width: 100% !important;
    }

    /*#people.content-box {
        padding-top: 30px;
    }*/

    .people-item h4 {
        margin-top: 10px;
    }

    .category-people ul li.people-item:last-child {
        border-bottom: 1px solid #eee;
        margin-bottom: 0;
        padding-bottom: 58px;
    }

    .category-people:last-child ul li.people-item:last-child {
        border-bottom: none;
    }

    .breadcrumb {
        min-height: 50px;
        height: auto;
    }

    .join-desc .slide_box a.slide_active.open {
        background-position: 99% -20px;
    }

    .join-desc .slide_box a.slide_active {
        background-position: 99% 30px;
    }
    .themap .maps{
        margin-bottom: 15px;
    }
}

/*@media only screen
and (max-width: 639px) {
    #contact-map-widget iframe {
        height: 850px;
    }
}*/

@media only screen  
and (max-width : 1199px) {
    header {
    }


    .nus-mobile-nav{float:right;margin-top:1px;    font-size: 14px;}
    .nus-mobile-nav ul{padding:0;margin:0;}
    .nus-mobile-nav ul li{display:inline-block;}
    .nus-mobile-nav ul li a{padding:15px;}
    .nus-mobile-nav ul li a:hover{text-decoration:none;color:#ef7c00;}

    .fa {
        font-family: "FontAwesome";
        color: #333;
    }
    .fa.fa-search{color:#ef7c00;}
    .fa.fa-search.collapsed{color:#333;}

    /***************************************
            EFFECT - SIDEBAR MENU - WRAPPER
    ****************************************/	
    .off-canvas-toggle{z-index:100}
    .noscroll{position:fixed;overflow-y:scroll;width:100%}
    .off-canvas-toggle:focus{outline:none}
    .nus-body-container{position:static;background:#ffffff;position:relative;left:0;z-index:99;-webkit-transition:-webkit-transform 0.5s;transition:transform 0.5s;overflow:visible}
    .nus-body-container::after{position:absolute;top:0;right:0;width:0;height:0;background:rgba(0,0,0,0.2);content:'';opacity:0;-webkit-transition:opacity 0.5s,width 0.1s 0.5s,height 0.1s 0.5s;transition:opacity 0.5s,width 0.1s 0.5s,height 0.1s 0.5s;z-index:100}

    .off-canvas-open .nus-body-container::after{width:100%;height:10000px;opacity:1;-webkit-transition:opacity 0.5s;transition:opacity 0.5s}
    .off-canvas-open .nus-sidebar-off-canvas::after{width:0;height:0;opacity:0;-webkit-transition:opacity 0.5s,width 0.1s 0.5s,height 0.1s 0.5s;transition:opacity 0.5s,width 0.1s 0.5s,height 0.1s 0.5s}
    .off-canvas-open .off-canvas-current{visibility:visible}
    .off-canvas-open .nus-sidebar-off-canvas{overflow-y:auto}

    .nus-sidebar-off-canvas{position:absolute;top:0;left:0;z-index:100;visibility:hidden;width:250px;height:100%;overflow:hidden;-webkit-transition:all 0.5s;transition:all 0.5s;background:#ffffff;color:#333333}
    .nus-sidebar-off-canvas::after{position:absolute;top:0;right:0;width:100%;height:100%;background:rgba(0,0,0,0.2);content:'';opacity:1;-webkit-transition:opacity 0.5s;transition:opacity 0.5s}
    .off-canvas-right.nus-sidebar-off-canvas{display:none;left:auto;right:0}
    .off-canvas-right .off-canvas-right.nus-sidebar-off-canvas{display:block;}

    .off-canvas-effect-4.off-canvas-open .nus-body-container{-webkit-transform:translate3d(250px,0,0);transform:translate3d(250px,0,0)}
    .off-canvas-effect-4.nus-sidebar-off-canvas{z-index:1;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}
    .off-canvas-effect-4.off-canvas-open .off-canvas-effect-4.nus-sidebar-off-canvas{-webkit-transition:-webkit-transform 0.5s;transition:transform 0.5s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}
    .off-canvas-effect-4.nus-sidebar-off-canvas::after{display:none}
    .off-canvas-right.off-canvas-effect-4.off-canvas-open .nus-body-container{-webkit-transform:translate3d(-250px,0,0);transform:translate3d(-250px,0,0)}
    .off-canvas-right.off-canvas-effect-4.nus-sidebar-off-canvas{-webkit-transform:translate3d(50%,0,0);transform:translate3d(50%,0,0)}

    /******************************************
    NUS - SIDEBAR MENU - MOBILE - OFFCANVAS
    ******************************************/

    #nus-sidebar-off-canvas{height:auto;}
    #nus-sidebar-off-canvas .header{background:#eee;padding:0 0 0 12px;height:35px;}
    #nus-sidebar-off-canvas .header h2{margin:0;font-size:14px;line-height:35px;text-transform:uppercase;font-weight:bold;}
    #nus-sidebar-off-canvas .header .close{background: none repeat scroll 0 0 #bbbbbb;height: 35px;line-height: 35px;margin: 0;position: absolute;right: 0;top: 0;width: 35px;}
    #nus-sidebar-off-canvas .body{padding:24px 12px;}
    #nus-sidebar-off-canvas .body .nus-module{}
    #nus-sidebar-off-canvas .body .nus-module .title{margin:0 0 10px 0;font-size:18px;}
    #nus-sidebar-off-canvas .body .nus-module ul > li > a{
        color: #003d7c;
        border-radius: 0;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        position: relative;
        display: block;
        padding: 10px 15px;
        font-size: 14px;
        font-family: "HelveticaNeue";
    }

    #nus-sidebar-off-canvas .body .nus-module ul.level2{padding:0 0 0 10px;}
    #nus-sidebar-off-canvas .body .nus-module ul.level3{padding:0 0 0 15px;}
    #nus-sidebar-off-canvas .body .nus-module ul.level4{padding:0 0 0 15px;}

    #nus-sidebar-off-canvas .nus-module ul > li.current_page_item.menu-item-has-children > a,
    #nus-sidebar-off-canvas .nus-module ul > li.current > a,
    #nus-sidebar-off-canvas .nus-module ul > li.active > a:hover,
    #nus-sidebar-off-canvas .nus-module ul > li.current > a:hover{
        background:#003d7c;color:#fff;
    }
    #nus-sidebar-off-canvas .body .nus-module ul li a:hover{
        background:#eee;color:#000;
    }

    /**********************************
    NUS - SIDEBAR - COMPONENT LEVEL
    ***********************************/	
    .nus-sidebar-nav{margin-bottom:20px;}
    .nus-sidebar-nav li + li {margin-top:0;}
    .nus-sidebar-nav li.active a{background: none repeat scroll 0 0 #003d7c;color: #fff;}
    .nus-sidebar-nav li a{color:#003d7c;border-bottom:1px solid #eee;
                          border-radius:0;
                          -webkit-border-radius:0px; 
                          -moz-border-radius:0px;
    }
    .nus-sidebar-nav li a:hover{color:#000;}

    .module-ct ul{
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }
    .module-ct ul li ul{    padding: 0 0 0 10px;}
    /*----------------------home-----------------*/
    #site-title-widget{
        font-size: 25px;
        height: auto;
        text-align: center;
        line-height: 35px;
        padding: 10px 0;
    }
    .home-widget {padding-top: 40px;padding-bottom: 40px;}

    .more .fa-angle-right {    color: #ef7c00;}
    .home-research-update li {
        margin-left: 0;
        margin-bottom: 20px;
        margin-right: 20px;
    }
    .home-event .overlay {
        padding: 5px;
    }
    /*----------------------about-----------------*/
    .page-template-about .hd-image{height: auto;}

    .content-box{padding-top: 40px;padding-bottom: 40px;}
    .page-template-about .page-title {margin-top: 40px;}
    .about-people-widget{height: auto;    padding-bottom: 70px;}
    #about-people {
        position: relative;
        top: 0;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .donor-box {padding-top: 20px;padding-bottom: 20px;}
    .about-image-people-widget img{height: auto;}
    /*----------------------about director-----------------*/
    .page-template-about-director .hd-image img {
        height: 320px;
        width: auto;
    }
    .page-template-about-director .hd-image{height: auto;    background: #fafafa;}
    .page-template-about-director #about-intro{margin-top: 30px;}
    .director-content table td{display: block;padding: 0 0 10px;width: 100%;}
    /*----------------------people-----------------*/
    #people h3.text-medium {
        margin-top: 0;
        margin-bottom: 30px;

    }
    /*----------------------join us-----------------*/
    .slide_content table {
        margin-left: 0;
        margin-right: 0;
        display: block;
        width: 100% !important;
    }
    .slide_content table tbody, .slide_content table tr{display: block;}
    .slide_content table td {
        display: block;
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        word-wrap: break-word;
    }
    /*----------------------research cluster-----------------*/
    #research-cluster ol {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        margin-top: 40px;
    }
    #research-cluster ol li {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 30px;
    }
    #research-cluster ol li ol {margin-left: 20px;}
    /*----------------------research updates-----------------*/
    .filter-form a {margin-bottom: 10px;}
    /*----------------------research publication-----------------*/
    .publication-item {font-size: 16px;padding-left: 20px;}
    .publication-item::after {width: 150%;}
    /*----------------------contact-----------------*/
    .contact-form-box {padding: 20px 10px;}
}
@media only screen  
and (max-width : 992px) {
    .top-header {
        height: 50px;
        border:none;
    }
    .logo{
        width: 100%;
        padding: 10px 0;
        height: auto;
    }
    .logo a img {
        max-width: 265px;
        max-height: 40px;
    }
    .text-center-sm{text-align: center;}
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 992px) 
and (max-width : 1199px) {
    #about-people{position: absolute;}
}
@media only screen  
and (max-width : 991px) {
    .text-center-sm{text-align: center;}
    .menu-top-navigation-container {border-top: 1px solid #003d7c;}
    #about_feat_images li img {width: auto;}
    .about-image-people-widget {position: absolute;bottom: 0;}
}
@media only screen  
and (max-width : 767px) {
    .container {width: 100%;}
    .home-research-update h3, .home-seminar h3{margin-bottom: 0;}
    .home-research-update .more, .home-seminar .more{position: relative;top:0;right:0;    display: inline-block;margin-bottom: 20px;}
    #about-intro{position: relative;    top: 0;    height: auto;}
}
@media only screen 
and (min-width : 768px) 
and (max-width : 991px) {
    .container {width: 100%;}
    .page-template-about .hd-image {
        height: 530px;
        overflow: hidden;
    }
    .page-template-about .hd-image img{
        height: 100%;
        width: auto;
        position: relative;
        left: -190px;
    }
    #about_feat_images li {
        display: inline-block;
        width: 33%;
    }
    #about_feat_images li img{width: 100%;}
    .about-image-people-widget img {
        height: 100%;
        width: auto;
        position: relative;
        left: -60%;
    }

    .home-seminar .more {
        right: 15px;
    }

    #people h3.text-medium {
        text-align: left;
    }
}

@media print{
    .col-lg-6{
        width: 50%;
        float: left;
    }
    .col-lg-4{
        width: 33.3333%;
        float: left;
    }
    .col-lg-7{
        width: 58.33333333%;
        float: left;
    }
    .col-xs-12{
        width:100%;
    }
    .col-xs-8-p{
        width: 66.66666667% !important;
    }
    #site-title-widget{
        text-align: center;
    }
    footer,
    #nus-sidebar-off-canvas,
    header .top-header,
    header .grey{
        display: none;
    }
    .home-seminar .more,
    .home-research-update .more{
        display: none;
    }
    
    .home-research-update ul{
        position: relative;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .home-research-update li{
        position: relative;
        width: 33%;
        height: auto;
        margin-left: 0px;
        padding: 15px;
    }
    .home-seminar{
        width: 100% !important;
    }
    .home-widget{
        /* padding-top: 0px;
        padding-bottom: 0px; */
    }
    .home-widget .col-xs-12{
        width: 100%;
    }
    .home-research-update h3{
        margin: 0px;
    }
    .home-conference li img{
        width: 50%;
    }
    #conference  .home-conference li img{
        width: 100%;
    }
    #home-research-widget{
        margin-bottom: 50px;
    }
    #about_feat_images{
        margin-top: 80px;
        width: 100%;
        margin-bottom: 80px;
    }
    #about_feat_images li{
        text-align: center;
    }
    #about_feat_images li img{
        width: 80%;
        margin-bottom: 15px;
    }
    .page-about-cms .container .row > div{
        width: 50%;
    }
    .donor-box{
        padding-bottom: 0px;
        padding-top: 0px;
    }
    .donors li{
        width: 25% !important;
        min-height:100px;
    }
    .donors li a[href]:after{
        word-break: break-all;
        content: " ";
    }
    .page-template-about .hd-image{
        height: auto;
    }
    #about-intro{
        top: 0px;
    }
    #about-intro p{
        font-size: 16px;
    }
    .about-people-widget .about-image-people-widget{
        position: absolute;
        width:100%;
    }
    #about-people{
        top:10px;
    }
    .about-director .director-intro{
        width:33.33% !important;;
    }
    .about-image-people-widget img{
        height:auto;
    }
    .page-template-about-director #about-intro{
        top: 15%;
        width: 50%;
        float: right;
        right: 10px;
    }
    .content-box{
        padding-top:20px;   
    }
    .term-management-board-and-admin-staff .people-item{
        min-height: 300px;
    }
    .term-cms-track-leaders-and-research-staff .people-item{
        min-height:450px;
    }
    #research-cluster ol{
        margin: 0px;
        padding: 0px;
    }
    .res-button-wrap{
        height: auto;
    }
    .res-button-wrap .res-button{
        padding: 20px 0px;
    }
    #event .page-title,
    #conference-papers .page-title,
    #research-publications .page-title{
        text-align: left;
    }
    img{
        max-width: 100%;
    }
    .people-item {
        margin-bottom: 5px;
        width: 33.33%;
    }
    .people-item a{
        max-width:100%;
        display:inline-block;
    }
    .people-item a[href]:after{
        word-wrap: break-word;
    }
    .people-email{
        margin-top: 0px;
    }
    a["href"]:after{
        content:" ";
        color:#868686;
        background-color:inherit;
        font-style:italic;
        size:90%;
        word-wrap: break-word;
    }
    .join-desc .slide_box{
        display: block;
    }
    .join-desc h4 strong,
    .join-desc .slide_header strong{
        font-weight: 400;
    }
    .filter-form {
        display: none;
    }
    #chekroute{
        display: none;
    }
    .home-conference .plain li{
        background-color: red;
        float: left;
        width: 50%;
    }
    .research-item .pos-relative{
        min-height: 1px;
    }
    .conf-detail,
    .overlay,
    .research-item .research-title ,
    .research-item .overlay,
    .home-conference .plain li .conf-detail,
    .home-conference .plain li .overlay{
        position:  relative;
    }
    .conference-item a[href]:after{
        word-wrap:break-word;

    }
}
