@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

*, .ipsApp input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
	min-height: 100%;
	position: relative;
}

body {
	{{if !theme.body_font || theme.body_font == 'default'}}
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	{{else}}
		font-family: "{theme="body_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
	{{endif}}
	font-size: 13px;
	line-height: 18px;
	color: {theme="text_color"};
	height: 100%;
	background: {theme="page_background"} url({resource="junkydesign/background.png" app="core" location="admin"});
	margin: 0;
}

span.ipsEmoji, div.ipsEmoji {
	font-weight: normal;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
}
img.ipsEmoji {
	height: 1.25em;
	width: 1.25em;
	margin: 0 .05em 0 .1em;
	vertical-align: -0.1em;
}

main {
	display: block;
}

.ipsLayout_noBackground {
	background: none;
}

	body.ipsNoScroll {
		overflow: hidden;
	}

a {
	color: {theme="link"};
	text-decoration: none;
}

	a:hover {
		color: {theme="link_hover"};
	}

	a:active, a:focus, a:hover {
		outline: 0 !important;
	}

img {
	vertical-align: middle;
}

.ipsApp fieldset {
	border: 0;
}

/* RTL flip FontAwesome arrows */
html[dir="rtl"] i.fa[class$="-right"],
html[dir="rtl"] i.fa[class$="-left"],
html[dir="rtl"] i.fa[class$="-reply"],
html[dir="rtl"] i.fa[class$="-forward"],
html[dir="rtl"] i.fa[class$="-backward"] {
	transform: scaleX(-1);
	filter: FlipH;
}

/* HEADER & MAIN NAV */
#elSiteTitle {
	color: #fff;
	font-size: 28px;
	line-height: 58px;
	text-decoration: none;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

#elLogo img {
	max-width: 100%;
}

#elMobileNav {
	background: {theme="main_nav"};
	position: relative;
}
		
	/*#ipsLayout_mainNav {
		margin: 0;
		padding: 0;
	}

	#ipsLayout_mainNav > li {
		display: inline-block;
		float: left;
		line-height: 46px;
	}*/

		#ipsLayout_header nav ul li.ipsHide,
		#ipsLayout_header #elMobileNav li.ipsHide {
			display: none;
		}
	
	#ipsLayout_mainNav > li > a {
		display: block;
		position: relative;
		font-size: 13px;
		color: #fff;
		text-decoration: none;
		padding: 0 20px;
		text-shadow: 0px -1px 0px rgba(0,0,0,0.4);
	}

		#ipsLayout_mainNav > li > a .ipsNotificationCount {
			top: -3px;
		}

			html[dir="ltr"] #ipsLayout_mainNav > li > a .ipsNotificationCount {
				right: -3px;
			}
			html[dir="rtl"] #ipsLayout_mainNav > li > a .ipsNotificationCount {
				left: -3px;
			}

		#ipsLayout_header nav a.ipsNavActive {
			color: #fff;
			text-shadow: 0px 1px 0px rgba(0,0,0,0.4);
			background: rgba(0,0,0,0.3);
			font-weight: bold;
			opacity: 1;
		}

			#ipsLayout_header nav a.ipsNavActive.ipsNavActive_menu {
				background: rgba(0,0,0,0.5);
			}

#ipsLayout_header header {
	padding: 5px 0;
	background-color: {theme="header"};
	padding-bottom: 40px;
}

	#ipsLayout_header header > .ipsLayout_container {
		min-height: 60px;
	}

	#ipsLayout_header nav {
		background: {theme="main_nav_tab"};
		height: 40px;
	}

		#ipsLayout_header nav.ipsNavBar_noSubBars,
		.ipsLayout_minimal #ipsLayout_header nav {
			height: auto;
			background: transparent;
			margin-top: -40px;
		}

		/* Add a small bar under single-level nav, so it looks good */
		#ipsLayout_header nav.ipsNavBar_noSubBars:after {
			content: '';
			position: absolute;
			width: 100%;
			height: 10px;
			bottom: 0;
			left: 0;
			right: 0;
			background: {theme="main_nav_tab"};
		}

	/* Minimal page layout, i.e. no nav or home link */
	body.ipsLayout_minimal.ipsLayout_minimalNoHome #ipsLayout_header header {
		padding-bottom: 0;
	}
	body.ipsLayout_minimal.ipsLayout_minimalNoHome #ipsLayout_header nav {
		display: none;
	}
	
#ipsLayout_mainNav > li > a {
	opacity: 0.6;
}

	#ipsLayout_mainNav > li > a:hover {
		opacity: 1;
		color: #fff;
	}

#ipsLayout_mobileNav {
	display: none;
}

#elAjaxLoading {
	background: #323232;
	width: 150px;
	padding: 15px;
	color: #fff;
	position: fixed;
	bottom: 15px;
	border-radius: 4px;
	font-size: 16px;
	text-align: center;
	z-index: 15000;
}
html[dir="ltr"] #elAjaxLoading {
	left: 50%;
	margin-left: -75px;
}
html[dir="rtl"] #elAjaxLoading {
	right: 50%;
	margin-right: -75px;
}

	html[dir="ltr"] #elAjaxLoading img {
		margin-right: 20px;
	}
	html[dir="rtl"] #elAjaxLoading img {
		margin-left: 20px;
	}

/* SEARCH */
#elSearch {
	border-radius: 20px;
	padding: 4px 10px 4px 10px;
	background: #fff;
	margin: 0;
	height: 26px;
	width: 170px;
	position: relative;
}

	html[dir="ltr"] #elSearch {
		margin-right: 5px;
	}
	html[dir="rtl"] #elSearch {
		margin-left: 5px;
	}

	/* Fix for webkit autocomplete */
	#elSearch input:-webkit-autofill {
		height: 26px !important;
	}
	
#elSearchExpanded {
	background: white;
	width: 280px;
	position: absolute;
	top: 36px;
	box-shadow: 0px 2px 10px rgba(0,0,0,0.3);
	border: 1px solid #ddd;
	border-top: 0px;
	border-radius: 0px 0px 4px 4px;
	z-index: 10000;
 	display: none;
 	padding: 10px 10px 10px 10px;
 	background: #fff;
}

	html[dir="ltr"] #elSearchExpanded {
		right: -12px;
	}

	html[dir="rtl"] #elSearchExpanded {
		left: -12px;
	}
	
#elSearch input[type="search"] {
	background: transparent;
	box-shadow: none;
	font-size: 13px;
	position: absolute;
	border: 0px;
	width: 130px;
	line-height: 28px;
	height: 28px;
	z-index: 20000;
	top: 0px;
	padding: 0px 0px 0px 7px;
}

	html[dir="rtl"] #elSearch input[type="search"] {
		padding: 0px 7px 0px 0px;
	}


#elSearchWrapper .cSearchSubmit {
	float: right;
	border: 0px;
	background: transparent;
	cursor: pointer;
}

	html[dir="rtl"] #elSearchWrapper .cSearchSubmit {
		float: left;
	}
	
#elSearchWrapper.cSearchExpanded {
}

	html[dir="rtl"] #elSearchWrapper.cSearchExpanded {
		padding: 10px 10px 10px 6px;
		margin: -10px -10px 0px -6px;
	}


#elNavigationSearch {
	float: right;
}

	html[dir="rtl"] #elNavigationSearch {
		float: left;
	}

/* Advanced search box */
#elSearchExpanded .ipsSideMenu_list {
	margin: 0px 0px 15px 0px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 0px 0px 4px 4px;
	font-size: 12px !important;
}

	#elSearchExpanded .ipsSideMenu_list:last-child {
		margin: 0px 0px 5px 0px;
	}

#elSearchExpanded label {
	font-size: 12px !important;
	cursor: pointer;
}

#elSearchExpanded .ipsMenu_title {
	font-weight: bold;
	border-radius: 4px 4px 0px 0px;
	border: 1px solid #ddd;
	background: #e5e5e5;
	padding: 10px;
	margin-bottom: 0px;
	border-bottom: 0px;
}



/* USER NAVIGATION */
#elUserNav {
	position: absolute;
	top: 10px;
	line-height: 36px;
	text-decoration: none;
}

#elFooterSocialLinks {
	line-height: 36px;
	text-decoration: none;
}
	
	#elUserNav .ipsType_medium {
		line-height: inherit;
	}

html[dir="ltr"] #elUserNav{
	right: 20px;
    float: right;
    margin-top: 150px;
}
html[dir="rtl"] #elUserNav{
	left: 20px;
}

	#elUserNav.cSignedOut {
		line-height: 15px;
	}
	
	#elUserNav > li > a, #elFooterSocialLinks > li > a {
		color: #fff;
		font-size: 13px;
		vertical-align: middle;
		line-height: 1;
	}

		#elUserNav > li > a .fa,
		#elUserNav_mobile > li > a .fa,
		#elFooterSocialLinks > li > a .fa {
			font-size: 20px;
		}

		#elUserNav > li > a .fa-caret-down,
		#elUserNav > li > a .fa-plus {
			font-size: 14px;
		}

	.cUserNav_icon a {
		display: block;
		position: relative; /* Needed for notification bubbles */
		color: #fff;
	}

	#elUserNav > li > a#elRegisterButton {
		color: {theme="important_button_font"};
	}

	.elUserNav_sep {
		border-right: 2px solid rgba(255,255,255,0.1);
		height: 36px;
		width: 0;
		display: block;
	}

#cUserLink .ipsUserPhoto {
	padding: 0;
}
html[dir="ltr"] #cUserLink .ipsUserPhoto {
	margin-right: 5px;
}
html[dir="rtl"] #cUserLink .ipsUserPhoto {
	margin-left: 5px;
}

	#cUserLink .ipsUserPhoto img {
		width: 26px;
		height: 26px;
	}

#elUserNav_mobile {
	text-align: center;
	padding: 20px 0;
}

html[dir="ltr"] #cRegisterButton {
	margin-left: 20px;
}
html[dir="rtl"] #cRegisterButton {
	margin-right: 20px;
}

#elCart .ipsNotificationCount {
	left: 10px;
	right: auto;
}

/* FLASH MESSAGE */
#elFlashMessage {
	background: rgba(0,0,0,0.9);
	color: #fff;
	position: fixed;
	width: 600px;
	font-size: 15px;
	border-radius: 4px;
	text-align: center;
}
	#elFlashMessage:not( .ipsPad_half ) {
		padding: 15px;
	}
	
html[dir="ltr"] #elFlashMessage {
	left: 50%;
	margin-left: -300px;
}
html[dir="rtl"] #elFlashMessage {
	right: 50%;
	margin-right: -300px;
}
	
	#elFlashMessage.ipsFlashMsg_top {
		top: 20px;
	}

	#elFlashMessage.ipsFlashMsg_bottom {
		bottom: 20px;
	}

#elFlashMessage [data-action='dismissFlashMessage'] {
	display: none;
}

	#elFlashMessage.ipsFlashMsg_dismissable [data-action='dismissFlashMessage'] {
		display: block;
		position: absolute;
		top: -10px;
		right: -10px;
		border-radius: 30px;
		width: 30px;
		height: 30px;
		line-height: 30px;
		color: #fff;
		background: #000;
		font-family: arial, sans-serif;
		text-align: center;
		font-size: 20px;
		border: 0;
	}

#elFlashMessage a {
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.6);
}
	
#elFlashMessage a:hover {
	color: #fff;
}

/* DRAWERS */
.ipsModal.ipsDrawer_modal {
	background: rgba(30,30,30,0.4);
	overflow: hidden !important;
}

.ipsDrawer, .ipsDrawer_menu, .ipsDrawer_content {
	overflow: auto;
}

.ipsDrawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.ipsDrawer_menu {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 280px;
	background: #11171c;
	box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
}
html[dir="ltr"] .ipsDrawer_menu {
	right: 0;
}
html[dir="rtl"] .ipsDrawer_menu {
	left: 0;
}

	.ipsDrawer_content {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}

.ipsDrawer_close {
	background: #11171c;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	color: #fff;
	text-align: center;
	font-size: 24px;
	display: block;
	position: absolute;
	top: 5px;
	z-index: 2000;
}
	
	html[dir="ltr"] .ipsDrawer_close {
		right: 285px;
	}
	html[dir="rtl"] .ipsDrawer_close {
		left: 285px;
	}

	.ipsDrawer_close > span {
		font-family: arial, sans-serif;
		line-height: 40px;
	}

.ipsDrawer_list {
	width: 100%;
	position: relative;
	list-style: none;
	padding: 0 0 30px 0; /* Add extra padding at bottom to account for iOS issue */
	margin: 0;
}

.ipsDrawer_list > li > a:not( .ipsButton ),
.ipsDrawer_list > li:not( .ipsDrawer_itemParent ) > a:not( .ipsButton ) {
	color: #fff;
	display: block;
	padding: 10px 15px;
	border-bottom: 1px solid #000;
	border-top: 1px solid rgba(255,255,255,0.05);
}

	.ipsDrawer_list > li > a:active {
		background: #000;
	}

	.ipsDrawer_itemParent > .ipsDrawer_list > li > a:not( .ipsButton ) {
		padding: 10px 30px;
	}
	
.ipsDrawer_section {
	color: rgba(255,255,255,0.4);
	font-size: 11px;
	padding: 15px 30px 5px;
	text-transform: uppercase;
}

.ipsDrawer_itemParent > h4 {
	font-weight: normal;
	color: #fff;
	padding: 10px 15px;
	position: relative;
	cursor: pointer;
	margin: 0;
	border-bottom: 1px solid #000;
	border-top: 1px solid rgba(255,255,255,0.05);
}
.ipsDrawer_itemParent > .ipsDrawer_list > .ipsDrawer_itemParent > h4 {
	padding: 10px 30px;
}
	html[dir="ltr"] .ipsDrawer_itemParent > h4:after {
		content: "\f105";
		right: 14px;
	}
	html[dir="rtl"] .ipsDrawer_itemParent > h4:after {
		content: "\f104";
		left: 14px;
	}

	.ipsDrawer_itemParent > h4 > a {
		color: inherit;
		display: block;
	}

.ipsDrawer_list .ipsDrawer_list {
	position: absolute;
	top: 0;
}
html[dir="ltr"] .ipsDrawer_list .ipsDrawer_list {
	left: 100%;
}
html[dir="rtl"] .ipsDrawer_list .ipsDrawer_list {
	right: 100%;
}

.ipsDrawer_list [data-action="back"] a {
	position: relative;
	background: #000;
	color: #a9a9a9;
}
html[dir="ltr"] .ipsDrawer_list [data-action="back"] a {
	padding-left: 30px;
}
html[dir="rtl"] .ipsDrawer_list [data-action="back"] a {
	padding-right: 30px;
}

	html[dir="ltr"] .ipsDrawer_list [data-action="back"] a:before {
		content: "\f104";
		left: 14px;
	}
	html[dir="rtl"] .ipsDrawer_list [data-action="back"] a:before {
		content: "\f105";
		right: 14px;
	}

.ipsDrawer_itemParent > h4:after,			
.ipsDrawer_list [data-action="back"] a:before {
	font-family: "FontAwesome";
	font-size: 20px;
	position: absolute;
	top: 50%;
	margin-top: -10px;
}

.ipsDrawer_listTitle {
	font-size: 14px;
	background: rgba(255,255,255,0.1);
	padding: 10px;
	color: #c8c8c8;
	margin-top: 10px;
}



/* HIGH RES IMAGES */
@media screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	html[dir="ltr"] .ipsApp .ipsStepBar > .ipsStep > a, 
	html[dir="ltr"] .ipsApp .ipsStepBar > .ipsStep > span {
		background-image: url( "{resource="wizard_step_large@2x.png" app="core" location="front"}" );
	}
	html[dir="rtl"] .ipsApp .ipsStepBar > .ipsStep > a, 
	html[dir="rtl"] .ipsApp .ipsStepBar > .ipsStep > span {
		background-image: url( "{resource="wizard_step_large_rtl@2x.png" app="core" location="front"}" );
	}

	html[dir="ltr"] .ipsApp .ipsStepBar > .ipsStep + .ipsStep.ipsStep_active:after {
		background-image: url( "{resource="wizard_step_extra@2x.png" app="core" location="front"}" );
	}
	html[dir="rtl"] .ipsApp .ipsStepBar > .ipsStep + .ipsStep.ipsStep_active:after {
		background-image: url( "{resource="wizard_step_extra_rtl@2x.png" app="core" location="front"}" );
	}

	html[dir="ltr"] .ipsApp .ipsDataItem_subList {
		background-image: url( "{resource="subitem_stem@2x.png" app="core" location="front"}" );
	}
	html[dir="rtl"] .ipsApp .ipsDataItem_subList {
		background-image: url( "{resource="subitem_stem_rtl@2x.png" app="core" location="front"}" );
	}
}

/* Redirector */
.ipsRedirect {
	text-align: center;
}
	.ipsRedirect_loading {
		height: 100px;
	}
	.ipsRedirect_progress {
		margin-bottom: 20px;
	}

.ipsRedirectMessage {
	margin: 50px;
}

.ipsRedirect_manualButton {
	margin-top: 20px;
}

/* Default responsive styles */
/* DESKTOP/DEFAULT */
.ipsResponsive_showDesktop,
.ipsResponsive_showDesktop.ipsResponsive_inline {
	display: inline !important;
}
.ipsResponsive_showDesktop.ipsResponsive_inlineBlock {
	display: inline-block !important;
}
.ipsResponsive_showDesktop.ipsResponsive_block {
	display: block !important;
}

.ipsResponsive_showPhone.ipsResponsive_inline,
.ipsResponsive_showPhone.ipsResponsive_inlineBlock,
.ipsResponsive_showPhone.ipsResponsive_block,
.ipsResponsive_showTablet.ipsResponsive_inline,
.ipsResponsive_showTablet.ipsResponsive_inlineBlock,
.ipsResponsive_showTablet.ipsResponsive_block,
.ipsResponsive_hideDesktop.ipsResponsive_inline,
.ipsResponsive_hideDesktop.ipsResponsive_inlineBlock,
.ipsResponsive_hideDesktop.ipsResponsive_block {
	display: none !important;
}

#elNavLang_menu li button,
#elNavTheme_menu li button {
	text-align: left;
}

#elLicenseKey {
	margin: 0;
	border-radius: 0;
	font-size: 14px;
	padding-right: 40px;
}
	
	#elLicenseKey .ipsList_inline {
		margin-top: 15px;
	}
	
	#elLicenseKey [data-role="closeMessage"] {
		display: inline-block;
		background: rgba(0,0,0,0.6);
		width: 30px;
		height: 30px;
		border-radius: 30px;
		line-height: 28px;
		text-align: center;
		color: #fff;
		border-bottom: 0;
		font-size: 18px;
		position: absolute;
		right: 15px;
		top: 15px;
	}

/* ACP Notification Banners */

.cAcpNotificationBanner {
	color: rgba(255,255,255,0.7);
	min-height: 90px;
}
	
	.cAcpNotificationBanner_error {
		background: #c75050 !important;
	}
	.cAcpNotificationBanner_warning {
		background: #d87c4f !important;
	}
	.cAcpNotificationBanner_information {
		background: #3480bb !important;
	}
	.cAcpNotificationBanner_expire {
		background: #7f858d !important;
	}

	.cAcpNotificationBanner i.cAcpNotificationBanner_mainIcon {
		font-size: 54px;
		line-height: 1;
		color: rgba(255,255,255,0.4);
		text-shadow: none;
	}
	
	.cAcpNotificationBanner h2 {
		margin-top: 5px;
		margin-bottom: 5px;
		font-size: 18px;
		font-weight: 300;
		color: #fff;
		letter-spacing: 0.3px;
	}
	
	.cAcpNotificationBanner .ipsType_richText {
		color: rgba(255,255,255,0.9);
	}
		
	.cAcpNotificationBanner hr.ipsHr {
		border-color: rgba(255,255,255,0.1);
	}
	
	.cAcpNotificationBanner a:not( .ipsButton ):not( .cAcpNotificationBanner_close ) {
		border-bottom: 1px dotted #fff;
		text-decoration: none;
		opacity: 1;
		color: #fff;
	}
	
	.cAcpNotificationBanner_close {
		color: #fff;
		opacity: 0.8;
	}
	.cAcpNotificationBanner_close:hover {
		color: #fff;
	}

/* LICENSE RENEWAL MODAL */

.acpLicenseRenewal {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.acpLicenseRenewal_wrap {
	width: 500px;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0px 5px 35px rgba(69,88,107,0.4);
	position: relative;
	pointer-events: auto;
}

	.acpLicenseRenewal_inner {
		text-align: center;
	}

	.acpLicenseRenewal_wrap .ipsToolList {
		margin-bottom: 0;
	}

.acpLicenseRenewal_content {
	padding: 30px;
}

.acpLicenseRenewal_mainTitle {
	font-size: 28px;
	font-weight: 400;
	text-align: center;
	margin: 0;
}

.acpLicenseRenewal_desc {
	text-align: center;
	font-size: 18px;
	margin-top: 20px;
	opacity: 0.8;
	line-height: 1.5em;
}

#elLicenseRenewal .ipsList_inline {
	margin-top: 15px;
}
