

/* Start:/local/templates/mfb/css/style.css?154903521854680*/
body {
    -webkit-text-size-adjust:none;
    color:#000;
}
body, html {
    min-height:100%;
}
html {
    position:relative;
}
body, html, p, h1, h2, h3, h4, h5, h6, img, input, select, textarea, ul, ol, form, button, iframe {
    padding: 0;
    margin: 0;
    border: 0;
    font-family: 'PT Sans', serif;
}
input, select, textarea, button {
    -webkit-appearance:none;
}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
} 
textarea {
	resize:none;
	-webkit-overflow-scrolling: touch;
}
a {
    color:#000;
}
a:focus, input:focus, select:focus, textarea:focus, button:focus {
    outline:none;
}
a, a:link, a:active, a:visited, a:hover {
    text-decoration:none;
    outline:none 0;
    cursor:pointer;
}
.clear {
    clear:both;
}
.wrapper {
    width:1170px;
    margin-left:auto;
    margin-right:auto;
    display:table;
    position:relative;
}

::selection {
    background:#ffeb3b;
    color:#000;
    opacity:1;
}
/* menu */
.menu-wrapper {
    width: 100%;
	height:100%;
	overflow-x:hidden;
	overflow-y:auto;
    position: fixed;
    background: #fff;
    z-index: 20;
    top: 0;
    left: 0;
    transition: opacity ease 0.4s;
    -webkit-transition: opacity ease 0.4s;
    -webkit-overflow-scrolling: touch;
	opacity:0;
	display:none;
}

.menu {
    background: #fff;
    color: #000;
	opacity:1;
	transition:opacity ease 0.3s;
	transition-delay:0.4s;
}
.menu-wrapper.on {
    opacity:1;
}
.body-home header .menu-wrapper .wrapper:after {
    transition: opacity ease 0.4s;
    -webkit-transition: opacity ease 0.4s;
}
.body-home header .menu-wrapper.on .wrapper:after {
	opacity:0;
}
    .menu ul {
        list-style:none;
    }
    .menu ul a {
        color: #000;
        transition: border-color ease 0.3s;
        display: block;
        line-height: 24px;
        border-left: 7px solid #fff;
        padding-left:20px;
    }
    .menu ul a:hover, .menu .column > ul > li > a:hover {
        border-left-color: #000;
    }
    .menu .column > ul > li > a {
        border-left-color:#ffeb3b;
        font-weight:700;
    }
    .menu .column > ul > li {
        padding:7px 0;
    }
        .menu .column > ul > li > ul {
            padding:8px 0;
        }
            .menu .column > ul > li > ul > li {
                padding: 7px 0;
            }
    .menu .menu-header {
        padding-left:40px;
        padding-right:40px;
        padding-top:83px;
        padding-bottom:63px;
    }
        .menu .menu-header .link-menu-close {
            display:block;
            height:36px;
            white-space:nowrap;
            line-height:28px;
            text-transform:uppercase;
            font-weight:700;
            text-align:left;
            padding-left:46px;
            background:url(/local/templates/mfb/css/../img/close.png) no-repeat 0 50%;
            background-size:36px 36px;
            font-size:14px;
            float:right;
            margin-top:28px;
        }
            .menu .menu-header .link-menu-close span {
                display: block;
                border-top: 4px solid #fff;
                border-bottom: 4px solid #fff;
                transition: border-bottom-color 0.3s ease;
            }
            .menu .menu-header .link-menu-close:hover span {
                border-bottom-color:#ffeb3b;
            }
        .menu .menu-header .logo,
        .menu .menu-header .logo img {
            display: block;
            height: 90px;
            width: 200px;
        }
        .menu .menu-header .logo {
            float:left;
        }
        .menu .menu-body {
            display: -webkit-flex;
            display: -webkit-box;
            display: flex;
            width: 100%;
            flex-direction: row;
            padding-bottom:86px;
        }
        .menu .menu-body > .column {
            flex:1;
            padding-left:40px;
            padding-right:40px;
        }
        .menu .menu-body > .column.col-1 {
            width: 25%;
            max-width:25%;
        }
        .menu .menu-body > .column.col-2 {
            width:46%;
            max-width:46%;
        }
        .menu .menu-body > .column.col-3 {
            width: 29%;
            max-width:29%;
        }
        .menu .phone {
            font-weight:700;
            font-size:18px;
            line-height:36px;
            text-transform:uppercase;
            white-space:nowrap;
            padding-bottom:0;
            padding-top:0;
        }
        .menu p {
            font-size: 16px;
            line-height: 1.3;
            padding:10px 0;
        }
            .menu p a {
                display: inline-block;
                color: #000;
                border-bottom: 1px solid #000;
                transition: border-bottom-color 0.3s ease;
            }
            .menu p a:hover {
                border-bottom-color:#ffeb3b;
            }
    .menu .buttons {
        padding-top:35px;
    }
    .menu .social {
        padding-top:15px;
    }
/* menu */

/* contact button */
.btn-contact {
    height: 65px;
    display: block;
    line-height: 65px;
    padding: 0 40px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    background: #000;
    transition: background-color ease 0.3s;
}
.btn-contact:hover {
    background:#ffeb3b;
    color:#000;
}
    .btn-contact span {
        display: table;
        margin-left:auto;
        margin-right:auto;
        height: 65px;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding-left: 40px;
        background:url(/local/templates/mfb/css/../img/plane-white.png) no-repeat 0 50%;
        background-size:auto 26px;
    }
    .btn-contact:hover span {
        background-image: url(/local/templates/mfb/css/../img/plane.png);
    }
    .btn-contact.btn-book span {
        background-image: url(/local/templates/mfb/css/../img/book-white.png);
        padding-left:55px;
    }
    .btn-contact.btn-book:hover span {
        background-image: url(/local/templates/mfb/css/../img/book.png);
    }
/* contact button */

/* social */
.social {
    list-style:none;
    display:-webkit-box;
    display:-webkit-flex;
    display:flex;
    flex-direction:row;
    padding:0;
}
    .social > li {
        margin-left:20px;
        padding-top:0 !important;
        padding-bottom:0 !important;
    }
    .social > li:first-child {
        margin-left: 0;
    }
        .social > li a {
            display:block;
            height:38px;
            width:38px;
            background-color:#ffeb3b;
            transition:background-color ease 0.3s;
            padding:11px !important;
            border:0 !important;
        }
        .social > li a:hover {
            background-color: #000;
        }
            .social > li a svg {
                display:block;
                height:16px;
                width:16px;
            }
            .social > li a svg path {
                transition:fill ease 0.3s;
                fill:#000;
            }
                .social > li a:hover svg path {
                    fill: #fff;
                }
/* social */

/* header */
header {
    padding:15px 0 11px 0;
}

.body-home header .wrapper:after {
    content: '';
    background:url(/local/templates/mfb/css/../img/m-long.png) left top no-repeat;
    position: absolute;
    left: -131px;
    right: 0px;
    top: -15px;
    height: 235px;
    z-index: -1;
}

@media screen and (max-width: 1200px) {
    .body-home header .wrapper:after {
        left: -116px;
    }
}

    .hamburger {
        display:block;
        float:left;
        font-size:16px;
        white-space:nowrap;
        text-transform:uppercase;
        color:#000;
        cursor:pointer;
        padding-left:50px;
        background:url(/local/templates/mfb/css/../img/hamburger.svg) no-repeat 0 50%;
        background-size:36px 36px;
        height:36px;
        line-height:28px;
        font-weight:700;
        position:relative;
        top:19px;
    }
        .hamburger span {
            display: block;
            border-top: 4px solid transparent;
            border-bottom: 4px solid transparent;
            transition: border-bottom-color ease 0.3s;
        }
        .hamburger:hover span {
            border-bottom-color:#ffeb3b;
        }
    header .phonex {
        font-weight:700;
        font-size:20px;
        line-height:24px;
        white-space:nowrap;
		display:block;
		text-align:right;
    }
	header .phones {
		position:relative;
		float:right;
		top:11px;
	}
    header .logox, header .logox img {
        display: block;
        height: 75px;
        width: 170px;
        margin-left: auto;
        margin-right: auto;
    }
/* header */

/* breadcrumbs */
.breadcrumbs {
    text-align: center;
    background: #f8f8f8;
    border-top: 1px solid #ececec;
    padding: 16px 0;
    font-size: 14px;
    color: #9a9a9a;
}
    .breadcrumbs a {
        color: #9a9a9a;
        transition:color ease 0.3s;
    }
    .breadcrumbs a:hover {
        color: #000;
    }
    .breadcrumbs em {
        color: #ffeb3b;
        padding:0 11px;
        font-style:normal;
    }
/* breadcrumbs */

/* headline */
.headline {
    padding:50px 0;
    text-align:center;
}
.headline.headline-seminar {
    padding-bottom:25px;
}
    .headline h1, .headline h2 {
        font-weight: 700;
        font-size: 30px;
        line-height: 1.3;
        font-family: 'PT Serif', serif;
    }
/* headline */

/* footer */
footer {
    padding-top:50px;
}
    footer .wrapper {
        border-top: 1px solid #f8f8f8;
        padding: 40px 0;
    }
        footer ul.nav {
            list-style:none;
            font-size:16px;
            line-height:1.3;
        }
            footer ul.nav li {
                padding:12px 0 7px 0;
            }
            footer ul.nav li a {
                position:relative;
                border-bottom:2px solid #fff;
                transition:border-bottom-color ease 0.3s;
            }
            footer ul.nav li a:hover {
                border-bottom-color:#ffeb3b;
            }
        footer .logo, footer .logo img {
            display:block;
            width:100%;
        }
            footer .logo img {
                height:90px;
            }
            footer p.copyrights {
                text-align: center;
                font-size: 14px;
                line-height: 1.25;
                padding-top: 30px;
            }
        footer .nav-title {
            font-weight:700;
            font-family:'PT Serif', serif;
            font-size:16px;
            line-height:1.3;
            margin-top:-5px;
            padding-bottom:7px;
        }
        footer .columns {
            list-style: none;
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            flex-direction: row;
            width:100%;
        }
            footer .columns > .column {
                flex:1;
                box-sizing:border-box;
            }
            footer .columns > .column.col-1 {
                width:17%;
                max-width:17%;
            }
            footer .columns > .column.col-2 {
                width: 25%;
                padding-left:70px;
                max-width: 25%;
            }
            footer .columns > .column.col-3 {
                width: 36%;
                max-width: 36%;
                padding-left:70px;
                padding-right:20px;
            }
            footer .columns > .column.col-4 {
                width: 22%;
                max-width:22%;
                position:relative;
                padding-bottom:75px;
                text-align:right;
            }
            footer .developer {
                position: absolute;
                right: 0;
                bottom: 45px;
                line-height: 20px;
                height: 20px;
                width:auto;
                white-space: nowrap;
                text-align:right;
                display:inline-block;
            }
                footer .developer a {
                    background: url(/local/templates/mfb/css/../img/tf.png) no-repeat 0 50%;
                    height: 20px;
                    overflow: hidden;
                    white-space:nowrap;
                    padding-left: 25px;
                }
            footer .social {
                float: right;
            }
            .old-safari footer .columns > .column.col-4 {
                padding-bottom: 0;
            }

            .old-safari footer .developer {
                position: relative;
                top: 120px;
                bottom: auto;
            }
/* footer */

/* guide list */
.guide-list .guide-item {
    width:50%;
    float:left;
    padding:20px 0;
}
    .guide-list .guide-item:nth-child(2n+1) {
        padding-right:30px;
        padding-left:10px;
    }
    .guide-list .guide-item:nth-child(2n+2) {
        padding-left:40px;
    }
.guide {
    display:block;
    position:relative;
    border:2px solid #000;
    background:#fff;
    z-index:2;
    height:182px;
}
    .guide::before {
        border-top: 10px solid #ffeb3b;
        border-left: 10px solid #ffeb3b;
        height: 140px;
        width: 100px;
        display: block;
        position: absolute;
        z-index: 1;
        content: " ";
        top: -12px;
        left: -12px;
    }
    .guide:hover::before {
        border-top-width: 0;
        border-left-width: 0;
    }
    .guide .guide-wrapper {
        display:table;
        width:100%;
        height: 100%;
        padding:0;
    }
        .guide .guide-wrapper > span,
        .guide .guide-wrapper > div {
            height: 100%;
            display:table-cell;
            vertical-align:middle;
        }
        .guide .guide-wrapper .guide-icon {
            width:168px;
            max-width:168px;
            overflow:hidden;
            text-align:center;
        }
        .guide .guide-wrapper .guide-title {
            font-weight:700;
            font-size:18px;
            line-height:1.3;
            font-family:'PT Serif', serif;
            text-align:left;
            padding-right:40px;
        }
    .guide img, .guide svg {
        display:block;
        height:75px;
        width:75px;
        margin:0 auto;
    }
/* guide list */

/* sleng */
.two-columned {
    -moz-column-count: 2;
    -moz-column-gap: 60px;
    -webkit-column-count: 2;
    -webkit-column-gap: 60px;
    column-count: 2;
    column-gap: 60px;
}
    .two-columned p {
        padding:0 0 40px 0;
        font-size:16px;
        line-height:1.5;
    }
        .two-columned p b {
            font-size:18px;
            font-weight:700;
            font-family: 'PT Serif', serif;
        }
/* sleng */

/* terms text */
.terms-text {

}
    .terms-text dl {
        display:table;
        width:50%;
        break-inside:avoid;
        float:left;
        margin:0;
    }
    .terms-text dl:nth-child(3n+1) {
        padding-right:30px;
    }
    .terms-text dl:nth-child(3n+2) {
        padding-left: 30px;
    }
    .terms-text dl {
        display: table;
        width: 50%;
        break-inside: avoid;
        float: left;
        margin: 0;
    }
        .terms-text dt {
            display:table-cell;
            vertical-align:top;
            text-align:left;
            font-size:18px;
            line-height:1.3;
            font-weight:700;
            font-family:'PT Serif', serif;
            margin:0;
            padding:0 20px 25px 0;
            width:35%;
        }
        .terms-text dd {
            display: table-cell;
            vertical-align: top;
            text-align: left;
            font-size: 16px;
            line-height: 1.3;
            margin:0;
            padding:0 0 25px 0;
        }
/* terms text */

/* team list */
.team-list {
    clear:both;
}
    .team-list .team-item {
        float:left;
        width:50%;
        padding-bottom:60px;
    }
    .team-list .team-item:nth-child(2n+1) {
        padding-right:30px;
    }
        .team-list .team-item:nth-child(2n+2) {
            padding-left: 30px;
        }
.member {
    height:270px;
    display:table;
    width:100%;
}
.quote-box .member {
    height:auto;
}
    .member .member-image {
        height: 270px;
        width: 270px;
        position: relative;
        display: table-cell;
        font-size: 0;
        line-height: 0;
        vertical-align: top;
    }
        .member .member-image img {
            position:relative;
            z-index:2;
            width:270px;
            height:270px;
        }
        .member .member-image::before {
            width: 190px;
            height: 220px;
            display:block;
            position:absolute;
            z-index:1;
            border-right:10px solid #ffeb3b;
            border-bottom:10px solid #ffeb3b;
            content:' ';
            bottom:-10px;
            right:-10px;
        }
    .member .member-text {
        height: 270px;
        display:table-cell;
        vertical-align:top;
        overflow:hidden;
        padding-left:70px;
    }
        .member .member-text h3 {
            font-family:'PT Serif', serif;
            font-weight:700;
            font-size:18px;
            line-height:1.3;
            padding-bottom:15px;
            padding-top:25px;
        }
        .member .member-text p {
            font-weight: 700;
            font-size: 16px;
            line-height: 1.3;
            color: #9a9a9a;
        }
/* team list */

/* contact */
.gmap {
    position:relative;
    height:480px;
    margin-bottom:-51px;
}
#map {
    height: 480px;
    overflow: hidden;
    width: 100%;
    background: #efefef;
    position:absolute !important;
    z-index:1;
    top:0;
    left:0;
}
.gmap .wrapper {
    position:relative;
    z-index:2;
    height:480px;
}
.contact-form {
    width: 470px;
    color: #fff;
    background: #3e3e3e;
    padding:50px 45px 95px 45px;
    position:absolute;
    top:65px;
	z-index:3;
	left:50%;
	margin-left:-585px;
}
    .contact-form h3 {
        font-size:24px;
        line-height:1.3;
        font-weight:700;
        font-family:'PT Serif', serif;
        padding-bottom:10px;
    }
    .contact-form .phone {
        font-size:18px;
        font-weight:700;
        padding:10px 0;
    }
    .contact-form p {
        font-size: 16px;
        padding:10px 0;
    }
        .contact-form p a {
            color:#fff;
        }
        .contact-form p a:hover {
            color: #ffeb3b;
        }
    .contact-form .buttons {
        position: absolute;
        bottom: 0;
        right: 0;
        border-top: 5px solid #fff;
        border-left: 5px solid #fff;
        width:270px;
    }
/* contact */

/* popup contact */
.overlay, .popup-wrapper {
    position: fixed;
    z-index: 20;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    display:block;
    top:0;
    left:0;
}
.overlay {
    display:none;
}
.popup-wrapper {
    background: none;
    z-index: 21;
    min-height: 440px;
    overflow: auto;
    min-width: 320px;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transform: translateZ(0) scale(0);
    transform: translateZ(0) scale(0);
    -webkit-transition: transform ease 0.3s;
    transition: transform ease 0.3s;
}
.popup-wrapper.on {
    -webkit-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
}
    .popup-wrapper .ft {
        height:100%;
        width:100%;
        display:table;
    }
    .popup-wrapper .ftd {
        height: 100%;
        width: 100%;
        display: table-cell;
        vertical-align:middle;
        padding:15px;
    }
.popup-contact {
    background: #d9d6cf;
    max-width:586px;
    margin-left:auto;
    margin-right:auto;
    display:block;
    position:relative;
    padding:60px 40px 0 40px;
}
    .popup h3 {
        text-align:center;
        font-size:24px;
        font-weight:700;
        font-family:'PT Serif', serif;
        padding-bottom:35px;
    }
    .popup .form {
        max-width:310px;
        margin-left:auto;
        margin-right:auto;
    }
.popup-close {
    height: 36px;
    width: 36px;
    background: url(/local/templates/mfb/css/../img/close.png) no-repeat 50% 50%;
    background-size: contain;
    cursor: pointer;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
}
.form .row {
    padding-bottom:30px;
}
    select::-ms-expand {
        display: none;
    }
    ::-webkit-input-placeholder {
        color: #000;
    }

    ::-moz-placeholder {
        color: #000;
    }

    :-ms-input-placeholder {
        color: #000;
    }

    :-moz-placeholder {
        color: #000;
    }
    .form .row input[type=text],
    .form .row input[type=password],
    .form .row input[type=tel],
    .form .row input[type=email],
    .form .row textarea,
    .form .row select {
        background: #fff;
        color: #000;
        font-size: 16px;
        text-align: left;
        padding: 0 22px;
        border: 0;
        height: 46px;
        display: block;
        width: 100%;
    }
    .form .row textarea {
        padding: 12px 22px;
        height: 90px;
        scrollbar-track-color: #fff;
        scrollbar-3dlight-color: #fff;
        scrollbar-darkshadow-color: #fff;
        scrollbar-arrow-color: #fff;
        scrollbar-base-color: #000;
    }
    .form .buttons {
        border:5px solid #fff;
        border-bottom:0;
    }
    .form .row input[type=checkbox],
    .form .row input[type=radio] {
        height: 16px;
        width: 16px;
        background: #fff;
        display: block;
        border:4px solid #fff;
    }
    .ie .form .row input[type=checkbox], .ie .form .row input[type=radio] {
        border:0;
    }
    .edge .form .row input[type=checkbox], 
    .edge .form .row input[type=radio] {
        border: 4px solid #fff;
    }
    .form .row input[type=checkbox]:checked,
    .form .row input[type=radio]:checked {
        background: #000;
    }
    .form .row input[type=checkbox]:disabled,
    .form .row input[type=radio]:disabled,
    .form .row input:disabled,
    .form .row textarea:disabled,
    .form .row select:disabled {
        opacity: 0.5;
    }
    .form .row input[type=radio] {
        border-radius:50%;
    }
    .form label.checkbox,
    .form label.radio {
        display: block;
        position: relative;
        padding-left: 26px;
        font-size: 12px;
        line-height: 1.3;
    }
    .form label.checkbox input,
    .form label.radio input {
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -8px;
    }
    .form label.checkbox a,
    .form label.radio a {
        border-bottom:1px solid #000;
        transition:all ease 0.3s;
    }
        .form label.checkbox a:hover,
        .form label.radio a:hover {
            border-bottom: 1px solid #ffeb3b;
        }
.form .row .error {
    display:none;
    font-size:12px;
    line-height:1.3;
    color:#ed1313;
    padding-top:5px;
}
.form .message {
    font-size:14px;
    color:#2fb432;
    line-height:1.3;
    padding:0 0 10px 0;
}
.form .message.success {
    color: #2fb432;
}
.form .message.error {
    color: #ed1313;
}
.button {
    display: block;
    height: 65px;
    background: #000;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    line-height: 65px;
    cursor: pointer;
    transition: background-color ease 0.3s, color ease 0.3s;
}
    .button:hover {
        background-color:#ffeb3b;
        color:#000;
    }
/* popup contact */

/* news */
.news-list {
    display:table;
    width:100%;
}
.news-item {
    width:33.33%;
    float:left;
    padding-bottom:40px;
}
.news-item:nth-child(3n+1) {
    padding-right:20px;
}
.news-item:nth-child(3n+2) {
    padding-left: 10px;
    padding-right:10px;
}
.news-item:nth-child(3n+3) {
    padding-left: 20px;
}
.news {
    display: block;
    overflow:hidden;
}
    .news > span {
        display:block;
    }
    .news .news-img {
        height:250px;
        overflow:hidden;
        background:#000;
        display:block;
    }
        .news .news-img img {
            display: block;
            -webkit-transition: opacity 0.3s ease;
            transition: opacity 0.3s ease;
            height:250px;
        }
        .news:hover .news-img img {
            opacity:0.5;
        }
    .news .news-labels {
        position:relative;
        min-height:30px;
        margin-top:-15px;
        display:block;
    }
        .news .news-labels .news-date {
            background:#fff;
            height:30px;
            line-height:30px;
            white-space:nowrap;
            font-weight:700;
            min-width:90px;
            float:left;
            margin-left:20px;
            padding:0 10px;
            text-align:center;
            font-size:16px;
            display:block;
            max-width:88%;
            text-overflow:ellipsis;
            overflow:hidden;
        }
            .news .news-labels .news-date.dark {
                background:#3e3e3e;
                color:#fff;
                margin-left:0;
            }
            .news .news-labels a.news-date.dark:hover {
                background: #ffeb3b;
                color: #000;
            }
    .news .news-title {
        margin-left:20px;
        margin-right:20px;
        margin-top:14px;
        font-size:18px;
        line-height:22px;
        height:44px;
        overflow:hidden;
        font-weight:700;
        font-family:'PT Serif', serif;
        display:block;
    }
    .news .news-txt {
        margin:17px 20px;
        font-size:16px;
        line-height:20px;
        height:40px;
        overflow:hidden;
        display:block;
    }
.pagination {
    text-align:center;
    padding:0 0 10px 0;
    font-size:16px;
    line-height:22px;
    clear:both;
}
    .pagination span {
        font-weight:700;
    }
    .pagination em {
        font-style:normal;
        padding:0 13px;
        color:#ffeb3b;
        font-weight:700;
    }
.h2-more {
    text-align:center;
    font-family:'PT Serif', serif;
    font-size:30px;
    line-height:30px;
    padding-bottom:30px;
    padding-top:50px;
}
.news-content {
    display: table;
    width: 100%;
    font-size: 16px;
    line-height:1.3;
}
    .news-content .date {
        font-weight: 700;
        margin-top: 0;
        font-size: 16px;
        padding-bottom: 10px;
        line-height: 1.3;
        padding-top:0;
    }
    .news-content p, .news-content ul, .news-content ol {
        padding: 10px 0;
    }
    .news-content ul, .news-content ol {
        list-style-position:inside;
    }
    .news-content a {
        border-bottom: 2px solid #ffeb3b;
        transition:border-bottom-color ease 0.3s;
    }
    .news-content a:hover {
        border-bottom-color:#000;
    }
    .news-thumb {
        position: relative;
        float: left;
        margin-right: 65px;
        margin-bottom: 50px;
        width: 470px;
        font-size: 0;
        line-height: 0;
        clear:left;
    }
    .news-desc {
        margin-left:535px;
    }
        .news-thumb::before {
            display:block;
            position:absolute;
            z-index:1;
            border-left:10px solid #ffeb3b;
            border-bottom:10px solid #ffeb3b;
            height:175px;
            width:365px;
            bottom:-10px;
            left:-10px;
            content:' ';
        }
        .news-thumb img {
            display: block;
            position: relative;
            z-index: 2;
            width: 100%;
        }
.gallery {
    list-style: none;
    display: table;
    width: calc(100% + 30px);
    box-sizing: content-box;
    margin-left: -15px;
    margin-top: 75px;
    margin-bottom: -15px;
}
.old-safari .gallery {
    width:102.56%;
}
.gallery li {
    display: block;
    float: left;
    width: 25%;
    padding: 0 15px 30px 15px;
}
        .gallery li img {
            display:block;
            width:100%;
        }
/* news */
/* about */
.about {
    position: relative;
    overflow: hidden;
    padding-bottom: 75px;
}
    .about .angle {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
        top: 0;
        right: 0;
        border-style: solid;
        border-width: 0 0 3000px 8000px;
        border-color: transparent transparent #f8f8f8 transparent;
    }
.old-safari .about .angle {
    border-width: 0 0 1500px 8000px;
}
    .about .wrapper {
        position: relative;
        z-index: 2;
    }
        .about .news-content {
            padding-bottom:100px;
        }
        .about .news-content p,
        .about .news-content ul,
        .about .news-content ol {
            padding-bottom:0;
            padding-top:20px;
        }
.about .member {
    display:block;
    height:auto;
}
.quote-box {
    display:table;
    width:100%;
}
    .quote-box .person.member {
        width: 370px;
        float: right;
        position:relative;
        display:block;
    }
        .quote-box .person.member::before {
            display:block;
            position:absolute;
            content:' ';
            height:40px;
            width:50px;
            background:url(/local/templates/mfb/css/../img/quote.svg) no-repeat 50% 50%;
            background-size:contain;
            z-index:1;
            top:10px;
            left:-85px;
        }
        .quote-box .person.member .member-image {
            display: block;
            height: 370px;
            width: 370px;
        }
            .quote-box .person.member .member-image img {
                width: 370px;
                height: 370px;
            }
            .quote-box .person.member .member-image::before {
                width: 270px;
                height: 300px;
                display: block;
                position: absolute;
                z-index: 1;
                border-bottom:0;
                border-right: 10px solid #ffeb3b;
                border-top: 10px solid #ffeb3b;
                content: ' ';
                bottom:auto;
                top:-10px;
                right: -10px;
            }
        .quote-box .member .member-text {
            height: auto;
            display: block;
            padding-left: 0;
            width:auto;
            float:right;
        }
            .quote-box .member .member-text h3 {
                font-size:24px;
                padding-top:32px;
                padding-bottom:5px;
            }
.quote-box .txt {
    margin-right: 470px;
    font-size: 16px;
    line-height: 1.3;
}
    .quote-box .txt p {
        padding:8px 0;
    }
    .quote-box .txt p:first-child {
        padding-top:0;
    }
.h2-more.h2-team {
    padding-top:50px;
    padding-bottom:50px;
}
.show-more-button {
    padding:45px 0 30px;
    text-align:center;
    font-size:0;
    line-height:0;
}
    .show-more-button .bt-show-more-team {
        display: inline-block;
        height: 75px;
        overflow: hidden;
        white-space: nowrap;
        text-align: center;
        border: 5px solid #ffeb3b;
        padding: 0 25px 0 32px;
        transition: background-color ease 0.3s;
    }
    .show-more-button .bt-show-more-team:hover {
        background:#ffeb3b;
    }
        .show-more-button .bt-show-more-team span {
            display:block;
            line-height:65px;
            text-transform:uppercase;
            font-weight:700;
            font-size:14px;
            padding-left:57px;
            position:relative;
        }
            .show-more-button .bt-show-more-team span svg {
                position:absolute;
                width:26px;
                height:26px;
                top:50%;
                left:0;
                margin-top:-13px;
                display:block;
            }
                .show-more-button .bt-show-more-team span svg polygon {
                    fill:#ffeb3b;
                    transition:fill ease 0.3s;
                }
                .show-more-button .bt-show-more-team:hover span svg polygon {
                    fill: #000;
                }
.partners {
    padding-top:35px;
}
    .partners ul, .expirience-nav {
        list-style: none;
        display: table;
        width: 100%;
    }

    .academy-tabs .expirience-nav {
        width:auto;
        margin-left:auto;
        margin-right:auto;
    }

.expirience {
    overflow: hidden;
}
.seminars.expirience {
    margin-top:-20px;
}
.partners ul li, .expirience-nav li {
    display: table-cell;
    width: 25%;
    vertical-align: middle;
    position: relative;
}
        .expirience-nav li {
            text-align: center;
            font-weight: 700;
            font-size: 16px;
            color: #9a9a9a;
        }
            .expirience-nav li a {
                color: #9a9a9a;
                transition:color ease 0.3s;
                display:block;
                max-width:220px;
                margin-left:auto;
                margin-right:auto;
            }
            .academy-tabs .expirience-nav li a {
                padding-top:13px;
                padding-bottom:13px;
            }
            .expirience-nav li a:hover {
                color: #000;
            }
            .expirience-nav li.active, .expirience-nav li.active a {
                color: #000;
            }
            .partners ul li::after,
            .expirience-nav li::after {
                position: absolute;
                height: 49px;
                width: 23px;
                background: url(/local/templates/mfb/css/../img/slash.png) no-repeat 50% 50%;
                background-size: contain;
                content: ' ';
                overflow: hidden;
                display: block;
                top: 50%;
                margin-top: -25px;
                right: -12px;
            }
            .expirience-nav li::after {
                background-image: url(/local/templates/mfb/css/../img/slashy.png);
            }
            .partners ul li:first-child::after,
            .partners ul li:last-child::after,
            .expirience-nav li:last-child::after {
                display: none;
            }
            .partners h3 {
                font-size: 24px;
                line-height: 1.3;
                font-family: 'PT Serif', serif;
            }
        .partners img {
            display:block;
            margin-left:auto;
            margin-right:auto;
        }
        .partners img.ff {
            height:46px;
        }
        .partners img.tchk {
            height: 50px;
        }
        .partners img.ptv {
            height: 64px;
        }
/* about */

/* portfolo */
.expirience-tab {
    border-top: 1px solid #9a9a9a;
    margin-top:44px;
    padding-top:44px;
    font-size:0;
    line-height:0;
}
.academy-tabs .expirience-tab {
    border-top:0;
    padding-top:0;
    margin-top:40px;
}
.expirience-tab .iconed {
    position: relative;
    padding-left: 100px;
    font-weight: 700;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    line-height: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-bottom: 26px;
    cursor: pointer;
}
    .expirience-tab .iconed:hover {
        color:#9a9a9a;
    }
    .expirience-tab .iconed img {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        height: 50px;
        width: 50px;
    }
/* portfolio */

/* get case popup */
.popup-get-case {
    width:630px;
	max-width:630px !important;
    background:#fff;
    margin-left:auto;
    margin-right:auto;
    display:table;
}
    .popup-get-case .promo-popup {
        width:100%;
        padding:30px;
        background:#fff;
        text-align:left;
		max-width:630px;
		position:relative;
    }
        .popup-get-case .promo-popup h3 {
            text-align:left;
            font-size:16px;
            line-height:1.2;
            max-width:90%;
            margin-bottom:20px;
            padding-bottom:0;
        }
    .popup-get-case .popup-contact {
        width: 100%;
		max-width:100%;
		padding:30px 30px 0 30px;
    }
	.promo-image-list {
		max-height:210px;
		height:210px !important;
		overflow-y:hidden;
		overflow-x:auto;
		-webkit-overflow-scrolling:touch;
		font-size:0;
		line-height:0;
		white-space:nowrap;
	}
		.promo-image-list::-webkit-scrollbar {
			width: 8px;
			height:8px;
		}
		.promo-image-list::-webkit-scrollbar-track {
			-webkit-box-shadow: none;
			box-shadow: none;
			background:#ccc;
			border-radius:4px;
		}
		.promo-image-list::-webkit-scrollbar-thumb {
			background: #000;
			outline:0;
			border-radius:4px;
		}
    .promo-image-list img {
        display: block;
        height: 170px;
        width: 170px;
        border: 1px solid #d9d6cf !important;
        transition:opacity ease 0.3s;
		max-width:170px !important;
		position:relative;
		z-index:2;
		background:#fff;
    }
.promo-image-list span {
	display:block;
    margin-right: 27px;
    margin-bottom: 27px;
	margin-top:10px;
	position:relative;
	display: inline-block;
	font-size:0;
	line-height:0;
}
.promo-image-list span::before {
	display:block;
	position:absolute;
	z-index:1;
	top:-5px;
	right:-5px;
	border-top:5px solid #ffeb3b;
	border-right:5px solid #ffeb3b;
	height:90px;
	width:90px;
	content:' ';
}
    .promo-image-list img:hover {
        opacity:0.75;
    }

/* get case popup */

/* service */
.service {
    position:relative;
    overflow:hidden;
}
    .service .wrapper {
        position:relative;
        z-index:2;
    }
    .service .angle {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
        top: 0;
        right: 0;
        border-style: solid;
        border-width: 0 0 2500px 8000px;
        border-color: transparent transparent #f8f8f8 transparent;
    }
    .old-safari .service .angle {
        border-width: 0 0 1000px 8000px;
    }
.two-columned p.service-point {
    padding-bottom: 0;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    padding-left: 70px;
    background: url(/local/templates/mfb/css/../img/point.png) no-repeat 25px 50%;
    background-size: 26px auto;
}
.service-points {
    padding-top:70px;
    padding-bottom:100px;
}
.service-contact-form.popup-contact {
    display:block;
    margin-left:auto;
    margin-right:auto;
    max-width:100%;
    padding:45px 90px 0 90px;
}
    .service-contact-form.popup-contact::before {
        display: block;
        position: absolute;
        z-index: 1;
        border-left: 10px solid #ffeb3b;
        border-top: 10px solid #ffeb3b;
        height: 370px;
        width: 280px;
        top: -10px;
        left: -10px;
        content: ' ';
    }
.popup.service-contact-form.popup-contact .form {
    max-width:100%;
}
    .popup.service-contact-form.popup-contact h3 {
        font-size: 30px;
        padding-bottom:30px;
        line-height:1.2;
    }
    .popup.service-contact-form.popup-contact .buttons {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
.three {
    display:flex;
    display:-webkit-box;
    display:-webkit-flex;
    width:100%;
    min-width:100%;
    flex-direction:row;
}
    .three > div {
        flex:1;
        max-width:33.33%;
        width:33.33%;
    }
    .three > div:first-child {
        padding-right:20px;
    }
    .three > div:nth-child(3n+2) {
        padding-left:10px;
        padding-right:10px;
    }
    .three > div:last-child {
        
        padding-left: 20px;
    }
/* service */

/* home */
.partners-box {
    padding:60px 0;
}
    .partners-box .partners {
        padding: 0;
    }
.news-box {
    background:#f8f8f8;
    padding-top:65px;
    padding-bottom:30px;
    margin-top:60px;
}
    .news-box .wrapper {
        position:relative;
    }
    .news-box h2 {
        text-align: center;
        font-family: 'PT Serif', serif;
        font-weight: 700;
        font-size: 30px;
        padding-bottom: 60px;
    }
    .news-box .tools {
        position:absolute;
        right:15px;
        top:7px;
        white-space:normal;
        line-height:0;
        font-size:0;
    }
        .news-box .tools a,
        .news-box .tools em {
            display:inline-block;
            height:30px;
            overflow:hidden;
            font-size:16px;
            font-weight:700;
            line-height:30px;
        }
        .news-box .tools em {
            width:50px;
            background:url(/local/templates/mfb/css/../img/slashy.png) no-repeat 50% 50%;
            background-size:contain;
        }
        .news-box .tools a {
            border-bottom:2px solid transparent;
        }
        .news-box .tools a:hover {
            border-bottom-color:#ffeb3b;
        }
.marketing, .intro-screen {
    position: relative;
    overflow: hidden;
}
.marketing {
    padding-bottom:290px;
}
    .marketing .wrapper,
    .intro-screen .wrapper {
        position: relative;
        z-index: 2;
    }
    .marketing .angle {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
        top: 180px;
        left: 0;
        border-style: solid;
        border-width: 2500px 0 0 8000px;
        border-color: transparent transparent transparent #f8f8f8;
    }

    .old-safari .marketing .angle {
        border-width: 500px 0 0 8000px;
    }
    .marketing .quote-box {
        padding-bottom:80px;
        padding-left:0;
    }
        .marketing .quote-box .member .member-text h3 {
            padding-top:25px;
            padding-bottom:0;
        }
        .marketing .quote-box .txt {
            padding-right:30px;
        }
.marketing .quote-box .person.member {
	margin-top:-60px;

}
.marketing-h1 {
    display: block;
    height: 80px;
    background: url(/local/templates/mfb/css/../img/m.svg) no-repeat 0 100%;
    background-size: auto 80px;
    padding-left: 164px;
    margin-bottom: 19px;
    margin-top: 40px;
}
    .marketing-h1 h1 {
        font-weight:700;
        font-family:'PT Serif', serif;
        font-size:30px;
        line-height:1.2;
        padding-top:25px;
    }
    .marketing-h1 p {
        font-size:18px;
    }
    .intro-screen .angle {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
        top: 0;
        right: 0;
        border-style: solid;
        border-width: 0 0 3200px 8000px;
        border-color: transparent transparent #3e3e3e transparent;
    }

    .old-safari .intro-screen .angle {
        border-width: 0 0 1000px 8000px;
    }
.about-book {
    background: #d9d6cf url(/local/templates/mfb/css/../img/bb.png) no-repeat 0 100%;
    background-size:auto 450px;
    position:relative;
    padding-top:80px;
    padding-bottom:80px;
    padding-left:500px;
}
    .about-book::before {
        display: block;
        position: absolute;
        z-index: 1;
        border-left: 10px solid #3e3e3e;
        border-top: 10px solid #3e3e3e;
        height: 370px;
        width: 280px;
        top: -10px;
        left: -10px;
        content: ' ';
    }
    .about-book .abc {
        padding-right:80px;
    }
    .about-book h2 {
        font-size: 30px;
        font-family: 'PT Serif', serif;
        font-weight: 700;
        padding-bottom: 10px;
    }
    .about-book p {
        font-size:16px;
        line-height:1.2;
        padding:10px 0;
    }
    .about-book .buttons {
        position:absolute;
        bottom:0;
        right:0;
        border-top:5px solid #fff;
        border-left:5px solid #fff;
    }
.intro-services {
    padding-bottom:70px;
    color: #fff;
}
    .white.headline {
        color:#fff;
        padding:40px 0;
    }
    .intro-services ul {
        list-style: none;
        width: 100%;
        display: table;
    }
        .intro-services ul li {
            vertical-align:middle;
            width: 25%;
            display: table-cell;
            padding-left:15px;
            padding-right:15px;
        }
            .intro-services ul li .service-item {
                display:block;
                border:1px solid #fff;
                color:#fff;
                text-align:center;
                margin-left:auto;
                margin-right:auto;
                height:270px;
                padding-top:60px;
                transition:color ease 0.3s, border-color ease 0.3s;
            }
            .intro-services ul li a.service-item:hover {
                border-color:#ffeb3b;
                color:#ffeb3b;
            }
                .intro-services ul li .service-item img {
                    display: block;
                    height: 75px;
                    width: 75px;
                    margin-left: auto;
                    margin-right: auto;
                    margin-bottom: 20px;
                }
                .intro-services ul li .service-item .h3 {
                    display: block;
                    font-weight:700;
                    font-family:'PT Serif', serif;
                    font-size:18px;
                    line-height:1.3;
                    padding-left:20px;
                    padding-right:20px;
                    text-align:center;
                }
                .intro-services ul li:first-child {
                    padding-left: 0;
                }
            .intro-services ul li:last-child {
                padding-right: 0;
            }
            .intro-services ul li:first-child .service-item {
                float: left;
            }
            .intro-services ul li:last-child .service-item {
                float: right;
            }
    .book {
        position: relative;
        margin-top: -310px;
        z-index: 3;
    }
        .book.book-academy {
            margin-top:0;
            padding-top:60px;
        }
        .video-box {
            background: #000;
            margin-top: 10px;
            position: relative;
            z-index: 1;
        }
    .video-box iframe {
        display:block;
        height:100%;
        width:100%;
        position:absolute;
        z-index:2;
        top:0;
        left:0;
    }
    .video-box img {
        max-width:100%;
        z-index:1;
        position:relative;
    }

/* home */

/* seminars */
.seminars-list {
    display:table;
    width:100%;
    list-style:none;
    padding-bottom:30px;
}
.seminars-list.short-list {
    padding-bottom: 0;
}
    .seminars-list > li {
        width:33.33%;
        padding-bottom:30px;
        float:left;
    }
    .seminars-list.short-list > li {
        padding-bottom: 0;
    }
    .seminars-list > li:nth-child(3n+1) {
        padding-right:20px;
    }
    .seminars-list > li:nth-child(3n+2) {
        padding-right: 10px;
        padding-left:10px;
    }
    .seminars-list > li:nth-child(3n+3) {
        padding-left: 20px;
    }
.seminars-item {
    min-height:170px;
}
.seminars-item, .seminars-item span {
    display: block;
    color: #000000;
}
    .seminars-item .img,
    .seminars-item .txt {
        width:50%;
        float:left;
        height:170px;
        overflow:hidden;
    }
    .seminars-item .img {
        padding-right:15px;
    }
    .seminars-item .img img {
        display:block;
        width:100%;
        transition:opacity 0.3s ease;
    }
        .seminars-item .img i {
            display: block;
            width: 100%;
            font-size:0;
            line-height:0;
            background:#000;
        }
    a.seminars-item:hover .img img {
        opacity:0.75;
    }
        .seminars-item .txt {
            padding-left: 15px;
        }
    .seminars-item .date, .labels .news-date {
        height: 30px;
        display: table;
        background: #3e3e3e;
        line-height: 30px;
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        padding: 0 8px;
        text-align: left;
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-bottom: 18px;
        transition: color ease 0.3s, background-color ease 0.3s;
    }
    .labels {
        height:30px;
        width:100%;
        margin-bottom:4px;
    }
        .labels .news-date {
            float: left;
            margin:0;
        }
        .labels .news-date.yellow {
            background: #ffeb3b;
            color: #000;
        }
    a.seminars-item:hover .date {
        background: #ffeb3b;
        color: #000;
    }
    .seminars-item .title {
        font-size: 16px;
        line-height: 19px;
        max-height: 114px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
        font-family: 'PT Serif', serif;
        color:#000;
    }
.seminar-buttons {
    padding-top:20px;
    padding-bottom:35px;
}
.seminar-buttons .button {
    display: inline-block;
    width: auto;
    border: 3px solid #ffeb3b;
    background: #fff;
    text-transform: uppercase;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    min-width: 265px;
    transition: border-color ease 0.3s;
}
.seminar-buttons .button:hover {
    border: 3px solid #000;
}
.video-list {
    list-style:none;
    display:table;
    width:100%;
}
    .video-list > li {
        width:33.33%;
        padding-bottom:30px;
        float:left;
    }
    .video-list > li:nth-child(3n+1) {
        padding-right:20px;
    }
        .video-list > li:nth-child(3n+2) {
            padding-right: 10px;
            padding-left: 10px;
        }
        .video-list > li:nth-child(3n+3) {
            padding-left: 20px;
        }
.video-seminar {
    padding-top:65px;
    padding-bottom:10px;
}
.video-seminar .headline {
    padding-bottom: 40px;
} 
.video-academy {
    display: block;
}
    .video-academy iframe {
        display:block;
        width:100%;
        height:250px;
    }
    .video-academy .txt {
        padding:30px 15px 0 15px;
        color:#000;
        height:151px;
    }
    .video-academy h3 {
        font-size: 18px;
        line-height: 22px;
        max-height:44px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
        font-family: 'PT Serif', serif;
        margin-bottom:20px;
    }
    .video-academy p {
        font-size: 16px;
        line-height: 19px;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height:57px;
    }
.video-seminar .show-more-button {
    padding-top:20px;
}
/* seminars */

.news-content.blog-content {
	max-width:576px;
	margin-left:auto;
	margin-right:auto;
	padding-top:30px;
	padding-bottom:30px;
}
.news-content.blog-content .news-thumb {
	width:100%;
	max-width:576px;
	float:none;
	margin-left:0;
	margin-right:0;
	margin-bottom:20px;

}
.news-content.blog-content .news-thumb::before {
    height: 350px;
    width: 450px;
}
.blog-fb {
	max-width:576px;
	margin-left:auto;
	margin-right:auto;
	border-top:1px solid #ccc;
	margin-top:20px;
	padding-top:20px;
}
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
  min-width: 100% !important;
  width: 100% !important;
}
._2pi8 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.author {
	width:100%;
	display:table;
	margin-bottom:20px;
}
.author img {
	float:left;
	margin:0;
	margin-right:15px;
	display:block;
	height:60px;
	border-radius:30px;
}
.author .author-name {
	font-size:14px;
	line-height:20px;
	color:#555555;
	font-weight:700;
}
.author .author-title {
	font-size:14px;
	line-height:20px;
	color:#555555;
}
.author .date {
	font-size:14px;
	line-height:20px;
	color:#d7d7d7;
	font-weight:400;
}
.news-content.blog-content .headline {
	padding:0 0 20px 0;
}
.blog-text {
	position:relative;
}
.blog-social {
	position:absolute;
	width:40px;
	left:-80px;
	top:16px;
}
.blog-social a {
	display:block;
	height:40px;
	width:40px;
	background-color:#fff200;
	margin-bottom:20px;
	padding:8px 0;
}

.blog-social a.fb svg {
	height:24px;
	width:24px;
	display:block;
	margin:0 auto;
}
.blog-social a.vk svg {
	height:24px;
	width:22px;
	display:block;
	margin:0 auto;
}
.blog-social svg path {
	fill:#333;
}
header .phonex:first-child {
	top:34px;
}
.blog-text img {
	max-width:100%;
}

/* new service page */
.service-content {
    position:relative;
    padding-top:40px;
    padding-bottom:40px;
    max-width:940px;
    margin-left:auto;
    margin-right:auto;
}
    .service-content .yellow-text {
        background:#ffeb3b;
        margin-left:420px;
        position:relative;
        z-index:1;
        padding-left:60px;
        padding-right:40px;
        padding-top:20px;
        padding-bottom:20px;
        font-size:14px;
        line-height:17px;
        color:#000;
    }
    .service-content img {
        width:440px;
        position:relative;
        z-index:2;
        margin-top:-17px;
        float:left;
    }
    .service-content h1 {
        font-weight: 700;
        font-size: 30px;
        position: relative;
        padding-bottom: 15px;
        line-height: 1;
        margin-bottom: 17px;
        font-family: 'PT Serif', serif;
    }
        .service-content h1::after {
            width:120px;
            height:4px;
            font-size:0;
            line-height:0;
            display:block;
            background:#000;
            overflow:hidden;
            content:" ";
            position:absolute;
            bottom:0;
            left:0;
        }
    .service-content p {
        font-size: 14px;
        line-height: 17px;
        color: #000;
    }
.service-quote {
    max-width:770px;
    margin-left:auto;
    margin-right:auto;
    padding-bottom:65px;
}
.service-quote-content {
    position: relative;
    padding-left: 70px;
    padding-right: 70px;
    font-family: 'PT Serif', serif;
    font-size:30px;
    font-weight:700;
    line-height:36px;
}
    .service-quote-content::before {
        position: absolute;
        content: '“';
        top:-15px;
        left:-10px;
        font-size:110px;
        line-height:1;
    }
    .service-quote-content::after {
        position: absolute;
        content: '„';
        bottom: 25px;
        right: -10px;
        font-size: 110px;
        line-height: 1;
    }
    .service-quote-content * {
        font-family: 'PT Serif', serif;
    }
    .service-quote-content p {
        margin-bottom:36px;
    }
    .service-quote-author {
        padding-left: 70px;
        padding-right: 70px;
        font-size: 14px;
        line-height: 17px;
        font-family: 'PT Sans', serif;
        margin-top:-6px;
    }
    .service-quote-author .upper {
        text-transform: uppercase;
        font-weight: 700;
    }
/* new service page */
.popup-get-case {
	position:relative;
}
.popup-get-case .popup-close {
	z-index:3;
}
.popup-get-case .promo-popup h3 {
	padding-right:30px;
}
.sf-details {
	margin-bottom:50px;
}
.video-box {
	font-size:0;
	line-height:0;
}
.video-box video {

}
*/
/* End */


/* Start:/local/templates/mfb/css/media.css?154903521833517*/
@media all and (max-width:1199px) {
    .wrapper {
        width: 100%;
        padding-left:15px;
        padding-right:15px;
    }
    .body-home {
        background-size: 1230px auto;
    }
	.contact-form {
		margin-left:-530px;
	}
    /* footer */
    footer .wrapper {
        padding:40px 15px;
    }
    footer .developer {
        white-space:normal;
    }
    /* footer */

    /* menu */
    .menu .menu-body > .column.col-3 {
        padding-left:0;
    }
    /* menu */

    /* button contact */
    .btn-contact {
        padding:0 20px;
    }
    /* button contact */

    /* guides */
    .guide-list .guide-item:nth-child(2n+1) {
        padding-right: 20px;
    }
    .guide-list .guide-item:nth-child(2n+2) {
        padding-left: 30px;
    }
    /* guides */

    /* team list */
    .member .member-text {
        padding-left: 40px;
    }
    .team-list .team-item:nth-child(2n+1) {
        padding-right: 20px;
    }
    .team-list .team-item:nth-child(2n+2) {
        padding-left: 20px;
    }
    /* team list */

    /* news */
    .news .news-title, .news .news-txt {
        margin-left: 0;
        margin-right: 0;
    }
    /* news */

    /* get case popup */
    .popup-get-case {
        width:100%;
    }
    .promo-image-list {
        height: 285px;
    }
        .promo-image-list a:nth-child(5n+5) img,
        .promo-image-list a img {
            margin-right: 15px;
            margin-bottom: 15px;
        }
    .popup-get-case .promo-popup h3 {
        max-width:100%;
        max-height:none;
    }
    /* get case popup */

    /* home */
    .marketing-h1 {
        margin-left:0;
    }
    .marketing .quote-box .txt {
        padding-right: 0;
    }
    .seminars-item .img {
        padding-right: 8px;
    }
    .seminars-item .txt {
        padding-left: 8px;
    }
    .seminars-list > li {
        padding-bottom: 15px;
    }
    .seminars-list > li:nth-child(3n+1) {
        padding-right: 10px;
    }
    .seminars-list > li:nth-child(3n+2) {
        padding-right: 5px;
        padding-left: 5px;
    }
    .seminars-list > li:nth-child(3n+3) {
        padding-left: 10px;
    }
}
@media all and (max-width:1079px) {
	.contact-form {
		margin-left:-500px;
	}
}
@media all and (max-width:1024px) {
    /* new service page */
    .service-content {
        max-width: 100%;
    }
        .service-content .yellow-text {
            margin-left: 320px;
            padding-top:30px;
            padding-left:50px;
            padding-bottom:30px;
            padding-right:30px;
        }
        .service-content img {
            width: 340px;
        }
    .service-quote {
        max-width:100%;
    }
    /* new service page */

    /* menu */
    .menu .menu-header {
        padding-left: 0;
        padding-right: 0;
        padding-top: 53px;
        padding-bottom: 53px;
    }
    .menu .menu-body > .column {
        flex: 1;
        padding-left: 0;
        padding-right: 20px;
    }
    .menu .menu-body > .column.col-1 {
        width: 33%;
        max-width: 33%;
    }
    .menu .menu-body > .column.col-2 {
        width: 33%;
        max-width: 33%;
        padding-right:40px;
    }
    .menu .menu-body > .column.col-3 {
        padding-right: 0;
        width: 34%;
        max-width: 34%;
    }
    /* menu */

    /* footer */
    footer .columns > .column.col-2,
    footer .columns > .column.col-3 {
        padding-left: 40px;
    }
    /* footer */

    /* terms text */
    .terms-text dl {
        display: table;
        width: 100%;
        float: none;
    }
        .terms-text dl:nth-child(3n+2),
        .terms-text dl:nth-child(3n+1) {
            padding-left:0;
            padding-right:0;
        }
        .terms-text dt {
            padding: 0 25px 25px 0;
        }
        .terms-text dd {
            padding: 0 0 25px 0;
        }
    /* terms text */
    /* team list */
    .member .member-text {
        padding-left: 70px;
    }
    .team-list .team-item {
        float: none;
        width: 100%;
        padding-bottom: 60px;
    }
    .team-list .team-item:nth-child(2n+1) {
        padding-right: 0;
    }

    .team-list .team-item:nth-child(2n+2) {
        padding-left: 0;
    }
    /* team list */

    /* contact */
    .gmap {
        height: auto;
        margin-bottom:0;
    }
    #map {
        position: relative !important;
    }
    .gmap .wrapper {
        position: relative;
        z-index: 2;
        height: auto;
        margin-bottom: -51px;
        background: #3e3e3e;
    }
    .contact-form {
        width: 100%;
        margin:0;
        position: relative;
        top:0;
		left:0;
        padding-bottom:0;
        text-align:center;
    }
        .contact-form .buttons {
            border-right:5px solid #aaa;
            position: static;
            margin-left:auto;
            margin-right:auto;
            margin-top:30px;
        }
    /* contact */

    /* news */
	.author {
		margin-bottom:5px;
	}
    .news .news-img {
        height: 210px;
    }
        .news .news-img img {
            height: 210px;
        }
    .news-thumb {
        margin-right: 30px;
        margin-bottom: 20px;
        width: 370px;
    }
    .news-desc {
        margin-left: 400px;
    }
        .news-thumb::before, .news-content.blog-content .news-thumb::before {
            height: 100px;
            width: 265px;
        }
    /* news */

    /* about */
    .partners ul li {
        display:block;
        width: auto;
        text-align:center;
        padding:10px 0 30px;
    }
        .partners ul li::after {
            display:none;
        }
    .quote-box .person.member {
        width: 270px;
        float: right;
        position: relative;
        display: block;
    }
	.marketing .quote-box .person.member {
		margin-top:10px;
	}
        .quote-box .person.member .member-image::before {
            width: 170px;
            height: 200px;
        }
        .quote-box .person.member .member-image img, 
        .quote-box .person.member .member-image {
            width: 270px;
            height: 270px;
        }
    .quote-box .txt {
        margin-right: 370px;
    }
    /* about */

    /* portfolio */
    .expirience-nav li a {
        max-width:100%;
        padding-left:20px;
        padding-right:20px;
        font-size:14px;
    }
    /* portfolio */

    /* service */
    .service-contact-form.popup-contact {
        padding: 45px 45px 0 45px;
    }
    /* service */

    /* home */
    .intro-services ul li .service-item {
        padding-top:30px;
        height:200px;
    }
        .intro-services ul li .service-item img {
            height:45px;
            width:45px;
        }
        .intro-services ul li .service-item .h3 {
            font-size:14px;
        }
    .about-book {
        background-size: auto 350px;
        padding-top: 80px;
        padding-bottom: 80px;
        padding-left: 400px;
    }
    /* home */
    .seminars-list {
        max-width:780px;
        margin-left:auto;
        margin-right:auto;
    }
        .seminars-list > li {
            width: 50%;
            padding-bottom: 30px;
        }
        .seminars-list > li:nth-child(2n+1) {
            padding-right: 15px;
            padding-left: 0px;           
        }

    .seminars-list > li:nth-child(2n+2) {
        padding-right: 0;
        padding-left: 15px;
    }
    .seminars-item .txt {
        padding-left: 15px;
    }
    .seminars-item .img {
        padding-right: 15px;
    }
    .seminars-list.short-list > li {
        padding-bottom:15px;
    }
    .video-seminar {
        padding-top:25px;
    }
    .video-academy .txt {
        padding-left:0;
        padding-right:0;
    }
    .video-list {
        max-width:375px;
        margin-left:auto;
        margin-right:auto;
    }
        .video-list > li {
            width:100%;
            float:none;
            padding-left:0 !important;
            padding-right:0 !important;
        }
    .video-academy .txt {
        height:auto;
        padding-left:15px;
        padding-right:15px;
        padding-bottom:15px;
    }
    .video-academy h3, .video-academy p {
        max-height: none;
    }
}

@media all and (max-width:768px) {
	.promo-image-list {
		height:auto !important;
		max-height:unset;
		white-space:normal;
		display:table;
		width:100%;
	}
	.promo-image-list span {
		display:block;
		float:left;
		margin-top:0px;
		margin-right:14px;
		margin-bottom:14px;
	}
	.promo-image-list span::before {
		height:30px;
		width:30px;
	}
	.promo-image-list img {
		width:60px;
		height:60px;
	}
    /* new service page */
    .service-quote-content {
        font-size: 24px;
        line-height:1.2;
    }
    .service-quote-content p {
        margin-bottom:24px;
    }
    .service-content img {
        width: 240px;
    }
    .service-content .yellow-text {
        margin-left: 220px;
    }
	.quote-box .person.member::before {display:none;}
    /* new service page */

    /* header */
    header .phonex {
        font-size: 14px;
    }
    /* header */

    /* menu */
    .menu .menu-header {
        padding-top:30px;
        padding-bottom:30px;
    }
        .menu .menu-header .logo, .menu .menu-header .logo img {
            display: block;
            height: 75px;
            width: 170px;
        }
        .menu .menu-header .link-menu-close {
            margin-top:19px;
        }
    .menu .menu-body {
        display: block;
        width: 100%;
        flex-direction: unset;
        padding-bottom: 33px;
    }
        .menu .menu-body > .column.col-1,
        .menu .menu-body > .column.col-2 {
            width: 50%;
            max-width: 50%;
            float:left;
        }
        .menu .menu-body > .column.col-1 {
            padding-left:0;
            padding-right:15px;
        }
        .menu .menu-body > .column.col-2 {
            padding-right: 0;
            padding-left: 15px;
        }
        .menu .menu-body > .column.col-3 {
            padding-top: 20px;
            width: 50%;
            max-width: 50%;
            clear:both;
            padding-right:15px;
        }
    .menu .buttons {
        padding-top: 15px;
    }
    .menu .social {
        padding-top: 15px;
    }
    /* menu */

    /* footer */
    footer {
        padding-top: 30px;
    }
    footer .wrapper {
        padding: 30px 15px;
    }
    footer .columns {
        display: block;
        flex-direction: unset;
    }
        footer .columns > .column.col-2, 
        footer .columns > .column.col-3 {
            width:50%;
            max-width:none;
            float:left;
        }
        footer .columns > .column.col-2 {
            padding-left:0;
            padding-right:15px;
        }
        footer .columns > .column.col-3 {
            padding-right: 0;
            padding-left: 15px;
        }
        footer .columns > .column.col-4 {
            width:100%;
            max-width:none;
            padding:15px 0 0 0;
            clear:both;
        }
        footer .columns > .column.col-1, footer .developer {
            display: none;
        }
        footer .social {
            float: none;
            width:auto;
        }
    /* footer */

    /* guides */
    .guide-list .guide-item,
    .guide-list .guide-item:nth-child(2n+1),
    .guide-list .guide-item:nth-child(2n+2) {
        width: 100%;
        float: none;
        padding: 20px 0;
    }
    .guide-list .guide-item:last-child,
    .guide-list .guide-item:last-child:nth-child(2n+1),
    .guide-list .guide-item:last-child:nth-child(2n+2) {
        padding-bottom:0;
    }
    .guide {
        height: 122px;
    }
        .guide .guide-wrapper .guide-icon {
            width: 108px;
            max-width: 108px;
        }
        .guide .guide-wrapper .guide-title {
            padding-right: 20px;
        }
        .guide img, .guide svg {
            height: 45px;
            width: 45px;
        }
        .guide::before {
            height: 80px;
            width: 50px;
        }
    /* guides */

    /* headline */
    .headline {
        padding: 30px 0 10px 0;
        text-align: center;
    }
    /* headline */

    /* sleng */
    .two-columned {
        -moz-column-count: 1;
        -moz-column-gap: 0;
        -webkit-column-count: 1;
        -webkit-column-gap: 0;
        column-count: 1;
        column-gap: 0;
    }
        .two-columned p {
            padding: 20px 0 20px 0;
        }
        .two-columned p.service-point {
            padding-top:0;
            padding-bottom:0;
        }
    /* sleng */

    /* terms text */
    .terms-text {
        padding-top:25px;
    }
        .terms-text dt {
            padding: 0 0 10px 0;
            display: block;
            width: 100%;
        }

        .terms-text dd {
            padding: 0 0 25px 50px;
            display: block;
            width: 100%;
        }
    /* terms text */

    /* team list */
    .team-list {
        padding-top:25px;
    }
    .member {
        height: auto;
        display:block;
    }
        .member .member-image {
            float: none;
            margin-left:auto;
            margin-right:auto;
            display:block;
        }
        .member .member-text {
            padding-left: 0;
            margin-left:0;
            text-align:center;
            height:auto;
            display:block;
        }
    /* team list */
    /* contact */
    .gmap {
        padding-top:0;
    }
        .gmap .wrapper {
            margin-bottom:-31px;
        }
    .contact-form {
        max-width:100%;
        width:100%;
        padding-left:0;
        padding-right:0;
    }
    /* contact */

    /* news */
    .news-list {
        padding-top:25px;
    }
        .news-item {
            width: 50%;
            float: left;
            padding-bottom: 30px;
        }
        .news-item:nth-child(3n+2),
        .news-item:nth-child(3n+1),
        .news-item:nth-child(3n+3) {
            padding-left: 0;
            padding-right: 0;
        }
        .news-item:nth-child(2n+1) {
            padding-right: 15px;
        }

        .news-item:nth-child(2n+2) {
            padding-left: 15px;
        }
            .news .news-img, .news .news-img img {
                height: auto;
            }
    .news-content {
        padding-top: 25px;
    }
	.news-box {
		padding-top:40px;
	}
	.news-box h2 {
		padding-bottom:15px;
	}
    .gallery {
        margin-top: 30px;
        margin-bottom: 0;
        width: calc(100% + 16px);
        margin-left:-8px;
    }
    .old-safari .gallery {
        width: 101.367%;
    }
        .gallery li {
            padding: 0 8px 16px 8px;
        }
    /* news */
    /* about */
	.marketing .quote-box {
		padding-top:0;
	}
    .quote-box .person.member {
        width: 370px;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

        .quote-box .person.member .member-image::before {
            width: 270px;
            height: 300px;
        }

        .quote-box .person.member .member-image img, .quote-box .person.member .member-image {
            width: 370px;
            height: 370px;
        }

    .quote-box .txt {
        margin-right: 0;
        padding-top:30px;
    }
    .quote-box .member .member-text {
        float:none;
    }
    .h2-more.h2-team {
        padding-bottom:10px;
    }
    /* about */

    /* portfolio */
    .expirience-tabs {
        padding-top:20px;
    }
    .academy-tabs .expirience-tabs {
        padding-top: 0;
    }
    .expirience-tab {
        margin-top: 20px;
        padding-top: 20px;
    }
    .academy-tabs .expirience-tab {
        margin-top:0;
        padding-top:0;
    }
    .expirience-nav li {
        width: auto;
    }
    /* portfolio */

    /* get case popup */
    .promo-image-list a:nth-child(5n+5) img,
    .promo-image-list a img {
        margin-right: 15px;
        margin-bottom: 15px;
        height: 60px;
        width: 60px;
    }

    .popup-get-case .promo-popup h3 {
        max-width: 100%;
        max-height: none;
    }
    /* get case popup */

    /* home */
    .body-home {
        background-size: 850px auto;
    }
	.book:not(.book-academy) {
		padding-top:40px;
		padding-bottom:40px;
	}
    .about-book {
        background-image:none;
        padding-top: 50px;
        padding-bottom: 80px;
        padding-left: 50px;
    }
    .marketing .quote-box {
        padding-left: 0;
		padding-bottom:40px;
    }
    .marketing-h1 {
        margin-left: 0;
        padding-top:0;
        background-position:50% 0;
        padding-top:100px;
        text-align:center;
        height:auto;
        padding-left:0;
        margin-bottom:40px;
    }
	.marketing-h1 h1 {
		padding-top:0;
	}
    .intro-services {
        padding-bottom: 10px;
    }
    .intro-services ul li .service-item .h3 {
        padding-left:0;
        padding-right:0;
    }
    .intro-services ul li .service-item {
        height: 170px;
		padding-left:20px;
		padding-right:20px;
    }
    .intro-services ul li {
        display:block !important;
        float:left;
        width:50%;
        padding-bottom:30px;
    }
        .intro-services ul li:nth-child(2n+1) {
            padding-left:0;
            padding-right:15px;
        }
        .intro-services ul li:nth-child(2n+2) {
            padding-left: 15px;
            padding-right: 0;
        }
        .intro-services ul li:first-child .service-item,
        .intro-services ul li:last-child .service-item {
            float: none;
        }
    /* home */
    .seminars-list {
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }
    .academy-tabs .expirience-nav {
        margin-bottom:20px;
    }
    .seminars-list > li {
        width: 100%;
        padding-bottom: 30px;
        float: none;
    }
        .seminars-list > li:nth-child(2n+1) {
            padding-right: 0;
            padding-left: 0px;
        }
        .seminars-list > li:nth-child(2n+2) {
            padding-right: 0;
            padding-left: 0;
        }
    .seminars-item .img {
        width:185px;
    }
    .seminars-item .txt {
        margin-left: 185px;
        float:none;
        width:auto;
    }
    .old-safari .seminars-item .txt {
        width: 58%;
    }
	.blog-social {
		position:static;
		display:table;
		width:100%;
		margin-top:10px;
	}
	.blog-social a {
		float:left;
		margin-right:20px;
		margin-bottom:0;
	}
	.popup-get-case .promo-popup {
    	display:block !important;
	}
	.popup-get-case{
    	max-width:430px !important;
	}
	.hamburger {
		float:left;
	}
    .quote-box.quote-about {
        padding-top: 30px;
    }
	.popup-get-case .form .buttons {
		border-bottom:5px  solid #fff;
	}
	.popup-get-case .popup-contact {
		padding-bottom:70px;
	}
	.popup-get-case {
		display:block;
	}
}
@media all and (max-width:640px) {
    /* new service page */
    .service-content img {
        max-width: 440px;
        width:100%;
        margin:0 auto;
        float:none;
        display:block;
    }

    .service-content .yellow-text {
        margin-top:40px;
        padding:30px;
        min-height:0;
        margin-left:auto;
        margin-right:auto;
        max-width:440px;
    }
    /* new service page */

    .news .news-img, .news .news-img img {
        height: 210px;
    }
    .news .news-title {
        height:66px;
    }
    .news .news-txt {
        height:60px;
    }
    .news-thumb {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 40px;
        width: 100%;
        max-width:470px;
        float:none;
    }
    .news-desc {
        margin-left:0;
    }
    /* news */
    /* about */
    .about .news-content {
        padding-bottom: 50px;
    }
    .quote-box {
        padding-top:60px;
    }
	.marketing .quote-box {
		padding-top:0;
	}
    .quote-box.quote-about {
        padding-top: 30px;
    }
    .quote-box .person.member {
        width: 270px;
    }
        .quote-box .person.member .member-image::before {
            width: 170px;
            height: 200px;
        }
        .quote-box .person.member .member-image img, .quote-box .person.member .member-image {
            width: 270px;
            height: 270px;
        }
        .quote-box .person.member::before {
            top: -70px;
            left: 50%;
            margin-left:-25px;
        }
    .about {
        padding-bottom:50px;
    }
    .show-more-button {
        padding-top:20px;
        padding-bottom:0;
    }
    .video-seminar .show-more-button {
        padding-top: 0;
        padding-bottom:30px;
    }
    /* about */

    /* portfolio */
    .expirience-nav {
        display:block;
        max-width:500px;
        margin-left:auto;
        margin-right:auto;
    }
    .expirience-nav li {
        display: block;
        padding-bottom: 10px;
        width: 100%;
    }
    .academy-tabs .expirience-nav {
        width:100%;
        display:table;
    }
    .academy-tabs .expirience-nav li {
        display: table-cell;
        width: 50%;
        text-align:center;
    }
        .expirience-nav li::after {
            display: none;
        }
        .expirience-nav li a {
            display:inline;
        }
    /* portfolio */

    /* get case popup */
    .popup-get-case .promo-popup {
        display:none;
    }
    .popup-get-case .popup-contact, .popup-get-case {
        display: block;
        width:100%;
    }
    /* get case popup */

    /* service */
    .three {
        display: block;
        flex-direction: unset;
    }
        .three > div {
            padding-left:0 !important;
            padding-right:0 !important;
            max-width:100%;
            width:100%;
            flex:none;
        }
    .service-points {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .two-columned p.service-point {
        font-size:16px;
    }
    /* service */

    /* home */
    .body-home {
        background-size: 630px auto;
    }
    .marketing-h1 {
        background-size:auto 55px;
        padding-top:60px;
    }
    .news-box h2 {
        padding-bottom: 10px;
    }
    /* home */
    .seminars-list {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .seminars.expirience {
        margin-top:0;
    }
	.service-quote-content::before, .service-quote-content::after {
		display:none;
	}
	.service-quote {
		max-width:440px;
		margin-left:auto;
		margin-right:auto;
	}
	.service-quote-content, .service-quote-author {
		padding-left:0;
		padding-right:0;
	}
}
@media all and (max-width:480px) {
    /* headline */
    .headline h1, .headline h2 {
        font-size: 22px;
    }
    /* headline */

    /* header */
    header .phonex {
        display:none;
    }
    .hamburger {
        padding-left:0;
        width:36px;
        float:right;
        background-position:50% 50%;
        background-size:18px 18px;
    }
        .hamburger span {
            display:none;
        }
    /* header */

    /* guides */
    .guide-list .guide-item, .guide-list .guide-item:nth-child(2n+1), 
    .guide-list .guide-item:nth-child(2n+2) {
        padding: 15px 0;
    }
    .guide {
        height: 92px;
    }
        .guide::before {
            height: 60px;
            width: 40px;
        }
    .guide .guide-wrapper .guide-icon {
        width: 68px;
        max-width: 68px;
    }
    .guide img, .guide svg {
        height: 25px;
        width: 25px;
    }
    .guide .guide-wrapper .guide-title {
        font-size: 14px;
        padding-right: 15px;
    }
    /* guides */

    /* footer */
    footer .columns > .column.col-2, footer .columns > .column.col-3 {
        width: 100%;
        max-width: none;
        float: none;
        padding-left:0;
        padding-right:0;
    }
    footer .columns > .column.col-2 {
        padding-bottom:20px;
    }
    footer ul.nav, .menu ul a, .menu p {
        font-size: 14px;
    }
    footer h3 {
        font-size: 14px;
        margin-top: 0;
    }
    /* footer */

    /* menu */
    .menu-wrapper {
        position:fixed;
    }
    .menu .menu-header .logo,
    .menu .menu-header .logo img {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .menu .menu-header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .menu .menu-header .link-menu-close {
        height: 36px;
        width:36px;
        padding:0;
        position:absolute;
        top:15px;
        right:15px;
    }
    .menu .menu-header .link-menu-close span {
        display:none;
    }
    .menu .menu-body > .column.col-1, 
    .menu .menu-body > .column.col-2 {
        width: 100%;
        max-width: 100%;
        float: none;
        padding-left:0;
        padding-right:0;
    }
    .menu .menu-body > .column.col-3 {
        padding-top: 20px;
        width: 100%;
        max-width: 100%;
        clear: both;
        padding-right: 0;
    }
    /* menu */

    /* breadcrumbs */
    .breadcrumbs {
        font-size:12px;
    }
    /* breadcrumbs */

    /* sleng */
    .two-columned p {
        padding: 10px 0;
        font-size:14px;
    }
    .two-columned p b {
        font-size: 16px;
    }
    /* sleng */

    /* terms text */
    .terms-text {
        padding-top: 15px;
    }

        .terms-text dt {
            font-size:16px;
            padding-bottom:5px;
        }

        .terms-text dd {
            font-size:14px;
            padding-left:0;
        }
    /* terms text */

    /* team list */
    .team-list {
        padding-top: 15px;
    }
        .team-list .team-item {
            padding-bottom: 40px;
        }
    .member .member-text h3, .quote-box .member .member-text h3 {
        font-size: 16px;
        padding-bottom: 10px;
    }
    .member .member-text p {
        font-size: 14px;
    }
    /* team list */

    /* popups */
    .popup h3 {
        font-size:18px;
        padding-bottom:20px;
    }
    .popup-contact {
        padding: 20px 20px 0 20px;
    }
    .popup-close {
        height: 26px;
        width: 26px;
        top: 18px;
        right: 20px;
    }
    .form .row {
        padding-bottom: 20px;
    }
    /* popups */

    /* contact */
    #map {
        height:320px;
    }
    .contact-form {
        padding-top:30px;
    }
        .contact-form h3 {
            font-size: 18px;
        }
        .contact-form .phone {
            font-size:16px;
        }
        .contact-form p {
            font-size:14px;
        }
        .contact-form .buttons {
            margin-top:20px;
        }
    /* contact */

    /* news */
    .news-list {
        padding-top: 15px;
    }
        .news-item {
            width: 100%;
            float: none;
            padding-bottom: 30px;
        }

        .news-item:nth-child(3n+2),
        .news-item:nth-child(3n+1),
        .news-item:nth-child(3n+3),
        .news-item:nth-child(2n+1),
        .news-item:nth-child(2n+2) {
            padding-left: 0;
            padding-right: 0;
        }

            .news .news-img,
            .news .news-img img,
            .news .news-title, .news .news-txt {
                height: auto;
            }
                .news .news-img img {
                    width:100%;
                }
    .news .news-title {
        font-size:16px;
        line-height:1.3;
        margin-top:10px;
    }
    .news .news-txt {
        font-size:14px;
        line-height:1.3;
        margin:10px 0;
    }
    .pagination {
        font-size:14px;
    }
    .news-content {
        font-size: 14px;
        padding-top:15px;
    }
        .news-content .date {
            margin-top: 0;
            font-size: 14px;
        }
    .news-thumb {
        margin-bottom: 30px;
    }
    .h2-more {
        font-size: 22px;
        line-height: 1.3;
        padding-bottom: 10px;
        padding-top: 30px;
    }
    .gallery {
        margin-top: 30px;
        margin-bottom: 0;
        width:100%;
        margin-left:0;
    }
    .old-safari .gallery {
        width: 100%;
    }
        .gallery li {
            padding: 0 0 16px 0;
            width:50%;
        }
        .gallery li:nth-child(2n+1) {
            padding-right:8px;
        }
        .gallery li:nth-child(2n+2) {
            padding-left: 8px;
        }
    /* news */

    /* portfolio */
    .expirience-tab .iconed {
        padding-left:70px;
        font-size:14px;
    }
    .expirience-tabs {
        padding-top:10px;
    }
    /* portfolio */

    /* service */
    .two-columned p.service-point {
        background-position:0 50%;
        padding-left:40px;
    }
    .popup.service-contact-form.popup-contact h3 {
        font-size:24px;
    }
    .service-contact-form.popup-contact {
        padding: 35px 25px 0 25px;
    }
    /* home */
    .intro-services ul li, .intro-services ul {
        display: block !important;
        float: none;
        width: 100%;
    }
    .intro-services ul li:nth-child(2n+1),
    .intro-services ul li:nth-child(2n+2) {
        padding-left: 0;
        padding-right: 0;
    }
        .intro-services ul li .service-item .h3 {
            padding-left: 30px;
            padding-right: 30px;
        }
    .marketing-h1 {
        padding-top: 60px;
        margin-top:35px;
		margin-bottom:30px;
    }
        .marketing-h1 h1 {
            font-size:24px;
        }
        .marketing-h1 p {
            font-size: 16px;
        }
	.book .wrapper {
		display:block;
	}
.book:not(.book-academy) {
    padding-top: 30px;
    padding-bottom: 30px;
}
    .about-book {
        padding-top: 30px;
        padding-bottom: 80px;
        padding-left: 30px;
    }
        .about-book .abc {
            padding-right: 30px;
        }
        .about-book h2 {
            font-size: 22px;
            line-height:1.2;
            padding-bottom: 10px;
        }
        .about-book p {
            font-size: 14px;
        }
        .about-book::before {
            height: 270px;
            width: 180px;
        }
    .news-box {
        padding-top: 35px;
        padding-bottom: 10px;
        margin-top: 30px;
    }
        .news-box h2 {
            font-size:20px;
            padding-bottom:0;
        }
        .news-box .tools {
            top:1px;
        }
            .news-box .tools a, .news-box .tools em {
                font-size: 14px;
            }
            .news-box .tools em {
                width:20px;
            }
    .partners-box {
        padding: 30px 0 10px 0;
    }
    .body-home {
        background-image:none;
    }
    .marketing .quote-box {
        padding-bottom: 35px;
    }
    .quote-box .txt {
        font-size: 14px;
    }
    /* home */
    .seminars-item .img {
        width: 125px;
    }
    .seminars-list > li {
        padding-bottom:15px;
    }
    .seminars-item {
        min-height: 110px;
        display: table;
        width: 100%;
    }
    .seminars-item .txt {
        padding-left:0;
        margin-left:125px;
    }
        .seminars-item .img, .seminars-item .txt {
            height:auto;
        }
        .academy-tabs .expirience-tab {
            margin-top: 0;
        }
    .seminars-item .title {
        max-height:initial;
    }
    .seminars-item .date {
        margin-bottom:10px;
    }
    .old-safari .seminars-item .txt {
        width: 50%;
    }
    .seminar-buttons .button {
        display:block;
        width:100%;
    }
    .seminar-buttons {
        padding-bottom:15px;
    }
    .video-list {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .video-academy p {
        font-size:14px;
        line-height:1.3;
    }
    .video-academy .txt {
        padding:20px 15px 15px 15px;
    }
    .video-academy h3 {
        margin-bottom:15px;
        line-height:1.3;
    }
    .video-seminar .headline {
        padding-bottom:30px;
    }
    .book.book-academy {
        padding-top:40px;
    }
	.popup-get-case {
    	max-width: 280px !important;
	}
	.promo-image-list img {
    	margin-right: 10px;
    	margin-bottom: 10px;
    	margin-top: 10px;
    	height: 50px;
    	width: 50px;
    	max-width: 50px !important;
	}
	.promo-image-list {
    	max-height: 70px;
    	height: 70px !important;
	}
	.popup-get-case .promo-popup {
		padding:15px;
	}
	.popup-get-case .popup-contact {
		padding:15px 15px 0 15px;
	}
	.popup-get-case .promo-popup h3 {
		margin-bottom:10px;
	}
    /* new service page */
    .service-quote {
        padding-top:15px;
        padding-bottom:45px;
    }

    .service-quote-content {
        font-size: 20px;
        padding-left:0;
        padding-right:0;
    }
        .service-quote-content p {
            margin-bottom:15px;
        }
        .service-quote-author {
            padding-left: 0;
            padding-right: 0;
            margin-top: 0;
        }
    .service-content h1 {
        font-size: 24px;
    }
        .service-content h1::after {
            width:60px;
        }
    .service-content {
        padding-top: 15px;
        padding-bottom: 15px;
    }
        .service-content .yellow-text {
            margin-top:15px;
            padding:15px;
        }
    /* new service page */
	.promo-image-list span::before {
		width:25px;
		height:25px;
		top:-3px;
		right:-3px;
	}
	.promo-image-list span {
    	margin-right: 10px;
    	margin-bottom: 10px;
    	margin-top: 5px;
	}
	.promo-image-list img {
		margin:0;
	}
	.popup-get-case .popup-close {
		top:10px !important;
		right:10px;
	}
	.popup-get-case .popup-contact {
		padding-bottom:15px;
	}
	.about-book .abc {
		overflow:hidden;
	}
}
/* End */


/* Start:/local/templates/mfb/css/custom.css?16221345654000*/
.case_form_content {
    display: none;
}

.service-details p {
    padding: 10px 0;
}
.service-details ul {
    padding: 10px 20px;
}
.news-box {
    margin-top: 0;
    background: transparent;
}

.marketing {
    padding-bottom: 0;
}

.book:not(.book-academy) {
    padding-bottom: 30px;
    background: #f8f8f8;
    padding-top: 65px;
    margin-top: 0;
}

.about-book { 
    background-size: auto 390px;
        background-position: 10px;
 }

.news .news-img { background: none !important; }

.video-box iframe { height: inherit !important; }
.service-contact-form.popup-contact::before { z-index: -1; }


@media (max-width: 768px) {
    .news .news-img, .news .news-img img {
        width: 100%; 
         height: auto;  
    }
    .news-item { width: 100%; }

}

.no-left-m { margin-left: 0 !important;     }

.video-box .gif_tablet  { display: none;  }
.video-box .gif_mobile { display: none; }


@media (max-width: 1024px) { 
.popup-wrapper { min-height: auto; }

.video-box { background: none; }
.video-box video { display: none;  }
.video-box .gif_tablet { display: block; }

 }

 @media (max-width: 400px) {
    .video-box .gif_tablet { display: none; }
    .video-box .gif_mobile { display: block; }
 }




.headline .h2-more_ {
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    font-family: 'PT Serif', serif;
}

/*

.promo-image-list { display: flex; align-items: center;   }
.promo-image-list span { margin-right: 25px; background: #fff;    height: 100%;
    max-height: 175px;
    border: 1px solid #d9d6cf !important;   display: flex; align-items: center; }

.promo-image-list span::before {
    display: block;
    position: absolute;
    z-index: 1;
    top: -5px;
    right: -5px;
    border-top: 5px solid #ffeb3b;
    border-right: 5px solid #ffeb3b;
    height: 90px;
    width: 90px;
    content: ' ';
}

.promo-image-list img
{
        display: block;
    height: 170px;
    width: 170px;
     border: 0px solid #d9d6cf !important; 
    transition: opacity ease 0.3s;
    max-width: 170px !important;
    position: relative;
    z-index: 2;
  
}


.popup-get-case { width: inherit !important; max-width: 1170px; }
@media (max-width: 768px) {
	.popup-get-case { width: auto !important; }
	.popup-get-case .promo-popup { display: table-cell;  }
}


@media (max-width: 480px) {
.promo-image-list {
       
           max-height: none !important;
    height: 200px !important;
    }
}
@media (max-width: 1024px) {
.news .news-img img {
    height: auto !important;
    max-width: 100% !important;
}
}

*/

.more_button { 
  border:0; 
  padding:10px; 
  display:inline-block;
  background:#ffeb3b;
   color:#000;
  transition:all 0.1s;
}
.more_button:after {
content:'Читать далее';
}
.more_button:hover {
  cursor:pointer;
  background:#000;
  content:'>';
  color:#fff;
 
}
.more_detail {
  display:none;
}
.more_visible {
  
}
.more_button.active:after {
content:'Скрыть блок';
}

.news .news-txt {
  display: none;
}
.moreNews_button {
    border: 0;
    padding: 10px;
    display: block;
    background: #ffeb3b;
    color: #000;
    transition: all 0.1s;
    margin: 0px auto 0;
    max-width: 200px;
    text-align: center;
    font-weight: bold;
}
.moreNews_button:hover {
  background:#000;
  color: #ffeb3b;
}
.footer_h3 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    font-family: 'PT Serif', serif;
    padding-bottom: 10px;
}
.popup_h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'PT Serif', serif;
    padding-bottom: 35px;
    max-width:320px; margin: 0 auto;
}

.promo-popup__h3 {
    padding-right: 30px;
    text-align: left;
    font-size: 16px;
    line-height: 1.2;
    max-width: 90%;
    margin-bottom: 20px;
    padding-bottom: 0;
    font-weight: 700;
    font-family: 'PT Serif', serif;
 }
 .form_h3 {
    font-size: 30px;
    padding-bottom: 30px;
    line-height: 1.2;font-weight: 700;text-align: center;
    font-family: 'PT Serif', serif;"
 }
/* End */


/* Start:/local/templates/mfb/styles.css?1549793351441*/
.news-thumb.thumbs-right {
    float: right;
    margin-right: 0;
    margin-left: 65px;
    clear: right;
}
@media (max-width: 1199px) {
.wrapper {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 1024px){
.news-thumb.thumbs-right {
    margin-left: 30px;
    margin-right:0;
}
}

@media (max-width: 640px){
.news-thumb.thumbs-right {
    margin-right: auto;
    margin-left: auto;
    float:none;
}


/* End */


/* Start:/local/templates/mfb/template_styles.css?1554883846220*/
.news-content img { max-width: 100%; }


.h2-more { display: block; }

.service-contact-form .h3 { 
    font-size: 30px;
    padding-bottom: 30px;
    line-height: 1.2;
 }

.detail_wrap h2 { padding:20px 0;  }
/* End */
/* /local/templates/mfb/css/style.css?154903521854680 */
/* /local/templates/mfb/css/media.css?154903521833517 */
/* /local/templates/mfb/css/custom.css?16221345654000 */
/* /local/templates/mfb/styles.css?1549793351441 */
/* /local/templates/mfb/template_styles.css?1554883846220 */
