/*
Theme Name: Implant Theme
Template: twentytwenty

Description: Правки темы twentytwenty
Author: MM Web Studio
Author URI: https://mmwebstudio.pp.ua/
Version: 1.2.10
*/

/* импортируем стили родительской темы */
@import url("../twentytwenty/style.css");

@media (max-width: 767px) {
    .site-logo a, .site-logo img
    {
        min-height: 60px;
    }
}

.to-the-top {
	z-index: 10000000
}

button:focus {
    outline: none;
}

.text-normal
{
    font-weight: normal!important;
}

.search-phone
{
    display: none;
}

#site-header > div.header-inner.section-inner > div.header-titles-wrapper > button.toggle.search-toggle.mobile-search-toggle > span > span.toggle-icon svg, #site-header > div.header-inner.section-inner > div.header-titles-wrapper > button.toggle.search-toggle.mobile-search-toggle > span > span.toggle-text.mobile-version {
    display: none;
}

@media (min-width: 768px)
{
    #site-header > div.header-inner.section-inner > div.header-titles-wrapper > button.toggle.search-toggle.mobile-search-toggle > span > span.toggle-icon svg {
        display: block;
    }
    #site-header > div.header-inner.section-inner > div.header-titles-wrapper > button.toggle.search-toggle.mobile-search-toggle > span > span.toggle-icon img {
        display: none;
    }
}
@media (max-width: 767px)
{
    #site-header > div.header-inner.section-inner > div.header-titles-wrapper > button.toggle.search-toggle.mobile-search-toggle > span > span.toggle-text.pc-version
    {
        display: none;
    }
    #site-header > div.header-inner.section-inner > div.header-titles-wrapper > button.toggle.search-toggle.mobile-search-toggle > span > span.toggle-text.mobile-version
    {
        display: block;
    }
    .search-phone
    {
        background: none;
        display: inline-block;
        border: none;
        border-radius: 0;
        color: inherit;
        font-size: 2rem;
        letter-spacing: -0.0277em;
        height: 8.4rem;
        margin: 0 0 0 -2rem;
        max-width: calc(100% + 2rem);
        font-weight: bold;
        padding: 0 0 0 2rem;
        width: calc(100% + 2rem);
        line-height: 8.4rem;
        text-align: center;
    }
    #site-header .search-form label
    {
        display: none;
    }
    body.logged-in #wpadminbar
    {
        position: fixed;
    }

    body.logged-in #site-header
    {
        position: fixed;
        top: 46px;
        width: 100%;
        z-index: 1
    }

    body #site-header
    {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1
    }

    body.logged-in #site-content
    {
        padding-top: 123px;
    }

    body #site-content
    {
        padding-top: 123px;
    }
}

a, a:visited, a:hover, a:focus, button, button:visited, button:hover, button:focus, .header-inner .toggle:focus .toggle-text, .header-inner .toggle:hover .toggle-text {
    text-decoration: none!important;
}

.menu-wrapper {
    width: 100%;
}

@media (min-width: 1000px)
{
    .menu-wrapper.section-inner {
        width: 100%;
    }
}

@media (min-width: 700px) {
    .menu-wrapper {
        width: 100%;
    }
}

@media (min-width: 700px) {
    .modal-menu > li > a, .modal-menu > li > .ancestor-wrapper > a {
        font-size: 1.6rem;
        padding: 16px 10px 15px 40px;
        font-weight: 500;
        color: #222;
    }
}

.mm-menu-relative {
    position: relative;
}

.menu-wrapper .menu-item, .modal-menu
{
    position: static;
}

.expanded-menu {
    position: static;
}

.menu-modal.active, .menu-modal.active .menu-modal-inner {
    overflow-x: hidden;
}

.modal-menu > li > .ancestor-wrapper > button.sub-menu-toggle
{
    margin: 0;
    border-left: none;
    right: 0;
    top: 0;
    width: 54px;
    height: 100%;
    background-color: #F1F1F1;
    cursor: pointer;
}

.modal-menu > li > .ancestor-wrapper > button.sub-menu-toggle:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(
            -45deg
    );
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(
            -45deg
    );
    border-right: 2px solid #2E3A4C;
    border-bottom: 2px solid #2E3A4C;
}

.modal-menu ul li
{
    border-left: none;
}

.modal-menu > li > .ancestor-wrapper > button.sub-menu-toggle svg
{
    display: none;
}

.modal-menu ul {
    display: block;
    right: -110%;
    top: 217px;
    bottom: 0;
    position: absolute;
    background-color: #f5f5f5;
    transition: right 0.5s;
}

.menu-wrapper .active
{
    right: 0;
}

.mm-back-link {
    padding: 15px 15px 15px 70px;
    box-shadow: 0px 4px 4px rgb(46 58 76 / 10%);
    cursor: pointer;
    position: relative!important;
}

.mm-back-link a {
    padding: 0!important;
}

.mm-back-link div.back-icon {
    position: absolute;
    width: 54px;
    height: 100%;
    top: 0;
    left: 0;
}

.mm-back-link div.back-icon:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(135deg);
    -ms-transform: translate(-50%, -50%) rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
    border-right: 2px solid #2E3A4C;
    border-bottom: 2px solid #2E3A4C;
}

.toogle-cont {
    background-color:#f5f5f5;
}

.modal-menu > li a, .modal-menu > li > .ancestor-wrapper a {
    font-size: 1.6rem;
    padding: 16px 10px 15px 40px;
    font-weight: 500;
    color: #222;
}

button.close-nav-toggle {
    padding: 0;
    background-color: #f5f5f5;
}

button.close-nav-toggle .toggle-text {
    display: none;
}

button.close-nav-toggle
{
    vertical-align: middle;
    width: 100%;
    height: 50px;
    padding: 15px;
    justify-content: end;
    background: transparent;
}

button.close-nav-toggle svg {
    color: #bcbcbc;
    height: 12px;
    width: 12px;
}

.mm-web-win-special-block {
    padding: 25px 20px;
}

.mm-web-win-special-block .contacts-head {
    padding-bottom: 20px;
    text-align: center;
}

.mm-web-win-special-block .contacts-head .contacts-head-phone {
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 5px;
}

.mm-web-win-special-block .contacts-head .contacts-head-phone .ct_phone, .mm-web-win-special-block .contacts-head .contacts-head-phone .ct_phone:hover, .mm-web-win-special-block .contacts-head .contacts-head-phone .ct_phone:visited {
    color: #444;
}

.mm-web-win-special-block .contacts-head .contacts-head-working {
    font-size: 12px;
    opacity: 1;
    line-height: 1;
    color: #999;
}

.mm-web-win-special-block .button-cont {
    text-align: center;
}

.mm-web-win-special-block .button-cont a.button {
    color: white;
    background-color: #d13d73;
    box-sizing: border-box;
    border-radius: 2px;
    margin: 0 auto;
    padding: 15px 10px;
    max-width: 220px;
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: none;
    min-width: 200px;
}

ul.social-icons {
    margin: -0.9rem 0 0 0.9rem;
    width: calc(100% - 0.9rem)
}

body {
    background: #e9e8e7;
}

:root .has-primary-background-color {
    color: #e9e8e7;
}

:root .has-background-color {
    color: #e9e8e7;
}

:root .has-background-background-color {
    background-color: #e9e8e7;
}

.editor-styles-wrapper {
    background: #e9e8e7;
}

.pum-theme-77 .pum-container, .pum-container {
    background-color: #eee!important;
    padding: 84px 24px 50px!important;
    width: auto!important;
}

@media (max-width: 768px) {
    .pum-theme-77 .pum-container, .pum-container
    {
        margin-bottom: 0px!important;
        min-height: 100%!important;
        top: 0!important;
        width: 100%!important;
    }
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden]
{
    padding-right: 0!important;
}

.pum-theme-77 .pum-title, .pum-title {
    max-width: 310px!important;
    margin: auto auto 34px;
    text-align: center!important;
    padding: 0 0 10px;
    border: solid #e5e5e5;
    border-width: 0;
    font-size: 30px!important;
    font-weight: 800!important;
    font-style: normal;
    color: #222;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}

.pum-theme-77 .pum-content, .pum-content {
    max-width: 310px;
    margin: auto 76px;
}

@media (max-width: 768px) {
    .pum-theme-77 .pum-content, .pum-content
    {
        margin: auto;
    }
}

.pum-content form br {
    display: none;
}

.pum-content form .submit-button {
    color: #fff!important;
    text-transform: none;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    max-width: none;
    margin: auto;
    text-align: center;
}

input.wpcf7-form-control, textarea.wpcf7-form-control
{
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 19px 27px 20px;
    display: block;
    background: #fff;
    color: #444;
    width: 310px;
}

.pum-theme-77 .pum-content + .pum-close, .pum-content + .pum-close
{
    margin-top: 10px;
    margin-right: 10px;
    width: 30px!important;
    box-shadow: none!important;
    border: none!important;
    height: 30px!important;
    z-index: 10;
    cursor: pointer!important;
    background-color: transparent!important;
}

.pum-theme-77 .pum-content + .pum-close:after, .pum-content + .pum-close:after
{
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    font: 20px/30px Arial,"Helvetica Neue",Helvetica,sans-serif;
    color: #bbb;
    font-weight: 300;
    text-align: center;
    border-radius: 50%;
    border-width: 0;
    box-sizing: border-box;
    z-index: 2;
    background: url(/wp-content/themes/implant/fancybox-close.png) 50% 50%/12px auto no-repeat
}

.header-footer-group pre, .header-footer-group fieldset, .header-footer-group input, .header-footer-group textarea, .header-footer-group table, .header-footer-group table *, .footer-nav-widgets-wrapper, #site-footer, .menu-modal nav *, .footer-widgets-outer-wrapper, .footer-top
{
    border-color: #ebebeb!important;
}

a {
    color: #d13d73;
}

blockquote {
    border-color: #d13d73!important;
}

input[type="submit"] {
    background: #d13d73!important;
}

.color-accent,
.color-accent-hover:focus,
.color-accent-hover:hover {
    color: #d13d73!important;
}

.bg-accent,
.bg-accent-hover:focus,
.bg-accent-hover:hover {
    background-color: #d13d73!important;
}

.border-color-accent,
.border-color-accent-hover:focus,
.border-color-accent-hover:hover {
    border-color: #d13d73!important;
}

.fill-children-accent,
.fill-children-accent * {
    fill: #d13d73!important;
}

.social-icons a {
    background: #d13d73!important;
}

:root .has-accent-color {
    color: #d13d73!important;
}

:root .has-accent-background-color {
    background-color: #d13d73!important;
}

.has-drop-cap:not(:focus)::first-letter {
    color: #d13d73!important;
}

.wp-block-button.is-style-outline {
    color: #d13d73!important;
}

.social-icons a, #site-footer button:not(.toggle), #site-footer .button, #site-footer .faux-button, #site-footer .wp-block-button__link, #site-footer .wp-block-file__button, #site-footer input[type="button"], #site-footer input[type="reset"], #site-footer input[type="submit"]
{
    background-color: #d13d73!important;
}

.wp-block-pullquote::before {
    color: #d13d73;
}

.comment-reply-link {
    background-color: #d13d73;
}

.footer-social a {
    background-color: #d13d73;
}

.button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"]
{
    color: white!important;
    background-color: #d13d73!important;
    border: none;
    box-sizing: border-box;
    border-radius: 2px;
    margin: 0 auto;
    padding: 15px 10px;
    max-width: 220px;
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: none;
    min-width: 200px;
}


@media (max-width: 767px) {
    body #site-content {
        padding-top: 123px;
    }

    body.logged-in #site-content {
        padding-top: 123px;
    }

    body.logged-in #wpadminbar {
        position: fixed;
    }

    #site-header .header-inner {
        -webkit-transition: padding 0.5s;
        -o-transition: padding 0.5s;
        transition: padding 0.5s;
    }

    body #site-header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    body.logged-in #site-header {
        position: fixed;
        top: 46px;
        width: 100%;
        z-index: 1;
    }

    #site-header.minimized .header-inner {
        padding: 0.63rem 0;
    }
}

.contentcenter
{
    text-align: center;
}

.contentcenter>*
{
    float: none!important;
    display: inline-block
}