/** Choose brigade section */
#choose-brigade {
    display: flex;
    justify-content: space-between;
}

#choose-brigade-text {
    align-self: center;
}

#choose-brigade-images {
    position: relative;
    flex-basis: 60%;
    min-width: 750px;
}

#choose-brigade-images img:not(:last-child) {
    position: absolute;
}

#choose-brigade-user {
    left: 230px;
}

#choose-brigade-money {
    bottom: 80px;
    left: 245px;
}

#choose-brigade-monitor {
    top: 200px;
    right: 310px;
}

#choose-brigade-ellipse {
    width: 110%;
    height: 95%;
    right: -227px;
    bottom: -50px;
    z-index: -2;
}

#two-men-computer {
    top: 10px;
    right: -100px;
}

#man-warehouse {
    top: 100px;
    left: 155px;
    z-index: -1;
}


/** Experience section */
#experience-wrapper {
    margin-top: 0 !important;
}

#experience {
    color: white;
    text-align: center;
    background-color: #D52827;
    padding: 40px 60px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.experience-item {
    display: flex;
    justify-content: space-between;
}

.experience-right {
    font-weight: 700;
    font-size: 56px;
    line-height: 66px;
    letter-spacing: 0.01em;
    flex-basis: 70%;
}

.experience-left {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.05em;
    align-self: center;
    text-align: left;
}


/** About us section */
#about-us {
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
}

#about-us-general {
    display: flex;
    justify-content: space-between;
}

#about-us-general span {
    flex-basis: 50%;
}

#about-us-btn {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}


/** Free brigades section (brigade table component) */
#free-brigades > h2, #free-brigades > h4 {
    text-align: center;
}

.brigade-table {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.brigade {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 56px;
    width: 32%;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border: 1px solid #FAFAFA;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    font-weight: 400;
    color: #808080;
}

.brigade h6 {
    padding: 6px 10px;
    background: #D52827;
    border-radius: 45px;
    font-weight: 500;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
    max-width: 110px;
    text-align: center;
}

.brigade h6#hpp {
    max-width: 202px;
}

.brigade h5 {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    color: #112B3C;
}

.brigade-info a, .brigade-details-btn, .brigade-details a {
    margin-top: 50px;
    font-weight: 400;
    text-decoration-line: underline;
    color: #D52827;
    cursor: pointer;
}

.brigade-info, .brigade-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.brigade-info div {
    display: flex;
    gap: 15px;
}

.brigade-table-sectors {
    display: flex;
    justify-content: center;
    margin: 60px auto 0 auto;
}

.brigade-table-sectors span {
    font-size: 50px;
    margin: 15px 17px 5px 17px;
}


.brigade-table-sectors input {
    background-color: transparent;
    color: black;
    border: 0;
    font-weight: 700;
    font-size: 37px;
    line-height: 56px;
    color: #112B3C !important;
    margin-bottom: 10px;
}


.brigade-table-sectors input:hover {
    background-color: transparent;
    text-decoration: underline;
}

.brigade-table-sectors input:active, .brigade-table-sectors input:focus, .brigade-table-sectors input:context-menu {
    background-color: transparent;
    border: 0;
    text-decoration: none;
}

.brigade-table-sectors input.active {
    background-color: #e03444;
    border-radius: 35px;
    padding: 5px 15px 5px 15px;
}

@media screen and (min-width: 0px) and (max-width: 900px) {
    .brigade-table-sectors input {
        font-weight: 600;
        font-size: 25px;
        line-height: 40px;
    }

    .brigade-table-sectors span {
        margin: 10px 12px 5px 12px;
        font-size: 40px;
    }
}

@media screen and (min-width: 0px) and (max-width: 650px) {
    .brigade-table-sectors input {
        font-weight: 600;
        font-size: 18px;
        line-height: 25px;
    }

    .brigade-table-sectors span {
        margin: 2px 12px 5px 12px;
        font-size: 30px;
    }
}

@media screen and (min-width: 0px) and (max-width: 500px) {
    .brigade-table-sectors input {
        font-size: 3.5vw;
    }

    .brigade-table-sectors span {
        margin: 2px 7px 5px 7px;
        font-size: 6vw;
    }
}


.brigade-table-filter {
    display: flex;
    justify-content: space-between;
    margin: 5px 100px 60px 100px;
    padding: 16px 24px;
    background: #FFFFFF;
    border: 1px solid #FAFAFA;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.02);
    border-radius: 112px;
}

.brigade-table-filter select {
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    background-position: center right;
    background-repeat: no-repeat;
    border: 0;
    outline: 0;
    color: #555;
    font-size: inherit;
    margin: 0;
    overflow: hidden;
    padding-top: 2px;
    padding-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brigade-table-filter-inputs {
    display: flex;
    gap: 50px;
}

.brigade-table-filter-input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.brigade-table-filter-input-group + .brigade-table-filter-input-group {
    border-left: 1px solid rgba(10, 11, 58, 0.5);
    padding-left: 50px;
}

.brigade-table-filter-inputs input {
    width: 100%;
    border: 0;
    outline: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    color: rgba(10, 11, 58, 0.5);
    background: transparent;
}

.paginator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination li {
    border: none !important;
    background: transparent !important;
}

.pagination li a {
    font-family: 'Roboto' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 160% !important;
    color: #808080 !important;
    border: none !important;
    background: transparent !important;
    margin: 0 5px;
}

.pagination li.active a {
    text-decoration-line: underline;
    color: #D52827 !important;
}

.pagination li a:hover {
    text-decoration-line: underline;
    color: #D52827 !important;
    cursor: pointer;
}


/** Our process section */
#our-process {
    padding: 0 100px;
}

#our-process h2, #our-process h4, #reasons h2, #reasons h4 {
    text-align: center;
}

#how-it-works-process {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

#how-it-works {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#how-it-works + div {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.how-it-works-item {
    background: #FFFFFF;
    padding: 40px;
    border: 2px solid #D52827;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
}

.how-it-works-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.how-it-works-item a, .reason-text a {
    text-decoration-line: underline;
    color: #D52827;
}

.how-it-works-text {
    padding-top: 30px;
    border-top: 1px solid #D52827;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.015em;
    color: #8295AC;
}

.how-it-works-title, #how-it-works-process {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    color: #112B3C;
}


/** Reasons section */
#reasons-text {
    flex-basis: 100%;
}


/** Screen size dependent styling */
@media screen and (min-width: 0px) and (max-width: 772px) {
    #about-us-general {
        flex-direction: column;
        gap: 30px;
    }

    #about-us-btn {
        align-self: flex-start;
    }
}

@media screen and (min-width: 0px) and (max-width: 1044px) {
    .brigade-table {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .brigade {
        width: 100%;
    }

    .brigade-table-filter {
        margin: 5px 0 60px 0;
        align-items: center;
    }

    .brigade-table-filter-inputs {
        gap: 10px;
        flex-direction: column;
    }

    .brigade-table-filter-input-group {
        justify-content: flex-start;
    }

    .brigade-table-filter-input-group + .brigade-table-filter-input-group {
        border-left: none;
        padding-left: 0;
    }

    #our-process {
        padding: 0;
    }
}

@media screen and (min-width: 0px) and (max-width: 1126px) {
    #choose-brigade {
        flex-direction: column;
    }

    #choose-brigade-text {
        max-width: 80%;
        align-self: flex-start;
    }

    #choose-brigade-images {
        min-width: initial;
    }

    #choose-brigade-money, #choose-brigade-monitor {
        display: none;
    }

    #man-calling {
        width: 50%;
    }

    #two-men-computer {
        left: 100px;
        bottom: 40px;
        top: initial;
        right: initial;
        width: 20%;
        z-index: -1;
    }

    #man-warehouse {
        left: 250px;
        width: 20%;
    }

    #choose-brigade-user {
        left: 150px;
        top: 100px;
        width: 10%;
        z-index: -1;
    }
}

@media screen and (min-width: 0px) and (max-width: 1440px) {
    #choose-brigade-images {
        overflow: hidden;
    }
}

div.hint-form {
    margin-top: 30px;
    border: 1px solid lightgray;
    padding: 25px 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center; 

}

div.hint-form textarea {
    width: 400px !important;
    max-width: 400px;
    min-height: 90px;
    height: 90px;
    max-height: 350px;
    margin-top: 20px;
}

div.hint-form select.hint-time {
    width: 200px !important;
    margin-top: 15px;
}

div.hint-form div.col {
    display: inline;
    margin: 0 40px;
}

input.hint-send {
    float: right;
}

input.hint-add-day {
    color: white;
    background-color: rgb(141, 141, 141);
}

@media screen and (max-width: 1310px) {
    div.hint-form {
        display: block;
        margin: 0 auto;
        max-width: 650px;
    }

}

@media screen and (max-width: 767px) {

    div.hint-form * {
        margin: 0 !important;
    }
    

}

@media screen and (max-width: 500px) {

    div.hint-form textarea {
        width: calc(100% - 10px) !important;
        max-width: calc(100% - 10px);

    }
    

}

section#watchdog {
    margin-bottom: 30px
}

a.watchdog {
    border-radius: 30px;
    font-size: 18px;
    padding: 15px 18px 13px 18px;
}

a.watchdog-unsubscribe {
    border-radius: 30px;
    font-size: 14px;
    padding: 10px 15px;
}