/* for desktop */

body {
    width:100%;
    height:100%;
    background-color:#ddd;
    padding:0;
    margin:0;
}

#header {
    width:100%;
    height:108px;
    background:#DC241F url('../img/bg_lms.png') no-repeat top right;
    padding:0;
    margin:0;
}

#panel {
    width:490px;
    background-color:#fff;
    display: block;
    margin:-10px auto 0 auto;
    font-family:Georgia, "Times New Roman", Times, serif;
    color:#555;
    -moz-box-shadow:    0px 0px 3px 0px #999;
    -webkit-box-shadow: 0px 0px 3px 0px #999;
    box-shadow:         0px 0px 3px 0px #999;
}

#panel .content {
    padding:30px 50px 50px 50px;
    text-align:center;
}

#panel .content p {
    font-size:.95em;
    margin:0;
    padding:0;
    line-height:180%;
}

#panel .content .help {
    border-top:1px solid #efefef;
    display:block;
    padding:10px 0 0 0;
    font-size:.9em;
}

#panel .content small {
    font-size:.75em;
    display:block;
    line-height:80%;
}

#panel .content p a {
    color:#333;
}

h1#mcgill {
    background:url('../img/lg_mcgill.png') no-repeat center left;
    width:180px;
    height:75px;
    margin:18px 0 0 20px;
    display:inline-block;
    border-right:1px solid #fff;
}

h2#my-courses {
    background:url('../img/lg_my-courses.png') no-repeat center left;
    width:112px;
    height:75px;
    margin:0 0 0 12px;
    display:inline-block;
}

a:hover {
    color:#000;
}


h1 a, h2 a {
    display:none;
}

h3 {
    font-size:1.2em;
    margin:20px 0 0 0;
}

h4 {
    font-size:1.1em;
    font-weight:normal;
    line-height:140%;
    margin:0 0 0 0;
}

.button {
    margin:30px 0 20px 0;
    text-decoration:none;
    font-size:1.25em;
    font-family:Arial, Helvetica, sans-serif;
    line-height:120%;
    font-weight:bold;
}

.button-guest {
    margin: 22px 0 11px;
}

.button a, .button button {
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    padding:8px 13px 8px 12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #fff;
    -moz-box-shadow:inset 0px 0px 1px rgba(179,179,179,1);
    -webkit-box-shadow:inset 0px 0px 1px rgba(179,179,179,1);
    box-shadow:inset 0px 0px 1px rgba(179,179,179,1);
    background-color: #efefef;
    background-image: -o-linear-gradient(90deg , rgb(219,219,219) 0%, rgb(243,243,243) 100%);
    background-image: -moz-linear-gradient(90deg , rgb(219,219,219) 0%, rgb(243,243,243) 100%);
    background-image: -webkit-linear-gradient(90deg , rgb(219,219,219) 0%, rgb(243,243,243) 100%);
    background-image: -ms-linear-gradient(90deg , rgb(219,219,219) 0%, rgb(243,243,243) 100%);
    background-image: linear-gradient(90deg , rgb(219,219,219) 0%, rgb(243,243,243) 100%);
    text-shadow: rgba(254,254,254,0.75) -1px 1px 0px;
    text-decoration:none;
    color:#c30;
}

.button a:hover,
.button a:active {
    background-color: #efefef;
    background-image: -o-linear-gradient(90deg , rgb(243,243,243) 0%, rgb(243,243,243) 100%);
    background-image: -moz-linear-gradient(90deg , rgb(243,243,243) 0%, rgb(243,243,243) 100%);
    background-image: -webkit-linear-gradient(90deg , rgb(243,243,243) 0%, rgb(243,243,243) 100%);
    background-image: -ms-linear-gradient(90deg , rgb(243,243,243) 0%, rgb(243,243,243) 100%);
    background-image: linear-gradient(90deg , rgb(243,243,243) 0%, rgb(243,243,243) 100%);
}

.button .showboat {
    color:#444;
}

#loginform {
    display:none;
    padding:20px 0 0 60px;
    height:220px;
    text-align:left;
}

label, #login {
    font-family:Arial, Helvetica, sans-serif;
    color:#000;
    font-size:.8em;
    font-weight:bold;
    line-height:100%;
}

#username, #password {
    width:265px;
    height:30px;
    margin:5px 0 10px 0;
    border:1px solid #d9d9d9;
    border-top:1px solid #c0c0c0;
    background:#fff;
    font-size:.85em;
    padding:0 0 0 5px;
}

#login {
    background-color:#f43d1c;
    width:60px;
    height:30px;
    color:#fff;
    margin:10px 0 20px 0;
    border:0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-shadow: rgba(100,100,100,0.5) 0px 1px 0px;
}

#login:hover {
    background-color:#c30;
}

@media screen and (max-width: 480px) {
    /* FOR PHONES 320px by 480px */

    body {
        background-color:#fff;
    }

    h1 {
        margin:10px 0 0 10px;
    }

    #header {
        width:100%;
        height:70px;
        background-image:none;
    }

    h1#mcgill {
        margin:5px 0 0 15px;
        height:50px;
        width:170px;
        border-right:none;
    }

    h2#my-courses {
        height:60px;
        margin:0 0 0 12px;
        display:inline;
        float:right;
    }

    h3 {
        font-size:1em;
    }


    h4 {
        font-size:.8em;
    }

    .button {
        margin:20px 0 20px 0;
        font-size:1em;
    }

    .button a{
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }

    #panel {
        width:100%;
        -moz-box-shadow:    none;
        -webkit-box-shadow: none;
        box-shadow:         none;
    }

    #panel .content {
        padding:15px 20px 20px 20px;
    }

    #panel .content p {
        font-size:.8em;
    }

    label, #login {
        font-size:.7em;
    }

    #username, #password {
        width:230px;
    }
}

/* for mobile */

@media only screen and (max-width: 480px) {

  body {
    background-color:#fff;
  }

  h1 {
    margin:10px 0 0 10px;
  }

  #header {
    width:100%;
    height:70px;
    background-image:none;
    }

  h1#mcgill {
    margin:5px 0 0 15px;
    height:50px;
    width:170px;
    border-right:none;
  }

  h2#my-courses {
    height:60px;
    margin:0 0 0 12px;
    display:inline;
    float:right;
  }

  h3 {
    font-size:1em;
  }


  h4 {
    font-size:.8em;
  }

  .button {
    margin:20px 0 20px 0;
    font-size:1em;
    }

  .button a{
      -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }

  #panel {
    width:100%;
    -moz-box-shadow:    none;
    -webkit-box-shadow: none;
    box-shadow:         none;
  }

  #panel .content {
    padding:15px 20px 20px 20px;
  }

  #panel .content p {
    font-size:.8em;
  }

  label, #login {
    font-size:.7em;
  }

  #username, #password {
    width:230px;
  }
}
