/*左邊藍色右邊綠色左邊藍色右邊綠色*/
.card .card-body .timeline .timeline-items .timeline-item:nth-of-type(2n) {
    background-color: #07a7e3;
}
.card .card-body .timeline .timeline-items .timeline-item:nth-of-type(2n)::before {
    border-top: 1em solid #07a7e3;
}
.card .card-body .timeline .timeline-items .timeline-item.fadeInRight {
    background-color: #32dac3;
}
.card .card-body .timeline .timeline-items .timeline-item.fadeInRight::before {
    border-top: 1em solid #32dac3;
}

.navbar .navbar-brand {
    margin: 0px;
}
.navbar .navbar-brand img{
    height: 48px;
}
.p-5 {
    padding: 1rem!important;
}
body, html, p {
    font-family: Raleway, sans-serif, "Microsoft JhengHei", 微軟正黑體;
}
label {
    font-family: Raleway, sans-serif, "Microsoft JhengHei", 微軟正黑體;
    font-size: 18px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: Raleway, sans-serif, "Microsoft JhengHei", 微軟正黑體;
}
p.diary-p {
    font-size: 16px;
}

@media (max-width:576px) {
    .btn {
        padding-left: .85rem;
        padding-right: .85rem;
    }
    h1 {
        font-size: 20px;
    }
    .card .card-body .timeline h2 {
        font-size: 18px;
    }
    .card .card-body .timeline .timeline-items .timeline-item  {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .card .card-body .timeline .timeline-items {
        padding-top: 0px;
    }
    .btn {
        font-size: 1.6rem;
    }
    input[type=date], input[type=datetime-local], input[type=email], input[type=number], input[type=password], input[type=search-md], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], textarea.md-textarea {
        font-size: 1.6rem;
        height: inherit;
    }
}

nav li {
    font-size: 18px;
}

div.timeline {
    margin-top: 0px;
}
body {
    font-size: 20px;
}

.card .card-header {
    font-size: 1.8rem;
}
.card .card-header {
    padding-top: 0.75rem;
    margin-left: 1.083rem;
    margin-right: 1.083rem;
}
.badge {
    font-size: 100%;
}
.navbar .dropdown-menu a {
    font-size: 1.4rem;
}
.btn {
    font-size: 1.2rem;
}
table.table th,
table.table td,
table th,
table td {
    font-size: 1.4rem;
}
.card .card-table table thead tr th:last-child, .card .card-table table tfoot tr th:last-child {
    padding-right: 1.2rem;
}
.card .card-table table thead tr th:first-child, .card .card-table table tfoot tr th:first-child {
    padding-left: 1.2rem;
}
.card .card-table table tbody tr > *:last-child {
    padding-right: 1.2rem;
}
.card .card-table table tbody tr > *:first-child {
    padding-left: 1.2rem;
}
.dropdown-toggle::after {
    margin-left: 0;
}

#user-profile div{
	margin-bottom: 10px;
}

#user-profile .user-picture{
	max-width: 50px;
}

#user-profile .user-name{
	margin:10px;
}

input[type=text]:disabled, .form-control:disabled{
	text-decoration:none;
}

select.course-begin, select.reward-date, select.bot-expiry{
	float:left;
	width:33%;
}

.preview{
	max-height:140px;
}

/*先隱藏沒有完成的 UI*/
.stag-3 {
    /*border: 3px solid #ff0000 !important;*/
    /*border-radius: 5px !important;*/
    display: none !important;
}
.stag-4 {
    display: none !important;
}
/* 暫停製作 */
.stag-pause {
    display: none !important;
}
#myTab li {
    margin: 6px
}
.tab-content > .tab-pane {
    padding: 1rem;
}
.nav-tabs .nav-link {
    padding: .35rem .55rem .35rem;
    font-size: 1.4rem;
}
.card .card-body {
    padding: 1rem;
}
footer {
    padding: 0 15px 15px 15px;
}

#modal-course-student .custom-control.custom-checkbox,
#modal-course-join-student .custom-control.custom-checkbox{
    line-height: 28px;
}
#modal-course-student .custom-control .custom-control-label,
#modal-course-join-student .custom-control .custom-control-label{
    font-size: 26px;
}
#modal-course-student .custom-control.custom-checkbox,
#modal-course-join-student .custom-control.custom-checkbox{
    margin: 10px 0;
}
#my-course .card-table.table-responsive,
#my-course-join .card-table.table-responsive{
    min-height: 380px;
}
#modal-course-student .btn-view-diary,
#modal-course-join-student .btn-view-diary,
#modal-course-student .btn-course-student-goal,
#modal-course-join-student .btn-course-student-goal{
    width: 100%
}

.goal-diff{
	margin-left:6px;
	font-size:1.1rem;
}

.body-length-diff{
	font-size:1.1rem;
}

#my-course-tbody .dropdown-toggle::after {
    display: none;
}
.diary-bookmark-nav {
    margin-bottom: 0px;
}

.broadcast-course{
    display: flex;
    align-items: center;
}
