@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb.eot") format('embedded-opentype'),
    url("../fonts/IRANSansWeb.ttf") format('truetype'),
    url("../fonts/IRANSansWeb.woff") format('woff'),
    url("../fonts/IRANSansWeb.woff2") format('woff2');
}
body {
    background: #EEE;
    font-family: 'IRANSansWeb', tahoma, sans-serif;
    font-size: 14px;
}
section#bg-sign {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
}
.sign {
    width: 380px;
    padding: 25px;
    border: solid 2px #AAA;
    border-radius: 10px;
}
.cgradio label {
    width: 100%;
    display: flex;
    border: solid 2px #ce0000;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-height: 120px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.cgradio input[type=radio] {
    display: none;
}
.cgradio input[type=radio]:checked + label{
    background: #ce0000;
    color: white;
}
.dayselection {
    display: inline-block;
    border: solid 2px #DDD;
    padding: 10px;
}
.dayselection section {
    width: 400px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
}
.day {
    width: 55px;
    margin: 0 1px 2px;
}
.day label {
    background: #DDD;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    border-radius: 5px;
    position: relative;
}
.day input[type=radio] {
    display: none;
}
.day input[type=radio]:checked + label, .day input[type=radio]:disabled + label{
    background: #ce0000;
    color: white;
}
.day input[type=radio]:disabled + label::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: white;
    transform: rotate(45deg);
}
.day input[type=radio]:disabled + label::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background: white;
    transform: rotate(-45deg);
}
.form-check-input:checked{
    background-color: #ce0000;
    border-color: #ce0000;
}







@media screen and ( max-width: 500px ) {
    .dayselection section{
        width: 100%;
        flex-flow: wrap;
    }
    .day {
        width: 45px;
    }
}
