/* common settings */
.content p { margin: 0; }

.content table {
	border-collapse: collapse;
}

.content td {
	border-collapse: collapse;
}

.accessibility { display: none; }

.cleaner{
	clear: both;
	line-height: 0px;
	height: 0px;
	font-size: 0;
}

.cleaner_left{
	clear: left;
	line-height: 0px;
	height: 0px;
	font-size: 0;
}
.note {color: #848b91; }
.linethrough { text-decoration: line-through; }
.gt {text-align: right; }

/* source: http://developer.mozilla.org/en/docs/Consistent_List_Indentation */
.content ul {
	margin-left: 0; padding-left: 15px;
	margin-top: 2px; margin-bottom: 2px;
	list-style-type: square;
}
.content ol {
	margin-left: 0px; padding-left: 20px;
	margin-top: 2px; margin-bottom: 2px;
}
.content li { margin-bottom: 4px; }

.center ul, .center ol {
    list-style-position: inside;
}
.left ul, .left ol {
    list-style-position: outside;
}

img.icon {
	border: 0px;
	vertical-align: middle;
	width: 16px; height: 16px;
	margin: 0px 3px 2px 3px;
}

img.no_border { border: 0px; }

div.message {
	display: inline-block;
	min-width: 250px;
	background-color: #56A5DD;
	color: #fff;
	line-height: 140%;
	margin: 0 0 15px 0;
	/* https://stackoverflow.com/questions/20505008/css-property-to-pad-text-inside-of-div
	*/
	padding: 10px 15px;
    padding-bottom: 6px; /* Overpass font fix */
	-moz-box-sizing: border-box; 
  box-sizing: border-box;	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;	
}

div.message.block {
	display: block;
	width: auto;
}

div.message.warning {	background-color: #F3A547; }
div.message.error {	background-color: #E86058; }
div.message.info {	background-color: #77C94B; }
div.message.tip {	background-color: #0086B9; }
div.message.note {	background-color: #E4E4E4; color: #363636; }

div.message a { color: #fff; }
div.message.note a { color: #00BAFF; }

/* end of: common settings */

/* articles */
h1.category_title, h2.category_title, h3.category_title {
	margin-bottom: 20px;
}
h1.article_title, h2.article_title {
}

div.article_text {
	/* text-align: justify; */
	/* margin-bottom: 6px; */
}
div.article_date {
	color: #6f767b;
	margin-bottom: 3px;
}
div.no_article {
	margin-top: 30px;
	margin-bottom: 30px;
	color: #262626;
}

div.articles_list_wrap {
	text-align: center;
	margin-top: 20px;
}
ul.articles_list {
	display: inline-block;
	margin-top: 3px;
	margin-left: 0; padding-left: 20px;
	margin-top: 0px; margin-bottom: 15px;
	padding-bottom: 5px;
	color: #262626;
	text-align: left;
}

ul.articles_list li {
	margin-bottom: 5px;
}
li.article_select {
}
a.article_select, a.article_select:visited, a.article_select:hover {
	color: #262626;
	font-weight: bold;
	text-decoration: underline;
}
a.article_select:hover {
	color: #262626;
	text-decoration: none;
}

li.article_selected {
	color: #38372D;
}

a.article_selected, a.article_selected:visited, a.article_selected:hover {
	color: #38372D;
	font-weight: bold;
	text-decoration: none;
}
a.article_selected:hover {
	color: #38372D;
	text-decoration: underline;
}
div.divider {
	height: 2px;
	border-bottom: 1px solid #CECECE;
	margin: 5px 0px 15px 0px;
}
/* end of: articles */

/* subcategories */
.subcategories {
	clear:both;
	padding-bottom: 12px;
}

ul.subcat {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

ul.subcat li {
	display: inline;
	padding: 0;
	margin: 0;
}

ul.subcat li a {
	display: inline-block;
	width: 31.33%;
	margin: 0 1% 20px 1%;
	font-size: 19px;
	padding: 0;
	padding-top: 20px;
	padding-bottom: 20px;
    padding-bottom: 15px; /* Overpass font fix */
	float: left;
	border: 0;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	transition:all 0.3s ease 0s;
	color: #fff;
	background-color: #8A8A8A; 
}

ul.subcat li a:hover {
	background-color: #282828;
	color: #fff;
}
	/* subcat responsibility support */
	@media (max-width: 1170px) {
		ul.subcat li a {
			font-size: 18px;
		}
	} /* @media (max-width: 1170px) */

    @media (max-width: 1023px) {
        ul.subcat li a {
            font-size: 16px;
            padding-top: 15px;
            padding-bottom: 15px;
        }
    } /* @media (max-width: 1023px) */

	@media (max-width: 850px) {
		ul.subcat li a {
			width: 48%;
		}		
	} /* @media (max-width: 768px) */
	
	@media (max-width: 420px) {
		ul.subcat li a {
			width: 100%;
			margin: 0 0 10px 0;
		}
	} /* @media (max-width: 420px) */


/* end of: subcategories */

/* end of: navigation */

div.gallery_resp {
	max-width: none;
  margin: 35px 0 10px 0;
} 

div.gallery_resp a {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  border: 0;
  display:block;
  height:260px;
  float:left;
  /* grid-4 */
  width: 24%;
	margin: 0 0.5% 17px 0.5%;
  overflow: hidden;
  transition:all 0.3s ease 0s; 
} 

div.gallery_resp a:hover {
	-webkit-transform:scale(1.06);
	-moz-transform:scale(1.06);
	-ms-transform:scale(1.06);
	-o-transform:scale(1.06);
	transform:scale(1.06);
}

/* gallery responsibility support */
@media (max-width: 1170px) {
	div.gallery_resp a {
		/* grid-3 */
		width: 32.2%;
	}
} /* @media (max-width: 1170px) */
@media (max-width: 899px) {
	div.gallery_resp a {
		/* grid-2 */
		width: 49%;
	}
} /* @media (max-width: 899px) */
@media (max-width: 599px) {
	div.gallery_resp a {
		/* grid-1 */
		width: 100%;
		float: none;
		margin: 0 0 24px 0; 
	}
} /* @media (max-width: 599px) */


/* attachments */
div.attachments {
	margin: 20px 0 10px 0;
}

.attachments_title {
	color: #262626;
	font-weight: bold;
	margin-top: 5px;
	margin-bottom: 2px;
}
div.attachment {
	margin-bottom: 5px;
}
a.attachment_name, a.attachment_name:visited {
	font-weight: bold; 
	text-decoration: underline;
}
a.attachment_name:hover {
	text-decoration: none;
}

.attachment_mimetype  {
	color: #88868A;
}
.attachment_description {
    color: gray;
}
/* end of: attachments */

/* up to parent */
div.up_to_parent {
}

div.up_to_parent_padding {
	width: auto;
	padding: 6px 10px 6px 20px;
}

a.up_to_parent, a.up_to_parent:visited, a.up_to_parent:hover {
	color: gray;
	text-decoration: none;
}

a.up_to_parent:hover{
	text-decoration: underline;
}
/* end of: up to parent */

/* sitemap */
div.link_sitemap {
	margin: 10px;
	margin-left: 30px;
}
a.link_sitemap, a.link_sitemap:visited, a.link_sitemap:hover {
	text-decoration: none;
}
a.link_sitemap:hover {
	text-decoration: underline;
}
table.sitemap {
	width: 100%;
	border-spacing: 0px;
  border-collapse: separate;
	margin-top: 5px;
}

table.sitemap td {
	padding: 4px;
}
tr.sitemap_color_1 td {
}
tr.sitemap_color_2 td { 
}
tr.sitemap_color_3 td { 
}

a.category_sitemap, a.category_sitemap:visited {
	color: #727272;
	font-weight: bold;
	text-decoration: underline;
}
a.category_sitemap:hover {color: #5ECDD4; text-decoration: none;}

a.article_sitemap, a.article_sitemap:visited {
	color: #40423E;
	text-decoration: none;	
}
a.article_sitemap:hover {color: #d22500; text-decoration: underline;}

.category_sitemap_count_articles {
	color: #8C8C8C;
}

div.subcategories_sitemap {
	color: #5d5d5d;
	margin-top: 10px;
	margin-bottom: 10px;
}
.sitemap_tab {
	display: inline-block;
	width: 15px;
}
/* end of: sitemap */

/* forms */
input, textarea { }

.checkbox {
	vertical-align: middle;
}
.radio { }
.label { }

/*
.required {color: #335ca6;}
*/
.required_2 {color: #000091;}
.error {color: #E74843;}
.warning {color: #F3A547;} 
.ok {color: #00BAFF;}
/* end of: forms */

/* pagination */
div.articles_pagination {
	text-align: center;
	margin: 20px 0;
}
div.articles_pagination div.pagination {
	padding: 7px 0; /* IE 7 fix */
}

div.articles_pagination div.pagination .current, div.articles_pagination div.pagination a {
	font-size: 17px;
	font-weight: bold;
	padding: 12px 12px;
}

div.articles_pagination div.pagination .current {
	background-color: #9D9D9D;
	color: #fff;
	margin-right: 1px;
}

div.articles_pagination div.pagination a {
	background-color: #616161;
	color: #fff;
	text-decoration: none;
	margin-right: 1px;
	transition: all 0.5s ease 0s;
}
div.articles_pagination div.pagination a:hover { 
	color: #fff;
	background-image: none;
	background-color: #232323;
	text-decoration: none; 
}
