/*
Theme Name: AvtorEN
Description: Тема для сайта мебельной фабрики "Автор"
Author: Blokhin Eugene
Version: 1.0
*/

@font-face {
    font-family: "GothamPro";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/gothampro.ttf");
}

@font-face {
    font-family: "GothamPro";
    font-style: normal;
    font-weight: 300;
    src: url("fonts/gothampro_light.ttf");
}

body {
    font: 71.42857% Verdana, Arial, Helvetica, sans-serif;
}

p {
    font-family: 'GothamPro' !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 23px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'GothamPro' !important;
}

h1 {
    font-size: 24px;
    margin-top: 4px;
    margin-block-end: 0.67em;
}

h3 {
    font-size: 20px;
    color: #927f65;
    margin-bottom: 10px;
    font-weight: 400;
}

a:link {
    color: #414958;
    text-decoration: underline;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
}

.content ul li {
    font-size: 10pt;
    font-family: 'GothamPro' !important;
}

img.alignright {
    margin-right: 0;
    margin-left: 30px;
    margin-bottom: 35px;
}

img.alignleft {
    margin-left: 0;
    margin-right: 30px;
    margin-bottom: 35px;
}

.content .wp-block-media-text .wp-block-media-text__content {
    padding: 0;
    align-self: flex-start;
}

.content .wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__media {
    margin-right: 30px;
    margin-bottom: 35px;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding: 0;
    align-self: flex-start;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
    margin-left: 30px;
    margin-bottom: 35px;
}

#page {
    background-position: center top;
    background-repeat: no-repeat;
}

#menu,
.nav {
    font-family: 'GothamPro' !important;
    font-size: 14px;
    text-transform: uppercase;
}

.nav {
    line-height: 24px;
}

.nav a {
    font-size: 16px;
}

.rfoot {
    float: right;
    font-family: 'GothamPro' !important;
    font-size: 13px;
    margin-top: 10px;
    font-weight: 300;
}

.cfoot {
    position: absolute;
    width: 400px;
    text-align: center;
    left: 50%;
    margin-left: -200px;
    margin-top: 10px;
    font-family: 'GothamPro' !important;
    font-size: 13px;
    font-weight: 300;
}

.lfoot {
    float: left;
    margin-top: 8px;
    font-family: 'GothamPro' !important;
    font-size: 13px;
}

.b-topnav-social-list li {
    display: inline-block;
}

.ico-soc-fb {
    background-position: -60px 3px;
}

.ico-soc {
    display: inline-block;
    background-image: url(img/ico-social-sprite.png);
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-color: #6e6e6e;
    transition: background-color 0.2s linear;
}

.ico-soc-fb:hover {
    background-color: #3c5f96;
}

.header {
    position: fixed;
    margin: 0;
    width: 100%;
    background: url(img/head_bg.png) repeat-x;
    overflow: visible;
    height: 90px;
    top: 0px;
    z-index: 50;
}

#header .top-link {
    display: block;
    height: 45px;
    text-decoration: none;
    font-size: 16px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    color: #9aa1ad;
}

#header .top-link.current {
    color: #000;
}

#header .top-link:hover {
    color: #000;
}

#menu > ul > li:hover .top-link {
    -webkit-transform: translate3d(0, -3px, 0);
    transform: translate3d(0, -3px, 0);
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

#menu ul {
    padding-top: 4px;
}

#menu > ul > li {
    display: block;
    float: left;
    position: relative;
    height: 45px;
    margin-left: 84px;
}

#menu > ul > li:first-child {
    margin-left: 0;
}

#komp,
#gallery,
#poleznoe,
#contacts {
    width: auto;
}

.wp-block-cover .wp-block-cover__inner-container p {
    font-size: 20px;
    margin-bottom: 0;
}

.ul-centered li {
    text-align: center;
}

#menu .sub {
    top: 20px;
    border: none;
    box-shadow: 2px 2px 43px rgba(0, 0, 0, 0.28);
}

#menu .sub a {
    padding: 12px 0 12px 10px;
    height: auto;
    font-size: 16px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    color: #9aa1ad;
}

.partner-header,
.furnitura-text,
.vacancy-text,
.content ul.vacancy-text li {
    font-size: 12pt;
}

.content ul.vacancy-text li,
.content ul.catalog-text li {
    margin-bottom: 15px;
}

.content ul.catalog-text li {
    font-size: 14px;
    line-height: 23px;
}

hr {
    width: 32px;
    height: 32px;
    margin: auto;
    border: 0;
    margin-top: 10px;
    margin-bottom: 30px;
}

img.alignright.partner-img {
    margin-bottom: 10px;
    margin-left: 20px;
}

img.alignleft.partner-img {
    margin-bottom: 10px;
    margin-right: 20px;
}

.wp-block-separator.hr-services {
    border: 0;
}

.wp-block-separator.hr-services {
    display: none;
}

.wp-block-separator.hr-services.hr-services_fix {
    display: block;
    height: 10px;
}

address {
    display: block;
    position: absolute;
    left: 0;
    top: 32px;
    padding: 18px 26px 14px;
    width: 210px;
    color: #aeadab;
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
    text-align: right;
    font-family: 'GothamPro' !important;
}

address b {
    font-weight: normal;
    font-size: 16px;
    color: #000;
}

.objects {
    margin-right: 16px;
}

#obj-gallery .arr {
    display: none;
    width: 50px;
    height: 54px;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    cursor: pointer;
    z-index: 5;
    background: none;
    transition: all 0.5s;
}

#obj-gallery .arr.left {
    left: -41px;
    background-position: 0 0;
}

#obj-gallery .arr.right {
    right: -43px;
    background-position: unset;
}

#obj-gallery .arr:after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    border-right: 1px solid #191e25;
    border-bottom: 1px solid #191e25;
    opacity: 1;
}

#obj-gallery .arr.left:after {
    left: 15px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

#obj-gallery .arr.right:after {
    background-position: -54px 0;
    transform: rotate(-45deg);
}

#obj-gallery .arr.left:hover {
    transform: translate3d(-2px, 0, 0);
    transition: all 0.2s;
}

#obj-gallery .arr.right:hover {
    transform: translate3d(2px, 0, 0);
    transition: all 0.2s;
}

.pager a {
    color: #a09e9c;
    text-decoration: none;
    font-size: 0px;
    display: inline-block;
}

.pager a {
	display: inline-block;
    vertical-align: top;
    margin-right: 16px;
    padding:0 !important;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #393d43;
    opacity: 0.5;
    font-size: 0;
    text-indent: -9999px;
    
}

.pager a.current {
	opacity: 1;
	position: relative;
	border-color:transparent; 
}
.pager a.current:after {
	opacity: 1;
	border-radius: 50%;
    border: 2px solid #393d43;
    content: "";
    display: block;
    position: absolute;
	left:-2px;
	top:-2px;
	bottom:-2px;
	right: -2px;
}

.pager ul li {
    font-size: unset;
}

#overlay {
    opacity: 0.85;
}

.l-arr {
    display: block;
    width: 100px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    cursor: pointer;
    z-index: 1001;
}

.l-arr.left {
    background-position: 0 0;
}

.l-arr span {
    background: none;
}

.l-arr.left span {
    left: unset;
    background-position: unset;
}

.l-arr:after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    opacity: 1;
}

.l-arr.left:after {
    left: 40px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.l-arr.right:after {
    right: 40px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.l-arr.left:hover {
    transform: translate3d(-2px, 0, 0);
    transition: all 0.2s;
}

.l-arr.right:hover {
    -webkit-transform: translate3d(2px, 0, 0);
    transform: translate3d(2px, 0, 0);
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

#large-image .close {
    display: block;
    transition: all 0.5s;
    background-position: 0 -100px;
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    position: absolute;
    top: -30px;
    right: -30px;
    z-index: 1026;
    border-radius: 50%;
    background: none;
}

#large-image .close:before {
    content: "";
    position: absolute;
    left: 50%;
    width: 31px;
    height: 31px;
    border-left: 1px solid #fff;
    opacity: 1;
}

#large-image .close:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 31px;
    height: 31px;
    border-top: 1px solid #fff;
    opacity: 1;
}

#large-image .close:hover {
    transform: rotate(135deg);
    transition: all 0.2s;
}

#lightbox .header {
    position: absolute;
    top: 0;
    left: 0;
    height: 56px;
    background-image: none;
    width: 100%;
    color: #fff;
    z-index: 1005;
    background-color: unset;
    border-bottom: 0;
}

#lightbox .header .container {
    padding: 0;
}

#lightbox .slide-control .pause {
    width: 28px;
    height: 28px;
    top: 0;
    left: 29px;
    background: transparent;
}

#lightbox .slide-control .step {
    width: 26px;
    height: 18px;
    top: 5px;
    background: transparent;
}

#lightbox .slide-control .step.right {
    right: 0;
}

#lightbox .slide-control .step .left__line {
    display: block;
    position: absolute;
    left: 7px;
    top: 4px;
    width: 0px;
    height: 11px;
    border-right: 2px solid #fff;
    opacity: 1;
}

#lightbox .slide-control .step .left__triangle {
    display: block;
    position: absolute;
    left: 4px;
    top: 2px;
    width: 0px;
    height: 0px;
    border: 7px solid transparent;
    border-right: 10px solid #fff;
    opacity: 1;
}

#lightbox .slide-control .step .right__line {
    display: block;
    position: absolute;
    right: 7px;
    top: 4px;
    width: 0px;
    height: 11px;
    border-left: 2px solid #fff;
    opacity: 1;
}

#lightbox .slide-control .step .right__triangle {
    display: block;
    position: absolute;
    right: 4px;
    top: 2px;
    width: 0px;
    height: 0px;
    border: 7px solid transparent;
    border-left: 10px solid #fff;
    opacity: 1;
}

#lightbox .slide-control .pause__icon {
    display: block;
    position: absolute;
    right: 9px;
    top: 6px;
    width: 4px;
    height: 16px;
    border-left: 4px solid #fff;
    border-right: 4px solid #fff;
    opacity: 1;
}

.lightbox-footer {
    position: absolute;
    bottom: 0px;
    height: 84px;
    width: 100%;
    opacity: 1;
    z-index: 1010;
    background-color: unset;
    border-top: 0;
}

.lf-slider .s-arr {
    position: absolute;
    top: 33px;
    margin-top: -12px;
    width: 20px;
    height: 25px;
    cursor: pointer;
    background: none;
}

.lf-slider .s-arr.left {
    left: -37px;
    background-position: 0 0;
}

.lf-slider .s-arr.right {
    right: -39px;
}

.lf-slider .s-arr:after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    opacity: 1;
}

.lf-slider .s-arr.left:after {
    left: 15px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.lf-slider .s-arr.right:after {
    background-position: -54px 0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

#large-image img {
    position: relative;
    z-index: 1005;
}

.hr-catalog {
    margin-top: 0;
    margin-bottom: 0;
}

#lightbox .header {
    z-index: 1007;
}

.l-cat-menu a {
    color: #414958;
}

.l-cat-menu .submenu {
    border-radius: 5px;
}

.l-cat-menu .submenu a {
    padding: 12px 10px 12px 10px;
    border-top: 1px solid #999;
}

.l-cat-menu .submenu li:first-child a {
    border-top: 0;
}

.ymaps-layers-pane {
    filter: grayscale(1);
    -ms-filter: grayscale(1);
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    -o-filter: grayscale(1);
}

.sidebar>.nav>li {
    text-transform: none;
    line-height: 19px;
}

.sidebar>ul.nav>li>a {
    line-height: 19px;
}

.sidebar ul li ul {
    line-height: 19px;
}

.arch-header_low {
    text-transform: lowercase;
}

address.lang_en {
    font-size: 13px;
}

.content ul.catalog-text.lang_en-fs li,
p.lang_en-fs {
    font-size: 12px;
    line-height: normal;
}

.lang-choose {
    position: absolute;
    color: #9aa1ad !important;
    top: 52px;
    right: 130px;
    font-size: 16px;
    text-decoration: none !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.lang-choose:hover {
    text-decoration: none !important;
    -webkit-transform: translate3d(0, -3px, 0);
    transform: translate3d(0, -3px, 0);
    color: #414958 !important;
}

.ymaps-2-1-79-ground-pane {
	-webkit-filter: grayscale(95%) !important;
	filter: grayscale(95%) !important; 
}

.ymaps-2-1-79-gototaxi,
.ymaps-2-1-79-gototech {
    display: none !important;
}

#map .ymaps-2-1-79-copyright__content {
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 14px;
}

#map .ymaps-2-1-79-copyright__content .ymaps-2-1-79-copyright__agreement {
    font-family: Verdana, serif !important;
}

#map .ymaps-2-1-79-gotoymaps__text {
    font: 11px/22px Arial,Helvetica,sans-serif;
}


@media screen and (min-width: 1850px) {
    #lightbox .slideshow,
    #lightbox .slide-control {
        bottom: -10px;
        right: -190px;
    }
}

@media (min-width: 1500px) {
    address {
        width: 260px;
    }
}