/**
 * Custom CSS settings from the developers of website fkbr.ru
 * 
 * Copyright (c) 2017 Содействие (fkbr.ru)
 */


/* Content */

.menu-top > li > a.with-submenu:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    border-top: solid 13px #fff;
    border-left: solid 8px transparent;
    border-right: solid 8px transparent;
    margin-left: -8px;
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    -o-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 0;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

.menu-top > li:hover > a.with-submenu:after {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.union-members-root-page-welcome-content {
	/*display: flex;*/
}

.union-members-root-page-content {
	margin: 20px 0 0 0;
	clear: both;
}

.union-members-root-page-content .union-members-category-wrap {
	margin: 0 0 15px 0;
}

.union-members-category-members {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
}

.union-members-root-page-content .union-members-category-wrap .union-members-category-title {
	margin: 0 0 10px 0;
    font-weight: 500;
	font-size: 24px;
    color: #b30202;
    text-transform: uppercase;
}

.union-members-root-page-content .union-members-category-wrap .union-members-category-member-wrap {
	margin: 0 0 15px 0;
	width: 25%;
	text-align: center;
}

.union-members-category-page-members-erap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
}

.umion-member-page-image {
    margin: 0 15px 15px 0;
	float: left;
}

.online-reception-form-wrap,
.join-to-union-form-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

#online-reception-form,
#join-to-union-form {
	width: 90%;
}

.form-block.sender-type-form-block {
	display: flex;
	justify-content: space-between;
} 

.form-block.sender-type-form-block .sender-type-section-wrap {
	display: flex;
	align-items: center;
	width: 50%;
}

.form-block.sender-type-form-block .sender-type-section-wrap span {
	margin: 0 0 0 15px;
	font-weight: 500;
}

.form-with-labels .form-block label {
	display: block;
	margin: 0 0 10px 0;
    font-weight: 500;
}

.form-with-labels .form-block label span.label-field-required {
	margin: 0 0 0 3px;
	color: #F00;
}

.fiz-fields-wrap,
.ur-fields-wrap,
.phone-and-email-wrap {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.fiz-fields-wrap .form-block,
.ur-fields-wrap .form-block {
	width: 30%;
}

.phone-and-email-wrap .form-block {
	width: 49%;
}

.complaint-fields-wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}

.complaint-fields-wrap .form-block {
	width: 30%;
}

.ur-fields-wrap,
.complaint-fields-wrap,
.complaint-fields-wrap {
	display: none;
}

#online-reception-form .submit-wrapp,
#join-to-union-form .submit-wrapp {
    text-align: center;
}

.online-reception-file {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

#online-reception-form .attach-files-form-block {
	display: flex;
	position: relative;
	margin: 0 auto 0 auto;
    width: 100%;
}

#online-reception-form .attach-file-form-block {
	display: none;
	position: relative;
	width: 33%;
}

#online-reception-form .attach-file-form-block:first-child {
	display: block;
}

#online-reception-form .attach-file-label {
    position: absolute;
    margin: 0;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1.5em + .75rem + 2px);
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background: #769ff3 -webkit-gradient(linear, left top, left bottom, from(#5743ea), color-stop(11%, #120289), color-stop(89%, #0f51c9), to(#769ff3));
    background: #769ff3 -webkit-linear-gradient(top, #5743ea 0%, #120289 11%, #0f51c9 89%, #769ff3 100%);
    background: #769ff3 -o-linear-gradient(top, #5743ea 0%, #120289 11%, #0f51c9 89%, #769ff3 100%);
    background: #769ff3 linear-gradient(to bottom, #5743ea 0%, #120289 11%, #0f51c9 89%, #769ff3 100%);
    color: #fff;
    text-align: center;
    cursor: pointer;
}

#online-reception-form .attach-file-label::after {
	content: "Прикрепить файл";
	display: block;
	box-sizing: border-box;
    line-height: 31px;
	right: -160px;
    z-index: 3;
    height: 34px;
    border: none;
    top: -1px;
    cursor: pointer;
}

textarea {
    display: block;
    height: 150px;
    background-color: #fff;
    border: solid 1px #b5c3cc;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    width: 100%;
    resize: none;
}

.online-reception-file-name-wrap {
    display: block;
    margin: 10px 0 0 0;
    width: 100%;
	text-align: center;
}

.consent-processing-personal-data-wrap {
	display: flex;
	align-items: center;
	margin: 10px 0;
}

.consent-processing-personal-data-wrap .js-consent-processing-personal-data {
	margin: 0 8px 0 0;
}

.online-reception-appeals-list .online-reception-appeal-item {
	margin: 0 0 10px 0;
}

.appeal-datas-wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0px 0 15px 0 !important;
	padding: 0 0 15px 0;
	width: 100%;
	border-bottom: 1px solid #333;
}

.appeal-datas-wrap .appeal-data-item-wrap {
	margin: 0 0 15px 0;
	width: 33%;
	text-align: center;
}

.appeal-datas-wrap .appeal-data-item-wrap .appeal-data-item-title,
.appeal-content-wrap .appeal-content-wrap-title {
	color: #b30202;
}

.appeal-datas-wrap .appeal-data-item-wrap .appeal-data-item-value {
	font-weight: 500;
}

.appeal-tech-datas-wrap .appeal-data-item-wrap {
	width: 25%;
}

.appeal-contacts-datas-wrap .appeal-data-item-wrap {
	width: 50%;
}

.appeal-content-wrap {
	width: 100%;
}

.back-to-join-to-union-form-page-link-wrap {
	margin: 15px 0 0 0;
}

.union-members-category-member-logo {
	display: block;
	margin: 0 0 10px 0;
}

.union-members-category-member-logo img {
	width: 120px;
	height: 120px;
}

.social-icon-1 {
	background-position: -1px 34px;
	background-image: url('../img/social-icons_2_icons.png');
}

.social-icon-4 {
	background-position: 0 0;
	background-image: url('../img/social-icons_2_icons.png');
}

.footer-col-socials .social-icon-1 {
	background-image: url('../img/social-icons_2_icons.png');
	background-position: -31px 31px;
}

.footer-col-socials .social-icon-4 {
	background-image: url('../img/social-icons_2_icons.png');
	background-position: -30px 0px;
}

.slick-initialized .slick-slide {
	position: relative;
}

.main-slide-item-button-wrap {
	position: absolute;
    top: 62%;
    right: 28%;
}

.main-slide-item-button-wrap a {
	padding: 8px 15px;
	font-size: 35px;
	background: #546670;
	color: #fff;
	border-radius: 8px;
	font-weight: 500;
	text-transform: uppercase;
}

.main-slider-section .main-slider-dots .slick-dots {
	bottom: 5px;	
}

/* /Content */


/* News */

.news-nav-active-item {
    background-color: #bbd0f6 !important;
    text-decoration: none !important;
}

.page-news-title-nav {
	display: flex;
    justify-content: center;
    width: 100%;
}

/* /News */


/* Forms */

form .error {
    border: solid 1px #ea4343;
}

/* /Forms */


/* Users */

#modal-user-login-fail, #page-user-login-fail {
    display: none;
    margin: 0 0 15px 0;
    color: #b30202;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

#registratin-ok {
    display: none;
    text-align: center;
}

/* /Users */


/* Menu */

.menu-top > li.menu-active-item > a {
    background: #ea4343 -webkit-gradient(linear, left bottom, left top, from(#ea4343), color-stop(11%, #890202), color-stop(89%, #c90f0f), to(#f37676));
    background: #ea4343 -webkit-linear-gradient(bottom, #ea4343 0%, #890202 11%, #c90f0f 89%, #f37676 100%);
    background: #ea4343 -o-linear-gradient(bottom, #ea4343 0%, #890202 11%, #c90f0f 89%, #f37676 100%);
    background: #ea4343 linear-gradient(to top, #ea4343 0%, #890202 11%, #c90f0f 89%, #f37676 100%);
}

/* /Menu */

@media screen and (max-width: 1430px) {
	
	.main-slide-item-button-wrap {
	    top: 61%;
	    right: 26%;
	}
	
	.main-slide-item-button-wrap a {
		font-size: 24px;
	}	
}

@media screen and (max-width: 1024px) {
	
	.main-slide-item-button-wrap {
	    top: 55%;
	    right: 25%;
	}
	
	.main-slide-item-button-wrap a {
		font-size: 24px;
	}
}