body {
	-webkit-overflow-scrolling : touch !important;
    overflow: auto !important;
}

#search-and-compare-countries {
	padding-bottom: 15px;
	margin-bottom: 15px;
}

input[type="text"][name="filter-countries"] {
	margin-bottom: 30px;
	border-radius: 4px;
	border: 0;
	font-size: 20px;
	scroll-margin-top: 40px;
}

input[type="text"][name="filter-countries"]:focus {
	border-color: #029ea5;
}

.country-selection-btn {
	text-transform: uppercase;
	font-weight: bold!important;
	color: #228da4;
	display: inline-block;
	margin-bottom: 10px;
}

.country-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 0;
}

.country-list .no-results {
	padding-bottom: 30px;
	display: none;
}

.country-card {
	position: relative;
	width: calc(20% - 16px);
	padding: 10px;
	background: #fff;
	border-radius: 4px;
}

.country-card.selected {
	box-shadow: 0px 0px 0.5px 1.5px #33a3bb;
}

.country-card:hover {
	cursor: pointer;
}

.country-card span {
	display: flex;
	align-items: center;
	line-height: 1;
}

.country-card span.country-name {
	color: #3e5e78;
	font-weight: 600;
	font-size: 18px;
	word-break: break-word;
}

.country-card .flag {
	position: relative;
	width: 50px;
	height: 50px;
	margin-right: 10px;
	flex: 0 0 50px;
}

.country-card button.compare {
	position: absolute;
	bottom: 4px;
	right: 8px;
	font-size: 14px;
	font-weight: bold;
	color: #3e5e78;
	background: none;
	border: 0;
	padding: 0;
	line-height: 1;
}

.country-card button.compare:hover,
.country-card button.compare:active,
.country-card button.compare:focus {
	background: none;
	color: #0095eb;
	outline: 0;
}

.selected-countries {
	background: #fff;
	border-radius: 4px;
	padding: 14px 12px 10px;
	margin-bottom: 8px;
	min-height: 90px;
	display: flex;
	align-items: center;
}

.selected-countries .selected-countries-list {
	flex: 1;
	width: 100%;
}

.selected-countries .divider {
	width: 1px;
	height: 50px;
	border-right: 1.5px dashed #eaeaea;
	margin: 0 20px;
}

.selected-countries .compare-buttons {
	margin-left: 20px;
}

.selected-countries .clear-all {
	margin-left: auto;
	line-height: 1;
	text-transform: uppercase;
	font-weight: bold;
	color: #3e5e78;
}

.selected-countries .clear-all span {
	font-size: 16px;
	font-weight: normal;
}

.selected-countries .compare-btn {
	padding: 12px 30px!important;
	font-size: 15px!important;
	text-transform: uppercase;
	font-weight: bold;
}

.selected-countries li.country-card {
	position: relative;
	min-width: 180px;
	padding: 8px;
	box-shadow: 0px 1px 2px 1px rgb(0 0 0 / 15%);
}

.selected-countries-list li .remove-country {
	position: absolute;
	right: -8px;
	top: -8px;
	background: #fff;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	color: #33a3bb;
	box-shadow: 0px 0px 1px 2px #33a3bb;
	text-align: center;
	line-height: 20px;
}

.compare-msg {
	visibility: hidden;
	margin-bottom: 8px;
	font-size: 90%;
}

.compare-msg .error {
	color: rgb(150, 14, 14);
}

/**
 * Single Page
 */
.country-page-container {
	display: flex;
}

.category-filters {
	align-self: flex-start;
	width: 250px;
	position: relative;
	margin-right: 30px;
	background: #fff;
	transition: width 0.3s ease-in;
}

.category-filters.condensed {
	width: 50px;
	cursor: pointer;
}

.categories-text-condensed {
	position: absolute;
	top: 60px;
	left: -22px;
	display: inline-block;
	transform: rotate(-90deg);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
	color: #aeaeae;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.category-filters.condensed .categories-text-condensed {
	opacity: 1;
}

.category-filters.condensed > *:not(.categories-text-condensed):not(.condense-btn) {
	opacity: 1;
	transition: opacity 0.15s ease-in-out;
}

.category-filters.condensed > *:not(.categories-text-condensed):not(.condense-btn) {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	pointer-events: none;
}

.category-filters h4 {
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 15px;
	padding: 18px 15px 12px;
	border-bottom: 1px solid #eaeaea;
	margin-bottom: 0;
}

.category-toggle {
	float: right;
	margin-right: 5px;
	font-size: 1.4rem;
	font-size: 22px;
	display: none;
	cursor: pointer;
}

.category-toggle i { 
	transition: color 0.2s ease-in;
}

.category-toggle:hover i {
	color:#228da4;
}

.category-list {
	padding-top: 5px;
}

.category-list.visible {
	padding-top: 8px;
	max-height: 9999px;
}

.category-filters .condense-btn {
	position: absolute;
	top: calc(50% - 18px);
	right: -18px;
	width: 36px;
	height: 36px;
	text-align: center;
	line-height: 40px;
	display: block;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #228da4;
	color: #228da4;
	transition: 0.25s ease-in;
}

.category-filters .condense-btn:hover {
	cursor: pointer;
}

.category-filters.condensed .condense-btn {
	transform: rotate(180deg);
}

.category-filters .input-row {
	display: flex;
	align-items: flex-start;
	padding: 5px 35px 5px 15px;
	width: 250px;
	word-break: break-word;
}

.input-row label {
	display: block;
	position: relative;
	padding-left: 25px;
	margin-bottom: 6px;
	line-height: 20px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.input-row input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.input-row .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 17px;
	width: 17px;
	line-height: 16px;
	text-align: center;
	background: #eaeaea;
}

.input-row .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.input-row .checkmark:after {
	left: 6px;
	top: 1px;
	width: 5px;
	height: 12px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.input-row label input:checked ~ .checkmark {
	background: #2da9c4;
}

.input-row label input:checked ~ .checkmark:after {
	display: block;
}

.country-info-panel {
	background: #fff;
	flex: 1 1 73%;
}

.country-heading {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	border-bottom: 1px solid #eaeaea;
	background: #fff;
	top: 120px; /* has .stick-to-top class */
	z-index: 1;
}

.country-heading > .content-column {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.4;
}

.country-heading img {
	margin-right: 10px;
}

.country-heading h4 {
	margin: 0;
	color: #029ea5;
	font-weight: 600;
}

.compare-table .country-heading {
	padding: 0;
	justify-content: center;
}

.country-heading .content-column {
	padding-top: 10px;
	padding-bottom: 10px;
}

.toggle-row {
	z-index: 0;
	border-bottom: 1px solid #2092ab;
}

.category-title {
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	position: relative;
	background: #037F9A;
	color: #fff;
}

.toggle-row .category-title i {
	color: #fff;
	transition: transform 0.2s ease-in-out;
}

.toggle-row.opened .category-title i {
	transform: rotate(180deg);
}

.content-column {
	padding: 20px 15px;
}

.compare-1-column .content-column {
	flex: 100%;
}

.compare-2-column .content-column {
	width: 50%;
}

.compare-3-column .content-column {
	width: 33.333333%
}

.content-column:last-child {
	margin-right: 0;
}

.compare-table .content-column {
	border-right: 1px solid #eaeaea;
}

.compare-table .content-column:last-child {
	border-right: 0;
}

.category-content {
	max-height: 0;
	margin-top: 0;
	overflow: hidden;
	transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), margin 0.5s ease-in;
}

.category-content ul {
	padding-left: 24px;
}

.toggle-row.opened .category-content {
	max-height: 9999px;
	transition: max-height 1s ease-in-out;
}

.error-messages {
	height: calc(100% - 80px);
	display: none;
}

.error-messages .error {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	font-size: 20px;
	color: #228da4;
}

.error-messages .error i:first-child {
	margin-right: 10px;
}

.select-category {
	display: none;
}

.d-flex {
	display: flex;
}

.fd-column {
	flex-direction: column;
}

.fd-row {
	flex-direction: row;
}

.sac-box {
	border-radius: 2px;
	box-shadow: 0px 0px 2px 1px rgba(87 97 99 / 15%);
}

.stick-to-top {
	position: -webkit-sticky;
    position: sticky;
	top: 120px;
}

.logged-in .stick-to-top {
	top: 140px;
}

@media only screen and (max-width: 992px) {
	.category-filters,
	.category-filters .input-row {
		width: 180px;
	}

	.country-list:not(.selected-countries-list) .country-card {
		width: calc(25% - 16px);
	}
}

@media only screen and (max-width: 910px) {
	.country-page-container {
		flex-direction: column;
	}

	.category-toggle {
		display: block;
	}
	
	.category-filters, 
	.category-filters .input-row{
		width: 100%;
		position: static;
	}

	.category-filters {
		margin-bottom: 30px;
	}

	.category-filters .condense-btn { display: none }

	.category-list {
		padding-top: 0;
		max-height: 0;
		overflow: hidden;
	}
}

@media only screen and (max-width: 768px) {
	.country-list:not(.selected-countries-list) .country-card {
		width: calc(33.333333% - 16px);
	}
}

@media only screen and (max-width: 680px) {
 /* Compare buttons */
}

@media only screen and (max-width: 600px) {
	.country-heading .flag {
		width: 36px;
		height: 36px;
	}

	.country-heading h4 {
		font-size: 17px!important;
	}

	.content-column {
		padding-left: 8px;
		padding-right: 8px;
	}

	.selected-countries .country-list {
		gap: 10px;
	}

	.country-list:not(.selected-countries-list) .country-card {
		width: calc(50% - 16px);
	}
	
	.selected-countries {
		flex-direction: column;
	}

	.country-list.selected-countries-list {

	}

	.country-list.selected-countries-list .country-card {
		width: calc(50% - 8px);
		min-width: 0;
	}

	.compare-buttons {
		margin-top: 20px;
	}
}

@media only screen and (max-width: 444px) {
	.country-heading .flag {
		width: 24px;
		height: 24px;
	}

	.country-heading h4 {
		font-size: 15px!important;
	}
}