body {
    font: 400 20px Lato, sans-serif;
    line-height: 1.8;
    color: #818181;
}
h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #303030;
    font-weight: 600;
    margin-bottom: 30px;
}
h4 {
    font-size: 25px;
    line-height: 1.375em;
    color: #303030;
    font-weight: 500;
    margin-bottom: 30px;
    text-align:center;
}
h5 {
    font-size: 20px;
    line-height: 1.375em;
    background-color: #edeceb;
    color: #303030;
    font-weight: 500;
    margin-top: 30px;
    padding: 2rem;
}
.jumbotron {
    background: url('../img/title.png') no-repeat;
    background-size: cover;
    background-color: #173a83;
    color: #fff;
    text-shadow: -2px 5px 15px  #173a83, 0 1px #173a83, 1px 0 #173a83, 0 -1px #173a83;
    padding: 100px 25px;
    font-family: Montserrat, sans-serif;
}
.container-fluid {
    padding: 60px 50px;
}
.bg-grey {
    background-color: #f6f6f6;
}
.logo-small {
    color: #173a83;
    font-size: 50px;
}
.logo {
    color: #173a83;
    font-size: 200px;
}
.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}
.thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}
.carousel-control.right, .carousel-control.left {
    background-image: none;
    color: #173a83;
}
.carousel-indicators li {
    border-color: #173a83;
}
.carousel-indicators li.active {
    background-color: #173a83;
}
.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
}
.item span {
    font-style: normal;
}
.panel {
    border: 1px solid #173a83;
    border-radius:0 !important;
    transition: box-shadow 0.5s;
}
.panel:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
}
.panel-footer .btn:hover {
    border: 1px solid #173a83;
    background-color: #fff !important;
    color: #173a83;
}
.panel-heading {
    color: #fff !important;
    background-color: #173a83 !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.panel-footer {
    background-color: white !important;
}
.panel-footer h3 {
    font-size: 32px;
}
.panel-footer h4 {
    color: #aaa;
    font-size: 14px;
}
.panel-footer .btn {
    margin: 15px 0;
    background-color: #173a83;
    color: #fff;
}
.navbar {
    margin-bottom: 0;
    background-color: #173a83;
    z-index: 9999;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 4px;
    border-radius: 0;
    font-family: Montserrat, sans-serif;
}
.navbar li a, .navbar .navbar-brand {
    color: #fff !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
    color: #173a83 !important;
    background-color: #fff !important;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff !important;
}
footer .glyphicon {
    font-size: 20px;
    margin-bottom: 20px;
    color: #173a83;
}
.slideanim {visibility:hidden;}
.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}
@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}
@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}
@media screen and (max-width: 768px) {
    .col-sm-4 {
        text-align: center;
        margin: 25px 0;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}
@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }
}


/*The following codes are added by Shin-Yi Lin */
#myNavbar{
    font-size: 1.5em;
}

/*Make Bootstrap columns all in the same height by using flex*/
#workflow .row, #download .row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
/*Class Group selection:
  [class*="col-"] => select elements with class name start with "***-col"(e.g."foo-col") and "col-"
  [class^="col-"] => not select ones with prefix "***-col"(e.g."foo-col"), but select "col-"
 */
#workflow [class^="col-"], #download [class^="col-"]{
    display: flex;
    flex-direction: row;
}
#download .panel{
    margin: 0 auto;
}
.figure-border{
    border: 0.2em solid #173a83;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 1em;
    /* Firefox 1-3.6 */
    -moz-border-radius: 1em;
    /*IE*/
    -ms-border-radius: 1em;
    /*Old versions of Opera*/
    -o-border-radius: 1em;
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 1em;

    margin: 0.5em;
    background-color: white;
}
/*Modify from bootstrap.min.css*/
.col-sm-2_6{
    position:relative;min-height:1px;padding-right:15px;padding-left:15px;
    float:left;
    width:21.66666667%;
}

/*Text color for User Manual*/
blue{
    display: inline;
    color: #5e8edc;
}
gray{
    display: inline;
    color: #818181;
    font: 400 20px Lato, sans-serif;
}
red{
    display: inline;
    color: red;
}
green{
    display: inline;
    color: green;
}