@import url('https://fonts.googleapis.com/css?family=Montserrat');

.subject h2{
    display: inline-block;
    color: white;
}

.subject.e h2 {
    background-color: red;
}

.subject.g h2 {
    background-color: blue;
}

table {
    margin: 50px auto;
    padding: 50px;
    background-color: #f8f9f9;
    border-collapse: collapse;
    box-shadow: 10px 3px 64px -10px rgba(138,138,138,0.78);
}

table td {
    height: 25px;
    position: relative;
    border: 1px solid #a5a5a5;
}

thead th{
    width: 120px;
}

table .subject{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #24c741;
    z-index: 1;
    text-align: center;
    vertical-align: middle;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    padding-top: 5px;
    border: 1px solid #229738;  
    word-wrap: break-word;
    border-radius: 1px;
    box-shadow: 2px 2px 7px 0px rgba(50, 50, 50, 0.39);
	padding: 5px;
}

.subject.e{
    background: #3eaeaa;
    border: 1px solid #279fab;
    word-wrap: break-word;
}

table .even{
    border-bottom: 1px solid #dedede;
}

tbody tr th{
    font-size: 12px;
    text-align: right;
    vertical-align: top;
    font-weight: normal;
    font-family: monospace;
    background-color: #7b7b7b;
    color: #ffffff;
    padding-right: 5px;

}

thead th{
    padding: 10px 0;
    background-color: #7b7b7b;
    color: #ffffff;
    font-family: ubuntu;
    text-align: center;
    /*border-right: 1px solid #eae7e1;*/ 

}

thead th:first-child{
    width: 50px;
}

#backButton {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
	max-width: 890px;
    background-color: #4ca7af;
    color: white;
    padding: 14px 20px;
    margin: 10px auto;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.completed_msg {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
	max-width: 890px;
    background-color: #daefbe;
    color: #185856;
    padding: 14px 20px;
    margin: auto;
    border: none;
}

.subject.h-2{ height: 49px}
.subject.h-4{ height: 99px}
.subject.h-6{height: 149px}
.subject.h-8{height: 199px}
.subject.h-10{height: 249px}
.subject.h-12{height: 299px}
.subject.h-14{height: 349px}
.subject.h-16{height: 399px}
.subject.h-18{height: 449px}
.subject.h-20{height: 499px}
.subject.h-22{height: 549px}
.subject.h-24{height:599px}

.info {
    text-align: center;
    margin: 30px 10px 70px;
    color: #272727;
    font-weight: 600;
}

.info > a {
    color: #289440;
}

.support-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    margin: 80px 0;
    border-top: 2px solid #dae7db;
    font-weight: 600;
}

.support-container p {
    font-size: 16px;
    color: #686868;
    margin-top: 8px;
    text-align: center;
}

.support-container .bmc-btn {
    transform: scale(0.8);
}

.support-container .bmc-btn:hover {
    color: inherit;
    background-color: #fad874 !important;
}

@media (max-width: 1450px) {
	table td {height: 21px;}

	.subject.h-2{ height: 41px}
	.subject.h-4{ height: 83px}
	.subject.h-6{height: 125px}
	.subject.h-8{height: 167px}
	.subject.h-10{height: 209px}
	.subject.h-12{height: 251px}
	.subject.h-14{height: 293px}
	.subject.h-16{height: 335px}
	.subject.h-18{height: 337px}
	.subject.h-20{height: 419px}
	.subject.h-22{height: 461px}
	.subject.h-24{height:503px}
	
	table .subject{font-size: 12px}

}
