/*
	Theme Name: IDM website
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.5
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    zoom:1;
}

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/* OLD STYLES */

/* @group Global */


body
{
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
	font-size: 16px;
	line-height: 20px;
	text-wrap: balance;

	}


div#page
{
	display: block;
	width: 960px;
	border: 1px solid #eee;
	border-top: none;
	margin: 0 auto 0 auto;
}

.pagination .page-numbers{
	margin-right: 3px;
}

div#enews_alert 
{	
position: absolute;
	display: block;
	float:  left;
	margin: 350px 0 0 55px;
}

div#enews_alert h1 {
	display: none;
}

h1
{
	color: black;
	font-size: 24px;
	line-height: 29px;
}

h2
{
	font-family: "Helvetica Neue", sans-serif;
	font-size: 26px;
	line-height: 29px;
	color: #65A43B;
}

h3
{
	font-family: "Helvetica Neue", sans-serif;
	font-size: 1.7rem;
	line-height: 1.2em;
	padding: 0 0 5px 0;
	margin: 15px 0 0;
	color: #000000;
}

h4 {
	font-size: 1.2em;
	line-height: 1em;
	color: rgb(0,0,0);
	margin:10px 0 0 0;
}

.news_content h3{
	margin-top: 2%;
}

h3 a
{
	margin-top: 10px;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 14px;
	line-height: 16px;
	color: #000000;
	text-decoration: none;
}

h3 a:hover
{
	text-decoration: underline;
}

h5 {
	display: block;
	width: 100%;
}

h6
{
	font-family: Helvetica, arial, san-serif;
	font-size: 10px;
	line-height: 12px;
	text-align: center;
	border-top: 1px solid #eee;
	padding: 5px 0 3px 0;
}

p, li, td
{
	font-family: helvetica, arial, san-serif;
	font-size: 13px;
	line-height: 15px;
	text-wrap: pretty;
}
p{
	margin-bottom: 10px;
	line-height: 20px;
	font-weight: 500;
}
p:last-child {
	margin-bottom: 30px;
}
.more 
{
	margin-top: 10px;
	text-align: right;
	color: #006699;
}

p.narrow_text
{
	margin-top: 15px;
	width: 55%;
}
sup {
	font-size: smaller;
	vertical-align: super;
	color: grey;	
}


.publish-date {
	font-size: 0.7em;
	color: #999999;	
}

div.article_content ol li, div.news_content ol li {
	list-style-type: decimal;
	padding:0; 
	margin-left:1em;
}

.wp-block-separator {
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin: 30px 0;
}

a
{
	font-size: 12px;
	color: #006699;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

div.clear 

{
	clear: both;
}



/* BLOCK QUOTE STYLING */

div.page_block
{
	display: block;
	float: left;
	width: 600px;
	margin: 15px 0 0 55px;
}


blockquote.wp-block-quote {
    float: right;
    width:65%;
    margin: 0 -20% 5% 5%;
    padding: 5%;
    background-color: rgb(255,255,255);
    border: 1px solid rgb(237 237 237 / 90%);
    border-left: 10px solid rgb(77,166,223);
}

.wp-block-quote p {
    font-family: roc-grotesk-compressed, sans-serif;
    font-weight: 500;
    font-style: normal;
    color: rgb(77,166,223);
    font-size: 5rem;
    line-height: 1em;
    text-transform: uppercase;
}

.wp-block-quote cite {
    color: rgb(100,100,100);
    font-size: 1.5rem;
    line-height: 1em;
}

/* @end */

/* @group Header */

header.old
{
	display: block;
	position: relative;
	height: 149px;
	background-color: #457740;
	background-image: -webkit-gradient(linear, left top, right bottom, from(#457740), to(#65A43B));
	background-image: -moz-linear-gradient (-45deg, #457740, red);
	position: relative;
	overflow: hidden;
	padding: 0 5%;
}

header.ID2018 {
	background-color: rgb(255,255,255);
	/* max-height: 260px; */
	height: 100%;
}

.logo-2018 {
	max-width: 60%;
	margin-left: 5%;
	padding-left: 5%;
}

div#header a#home
{
	display: block;
	height: 125px;
	width: 310px;
	text-indent: -9999px;
	background: url('../interface/dental_masthead_IE6.gif') no-repeat 55px 25px;
}

.logo-img{
	display: block;
	margin: 26px auto;
}

.top{
	margin-top: 10px;
}
main .row {
	padding: 0 5%;
}
/* @end */

/* @group Navigation */
.head-menu{
	display: inline-block;
	width: 100%;
	position: absolute;
	bottom: 0;
	right: 0;
}

nav
{
	display: block;
	position: absolute;
	/*top: 125px;*/
	/*left: 510px;*/
	bottom: 0;
	width: 100%;
	height: 24px;
	margin: 0 0 0 0;
}

nav.nav2018 {
	display: initial;
	position: relative;
	float: none;
	width:100%;
}

nav ul
{
	/*width: 55%;*/
	float: right;
	list-style: none inside none;
	margin: 0 5% 0 0;
}


nav li
{
	display: block;
	float: left;
	/*width: 95px;*/
	width: 6em;
	height: 24px;
	padding: 0;
	margin: 0 4px 0 0;
	
}

.nav2018 ul{
	border-top: 1px dotted #333333;
	margin: 0 5% 0 5%;
	/*display: inline-block;*/
	padding: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.nav2018 li {
	display: inline-block;
	width: 15%;
}

.nav2018 li a {
	color: rgb(0,113,91);
	font-weight: 800;
    font-family: 'Georgia', 'Times', serif;
    letter-spacing: 1px;
    font-size: 1.2em;
    width: 100%;
    text-align: center;
    height: 44px;
    padding: 20% 5%;
    display:block;
    text-decoration: none;
}

li a:hover, li.current-page-ancestor a, li.menu-item.current_page_item a {
	color: rgb(255,255,255);
	background-color: rgb(0,113,91);
	text-decoration: none;
	/* border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;	 */
}


li#menu-item-12.current_page_item a, .articles li#menu-item-12 a {
	color: rgb(255,255,255);
	background-color: rgb(123,61,106);
}

li#menu-item-13.current_page_item a, .news li#menu-item-13 a  {
	color: rgb(255,255,255);
	background-color: rgb(103,175,110);
}

.articles .articles2018 h2 {
	color: rgb(123,61,106);
}

nav li:last-child{
	margin-right: 0;
}

nav li a
{
	display: block;
	/*width: 96px;*/
	height: 19px;
	margin: 0;
	padding: 5px 0 0 0;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: #ffffff;
	font-size: 12px;
}

nav li a:hover,
nav li a.selected,
div#page.home div#navigation ul#main_navigation li#home a,
div#page.news div#navigation ul#main_navigation li#news a,
div#page.articles div#navigation ul#main_navigation li#articles a,
div#page.details div#navigation ul#main_navigation li#details a
{
	background: #fff;
	color: #333333;
}

nav li a:hover {
	text-decoration: none;
	color: #333333;
}
nav li.current_page_item a{
	background: #fff;
	color: #333333;
}
.header_advert{
	display: none;
}
.header_advert img{
	float: right;
	width:500px;
	max-width: 100%;
	height:70px;
	max-height: 100%;
}

div#breadcrumbs 
{
	clear: both;
	margin: 5px 0 20px 0;
	padding: 5px 0 10px 0px;
	border-bottom: 1px solid #e3e3e3;


}

div#breadcrumbs p
{
	font-size: 12px;
	margin-bottom: 0;
}

/*div#breadcrumbs p.breadcrumb
{
	font-size: 12px;
	font-weight: bold;
}*/

div#breadcrumbs a
{
	font-size: 12px;
	color: #000000;
	font-weight: bold;
}

/* @end */
/* @group Search */
div#search 
{
	display: none;
	position: absolute;
	margin:  -125px 0 0 710px;
	width: 180px;
	padding:2px 10px  2px 10px;
	background: #000;
	border-bottom-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	opacity: 0.3;

}

div#input
{
	float: left;
	margin: 5px 10px 0 0px;
	width: 140px;
	background-color: #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;


}

div#search:hover 
{
	opacity: 1;
}

div#search h2 a
{
	padding: 0 3px 0 3px;
	display: inline;
	margin: 10px 0 0 0;
	font-size: 12px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	}
	
div#search h2 a:hover
{
	color: #000000;
	background-color: #e3e3e3;
	}	
	


/* @end */

/* @group Content */

/* @group articles_page */

.wp-block-group.has-background {
    padding: 2% 5% 5%;
}

/* @group Latest articles */

.dataTables_wrapper{
	margin-top: 1em;
}

div#articles_page
{
	/*position: relative;
	display: inline;
	float: left;
	margin: 15px 10px 10px 55px;*/
	background-color: #e3e3e3;
	/*width:  620px;*/
	padding: 10px 10px 10px 10px;
}

div#articles_page li.article, div#articles_page .article_content
{
	display: inline-block;
	background-color: white;
	width: 100%;
	margin: 10px 0 0 0;
	padding: 10px 10px 10px 10px;
}

article .news_img_caption img{
	float: left;
	padding-right: 10px;
	max-width: 100%;
}

div#articles_page li.article_content
{
	background-color: white;
	/*width: 600px;*/
	margin: 10px 0 0 0;
	padding: 10px 10px 10px 10px;
}

div#articles_page li.article_content p
{
	margin: 0 0 10px 0;
}
/*div.article_content li, div.news_content li {
	list-style: disc inside;
}*/

div#articles_page li.article:hover
{
	background-color: #E9EEE2;
	/*width: 600px;*/
	margin: 10px 0 0 0;
	padding: 10px 10px 10px 10px;
}

#articles_page .article-img img{
	float: right;
	padding-right: 0;
	margin: 10px 0 1em 1em;
	width: 600px;
	max-width: 100%;
	height: auto;

}

#articles_page .article img{
	float: left;
    margin: 0 1em 1em 0;
}

div.article 
{
	display: block;
}

div.article img 
{
	float: left;
	margin: 0 10px 0 0;
	width:100%;
	max-width: 600px;
	height: auto;
}

div.img_caption img
{
	float: left;
	width: 180px;
	margin: 0 10px 0 0;
}

div.article_img_caption img
{
	float: right;
	margin: 0 0px 0 15px;
	border: 1px solid #e3e3e3;
}

div.caption
{
	float: right;
	width: 320px;
	background-color: #e3e3e3;
	border: 1px solid #e3e3e3;
	margin: 3px 0px 10px 15px;
	padding: 10px 10px 20px 10px;
}

div#article_caption {
	float: right;
	width: 322px;
	margin: 3px 0px 10px 14px;
	border: 0 solid #e3e3e3;
	background-color: #729ab4;
	padding: 5px 10px 3px 10px;
	font-size: 10px;
	color: #ffffff;
}

div#articles 
{
	display: block;
	margin: 0 0 0 55px;
}

div#articles a
{
	font-size: 10px;
}

div#articles_page p
{
	margin: 0 0 3% 0;
}

div#articles_page ul
{
	list-style: disc inside;
	margin-bottom: 3px;
}

.tablepress{
	margin-top: 10px;
}
.summary{
	font-weight: bold;
}

#header_advert
{
	display: block;
	position: absolute;
	margin: 10px 0 0 440px;
	width: 500px;
	height: 70px;
	background-color: white;
}

div#button_adverts 
{
	margin: 225px 0 0 55px;
	width:  250px;
	float: left;
	position: absolute;
	}
	
footer 
{
	margin: 10% 0 0 0 ;
	padding: 5% 10%;
	clear: both;
	text-align: left;
	background: rgb(0,113,91);
	color: rgb(255,255,255);
}

footer p{
	margin-bottom: 0;
}

footer a {
	color: rgb(103,175,110);
	font-style: 800;
}
/* @end */



/* @end */

/* @group Homepage News list */

#latest_news h2 {
	margin: 5%;
	color: rgba(6, 176, 106, 1.00);
}

#latest_news
{
	float: right;
	margin-top: 0;
	padding: 10px 10px 10px 10px;
	width: 100%;
	border: 1px solid #e3e3e3;
	background-color: #e3e3e3;
	background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), color-stop(0.1, #e3e3e3), to(#ffffff)) no-repeat;;
	
}

.news_article .article
{
	margin: 0 0 0% 0 ;
	padding: 5%;
}

#latest_news div.last
{
	/* margin: 10px 0 0 0 ; */
	border-bottom: 1px solid #e3e3e3;
}

.view-article, .news_article a, .last a {
	margin-top: 5%;
	font-size: 1rem;
	text-transform: uppercase;
	font-weight: bold;
	display: inline-block; 
	padding: 2% 5%;
	color:rgba(6, 176, 106, 1.00);
	border: 1px solid rgba(6, 176, 106, 1.00);
}

.view-article:hover, .news_article a:hover {
	background-color: rgba(6, 176, 106, 1.00);
	border-radius: none;
	color:rgba(255,255,255, 1.00)
}

.articles .articles2018 .view-article {
    color: rgba(123, 62, 106, 1.00);
    border-color: rgba(123, 62, 106, 1.00);
}

.articles .articles2018 .view-article:hover {
    color: rgba(255,255,255, 1.00);
    background-color: rgba(123, 62, 106, 1.00);
}


.news_article h4 {
	font-size: 1.5rem;
	line-height: 1.2em;
	font-weight: bold;
	color: rgba(6, 176, 106, 1.00);
}

/* @end */

/* @group Homepage article list */
.featured-list li img:nth-child(even){
display: none;
}

div#latest_articles
{
	float: left;
	/*margin: 0 10px 0 10px;*/
	background-color: #e3e3e3;
	/*width:  360px;*/
	padding: 10px 10px 0 10px;
	width: 100%;
}

div#latest_articles .article
{
	background-color: white;
	width: 100%;
	margin: 5% 5%;
	padding: 10px 10px 10px 10px;
	clear: both;
	display: inline-block;
	max-width: 487px;
}

div#latest_articles img
{
	max-width: 487px;
	width: 100%;
	float: left;
	margin: 0 0 10px 0;
}

#latest_articles h2 {
	margin: 5% 5% 0 5%;
}

div#latest_articles h3
{
	margin: 0;
}


div#latest_articles a.more
{
	display: block;
	text-align: left;
	font-size: 1rem;
	text-transform: none;
	margin: 10px 0 0 0;
}

div#header_advert
{
	position: absolute;
	margin: -85px 0 0 440px
	
}

div#button_adverts 
{
	margin: 225px 0 0 55px;
	width:  250px;
	float: left;
	position: absolute;
	}
		
div#footer 
{
	margin: 10px 0 0 0 ;
	padding: 5px 5px 5px 5px;
	clear: both;
	text-align: center;
	background-color: #eee;
}

/* @end */

/* @group Latest issue */

div#idm_latest_issue
{
	position: relative;
	padding: 8%;
	box-sizing: border-box;
	background: rgb(103,175,110);
	color: rgb(255,255,255);
	margin: 0 0 7% 0;
}

#idm_latest_issue h4 {
	color: rgb(255,255,255);
}

div#idm_latest_issue p a
{
	color: rgb(255,255,255);
	font-weight: 800;
	text-decoration: underline;
	margin-bottom: 0;
}

#idm_latest_issue p:last-child {
	margin-bottom: 0;
}

#idm_latest_issue img {
	max-width: 100%;
	border: 2px solid #ffffff;
}

.breadcrumb2018 {
	margin: 2% 0;
	color: rgb(0,113,91);
	font-family: georgia, times, serif;
	border-bottom: 1px dotted #333333;
}

.breadcrumb a {
	color: rgb(0,113,91);
}

.breadcrumb p, p.breadcrumb:last-child {
	margin: 0 0 2% 0;
}

a.link2018 {
	font-weight: 800;
	color: rgb(0,113,91);
}


/* @end */

/* @group Welcome box */
.welcome
{
	position: relative;
	display: inline;
	float:  left;
	/*width:  228px;
	margin: 15px 0 0 55px;*/
	padding:  10px;	
	border: 1px solid #e3e3e3;
}

div#welcome_bruce
{
	display: block;
	position: absolute;
	background: url(img/interface/welcome_bruce.jpg) no-repeat;
	bottom: 0;
	right: 0;
	width: 100px;
	height: 150px;
	z-index: -1; /* should I use z-index??? */
}
.welcome h1
{
	background-color: #ffffff;
	margin-bottom: 25px;

}

.welcome p
{
	margin-right: 40%;

}



/* @end */

/* @group news_page */

/* @group Latest articles */

/*div#news_page
{
	position: relative;
	display: inline;
	float: left;
	margin: 15px 10px 10px 55px;
	width:  620px;
}*/

div#news_page div.article
{
	display: block;
	background-color: #fff;
	width: 600px;
	margin: 10px 0 0 0;
	padding: 10px 10px 10px 10px;
}

div#news_page div.article_content
{
	background-color: #ffffff;
	width: 600px;
	margin: 10px 0 0 0;
	padding: 10px 10px 10px 10px;
}

div#news_page div.article:hover
{
	background-color: #fff3ee;
	width: 600px;
	margin: 10px 0 0 0;
	padding: 10px 10px 10px 10px;
}

div.img_caption img
{
	float: left;
	width: 180px;
	margin: 0 10px 0 0;
}

div.article_img_caption img
{
	float: right;
	width: 340px;
	margin: 0 0px 0 15px;
}

div#news_page_page h2
{
	padding: 0px 0 0 10px;
}


div#news_page_page h3
{
	display: inline;
	margin: 10px 0 0 0;
}

div#articles a
{
	font-size: 10px;
}

div#button_adverts 
{
	margin: 225px 0 0 55px;
	width:  250px;
	float: left;
	position: absolute;
	}

div#footer 
{
	margin: 10px 0 0 0 ;
	padding: 5px 5px 5px 5px;
	clear: both;
	text-align: center;
	background-color: #eee;
}

/* @end */



/* @end */

/* @end */

/* @group News_listings */

/*div#news
{
	display: block;
	float: left;
	margin: 0 0 0 55px;
	width: 600px;
}*/

div#news h2
{
	margin: 0 0 10px 0;
}

div#news li.article
{
	display: inline-block;
	margin: -1px 0 0 0;
	padding: 10px 10px 10px 10px;
	border: 1px solid #e3e3e3;
	border-left:  none;
	border-right: none;
	width: 100%;
}


div#news li.article img
{
	padding-bottom: 10px;
}

div#news li.article:hover
{
	background-color: #E9EEE2;
}

.news-list li {
	display: inline-block;
	clear: both;
}

.news-list img {
	float: left;
	margin: 0 5% 0 0;
}

div.news_img_caption img
{
	float: left;
	margin: 0 10px 20px 0;
}

div.img_caption img
{
	width: 180px;
	margin: 0 10px 0 0;
}

div.article_img_caption
{
	float: right;
	width: 342px;
	margin: 0 0px 0 10px;
	overflow: hidden;
	/*	border: 1px solid #e3e3e3; */
}


img.size-full {
	max-width: 100%
}
.img-caption{
	display: block;
	float: left;
	clear: left;
	max-width: 306px;
}

div.article_img_caption img {
	border: 1px solid #e3e3e3;
}

div#article_caption {
	float: right;
	width: 322px;
	margin: 3px 0px 00px 14px;
	border: 0 solid #e3e3e3;
	background-color: #729ab4;
	padding: 5px 10px 3px 10px;
	font-size: 10px;
	color: #ffffff;
}
 
div.caption p {
	color: #ffffff;
	font: bold 10px "Lucida Grande", Lucida, Verdana, sans-serif;

}

div.caption a {
	font:  bold;
	font-size: 10px;
	color: #d5d8df;
	text-decoration: underline;
}

div#news_caption {
	float: left;
	width: 322px;
	margin: 3px 10px 10px 0px;
	border: 0 solid #e3e3e3;
	background-color: #729ab4;
	padding: 3px 10px 12px 10px;
	font-size: 10px;
	color: #ffffff;
}

div.img_caption img
{
	float: left;
	width: 180px;
	margin: 0 10px 0 0;
}

div.article_img_caption img
{
	float: right;
	width: 340px;
	margin: 0 0px 0 15px;
}
.news_img_caption {
	float: left;
	margin:0 10px 10px 0;
}

.article-img {
	float: right;
	margin:0 0 10px 10px;
	width:100%;
	max-width: 600px;
	height: auto;
}

.img-caption-right{
	display: block;
	clear: right;
	float: none;
	margin-left: 1em;
	max-width: 340px;
}

.img-caption-right, .img-caption{
	color: #000;
	font-weight: 600;
}

.news_img_caption a:hover, .article-img a:hover{
	text-decoration: none;
}

div.news_img_caption img {
	float: left;
	margin: 0 10px 10px 0;
}

div#news_categories
{
	position: relative;
	float: right;
	margin: 15px 55px 0px 0px;
	width: 176px;
	height: 145px;
	padding: 10px 10px 10px 10px;
	border: 1px solid #e3e3e3;
}

div#archive_news
{
	margin: 10px 0;
	padding: 10px 10px 10px 10px;
	width: 100%;
	border: 1px solid #e3e3e3;
	background-color: #e3e3e3;
	background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), color-stop(0.1, #e3e3e3), to(#ffffff)) no-repeat;
	
}

ul.news_archive_list
{
	padding: 5px 0px 0px 0px;

}

div.news_content p
{
	margin: 10px 0 0 0;

}

.news_content ul {
    list-style: disc outside;
    margin-left: 1em;
    margin-top: 10px;
}

.date {
    text-transform: uppercase;
    margin: 5% 0 0;
    color: rgb(0,113,91);
    font-weight: 700;
    font-size: 1.5rem;
    }

.diary-dates h4 {
	font-size: 2rem;
	line-height: 2.7rem;
	margin: 0 0 2% 0;
}


/* @end */

/* @group Page block styles */

/*div.page_block */
div.sub_content
{
	width: 100%;
	padding: 10px 10px 10px 10px;
	border: 1px solid #e3e3e3;
	background-color: #eeeeee;
}

div.clear {
	display: block;
	width:  100%;
	clear:  both;
}

/* @end */

/* @group Medical figures */

#figs {
	clear: both;
	height: 164px;
	display: block;
	position: relative;
	}
	
#figs img {
	border: 2px solid #e3e3e3;
}

#figs .fig_caption {
	display: block;
	width: 160px;
	height: 25px;
	background-color: #b3d5e8;
	position: absolute;
	padding: 3px 3px 3px 3px;
	opacity: .9;
	left: 4px;
	bottom: 2px;
}
.fig_caption h6 {
	padding: 2px 2px 2px 2px;
	display: inline;
	text-align: left;
	color: #000000;
	text-transform: uppercase;
	font-size: 9pt;
	font-weight: bold;
}

.fig_caption p{
	display: inline;
	color: #000000;
	font-size: 9pt;
}

/* @end */

/* OLD STYLEs END */

#gallery-1 .gallery-caption{
clear:both;
}


.sidebar-advert {
	max-width: 220px;
	width: 100%;
	display: inline-block;
}



.sidebar-advert img {
	max-width: 100%;
}

.sidebar-advert .sam-pro-place {
	border: 1px solid #eeeeee;
	/*margin: 10% 0;*/
}

.irela-widget {
	margin: 5% 0;
}


.irela-widget img {
	border:1px solid #F0F0F0;
    max-width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar-filler-ad {
	padding: 10%;
	max-width: 100%;
	width: 300px;
	min-height: 220px;
	height: 220px;
	margin-bottom:5px;
}

/*Make sidebar ads max column width */
.irede-widget img {
    max-width: 100%;
    height: auto;
}

/* GREENS
.filler-1 {
	background: #497E36;
}
.filler-2 {
	background: #538E35;
}
.filler-3 {
	background: #4E8636;
}
.filler-4 {
	background: #537C45;

}*/


/*GREY*/
.filler-1 {
	background: #b2b2b2;
}
.filler-2 {
	background: #c5c5c5;
}
.filler-3 {
	background: #d5d5d4;
}
.filler-4 {
	background: #e4e4e4;

}

.sidebar-filler-ad p {
	margin: 0;
	font-size: 1.5rem;
	line-height: 2rem;
	/*color: rgb(255,255,255);*/
	color: rgb(0,0,0);
}

.sidebar-filler-ad a {
	/*color: rgb(255,255,255);*/
	color: rgb(0,0,0);
	font-weight: 800;
	font-size: 1em;
}

.sidebar-filler-ad h3 {
	font-size: 3rem;
	line-height: 3.2rem;
	/*color: rgb(255,255,255);*/
	color: rgb(0,0,0);
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) and (max-width:550px){
.article-img{
	display: inline-block;
	float: none;
	margin:0 0 10px 0;
}
#articles_page .article_content img{
	float: none;
	padding-right: 0;
	margin: 0 0 1em 0;
	width: 100%;
	display: block;
}
div.news_img_caption img{
	width: 100%;
}
.sub_content, .sub_content iframe{
	width: 320px !important;
}
.head-menu{
	width: 95%;
	position: absolute;
	bottom: 0;
	right: 0;
}

.nav2018 li {
	width: 25%;
}
.nav2018 li a {
	display: block;
	width:100%;
	font-size: 1rem;
}


/*nav{
	width: 100%;
	display: block;
	position: relative;
	top: 0;
	left: 0;
}
nav ul{
	width: 100%;
	float: none;
}
nav li{
	display: block;
	float: left;
	width: 18%;
}
nav li a{
	font-size: 11px;
}*/
.logo-img{
	margin:2em auto 4em auto;
}
header{
	height: auto;
}
	.container {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.header_advert{
		display: none;
		max-width: 96%;
		margin: 0 2% 20% 2%;
	}
	.header_advert img {
		max-width: 100%;
		margin: 0;
		width:500px;
		height: 70px;
	}

	.logo img {
		margin: 5% auto;
	}
	
	.head-menu {
		position: relative;
		width: 100%;
		margin: 0 0 5% 0;
	}
	.menu-item {
	    width: 46%;
	    height: 44px;
	    vertical-align: middle;
	    margin: 0 2% 2% 2%;
	    border-radius: 0;
	}
	
	.menu-item a {
		margin: 8% 0 4% 0;
		font-size: 14px;
	}

	div#latest_articles h2 {
		margin: 3% 0;
	}
	div#latest_articles .article {
		margin: 3% 0;
	}

	blockquote.wp-block-quote {
		width: 112%;
		margin: 5% 0 5% -6%;
		padding: 5%;
		float: none;
		border-right: 10px solid rgb(77,166,223);
	}
}
@media only screen and (min-width:550px) {
	header {
		height: 180px;
	}

	header.ID2018 {
		/* min-height: 260px; */
		height: 100%;
	}

	.logo {
		margin: 0 0 10% 0;
	}
	
	nav, nav ul{
		float: right;
		width: 91%;
		position: relative;
	}
	nav li{
		width: 15%;
	}

	.header_advert {
		display: inline-block;
		width: 100%;
		max-width: 500px;
		margin: 6% 5%;
	}

	.header_advert img {
		margin-top: 0;
		width: 100%;
		max-width: 500px;
		height: auto;
		max-height: 70px;
	}

}
@media only screen and (min-width:1024px) {
	.header_advert {
		margin: 6% 0;
	}

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
