/*setting main page*/

body .site-footer__pay_body a {
	background: none !important;
}


.comapy_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

fieldset.companyBx:nth-child(1) {
    flex: 0 0 49%;
}

fieldset.companyBx:nth-child(2) {
    flex: 0 0 49%;
}
fieldset.companyBx {
    border-color: #8c9fa5;
    margin-bottom: 70px;
    padding: 25px;
    box-sizing: border-box;
    background: linear-gradient(rgba(9, 8, 8, 0.56) 50%, rgba(9, 8, 8, 0.56) 50%),url(/d/54767969_2_1.jpg) 50% 50% /cover no-repeat fixed;
    color: #dadada;
    box-shadow: 0 6px 7px 1px #adadad;
}
legend.comanyBx_title {
    padding: 6px 14px;
    font-size: 22px;
    background: #8c9fa5;
    color: #fff;
    text-transform: uppercase;
}

.whatdoi_image img {
    max-width: 100%;
    display: block;
}

.whatdo_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.whatdo_item {
    flex: 0 0 24%;
    box-sizing: border-box;
    border: 11px solid white;
    background: #808080c7;
    position: relative;
    border-bottom: 22px solid white;
}


.whatdo_txt {
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: white;
    text-shadow: 1px 2px 3px black;
}

@media all and (min-width: 320px) and (max-width: 480px) {
.whatdo_item {
	flex: 0 0 100%;
}
}
@media all and (min-width: 480px) and (max-width: 620px) {
.whatdo_item {
	flex: 0 0 48%;
}
}