/* Новые стили из dental.html */

/* Верхняя часть шапки */
.topheader-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topheader-logo {
    display: flex;
    flex-direction: row;
}

a.topheader-logo__img {
    max-width: 290px;
    object-fit: contain;
}

.topheader-logo__img img {
    width: 100%;
    height: auto;
}

.topheader-logo__desc {
    font-size: 0;
}

.topheader-rating__logo {
    width: 38.8px;
    height: 48px;
}

.topheader-info {
    display: flex;
}

.topheader-address,
.topheader-phone {
    display: flex;
    align-items: center;
}

.topheader-phone {
    margin-left: 25px;
}

.topheader-address__block,
.topheader-phone__block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
}

.topheader-address__street {
    font-weight: bold;
    font-size: 14px;
    margin-top: 5px;
}

a.topheader-phone__number {
    color: #111;
}

.topheader-phone__block .topheader-phone__number:last-child {
    margin-top: 5px;
}

.topheader-address__circle,
.topheader-phone__circle {
    width: 40px;
    height: 40px;
    border: 1px solid red;
    border-radius: 50%;
    position: relative;
    display: flex;
}

.topheader-address__circle svg,
.topheader-phone__circle svg {
    position: absolute;
    transform: translate(-42%, -40%);
    fill: #d93025;
}

.topheader-address__circle svg {
    top: 44%;
    left: 44%;
}

.topheader-phone__circle svg {
    top: 50%;
    left: 50%;
}

.topheader-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d93025;
    border-radius: 20px;
    padding: 10px 20px;
    margin-left: 25px;
}

.topheader-button:hover {
    background: #f5584e;
}

a.topheader-button__link {
    color: #fff;
}

/* Замена старых стилей */

#header {
    padding: 1.5em 2em;
    background: #fff;
    display: flex;
    flex-flow: column;
    margin-top: 0;
}

#topheader {
    border-bottom: none;
    margin-bottom: 30px;
}

#navigation-wrap {
    padding: 0;
}

#mainnav {
    border-top: 0;
    border-bottom: 1px solid #b3b3b3;
}

#mainnav-menu {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    list-style-position: outside;
    position: relative;
}

#mainnav-menu li {
    width: 100%;
    white-space: nowrap;
    text-align: center;
    position: relative;
}

#mainnav-menu a {
    display: block;
    padding: 15px 20px 15px;
    font-size: 1.15em;
    text-transform: none;
    font-family: 'Share', Tahoma, Verdana, Arial;
    border-top: 5px solid transparent;
}

@media only screen and (min-width: 60em) {
    #topnav-menu,
    #mainnav-menu {
        display: flex;
        justify-content: space-between;
    }
}
