html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

header {
    height: 50px;
    line-height: 50px;
    padding-left: 50px;
    box-sizing: border-box;
    width: 100%;
    background-color: #1D4A6B;
    color: white;
}
header .sideArea {
    float: right;
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
    margin-right: 10px;
}
.startBtn {
    cursor: pointer;
    width: 90px;
    height: 40px;
    color: white;
    font-size: 15px;
}
.sectionBettingPattern table, .sectionAddBettingPattern table {
    width: 100%;
    table-layout: fixed;
    border-spacing: 8px;
}

button {
    border: none;
    background-color: transparent;
}
input {
    text-align: right;
    border: 1px solid lightgray;
    border-radius: 5px;
}
input.active {
    border: 1px solid black;
    background-color: #1D4A6B;
    color: white;
}

.guideWrapper {
    padding-left: 10px;
    padding-right: 150px;
    font-size: 14px;
}
.advancedOptionWrapper {
    padding-left: 5px;
    margin-top: 10px;
}

.bottomWrapper {
    padding: 10px;
    display: flex;
    gap: 10px;
}
.bottomWrapper div:nth-child(1) {
    flex: 8;
}
.bottomWrapper div:nth-child(2) {
    flex: 2;
}
.bottomWrapper div:nth-child(3) {
    flex: 2;
}

.sectionHeader {
    font-size: 19px;
    margin-top: 10px;
    margin-bottom: 4px;
}
.patternWrapper {

}
.patternRow {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    height: 30px;
}
.patternRow .searchPattern {
    flex: 9;
}
.patternRow .targetBetting {
    flex: 1;
    text-align: center;
}
.patternRow .targetBetting.large {
    flex: 2;
}
.patternRow .patternRemoveBtnWrapper {
    flex: 1;
    text-align: center;
}
.patternRow .patternRemoveBtnWrapper .patternRemove {
    width: 100%;
    height: 100%;
}

#patternFrame {
    width: 100%;
    height: 400px;
    border: none;
}

.betHistoryWrapper .sectionHeader, .betAmountWrapper .sectionHeader {
    width: 100%;
    border: 1px solid lightgray;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
}
.betHistory table {
    width: 100%;
    table-layout: fixed;
}
.betHistory table thead tr th:nth-child(1) {
    width: 50px;
}
.betHistory table thead tr th:nth-child(4) {
    width: 80px;
}
.betAmountWrapper .betAmount .betAmountLabel {
    font-size: 14px;
    display: inline-block;
    width: 50px;
}
.betAmountWrapper input {
    margin-bottom: 3px;
    width: calc(100% - 50px);
    font-size: 14px;
}
.betAmountWrapper button {
    width: 100%;
    height: 50px;
    margin-top: 5px;
}

.btnApply {
    background-image: url('../img/btn_apply.png');
    width: 133px;
    height: 47px;
    background-repeat: no-repeat;
}
.RoutineBetting {
    background-image: url('../img/routine_betting.png');
    background-repeat: no-repeat;
    width: 133px;
    height: 43px;
    margin-top: 10px;
    margin-bottom: 4px;
}
.MartinBetting {
    background-image: url('../img/martin_betting.png');
    background-repeat: no-repeat;
    width: 133px;
    height: 43px;
    margin-top: 10px;
    margin-bottom: 4px;
}
.BetHistoryTitle {
    background-image: url('../img/bet_history.png');
    background-repeat: no-repeat;
    width: 532px;
    height: 43px;
    margin-top: 10px;
    margin-bottom: 4px;
}
.AddPatternTitle {
    background-image: url('../img/add_pattern.png');
    background-repeat: no-repeat;
    background-position: center center;
    width: 154px;
    height: 77px;
}
.BetPatternTitle {
    background-image: url('../img/bet_pattern.png');
    width: 154px;
    background-position: center center;
}
.BetPatternTitle > div {
    min-height: 80px;
}
.BtnRemove {
    background-image: url('../img/btn_remove.png');
    background-size: cover;
    width: 62px;
    height: 31px;
}
.BtnAdd {
    background-image: url('../img/btn_add.png');
    background-size: cover;
    width: 62px;
    height: 31px;
}