html, body {
    height: 100vh;
    margin: 0;
}

html, body{
    background-color: #fff;
    color: #323232;
    font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
}

ul, li{
    margin:0; padding:0;
}

label{
    margin-bottom:0;
}
input{
    color: #4d4d4d;
}
h1{
    font-size: 18px;
}
h2{
    color: #16a69d;
    font-size: 16px;
}
*::-webkit-input-placeholder {
    color: #9e9e9e;
}
*:-moz-placeholder {
    /* FF 4-18 */
    color: #9e9e9e;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: #9e9e9e;
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: #9e9e9e;
}

.form-control:hover{
    border-color: #1da275;
}

.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}

.no-top-margin{
    margin-top: 0 !important;
}

.col-max-spaces{
    padding:0;
}
.box-shadow{
    -webkit-box-shadow: -2px 2px 5px 0px rgba(200, 200, 200, 0.75);
    -moz-box-shadow:    -2px 2px 5px 0px rgba(200, 200, 200, 0.75);
    box-shadow:         -2px 2px 5px 0px rgba(200, 200, 200, 0.75);
}

.modal-header{
    color: #fff;
    background: #16a69d;
    text-align: center;
}
.modal-content{
    border-radius: 0;
}
.bg-color{
    width: 1350px;
    max-width: 100%;
    background: #f9f9f9;
    margin: 0px auto;
    position: relative;
    overflow: hidden;
}
.text-info{
    color: #007770;
}
.ribbon{  
    background: #4ebd88 url(../img/banner.png) no-repeat right top;
    height: 163px; width: 100%;
    position: absolute;
    z-index: 1;
}

.icon{
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
    top: 2px;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 16px 16px;
}
.icon-edit{
    background-image: url('../img/edit.png');
}
.icon-save{
    background-image: url('../img/save.png');
}
.icon-2x{
    width: 32px;
    height: 32px;
    background-size: 32px 32px !important;
}

#main-container{
    position: relative;
    z-index: 2;
}
.bg-color:before{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 576px 480px 0 0;
    border-color: #fefefe transparent transparent transparent;    
    content: '';
    position: absolute;
    top: 163px;
    left: 0px;
    z-index: 0;
}
.navbar-theorigo a, .nav>li>a{
    color: #fff;
    font-size: 14px;
    padding: 0;
    line-height: 1.5;
}
.navbar-theorigo .navbar-nav{
    margin: 15px 0 0 0;
}
.navbar-theorigo .icon{
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: left center;    
    background-size: 20px 20px;
    padding-left: 22px;
    min-height: 20px;
}
.navbar-theorigo .navbar-nav > li > a:hover, .navbar-theorigo .navbar-nav > li > a:focus{
    background-color: transparent;
}
.navbar-theorigo .icon-lock{
    background-image: url('../img/lockout.png');
}
.navbar-theorigo .container-fluid{
    margin: 10px 0;
}
.navbar-theorigo .navbar-brand{
    color: #fff;
    font-size: 20px;
    font-weight: lighter;
    padding: 0;
    margin:0 0 10px 0;
}

.company-logo-container{
    background: #fff;
}
.company-logo-wrapper{
    text-align: center;
    height: 80px;
}
.company-logo-wrapper .helper{
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.company-logo-wrapper img{
    vertical-align: middle;
    max-height: 100%;
    max-width: 90%;
    height: auto;
}
.company-logo-wrapper img.logo-hku{
    width: 50px;
}
.company-logo-wrapper img.logo-cu{
    width: 50px;
}
.company-logo-wrapper img.logo-ha{
    width: 50px;    
}

.form-horizontal .control-label{
    padding-top: 9px;
}

div.panel{
    border:none;
    box-shadow:none;
}

.tips div, .tips ul{
    margin: 5px 0;
}

.tips ul{
    margin-left: 10px;
}

.btn{
    color: white;
    font-weight: normal;
    padding: 10px 20px;
    text-shadow: none;
    box-shadow: none;
    font-size: 15px;
    border-radius: 5px;
    border: 0;
}
.btn:focus,.btn:active {
   outline: none !important;
}

.btn-small{
padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-default{
    background: #9c9c9c;
}
.btn-success{
    background: #16a69d;
}
.btn-danger{
    background: #e63339;
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default:active:hover, .btn-default:active:focus{
    color: #fff;
    background: #c5c5c5;
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success:active:hover, .btn-success:active:focus{
    color: #fff;
    background: #1bbdb2;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger:active:hover, .btn-danger:active:focus{
    color: #fff;
    background: #f67575;
}

.btn span{
    margin-right: 5px;
}

.text-right-sm{
    text-align: right;
}

.ui-selectmenu-button{
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    padding-right: 2px;
}
.ui-selectmenu-button.ui-button{
    width: 100%;
}
.ui-selectmenu-icon{
    width: 18px;
    height: 18px;
}
.ui-button .ui-selectmenu-icon, .ui-button:hover .ui-selectmenu-icon,
.ui-button:active .ui-selectmenu-icon, .ui-button:focus .ui-selectmenu-icon{
    background: #fff url('../img/drop-down2.png') no-repeat center center;
    background-size: 18px 18px;
}
.ui-button .ui-checkboxradio-icon.ui-state-checked, .ui-button:hover .ui-checkboxradio-icon.ui-state-checked{
    background: #fff url('../img/click.png') no-repeat center center;
    background-size: 10px 10px;
}
.ui-checkboxradio-label:hover .ui-icon-background{
    box-shadow: none;
    border: 1px solid #3cb290;
}

.ui-button{
    background: #fcfcfc;
    text-align: left;
}
.ui-button:active{
    border: 1px solid #d0d0d0;
}
.ui-checkboxradio-label{
    border: 0;
    background: none;
}
.ui-state-active, .ui-button.ui-state-active:hover, .ui-button:active, .ui-state-focus, .ui-button:hover, .ui-button:focus{
    background:none;
    color: inherit;
}
.ui-visual-focus{
    box-shadow: none;
}
.ui-checkboxradio-label.ui-button:hover{
    border: 0;
}
.ui-selectmenu-button:active,.ui-selectmenu-button:hover,.ui-selectmenu-button:focus{
    background: #fcfcfc;
}

.has-tail .parent, .has-tail .tail{
    border: 1px solid #808080;
    padding:0;margin:0;
    border-width: 0 0 1px 0;
}
.has-tail .parent{
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 21px;
}
.has-tail .tail{
    display: block;
    position: absolute;
    right: 20px;
    bottom: 2px;
    width: 17px;
    height: 28px;
    
    -webkit-transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
    
}
.intern-wrapper, .choice-wrapper, .interninfo-part{
    padding: 0;
    margin: 10px 0;
}
.interninfo-part{
    padding: 0 10px;
}

.notification{
    text-align: center;
    height:40px;
    font-size:20px;
    line-height:40px;
    background: orange
}

.notification .text-danger{
    color: #d02641;
}

.notification a{
    display: block;
    color:#fff;
    text-decoration:none;
}

.personal-information-form .has-tail, .personal-information-form .control-label{
    padding-top:7px;
    padding-right: 17px;
    min-height: 21px;
}
.login-wrapper{
    margin: 35px 0;
}
.login-panel {
    padding: 35px 0;
}
.login-panel a{
    text-decoration: none;
    border-bottom: 1px solid #009894;
    color: #009894;
    margin: 10px 0 30px 0;
    display: inline-block;
}
.login-panel a:hover{
    color: #00d2a9;
}
.login-panel .btn{
    width:100%;
}

.login-panel .icon{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    display: block;
    width: 100%;
    height: 100%;
}

.login-panel .icon-user{
    background-image: url('../img/login/user.png');
}
.login-panel .icon-password{
    background-image: url('../img/login/password.png');
}

.login-panel .form-group{
    height: 40px;
}
.login-panel .control-label{
    border-bottom: 1px solid #c9c9c9;
}
.login-panel .input-height{
    height: 100%;
    padding-left: 0;
}
.login-panel .input-height input{
    padding-left: 15px;
    background: #fcfcfc;
}
.login-panel .input-height .has-tail{
    height: 100%;
}
.login-panel .has-tail .parent, .login-panel .has-tail .tail{
    border-color: #c9c9c9;
}
.login-panel .has-tail .tail{
    right: 4px;
}

.reset-password-form .tips{
    margin-left: 10px;
    margin-bottom: 35px; 
}

.intern-wrapper .title:before{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 20px;
    border-color: transparent transparent #f0f0f0 transparent;    
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
}
.intern-wrapper .title, .choice-wrapper .title{
    background: #16a69d;
    color: #fff;
    padding: 6px 0 6px 30px;
    height: 40px;
    font-size: 20px;
    position:relative;
}
.intern-wrapper .body, .choice-wrapper .body{
    background: #f0f0f0;
    border-bottom: 1px solid #f1f1f1;
    
}
.intern-wrapper .body-wrapper, .choice-wrapper .body-wrapper{
    display:block;
    margin-right: 20px;
    background: #fcfcfc;
    padding: 10px 5px;
}
.intern-wrapper .rotation-title{
    white-space: nowrap;
}

.choice-wrapper{
    border-radius: 5px;
    cursor: pointer;
}
.choice-wrapper .title{
    background: #9c9c9c;
    border-radius: 5px 5px 0 0;
    padding-left: 6px;
}
.choice-wrapper.selected .title{
    background: #16a69d;
}
.choice-wrapper .body{
    border: none;
    border-radius: 0 0 5px 5px;
}
.choice-wrapper .body-wrapper{
    margin: 0;
    border-radius: 0 0 5px 5px;
    border: 1px solid #9c9c9c;
    border-top: 0px;
}
.choice-wrapper.selected .body-wrapper{
    border-color: #16a69d;
}

.internswap-part{
    margin-top: 25px;
}
.internswap-part h2{
    color: #01825c;
    font-size: 25px;
    margin-bottom: 15px;
}

.allocation-wrapper tbody td.specialty{
    line-height: 2.5;
}


/* col-sm */
@media (min-width: 576px) {
    h2{
        font-size: 22px;
    }
    .login-wrapper{
        margin: 50px 0;
    }
    .reset-password-form .tips{
        margin-left: 35px;
    }
    .company-logo-wrapper{
        height: 105px;
    }
    .company-logo-wrapper img.logo-hku{
        width: 80px;
    }
    .company-logo-wrapper img.logo-cu{
        width: 80px;
    }
    .company-logo-wrapper img.logo-ha{
        width: 80px;    
    }
    .intern-wrapper, .choice-wrapper, .interninfo-part{
        margin: 25px 0;
    }
    .intern-wrapper .body-wrapper{
        margin-right: 40px;
        padding: 25px 15px;        
    }
    .choice-wrapper .body-wrapper{
        padding: 25px 15px;
    }
    .intern-wrapper .title:before{
        border-width: 0 0 40px 40px;
    }
    .navbar-theorigo .navbar-brand{
        line-height: 3;
        margin:0;
    }
    .bg-color:before{
        border-width: 768px 700px 0 0;
    }
}

/* col-md */
@media (min-width: 768px) {
    .login-wrapper{
        margin: 70px 0;
    }
    .login-panel {
        padding: 70px 0 50px 0;
    }
    .interninfo-part{
        padding: 0 20px;
    }
    .text-right-sm{
        text-align: left;
    }
    .company-logo-wrapper{
        height: 120px;
    }
    .company-logo-wrapper img.logo-hku{
        width: 95%;
    }
    .company-logo-wrapper img.logo-cu{
        width: 95%;
    }
    .company-logo-wrapper img.logo-ha{
        width: 165px;    
    }
    .bg-color:before{
        border-width: 992px 950px 0 0;
    }
}

/* col-lg */
@media (min-width: 992px) {
    .company-logo-wrapper img.logo-hku{
        width: 340px;
    }
    .company-logo-wrapper img.logo-cu{
        width: 260px;
    }
    .company-logo-wrapper img.logo-ha{
        width: 200px;    
    }
}
@media (min-width: 1200px){
    .bg-color:before{
        border-width: 1500px 1300px 0 0;
    }
}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */