@font-face{
    font-family: 'Kamelia';
    src: url('../fonts/Kamelia.eot');
    src: url('../fonts/Kamelia.eot?iefix') format('eot'),
    url('../fonts/Kamelia.woff') format('woff'),
    url('../fonts/Kamelia.ttf') format('truetype'),
    url('../fonts/Kamelia.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
}
p, h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}
a, a:hover {
    text-decoration: none;
}
button:focus, input:focus, textarea:focus {
    outline: none;
}
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #868686;
    background-color: #191919;
}
img {
    max-width: 100%;
}
.all-btn {
    display: block;
    text-align: center;
    color: #313030;
    font-weight: 500;
    padding: 7px 27px;
    border-radius: 20px;
    -webkit-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    transition: all linear 0.3s;
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    /*width: max-content;*/
    /*width: -moz-max-content;*/
    /*width: -webkit-max-content;*/
}
.dark-btn {
    border: 1px solid #c4a2c6;
    background-color: #715e75;
    color: #ffffff;
}
.dark-btn:hover {
    background-color: rgba(196, 162, 198, 0.15);
    color: #ffffff;
}
.white-btn {
    border: 1px solid #c4a2c6;
    background-color: transparent;
    color: #ffffff;
}
.white-btn:hover {
    background-color: rgba(196, 162, 198, 0.75);
    color: #ffffff;
}
.title {
    font-family: 'Kamelia', serif;
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 35px;
}
.title-med {
    font-family: 'Kamelia', serif;
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 20px;
}
.element {
    position: relative;
    padding-left: 35px;
}
.element::before {
    content: '';
    display: block;
    background: url("/templates/magic/icon/title-element.png");
    width: 21px;
    height: 60px;
    position: absolute;
    left: 0;
    top: 5px;
}
.bottom-line {
    border-bottom: 1px solid #1f1f1f;
}
.messenger {
    display: inline-block;
    color: #ffffff;
    padding: 10px;
    width: max-content;
    width: -moz-max-content;
    width: -webkit-max-content;
}
.messenger img {
    padding: 0 5px;
}
.messenger:hover {
    color: #ffffff;
}
.scroll {
    color: #4c4c4c;
    font-size: 30px;
    position: relative;
    cursor: pointer;
    animation: jump 3s infinite;
    transition: all 0.4s ease-in-out;
}
.scroll:hover {
    color: #4c4c4c;
}
@-webkit-keyframes jump {
    0% {
        bottom: 0;
    }
    10% {
        bottom: -15px;
    }
    20% {
        bottom: 0;
    }
    30% {
        bottom: -15px;
    }
    40% {
        bottom: 0;
    }
    100% {
        bottom: 0;
    }
}
@keyframes jump {
    0% {
        bottom: 0;
    }
    10% {
        bottom: -15px;
    }
    20% {
        bottom: 0;
    }
    30% {
        bottom: -15px;
    }
    40% {
        bottom: 0;
    }
    100% {
        bottom: 0;
    }
}
/*--------------------------------------------------------------------------------------------------------------------*/
.header .col-12 {
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.head-menu a {
    display: inline-block;
    padding: 10px 15px 20px 15px;
    position: relative;
    color: #4d454f;
    transition: all linear 0.3s;
}
.foot-menu a {
    color: #4d454f;
    transition: all linear 0.3s;
}
.head-menu .active a, .foot-menu a:hover {
    color: #ffffff;
}
.head-menu .active a::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background-color: #c4a2c6;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -16px;
}
.header {
    position: absolute;
    top: 0;
    width: 100%;
}
.intro-block {
    background: url("/templates/magic/images/bg-head-main.jpg") no-repeat center/cover;
}
.intro-block .row {
    align-items: center;
    padding: 190px 0;
}
.intro-block .list {
    list-style: url("/templates/magic/icon/diamond.png");
    padding: 25px 0 25px 25px;
}
.intro-block .list li {
    color: #ffffff;
    opacity: 0.9;
    font-size: 16px;
    line-height: 40px;
}
.about-block .row {
    /*padding: 120px 0;*/
    align-items: center;
}
.about-block .text {
    padding-bottom: 25px;
}
.about-block .certificates {
    padding-top: 150px;
    padding-bottom: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.certificates img {
    display: block;
    margin: 10px auto;
    filter: brightness(60%) grayscale(100%);
    transition: all linear 0.3s;
}
.certificates img:hover {
    filter: none;
}
.services, .services .row, .reviews, .reviews .row {
    padding-bottom: 150px;
}
.services {
    padding-top: 120px;
}
.services .item {
    position: relative;
    margin: 0 auto 50px auto;
    max-width: 700px;
    overflow: hidden;
}
.services .item-title {
    font-family: 'Kamelia', serif;
    font-size: 30px;
    color: #ffffff;
    opacity: 0.9;
    padding-bottom: 10px;
}
.services .intro {
    font-size: 12px;
    color: #bbbbbb;
    flex: 1;
    opacity: 0;
}
.services .item .all-btn, .services .item .intro {
    transition: all linear 0.3s;
    opacity: 0;
}
.services .item .hover-block {
    transition: all linear 0.3s;
    width: 100%;
    height: 100%;
    padding: 40px;
    position: absolute;
    bottom: -215px;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.0);
}
.services .item:hover .hover-block {
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
}
.services .item:hover .intro, .services .item:hover .all-btn {
    opacity: 1;
}
#reviews.owl-carousel .owl-item img {
    display: inline-block;
    width: auto;
}
#reviews.owl-carousel .owl-stage-outer {
    padding-top: 55px;
}
#reviews .item {
    border-radius: 4px;
    background-color: #1f1f1f;
    padding: 75px 30px 40px 30px;
    position: relative;
}
#reviews .item .avatar {
    position: absolute;
    top: -52px;
    left: 50%;
    margin-left: -52px;
}
#reviews .item .date {
    text-align: right;
}
#reviews .item .date img {
    padding-right: 7px;
}
#reviews .item .name {
    color: #ffffff;
    font-style: italic;
    padding-bottom: 5px;
}
#reviews .item .text p {
    padding-bottom: 10px;
}
.foot-menu ul {
    list-style: none;
}
.foot-menu li {
    padding: 0 5px;
}
.footer .bottom-line p {
    padding: 0 30px;
}
.page-header {
    background: url("/templates/magic/images/bg-page-header.jpg") no-repeat center/cover;
    padding: 150px 0 70px 0;
}
.contacts-page .indent, .article-body .indent {
    padding-top: 150px;
    padding-bottom: 150px;
    margin-bottom: 150px;
}
.services-page .indent {
    padding-top: 50px;
}
.article-body .pull-left {
    float: left;
    padding: 0 35px 25px 0;
}
.article-body p {
    padding-bottom: 20px;
}
.article-body .full_text ul {
    padding-left: 25px;
}
.pagination {
    padding: 35px 15px;
}
.pagenav {
    list-style: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
.pagenav .hasTooltip {
    display: block;
    text-align: center;
    font-weight: 500;
    padding: 7px 27px;
    border-radius: 20px;
    -webkit-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    transition: all linear 0.3s;
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    border: 1px solid #c4a2c6;
    background-color: transparent;
    color: #ffffff;
}
.pagenav .hasTooltip:hover {
    background-color: rgba(196, 162, 198, 0.75);
    color: #ffffff;
}
.contact-info .text {
    padding-bottom: 20px;
}
.page404, .content404, .content404 .container, .content404 .row {
    min-height: 100vh;
}
.content404 {
    background: url("/templates/magic/images/bg-404.jpg") no-repeat center/cover;
    text-align: center;
    color: #ffffff;
}
.content404 .row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.title404 {
    font-size: 30px;
    font-weight: 700;
    padding: 20px 0;
}
.desc404 {
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    max-width: 500px;
}
.text404 {
    font-family: 'Kamelia', serif;
    font-size: 140px;
    font-weight: bold;
}

/*--------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width: 1500px){
    .container-wide {
        max-width: 1170px;
    }
    .intro-block .row {
        padding: 120px 0;
    }
    .about-block .certificates {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .services {
        padding-top: 80px;
    }
    .services, .services .row, .reviews, .reviews .row {
        padding-bottom: 80px;
    }
}
@media screen and (max-width: 1200px){
    .container-wide {
        max-width: 970px;
    }
    .title {
        font-size: 40px;
    }
    .services .item .hover-block {
        padding: 25px;
        bottom: -180px;
    }
}
@media screen and (max-width: 992px){
    .container-wide {
        max-width: 720px;
    }
    .about-block .certificates {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .services {
        padding-top: 60px;
    }
    .services, .services .row, .reviews, .reviews .row {
        padding-bottom: 50px;
    }
}
@media screen and (max-width: 768px){
    .container-wide {
        max-width: 520px;
    }
    .w-sm-100-md-50 {
        width: 100%;
    }
    .article-body .pull-left {
        float: none;
        padding: 0 0 20px 0;
    }
}
@media screen and (max-width: 550px){
    .container-wide {
        max-width: 100%;
    }
    .head-menu, .head-menu .nav {
        width: 100%;
    }
    .head-menu .nav {
        justify-content: center;
        padding-bottom: 10px;
    }
    .head-menu a {
        padding: 10px 15px 10px 15px;
    }
    .all-btn {
        padding: 5px 20px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
    .all-btn.mx-3 {
        margin-left: auto!important;
        margin-right: auto!important;
    }
    .headBtn {
        margin: 0 auto 10px auto;
    }
    .mx-sm-auto {
        margin-left: auto;
        margin-right: auto;
    }
    .intro-block .row, .page-header {
        padding: 200px 0 50px 0;
    }
    .title {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 25px;
    }
    .element::before {
        top: -10px;
    }
    .intro-block .list {
        padding: 0 0 25px 25px;
    }
    .about-block .certificates {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .services {
        padding-top: 35px;
    }
    .services, .services .row, .reviews, .reviews .row {
        padding-bottom: 35px;
    }
    .services .item {
        margin: 0 auto 25px auto;
    }
    .services .item .hover-block {
        padding: 10px;
        bottom: -110px;
    }
    .services .item-title {
        font-size: 24px;
        line-height: 24px;
        padding-bottom: 0;
    }
    .footer .logo {
        display: block;
        margin: 0 auto 10px auto;
    }
    .contacts-page .indent, .article-body .indent {
        padding-top: 15px;
        padding-bottom: 35px;
        margin-bottom: 35px;
    }
    .title-med {
        font-size: 24px;
        line-height: 28px;
    }
    .services-page .indent {
        padding-top: 0;
    }
    .text-right {
        width: 100%;
        text-align: center!important;
    }
    .footer .copy, .footer .foot-menu {
        width: 100%;
        text-align: center;
    }
    .footer .foot-menu ul {
        padding-top: 10px;
        justify-content: center;
    }
    .footer .bottom-line p {
        padding: 0 10px;
    }
}
@media screen and (max-width: 425px){
    .intro-block .list li {
        line-height: 36px;
    }
}
@media screen and (max-width: 350px){
    .services .intro {
        line-height: 14px;
    }
}



