@import url("./rg.theme.css");
@import url("./rg.layout.css");
@import url("./rg.icons.css");
@import url("./rg.form.css");

* {
  margin:0;
  padding:0;
  outline:0;
  box-sizing: border-box;
}
body, body * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	margin:0; outline:none;
}
.loading {
	position:relative!important;
	height:100%;
	pointer-events: none;
}
.loading::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,.6);
	z-index: 1;
}
.loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	margin: -14px 0 0 -14px;
	border: 3px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: loading-spin .7s linear infinite;
	z-index: 999999;
}
@keyframes loading-spin {
	to {
		transform: rotate(360deg);
	}
}
::-webkit-scrollbar {
    width:8px;
    height:8px;
    border-radius: 100px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.1); 
    border-radius: 100px;
} 
::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.2); 
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.1); 
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(150, 150, 150, 0.2);
	border-radius: 100px;
}
._101 {font-style:italic;}
[placeholder]::placeholder {
  color: var(--placeholder);
}
[placeholder]::-webkit-input-placeholder {
  color: var(--placeholder);
}
[placeholder]:-ms-input-placeholder {
  color: var(--placeholder);
}
[placeholder].error::placeholder {
  color: var(--danger);
}
[placeholder].error::-webkit-input-placeholder {
  color: var(--danger);
}
[placeholder].error:-ms-input-placeholder {
  color: var(--danger);
}
textarea, input, select {resize:none;border:0;}
button,
.button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 2px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.2s ease;
	align-items: center;
    justify-content: center;
}
button>i,
.button>i{width:16px;height:16px;}
button:hover,
.button:hover { opacity:0.6;transition: all 0.2s ease; }

button.primary,
.button.primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}
button.secondary,
.button.secondary {
    background-color: white;
    color: #444;
    border-color: #dadce0;
}
.disabled,
.disabled *{color:#cccccc!important;cursor:default;pointer-events:none;}
.overlay {
	position: fixed;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
}
iframe {
	border: 0;
    margin: 0;
    padding: 0;
}
iframe.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
iframe.left {
    position: absolute;
    left:0;
    right:unset;
    top:0;    
}
iframe.right {
    position: absolute;
    right:0;
    left:unset;
    top:0;
}
.hidden {display:none!important;}
.ribbon {
    position: absolute;
    z-index: 5;
    width: 150px;
    padding: 10px 0;
    background: red;
    color: white;
    text-align: center;
    overflow: hidden;
}
.ribbon.tl {
    top: 25px;
    left: -35px;
    transform: rotate(-45deg);
}
.ribbon.tr {
    top: 25px;
    right: -35px;
    transform: rotate(45deg);
}
.ribbon.bl {
    bottom: 25px;
    left: -35px;
    transform: rotate(45deg);
}
.ribbon.br {
    bottom: 25px;
    right: -35px;
    transform: rotate(-45deg);
}

.rg-popup-overlay,
.rg-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: rgFadeIn 0.3s ease;
}
.rg-popup-overlay>.rg-popup {
	position: relative;
	max-height:100%;
	overflow:auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.rg-popup-overlay>.rg-popup>i{
	position:absolute;
	top:-16px;
	right:-16px;
	width:16px;
	height:16px;
	cursor:pointer;
	background:#fff;
}
.rg-dialog {
    width: 360px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: rgFadeIn 0.3s ease;
}
.rg-dialog-header {
    padding: 14px 16px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}
.rg-dialog-body {
	float:left;
	width:100%;
    padding: 16px;
}
.rg-dialog-body.form{
	padding:16px;		
}
.rg-dialog-footer {
    padding: 12px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid #eee;
}
#rg-notifications{
    position:fixed;
    right:20px;
    bottom:20px;
    display:flex;
    flex-direction:column-reverse;
    gap:12px;
    z-index:999999;
    pointer-events:none;
}
.rg-notification{
    width:300px;
    background:#fff;
    border-left:4px solid var(--primary);
    border-radius:5px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    padding:12px;
    pointer-events:auto;
    transform:translateX(120%);
    opacity:0;
    transition:all .25s ease;
}
.rg-notification.show{
    transform:translateX(0);
    opacity:1;
}
.rg-notification.hide{
    transform:translateX(120%);
    opacity:0;
}
.rg-notification.success{
    border-left-color:#22c55e;
}
.rg-notification.error{
    border-left-color:#ef4444;
}
.rg-notification.warning{
    border-left-color:#f59e0b;
}
.rg-notification.info{
    border-left-color:var(--primary);
}
.rg-notification-header{
    display:flex;
    align-items:center;
    gap:10px;
}
.rg-notification-icon{
    font-size:18px;
    flex-shrink:0;
}
.rg-notification-title{
    flex:1;
    font-weight:600;
}
.rg-notification-close{
    cursor:pointer;
    opacity:.6;
    font-size:14px;
    line-height:1;
}
.rg-notification-close:hover{
    opacity:1;
}
.rg-notification-message{
    margin-top:6px;
    line-height:1.5;
    opacity:.8;
}
.rg-notification-footer{
    margin-top:10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.rg-notification-time{
    opacity:.6;
}
.rg-notification-actions{
    display:flex;
    gap:8px;
    margin-left:auto;
}
.rg-gallery{
	width:100%;
	overflow:hidden;
}
.rg-gallery>img{
	width:100%;
}


.rg-filters {
	display:flex;
	flex-wrap:wrap;
	gap:10px;
}
.rg-filters>div {
	display:flex;
	gap:5px;
	border-radius:6px;
	background:#fff;
	align-items:center;
	padding: 6px 8px;
}
.rg-filters>div>span {
	display:flex;
	gap:3px;
	align-items:center;
	background:#eee;
	padding: 4px 8px;
	border-radius:6px;
	border:1px solid #ddd;
}
.rg-filters>div>span>i {
	width:12px;
	height:12px;
	cursor:pointer;
	background:#999;
}

.loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.2s ease;
}
.loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes rgFadeIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
iframe.skiptranslate {display: none !important;}

.f16 {width: 16px;height: 16px;background: url("flags16.png") no-repeat;display:flex;}
.f16.gb { background-position: 0 -1456px; }
.f16.de { background-position: 0 -1152px; }
.f16.fr { background-position: 0 -1424px; }
.f16.es { background-position: 0 -1328px; }
.f16.it { background-position: 0 -1920px; }
.f16.pt { background-position: 0 -2992px; }
.f16.nl { background-position: 0 -2752px; }
.f16.be { background-position: 0 -656px; }
.f16.dk { background-position: 0 -1184px; }
.f16.se { background-position: 0 -3200px; }
.f16.no { background-position: 0 -2768px; }
.f16.fi { background-position: 0 -1360px; }
.f16.is { background-position: 0 -1904px; }
.f16.ie { background-position: 0 -1808px; }
.f16.pl { background-position: 0 -2944px; }
.f16.cz { background-position: 0 -1136px; }
.f16.sk { background-position: 0 -3248px; }
.f16.hu { background-position: 0 -1776px; }
.f16.ro { background-position: 0 -3072px; }
.f16.bg { background-position: 0 -688px; }
.f16.gr { background-position: 0 -1632px; }
.f16.hr { background-position: 0 -1744px; }
.f16.si { background-position: 0 -3232px; }
.f16.rs { background-position: 0 -3088px; }
.f16.ba { background-position: 0 -608px; }
.f16.mk { background-position: 0 -2432px; }
.f16.al { background-position: 0 -432px; }
.f16.ee { background-position: 0 -1264px; }
.f16.lv { background-position: 0 -2320px; }
.f16.lt { background-position: 0 -2288px; }
.f16.ua { background-position: 0 -3632px; }
.f16.ru { background-position: 0 -3104px; }
.f16.by { background-position: 0 -864px; }
.f16.ge { background-position: 0 -1488px; }
.f16.am { background-position: 0 -448px; }
.f16.az { background-position: 0 -592px; }
.f16.tr { background-position: 0 -3552px; }
.f16.kz { background-position: 0 -2160px; }
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.goog-te-balloon-frame,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: none !important;
    box-shadow: none !important;
}

.hnav ul {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hnav ul > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
}

.hnav ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 12px;
    text-decoration: none;
}
.hnav ul > li.active > a {
    background-color: rgba(0, 0, 0, .1);
}
.hnav ul > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999999;
    display: none;
    min-width: 100%;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    background: #fff;
}
.hnav ul > li:hover > ul,
.hnav ul > li.active > ul {
    display: block;
}

.hnav ul > li > ul > li {
    position: relative;
    list-style: none;
}

.hnav ul > li > ul > li > a {
    display: flex;
    padding: 10px 15px;
    white-space: nowrap;
    text-decoration: none;
}

.hnav ul > li > ul > li > ul {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 999999;
    display: none;
    width: auto;
    min-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
}

ul.hnav ul > li > ul > li:hover > ul {
    display: block;
}

ul.hnav ul > li > ul .has-child > a::after {
    transform: rotate(-90deg);
}

@media (max-width: 1023px) {
	.hnav {
		position: fixed;
		width:100%;
		height:100%;
		top:0;
		left:-100%;
		overflow:auto;
		z-index:9999;
		transition: left 0.3s ease;
	}
	.hnav.show {
        transition: left 0.3s ease;
        left: 0;
    }
	.hnav > ul {
        display: flex;
        flex-direction: column;
        width: auto;
        max-width:60%;
        height:100%;
        overflow: auto;
        margin: 0;
        padding: 0;
        background:var(--secondary);
    }

    .hnav ul > li {
        display: block;
        width: 100%;
        height: auto;
    }

    .hnav ul > li > a{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: 10px 15px;
        box-sizing: border-box;
        color: #fff;
        border-bottom: 1px solid #ccc;
    }

    .hnav ul > li > ul {
        position: unset;
        width: 100%;
        min-width: 0;
        display: block;
        margin: 0;
        padding: 0;
        background: transparent;
        padding-left: 15px;
    }

    .hnav ul > li > ul > li {
        width: 100%;
    } 
    .rg-popup {
    	width:90%!important;
    }
}