﻿html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

body {
    background-color: #1b1b1b;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    color: #dedede;
    font-size: 16px;
    line-height: 30px;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    color: #dedede;
    font-size: 34px;
    text-align: center;
    font-weight: 200;
}

h2 {
    color: #dedede;
    font-size: 32px;
    text-align: center;
    font-weight: 200;
}

h3 {
    color: #dedede;
    font-size: 32px;
    text-align: center;
    font-weight: 200;
}

h4 {
    color: #dedede;
    font-size: 28px;
    text-align: center;
    font-weight: 200;
}

a {
    color: #e3dfdf;
}

a:hover {
    color: #ffffff;
}

pre {
    font-size: 14px;
}

.logo a {
    display: inline-block;
    color: #dedede;
    font-size: 34px;
    text-align: center;
    text-decoration: none;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    font-weight: 200;
}

.logo a img {
    vertical-align:middle;
}

header {
    max-width: 1300px;
    margin: 5px auto 15px;
    padding: 0 15px;
}

.banner-index {
    background: url(../img/john.png) right bottom no-repeat, url(../img/technology-r.webp) right center no-repeat, linear-gradient(to right, #2a2a2a, #1b1b1b);
    min-height: 240px;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    margin-bottom: 30px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
}

.banner-mobile {
    background: url(../img/mobileApp.webp) right 100px bottom no-repeat, linear-gradient(to right, #f1f1eb, #dedede);
    min-height: 440px;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    margin-bottom: 30px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
}

.private-specialist {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

.formTwo {
    padding: 30px;
    display: flex;
    justify-content: space-around;
    background: linear-gradient(to left, rgb(68 68 68), rgb(36 36 36));
    border-radius: 10px;
    box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.2), inset 0 1px 10px 0 rgba(0, 0, 0, 0.19);
}

.errorMessageTwo {
    text-align: center;
}

textarea {
    display: block;
    min-height: 100px;
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}

#errorMessageTwo {
    color: #fff;
    font-size: 20px;
}

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.phone {
    height: 70px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    color: #dedede;
    font-size: 30px;
    font-weight: 400;
}

.phone a {
    text-decoration: none;
}

.header-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    min-height: 95px;
    align-items: center;
    margin: 0 15px;
}

.header-flex-bottom {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    min-height: 95px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.menu, .adminMenu {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.menu a, .adminMenu a {
    color: inherit;
    font-size: 18px;
    text-decoration: none;
    margin: 10px;
}

    .menu a:hover {
        text-decoration: underline;
    }

.projects {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(591px, 1fr) );
    grid-gap: 30px;
    justify-items: center;
}

@media (max-width: 591px) {
    .projects {
        grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
    }    
}

    .projects img {
        box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    }

.note-text {
    background-color: #222222;
    transition: 0.1s;
    color: inherit;
    padding: 30px;
    font-size: 24px;
    line-height: 28px;
    cursor: pointer;
}

    .note-text:hover {
        background-color: #333;
        color: #fff;
        transition: 0.8s;
    }

.h2-bottom-text {
    text-align: center;
    font-size: 20px;
}

.price {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
}

.preventcopy {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.priceUl {
    padding: 30px;
    font-size: 20px;
    line-height: 25px;
    background-color: #222222;
    transition: 0.1s;
}

    .priceUl:hover {
        background-color: #313131;
        transition: 0.8s;
    }

.sellingWebsite {
    padding: 30px;
    font-size: 20px;
    line-height: 25px;
    background-color: #222222;
    transition: 0.1s;
}

    .sellingWebsite:hover {
        background-color: #1c1c1c;
        transition: 0.8s;
    }

    .sellingWebsite ul {
        list-style-image: url(../img/listUl.webp);
    }

    .kassa {
        display: grid;
        grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
        grid-gap: 30px;
        justify-items: center;
    }

.hidden {
    display: none;
}

.no-bg-text {
    line-height: 34px;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #eae2e2;
    border: 1px solid #dee2e6;
    border-collapse: collapse;
}

table tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}

table td {
    border: 1px solid #dee2e6;
    padding: .75rem;
}

.kindOfSitesGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3px;
}

.kindOfSitesBlack {
    background: #222222;
    padding: 30px;
}
.kindOfSitesWhite {
    background: #3d3d3d;
    padding: 30px;
}

.kindOfSitesBlack:hover {
    background: #181818;
    cursor: pointer;
}

.kindOfSitesWhite:hover {
    background: #181818;
    cursor: pointer;
}

.kindOfSitesText {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 200;
}

.kindOfSitesGrid h2 {
    margin: 20px 0;
}

.sellingGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-gap: 20px;
}

.threeGrid {
    display: grid;
    grid-template-columns: 1fr  1fr 1fr;
    grid-gap: 40px;
    font-size: 20px;
    text-align: center;
}
.threeGrid img {
    margin-bottom: 20px;
}

.socialNetworks {
    display: flex;
    justify-content: space-around;
    max-width: 1300px;
    margin: 30px auto 0;
    padding: 0 15px;
}

.btn-primary {
    padding: 20px 40px;
    background: linear-gradient(to top, rgb(77, 88, 105), rgb(112, 124, 146));
    border: none;
    border-radius: 5px;
    color: white;
    margin: 10px auto;
    cursor: pointer;
}

#map {
    width: 100%;
    height: 350px;
    border: 8px solid #333333;
    box-sizing: border-box;
}

.social-ico {
    background: linear-gradient(to right, #343434, #3e3e3e);
    border-radius: 10px;
    padding: 10px;
    display: flex;
}

@media (max-width: 818px) {
    .banner-index {
        align-items: flex-end;
        padding: 60px 0 0;
    }
}

.footer-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 15px;
}

.kindLink {
    text-decoration: none;
}

form input, form select {
    background-color: #000000;
    color: #ffffff !important;
    border: none!important;
    border-bottom: 1px solid #7c7c7c !important;
    display: block;
    height: 40px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}

form textarea {
    display: block;
    min-height: 100px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

form button[type=submit], form button[type=submit] {
    background-color: #000000;
    color: #ffffff !important;
    border: none !important;
    display: block;
    min-height: 50px;
    margin-top: 20px;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

form input::placeholder {
    color: #ffffff !important;
    opacity: 0.7 !important;
}

.center {
    text-align: center;
}

@media (min-width:842px) {
    .grid-contact {
        padding: 40px 20px;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
        background-color: #222222;
        position: relative;
    }

    .grid-contact:before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        border-top: 40px solid #1b1b1b;
        border-left: 40px solid #222222;
        width: 0;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    }
}

.grid-opportunities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
}

@media (max-width:728px) {
    .grid-opportunities {
        grid-template-columns: 1fr;
    }
}

.card-opportunities {
    padding: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    background-color: #222222;
    position: relative;
}

.card-opportunities:before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    border-top: 80px solid #1b1b1b;
    border-left: 80px solid #222222;
    width: 0;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
}

.grid-price {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
}

.price-item {
    padding: 40px 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    background-color: #222222;
    position: relative;
}

.price-item:before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    border-top: 40px solid #1b1b1b;
    border-left: 40px solid #222222;
    width: 0;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
}

@media (max-width:841px) {
    .grid-price {
        grid-template-columns: 1fr;
    }

    .grid-contact {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }

    .contact-item {
        padding: 40px 20px;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
        background-color: #222222;
        position: relative;
    }

    .contact-item:before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        border-top: 40px solid #1b1b1b;
        border-left: 40px solid #222222;
        width: 0;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    }
}

.textTask {
    position: relative;
    background-color: #222222;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    padding: 15px 50px 15px 20px;
    margin-bottom: 35px;
    color: #d7ccb8;
}

.textTask:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 40px solid #1b1b1b;
    border-left: 40px solid #222222;
    width: 0;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

.team {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.team > div {
    width: 250px;
}

.panel-body a {
    text-decoration: none;
}

.panel-body {
    text-align: center;
}

.profession {
    color: #e3a860;
}

.flexMain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
}

@media (max-width: 875px) {
    .flexMain {
        grid-template-columns: 1fr;
    }
}

.mailBox {
    background: linear-gradient(to right, #2a2a2a, #1b1b1b);
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    margin-bottom: 30px;
    padding: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission {
    background: linear-gradient(to right, #2a2a2a, #1b1b1b);
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    margin-bottom: 30px;
    padding: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: 200;
}

.textNextToForm {
    background: linear-gradient(to right, #2a2a2a, #1b1b1b);
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    margin-bottom: 30px;
    padding: 30px;
    font-weight: 200;
}

.mailBox input {
    max-width: 340px;
    margin: auto;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    font-size: 20px;
    width: 100%;
}

.formButton {
    margin-top: 20px;
    background: linear-gradient(347deg, #2c4a69, #4d76a1);
    color: white;
    padding: 20px 25px;
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    cursor: pointer;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 24px;
}

.success-message {
    color: #00a800;
    padding-top: 5px;
    padding-bottom: 5px;
}

.error-message {
    color: red;
    padding-top: 5px;
    padding-bottom: 5px;
}

.blogText {
    max-width: 820px;
    margin: 0 auto;
}