body {
    background-color: #dcf3ff;
}

main.container {
    background-color: #FFFFFF;
    padding: 20px;
    max-width: 800px !important;
    border-radius: 10px;
    box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
}

div.container .row h2 {
    font-size: 28px;
    color: #1055a0;
    margin: 0 0 20px 0;
}

div.container .row .text {
    padding-left: 0;
}

div.container .row .image {
    text-align: right;
    padding: 0 0 20px 0;
}

.bg-dark {
    background-color: #1055a0 !important;
}

.dx-button-mode-contained.dx-button-default,
.dx-button-mode-contained.dx-button-success,
.dx-button-mode-contained {
    background-color: #1055a0 !important;
    border-color: transparent !important;
    color: #fff !important;
}

.dx-button-mode-contained.dx-button-default.dx-state-hover,
.dx-button-mode-contained.dx-button-success.dx-state-hover,
.dx-button-mode-contained.dx-state-hover {
    background-color: #0b3363 !important;
    border-color: transparent;
}

.dx-button-text {
    font-size: 16px;
}

#captcha {
    margin: 20px 0 0 0;
}

#button {
    margin: 20px 0 0 0;
}

#captcha label {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

#captcha_TB_EC {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: red;
}

input {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: black !important;
}

.dx-popup-content p {
    font-size: 14px;
    color: black;
}

.dx-popup-content h1 {
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.dx-popup-content h2 {
    font-size: 18px;
    color: black;
}

.dx-popup-content {
    border-bottom: 1px solid #ddd;
    padding: 0 !important;
}

.dx-scrollview-content {
    padding: 20px;
}

#termsControl .dx-invalid-message {
    display: none !important;
}

#privacyControl .dx-invalid-message {
    display: none !important;
}
/* ---- "register - wersja 2" (AD-1258) ---- */

/* start page and "Thank you for starting the registration!": padding and top margin +20px */
main.container.panel-v2 {
    padding: 40px;
    margin-top: 20px;
}

/* start page: panel fitted to its content */
main.container.panel-fit {
    width: fit-content;
}

/* start page: bold title */
div.container .row h2.title-v2 {
    font-weight: bold;
}

/* start page: e-mail field 500px */
.email-field {
    max-width: 500px;
}

/* "Thank you" page: the gap under the title (old <br />) +20px, the same gap above the bottom rows */
.gap-v2 {
    height: calc(1.5rem + 20px);
}

/* ALTCHA in place of the old "I'm not a robot" checkbox */
.captcha {
    margin: 20px 0;
    max-width: 500px;
}

.server-errors ul {
    margin: 0 0 10px 0;
    padding-left: 20px;
}
