#overlay {
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.4);
	width: 100%;
	height: 100%;
	z-index: 7000;
	display: none;
}

#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	position: fixed;
	top: 50%;
	left: 50%;
	background-color: #ffffff;
	z-index: 7001;
	overflow: hidden;
	/* resize: both; */
	box-shadow: #000000 0px 0px 20px -4px;
	border-radius: 10px;
	border-style: solid;
	border-width: 6px;
	border-color: #1a2f52;
	display: none;
}

a#pricesPopupClose {
	position: absolute;
	right: 10px;
	top: 10px;
	display: block;
	position: absolute;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	font-size: 36px;
	text-decoration: none;
	color: #1a2f52;
}


/* Popup packages comparison */ 
/* (!) This section must currently be before common section */

#pricesPopupPackagesContainer {
	height: 700px !important;
	min-height: 700px !important;
	max-height: 700px !important;
}
div#tableContainer {
	height: calc(100% - 1em - 2.5rem - 25px - 15px);
	margin-top: 1.5rem;
	position: relative;
}
div#scrollingContainer {
	/* width: calc(100% - 250px); */
	height: 100%;
	/* margin-left: 250px; */
	margin-left: 0;
	clear: both;
    overflow-x:scroll;  
    overflow-y:visible;
	overscroll-behavior: none;
	padding-bottom: 3px;
}
div#stackingContainer {
	/* width: 1710px; */
	/* flex-direction: row; */
    width: auto;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    height: inherit;
    flex-wrap: wrap;
}
div#stackingContainer #whitespace {
	width: 150px;
	float: left;
	box-sizing: border-box;
	line-height: 14px;
}
#pricesPopupPackagesContainer table {
	width: 90%;
	max-width: 90%;
	min-width: 950px;
	float: left;
	table-layout: fixed;
}
#pricesPopupPackagesContainer th {
	cursor: default;
	background: #003363;
	width: 120px;
	font-size: 14px;
	color: #ffffff;
	font-weight: bold;
	padding: 15px;
	border-left: none;
	border-right:  solid 2px #ffffff;
	border-top:  none;
	border-bottom:  solid 2px #ffffff;
}
#pricesPopupPackagesContainer th a.explenationLink,
#pricesPopupPackagesContainer th a.explenationLink2 {
	font-size: 11px;
	font-weight: normal;
	color: #ffffff;
	text-decoration: underline;
}
#pricesPopupPackagesContainer th a.explenationLink:hover,
#pricesPopupPackagesContainer th a.explenationLink2:hover {
	text-decoration: none;
}
#pricesPopupPackagesContainer th.empty {
	background: #ffffff !important;
}
#pricesPopupPackagesContainer th.leftHeader {
	background: #2678bc;
	width: 14em;
	min-width: 14em;
	/* position: absolute; */
	position: sticky;
	left:0;
	top:auto;
	margin-top:1px; /*compensate for border*/
	font-size: 14px;
	line-height: 14px;
	color: #ffffff;
	font-weight: normal;
	border-left: none;
}
@media (max-width: 1000px) {
div#scrollingContainer {
	width: 100%;
	margin-left: 0px;
}
#pricesPopupPackagesContainer th.leftHeader {
	position: unset;
} }
@media (max-width: 370px) {
#pricesPopupPackagesContainer {
	zoom: 0.85 !important;
} }
@media (max-height: 700px) {
#pricesPopupPackagesContainer {
	zoom: 0.58 !important;
} }
@media (max-height: 400px) {
#pricesPopupPackagesContainer {
	zoom: 0.5 !important;
} }
#pricesPopupPackagesContainer th.leftHeader.empty {
	height: auto;
}
#pricesPopupPackagesContainer th.leftHeader span.order {
	float: right;
	display: inline-block;
	visibility: hidden;
}
#pricesPopupPackagesContainer th.leftHeader span.order a {
	font-size: 14px;
	line-height: 14px;
	color: #ffffff;
	font-weight: bold;
	text-decoration: underline;
}
#pricesPopupPackagesContainer th.leftHeader span.order a:hover {
	text-decoration: none;
}
#pricesPopupPackagesContainer td {
	cursor: default;
	width: 120px;
	min-width:120px;
	font-size: 14px;
	line-height: 14px;
	padding: 15px;
	border-left: none;
	border-right:  solid 2px #eeeeee;
	border-top:  none;
	border-bottom:  solid 2px #eeeeee;
}
#pricesPopupPackagesContainer td a {
	color: #4e6172;
	font-size: 13px;
	text-decoration: underline;
}
#pricesPopupPackagesContainer td.colspan {
	width: 600px;
	min-width: 600px;
}
#pricesPopupPackagesContainer div.explenation {
	column-width: 20rem;
    column-gap: 3rem;
    width: auto;
    height: 100%;
    padding-left: 60px;
	padding-bottom: 1rem;
}
#pricesPopupPackagesContainer div.explenation .ifnsubp {
/* #pricesPopupPackagesContainer div.explenation :nth-child(1 of .ifnsubp), */
/* #pricesPopupPackagesContainer div.explenation :nth-child(2 of .ifnsubp), */
/* #pricesPopupPackagesContainer div.explenation :nth-child(3 of .ifnsubp), */
/* #pricesPopupPackagesContainer div.explenation :nth-child(4 of .ifnsubp) { */
	break-inside: avoid;
}
#pricesPopupPackagesContainer div.explenation p {
	/* font-size: 12px; */
	font-size: 0.82em;
	line-height: 1.66em;
	margin: 0 0 12px 0;
	text-align: justify;
}
#pricesPopupPackagesContainer div.explenation p:last-of-type {
	margin: 0 !important;
}
#pricesPopupPackagesContainer div.explenation h2 {
	/* font-size: 16px; */
	font-size: 1.75em;
	margin: 0 0 12px 0;
	color: #003363;
}
#pricesPopupPackagesContainer div.explenation h3 {
	/* font-size: 14px; */
	font-size: 1.33em;
	margin: 0 0 7px 0;
	color: #003363;
}
#pricesPopupPackagesContainer table tbody tr:first-child td {
	background: #f8f8f8;
	font-weight: normal;
}
#pricesPopupPackagesContainer tbody tr.selected td {
	background: #f7ab31 !important;
	font-weight: bold !important;
}
#pricesPopupPackagesContainer tbody tr:hover td,
#pricesPopupPackagesContainer tbody tr:focus td,
#pricesPopupPackagesContainer tbody tr:active td {
	background: #91d74d !important;
}
#pricesPopupPackagesContainer tbody tr:hover th.leftHeader span.order,
#pricesPopupPackagesContainer tbody tr:focus th.leftHeader span.order,
#pricesPopupPackagesContainer tbody tr:active th.leftHeader span.order {
	visibility: visible;
}


/* Common popup attributes */

#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
	position: fixed;
	top: 50%;
	left: 50%;
	padding: 50px 25px 25px 50px;	
	margin: 0 !important;
	transform: translate(-50%, -50%);
	height: 80% !important;
	max-height: 1600px;
	width: 60% !important;
	max-width: 1250px;
	min-width: 20rem;
}
#pricesPopupPackagesContainer {
	width: 75% !important;	
}
@media (max-width: 1650px) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	width: 68% !important;
} }
@media (max-width: 1450px) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	width: 75% !important;
} }
@media (max-width: 1250px) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	width: 85% !important;
} }
@media (max-width: 950px) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	padding: 2.5rem 1.5rem 1.5rem 2rem;
	width: calc(100% - 5rem) !important;
	height: calc(100% - 5rem) !important;
} }
@media (max-width: 730px) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	width: calc(100% - 1rem) !important;
	height: calc(100% - 1rem) !important;
} }
@media (max-width: 512px) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	padding: 2.5rem 1rem 1rem 1.75rem;
} }
@media (max-height: 768px) and (min-width: 950px ) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	zoom: 0.92;
} }
@media (max-height: 640px) {
#pricesPopupPackagesContainer,
#pricesPopupSystemsContainer {
	zoom: 0.9;
	height: calc(100% - 2rem) !important;
	padding: 1.5rem 1rem 1rem 1.75rem;
} 
#pricesPopupPackagesContainer h1,
#pricesPopupSystemsH1Container h1 {
	margin-bottom: 0.66rem !important;
}
#casteoComparison tr:first-child {
	top: -0.5rem !important;
}
#casteoComparison tr:first-child > * {
	padding-top: 1.5rem;
	padding-bottom: 0.33rem;
} 
#casteoComparison tr:first-child p {
	margin-bottom: 0.33rem !important;
} }


/* Popup systems comparison */

#pricesPopupSystemsH1Container {
	height: auto;
	width: 100%;
}
#pricesPopupPackagesContainer h1,
#pricesPopupSystemsContainer h1 {
	font-size: 2.1em;
	/* font-weight: lighter; */
	text-align: left;
	color: #232323;
	vertical-align: middle;
	padding: 0 !important;
	padding-right: 35px !important;
	margin-top: 0 !important;
	margin-bottom: 0.25em !important;
}
#pricesPopupPackagesContainer p,
#pricesPopupSystemsContainer p {
    margin-top: 0.66em;
    margin-bottom: 1.75em;
}
#pricesPopupPackagesContainer p:first-child,
#pricesPopupSystemsContainer p:first-child {
    margin-top: 0.25em;
    margin-bottom: 1.25em;
}
#pricesPopupSystemsScrolling {
	width: 100%;
	height: 100% !important;
	height: -webkit-fill-available !important;
	height: fill-available !important;
    overflow-y: scroll; 
    overflow-x: auto;
	padding-right: 10px;
}
#pricesPopupSystemsScrolling > * {
	width: 100% !important;
}
.casteoComparison {
	width: 100%;
	min-width: 500px !important;
	table-layout: fixed;
	border: none !important;
	border-collapse: collapse;
}
.casteoComparison, .casteoComparison tr, .casteoComparison td {
	background-color: #fafafa !important;
	border: none !important;
	border-collapse: collapse;
}
#casteoComparison tr:first-child {
	position: sticky;
	top: 0;
	z-index: 99999;
}
#casteoComparison #floatingHeader {
	display: none;
}
.casteoComparison .line {
	width: 100%;
	height: 1px !important;
	background-color: #323c5a !important;
	padding: 0;
}
.casteoComparison .stars {
	background-image: url(/home/wp-ifnchr/features/common/images/stars.png);
	background-repeat: no-repeat;
	width: 97px;
	height: 25px;
	margin-bottom: 1rem;
	margin-top: 0;
	transform: translatey(0.25em);
}
.casteoComparison .stars.num1 {
	width: 18px;
}
.casteoComparison .stars.num2 {
	width: 38px;
}
.casteoComparison .stars.num3 {
	width: 58px;
}
.casteoComparison .stars.num4 {
	width: 78px;
}
.casteoComparison .stars.num5 {
	width: 97px;
}
.casteoComparison .dash {
	color: #003363;
	height: 25px;
	margin-bottom: 1rem;
	margin-top: 0;
	font-size: 1.5em;
	transform: translatey(-0.2em);	
}
.casteoComparison strong {
	font-style: normal;
}
.casteoComparison p {
	text-align: left;
	color: #003363;
	font-size: 0.85em;
	margin-bottom: 0.5rem !important;
	padding: 0;
}
.casteoComparison p:first-child {
	margin-top: 0 !important;
    margin-bottom: 1rem !important;
    min-height: 25px;
}
.casteoComparison p.title {
	font-weight: bold;
	color: #474747;
	padding: 0;
}
.casteoComparison th p {
	font-size: 0.75em;
	line-height: 1em;
	color: #ffffff;
	font-weight: bold;
}
.casteoComparison th p.title {
	font-size: 1em;
	line-height: 1.25em;
	color: #ffffff;
}
.casteoComparison td,
.casteoComparison th {
	vertical-align: top;
	text-align: left;
	font-weight: normal;
	width: 100%;
	padding: 20px 10px 20px 10px;
}
.casteoComparison th {
	background-color: #003363;
	padding: 30px 10px 15px 10px;
}