/*********************
*** GENERAL STYLES ***
*********************/

/*** GUARDRAILS ***/


/*** SCREEN READER STYLING ***/
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.trans250 {
	transition: 250ms;
	-o-transition: 250ms;
	-ms-transition: 250ms;
	-moz-transition: 250ms;
	-webkit-transition: 250ms;
}

#wp-admin-bar-updates {
	display: none;
}

#wpadminbar li a,
#wpadminbar li span {
	transition: 250ms;
}

#wpadminbar li#wp-admin-bar-roxxistudios-business-app a {
    display: flex;
    align-items: center;
    gap: 5px;
	padding: 0 12px;
	margin: 0 8px;
	font-weight: 600;
	color: white;
	background: #C5342F;
}

#wpadminbar li#wp-admin-bar-roxxistudios-business-app a:active,
#wpadminbar li#wp-admin-bar-roxxistudios-business-app a:focus,
#wpadminbar li#wp-admin-bar-roxxistudios-business-app a:hover {
	color: white;
	filter: invert(100%);
	background: black;
}

#wpadminbar li#wp-admin-bar-roxxistudios-business-app a img {
	width: 16px;
}

#wpadminbar li a span.rs-clear-cache-text {
    font-weight: 600;
	color: white;
    border: 1px solid white;
    padding: 2px 8px;
    border-radius: 3px;
}

#wpadminbar li a span.rs-clear-cache-text:active,
#wpadminbar li a span.rs-clear-cache-text:focus,
#wpadminbar li a span.rs-clear-cache-text:hover {
    color: white;
    border-color: white;
	filter: invert(100%);
	background: black;
}




/****************
*** TOOL TIPS ***
****************/

/* Tooltip container */
[data-rx_tooltip] {
	position: relative;
	cursor: pointer;
}


/* Tooltip text */
[data-rx_tooltip]::after {
	content: attr(data-rx_tooltip);
	position: absolute;
	bottom: 125%;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--brand-dark);
	color: var(--brand-light);
	padding: 10px 16px 12px;
	border-radius: 4px;
	white-space: wrap;
	overflow-wrap: break-word;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1000;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	width: 100%;
	min-width: 240px;
	max-width: 480px;
}


/* Tooltip arrow */
[data-rx_tooltip]::before {
	content: '';
	position: absolute;
	bottom: 75%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 6px;
	border-style: solid;
	border-color: var(--brand-dark) transparent transparent transparent;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 1000;
}


/* Show the tooltip text on hover */
[data-rx_tooltip]:hover::after,
[data-rx_tooltip]:hover::before {
	opacity: 1;
}


/* Optional: Adjust position for different directions */
[rx_tooltip-position="top"]::after,
[rx_tooltip-position="top"]::before {
	bottom: 125%;
	border-color: transparent transparent var(--brand-dark) transparent;
}

[rx_tooltip-position="bottom"]::after {
	top: 125%;
	bottom: auto;
}

[rx_tooltip-position="bottom"]::before {
	top: 115%;
	bottom: auto;
	border-color: transparent transparent var(--brand-dark) transparent;
}

[rx_tooltip-position="left"]::after {
	left: auto;
	right: 125%;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}

[rx_tooltip-position="left"]::before {
	left: auto;
	right: 115%;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	border-color: transparent transparent transparent var(--brand-dark);
}

[rx_tooltip-position="right"]::after {
	left: 125%;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}

[rx_tooltip-position="right"]::before {
	left: 115%;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	border-color: transparent var(--brand-dark) transparent transparent;
}




/****************
*** UP BUTTON ***
****************/

#up_btn {
	position: fixed;
	background: transparent;
	border: none;
	padding: 0px;
	bottom: calc(50vh - 25px);
	right: -80px;
	cursor: pointer;
	opacity: 0;
	outline: none;
	z-index: 10000;
	transition: 300ms linear;
	-o-transition: 300ms linear;
	-ms-transition: 300ms linear;
	-moz-transition: 300ms linear;
	-webkit-transition: 300ms linear;
}

#up_btn i {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	align-content: space-around;
	font-size: 36px;
	padding: 8px 0 5px;
	font-weight: 900;
	color: white;
	background: var(--brand-primary);
	width: 60px;
	height: 60px;
	border: 4px solid var(--brand-primary);
	border-radius: 8px;
	outline: none;
	transition: 300ms linear;
	-o-transition: 300ms linear;
	-ms-transition: 300ms linear;
	-moz-transition: 300ms linear;
	-webkit-transition: 300ms linear;
}

#up_btn i .fa_aria {
	font-family: 'Tahoma';
	font-size: 18px;
	font-weight: bold;
	padding: 0;
	margin: 0 auto;
	line-height: 0;
}

#up_btn i::before {
	line-height: 0;
}

#up_btn i:active,
#up_btn i:focus,
#up_btn i:hover {
	color: white;
	background: var(--brand-secondary);
	border-color: var(--brand-secondary);
}

@media screen and (max-width: 480px) {
	#up_btn i {
		width: 48px;
		height: 48px;
		font-size: 24px;
	}
	#up_btn i .fa_aria {
		font-size: 14px;
	}
}




/*****************
*** FOOTER TAG ***
*****************/

#roxxi_footer {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	background: var(--brand-dark);
	align-items: center;
}

#roxxi_footer #roxxi_tag .roxxi_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px 20px;
	margin: 0 auto;
	padding: 0;
	align-items: center;
	font-family: arial;
	font-size: 16px;
	line-height: normal;
	list-style: none;
}

#roxxi_footer.app_sub {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px;
}

#roxxi_footer:hover {
	background: black;
}

#roxxi_footer button {
	display: flex;
	gap: 5px;
	margin-top: 10px;
}

#roxxi_footer button.outline {
	background: transparent;
	outline: 1px solid;
}

#roxxi_footer button:active,
#roxxi_footer button:focus,
#roxxi_footer button:hover {
	background: var(--brand-secondary);
	outline: 1px solid;
}

#roxxi_footer button.outline:active,
#roxxi_footer button.outline:focus,
#roxxi_footer button.outline:hover {
	background: var(--brand-primary);
	outline: none;
}

#roxxi_footer #roxxi_tag a.roxxi_tagLink {
	display: flex;
	align-items: center;
	column-gap: 5px;
	color: #B4B4B4;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	opacity: .75;
	text-decoration: none;
	cursor: pointer;
}

#roxxi_footer #roxxi_tag a.roxxi_tagLink:hover {
	opacity: 1;
}

.roxxi_tag i:before {
	padding-right: 5px;
}




/********************
*** COOKIE NOTICE ***
********************/

.roxxi-cookie-notice {
	display: none;
	justify-content: center;
	position: fixed;
	bottom: 20px;
	left: 0;
	right: 0;
	width: max-content;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 10px;
	z-index: 999999;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	animation: fadeInDown 0.3s ease-out;
}

.roxxi-cookie-notice.visible {
	display: flex;
	animation: fadeInUp 0.3s ease-out;
	font-family: arial;
	font-size: 16px;
}

.roxxi-cookie-notice .notice-inner {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	gap: 20px;
	margin: 20px;
	width: -webkit-fill-available;
}

.roxxi-cookie-notice .notice-inner span {
	flex-wrap: nowrap;
	width: -webkit-fill-available;
	white-space: nowrap;
	color: #111111;
	font-size: 18px;
	font-family: 'arial', sans-serif;
	line-height: 1.33;
}

.roxxi-cookie-notice .notice-copy {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 10px;
}

.roxxi-cookie-notice .notice-inner i {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 42px;
	color: var(--brand-primary)
}

.roxxi-cookie-notice .roxxi-cookie-accept {
	display: flex;
	justify-content: center;
	flex: 1 1 30%;
	font-weight: bold;
	background: var(--brand-primary);
	color: #fff;
	padding: 0.5em 1em;
	text-decoration: none;
	border-radius: 5px;
	transition: 250ms;
}

.roxxi-cookie-notice .roxxi-cookie-accept:focus,
.roxxi-cookie-notice .roxxi-cookie-accept:hover {
	color: white;
	background: var(--brand-secondary)
}

/*** COOKIE POLICY MODAL ***/

#roxxi-cookie-modal {
    z-index: 999999 !important;
}

#roxxi-cookie-modal.hide {
    display: none !important;
	animation: fadeOut 0.3s ease-out;
}

#roxxi-cookie-modal.show {
    display: flex !important;
	animation: fadeIn 0.3s ease-out;
}

#roxxi-cookie-modal.roxxi-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
}

#roxxi-cookie-modal.show .roxxi-modal-content {
    background: #fff;
    max-width: 600px;
    width: 90%;
    padding: 0 2rem 2rem;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

#roxxi-cookie-modal.show .roxxi-modal-content h2,
#roxxi-cookie-modal.show .roxxi-modal-content h3 {
	font-family: arial;
	color: black;
	font-weight: bold;
	margin: 20px auto 5px;
}

#roxxi-cookie-modal.show .roxxi-modal-content h2 {
	font-size: 30px;
}

#roxxi-cookie-modal.show .roxxi-modal-content h3 {
	font-size: 22px;
	text-transform: capitalize;
}

#roxxi-cookie-modal.show .roxxi-modal-content p,
#roxxi-cookie-modal.show .roxxi-modal-content ul {
	font-family: arial;
	font-size: 16px;
	line-height: normal;
	color: #010101;
}

#roxxi-cookie-modal.show .roxxi-modal-content ul {
	margin-left: 20px;
	margin-top: 10px;
}

#roxxi-cookie-modal.show .roxxi-modal-content ul li {
	padding-bottom: 10px;
}

#roxxi-cookie-modal.show .roxxi-modal-content a {
	font-weight: bold;
	color: var(--brand-primary);
	word-wrap: break-word;
}

#roxxi-cookie-modal.show button.roxxi-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    height: 36px;
	padding: 0 15px;
	line-height: 1;
    background: var(--brand-secondary);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    align-items: center;
    flex-direction: row;
}

#roxxi-cookie-modal.show button.roxxi-modal-close:active,
#roxxi-cookie-modal.show button.roxxi-modal-close:focus,
#roxxi-cookie-modal.show button.roxxi-modal-close:hover {
	color: white;
	background: var(--brand-primary) !important;
	border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
		z-index: -1;
    }
    to {
        opacity: 1;
        z-index: 99999;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        z-index: 99999;
    }
    to {
        opacity: 0;
        z-index: -1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(40px);
    }
}




/********************
*** MEDIA QUERIES ***
********************/

@media screen and (max-width: 1048px) {

	.roxxi-cookie-notice .notice-inner {
		flex-direction: column;
		text-align: center;
	}

	.roxxi-cookie-notice .notice-copy {
		flex-direction: column;
		text-align: center;
	}
	
}

@media screen and (max-width: 840px) {
	
	#roxxi_footer #roxxi_tag {
		width: 100%;
		text-align: center;
		gap: 20px 30px;
	}
	
}

@media screen and (max-width: 767px) {
	
	[data-rx_tooltip]::before {
		bottom: 88%;
	}
	
	#roxxi-cookie-modal .roxxi-modal-content {
		margin: 0 5vw;
	}
	
}

@media screen and (max-width: 640px) {
	
	#roxxi_footer {
		padding: 40px 20px;
	}

	#roxxi_footer #roxxi_tag a.roxxi_tagLink:not(:first-child, :last-child) {
		justify-content: center;
		padding: 0;
		line-height: 0;
	}
	
	#roxxi_footer #roxxi_tag a.roxxi_tagLink:first-child,
	#roxxi_footer #roxxi_tag a.roxxi_tagLink:last-child {
		justify-content: center;
		flex: 1 1 100%;
	}

	.roxxi-cookie-notice.visible {
		bottom: 0;
		border-radius: 0;
		left: 0;
		right: 0;
		padding: 0;
		width: 100%;
	}

	.roxxi-cookie-notice .notice-inner {
		row-gap: 30px;
	}

	.roxxi-cookie-notice .notice-inner span {
		line-height: 1.5;
		white-space: wrap;
		margin: 0;
		float: left;
		text-align: center;
	}
	
}

@media screen and (max-width: 480px) {
	
    .roxxi-modal-close {
        font-size: 14px;
    }

	.roxxi-cookie-notice .notice-inner {
		margin: 40px 15px;
	}
	
}




/*** EOF ***/