/*
	Theme Name: online-notary
	Theme URI: http://underscores.me/
	Author: Underscores.me
	Author URI: http://underscores.me/
	Description: Description
	Version: 1.0.0
	Tested up to: 5.4
	Requires PHP: 5.6
	License: GNU General Public License v2 or later
	License URI: LICENSE
	Text Domain: online-notary
	Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.header__wrapper {
    position: absolute;
}
.header-container {
    height: 90px;
}

.header__blockLogo {
    flex: 0 0 150px;
}

.wrapper {
    overflow: visible;
}

main.main {
	overflow: hidden;
    padding-top: 90px;
}

body.admin-bar .header__wrapper {
    top: 32px;
}
body.admin-bar main.main {
    //padding-top: 146px;
}

.fs__wrap-button {
    padding: 10px 12px 11px 0;
    width: 242px;
}
.fs__wrap-button-column p {
    font-size: 20px;
    line-height: 21px;
}
.fs__wrap-button-column.icon {
    width: 38px;
}
.fs__wrap-button-column.info {
    width: calc(100% - 55px);
}

.post__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 35px 0 12px;
}
.post__pagination .page-numbers:not(.dots, .next, .prev) {
	color: #000;
	font-size: 16px;
	line-height: 21px;
}
.post__pagination .page-numbers {
	align-items: center;
	display: flex;
	justify-content: center;
	min-width: 32px;
	margin: 6px 3px;
	padding: 3px 6px;
	transition: 0.2s ease 0s;
}
.post__pagination .page-numbers:not(.dots, .next, .prev):hover,
.post__pagination .page-numbers.current {
	background-color: #000;
	border-radius: 3px;
	color: #fff;
}
.post__pagination .page-numbers.next,
.post__pagination .page-numbers.prev {
	color: #000;
	font-size: 15px;
}
.post__pagination .page-numbers.current,
.post__pagination .page-numbers.dots {
	pointer-events: none;
	user-select: none;
}
.post__pagination .page-numbers.dots {
	margin-left: 0;
	margin-right: 0;
}

.laws {
    position: relative;
}
.laws .page-decoration.top {
    left: 0;
    max-width: 56%;
    top: 0;
}

body.error404 main.main {
	align-items: center;
	display: flex;
	justify-content: center;	
}
.error__content {
	padding: 50px 0;
	text-align: center;
}

body.page-template-page-front .wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	margin-top: 20px;
}
body.page-template-page-front .wpcf7-form p {
	direction: rtl;
	display: flex;
	flex-wrap: wrap;
    margin: 0;
	position: relative;
}
body.page-template-page-front .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
    margin-left: 5px;
    margin-right: 5px;
    width: calc(25% - 10px);
}
body.page-template-page-front .wpcf7-form input {
	border-radius: 200px;
    border: none;
	/*direction: rtl;*/
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    height: 47px;
}
body.page-template-page-front .wpcf7-form input:not([type=submit]) {
	font-size: 16px;
	direction: rtl;
    padding: 12.29px 16px 12.71px 16px;
	width: 100%;
}
body.page-template-page-front .wpcf7-form input[type=submit] {
    background-color: #ae9c64;
    color: #fff;
    cursor: pointer;
	direction: rtl;
	font-size: 18px;
    margin-left: 5px;
    margin-right: 5px;
    width: calc(25% - 10px);
}
body.page-template-page-front .wpcf7-form .wpcf7-spinner {
	direction: rtl;
	left: -15px;
    position: absolute;
    top: 11px;
}
body.page-template-page-front .wpcf7-not-valid-tip {
	direction: rtl;
    color: #fff;
    font-size: 15px;
    line-height: 21px;
    margin-top: 5px;
    text-align: right;
}
body.page-template-page-front .wpcf7 form .wpcf7-response-output,
body.page-template-page-front .wpcf7 form.invalid .wpcf7-response-output,
body.page-template-page-front .wpcf7 form.unaccepted .wpcf7-response-output,
body.page-template-page-front .wpcf7 form.payment-required .wpcf7-response-output {
    border: none;
    color: #fff;
	direction: rtl;
    margin: 20px 0 0;
    padding: 0;
}

.sending-doc-to-notary__button.next.repeat {
	margin: 80px auto 0;
}

body.page-template-page-contact .sending-doc-to-notary__items.three-column .wpcf7-form-control,
body.page-template-page-contact .sending-doc-to-notary__sdtnf-step,
body.page-template-page-contact .sending-doc-to-notary__wrap-buttons,
body.page-template-page-contact .select2-selection__rendered,
body.page-template-page-contact .select2-dropdown {
	direction: rtl;
}
body.page-template-page-contact .select2-selection,
body.page-template-page-contact .select2-container .select2-selection--single .select2-selection__rendered {
	padding-right: 0 !important;
}
body.page-template-page-contact .select2-container .select2-selection.select2-selection--single {
	padding-left: 0 !important;
}
body.page-template-page-contact .select2-selection__rendered {
	color: #000 !important;
	font-size: 28px !important;
    line-height: 40px !important;
    letter-spacing: 0 !important;
    height: 51px !important;
    padding-left: 43px !important;
    position: relative !important;
    width: 100% !important;
    z-index: 2 !important;
}
body.page-template-page-contact .select2-selection {
	height: 51px !important;
}
body.page-template-page-contact .select2-selection__arrow {
    height: 12px !important;
    left: 10px !important;
    right: auto !important;
    top: 19px !important;
    width: 23px !important;
}
body.page-template-page-contact .select2-container--open .select2-selection__arrow {
	top: 13px !important;
}
body.page-template-page-contact .select2-container--default .select2-selection--single .select2-selection__arrow b {
    height: 12px !important;
    left: 4px !important;
	top: -4px !important;
	width: 23px !important;
}
body.page-template-page-contact .select2-results__options {
    border: 1px solid #C8C8C8 !important;
    margin-top: 5px !important;
    max-height: 240px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    scrollbar-width: thin;
    overscroll-behavior: contain;
    width: 100% !important;
}
body.page-template-page-contact .select2-dropdown {
	border: none !important;
	margin-top: 5px !important;
}
body.admin-bar.page-template-page-contact .select2-dropdown {
	margin-top: 37px !important;
}
body.page-template-page-contact .select2-dropdown::-webkit-scrollbar {
    background-color: #F8F9FA;
    padding: 5px;
    width: 5px;
}
body.page-template-page-contact .select2-dropdown::-webkit-scrollbar-thumb {
    background-color: #D9D9D9;
}

body.page-template-page-contact .select2-results__option .select2-results__option--selectable {
	font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 27.2px !important;
	position: relative !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
    padding: 7px 12px !important;
}
body.page-template-page-contact .select2-results__option--selectable:not(:first-child) {
    border-top: 1px solid rgba(224, 229, 231, 0.5);
}
body.page-template-page-contact .select2-container--default .select2-results__option--selected {
	background: none !important;
	color: #a5a5a5 !important;
    cursor: default !important;
    pointer-events: none !important;
    user-select: none !important;
}
body.page-template-page-contact .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: rgba(224, 229, 231, 0.5) !important;
    color: #000 !important;
}

.footer__above-items {
    bottom: 0;
	transition: bottom 1.8s, opacity 0.8s;
    z-index: 1;
}
.footer__above-items.hidden {
	bottom: -100%;
	opacity: 0;
}

.footer {
	margin-top: 0;
}

.footer__menu {
	margin-top: 50px;
}
.footer__menu ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
    list-style: none;
	margin-left: -5px;
	margin-right: -5px;
	padding-left: 0;
}
.footer__menu li {
    color: #fff;
	font-size: 16px;
    font-weight: 700;
    line-height: 20px;
	margin: 8px 5px;
	position: relative;
	text-align: center;
	transition: 0.3s ease 0s;
}
.footer__menu li:hover {
    color: rgba(255, 255, 255, .6);
}
.footer__menu li:not(:first-child)::after {
	background-color: #fff;
    content: '';
	display: block;
	height: 16px;
	position: absolute;
	right: -6px;
    top: 2.5px;
	width: 2px;
}
.footer__menu a {
	color: inherit;
	text-decoration: underline;
}

.footer__above-items {
	margin-top: 53px;
}
.footer__itemBlockText {
	padding-bottom: 0;
}
.footer__list-contact {
	margin-bottom: 30px;
	margin-top: 23px;
}
.footer__list-social {
	margin-top: -6px;
}

@media (min-width: 1300px)  {
	
	.fs h1 {
		font-size: 58px;
		line-height: 69px;
	}
}
@media screen and (max-width: 1280.98px) {
	
	.header__blockLogo {
		flex: 0 0 130px;
	}
}
@media screen and (max-width: 1200.98px) {
	
	.header__blockLogo {
		flex: 0 0 108px;
	}
}
@media (min-width: 1100px) {
	
	.header .menu__list {
		justify-content: flex-start;
	}
}
@media (max-width: 1099.98px) {
	
	.header-container {
		height: 68px;
	}

	.header .menu {
		padding-left: 0;
	}

	#burger {
		margin-right: auto;
	}
	
	body.admin-bar .header .menu-topmenu-container {
		height: calc(100dvh - 113px);
		margin-top: 113px;
	}

	main.main {
		padding-top: 68px;
	}
	body.admin-bar main.main {
		padding-top: 68px;
	}
}
@media (max-width: 1024.98px) {

	body.page-template-page-front .wpcf7-form .wpcf7-form-control-wrap {
		width: calc(33.3333% - 10px);
	}

	body.page-template-page-front .wpcf7-form .wpcf7-form-control.wpcf7-submit {
		order: 1;
		margin: 14px auto 0;
		width: 260px;
	}
	
	body.page-template-page-contact .select2-selection__rendered {
		font-size: 21px !important;
		line-height: 41px !important;
		height: 41px !important;
	}
	body.page-template-page-contact .select2-selection__arrow {
		left: 0 !important;
		top: 24px !important;
	}
	body.page-template-page-contact .select2-container--open .select2-selection__arrow {
		top: 19px !important;
	}
	body.page-template-page-contact .select2-container .select2-selection.select2-selection--single:before {
		height: 4px !important;
	}
}
@media (max-width: 782.98px) {

	body.admin-bar .header__wrapper {
		top: 46px;
	}
	body.admin-bar main.main {
		padding-top: 68px;
	}
	body.admin-bar .header .menu-topmenu-container {
		height: calc(100dvh - 113px);
		margin-top: 113px;
	}
	
	body.admin-bar.page-template-page-contact .select2-dropdown {
		margin-top: 51px !important;
	}
}
@media (max-width: 720.98px) {
	
	.fs h1 {
		font-size: 34px;
		line-height: 46px;
		max-width: 350px;
	}
}
@media (max-width: 575.98px) {
	
	.fs__wrap-button {
		margin-top: 25px;
		padding: 9px 10px 10px 0;
		width: 200px;
	}
	.fs__wrap-button-column p {
		font-size: 17px;
		line-height: 20px;
	}
	.fs__wrap-button-column.icon {
		width: 30px;
	}
	.fs__wrap-button-column.info {
		padding-right: 15px;
		width: calc(100% - 40px);
	}
	
	body.page-template-page-contact .select2-selection__rendered {
		font-size: 18px !important;
		line-height: 44px !important;
		height: 39px !important;
	}
	body.page-template-page-contact .select2-selection__arrow {
		height: 9px;
		left: 0;
		top: 28px !important;
		width: 14px;
	}
	body.page-template-page-contact .select2-container--open .select2-selection__arrow {
		top: 16px !important;
	}
	body.page-template-page-contact .select2-container--default .select2-selection--single .select2-selection__arrow b {
		height: 9px !important;
		width: 14px !important;
	}
	
	.footer__menu  {
		margin-top: 20px;
	}
	.footer__menu li {
		font-size: 15px;
		margin-bottom: 5px;
		margin-top: 5px;
	}
	.footer__menu li:not(:first-child)::after {
		height: 14px;
		top: 4px;
	}

	.footer__list-social {
		margin-bottom: 15px;
	}
	.footer__list-social li {
		margin: 10px;
	}
}
@media (max-width: 480.98px) {

	body.page-template-page-front .wpcf7-form .wpcf7-form-control-wrap,
	body.page-template-page-front .wpcf7-form .wpcf7-form-control.wpcf7-submit {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
	body.page-template-page-front .wpcf7-form .wpcf7-form-control-wrap {
		margin-bottom: 15px;
	}
	body.page-template-page-front .wpcf7-form .wpcf7-form-control.wpcf7-submit {
		margin-top: 0;
	}
	body.page-template-page-front .wpcf7-not-valid-tip {
		margin-top: 0;
	}
}