body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
    position: relative;
    min-height: 100vh;

}

body::after {
    content: '';
    display: block;
    height: 300px;
}

h2 {
    font-weight: 500;
}

img {
    width: 100px
}

ul {
    padding: 0;
    margin: 0
}

li {
    list-style: none
}

a {
    text-decoration: none
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto
}

.header {
    width: 100%;
    transition: all .3s ease-in
}

.header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    max-width: 2500px;
    width: 100%
}

.header__btn {
    width: 15px;
    height: 15px;
    position: absolute;
    left: 15px;
    top: 25px
}

.header__btn span {
    width: 100%;
    height: 2px;
    background-color: #888;
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    transform: translate(0, -50%)
}

.header__btn span::after {
    content: '';
    display: block;
    position: relative;
    top: -7px;
    height: 2px;
    width: 100%;
    background-color: #888
}

.header__btn span::before {
    content: '';
    display: block;
    position: relative;
    bottom: -5px;
    height: 2px;
    width: 100%;
    background-color: #888
}

.header.active .menu {
    display: block
}

.header__logo {
    width: 130px;
    transition: all .3s ease-in
}

.header__logo img {
    width: 100%
}

.header nav {
    width: 100%;
    background-color: #ffff
}

.header nav li {
    text-transform: uppercase;
    padding: 10px 10px 0 20px;
    font-size: 13px
}

.header nav li a {
    color: #888;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
    font-size: 14px
}

.header nav li a i {
    font-size: 10px
}

.header nav li.submenu li:last-child {
    border: none;
    padding-bottom: 0
}

.header nav li.submenu li {
    padding: 10px 0;
    margin-left: 10px
}

.header nav li.active i {
    transform: rotate(90deg)
}

.header nav li.active ul {
    display: block !important
}

.header nav .menu {
    display: none
}

.header nav .menu .submenu ul {
    display: none;
    transition: all .3s ease-in-out
}

@media (min-width:1200px) {
    .header {
        position: sticky;
        top: 0;
        background-color: #ffff;
        z-index: 300;
        max-height: 122px
    }

    .header__btn {
        display: none
    }

    .header__logo {
        background-color: #ffff;
        width: 194px;
        margin-top: 5px
    }

    .header .container {
        align-items: center;
        justify-content: space-between;
        width: 95%
    }

    .header nav {
        width: 80%
    }

    .header nav .menu {
        display: flex;
        justify-content: flex-end
    }

    .header nav .menu li {
        padding: 30px 17px;
        transition: all .3s ease-in-out;
        line-height: 50px
    }

    .header nav .menu li i {
        display: none
    }

    .header nav .menu li a {
        color: #303030;
        transition: all .3s ease-in-out;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        border-bottom: none
    }

    .header nav .menu li:hover {
        background-color: #cf282f
    }

    .header nav .menu li:hover a {
        color: #ffff
    }

    .header nav li.submenu {
        position: relative;
        transition: all .3s ease-in-out
    }

    .header nav li.submenu:hover ul {
        display: block;
        position: absolute;
        left: 0;
        width: 200px;
        top: 120px;
        background-color: #cf282f;
        padding: 10px 10px 10px 20px
    }

    .header nav li.submenu:hover ul li {
        line-height: 30px
    }

    .header nav li.submenu:hover ul li a {
        color: #ffff
    }

    .header nav a {
        font-weight: 600
    }
}

.heading {
    background-color: #bc2328;
    color: #ffff;
    padding: 15px 0
}

.heading .container {
    margin-left: 50px
}

.heading h1 {
    font-size: 25px;
    font-weight: 600;
    text-transform: none;
    margin: 0
}

.heading ul {
    display: flex;
    margin: 25px 25px 0 0
}

.heading ul li {
    margin-right: 5px;
    font-size: 13px
}

@media (min-width:768px) {
    .heading .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: -15px auto 0 auto;
        padding: 0 0 30px 0
    }

    .heading .container h1 {
        position: relative;
        margin-left: 50px
    }

    .heading .container h1::after {
        content: '';
        background-color: #ffff;
        height: 2px;
        width: 20px;
        position: absolute;
        bottom: -15px;
        left: 0
    }
}

.banner {
    width: 100%
}

.banner img {
    width: 100%
}

main {
    width: 100%
}

main .training {
    min-width: 100%;
    text-align: center;
    margin-bottom: 100px;
}

main .training h2 {
    /*text-transform: uppercase*/
}

main .training__box {
    margin: 60px 0
}

main .training__box a {
    text-transform: uppercase;
    border: 1px solid #cf282f;
    color: #303030;
    width: 80%;
    display: flex;
    margin: 0 auto;
    max-width: 480px;
    height: 80px;
    align-items: center;
    justify-content: center;
    transition: .3s ease-in;
    font-size: 18px
}

main .training__box a:hover {
    background-color: #cf282f;
    color: #ffff
}

.footer {
    background-color: #cf282f;
    color: #ffff;
    font-style: normal;
    padding: 30px 0 0 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 300px;
}

.footer h3 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase
}

.footer a {
    color: #ffff;
    display: block;
    font-size: 14px
}

.footer__data {
    margin: 20px 0
}

.footer__data h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600
}

.footer p {
    margin: 0;
    font-size: 14px
}

.footer__copyright {
    margin: 20px 0
}

.footer address {
    font-size: 14px;
    font-style: normal;
    line-height: 20px
}

@media (min-width:768px) {
    .training .container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap
    }

    .training__box {
        width: 50%
    }
}

@media (min-width:768px) {
    .footer .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 1100px;
        width: 100%
    }

    .footer__data {
        width: 45%;
        margin: 20px
    }

    .footer__copyright {
        margin: 50px auto 0 auto
    }

    .footer__copyright p {
        font-size: 12px
    }
}

@media (min-width:1200px) {
    .footer {
        font-weight: 400
    }

    .footer .container {
        align-items: flex-start
    }

    .footer__data {
        width: 24%;
        margin: 20px auto
    }
}

@media (min-width:992px) {
    .header.sticky {
        max-height: 110px
    }

    .header.sticky .header__logo {
        width: 140px
    }

    .header.sticky nav li {
        padding: 15px 17px
    }

    .header.sticky nav li.submenu:hover ul {
        top: 90px
    }
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.35rem;
}

.alert-heading {
    color: inherit;
}

.alert-link {
    font-weight: 700;
}

.alert-dismissible {
    padding-right: 4rem;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
}

.alert-primary {
    color: #293c74;
    background-color: #dce3f9;
    border-color: #cdd8f6;
}

.alert-primary hr {
    border-top-color: #b7c7f2;
}

.alert-primary .alert-link {
    color: #1c294e;
}

.alert-secondary {
    color: #45464e;
    background-color: #e7e7ea;
    border-color: #dddde2;
}

.alert-secondary hr {
    border-top-color: #cfcfd6;
}

.alert-secondary .alert-link {
    color: #2d2e33;
}

.alert-success {
    color: #0f6848;
    background-color: #d2f4e8;
    border-color: #bff0de;
    padding: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.alert-success hr {
    border-top-color: #aaebd3;
}

.alert-success .alert-link {
    color: #093b29;
}

.alert-info {
    color: #1c606a;
    background-color: #d7f1f5;
    border-color: #c7ebf1;
}

.alert-info hr {
    border-top-color: #b3e4ec;
}

.alert-info .alert-link {
    color: #113b42;
}

.alert-warning {
    color: #806520;
    background-color: #fdf3d8;
    border-color: #fceec9;
}

.alert-warning hr {
    border-top-color: #fbe6b1;
}

.alert-warning .alert-link {
    color: #574516;
}

.alert-danger {
    color: #78261f;
    background-color: #fadbd8;
    border-color: #f8ccc8;
}

.alert-danger hr {
    border-top-color: #f5b7b1;
}

.alert-danger .alert-link {
    color: #4f1915;
}

.alert-light {
    color: #818183;
    background-color: #fefefe;
    border-color: #fdfdfe;
}

.alert-light hr {
    border-top-color: #ececf6;
}

.alert-light .alert-link {
    color: #686869;
}

.alert-dark {
    color: #2f3037;
    background-color: #dedee1;
    border-color: #d1d1d5;
}

.alert-dark hr {
    border-top-color: #c4c4c9;
}

.alert-dark .alert-link {
    color: #18181c;
}

.list-event {
    width: 100%;
    display: flex;
    /*border: 1px solid black;
    border-radius: 8px;*/
    padding: 5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.list-event-item {
    width: 100%;
    flex: 100%;
    text-align: center;
    color: #cf282f;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 20px;
}

.list-event-item:nth-child(1) {
    text-align: left;
    min-width: 500px;
}

.list-event-item:nth-child(2) {
    color: black;
    font-size: 14px;
    margin-top: 2px;
}

.list-event-item:nth-child(3) {
    text-align: center;
}

.list-event-item:nth-child(4) {
    color: black;
    font-size: 14px;
    margin-top: 2px;
}

main {
    min-height: 300px;
}

.event-form {
    width: 100%;
    display: flex;
    color: red;
    padding: 5px;
    font-size: 16px;
    /*text-transform: uppercase;*/
}

.event-item {
    margin: auto;
}

.form-box {
    margin: 20px;
    display: flex;
    padding: 0 50px 50px;
    text-align: center;
    border-radius: 25px;
    max-width: 80%;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}

.form-row {
    margin: 20px;
    display: flex;
    text-align: center;
    max-width: 700px;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.form-box-element {
    text-align: center;
    color: #cf282f;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 5px;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.form-box-element input {
    height: 25px;
    margin: auto;
    width: 99%;
    min-width: 50px;
}

.form-box-element select {
    width: 310px;
    height: 31px;
    margin-left: 15px;
}

.form-box-element-full input[type='checkbox'] {
    margin: 10px 0px;
}

.form-box-element-full {
    width: 100%;
}

.form-box-element-button-box {
    margin-top: 50px;
}

.form-box-element-quarter {
    text-align: center;
    color: #cf282f;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 3px;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.form-box-element-quarter input {
    height: 25px;
    margin: auto;
    width: 150px;
}

.form-box-element-quarter select {
    width: 130px;
    height: 31px;
}

.form-box-element-button-box {
    margin-top: 50px;
}

.form-box button {
    float: right;
    color: #fff;
    background-color: #cf282f;
    border-color: #cf282f;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.35rem;
    margin-right: 20px;
}

.form-head {
    flex: 100%;
}

#form-invoice {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.flash-form {
    min-height: 20px;
    height: unset;
}

.form-box table,
.form-box th,
.form-box td {
    border: 1px solid black;
    padding: 5px;
}

.register-box input[type='checkbox'] {
    float: left;
    position: relative;
    margin-top: 0px;
    margin-right: 5px
}

.register-box .form-box-element-full-left {
    text-align: left;
}

@media only screen and (max-width: 640px) {
    .form-box {
        padding: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .form-box {
        padding: 0;
    }

    body::after {
        content: '';
        display: block;
        height: 400px;
    }

    .footer {
        height: 400px;
    }

    .list-event-item:nth-child(1) {
        min-width: unset;

    }

    main .training {
        overflow-x: auto;
    }

    .container {
        min-width: 90%;
        width: unset;
    }
}

@media only screen and (max-width: 814px) {
    .form-box {
        padding: 0;
    }

    body::after {
        content: '';
        display: block;
        height: 650px;
    }

    .footer {
        height: 650px;
    }
}

.block-box {
    background-color: #e2e2e2;
}

.event-list .container {
    max-width: unset !important;
    min-width: 95%;
    margin-bottom: 50px;
}

.event-list hr,
.training hr,
.form-box hr {
    height: 2px;
    background-color: #cf282f;
    width: 100%;
    border: none;
}

.choose-event-button {
    float: right;
    color: #fff;
    background-color: #cf282f;
    border-color: #cf282f;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.35rem;
}

input {}

.button-close {
    color: #fff;
    background-color: gray;
    border-color: gray;
}