.dse-calculator-container {
    background: transparent url("/assets/images/deco_hkdse.png") right 36px no-repeat;
    background-size: auto 28px;
}
.dse-calculator-container .head-bar {
    min-height: 80px;
    background-color: #bbd8e2;
    color: #fff;
}
.dse-calculator-container > .container {
    padding: 0 5px;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}
.dse-calculator-container .page-caption {
    padding: 26px 0 18px;
    line-height: 1.4;
}
.dse-calculator-container .page-caption .title {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 36px;
    text-shadow: 2px 0 #0d6eb8, -2px 0 #0d6eb8, 0 2px #0d6eb8, 0 -2px #0d6eb8;
    color: #fff;
}
.dse-calculator-container .page-caption .description {

}
.dse-calculator-container .page-caption .subtitle {
    margin-bottom: 20px;
    font-size: 18px;
    color: #528294;
}
.dse-calculator-container .subject-table table {
    width: 100%;
}
.dse-calculator-container .subject-table table thead th.subject-name {
    width: 80px;
}
.dse-calculator-container .subject-table table thead th.score {
    background-color: #000;
    font-weight: 600;
    color: #528294;
    text-align: center;
}
.dse-calculator-container .subject-table table tbody tr {
    display: none;
}
.dse-calculator-container .subject-table table tbody tr.selected {
    display: table-row;
}
.dse-calculator-container .subject-table table tbody td.subject-name {
    padding: 0 14px;
    color: #fff;
    font-weight: 800;
    border-bottom: 1px solid #fff;
}
.dse-calculator-container .subject-table table tbody td.subject-name > div {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.dse-calculator-container .subject-table table tbody td.score-button {
    text-align: center;
    font-weight: 600;
    color: #ddd;
    background-color: #f2f2f2;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    cursor: pointer;
}
.dse-calculator-container .subject-table table tbody td.score-button:hover {
    opacity: 0.9;
}
.dse-calculator-container .subject-table table tbody td.score-button.selected {
    color: #fff;
}
.dse-calculator-container .subject-table table tbody td.score-button.disabled {
    background-color: #999;
}
.dse-calculator-container .subject-table table tbody tr td.subject-name {
    width: 30%;
}
.dse-calculator-container .subject-table table tbody tr td.score-button {
    width: 10%;
    background-color: #7fcae8;
    text-indent: 0;
}
.dse-calculator-container .subject-table table tfoot tr.add td {
    height: 50px;
}
.dse-calculator-container .subject-table table tfoot tr.add td.subject-name {
    position: relative;
    background-color: #a7a9aa;
    border-right: 1px solid #fff;
}
.dse-calculator-container .subject-table table tfoot tr.add td.subject-name:before {
    content: " ";
    position: absolute;
    top: 10px;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 12px;
    background-color: #fff;
}
.dse-calculator-container .subject-table table tfoot tr.add td.subject-name:after {
    content: " ";
    position: absolute;
    top: 15px;
    left: 50%;
    margin-left: -6px;
    width: 12px;
    height: 2px;
    background-color: #fff;
}
.dse-calculator-container .subject-table table tfoot tr.add td.add-subject {
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #a7a9aa;
}
.dse-calculator-container .subject-table table tfoot tr.result td.result {
    padding: 0 20px;
    text-align: right;
    font-weight: 600;
    background-color: #000;
    color: #fff;
}
.dse-calculator-container .subject-table table tfoot tr.result td.result span:first-child {
	float: right;
	font-size: 24px;
	line-height: 1.5;
}
.dse-calculator-container .subject-table table tfoot tr.result td.result span:last-child {
	float: right;
	margin-right: 4px;
	line-height: 3.6;
}
.dse-calculator-container .subject-table table th,
.dse-calculator-container .subject-table table td {
    padding-top: 2%;
    padding-bottom: 2%;
    font-size: 10px;
}
.dse-calculator-container .buttons-container {
    margin-top: 15px;
    overflow: hidden;
}
.dse-calculator-container .buttons-container .buttons {
    float: right;
    width: 255px;
}
.dse-calculator-container .buttons-container .buttons a {
    float: left;
    width: 50%;
    padding: 6px 0;
    text-align: center;
    font-size: 12px;
    border: 1px solid #528294;
}
.dse-calculator-container .buttons-container .buttons a.search {
    float: right;
    background-color: #528294;
    color: #fff;
}
.dse-calculator-container .remark {
    padding: 0 20px;
    margin-top: 60px;
    font-size: 12px;
}
.dse-pop .modal-body {
    padding-bottom: 100px;
}
.dse-pop .subject-list {
    padding: 0 15px;
}
.dse-pop .subject-list .subject {
    position: relative;
    margin-bottom: 10px;
    padding-right: 35px;
    line-height: 1.4;
}
.dse-pop .subject-list .subject:after {
    content: " ";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 27px;
    height: 27px;
    border-radius: 5px;
    background-color: #f2f2f2;
}
.dse-pop .subject-list .subject.selected:after {
    background-color: #528294;
    color: #fff;
    font-size: 22px;
    text-align: center;
}
.dse-pop .subject-list .subject .name-e {
    font-weight: 600;
    font-size: 14px;
}
.dse-pop .subject-list .subject .name-c {
    font-size: 12px;
}
.dse-pop .buttons {
    padding: 20px 0;
    text-align: center;
}
.dse-pop .buttons a {
    display: inline-block;
    padding: 5px 50px;
    border: 1px solid #528294;
    color: #528294;
    text-decoration: none;
}
.dse-pop .buttons a.add {
    background-color: #528294;
    color: #fff;
}
.subject-buttons {
    position: fixed;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    z-index: 99999;
}
.subject-buttons a {
    display: inline-block;
    padding: 4px 40px;
    border: 1px solid #528294;
    color: #528294;
    text-decoration: none;
    font-size: 12px;
}
.subject-buttons a.add {
    background-color: #528294;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    .dse-calculator-container .head-bar {

    }
    .dse-calculator-container .subject-table table thead th.subject-name {
        width: 120px;
    }
    .dse-calculator-container .subject-table table tbody td.subject-name {
        font-size: 16px;
    }
    .dse-calculator-container .subject-table table tbody td.subject-name > div {
        width: 100%;
    }
    .dse-calculator-container .subject-table table th,
    .dse-calculator-container .subject-table table td {
        padding-top: 1.5%;
        padding-bottom: 1.5%;
        font-size: 20px;
    }
    .dse-calculator-container .subject-table table tfoot tr.result td.result span:last-child {
        font-size: 18px;
    }
    .dse-calculator-container .subject-table table tfoot tr.result td.result span:first-child {
        font-size: 42px;
    }
    .dse-calculator-container .subject-table table tfoot tr.add td.add-subject {
        padding: 8px 10px;
        font-size: 18px;
    }
    .dse-calculator-container .subject-table table tfoot tr.add td.subject-name:before {
        top: 20px;
    }
    .dse-calculator-container .subject-table table tfoot tr.add td.subject-name:after {
        top: 25px;
    }
    .dse-calculator-container .buttons-container .buttons {
        width: 530px;
    }
    .dse-calculator-container .buttons-container .buttons a {
        padding: 8px 0;
        font-size: 18px;
    }
    .dse-calculator-container .remark {
        padding: 0;
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .dse-calculator-container .page-caption .title {
        font-size: 28px;
    }
    .dse-calculator-container .subject-table table tfoot tr.add td {
        height: 34px;
    }
}
