html{height:100%}
body{
    background-color: rgb(249, 250, 251);
    min-height: 100vh;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    box-sizing: border-box;
}
.container-fluid {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header {
    display: flex;
    align-items: center;
    border:1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height:100px;
    background-color: #fff;
}
.left-header {
    width: 80%;
    text-align: left;
    padding: 20px;
}
.right-header {
    width: 20%;
    padding: 20px;
    text-align: right;
}
.main {
    display: flex;
    min-height: calc(100% - 180px);
}
.left-block {
    margin-top: 12px;
    box-sizing: border-box;
    width: 250px;
    text-align: center;
    align-self: stretch;
    border:1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    padding: 10px;
}
.right-block {
    flex-grow: 1;
    margin-top: 12px;
    margin-left:12px;
    max-width: 100%;
    width: 320px;
}
#chessboard-wrap {
    border-radius: 2px;
    border:1px solid #ccc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    overflow-x:scroll;
}
.left-header h1 {
    font-size:22px;
    line-height: 12px;
    color:#333;
}
.left-header p {
    font-size:20px;
    line-height: 12px;
    color:#333;
}
.right-header a {
    text-decoration: none;
    display: inline-block;
    border:1px solid #bbb;
    border-radius: 2px;
    color:#333;
    padding: 5px 20px;
    font-size: 20px;
    transition: 0.3s;
}
.right-header a:hover {
    background-color: #333;
    color:#fff;
}
.left-block h2 {
    text-align: left;
    font-size: 20px;
}
.left-block input {
    width: 100%;
    box-sizing: border-box;
    font-size:16px;
    padding: 8px 10px;
}
.left-block .daySel {
    max-width: 100% ;
}

#modal, #message {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 999;
    justify-content: center;
}
.modal-wrap {
    width: 100%;
    max-width:450px;
    align-self: center;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.hidden {
    display: none;
}
.flex {
    display: flex;
}
.error #messageTitle{
    background-color: red !important;
}
.success #messageTitle{
    background-color: green !important;
}

#closeMessage2{
    margin-bottom: 40px;
    font-size: 24px;
}
.d-img {
    display: inline-block;
    width: 50px;
    height: 30px;
    border:2px solid #ccc;
}
.d-text {
    display: inline-block;
    padding-top: 7px;
    font-size: 18px;
    vertical-align: top;
}
.line {
    display: block;
}
.description {
    width: 100%;
    margin-top:15px;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.left-description {
    box-sizing: border-box;
    width:49%;
    display: inline-block;
    vertical-align: top;
    padding: 10px 15px;
}
.right-description {
    box-sizing: border-box;
    width:49%;
    display: inline-block;
    text-align: right;
    padding: 10px 5px;
    min-width: 300px;
}
.right-description img {
    border:2px solid #333333;
}

.spanGen {
    display: block;
    height:100%;
    position: absolute;
    width: 100%;
    top:0;
    padding-top: 10px !important;
    box-sizing: border-box;
}
.spanStart {
    transform: skew(-45deg);
    left: 50%;
    display: block;
    height:100%;
    position: absolute;
    width: 100%;
    top:0;
}

.spanEnd {
    transform: skew(-45deg);
    left: -50%;
    display: block;
    height:100%;
    position: absolute;
    width: 100%;
    top:0;
}

@media (max-width: 630px) {
    .main {
        display: block;
        box-sizing: border-box;
    }
    .left-block {
        display: block;
        width: 100%;
    }
    .right-block {
        box-sizing: border-box;
        width: 100%;
        margin-left:0;
    }
    .left-header h1 {
        font-size: 16px;
        display: none;
    }
    .left-header, .right-header {
        text-align: center;
        line-height: 20px;
        width: 100%;
    }
    .right-description, .left-description {
        width: 100%;
    }
    .right-description img {
        height: auto !important;
        width:100%;
    }
    .left-header h1 {

    }
    .left-header p {
        line-height: 20px;
    }

}

