*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    color: #3A4384;
    font-family: 'Assistant', sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: -0.05px;
    line-height: 24px;
    flex: 1 0 auto;
}

.container {
    max-width: 1270px;
    margin: auto;
    width: 100%;
}

.site-header {
    height: 83px;
    display: flex;
    justify-content: center;
}

.site-header__wrap {
    padding-right: 96px;
    padding-left: 126px;
    display: flex;
}

.main-menu .menu {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    margin-right: 50px;
}

.main-menu .menu>li {
    margin-left: 60px;
    position: relative;
}

.main-menu .menu li a {
    color: #3A4384;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2.92px;
    text-decoration: none;
    display: block;
}

.main-menu .menu-item-has-children>a {
    position: relative;
}

.main-menu .menu-item-has-children>a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: #3a4384 transparent transparent transparent;
    margin-right: 7px;
}

.main-menu .menu-item-has-children>a:hover::after {
    border-color: #ff6b6b transparent transparent transparent;
}

.main-menu .menu li a:hover {
    color: #ff6b6b;
}

.main-menu .sub-menu {
    display: none;
    list-style: none;
    min-width: 120px;
    padding: 10px;
    margin: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #fafafa;
    position: absolute;
    top: 100%;
    text-align: center;
    z-index: 999;
}

.main-menu li:hover>.sub-menu {
    display: block;
}

.main-menu .sub-menu a {
    text-align: center;
}

.powered {
    color: #3A4384;
    font-size: 13px;
    letter-spacing: 0.81px;
    font-weight: 400;
    margin: 0;
    margin-right: auto;
}

.powered span {
    font-weight: 600;
}

.header-logos {
    display: none;
}

.main-content {
    position: relative;
    width: 100%;
}

.mobile-content {
    display: none;
}

.main-content__wrap {
    display: flex;
}

/* Homepage start */

.home-page .main-content__wrap  {
    flex-direction: column;
}

.welcome-content,
.buttom-content {
    display: flex;
    position: relative;
    width: 100%;
    max-height: 424px;
}

.welcome-content__right {
    display: flex;
    flex: 2;
    flex-direction: column;
    position: relative;
    width: 68.6%;
    max-height: 424px;
}

.welcome-content__text-wrap,
.welcome-content__buttons {
    width: 100%;
    height: 50%;
    display: flex;
    flex: 1;
    position: relative;
}

.welcome-content__text-wrap > div ,
.welcome-content__buttons > a {
    width: 50%;
    z-index: 999;
}

.welcome-content__text {
    padding-right: 6%;
}

.welcome-content__text h1 {
    color: #3A4384;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: -0.1px;
    line-height: 36px;
    margin: 0;
    padding-top: 3%;
    padding-bottom: 3%;
}

.welcome-content__text p{
    font-size: 19px;
    margin: 0;
}

.welcome-content__logos {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}
.welcome-content__logos > div {
    text-align: center;
}
.partners-logos--appleseed {
    width: 100%;
    padding-bottom: 20px;
}
.partners-logos--workaway,
.partners-logos--hevrati {
    width: 50%;
}

.welcome-content__logos img {
    max-width: 270px;
}
.welcome-content__buttons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: -0.11px;
    text-decoration: none;
}

.welcome-content__buttons a span {
    display: block;
    color: #ffffff;
    font-size: 90px;
    font-weight: 700;
    letter-spacing: -0.45px;
    line-height: 85.5px;
    position: relative;
}

.translatepress-ar .welcome-content__buttons a span {
  font-size: 60px;
}

.welcome-content__buttons a span::after {
    content: "";
    width: 12px;
    height: 20px;
    background-image: url(../img/arrow.png);
    background-repeat: no-repeat;
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.welcome-content__buttons a:hover {
    box-shadow: 0 11px 11px -1px rgba(97, 31, 31, 0.46);
}

.welcome-content__buttons .user-btn {
    background-color: #ff6b6b;
}

.welcome-content__buttons .volunteer-btn {
    background-color: #3a4384;
}

.welcome-content__left {
    width: 34.4%;
    flex: 1;
}
.welcome-content__left img {
    max-width: 100%;
}

.buttom-content__wrap {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}
.buttom-content__image {
    flex: 0 1 50%;
    display: flex;
    flex-direction: column;
}

.buttom-content__image.big {
    flex: 2;
}

.buttom-content__image img {
    max-width: 100%;
}

.buttom-content__wrap

/* Homepage end */

.main-content__right {
    width: 68.6%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-content__welcome {
    display: flex;
}

.main-content__welcome h1,
.main-content__welcome p {
    width: 50%;
}

.main-content__welcome p {
    color: #3A4384;
    font-family: Assistant;
    font-size: 19px;
    padding: 42px 60px 0;
}

.main-content__welcome h1 {
    color: #3A4384;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.1px;
    line-height: 50px;
    margin: 0;
    padding-right: 10%;
    padding-top: 6%;
}

.main-content__welcome,
.main-content__buttons {
    height: 25%;
    max-height: 212px;
    flex-shrink: 0;
}

.main-content__left {
    width: 34.4%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.main-content__left img {
    display: block;
    width: 50%;
}

.main-content__left img.large-img {
    width: 100%;
}

.main-content__images {
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
}

.main-content__images img {
    width: 50%;
    display: block;
}

.main-content__img-wrap {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 50%;
    max-height: 424px;
    align-items: flex-start;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    display: flex;
    flex:1;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
}

.flip-card:hover .flip-card-inner .flip-card-front {
    visibility: hidden;
}

.flip-card:hover .flip-card-inner .flip-card-back {
    visibility: visible;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #fff;
    color: black;
}

.flip-card-front img {
    width: 100%;
}

.flip-card-back {
    background-color: #f5f5f5;
    color: #3a4384;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: -0.05px;
    line-height: 24px;
    visibility: hidden;
}

.flip-card-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-back p {
    width: 83%;
}

.main-content__right--inner-page {
    width: 50%;
    min-height: 850px;
    padding: 50px 100px;
}

.main-content__left--inner-page {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: start;
    background-color: #fafafa;
    padding: 30px;
}

.main-content__left--inner-page img {
    max-width: 100%;
	height:auto;
}

.main-content__right--inner-page h1 {
    font-size: 81px;
    font-weight: 900;
    letter-spacing: -0.17px;
    line-height: 77.62px;
    margin-top: 0px;
    margin-bottom: 15px;
}

.main-content__right--inner-page p {
    color: #ffffff;
}

.main-content__right--inner-page a {
    text-decoration: none;
    color: #ffffff;
}

.user-page {
    background-color: #9b51e0;
}

.user-page h1 {
    color: #fff;
}

.user-page p:last-of-type {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.07px;
    line-height: 21.84px;
}

.user-page a {
    position: relative;
}

.user-page a::after {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 20px;
    background-image: url(../img/heart_icon.png);
    background-repeat: no-repeat;
    background-size: cover;
    left: -34px;
    top: 5px;
}

.volunteer-page {
    background-color: #3a4384;
}

.volunteer-page h1 {
    color: #ff6b6b;
}

.volunteer-page p:last-of-type {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.09px;
    line-height: 21.84px;
}

.wpcf7-form p {
    display: flex;
    flex-wrap: wrap;
}

.wpcf7-form .wpcf7-form-control-wrap {
    width: 50%;
    padding-left: 10px;
    padding-bottom: 10px;
}

.wpcf7-form-control-wrap input:not([type="submit"]),
.wpcf7-form-control-wrap textarea {
    width: 100%;
    padding-left: 10px;
    border: none;
}

.wpcf7-form-control-wrap input:not([type="submit"]) {
    height: 47px;
    padding: 10px 19px;
}

.wpcf7-form-control-wrap input:not([type="submit"])::placeholder,
.wpcf7-form-control-wrap textarea::placeholder {
    color: #3A4384;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.09px;
    line-height: 38.04px;
}

.wpcf7-form-control-wrap textarea::placeholder {
    line-height: 22px;
}

.wpcf7-form-control-wrap.your-lang,
.wpcf7-form-control-wrap.you-can-help {
    position: relative;
}

.wpcf7-form-control-wrap.you-can-help::after,
.wpcf7-form-control-wrap.you-tech::after {
    content: "";
    display: block;
    width: 12px;
    height: 8px;
    background-image: url(../img/select.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-100%);
}

.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 47px;
    padding: 10px 19px;
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    color: #3A4384;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.09px;
    line-height: 29.04px;
    position: relative;
}

.wpcf7-form-control-wrap textarea {
    height: 134px;
    padding: 20px;
}

.wpcf7-form input[type="submit"],
.wpcf7-form-control-wrap.your-message {
    width: 100%;
}

.wpcf7-form input[type="submit"] {
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.11px;
    line-height: 38.04px;
    height: 56px;
    border: none;
    margin-left: 10px;
    cursor: pointer;
}

.user-page .wpcf7-form input[type="submit"] {
    background-color: #3a4384;
}

.volunteer-page .wpcf7-form input[type="submit"] {
    background-color: #ff6b6b;
}

.volunteer-page .input-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.volunteer-page .wpcf7-form label {
    color: #ffffff;
    padding-left: 10px;
    padding-bottom: 10px;
    font-size: 17px;
}

.volunteer-page .wpcf7-form .wpcf7-form-control-wrap {
    width: 100%;
    padding: 0px;
    margin-top: 5px;
}

.volunteer-page .wpcf7-form label,
.volunteer-page .wpcf7-form label>span {
    display: block;
}

.volunteer-page .wpcf7-form label.half {
    width: 50%;
}
.volunteer-page .wpcf7-form label.half:nth-child(even) {
    padding-left: 0;
}

.volunteer-page .wpcf7-form label.full {
    width: 100%;
    padding-left: 0px;
}

.user-page .wpcf7-form label.full {
    width: 100%;
    padding-left: 10px;
}

.full .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    padding-left: 0;
}

.volunteer-page .wpcf7-form label small {
    display: block;
    font-size: 65%;
}

.volunteer-page .wpcf7-form .wpcf7-list-item {
    color: #ffffff;
    margin: 0;
    position: relative;
    font-size: 16px;
}

.volunteer-page .wpcf7-checkbox .wpcf7-list-item label {
    padding-right: 22px;
}

.volunteer-page input[type=checkbox]+span::before,
.volunteer-page input[type=radio]+span::before {
    content: '';
    width: 18px;
    height: 18px;
    position: absolute;
    top: 2px;
    right: -22px;
    background-image: url(../img/checkbox_unchecked.png);
    background-repeat: no-repeat;
}

.volunteer-page .wpcf7-list-item-label {
    position: relative;
}

.volunteer-page input[type=checkbox]:checked+span::before,
.volunteer-page input[type=radio]:checked+span::before {
    background-image: url(../img/checkbox_checked.png);
}

.volunteer-page .your-lang {
    padding: 15px 0;
    border-bottom: 1px solid #ffffff;
}

.volunteer-page .your-lang input[type="checkbox"] {
    display: none;
}

.volunteer-page .your-lang .wpcf7-checkbox {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.volunteer-page .conection, .volunteer-page .impact {
    padding: 15px 0;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff;
}
.volunteer-page .conection label,  .volunteer-page .impact label{
    padding: 0;
}

.volunteer-page .wpcf7-radio input[type="radio"] {
    display: none;
}
.volunteer-page .wpcf7-radio {
    width: 100%;
    display: flex;
    justify-content: start;
}
.volunteer-page .wpcf7-radio label {
    padding-right: 22px;
    margin-right: 15px;
}

.volunteer-page .your-connaction, .volunteer-page .your-impact {
    display: flex;
    max-width: 100px;
}
.volunteer-page .impact {
    margin-bottom: 20px;
}
.translatepress-ar .volunteer-page .impact {
  display: none;
}
.volunteer-page .wpcf7-form input[type="submit"] {
    margin-left: 0px;
}

.volunteer-page .wpcf7-form-control-wrap.you-tech::after,
.user-page .wpcf7-form-control-wrap.lang::after
{
    content: "";
    display: block;
    width: 12px;
    height: 8px;
    background-image: url(../img/select.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 25px;
    top: 60%;
    transform: translateY(-100%);
}

.user-page .wpcf7-form-control-wrap.lang::after {
    top: 50%;
    left: 20px;
}

span.wpcf7-not-valid-tip {
    color: #ffee15;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.08px;
    line-height: 21.84px;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border: none;
    margin-top: -20px;
    color: #ffee15;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.08px;
    line-height: 21.84px;
    padding-right: 0px;
}

.main-content__right--inner-page.thank-you {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-content__right--inner-page.thank-you h1 {
    font-size: 81px;
    font-weight: 700;
    letter-spacing: -0.17px;
    line-height: 87.62px;
}

.gratitude-page .main-content__right--inner-page {
    background-color: #3a4384;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gratitude-page .main-content__left--inner-page {
    background-color: #ffffff;
}

.gratitude-page h1 {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -0.17px;
    line-height: 64px;
    color: #ffb9b9;
}

.gratitude-page h1 small {
    font-size: 30px;
    font-weight: 600;

}

.logo-gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.logo-gallery p {
    height: auto;
    width: 25%;
    padding: 15px;
    margin: 0px;
    text-align: center;
    margin-bottom: 40px;
}

.logo-gallery p:nth-child(-n+3) {
    width: 33%;
    height: auto;
}

@media (max-width:1240px) {
    .container {
        max-width: 1000px;
        margin: auto;
        width: 100%;
    }

    .main-content__wrap.gratitude-page {
        flex-wrap: wrap;
    }

    .welcome-content__text h1 {
        font-size: 28px;
        line-height: 30px;
    }

    .welcome-content__text p {
        font-size: 16px;
    }

    .welcome-content__buttons a {
        font-size: 18px;
    }

    .welcome-content__buttons a span{
        font-size: 60px;
        line-height: 65px;
    }

    .translatepress-ar .welcome-content__buttons a span {
      font-size: 40px;
      line-height: 45px;
    }

    .welcome-content__logos img {
        max-width: 220px;
    }

    .partners-logos--appleseed {
        padding-bottom: 10px;
    }

    .partners-logos--workaway img,
    .partners-logos--hevrati img {
        transform: scale(0.75);
    }

    .flip-card-back {
        font-size: 16px;
        line-height: 18px;
    }



    .main-content__left--inner-page {
        display: none;
    }
    .gratitude-page .main-content__left--inner-page {
        display: flex;
    }
    .gratitude-page .main-content__left--inner-page {
        width: 100%;
    }
    .main-content__right--inner-page {
        width: 100%;
    }

    .logo-gallery p,
    .logo-gallery p:nth-child(-n+3) {
        width: 50%;
    }
}

@media (max-width:1000px) {
    .site-header__wrap {
        padding-right: 20px;
        padding-left: 20px;
    }
    .welcome-content__left,
    .buttom-content__wrap:last-child,
    .main-content__left {
        display: none;
    }

    .welcome-content__right {
        height: 400px;
    }

    .main-content__right {
        width: 100%;
    }

    .main-content__right--inner-page {
        padding: 50px 50px;
    }
}

@media (max-width:660px) {

    .site-header {
        height: 54px;
    }

    .main-content.home-page,
    .main-menu {
        display: none;
    }

    .powered {
        text-align: left;
        line-height: 18px;
    }

    .header-logos {
            display: flex;
            margin: 0px;
            padding: 0px;
            list-style: none;
            position: absolute;
            top: 28px;
            left: 20px;
        }

    .header-logos li {
            margin-right: 10px;
        }

    .mobile-content {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .mobile-content>* {
        width: 50%;
        height: 50vw;
        flex-grow: 0;
        flex-shrink: 0;
    }

    .mobile-content .mobile-content__phone {
        width: 100%;

    }

    .mobile-content__title {
        background-color: #ff6b6b;
        padding: 0 20px;
    }

    .mobile-content__title p {
        color: #ffffff;
        font-size: 32px;
        font-weight: 700;
        line-height: 35.24px;
    }

    .mobile-content_text {
        background-color: #3a4384;
        padding: 20px;
    }

    .mobile-content_text p {
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: -0.03px;
        line-height: 21px;
    }

    .mobile-content__questions {
        padding: 0 20px;
    }

    .mobile-content__questions p {
        font-size: 32px;
        font-weight: 700;
        letter-spacing: -0.07px;
        line-height: 28.24px;
        margin-bottom: -15px;
    }

    .mobile-content__questions p:first-child {
        color: #ff6b6b;
    }

    .mobile-content__questions p:last-child {
        color: #3a4384;
    }

    .mobile-content__phone {
        background-color: #ff6b6b;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-content__phone a {
        text-decoration: none;
        color: #f8fbff;
        font-size: 25px;
        font-weight: 700;
        letter-spacing: -0.05px;
        line-height: 27px;
    }

    .main-content__right--inner-page {
        padding: 20px 20px;
    }

    .wpcf7-form .wpcf7-form-control-wrap {
        width: 100%;
    }
}
