header{
    height: 152px;
}

header.have-drawer{
    height: 338px;
}

.ust-row{
    height:40px;
    font-size: 14px;
}

header.js-stick .ust-row{
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.navlink {
    position: relative;
    padding-right: 20px;
}

.infofor_arrow {
    width: 10px;
    height: 6px;
    position: absolute;
    right: 0px;
    bottom: 9px;
}

.header .right_sitename {
	font-size: 14px;
	align-items: center;
	float: left;
	display: flex;
}

.header a.right_sitename:link {
	font-size: 14px;
	text-decoration: none;
	color: #FFF;
	padding-right: 28px;
}

.header a.right_sitename:hover {
	text-decoration: underline;
	color: #FFF;
}

.header a.right_sitename:visited {
	text-decoration: none;
	color: #FFF;
}

/*
.right_sitename > a {
    font-size: 18px;
    color: #FFF;
    text-transform: uppercase;
    text-decoration: none;
}*/

.wrapper-header .right{
    display: flex;
    color: #FFF;
    float:right;
    padding-right: 12px;
    /* padding-right: 2%; */
}

.right1 {
    float: left;
    border-left: 1px solid white;
    border-right: 1px solid white;
    height: 40px;
    align-items: center;
    display: flex;
}

/* language menu */
.navbar1 {
    position: relative;
    display: flex;
    align-items: center;
    float:left;
    padding:0; 
    cursor: pointer;
    margin-right: 18px;
}

.navbar1.second-menu{
    padding: 0 12px;
}

.navbar1 ul {
    list-style:none;
    padding:0;
    margin:0;
}

/* .navbar1 ul>li {
    display:inline-block;
} */

.navbar1 ul li a {
    display:block;
}

.navbar1 ul li ul>li {
    display:block;
    padding-bottom: 10px;
    white-space:nowrap;
}

.secondlevel {
    position:absolute;
    left:0;
    margin-top: 8px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 8px;
    border: 1px solid #c3c4c4;
    background: #003366;
    z-index: 9999;
    display:none;
}

.second-menu .secondlevel{
    border:none;
}


/* .active {
    display:block;
}

.hidden {
    display:none;
} */

/* Search */
.mobile_search{
    display: none;
    align-items: center;
    padding: 0 18px;
    color: #fff;
}

.mobile_search .fa-search{
    font-size: 15px;
    vertical-align: baseline;
    color:#FFF;
}

.wrapper-header .department-name {
    display: inline-block;
    position: relative;
    font-size: 14px;
    color: white;
    margin-right: 20px;
    vertical-align: text-bottom;
}

.pc-header-menu {
    /* min-width: 1120px;*/
    width:100%;
    margin: 0 auto;
    padding-top: 26px;
    padding-bottom: 26px;
}

.pc-header-menu .hkust-logo {
    /* border-right-width: 2px;
    border-right-color: #003366;
    border-right-style: solid;*/
    padding-right: 0px;
    padding-left: 10px;
    float:left;
}

.pc-header-menu .site {
  /*  padding-top: 10px;  
   padding-left: 20px;*/
   float: left;
}

.pc-header-menu .search {
   padding-bottom: 5px;
   padding-left: 20px;
   padding-right: 13px;
   float: right;
}

.pc-header-menu .main-menu .pc_left {
   display: inline-block;
}

.pc-header-menu .main-menu .pc_right {
    align-items: center;
    height: 60px;
   display: flex;
   float: right;
   padding-right:2%;
}

/*.main-menu .mobile_right {
   display: none;
}*/


.header .drawer-toggle {
    padding-left: 24px;
    padding-right: 24px;
    cursor: pointer;
	align-items: center;
    display: flex;
}

.header .end-menu {
	float:left;
}

.ust-row .end-menu img{
    width: 15px;
    height: 9px;
}

.ust-row a.m_link:link {
   color:#9B9DA2;
   font-size:16px;
   text-decoration: none;
}

.ust-row a.m_link:hover {
   color:#9B9DA2;
   font-size:16px;
   text-decoration: none;
}

.ust-row a.m_link:visited {
   color:#9B9DA2;
   font-size:16px;
   text-decoration: none;
}

a.header_lang_link:link {
   color:#FFF;
   font-size:14px;
   text-decoration: none;
}

a.header_lang_link:hover {
   color:#FFF;
   text-decoration: none;
}

a.header_lang_link:visited {
   color:#FFF;
   text-decoration: none;
}

.header-mobile-menu {
	display: flex;
    align-items: center;
}

.header-desktop__search {
    position: absolute;
    top: 63px;
    right: 30px;
}

.header-desktop__search img {
    width: 23px;
}

/* Main-content */
main {
    padding-top: 152px;
}

main.have-drawer{
    padding-top:332px;
}

/* Menu */
.header-desktop__menu .menu__lv1 > li{
    padding: 0 0 0 30px; 
}

.ust_logo{
    width:273px;
    height:69px;
}

.ieda_logo {
    width: 316px;
    height: 69px;
    margin-left: -8px;
}

.header-desktop__search .fa-search {
    font-size: 22px;
    color: #003366;
}



/* UST header Menu */
.drawer {
    overflow: hidden;
    position: relative;
    display:flex;
    background: #FFF;
}

.drawer:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.4)));
    /* background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.4) 100%); */
    background: -o-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    /* background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%); */
}


.drawer .content-wrapper {
    margin: 36px 0;
    margin-top: 28px;
    /*   min-width: 1120px;*/
}

.drawer .drawer-content {
	font-family: Muli, "Microsoft JhengHei", sans-serif;
    display: table;
    table-layout: fixed;
    width: 100%;
}

.drawer .more-about {
   /* display: table-caption;*/
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #00153f;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    height: 34px;
}

.drawer .more-about2 {
    display:inline;
    margin: 0px auto;
    text-align: center !important;
    width: 90%;
 
}
.drawer .row {
	display: table-row;
}

.drawer .row > a {
    font-family: Muli, "Microsoft JhengHei", sans-serif;
    display: table-cell;
    width: 25%;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    color: #161616;
    text-transform: uppercase;
    line-height: 20px;
    text-decoration: none;
}

.drawer .center {
    margin: 0 auto;
    max-width:1280px; 
    text-align:center;
}

.transfer_180 {   
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition-duration: 0.5s;
}

 .transfer_0 {   
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition-duration: 0.5s;
}

/* Footer */
.footer-info{
    font-family: Noto Sans, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #FFF;
}

.footer-info.mobile{
    display:none;
}

.ust-footer-container{
    display: inline-block;
    width: 100%;
}

.search .follow{
    font-size:14px;
    font-weight:400;
    color: #FFF;
    text-align:center;
}

/* Footer - desktop */
.footer-info.desktop .hkust-mlogo {
    padding-right: 20px;
    padding-left: 10px;
    float:left;
    padding-top:3px;
}

.footer-info.desktop .hkust-mlogo img{
    width:150px;
}

.footer-info.desktop .site {
    padding-top: 10px;  
    float: left;
}

.footer-info.desktop .search {
    padding-top: 10px;  
    padding-left: 20px;
    padding-right: 20px;
    color: #FFF;
    float: right;
    font-size: 14px;
    font-family: Noto Sans, Arial, Helvetica, sans-serif;
}

.search a {
    width: 30px;
    height: 30px;
}

.search img {
    width: inherit;
    height: inherit;
}


.footer-info.desktop .right {
    display: inline-block;
    color: #FFF;
    float: right;
}

.footer-info.desktop .copyright {
    font-family: Noto Sans, Arial, Helvetica, sans-serif;
    clear: both;
    padding-top:5px;
    color: #FFF;
    font-size: 12px;
}
    
a.flink {
    font-family: Noto Sans, Arial, Helvetica, sans-serif;
    font-size:14px !important;
    color: #FFF;
    font-weight:600;
    text-decoration: none;
}

a.flink:visited {
    color: #FFF;
    text-decoration: none;
}

a.flink:hover {
    color: #FFF;
    text-decoration: underline;
}	


/* Footer - mobile */
.footer-info.mobile .ust-footer {
    background: #003366;
    width: 100%;
    margin: 0 auto;
    padding-top: 26px;
    padding-bottom: 26px;
}

.footer-info.mobile .main-menu {
    margin: 0 auto;
}

.footer-info.mobile .hkust-mlogo {
    padding-top: 20px;  
    text-align:center; 
}

.footer-info.mobile .site {
    padding-top: 10px;  
	padding-bottom: 15px;
    text-align: center;
}

.footer-info.mobile .search {
    padding-top: 10px;  
    font-size:20px;
    font-weight:400;
    color: #FFF;
    text-align:center;
  
}




.footer-info.mobile  .main-menu .left {
   display: inline-block;
}
.footer-info.mobile  .main-menu .right {
   display: inline-block;
   color: #FFF;
 
}

.footer-info.mobile  .privacy {
	font-family: Noto Sans, Arial, Helvetica, sans-serif;
		display: inline-block;
		font-size:20px;
	  color: #FFF;
	    
}



.footer-info.mobile .copyright {
	font-family: Noto Sans, Arial, Helvetica, sans-serif;
	text-align:center;
   padding-top:8px;
   color: #FFF;
    font-size: 12px;
}

@media only screen and (max-width: 1350px){
    header {
        height: 173px;
    }

    header.have-drawer {
        height: 359px;
    }

    .header-desktop__search {
        position: absolute;
        bottom: 0;
    }

    main {
        padding-top: 173px;
    }

    main.have-drawer {
        padding-top: 359px;
    }
}


@media only screen and (max-width: 1023px){
    /* header */
    .ust-row{
        height:28px;
    }

    header {
        height: 84px;
    }

    header.have-drawer{
        height: 286px;
    }

    .secondlevel{
        margin-top: 3px;
    }

    .wrapper-header .right{
        padding-right: 0px;
    }


    /* lang menu */
    .navbar1{
        display:none;
    }

    .right1 {
        height: 28px;
    }


    .footer-sitemenu {
        padding: 0;
    }

    /* Search */
    .mobile_search{
        display: flex;
    }
    
    .pc-header-menu, .footer-data-pc {
       display:none;	
    }

    .mobile-header-menu, .footer-data-mobile {
       display:block;	
    }
        
    .wrapper-header -data .mobile_search {
        float: left;
        margin-left: 24px;
        align-items: center;
        display: flex;
    }

    .drawer .row > a {
        display: inline-block;
        width: 48%;
        padding: 3px 0;
    }
     
    .search .follow{
        font-size:14px;
        font-weight:400;
        color: #FFF;
        text-align:center;
    }

    .header-desktop__search {
        display:none;
    }

    /* Menu */
    .ieda_logo {
        margin-left: 8px;
        vertical-align:middle;
    }

    .ust_logo{
        width:151px;
        height:38px;
        vertical-align:middle;
    }

    .header-desktop__menu .menu__lv1 > li {
        width: 100%;
        padding: 13px 25px;
    }

    /* Main Content */
    main {
        padding-top: 84px;
    }

    main.have-drawer {
        padding-top: 286px;
    }




    /* footer */
    .footer-info{
        display:none;
    }

    .footer-info.mobile{
        display:block;
        text-align:center;
    }
}


@media only screen and (max-width: 650px) {

    header.have-drawer{
        height: 290px;
    }

    main.have-drawer{
        padding-top:290px;
    }

	.drawer .row > a {
        font-size: 11px;
    }

    
}