@font-face {
    font-family: Montserrat;
    src: url('/fonts/Montserrat/static/Montserrat-Medium.ttf');
}

body {
    font-family: "Montserrat";
    font-size: 16px;
    margin: 10px;
    line-height: 25px;
}

div, a, input, button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h1 {
    line-height: 40px;
    margin: 30px 0;
    text-align: center;
}

li {
    margin: 10px 0;
}

img {
    width: 100%;
    border-radius: 30px;
}

table {
    width: 100%;
    margin-bottom: 30px;
}

table, th, td {
    border: solid 1px black;
    border-collapse: collapse;
}

th, td {
    padding: 15px 0;
}

td {
    background-color: green;
    text-align: center;
}

table tr:first-child > th {
    width: 12.5%;
}

table tr:first-child > th:first-child {
    width: 25%;
}

input, button {
    display: block;
    font-size: 16px;
    
    width: 100%;
    margin: 15px 0;
    padding: 15px 15px;
    border-radius: 15px;
    border: 4px solid lightgrey;
    outline: none;
}

input:focus {
    border: 4px solid rgb(170, 0, 64);
}

button {
    background-color: rgb(240, 240, 240);
    border: none;
    transition: background-color 0.5s;
}

button:hover {
    background-color: lightgrey;
    cursor: pointer;
}



.time_unavailable {
    background-color: red;
}

.time_expected {
    background-color: orange;
}

.time_problematic {
    background-color: yellow;
}

.time_variable {
    background-color: greenyellow;
}

.time_break {
    background-color: black;
    color: white;
}

#header {
    height: 90px;

    background: -webkit-linear-gradient(135deg, rgb(170, 0, 64) 50%, rgb(255, 255, 255), rgb(255, 255, 255) 50%);
    background: -moz-linear-gradient(135deg, rgb(170, 0, 64) 50%, rgb(255, 255, 255), rgb(255, 255, 255) 50%);
    background: linear-gradient(135deg, rgb(170, 0, 64) 50%, rgb(255, 255, 255), rgb(255, 255, 255) 50%);
}

#header > a {
    content: "asdadsads";
    width: 230px;
    margin: 0;
    margin-top: 27px;
    padding: 0;
    float: left;

    line-height: 40px;
    text-align: center;
    font-size: 30px;

    background-color: transparent;
    color: white;
    text-shadow: 0px 0px 5px black;
    border: none;
}

#header > a:hover {
    background-color: white;
    text-shadow: 2px 2px 0px black, -2px -2px 0px black;
}

#header > div {
    display: inline;
    width: 175px;
    margin-top: 35px;
    margin-bottom: 25px;
    padding: 0;

    text-align: right;
    float: right;
    border-radius: 30px;
}

@media only screen and (min-width: 500px) {    
    #header > div {
        display: inline;
    }
}

@media only screen and (max-width: 500px) {
    #header {
        height: 125px;
    }

    #header > a {
        display: block;
        margin: auto;
        margin-top: 25px;
        float: none;

        text-align: center;
        background-color: black;
    }

    #header > div {
        display: block;
        width: 190px;
        margin: auto;
        margin-top: 15px;
        padding: 0;
        float: none;

        line-height: 20px;
        text-align: center;
        background-color: white;
        box-shadow: 3px 3px 0px black;
        color: black;
        text-shadow: -1px 0px 0px white, -2px 0px 0px white;
    }
}

@media only screen and (max-width: 370px) {
    .section {
        width: 335px;
        padding: 1px 18px;
    }
}

@media only screen and (max-width: 620px) and (min-width: 370px) {
    .section {
        padding: 1px 4.83vw;
    }
}

@media only screen and (min-width: 620px) {
    .section {
        width: 600px;
        padding: 1px 30px;
    }
}

.section {
    margin: auto;
    margin-bottom: 30px;

    box-shadow: 0px 0px 10px black;
    border-radius: 30px 3px 30px 3px;
}

a {
    display: block;
    width: 100%;
    padding: 15px 15px;
    margin: 15px 0;

    text-align: center;
    text-decoration: none;

    border-radius: 15px;

    background-color: rgb(240, 240, 240);
    color: black;
    transition: background-color 0.5s; 
}

a:link, a:visited, a:hover, a:active, a:focus {
    text-decoration: none;
}

a:hover {
    background-color: lightgrey;
}

.checkmark_ul_direct_children {
    padding-inline-start: 20px;
}

.checkmark_ul_direct_children > li {
    list-style: none;
}

.checkmark_ul_direct_children > li::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    margin-bottom: 3px;

    background-image: url('checkmark.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.two_image_links {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    border-bottom: solid 1px black;
    
}

.two_image_links > a {
    width: 50%;
    padding: 0;
    overflow: hidden;
    float: left;

    padding-bottom: 9999px;
    margin-bottom: -9999px;
    margin-top: 0;

    background-color: white;
    text-align: left;
    border: solid 0px black;
    border-top: solid 10px black;
    margin-top: -10px;

    transition: background-color 0.5s, margin 0.5s;
}

.two_image_links > a:hover {
    background-color: lightgrey;
    border: solid 0px black;
    border-top: solid 10px black;
    margin-top: 0px;
}

.two_image_links > a:first-child {
    border-radius: 30px 0 0 0;
    border-right: solid 2px black;
}

.two_image_links > a:last-child {
    border-radius: 0 30px 0 0;
    border-left: solid 2px black;
}

.two_image_links > a > div:first-child {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.two_image_links > a > div:last-child {
    padding: 15px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.two_image_links > a > div:last-child > b {
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 5px;
    text-decoration-color:black;
    line-height: 45px;

    transition: text-decoration-color 0.5s;
}

.two_image_links > a:hover > div:last-child > b {
    text-decoration-color:rgb(170, 0, 64);
}

.two_image_links > a:first-child > div:first-child {
    background-image: url("vladislav.jpg");
}

.two_image_links > a:last-child > div:first-child {
    background-image: url("darya.jpg");
}