@charset "utf-8";
:root {
    --primary_color: #3398CC;
    --secondary_color: #1e70a0;
    --highlight_color: #f79939;
    --btn_green: #006D07;
    --btn_red: #C20101;
    --back_grey: #363636;
    --input_border: #cccaca;
}


body {
    font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	color: var(--primary_color);
	font-family: circe-rounded, sans-serif;
    font-weight: 800;
}
a {
    
    color: var(--primary_color);
}
.manx_heading {
    font-family: circe-rounded, sans-serif;
    font-weight: 800;
    border-right: 2px solid var(--highlight_color);
    padding-right: 15px;
    display: inline-block;
    margin-right: 15px;
    color: var(--secondary_color);
}
img.width100 {
	width: 99%!important;
	height: auto!important;
	margin: 0.5%;
}
img.width50 {
	width: 49%!important;
	height: auto!important;
	margin: 0.5%;
}
img.width33 {
	width: 32.333%!important;
	height: auto!important;
	margin: 0.5%;
}
img.width25 {
	width: 24%!important;
	height: auto!important;
	margin: 0.5%;
}
hr {
	clear:both;
	border: none;
}
td.red {background-color: red}
td.bottom_line {border-bottom: 1px solid #000}
td.bottom_top_line {border-bottom: 1px solid #000; border-top: 1px solid #000}
p, li, th, td {
	font-size: 16px;
	font-weight: normal;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	line-height: 150%;
}

li, th, td {
	padding: 0px;
	line-height: normal;
}

div.link_entry {
	padding: 5px;
	border: 1px solid #CCCCCC;
	margin-bottom: 15px;
}
h1 {
    font-size: 32px;
    color: var(--primary_color);
    padding: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
    margin-left: 0px;
    font-weight: 700;
}

h2 {
    font-size: 22px;
    color: var(--primary_color);
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 10px;
    padding: 10px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}



h3 {
	font-size: 18px;
}
h3 a {
	color: var(--primary_color);
	text-decoration: none;
}
h4 {
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 10px;
	padding: 0px;
	font-size: 16px;
}
fieldset {
    border: none;
}
input[type='text'],
input[type='email'],
input[type='tel'],
textarea,
select,
input[type='time'] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid var(--input_border);
    margin-bottom: 5px;
    border-radius: 5px;
}

input[type='text'],
input[type='email'],
input[type='tel'],
select {
    width: 100%;
    vertical-align: middle;
}

textarea {
    height: 120px;
    width: 100%;
}

input[type='time'] {
    width: auto;
}

input[type='checkbox'] {
    height: 30px;
    width: 30px;
    vertical-align: middle;
}

input[type='radio'] {
    height: 30px;
    width: 30px;
    vertical-align: middle;
}


.btn_submit,
.btn_more_details,
.btn,
.btn_more_info,
button {
    display: inline-block;
    background-color: var(--highlight_color);
    padding: 10px 15px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
    border: none;
}
.btn.centre {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 120px;
    text-align: center;
    margin-bottom: 20px;
}
#contact_form {
    max-width: 650px;
}
#contact_form label {
    display: none;
}
p.date {
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	font-size: 18px;
	color:  var(--highlight_color);
}

p.notes {
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	font-size: 11px!important;
	color: #000000;
}
a#rss {
	font-size: 13px;
	font-weight: bold;
	color: #FF9900;
	text-decoration: none;
}
.heading_manx {
    color: var(--primary_color);
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 0px;
    font-size: 36px;
    font-weight: bold;
	font-family: circe-rounded, sans-serif;
}

.heading_manx::after {
    display: block;
    height: 2px;
    width: 80%;
    background-color: var(--highlight_color);
    content: "";
    height: 3px;
    margin-top: -5px;
    max-width: 320px;
}
.heading_english {
    color: var(--secondary_color);
    font-size: 22px;
    width: 100%;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 0px;
    padding-top: 10px;
    margin: 0px;
}

#resource_index {
    margin: 0px;
    padding: 0px;
    width: 100%;
        display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#resource_index li {
    width: 16.666%;
    text-align: center;
    list-style: none;
}


#resource_index li a {
    text-decoration: none;
}
#resource_index li img {
    text-decoration: none;
    width: 90%;
}

#resource_index li a h3 {
    color: #636363;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
}
#listings_categories_index {
    padding: 0px;
    margin-top: 30px;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#listings_categories_index li {
    width: 24%;
    margin: .5%;
    list-style-type: none;
}
#listings_categories_index li a {
    display: block;
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 50px;
    padding-bottom: 5px;
    background-image: url(/images/icon_manx_texts.png);
    background-position: left center;
    background-size: auto 40px;
    background-repeat: no-repeat;
    color: var(--primary_color);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
#col_listings {
    column-count: 3;
}
#listing_list {
    margin: 0px;
}
#listing_list li {
    width: 100%;
    break-inside: avoid-column;
}
#listing_list li a {
    color: #393939;
    padding: 5px;
    text-decoration: none;
    display: block;
}
#resources_list {
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#resources_list li a img {
    width: 100%;
}
#resources_list li a {
    color: #393939;
    text-decoration: none;
    font-weight: bold;
}
#resources_list li {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0px;
    padding: 10px;
    box-sizing: border-box;
    width: 33.333%;
    float: left;
    list-style-type: none;
    text-align: center;
}

@media (max-width: 1080px) {
    #listings_categories_index li {
        width: 32.333%;
    }
    #col_listings {
    column-count: 2;
}
}
@media (max-width: 850px) {

#resource_index li {
    width: 24%;
}

}

@media (max-width: 780px) {

}
@media (max-width: 650px) {

    #col_listings {
    column-count: 1;
}
        #listings_categories_index li {
        width: 49%;
    }
#resource_index li {
    width: 32.333%;
}
}

@media (max-width: 480px) {

	img.width100 {
		width: 99%!important;
		height: auto!important;
	}
	img.width50 {
		width: 99%!important;
		height: auto!important;
	margin: 0.5%;
		clear:both;
	}
	img.width33 {
		width: 99%!important;
		height: auto!important;
	margin: 0.5%;
		clear:both;
	}
	img.width25 {
		width: 49%!important;
		height: auto!important;
		margin: 0.5%;
	}

    #listings_categories_index li {
        width: 99%;
    }
}

@media (max-width: 360px) {
#resource_index li {
    width: 49%;
}
}
