:root {
  --borderWidth: 2px;
  --height: 16px;
  --width: 8px;
  --borderColor: #000000;
}

.rtmap_check {
	display: inline-block;
	transform: rotate(45deg) translate(-5px, 2px);
	height: var(--height);
	width: var(--width);
	border-bottom: var(--borderWidth) solid var(--borderColor);
	border-right: var(--borderWidth) solid var(--borderColor);
}
.chevron {
	cursor: pointer;
}
.chevron::before {
	border-style: solid;
	border-width: var(--borderWidth) var(--borderWidth) 0 0;
	content: '';
	display: inline-block;
	height: 0.45em;
	left: 0.15em;
	position: relative;
	top: 0.15em;
	transform: rotate(-45deg) translate(-10px, 5px);
	vertical-align: top;
	width: 0.45em;
}
.chevron.right:before {
	left: 0;
	transform: rotate(45deg);
}
.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg) translate(10px, -5px);
}
.chevron.left:before {
	left: 0.25em;
	transform: rotate(-135deg);
}

#shortcode-27-3162, #shortcode-280-2281 {
    position: relative;
    display: flex;
    flex-direction: row;
    column-gap: 70px;
    justify-content: flex-end;
    align-items: center;
}
.gmnoprint li {
    position: initial !important;
}
#route_map {
    position: relative;
    width: 77vw;
    height: 73vh;
}
#rtmap_filter{
   	width: 23vw;
    height: fit-content !important;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 2em;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}
#rtmap_filter > span{
    display: block;
}
#rtmap_filter h3 {
    text-transform: uppercase;
    font-weight: bold;
}
#rtmap_filter p {
    line-height: 1.5;
    font-size: 1rem;
}
.rtmap_hidden {
	visibility: hidden;
	height: 0;
}
ul.rtmap_cat_ul_item_holder {
    position: relative;
    margin: 1.5em 0;
    padding: 0;
}
ul.rtmap_cat_ul_ul_item_holder {
    padding-inline-start: 15px;
}
ul.rtmap_cat_ul_item_holder li.rtmap_cat_item_holder {
    display: flex !important;
    flex-direction: column;
    position: relative;
    width: 100%;
    margin: 0 0 5px 0;
    align-items: flex-start;
}
ul.rtmap_cat_ul_ul_item_holder li:first-child {
    margin-top: 10px;
}
li.rtmap_cat_item_holder div.rtmap_cat_contents{
	display: flex;
	flex-direction: row;
	column-gap: 10px;
	align-items: center;
}
li.rtmap_cat_item_holder label{
    position: relative;
    padding: 0px;
    color: #475536;
    cursor: pointer;
    font-family: 'Avenir-Regular';
    font-size: 1.2rem;
}
li.rtmap_cat_item_holder .rtmap_subcat label {
    font-size: 0.95rem;
}
li.rtmap_cat_item_holder input{
    display: none;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.rtmap_icon_holder {
    width: 20px;
	height: 20px;
	cursor: pointer;
}
.rtmap_icon, .rtmap_colour_icon {
    border: 1px solid #dedede;
}
.rtmap_cat_contents img, .rtmap_colour_icon {
	position: absolute;
	opacity: .6;
	width: 20px;
}
.rtmap_colour_icon {
	display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: flex-end;
}
.rtmap_colour_icon .rtmap_check {
	display: none;
}
.rtmap_cat_contents label {
	opacity: .6;
}
.rtmap_cat_contents.select img, .rtmap_cat_contents.select .rtmap_colour_icon {
    border-color: #101010;
    opacity: 1;
}
.rtmap_cat_contents.select .rtmap_colour_icon .rtmap_check {
	display: inherit;
}
.rtmap_cat_contents.select label {
	opacity: 1;
}
.rtmap_cat_contents .rtmap_check {
    /*margin-left: 10px;*/
	cursor: pointer;
}

/* Infowindow */

.rtmap_iw {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
	column-gap: 2px;
}
.rtmap_iw_title {
    font-family: 'Lato';
    font-size: 1rem;
    font-weight: bold;
	text-transform: uppercase;
    color: #475536;
    margin-bottom: 0 !important;
    text-align: left;
	text-wrap: wrap;
    width: 200px;
}
.rtmap_iw_content {
    display: flex;
    flex-direction: row;
	column-gap: 5px;
}
.rtmap_iw_content_vertical {
    flex-direction: column;
}
.rtmap_iw_info_wrap {
    display: flex;
    flex-direction: column;
}
.rtmap_iw_image {
	height: 200px;
    abackground-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.rtmap_iw_image img {
    max-width: 150px;
}
.rtmap_iw_info {
    margin-bottom: 1rem;
	font-family: 'brandon-grotesque';
	line-height: 1.5;
	max-width: 10vw;
    max-height: 9em;
    overflow-y: hidden;	
}
a.rtmap_iw_link {
    display: inline-block;
	width: fit-content;
    color: white;
    background-color: #004B55;
    padding: 0.5rem;
    text-transform: uppercase;
	font-family: 'Lato';
	font-weight: bold;
}
.gm-style-iw-chr {
    position: absolute;
    top: -12px;
    right: -12px;
}
.gm-style-iw-d {
    padding-left: 5px;
    padding-top: 22px;
	padding-bottom: 9px;
}

@media only screen and (max-width: 768px) {
	#shortcode-27-3162, #shortcode-280-2281 {
	    flex-direction: column-reverse;
	    row-gap: 40px;
	    width: 95% !important;
	}
	#rtmap_filter {
	    width: 90%;
	}
	#route_map {
	    width: 90%;
	}
	.rtmap_cat_item_holder {
		padding-bottom: 0 !important;
	}
}

@media only screen and (min-width: 769px) and (max-width: 1180px) {
	#rtmap_filter {
	    width: 300px;
	}
	#route_map {
	    width: calc(100% - 300px);
	}
}

@media only screen and (min-width: 769px) {
	#route_map {
		margin-right: 5%;
	}
}
