/*Кастомная форма консультанта*/
.consultant-form {
    padding: 25px;
    border: 2px solid #681400;
    background: rgba(0, 142, 203, 0.219);
    margin-bottom: 25px;
}

.form-header {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #FF3F0E;
    border-bottom: 2px solid #5A3F36;
    padding-bottom: 25px;
}

.consultant-heading {
    margin-left: 15px;
    text-align: left;
}

.consultant-logo {
    width: 60px;
    height: 60px;
    background-image: url(/custom-consultant/lawyer.png);
    border-radius: 50%;
    background-size: cover;
    background-color: #fff;
    border: 2px solid #000;
    box-shadow: 1px 2px 12px -3px #6ab3dc;
    flex-shrink: 0;
}

.field-group {
    position: relative;
}

.customize-label {
    color: black;
    font-size: 16px;
    font-weight: 300;
}

.consultant-bottom {
    display: flex;
    margin-top: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.consultant-bottom button.btn {
    background: #FF3F0E !important;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: .3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    color: #ffffff !important;
}

.consultant-bottom button.btn::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 100%;
    background-image: linear-gradient(to right bottom, transparent 15px, #fff 25px, #bcd1fe 30px, transparent 35px);
    left: 0;
    top: 0;
    transform: translate(-25px);
    opacity: 0;
    animation: btn linear 5s infinite;
}

@keyframes btn {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(270px);
    }
    100% {
        opacity: 1;
        transform: translate(270px);
    }
}

.consultant-bottom button.btn:hover {
    background: #007CD1 !important;
    color: #ffffff !important;
}

.customize-input {
    width: 100%;
    background: #f3f3f3;
    border: 2px solid #5A3F36 !important;
    border-radius: 3px;
    padding: 7px 10px;
    transition: .2s all;
}

.customize-input::placeholder {
    color: black;
}

.customize-input:focus {
    background: white;
    border: 2px solid #6FBCBE !important;
    box-shadow: 0 0 1px 4px rgba(0, 108, 223, 0.205) !important;
}

.customize-input:focus::placeholder {
    color: #000;
    opacity: .5;
}

@media (max-width: 575.98px) {
    .customize-input {
        margin-bottom: 12px;
        width: 100%;
        max-width: 100%;
    }
}

.customize-textarea {
    margin-top: 2px;
    width: 100%;
    max-width: 100%;
    padding: 7px 10px;
    background: #f4f4f4;
    border: 2px solid #5A3F36 !important;
    border-bottom-color: #006CDF !important;
    border-radius: 3px 3px 0 0;
    resize: vertical;
    transition: .2s all;
    box-sizing: border-box;
}

.customize-textarea:focus {
    background: #fdfdfd !important;
    border: 2px solid #73BFC1 !important;
    box-shadow: 0 0 1px 4px rgba(0, 108, 223, 0.205) !important;
}

.customize-textarea::placeholder {
    color: black;
}

.customize-textarea:focus::placeholder {
    color: #000;
    opacity: .5;
}

.question-example {
    padding: 5px;
    padding-left: 10px;
    background: #0075D8;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0 0 3px 3px;
}

.inputs-wrapper {
    transition: .2s all;
}

.example-accent {
    font-weight: 600;
    color: #ffff;
}

.wrong-input {
    border: 1px solid #ff0000;
}

.tooltip {
    z-index: 9999;
    position: absolute;
    background: #fa3f3f;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    bottom: -28px;
    padding: 4px 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.39);
}

.tooltip:after {
    top: -15px;
    display: block;
    position: absolute;
    content: '';
    width: 0px;
    height: 0px;
    border-top: 8px solid #FA4C3F;
    border-right: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid transparent;
    transform: rotate(180deg);
}

.privacy-text {
    font-size: 16px;
    color: #000;
}

.privacy-text a {
    color: #CA0000;
    font-size: 16px !important;
    transition: .3s ease;
}

.privacy-text a:hover {
    color: #6B1AFF;
}

.second-step {
    display: none;
}

.fadingOutRight {
    position: absolute;
    animation: fadingOUT .3s ease-in-out;
}

.fadingInLeft {
    animation: fadingOUT .4s reverse ease-in-out;
}

.success-notification {
    display: none;
    padding: 15px;
    border-radius: 3px;
    color: #FF1100;
    text-align: center;
}

.success-notification .yurist-number {
    display: block;
    font-weight: bold;
    color: #696969;
    margin: 0 auto !important;
    max-width: 400px !important;
}

.success-notification .yurist-number a span {
    font-size: 15px;
}

.success-notification .yurist-number a {
    line-height: 1.3;
}

.success-notification p {
    text-align: center !important;
    font-weight: bold;
    line-height: 1.2;
}

.success-notification p span {
    font-size: 14px;
}

.success-notification p span strong {
    font-weight: bold;
    text-decoration: underline;
}

.success-notification .consultant-logo {
    margin: 0 auto;
}

.success-notification__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

@keyframes fadingOUT {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: scale(0);
    }
}

.bottom-group {
    margin-right: 15px;
}

@media (max-width: 1025px) {
    .bottom-group {
        max-width: 360px;
    }

    .consultant-bottom {
        justify-content: space-between;
    }

    .privacy-text {
        line-height: 1.2;
        margin-top: 10px;
    }
}

@media (max-width: 860px) {
    .consultant-bottom .yurist-number {
        margin-left: 0;
        margin-top: 10px;
    }
}


@media (max-width: 660px) {
    .form-header {
        font-size: 20px;
    }

    .consultant-logo {
        width: 50px;
        height: 50px;
    }

    .consultant-bottom {
        flex-direction: column;
        align-items: center;
    }

    .privacy-text {
        text-align: center;
        margin-top: 10px;
        line-height: 1.2;
    }

    .consultant-heading span {
        display: none;
    }

    .consultant-bottom button.btn {
        margin-left: 0;
    }

    .yurist-number {
        margin-right: 0 !important;
        margin-top: 10px;
        max-width: 100%;
    }

    .bottom-group {
        text-align: center;
        margin-right: 0;
    }
}

@media (max-width: 460px) {
    .inline-field {
        flex-direction: column;
        align-items: center;
    }

    .field-inline-group:nth-child(2) {
        margin-left: 0 !important;
    }

    .field-inline-group {
        width: 100% !important;
    }

    .consultant-bottom .yurist-number {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .consultant-bottom .yurist-number b {
        margin-right: 0;
    }
}

.consultant .entry-content {
    display: none;
}

.success-phone a:hover {
    text-decoration: underline;
    color: #CA0000;
}

.yurist-number {
    display: flex;
    align-items: center;
    margin-left: auto;
    line-height: 1.3;
    color: #000;
}

.yurist-number b {
    margin-right: 10px;
}


.yurist-number i {
    font-size: 20px;
    color: #FE0000;
    animation: colorChange 2s ease infinite;
}


@keyframes colorChange {
    33% {
        color: #DC9951;
    }
    66% {
        color: #209b10;
    }
}

.page-template-page-pravoved-template .main-inner {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.inline-field {
    display: flex;
    align-items: center;
}

.field-inline-group {
    width: 45%;
}

.field-inline-group:nth-child(2) {
    margin-left: auto;
}


/*стили для лендинга консультации*/
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-gap: 20px;
    position: relative;
    background: hsla(12, 100%, 20%, 0.89);
    color: #ffffff;
    z-index: 1;
    padding: 15px;
}

.features-heading {
    grid-column: 1/-1;
    text-align: center;
    font-weight: bold;
    font-size: 28px;
    background: #fff;
    color: #000000;
    padding: 5px;
}

.feature-logo {
    font-size: 40px;
    margin-top: 10px;
}

.features-item {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    grid-gap: 10px 25px;
}

.features-item b {
    grid-column: 1/2;
    grid-row: 2/3;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
}

.features .features-item p {
    margin-top: 10px;
    grid-column: 2/4;
    grid-row: 1/3;
    color: #ffffff;
    padding: 0;
    margin: 0;
    justify-self: start;
}

@media (max-width: 590px) {
    .features {
        grid-template-columns: minmax(280px, 1fr);
    }

    .features-item {
        grid-template-columns: 1fr;
    }

    .feature-logo {
        grid-row: 1/2;
        grid-column: 1/-1;
    }

    .features-item b {
        grid-row: 2/3;
        grid-column: 1/-1;
    }

    .features .features-item p {
        grid-row: 3/4;
        grid-column: 1/-1;
        text-align: center;
    }
}

.how-ask-questions {
    display: grid;
    margin-top: 25px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 20px;
}

@media (max-width: 1239px) and (min-width: 940px) {
    .haq-item:last-child {
        grid-column: 1/-1;
    }
}

.haq-heading {
    grid-column: 1/-1;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

.haq-item {
    text-align: center;
    border: 2px solid #681400;
    padding: 25px;
    background: rgba(0, 142, 203, .219);
}

.haw-item-description {
    text-align: center;
    font-weight: 500;
}

.haw-item-description span {
    font-weight: 600;
    text-decoration: underline;
}

.haq-item-heading {
    color: #FF1100;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 22px;
}

.haq-item-icon {
    color: #5a3f36;
    font-size: 40px;
    margin-bottom: 15px;
}

.info-consultant {
    margin-top: 25px;
    background: hsla(12, 100%, 20%, 0.89);
    padding: 25px;
    text-align: center;
    color: #ffffff;
}

.info-head {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    background: #ffffff;
}

.info-consultant p {
    text-align: center;
    color: inherit;
    margin-top: 15px;
}

.info-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-phone b {
    font-size: 20px;
    font-weight: bold;
}

.info-phone a {
    display: flex;
    width: 80px;
    height: 80px;
    position: relative;
    margin-top: 15px;
}

.info-phone a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border: 4px solid #00E155;
    border-radius: 50%;
    box-sizing: border-box;
    animation: phoneBorderScale 2s ease infinite;
}

.info-phone a i {
    font-size: 40px;
    margin: auto;
    color: #00e155;
    animation: animatePhone 2s linear infinite;
}

@keyframes phoneBorderScale {
    50% {
        transform: scale(1.1);
    }
    90% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes animatePhone {
    10% {
        transform: rotate(-75deg);
    }
    20% {
        transform: rotate(0deg);
    }
    30% {
        transform: rotate(45deg);
    }
    40% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/*Exit poup*/
#exitpopup.exitpopup-show {
    transform: translate(-50%, -50%) scale(1);
}

#exitpopup {
    position: fixed;
    box-sizing: border-box;
    max-height: 590px;
    width: 530px;
    color: #000;
    border-radius: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    border: 2px solid rgb(75, 74, 74);
    background-color: #dedede;
    background-image: url("https://www.transparenttextures.com/patterns/noise-pattern-with-subtle-cross-lines.png");
    text-align: center;
    z-index: 10100;
    padding: 25px 25px 25px 40px;
    transition: .3s ease;
    overflow: hidden;
}

#exitpopup b {
    line-height: 1.2;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 10px;
}

#exitpopup p {
    color: inherit;
    text-align: inherit;
    margin-top: 20px;
    font-size: 20px;
    max-width: 410px;
    padding-left: 30px;
}

#exitpopup p a.hl {
    color: #00539B !important;
}

#exitpopup p a.hl:hover {
    color: #ff3f0e !important;
}

#exitpopup .logo {
    color: rgb(13, 88, 150);
    position: absolute;
    top: 50%;
    left: 0;
    line-height: 1;
    font-size: 100px;
    transform: translate(-60%, -50%);
}

#exitpopup .logo i {
    filter: drop-shadow(2px 2px 1px #00335F)
}

#exitpopup .exitpopup-btn {
    font-size: 26px !important;
    display: inline-block;
    color: #fff !important;
    border: 1px solid #000;
    background-color: rgb(13, 88, 150);
    padding: 5px 15px;
    transition: .3s ease;
    margin-top: 10px;
    box-shadow: 5px 5px rgb(8, 54, 92);
    position: relative;
}

#exitpopup .exitpopup-btn:hover {
    box-shadow: 1px 1px rgb(8, 54, 92);
    transform: translate(2px, 2px);
}

#exitpopup .close-popup {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    background: transparent;
    border: none;
    transition: .3s ease;
    color: inherit;
    cursor: pointer;
}

#exitpopup .close-popup:hover {
    transform: scale(1.1);
}

body {
    /* position: relative; */
    transition: .3s ease;
}

.popup-open::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 20000px;
    background: rgba(161, 161, 161, 0.774) !important;
    z-index: 10000;
}

/* Блок под Н1 */
.yurist-block {
    width: 95%;
    margin: 0 auto;
    padding: 10px;
    background-color: #c8ebff;
    box-shadow: 3px 3px 14px 0 black;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    background-image: url(/custom-consultant/batthern.png);
    align-items: center;
    border: 2px solid #00317C;
}

.yurist-block-left {
    display: flex;
    align-items: center;
}

.yurist-logo {
    width: 60px;
    height: 60px;
    font-size: 40px;
    line-height: 60px;
    text-align: center;
    color: #003877;
}

.yurist-description {
    width: 80%;
    padding-left: 10px;
}

.yurist-description p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
    font-size: 17px;
    text-align: left !important;
}

.yurist-block-paragraph a {
    color: #00317c;
    transition: .3s ease;
    text-decoration: none !important;
}

.yurist-block-paragraph a:hover {
    color: #ff0001;
}

.yurist-description-heading {
    font-size: 24px !important;
    color: #FE0000;
    font-weight: bold;
}

.yurist-block-btn {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 7px;
    background-color: #ed3833 !important;
    border: 1px solid #ed3833;
    text-decoration: none !important;
    border-radius: 3px;
    color: #fff !important;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 1px 1px 1px black;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 2px 2px 3px black;
}

a.yurist-block-btn:hover {
    background-color: #008DCB !important;
    border: 1px solid #008DCB;
    color: #fff !important;
}


@media (max-width: 768px) {
    .yurist-block {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 80%;
    }

    .yurist-logo {
        display: none;
    }

    .yurist-block * {
        text-align: center !important;
        font-size: 18px !important;
    }

    .yurist-block-left {
        justify-content: center !important;
        width: 100%;
    }

    .yurist-description {
        width: 100%;
        padding-left: 0 !important;
    }

    .yurist-description-heading {
        font-size: 18px !important;
    }

    .yurist-block-paragraph {
        font-size: 16px !important;
    }

    .yurist-block-paragraph a {
        font-size: 16px !important;
    }

    .yurist-description p {
        text-align: center !important;
    }

    .yurist-description-heading {
        font-size: 20px !important;
    }

    .yurist-block-btn {
        margin-top: 10px !important;
        font-size: 16px !important;
        padding: 5px 10px !important;
    }
}

@media (max-width: 768px) {
    body > div.pravoved-ru-widget.pravoved-ru-widget--auto {
        bottom: 60px !important;
    }
}

.content-container .reckl {
    margin-bottom: 15px;
}

/* технические заголовки */
body b.recommendations-title {
    font-size: 17px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    line-height: 1;
    margin-bottom: 1.25rem;
    margin-top: 2.75rem;
    display: block;
}

body b.recommendations-title:after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    border-bottom: 2px solid #000;
    width: 100%;
}

body b.card-title {
    font-weight: 500;
    line-height: 1.2;
    color: #282828;
    margin-top: 0;
    display: block;
    text-align: left;
}

body .card-comment .card-body b {
    font-size: 15px;
    color: #3f8ac3;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    margin-right: 15px;
    display: inline-block;
}

body .card-recommendation b a {
    color: #212529;
}

body .post-comments-container .post-comments-title-container .post-comments-title {
    display: block;
}

body .screen-footer .screen-footer-top b {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding-bottom: 8px;
    text-align: left;
    line-height: 1.271;
    margin-bottom: .5rem;
    display: block;
}

body .screen-footer .screen-footer-top b a {
    color: #fff;
    display: inline-block;
    position: relative;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

body .screen-footer .screen-footer-top b a:hover {
    color: #fff;
    opacity: .702;
}

/* breadcrumbs */
body .nav-breadcrumbs-login .breadcrumb li a {
    color: #737373;
    font-size: 15px;
}

body .nav-breadcrumbs-login .breadcrumb li a:hover {
    color: #008dcb;
}

body .nav-breadcrumbs-login .breadcrumb {
    padding: .1375rem .75rem;
    margin-bottom: .5rem;
    line-height: 24px;
}

body .screen-post article h1 {
    margin-bottom: 1.25rem;
}

body .screen-post article a.a__print {
    font-size: .9rem;
}

.topadx {
    transition: .3s ease;
    transform: scaleY(0);
    transform-origin: 0 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #303030;
    font-size: 16px;
    color: #fff;
    padding: 8px 0;
}

@media (max-width: 768px) {
    .topadx {
        display: none;
    }
}

.topadx.shown {
    transform: scaleY(1);
}

body {
    margin-top: 0;
}

@media (max-width: 991px) {
    body button.hamburger {
        top: 12px;
    }
}

body .section-header_form_search {
    display: block;
}


article .download {
    background: #008fc5;
    border: none;
    font-size: 1.0625rem;
    color: #fff;
    text-align: center;
    padding: .625rem .9375rem;
    position: relative;
    margin: 0 auto;
    display: table;
    text-decoration: underline;
}

article .download:hover {
    background: #0083b9;
    text-decoration: none;
    color: #fff;
}

.native-block {
    position: relative;
    background-color: #348fc5;
    color: #f7f4f4;
    padding: 20px;
    padding-left: 110px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 1px #000;
    box-shadow: 3px 3px 14px 0px #b2b2b2;
    border-radius: 4px;
}

.native-block::before {
    content: '';
    background-image: url('/custom-consultant/justice.png');
    background-size: cover;
    width: 85px;
    height: 85px;
    position: absolute;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}

.native-block p {
    padding: 0;
    margin-bottom: 0 !important;
    text-align: left !important;
}

.native-block a {
    color: #ffed00 !important;
    transition: .3s ease;
    text-decoration: none !important;
}

.native-block a:hover {
    color: #ff0001 !important;
}

@media (max-width: 500px) {
    .native-block::before {
        width: 80px;
        height: 80px;
    }

    .native-block {
        padding-left: 90px;
    }
}

.after-post-end {
    background-color: #a54c00;
    color: #fbfafa;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 3px 3px 14px 0px #b2b2b2;
    text-shadow: 1px 1px 3px black;
    position: relative;
    border: 2px solid #f9f9f9;
    border-radius: 4px;
}

.after-post-end a {
    padding: 10px 15px;
    border: 2px solid #fff;
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    text-decoration: none !important;
    border-radius: 10px;
    transition: .3s ease;
    box-shadow: inset 0px 0px 0px 0px black, 0px 13px 6px -9px black;
}

.after-post-end a:hover {
    background: #fff;
    color: #a54c24;
    border-color: #000;
    box-shadow: inset -1px 2px 2px 0px black, 0px 0px 0px 0px black;
    text-shadow: 1px 1px 3px white;
}

.top-bar-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 -10px;
}

.top-bar-wrapper > * {
    margin: 0 10px;
}

.top-bar-wrapper .logo {
    width: 55px;
    height: 55px;
    background-image: url('/custom-consultant/lawyer.png');
    border-radius: 50%;
    background-size: cover;
    background-color: #ffffff;
    border: 2px solid #000;
    box-shadow: 1px 2px 12px -3px #6ab3dc;
}

.top-bar-wrapper .top-btn {
    padding: 6px 15px;
    margin-top: 5px;
    display: inline-block;
    background: #0389c5;
    color: #ffffff !important;
    border-radius: 5px;
    box-shadow: 2px 2px 11px #21445d;
    transition: .3s ease;
    border: 2px solid #0389c5;
    min-width: 140px;
    text-align: center;
}

.top-bar-wrapper .top-btn:hover {
    box-shadow: 2px 2px 11px 7px #013458;
    background: #fff;
    color: #0389c5 !important;
}

.top-bar-wrapper .top-features {
    list-style: none;
    display: flex;
    max-width: 600px;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.top-bar-wrapper .group:last-of-type {
    margin-left: auto;
}

.top-bar-wrapper .top-features li {
    margin: 0 10px;
    width: 220px;
}

@media screen and (max-width: 768px) {
    .top-bar-wrapper {
        padding-left: 0;
    }

    .top-bar-wrapper .group:last-of-type {
        display: none;
    }

    body .widget-auth-buttons {
        display: none;
    }
}

.modal-form {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #b9ddf0;
    display: none;
}

.modal-hide {
    opacity: 0 !important;
}

.consultant-form {
    transition: .3s ease;
    opacity: 1;
}

#arrowTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background: #e5e5e5;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#arrowTop i {
    font-size: 40px;
    color: #0087cb;
    transition: .3s;
}

#arrowTop:hover i {
    color: #ca866d;
}

/* страница автора */
.avatar {
    width: 140px;
    height: 140px;
}

.avatar img {
    border-radius: 50%;
}

.author-head {
    display: flex;
    align-items: center;
}

.wrapper:not(.topadx .wrapper) {
    margin-left: 25px;
}

.img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.img-box {
    text-align: center;
    min-height: 120px;
}

.img-box {
    width: 500px;
    height: 354px;
    transition: .3s ease-out;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    margin: 0 auto;
    max-width: 100%;
}

@media (max-width: 576px) {
    .img-box {
        height: 250px;
    }
}

.img-box:hover,
.modal-img .close:hover {
    cursor: pointer;
    opacity: 0.8;
}

.modal-img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    transition: .3s ease-out;
    z-index: 100;
    border-radius: 10px;
    z-index: 1000000;
}

.modal-img.active {
    transform: translate(-50%, -50%) scale(1);
}

.modal-img img {
    max-width: 900px;
    border: 2px solid #000;
    border-radius: 10px;
}

.modal-img .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    font-size: 28px;
}

.img-btn {
    padding: 10px 15px;
    background: #008dcb;
    color: #ffffff;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .modal-img img {
        max-width: 100%;
    }
}

/* Общая страница авторов */
.character-item {
    height: 100%;
    flex-grow: 1;
    text-align: center;
    padding: 25px;
    position: relative;
    background: #fff;
    transition: .3s ease;
    z-index: 1;
}

.character-item::before {
    content: '';
    position: absolute;
    border-radius: 4px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0px 0px 4px 1px #cecece;
    z-index: -1;
    transition: .3s ease;
}

.character-item:hover::before {
    transform: scaleY(1.05);
    box-shadow: 0px 0px 7px 2px #bababa;
}

.character-item .avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.character-item .avatar img {
    border-radius: 50%;
    filter: grayscale(1);
    transition: .3s ease;
}

.character-item:hover .avatar img {
    filter: grayscale(0);
}

.character-item .name {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 0 0;
}

.character-item .job {
    font-weight: 500;
    font-size: 90%;
    color: #717070;
    margin-bottom: 6px;
}

.character_articles {
    font-size: 16px;
    padding: 1px 14px;
    margin-bottom: 12px;
    border-radius: 20px;
    display: inline-block;
    background: #e5e5e5;
}

.character-item .description {
    font-size: 80%;
}
@media (max-width: 768px) {
    .character-item .description {
        font-size: 16px;
    }

    .character-item__socials {
        font-size: 18px;
    }
}


.character-item .info-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 120%);
    opacity: 0;
    font-size: 90%;
    border-radius: 5px;
    padding: 7px 25px;
    background: #008dcb;
    color: #ffffff;
    white-space: nowrap;
    transition: .3s ease;
}



.character-item:hover .info-btn {
    transform: translate(-50%, 70%);
    opacity: 1;
}

.character-item .info-btn i {
    position: relative;
    top: 1px;
    left: 0;
    transition: .3s ease;
}

.character-item .info-btn:hover {
    background: #00567D;
}

.character-item .info-btn:hover i {
    left: 5px;
}

@media (max-width: 600px) {
    .team .character-item {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .team .character-item .avatar {
        width: 100px;
        height: 100px;
    }

    .team .character-item .name {
        font-size: 20px;
        margin: 10px 0;
    }

    .team .character-item .job,
    .team .character-item .description,
    .team .character-item .info-btn {
        font-size: 18px;
    }
}

.screen-post article ol li {
    padding-left: .9rem;
}

/* Таблицы */
#custom-table_wrapper {
    margin: 20px 0;
}

#custom-table {
    width: 100% !important;
}

#custom-table p,
#custom-table li {
    font-size: 14px;
    text-align: left;
    padding: 0;
    margin: 0;
}

#custom-table thead td {
    line-height: 1.3;
    background: #303030;
    color: #ffffff;
    transition: .3s;
}

#custom-table thead td:hover {
    background: #008dcb;
}

@media (max-width: 1000px) {
    #custom-table_wrapper {
        overflow-x: scroll;
    }
}
