#venet-modal { position:fixed; top:0; left:0; right:0; bottom:0; overflow-x:hidden; overflow-y:scroll; z-index:2000; }
#venet-modal > .modal-back { position: fixed; top: 0; right: 0; left: 0; bottom: 0; background-color: #00000099; backdrop-filter:blur(4px); z-index:-1; }
#venet-modal > .modal-front { position: relative; height: 100%; padding:0 var(--site-padding); }
#venet-modal > div > div { width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; }
#modal-content-wrap { width:100%; height: 100%; display: flex; justify-content: center; align-items:flex-start; }
#modal-size { height:100%; width:100%; margin: auto; display: flex; justify-content: center; }
#modal-close { position: absolute; padding:2px; border-radius:50%; font-size:0; line-height:0; z-index:1; transition:transform 0.15s ease-out; }
#modal-close:hover { transform:scale(1.15); background-color: #eee; }
#modal-content { font-size:inherit; line-height:inherit; background-color: #fff; color:inherit; overflow:hidden; width:100%; height:auto; transition:all 0.25s ease-out; }
#modal-content .modal-loader { width:100%; min-width:260px; height:100%; min-height:260px; background-color:#fff; padding:25px 30px; }
#modal-content > div { width:100%; height:100%; }
#modal-size, .modal-position { transition:all 0.25s ease-out; }
#venet-modal-loader .modal-loader { background-repeat: no-repeat; background-size: 36px 36px; background-position: center; min-height:36px; }

#venet-modal.modal-center #modal-close { left:auto; right:8px; top:8px; }
#venet-modal.modal-center #modal-size { position:relative; opacity:0; }
#venet-modal.modal-center #modal-content { border-radius:8px; }
#venet-modal.modal-center.active #modal-size { opacity:1; }

#venet-modal.modal-right #modal-close { left:auto; right:10px; top:10px; }
#venet-modal.modal-right #modal-size { position:fixed; top:0; bottom:0; right:0; padding: 0 !important; min-height:initial !important; transform: translateX(100%); }
#venet-modal.modal-right #modal-content { border-radius: initial; max-height:none !important; }
#venet-modal.modal-right.active #modal-size { transform: translateX(0%); }

#venet-modal.modal-left #modal-close { left:auto; right:8px; top:8px; }
#venet-modal.modal-left #modal-size { position:fixed; top:0; bottom:0; left:0; opacity:1; padding: 0 !important; min-height:initial !important; transform: translateX(-100%); }
#venet-modal.modal-left #modal-content { border-radius: initial; max-height:none !important; }
#venet-modal.modal-left.active #modal-size { transform: translateX(0%); }

#venet-modal.modal-top #modal-close { left:auto; right:8px; top:8px; }
#venet-modal.modal-top #modal-size { position:fixed; top:0; right:0; left:0; height:100vh; padding:0 !important; max-width:initial !important; min-height:initial !important; transform:translateY(-100vh); }
#venet-modal.modal-top #modal-content { border-radius: initial; max-height:none !important; }
#venet-modal.modal-top.active #modal-size { transform: translateY(0%); }


html.no-scroll { overflow: hidden; }
html.no-scroll body { overflow-y: scroll; }
html.fslightbox-open body { overflow-y:hidden; }
html.no-scroll body.menu-sticky #header-bottom-wrap.header-sticky, html.no-scroll #backToTop-wrap, html.fslightbox-open #backToTop-wrap { overflow-y: scroll; }
XXXhtml.no-scroll body.menu-sticky #header.header-sticky { overflow-y: scroll; }

#venet-modal .loginform-wrap > div:nth-child(1) > form { max-width:360px; margin: 0 0 0 auto; }
#venet-modal .loginform-wrap > div:nth-child(3) .form-tab h2 { font-size: 22px; margin: 0; }

.form-tab { position: relative; height:100%; display: flex; flex-direction: column; justify-content: space-between; padding: 25px 30px; }
.form-tab .form-nav { text-align:center; font-size: 17px; line-height:normal; }
.form-tab button, .form-tab a.button { width:100%; margin: 10px 0 12px 0; }
.form-tab label { line-height: normal; font-size: 15px; }
.form-tab label[for="register_gdpr"] > *, .form-tab label[for="login_remember"] > * { cursor:pointer; }
.form-tab input[type="checkbox"] { margin-right: 8px; }
.form-tab input[type="text"] { width:100%; padding: 5px 9px 6px 9px; }
.form-tab .form-row { width:100%; display:flex; margin-bottom:10px; }
.form-tab .form-row > div { flex:1; display: flex; flex-direction: column; }
.form-tab .form-row-50 > div { width:50%; min-width:50%; }
.form-tab .form-row-50 > div:nth-child(even) { padding-left:5px; }
.form-tab .form-row-50 > div:nth-child(odd) { padding-right:5px; }
.form-tab .status { font-weight: 400; font-size: 18px; display: flex; flex-direction: column; justify-content:center; padding: 10px 0 60px 0; align-items: center; position:absolute; top:65px; left:0; right:0; bottom:50px; background-color:#ffffffee; z-index: 2; }
.form-tab .status-message { margin-bottom:15px; width: 100%; text-align: center; }
.form-tab .status a { font-weight: 400; font-size: 18px; letter-spacing: .2px; }
#tab_login.form-tab h3 { margin-top:0; }

.form-policy-link { margin: -13px 0 13px -15px; }
.form-policy-link a { display:inline-flex; align-items:center; }
.form-policy-link svg { transform: scale(-1); width: 15px; height: 15px; margin-right: 8px; }
.form-policy-content { width:100%; height:100%; position:relative; }
.form-policy-content > div { position:absolute; top:0; left:0; right:0; bottom:0; overflow:auto;scrollbar-color: #555 #efefef; scrollbar-width: thin; padding-right:10px; }

#modal-content > .modal-privacypolicy { width:100%; height:100%; display:flex; flex-direction:column; padding: 25px 30px; }
#modal-content > .modal-privacypolicy > div { overflow: auto; padding-right: 15px; margin-top: 10px; flex:1; }
#modal-content > .modal-privacypolicy h2 { font-size:22px; margin:0; }
#modal-content > .modal-privacypolicy p { margin-top:0; }
#modal-content > .modal-privacypolicy > div > *:last-child { margin-bottom:0; }
/*
.form-tab > div::-webkit-scrollbar { height:10px; width:10px; }
.form-tab > div::-webkit-scrollbar-thumb { background-color: darkgrey; outline: 0px solid slategrey; }
.form-tab > div::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 1px black; }
*/



#venet-modal .map-content { display: flex; flex-direction: column; }
#venet-modal .map-content .bar-title span { font-size:0; line-height:0; padding: 0 8px 0 16px; }
#venet-modal .map-content .bar-title svg { width:20px; height:20px; }
#venet-modal .map-content > div:last-child { flex:1; }

#modal-content .bar-title { display: flex; align-items: center; height: 42px; font-size: 17px; font-weight: 600; border-bottom: 1px solid #ccc; }
#venet-modal.modal-right #modal-content .bar-title {justify-content: flex-end; padding-left:42px; padding-right: var(--pad_sm); }
#venet-modal:not(.modal-right) #modal-content .bar-title { justify-content: flex-start; padding-right:42px; padding-left: var(--pad_sm); }
#modal-content .start-top > div > div > p:first-child { margin-top:0 !important; }

@media all and (max-width:575px) {
	#modal-content .bar-title { font-size: 15px; line-height:18px; }
	#venet-modal .map-content .bar-title span { padding: 0 5px 0 12px; }
	#venet-modal .map-content .bar-title svg { width:16px; height:16px; }
}

