:root {
    --red: #fb0202;
}

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

body {
    margin: 0 auto;
    max-width: 1920px;
    -webkit-font-smoothing: antialiased;
    font-family: 'RalewaySemiBold', sans-serif;
    outline: none;
}

.container {
    width: 65%;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6, p, a, ul, li {
    margin: 0;
    padding: 0;
}

label {
    text-decoration: underline;
    color: red;
    font: 18px 'RalewayRegular', sans-serif;
}

input {
    text-overflow: ellipsis;
}

input[type="file" i] {
    display: none;
}

.span {
    color: var(--red);
    margin: 0 2px;
}

#mainNav ul li{
    font-family: sans-serif;
}

ul li {
    font-family: 'RalewayRegular', sans-serif;
}

input {
    outline: none;
}

select {
    outline: none;
    font: 20px 'RalewayMed', sans-serif;
    color: #a7a7a7;
    border: none;
    background: none;
    border-bottom: 1px solid #a7a7a7;
    padding: 9px;
}

option[value=""][disabled] {
    display: none;
}

.short-info {
    width: 75%;
    margin: 0 auto;
}

.short-info p {
    font-family: 'RalewayRegular', sans-serif;
    font-size: 14px;
    text-align: center;
    color: rgba(37, 37, 37, 0.7);
}

/* description */

.info .description {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info .description h1 {
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: 1.2px;
    text-align: center;
    margin: 35px 0 20px 0;
}

.info .description p {
    line-height: 1.5;
    letter-spacing: 0.4px;
    margin: 10px 0 20px 0;
    font-family: 'RalewayRegular', sans-serif;
    text-align: center;
}

.description .heart {
    position: relative;
    margin: 10px 0;
}

.description .heart:before, .description .heart:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    top: 50%;
    display: flex;
    opacity: 0.5;
    background-color: #252525;
}

.description .heart:before {
    left: 0;
    transform: translate(calc(-100% - 20px), -50%);
}

.description .heart:after {
    right: 0;
    transform: translate(calc(100% + 20px), -50%);
}

/* card */

.card-container {
    margin-bottom: 35px;
}

.card-container .container {
    width: 95%;
}

.card-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card-boxes span, .card-boxes span a {
    color: var(--red);
}

.card-boxes span a {
    text-decoration: underline;
}

.card-box {
    width: 588px;
    border: 1px solid transparent;
    box-shadow: 0 0 19.3px 1.7px rgba(0, 0, 0, 0.11);
    margin: 8px;
    min-height: 400px;
}

.card-box--element {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-box--element h3 {
    font-size: 30px;
    letter-spacing: 0.8px;
    text-align: center;
    margin: 0 0 25px 0;
}

.card-boxes ul li {
    list-style: none;
    position: relative;
}

.card-boxes ul li::before {
    position: absolute;
    content: '\2022';
    color: var(--red);
    display: inline-block;
    top: 50%;
    left: -1.5%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
}

.card1-psychology ul li::before, .card1-pedagogy ul li::before {
   left: -5%;
}

.card3-content ul li::before, .card3-content ul li::before {
    left: -5%;
}

/* @card content admin */

.card2-content, .card3-content, .card4-content, .card5-content, .contact-container .contact {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cities {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

.card1-content {
    display: flex;
}

.card1-content .card1-pedagogy, .card1-content .card1-psychology {
    width: calc(50% - 25px);
    margin: 0 auto;
}

.card1-content .card1-pedagogy > h4, .card1-content .card1-psychology > h4 {
    color: var(--red);
    letter-spacing: 0.6px;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.card1-content .card1-psychology ul, .card1-content .card1-pedagogy ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.card1-content .card1-psychology ul li, .card1-content .card1-pedagogy ul li {
    letter-spacing: 0.4px;
    font-size: 14px;
    color: rgba(37, 37, 37, 0.7);
    margin: 5px 0;
    line-height: 1.57;
}

.card2-content p {
    font-size: 30px;
    line-height: 1.25;
    color: #7f7f7f;
    margin: 10px 0;
}

.card2-content p span {
    font-size: 72px;
    margin: 0 10px;
}

.card3-content > p {
    font-size: 24px;
    letter-spacing: 0.6px;
    color: var(--red);
}

.card3-content > p span {
    font-size: 48px;
    margin-right: 10px;
}

.card3-content ul li {
    font-size: 22px;
    margin: 25px 0;
}

.card4-content {
    flex-direction: row;
}

.card4-content .cities p {
    font-size: 36px;
    line-height: 1.61;
    letter-spacing: 0.9px;
    text-align: center;
    color: var(--red);
}

.card4-content .cities {
    margin-bottom: 7px;
}

.card5-content {
    justify-content: center;
    flex: 1;
}

.card5-content p {
    font-size: 100px;
    letter-spacing: 3px;
}

.card6-content ul {
    display: flex;
    flex-direction: column;
}

.card6-content ul li {
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: 0.5px;
    color: rgba(37, 37, 37, 0.7);
    margin: 10px 0;
}

/* contact */

.contact-container {
    margin-bottom: 50px;
}

.contact-container .contact p:first-child {
    font-size: 32px;
    line-height: 1.39;
    letter-spacing: 0.9px;
    text-align: center;
    color: #252525;
    margin-bottom: 25px;
}

.contact-container .contact p:first-child .span {
    font-size: 48px;
}

.contact-container .contact p:nth-child(2) {
    font-size: 36px;
    line-height: 1.39;
    letter-spacing: .9px;
    text-align: center;
    color: #252525;
}

.contact-container .contact .application-form-button {
    border-radius: 4px;
    background-color: #ff0000;
    font-family: 'RalewayBold', sans-serif;
    text-transform: uppercase;
    padding: 16px 24px;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #fffcfc;
    margin: 50px 0;
    border: none;
}

.contact-container .contact p:last-child {
    font-size: 40px;
    letter-spacing: 1px;
    text-align: center;
    color: #252525;
}

/* card country */

.financial-help-container {
    margin-bottom: 50px;
}

.financial-help-container .financial-help {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 10px 19.3px 1.7px rgba(0, 0, 0, 0.21);
    padding: 37px 58px;
}

.financial-help p:first-child {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.6px;
    text-align: center;
    color: #252525;
    margin-bottom: 44px;
}

.financial-help p:first-child .gray {
    color: #727272;
}

.financial-help .country {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.country-ukraine, .country-usa {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.financial-help .country .country-ukraine h4, .financial-help .country .country-usa h4 {
    color: #ff0000;
    font-size: 24px;
}

.financial-help .country .country-usa p, .financial-help .country .country-ukraine p {
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: 0.6px;
    text-align: center;
    color: #252525;
    font-family: 'RalewayRegular', sans-serif;
}

/* application-form */

#app-form {
   visibility: hidden;
    height: 0;
    overflow: hidden;
}

.application-form-container {
    margin-bottom: 125px;
}

.application-form-container .container {
    width: 70%;
}

.application-form-container .swiper-container{
    min-height: 715px;
    box-shadow: 0px 10px 19.3px 1.7px rgba(0, 0, 0, 0.21);
}

.attention {
    position: absolute;
    top: 2%;
    left: 2%;
}

.attention p {
    font: 20px 'RalewayRegular', sans-serif;
    color: #7f7f7f;
}

.closeApp {
    position: absolute;
    right: 2%;
    top: 2%;
    width: 14px;
    height: 14px;
    pointer-events: auto;
    z-index: 2;
}

.closeApp img {
    width: 100%;
    height: 100%;
}

.attention p span {
    color: #ff0000;
    font-size: 22px;
}

.application-form-container h2 {
    font-family: 'RalewaySemiBold', sans-serif;
    font-size: 40px;
    letter-spacing: 1px;
    color: #252525;
    margin-bottom: 32px;
    text-align: center;
}

.application-boxes .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 75px;
    box-sizing: border-box;
    position: relative;
    height: auto;
}

.app-next {
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 2;
}

.app-next .next, #submit {
    border-radius: 4px;
    background: #ff0000;
    border: none;
    padding: 20px 80px;
    font: 20px 'RalewayMed', sans-serif;
    letter-spacing: 0.5px;
    color: #fffcfc;
    outline: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .5s ease;
}

.app-next .next:hover, #submit:hover {
    background: #DA3F1D;
}

#submit[disabled] {
    background: lightgrey;
}

#submit[disabled]:hover {
    background: lightgrey;
}

.slide-content input {
    border: none;
    padding: 10px;
    border-bottom: 1px solid #a7a7a7;
    width: calc(50% - 50px);
    font: 20px 'RalewayMed', sans-serif;
    letter-spacing: 0.5px;
    color: #252525;
}

.slide-content input[placeholder]:after{
    content: '\2605';
    color: red;
    visibility: visible;
    display: block;
    height: 1px;
    width: 1px;
}

/* setup buttons slider */

#app-dots {
    bottom: 5%;
}

.app-dots .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    border: 1px solid black;
    background: white;
    opacity: 1;
    outline: none;
}

.app-dots .swiper-pagination-bullet-active {
    background: #ff0000;
    border: 1px solid #ff0000;
}

.slide-content {
    width: 100%;
}

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

.study select {
    margin-right: 10px;
}

.study input {
    width: 70%;
}

.technical-college input, .university input {
    width: calc(33% - 50px);
}

/* slide 1 */

.slide1 p:first-child {
    font: 20px 'RalewayLight', sans-serif;
    letter-spacing: 0.5px;
    color: #000000;
}

.slide1 .avatar-img {
    width: 200px;
    height: 185px;
}

.slide1 .avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide1 p {
    font: 16px 'RalewayRegular', sans-serif;
    letter-spacing: 0.4px;
    font-style: italic;
    color: #8e8e8e;
}

.slide1 .name {
    margin: 50px 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.your-photo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* slide2  */

.slide2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.slide2 input {
    margin: 40px 0;
}

/* slide3 */

.slide3 > div {
    display: flex;
    justify-content: space-between;
}

.slide3 > div {
    margin: 10px 0;
}

.slide3 .spirit-lesson input, .slide3 .languages input {
    width: 100%;
}

/* slide4 */

.slide4 > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
}

.slide4 > div p {
    font: 22px 'RalewayMed', sans-serif;
}

.slide4 > div p:after {
    content: '*';
    color: red;
}

.slide4 > div > div {
    display: flex;
    width: 60%;
    justify-content: space-between;
}

.slide4 > div > div input {
    width: 25%;
}

.slide4 .family-status select, .slide4 .married input {
    width: 60%;
}

.married p:after {
    display: none;
}

/* slide5 */

.slide5 > div {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    align-items: center;
}

.slide5 > div p {
    font: 19px 'RalewayMed', sans-serif;
}

.slide5 .address-church p:after, .slide5 .pastor p:after, .slide5 .phone-pastor p:after {
    content: '*';
    color: red;
}

.slide5 .pastor input {
    width: 80%;
}

.slide5 > div input {
    width: 55%;
}

.slide5 .state input {
    width: calc(50% - 50px);
}

/* slide6 */

.slide6 > div {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    align-items: center;
}

.slide6 > div input {
    width: 50%;
}

.slide6 > div p {
    font: 20px 'RalewayMed',sans-serif;
}

.slide6 .baptist {
    justify-content: flex-start;
}

.baptist input {
    width: 15% !important;
    margin-left: 25px;
}

.slide6 .work-church p:after, .slide6 .baptist p:after {
    content: '*';
    color: red;
}

/* slide7 */

.slide7 > input {
    width: 100%;
}

.slide7 > input, .slide7 > div {
    margin: 35px 0;
}

.slide7 > div {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.slide7 > div p {
    font: 20px 'RalewayMed', sans-serif;
}

.slide7 > div span {
    color: #8e8e8e;
    font: 16px 'RalewayRegular', sans-serif;
    font-style: italic;
}

/* last slide */

.last-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.last-slide h2 {
    font: 75px 'RalewaySemiBold', sans-serif;
    color: #fe0000;
}

.last-slide p {
    font: 40px 'RalewaySemiBold', sans-serif;
    color: #252525;
}

.app-dots span:last-child {
    display: none;
}

.hide {
    display: none;
}

/* footer */

#firstFooter h3, #footerSupport p {
    margin: 20px 0;
}

/* validation */
#name-error,
#email-error,
#address-error,
#city-error,
#state-error,
#index-error,
#country-error,
#number-error,
#dateDay-error,
#dateMonths-error,
#dateYear-error,
#familyStatus-error,
#familyPartner-error,
#churchAddress-error,
#churchCity-error,
#churchState-error,
#pastor-error,
#pastorPhone-error,
#ministry-error,
#yearBaptist-error,
#whyYouWantStudy-error,
#recommendationPastor-error {
    display: none !important
}

input.error, textarea.error{
    transition: 0.3s all;
    border-bottom: 1px solid coral;
}

input.error::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: transparent !important;
}

input.error::-moz-placeholder {
    /* Firefox 19+ */
    color: transparent !important;
}

/* checkbox */

.accept-checkbox {
    margin-right: 10px;
}

.cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}
.cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}
.cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #9098A9;
    transition: all 0.2s ease;
}
.cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}
.cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #506EEC;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}
.cbx span:last-child {
    padding-left: 8px;
}
.cbx:hover span:first-child {
    border-color: #ff0000;
}

.inp-cbx:checked + .cbx span:first-child {
    background: #ff0000;
    border-color: #ff0000;
    animation: wave 0.4s ease;
}
.inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
}
.inp-cbx:checked + .cbx span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

@keyframes wave {
    50% {
        transform: scale(0.9);
    }
}
