.custom-header {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 30px;
}

.top.custom {
    background: url('/static/images/education/hero-background.jpg');

    /*cover background*/
    background-size: cover;
}

.edu-tab ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

p.list-title {
    margin: 24px 0 5px;
}

.edu-tab li {
    position: relative;
    margin-bottom: 15px;
}

.edu-tab .first {
    padding-bottom: 32px;

    /*vertically align content*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* todo change bg/images */
.img {
    background: #10042c;
}

.second {
    background: rgba(251, 251, 251, 1.0);
    padding: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-tab img,
.edu-block img {
    object-fit: cover;
}

.edu-tab {
    display: flex;
    width: 100%;
}

.edu-tab>div {
    width: 50%;
    flex: 0 0 50%;
    box-sizing: border-box;
}

.edu-tab:nth-child(2n) {
    flex-direction: row-reverse;
}

.edu-tab:nth-child(2n + 1) .first {
    padding-right: 40px;
    padding-top: 32px;
}

.edu-tab:nth-child(2n) .first {
    padding-left: 40px;
    padding-top: 32px;
}

img {
    max-width: 100%;
}

.edu-for h2 {
    text-align: center;
    margin-bottom: 60px;
}

.edu-teach,
.edu-start {
    padding: 128px 0;
}

.edu-aidlab .inner:first-child {
    padding-right: 30px;
}

.edu-aidlab .inner {
    width: 50%;
    float: left;
}

.edu-aidlab {
    padding: 128px 0;
    display: flex;
    width: 100%;
}

.edu-blocks {
    clear: both;
    width: 100%;
    display: inline-block;
    margin-top: 40px;
    vertical-align: top;
}

.edu-block {
    width: calc(2 * 100%/3);
    flex: 0 0 calc(2 * 100%/3);
    display: flex;
    float: left;
}

.edu-teach {
    padding-bottom: 0;
    background: #fcfcfc;
}

.edu-block:nth-child(3n + 1) .img:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 6px 0 6px;
    border-color: #fcfcfc transparent transparent transparent;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
}

.edu-block:nth-child(3n + 2) .img:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 7px 6px 0;
    border-color: transparent #fcfcfc transparent transparent;
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 0;
}

.edu-block:nth-child(3n + 3) .img:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 7px;
    border-color: transparent transparent transparent #fcfcfc;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
}

.edu-block:not(:nth-child(3n + 1)) .content,
.edu-block:not(:nth-child(3n + 1)) .img {
    width: 50%;
    flex: 0 0 50%;
}

.edu-block .content {
    padding: 16px 16px 24px;
}

.edu-block .content,
.edu-block .img {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}

.edu-block:nth-child(3n + 1) {
    width: calc(100%/3);
    flex: 0 0 calc(100%/3);
    flex-direction: column;
}

.edu-block:nth-child(3n + 2) {
    flex-direction: row-reverse;
}

.edu-p .note {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.option {
    text-transform: uppercase;
}

.option .dot:first-of-type {
    margin-left: 10px;
}

.option .dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    background: #10042c;
    border: 1px solid #10042c;
    border-radius: 50%;
    margin: 1px 0 1px 3px;
}

.option .dot.empty {
    background: #fcfcfc;
}

.create.custom .row {
    padding: 6.944444444444445vw 0;
}

.create.custom {
    padding-top: 9.722222222222221vw;
}

.custom-offset {
    padding-bottom: 64px;
}

.page-top-social-links svg {
    fill: #fff;
    width: 30px;
    vertical-align: middle;
}

.page-top-social-links.custom i {
    color: white;
    font-size: 22px;
    margin: 0 14px;
}

/*modal*/
.custom-trigger-block .top-note {
    position: absolute;
    top: -21px;
    color: white;
    left: 7%;
    right: 7%;
    padding: 10px 15px;
    font-size: 14px;
    box-sizing: border-box;
    text-align: center;
    display: block;
    letter-spacing: 1px;
    z-index: 2;
}

.custom-trigger-block:hover .player {
    max-width: 120px;
}

.custom-trigger-block .player {
    /*position: absolute;*/
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    max-width: 100px;
    margin-bottom: 20px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.custom-trigger-block:before {
    content: '';
    position: absolute;
    z-index: 1;
    background: rgba(0, 0, 0, 0.0);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.custom-trigger-block .title {
    font-size: 36px;
    margin-bottom: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
}

.custom-trigger-block .bg {
    min-height: 300px;
    object-fit: cover;
}

.custom-trigger-block .note {
    font-weight: 400;
}

.custom-trigger-block .flex {
    position: absolute;
    z-index: 2;
    color: #fff;
    left: 0;
    height: 100%;
    padding: 50px;
    flex-direction: column;
    display: flex;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
}

.custom-trigger-block img {
    z-index: 0;
}

.custom-trigger-block:hover .flex *,
.custom-trigger-block:active .flex *,
.custom-trigger-block:visited .flex * {
    color: #fff;
}

.custom-trigger-block {
    position: relative;
    display: block;
    text-align: center;
    outline: none;
}

@media (max-width: 992px) {
    .edu-aidlab .inner {
        margin-bottom: 32px;
    }

    .edu-block:nth-child(3n + 1) {
        flex-direction: row;
    }

    .edu-block:nth-child(3n + 1) .content,
    .edu-block:nth-child(3n + 1) .img {
        width: 50%;
        flex: 0 0 50%;
    }

    .edu-block {
        width: 100% !important;
        flex-wrap: wrap;
    }

    .edu-aidlab .inner {
        width: 100%;
        padding-bottom: 20px;
    }

    .edu-block:nth-child(3n + 1) .img:before {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6px 0 6px 7px;
        border-color: transparent transparent transparent #fcfcfc;
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 0;
    }
}

@media (max-width: 767px) {

    .edu-tab img,
    .edu-block img {
        width: 100%;
    }

    .edu-block .img i {
        margin: 64px 0px;
    }

    .edu-block:nth-child(3n + 1) .content,
    .edu-block:nth-child(3n + 1) .img {
        width: 100%;
        flex: 0 0 100%;
        min-height: 0;
    }

    .edu-block:not(:nth-child(3n + 1)) .content,
    .edu-block:not(:nth-child(3n + 1)) .img {
        width: 100%;
        flex: 0 0 100%;
        min-height: 0;
    }

    .edu-tab {
        flex-wrap: wrap;
    }

    .edu-tab>div {
        width: 100%;
        flex: 0 0 100%;
    }

    .custom-header {
        font-size: 14px;
    }

    .top.custom p {
        font-size: 16px;
        font-weight: 400;
    }

    .top.custom h1 {
        font-size: 32px;
    }

    .edu-aidlab .inner {
        margin-bottom: 32px;
    }

    .edu-block:nth-child(3n + 1) .img:before,
    .edu-block:nth-child(3n + 2) .img:before,
    .edu-block:nth-child(3n + 3) .img:before {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 7px 6px 0 6px;
        border-color: #fcfcfc transparent transparent transparent;
        position: absolute;
        z-index: 1;
        top: 0;
        left: 50%;
    }
}