/**
 *
 */

* { font-family: Helvetica, Arial, sans-serif; color: #333; }

body {
    margin: 0;
    padding: 0;
}

.wrap-container {
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-start;
}

header nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}
header nav li {
    list-style-type: none; 
    padding: 0 40px;
    margin: 0;
}

header nav li.logo {
    margin-right: auto;
    padding: 10px;
}
header nav li.logo img {
    max-height: 50px;
}
footer div.logo img {
    max-height: 50px;
}

header nav li a { font-size: 24px; }

header a.make-call {
    background: darkblue;
    width: 125px;
    height: 48px;
    padding: 20px 20px 18px;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #FFFFFF;
}

.header-item { border-bottom: 1px solid; }

a { text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
.can-help {
    min-height: 700px;
}
.can-help img {
    width: 100%;
}

@media(max-width: 500px) {
    .header-item { min-height: 220px; }
    /*header { display: flex; flex-flow: column; }*/
    header nav ul { gap: 10px; margin: 0; padding: 0; flex-flow: column; }
    header nav li { padding: 0 5%; }
    header nav li a { font-size: 1rem; }
    header nav li.logo { margin-right: 0; }
    header a.make-call { padding: 12px 15px 12px; }
    .can-help { min-height: 350px; }
}
@media(max-width: 450px) {
    .can-help { min-height: 220px; }
}

.middle-title { 
    text-align: center ;
    font-size: 32px;
    line-height: 150%;
    margin-top: 5%;
}

.short-descr {
    margin: auto 15%;
    font-size: 1.3rem;
    padding: 20px;
}

.description {
    display: flex;
    /*flex-flow: row wrap;*/
    justify-content: space-between;
    align-items: stretch;
    width: 80%;
    margin: 0 auto;
}
.description .item {
    background-color: #4040ac;
    padding: 30px;
    margin: 2% 7%;
    width: 80%;
}
.description .item .subtitle { 
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 150%;
    color: white;
}
.description .item ul {
    font-size: 1.3rem;
    line-height: 150%;
}
.description .item ul li {
    color: white;
}

span.bold { 
    font-weight: 600; 
    padding:0;
}

.membership {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}
.membership .item {
    padding: 5px;
    margin: 1%;
}
.membership img { width: 98%; }

.membership { width: 99%; }
.membership .item div.text {
    font-size: 24px;
    line-height: 150%;
}
.membership .item div.text div { padding: 10px 0; }

.bottom img {
    width: 100%;
    margin: 5px auto;
    display: block;
}

footer { 
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    background-color: darkblue; 
    height: 270px;
}

div.footer { text-align: center; }

footer div.logo { margin: 20px; }

footer ul {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}
footer li {
    list-style-type: none; 
    padding: 0 40px;
    margin: 0;
}

footer li.logo {
    margin-right: auto;
}

footer li a { font-size: 1.4rem; color: #FFFFFF; }

footer a.make-call {
    background: #4040ac; 
    width: 125px;
    height: 48px;
    padding: 20px 20px 18px;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 150%;
    color: #FFFFFF;
}

div.copyright { color: #fff; width: 100%; padding: 30px 10px; font-size: 1rem;}

footer .address {
    font-size: 1.4rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

@media(max-width: 810px) {
    .description { flex-flow: row wrap; width: 100%; }
    .description .item.details { width: 90% }
    .description .item.contacts { width: 90% }
}

@media(max-width: 500px) {
    .membership { flex-direction: column; }
    .middle-title { margin-top: 1%; font-size: 1.8rem; }
    /*.description-item { max-height: 500px; }*/
    .description { flex-flow: row wrap; width: 100%; }
    .description .item { margin: 1% 0; width: 100%; min-width: 100; padding: 10px; }
    .description .item .subtitle { font-size: 1.3rem; }
    .description .item ul li { font-size: 1.2rem; }
    .all-purchase div { margin: 0 auto 20px; width: 90%; }
    .membership .item div.text { font-size: 1.4rem; }
    footer { height: 350px; }
    footer ul { flex-flow: column; margin: 0 0 20px 0; padding: 0; }
    footer li a { font-size: 1.2rem; }
    footer a.make-call { padding: 12px 15px 12px; }

    div.copyright { padding: 20px 10px 8px }

    footer .address {
        font-size: 1.2rem;
    }

    .short-descr {
      margin: auto 1%;
    }
}

