
/*footer*/
.shablon__footer_1 {

	&.light {
		border-top: 1px solid #ececec;
	}

    &.light .footer-contacts__item a:hover,
	&.light .privacy-footer a:hover,
	&.light .copyright a:hover
	{
		color: var(--color1);
	}

    .footer__inner {
    	position: relative;
    	margin: 0;
    	padding: 59px 0 64px;
    	background: #333;
    }
    &.light .footer__inner {
    	background: #fafafa;
    }
    .footer__line {

    }
    .footer__line_1 {
    	padding-bottom: 70px;
    }
    .footer__line_2 {
    	margin-bottom: 42px;
    }
    .footer__line_3 {

    }
    .footer__row {
    	margin-left: -16px;
    	margin-right: -16px;
    }
    .footer__col {
    	float: left;
    	position: relative;
    	min-height: 1px;
    	padding-left: 16px;
    	padding-right: 16px;
    }
    .footer__line_1 .footer__col_1 {
    	width: 18%;
    }
    .footer__line_1 .footer__col_2 {
    	width: 18%;
    }
    .footer__line_1 .footer__col_3 {
    	width: 18%;
    }
    .footer__line_1 .footer__col_4 {
    	width: 18%;
    }
    .footer__line_1 .footer__col_5 {
    	width: 25%;
    	float: right;
    }
    .footer__line_2 .footer__col_1 {
    	width: 100%;
    }
    .footer__line_3 .footer__col_1 {
    	width: 33.33333333333333%;
    }
    .footer__line_3 .footer__col_1.hidden-counters {
    	width: 50%;
    }
    .footer__line_3 .footer__col_2 {
    	width: 33.33333333333333%;
    }
    .footer__line_3 .footer__col_2.hidden-counters {
    	display: none;
    }
    .footer__line_3 .footer__col_3 {
    	width: 33.33333333333333%;
    }
    .footer__line_3 .footer__col_3.hidden-counters {
    	width: 50%;
    }


    /*mini-subscribe*/
    .mini-subscribe {

    }
    .mini-subscribe ::-webkit-input-placeholder {

    }
    .mini-subscribe ::-moz-placeholder {

    }
    .mini-subscribe :-moz-placeholder {

    }
    .mini-subscribe :-ms-input-placeholder {

    }
    .mini-subscribe__text {

    }
    .mini-subscribe__button-outer {
    	/*margin: 0 9px 35px 0;*/
    	margin: 0 0 35px 0;
    }
    .button_subscribe {
    	display: block;
    	/*padding: 17px 45px 16px 18px;*/
    	padding: 17px 55px 16px 18px;
    	white-space: normal;
    	background: #494949;
    	border-color: #494949;
    	text-align: left;
    	letter-spacing: .8px;
    	color: #fff;
    }
    &.light .button_subscribe {
    	background: #fff;
    	border-color: #eef0f4;
    	color: #333;
    }
    .button_subscribe:hover {
    	background-color: var(--color2);
		border-color: var(--color2);
    }
    &.light .button_subscribe:hover {
    	color: #fff;
    }
    .button_subscribe:after {
    	content: '';
    	position: absolute;
    	top: 50%;
    	right: 19px;
    	margin: -8px 0 0;
    	width: 21px;
    	height: 16px;
    	opacity: .35;
    	background: url(../img/_button_subscribe_white.svg) no-repeat;
    }
    &.light .button_subscribe:after {
    	opacity: .15;
    	background: url(../img/_button_subscribe_black.svg) no-repeat;
    }
    .button_subscribe:hover:after {
    	opacity: .5;
    }
    &.light .button_subscribe:hover:after {
    	background: url(../img/_button_subscribe_white.svg) no-repeat;
    }


    /*footer-contacts*/
    .contact_item {
    	display: block;
    }
    .contact_comment {
    	display: block;
    	font-size: .6667em;
        letter-spacing: .8px;
        text-transform: uppercase;
        color: #999;
        margin: 2px 0 6px;
    }
    .footer-contacts {

    }
    .footer-contacts__item {
    	padding: 0 13px 0 29px;
    	/*overflow: hidden;*/
    	text-overflow: ellipsis;
    	position: relative;
    	color: #fff;
    	margin: 14px 0 0;
    }
    &.light .footer-contacts__item {
    	color: #333;
    }
    .footer-contacts__item:first-child {
    	margin: 0;
    }
    .footer-contacts__item a {
    	color: #fff;
    }
    &.light .footer-contacts__item a {
    	color: #333;
    }
    &.dark .footer-contacts__item a:hover {
    	opacity: .5;
    }
    &.light .footer-contacts__item a:hover {

    }
    .footer-contacts__item:before {
    	content: '';
    	position: absolute;
    	display: block;
    	opacity: .5;
    	background-repeat: no-repeat;
    	background-size: contain;
    	background-position: center center;
    }
    .footer-contacts__item_phone {
    	font-size: 1.0667em;
    }
    .footer-contacts__item_phone:before {
    	width: 5px;
    	height: 11px;
    	left: 5px;
    	top: 4px;
    	background-image: url(../img/_footer-contacts__item_phone_white.svg);
    }
    &.light .footer-contacts__item_phone:before {
    	background-image: url(../img/_footer-contacts__item_phone_black.svg);
    }
    .footer-contacts__item_phone a {

    }
    .footer-contacts__item_email:before {
    	width: 11px;
    	height: 9px;
    	left: 1px;
    	top: 7px;
    	background-image: url(../img/_footer-contacts__item_email_white.svg);
    }
    &.light .footer-contacts__item_email:before {
    	background-image: url(../img/_footer-contacts__item_email_black.svg);
    }
    .footer-contacts__item_whatsapp:before {
    	width: 12px;
    	height: 12px;
    	left: 0;
    	top: 5px;
    	background-image: url(../img/_footer-contacts__item_whatsapp_white.svg);

    }
    &.light .footer-contacts__item_whatsapp:before {
    	background-image: url(../img/_footer-contacts__item_whatsapp_black.svg);

    }
    .footer-contacts__item_whatsapp a {
	    display: block;
    }
    .footer-contacts__item_viber:before {
    	width: 12px;
    	height: 13px;
    	left: 0;
    	top: 4px;
    	background-image: url(../img/_footer-contacts__item_viber_white.svg);
    }
    &.light .footer-contacts__item_viber:before {
    	background-image: url(../img/_footer-contacts__item_viber_black.svg);
    }
    .footer-contacts__item_viber a {
    	display: block;
    }
    .footer-contacts__item_telegram:before {
    	width: 12px;
    	height: 11px;
    	left: 0;
    	top: 5px;
    	background-image: url(../img/_footer-contacts__item_telegram_white.svg);
    }
    &.light .footer-contacts__item_telegram:before {
    	background-image: url(../img/_footer-contacts__item_telegram_black.svg);
    }
    .footer-contacts__item_telegram a {
    	display: block;
    }
    .footer-contacts__item_address:before {
    	width: 9px;
    	height: 12px;
    	left: 2px;
    	top: 5px;
    	background-image: url(../img/_footer-contacts__item_address_white.svg);
    }
    &.light .footer-contacts__item_address:before {
    	background-image: url(../img/_footer-contacts__item_address_black.svg);
    }
    .footer-contacts__item_icq:before {
    	width: 12px;
    	height: 12px;
    	left: 0;
    	top: 5px;
    	background-image: url(../img/_footer-contacts__item_icq_white.svg);
    }
    &.light .footer-contacts__item_icq:before {
    	background-image: url(../img/_footer-contacts__item_icq_black.svg);
    }
    .footer-contacts__item_skype:before {
    	width: 12px;
    	height: 12px;
    	left: 0;
    	top: 5px;
    	background-image: url(../img/_footer-contacts__item_skype_white.svg);
    }
    &.light .footer-contacts__item_skype:before {
    	background-image: url(../img/_footer-contacts__item_skype_black.svg);
    }
    .footer-contacts__item_schedule:before {
    	width: 12px;
    	height: 12px;
    	left: 0;
    	top: 5px;
    	background-image: url(../img/_footer-contacts__item_schedule_white.svg);
    }
    &.light .footer-contacts__item_schedule:before {
    	background-image: url(../img/_footer-contacts__item_schedule_black.svg);
    }
    .footer-contacts__callback {
    	padding-top: 4px;
    }
    .footer-contacts__callback > span {
    	border-color: #494949;
        color: #fff;
    }
	&.light .footer-contacts__callback > span {
    	border-color: #e6e6e6;
        color: #333;
    }
    .footer-contacts__callback > span:hover {
    	background-color: #494949;
        border-color: #494949;
    }


    /*socials*/
    .socials {
    	position: relative;
    	text-align: center;
    	font-size: 0;
    	line-height: 1;
    }
    .socials:before {
    	content: '';
    	position: absolute;
    	top: 50%;
    	left: 0;
    	right: 0;
    	height: 1px;
    	background: rgba(255,255,255,.08);
    	margin-top: -1px;
    }
    &.light .socials:before {
    	background: #ececec;
    }
    .socials__inner {
    	position: relative;
    	display: inline-block;
    	padding: 0 32px;
    	background: #333;
    	z-index: 1;
    }
    &.light .socials__inner {
    	background: #fafafa;
    }
    .socials__link {
    	display: inline-block;
    	vertical-align: top;
    	margin: 4px;
    	width: 43px;
    	height: 43px;
    	border-radius: 3px;
    	opacity: .5;
    	border: 1px solid rgba(255,255,255,.2);
    	transition: opacity .3s;
    	-moz-transition: opacity .3s;
    	-ms-transition: opacity .3s ease;
    	-o-transition: opacity .3s;
    	-webkit-transition: opacity .3s;
    	background-image: url(/misc/img/socials.svg);
    }
    &.light .socials__link {
    	border: 1px solid rgba(51,51,51,.2);
    }
    .socials__link:hover {
    	opacity: 1;
    	border: none;
    }
    .socials__link_icon_vk {
    	background-position: -1px -377px;
    }
    &.light .socials__link_icon_vk {
    	background-position: -1px -565px;
    }
    .socials__link_icon_vk:hover {
    	background-position: 0 -188px;
    }
    .socials__link_icon_ok {
    	background-position: -48px -377px;
    }
    &.light .socials__link_icon_ok {
    	background-position: -48px -565px;
    }
    .socials__link_icon_ok:hover {
    	background-position: -47px -188px;
    }
    .socials__link_icon_facebook {
    	background-position: -95px -377px;
    }
    &.light .socials__link_icon_facebook {
    	background-position: -95px -565px;
    }
    .socials__link_icon_facebook:hover {
    	background-position: -94px -188px;
    }
    .socials__link_icon_twitter {
    	background-position: -1px -424px;
    }
    &.light .socials__link_icon_twitter {
    	background-position: -1px -612px;
    }
    .socials__link_icon_twitter:hover {
    	background-position: 0 -235px;
    }
    .socials__link_icon_instagram {
    	background-position: -142px -518px;
    }
    &.light .socials__link_icon_instagram {
    	background-position: -142px -706px;
    }
    .socials__link_icon_instagram:hover {
    	background-position: -141px -329px;
    }
    .socials__link_icon_moimir {
    	background-position: -377px -424px;
    }
    &.light .socials__link_icon_moimir {
    	background-position: -377px -612px;
    }
    .socials__link_icon_moimir:hover {
    	background-position: -376px -235px;
    }
    .socials__link_icon_youtube {
    	background-position: -95px -518px;
    }
    &.light .socials__link_icon_youtube {
    	background-position: -95px -706px;
    }
    .socials__link_icon_youtube:hover {
    	background-position: -94px -329px;
    }
    .socials__link_icon_telegram {
    	background-position: -330px -518px;
    }
    &.light .socials__link_icon_telegram {
    	background-position: -330px -706px;
    }
    .socials__link_icon_telegram:hover {
    	background-position: -329px -329px;
    }
    .socials__link_icon_lj {
    	background-position: -142px -424px;
    }
    &.light .socials__link_icon_lj {
    	/*background-position: -142px -424px;*/
    	background-position: -142px -612px;
    }
    .socials__link_icon_lj:hover {
    	background-position: -141px -235px;
    }


    /*copyright*/
    .copyright {
    	color: #999;
    	font-size: .867em;
    	line-height: 1.692em;
    }
    .copyright a {
    	color: #fff;
    }
    &.light .copyright a {
    	color: #333;
    }
    &.dark .copyright a:hover {
    	opacity: .5;
    }
    &.light .copyright a:hover {

    }


    /*privacy-footer*/
    .privacy-footer {
    	color: #999;
    	font-size: .867em;
    	line-height: 1.692em;
    	margin-top: 15px;
    }
    .privacy-footer:first-child {
    	margin-top: 0;
    }
    .privacy-footer p {
    	margin: 0;
    }
    &.dark .privacy-footer a {
    	color: #fff;
    }
    &.light .privacy-footer a {
    	color: #333;
    }
    &.dark .privacy-footer a:hover {
    	opacity: .5;
    }
    &.light .privacy-footer a:hover {

    }


    /*counters*/
    .counters {
    	width: 100%;
    	font-size: 0;
    	text-align: center;
    	margin-top: -14px;
    }
    .footer__line_3 .footer__col_1.hidden-counters .counters {
    	text-align: left;
    	margin: 0 -10px;
    }
    .counters img {
    	display: inline-block;
    	vertical-align: top;
    	margin: 20px 10px 0;
    	-webkit-filter: grayscale(100%);
    	filter: grayscale(100%);
    }
    .counters img:hover {
    	-webkit-filter: grayscale(0);
    	filter: grayscale(0);
    }


    /*payment-icons*/
    .payment-icons {
    	margin: 0 -10px;
    	font-size: 0;
    	text-align: right;
    }
    .payment-icons p {
    	margin: 0;
    	display: inline;
    }
    .payment-icons a {

    }
    .payment-icons span {
    	display: inline-block;
    	vertical-align: middle;
    	margin: 0 10px;
    	background: url(../img/_payment-icons.svg) no-repeat;
    	opacity: .5;
    }
    .payment-icons span:hover {
    	opacity: 1;
    }
    .payment-icons span.payment-icons__item_icon_cash {
    	width: 20px;
    	height: 20px;
    	background-position: 0 -298px;
    }
    &.light .payment-icons span.payment-icons__item_icon_cash {
    	background-position: 0 -248px;
    }
    .payment-icons span.payment-icons__item_icon_cash:hover {
    	background-position: 0 -198px;
    }
    .payment-icons span.payment-icons__item_icon_mastercard {
    	width: 24px;
    	height: 16px;
    	background-position: -279px -300px;
    }
    &.light .payment-icons span.payment-icons__item_icon_mastercard {
    	background-position: -279px -250px;
    }
    .payment-icons span.payment-icons__item_icon_mastercard:hover {
    	background-position: -327px -200px;
    }
    .payment-icons span.payment-icons__item_icon_visa {
    	width: 32px;
    	height: 10px;
    	background-position: -40px -304px;
    }
    &.light .payment-icons span.payment-icons__item_icon_visa {
    	background-position: -40px -254px;
    }
    .payment-icons span.payment-icons__item_icon_visa:hover {
    	background-position: -40px -204px;
    }
    .payment-icons span.payment-icons__item_icon_yandex {
    	width: 15px;
    	height: 19px;
    	background-position: -92px -298px;
    }
    &.light .payment-icons span.payment-icons__item_icon_yandex {
    	background-position: -92px -248px;
    }
    .payment-icons span.payment-icons__item_icon_yandex:hover {
    	background-position: -92px -198px;
    }
    .payment-icons span.payment-icons__item_icon_webmoney {
    	width: 17px;
    	height: 18px;
    	background-position: -127px -299px;
    }
    &.light .payment-icons span.payment-icons__item_icon_webmoney {
    	background-position: -127px -249px;
    }
    .payment-icons span.payment-icons__item_icon_webmoney:hover {
    	background-position: -127px -199px;
    }
    .payment-icons span.payment-icons__item_icon_qiwi {
    	width: 19px;
    	height: 20px;
    	background-position: -165px -298px;
    }
    &.light .payment-icons span.payment-icons__item_icon_qiwi {
    	background-position: -165px -248px;
    }
    .payment-icons span.payment-icons__item_icon_qiwi:hover {
    	background-position: -165px -198px;
    }
    .payment-icons span.payment-icons__item_icon_sberbank {
    	width: 19px;
    	height: 20px;
    	background-position: -240px -298px;
    }
    &.light .payment-icons span.payment-icons__item_icon_sberbank {
    	background-position: -240px -248px;
    }
    .payment-icons span.payment-icons__item_icon_sberbank:hover {
    	background-position: -240px -198px;
    }
    .payment-icons span.payment-icons__item_icon_alfabank {
    	width: 14px;
    	height: 19px;
    	background-position: -323px -298px;
    }
    &.light .payment-icons span.payment-icons__item_icon_alfabank {
    	background-position: -323px -248px;
    }
    .payment-icons span.payment-icons__item_icon_alfabank:hover {
    	background-position: -415px -198px;
    }


    /*expertplus*/
    /*
    .expertplus {
    	position: relative;
    	max-width: 360px;
    	color: #999;
    	font-size: .867em;
    	line-height: 1.692em;
    	padding-left: 111px;
    	min-height: 57px;
    	display: flex;
    	flex-wrap: wrap;
    	align-items: center;
    	margin-left: auto;
    	margin-top: 30px;
    }
    .expertplus:first-child {
    	margin-top: 0;
    }
    .expertplus:before {
    	content: '';
    	width: 99px;
    	height: 55px;
    	display: block;
    	position: absolute;
    	left: 1px;
    	top: 1px;
    }
    .expertplus img {
    	width: 101px;
    	height: 57px;
    	display: block;
    	position: absolute;
    	left: 0;
    	top: 0;
    }
    .expertplus a {
    	color: #fff;
    	text-decoration: none;
    }
    &.light .expertplus a {
    	color: #333;
    }
    .expertplus a:hover {

    }
    */


    /*dev*/
    .dev {
    	margin-top: 30px;
        color: #999;
        line-height: 1.4;
        margin-left: auto;
        font-size: .867em;
    	display: flex;
        justify-content: flex-end;
    }
    .dev p {
    	margin: 0;
    }
    .dev:first-child {
    	margin-top: 0;
    }
    .dev a {
        color: #fff;
    }
    &.light .dev a {
        color: #333;
    }
    &.dark .dev a:hover {
    	opacity: .5;
    }
    &.light .dev a:hover {

    }
    .dev img {
    	display: block;
    	flex-shrink: 0;
        margin-bottom: 8px;
    }
    .dev .weblink-inline {
    	display: flex;
        align-items: center;
    	justify-content: flex-end;
    }
    .dev .weblink-inline img {
    	margin-bottom: 0;
        margin-right: 15px;
    }


    @media (max-width: 959px) {
    	.dev {
    		margin-right: auto;
    	    text-align: center;
    		justify-content: center;
    		margin-top: 45px;
    	}
    	.dev img {
        	margin-left: auto;
    		margin-right: auto;
    	}
    	.dev .weblink-inline {
    	    display: flex;
    	    align-items: center;
    	    justify-content: flex-end;
    	    flex-direction: column;
    	}
    	.dev .weblink-inline img {
    	    margin-bottom: 5px;
    	    margin-right: auto;
    	}
    }


    @media (min-width:960px) and (max-width:1259px) {
    	.counters {
    		/*display: none!important;*/
    	}
    }


    @media (max-width:1259px) {
    	.footer__line_1 .footer__col_1 {
    		width: 25%;
    	}
    	.footer__line_1 .footer__col_2 {
    		width: 25%;
    	}
    	.footer__line_1 .footer__col_3 {
    		width: 25%;
    	}
    	.footer__line_1 .footer__col_4 {
    		width: 25%;
    	}
    	.footer__line_1 .footer__col_5 {
    		width: 100%;
    		max-width: 380px;
    		float: left;
    		padding-top: 59px;
    	}
    	.footer__line_3 .footer__col_1 {
    		width: 40%;
    	}
    	.footer__line_3 .footer__col_2 {
    		width: 20%;
    	}
    	.footer__line_3 .footer__col_3 {
    		width: 40%;
    	}
    }


    @media (max-width:959px) {
    	.footer__inner {
    		padding: 50px 0;
    	}
    	.footer__line_1 {
    		padding-bottom: 50px;
    	}
    	.footer__line_1 .footer__col_1 {
    		width: 100%;
    		/*padding-bottom: 54px;*/
    	}
    	.footer__line_1 .footer__col_2 {
    		width: 100%;
    		/*padding-bottom: 54px;*/
    	}
    	.footer__line_1 .footer__col_3 {
    		width: 100%;
    		/*padding-bottom: 54px;*/
    	}
    	.footer__line_1 .footer__col_4 {
    		width: 100%;
    		/*padding-bottom: 54px;*/
    	}
    	.footer__line_1 .footer__col_5 {
    		padding-top: 0;
    		max-width: 100%;
    	}
    	.footer__line_2 {
    		margin-bottom: 50px;
    	}
    	.footer__line_3 .footer__col_1 {
    		width: 100%!important;
    	}
    	.footer__line_3 .footer__col_2 {
    		width: 100%!important;
    	}
    	.footer__line_3 .footer__col_3 {
    		width: 100%!important;
    	}
    	.mini-subscribe__button-outer {
    		width: 100%;
			/*margin-top: 50px;*/
    	}
    	.button_subscribe {
    		margin-left: auto;
    		margin-right: auto;
    		max-width: 380px;
    	}
    	.footer-contacts {
    		text-align: center;
    		max-width: 380px;
    		margin-left: auto;
    		margin-right: auto;
    	}
    	.footer-contacts__item {
    		display: inline-block;
    	}
    	.copyright {
    		text-align: center;
    	}
    	.privacy-footer {
    		margin-top: 30px;
    		text-align: center;
    	}
    	.counters {
    		margin-top: 15px;
    		text-align: center!important;
    	}
    	.payment-icons {
    		text-align: center;
    		margin-top: 35px;
    	}
    	.payment-icons span {
    		margin: 0 8px;
    	}
    /*
    	.expertplus {
    		margin-left: auto;
    		margin-right: auto;
    	}
    */
    }
}
