html {
	margin: 0px;
	padding: 0px;
}
body {
	margin: 0px;
	padding: 0px;
	font-family: OpenSans, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	line-height: 1.5;
	background-color: white;
	color: black;
}
a {
	color: #0461ae;
}
a:hover {
	color: black;
	text-decoration: underline;
}



/* max layout width */
.mlw {
	width: 95%;
	max-width: 1000px;
	margin: 0px auto;
}

/* max layout width -- INSIDE VIEWS-ROW */

/*.view-mlw-rows .views-row .node-teaser,
.view-mlw-rows .view-header, -- CURRENTLY NOT USED */
.view-mlw-content .view-wrapper,
.block-mlw .content,
.block-mlw > h2 {
	width: 95%;
	max-width: 1000px;
	margin: 0px auto;
	padding: 1px 0;
} 


/* Customized views */
.view-striped-rows .views-row-even {
	background: #f3f3f3;
}
.view-featured-articles { /* homepage block */
	background: #f3f3f3;
	padding: 1em 0;
}




#header {
	background: #000108 url(../images/header_bg.jpg) center top no-repeat;
}
#header-title {
	padding: 2em 0;
	color: white;
}
#header-lang {
	min-height: 1.5em;
	float: right;
	font-size: 0.9em;
}
#header-lang a {
  color: #60acb4 !important;
  text-decoration: none;
  margin: 0;
  padding: 0 0.5em;
  //border-right: 1px solid #60acb4;
}
#header-lang a:last-child {
  border-right: 0;
}

#header-logo-symbol {
	float: left;
	margin: 0 3em 0 0;
}
#header-logo-text {
	float: left;
	margin: 1.5em 0 0 0;
}
#site-name {
	font-family: OpenSansLight, Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	text-transform: uppercase;
	margin: .5em 0 0 0;
}
#site-slogan {
	color: #60acb4;
}
#header-menu {
	color: white;
}
#header-menu .content ul, #header-menu .content  li {
	display: inline;
	margin: 0;
	padding: 0;
}
#header-menu .content ul {
	display: table;
	wwidth: 100%;
}
#header-menu .content  li {
	display: table-cell;
	text-align: center;
}
#header-menu .content a {
	display: block;
	padding: .3em 2em;
	ffloat: left;
	color: white;
	font-family: OpenSansLight, Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	text-decoration: none;
}
#header-menu .content a.active, #header-menu a.active-trail {
	background-color: rgba(0,0,0,0.12);
}
#header-menu .content a:hover,
#header-menu .content a.hover {
	background-color: rgba(0,0,0,0.24);
	color: white;
}
#header-menu-bottom {
	height: 1em;
	background-color: rgba(0,0,0,0.12);
}
.header-menu-bottom-hover {
	background-color: rgba(0,0,0,0.24) !important;
}


/* megamenu */
#header-megamenu {
	position:relative;
	top: -1em;
}
#header-megamenu .dropdown {
	-webkit-box-shadow: 0px 16px 20px 0px rgba(50, 50, 50, 0.35);
	-moz-box-shadow: 0px 16px 20px 0px rgba(50, 50, 50, 0.35);
	box-shadow: 0px 16px 20px 0px rgba(50, 50, 50, 0.35);
	display:none;
	position: absolute;
	z-index: 1001;
	width: 100%;
	color: #0461AE;
}
#header-megamenu .dropdown .stripe {
	height: 1em;
	color:#007A82
}
#header-megamenu .dropdown .inner {
	background: white;
	min-height: 20em;
}
#megamenu-overlay {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 1em;
	left: 0;
	overflow: hidden;
	z-index: 1000;
	background:  rgba(50, 50, 50, 0.30); /* modra: rgba(4, 97, 174, 0.16), zelenomodra: 0, 122, 130, */
	display:none;
	height: 2000px;
}


.megamenu_block {
	float: left;
	margin-right: 4%;
	line-height: 1.3em;
	Xmin-width: 17%;
	Xmax-width: 30%;
}
.megamenu_block a {
	text-decoration: none;
}
.megamenu_block a:hover {
	color: black;
}
.megamenu_level1 {
	margin-bottom: .7em;
	line-height: 1.3em;
	min-height: 2.6em;
	color: #595959;
}
.megamenu_level1 span.nolink:after {
	content: ":";
}
.megamenu_level1 a {
	background: #007A82;
	text-transform: uppercase;
	padding: .7em 1em;
	display: block;
	font-weight: bold;
	font-size: 1.1em;
	color: white;
	text-align: center;
	margin-right: 1em;
}
.megamenu_level1 a:hover {
	background: #60ACB4;
	color: white;
}
.megamenu_sep {
	height: .7em;
}
.megamenu_level2 {
	margin: .3em 0;
	position: relative;
}
.megamenu_level2 a {
	padding-left: .7em;
	display: block;
	font-weight: bold;
}
.megamenu_level2:before{
	content: "›"; 
	position: absolute;
	color: #A2A2A2;
	left: 0;
	top: 0;
}


















#breadcrumb {
	background: #F3F3F3;
	padding: 0;
	font-family: OpenSansLight, Arial, Helvetica, sans-serif;
	padding: .7em 0 .6em;
	color: #595959;
}
#breadcrumb  a {
	text-decoration: none;
}
#breadcrumb  a:hover {
	text-decoration: underline;
}

.admin-bar {
	background: #F3F3F3;
	padding-top: 1px;
	padding-bottom: 1px;
}


#main .section {
	padding: 3em 0;
	min-height: 30em;
}


/*
#content {
	overflow: hidden;
}
#sidebar-left { 
	width: 25%;
	float: left;
	margin-right: 8%;
}
#sidebar-right { 
	width: 33%;
	max-width: 300px;
	margin-left: 8%;
	float: right;
}
#sidebar-right .block {
	margin-bottom: 4em;
}
#sidebar-right .block .views-row {
	margin: 1em 0;
	border-bottom: 1px solid #f3f3f3;
	padding-bottom: 1em;
}
*/


#footer {
	background: #000108 url(../images/footer_bg.jpg) center top no-repeat;
	mmargin-top: 3em;
	color: white;
	padding: 1em 0;
}
#footer a {
	color: white;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer .block {
	margin: 3em 0;
}

.footer-block {
	width: 27%;
	padding-right: 6.3%;
	float: left;
}
.footer-block h2 {
	color: #60ACB4 !important;
	margin-bottom: 1.5em;
}
.footer-block .content {
	font-size: 1.15em;
}

.menu-name-menu-quick-links ul.menu,
.menu-name-menu-quick-links ul.menu li {
	padding: 0;
	margin: 0;
	display: block;
	position: relative;
}
.menu-name-menu-quick-links ul.menu li {
	padding-left: 1em;
}
.menu-name-menu-quick-links a:before {
	content: "›";
	position: absolute;
	left: 0;
	top: 0;
}
.menu-name-menu-social-icons ul.menu, 
.menu-name-menu-social-icons ul.menu li {
	padding: 0;
	margin: 0;
	display: inline;
}
a.soc-ico {
	background-image: url('../images/soc-ico.png');
	height:36px;
	width: 36px;
	text-indent: -9999px;
	overflow:hidden;
	display: inline-block;
	margin: 0 .8em 0 0;
}
a.soc-ico:hover {
	background-image: url('../images/soc-ico-hover.png');
}
.soc-ico-twitter 	{}
.soc-ico-facebook 	{ background-position: -36px top }
.soc-ico-gplus 		{ background-position: -72px top }
.soc-ico-youtube 	{ background-position: -108px top }
.soc-ico-rss 		{ background-position: -144px top }

.footer-copy {
	clear: both;
	color: #60ACB4;
	font-size: .9em;
}
.footer-copy a {
	color: #60ACB4; 
}









h2 {
	font-family: OpenSansLight, Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	font-weight: normal;
	color: #a2a2a2;
}
h2.home,
#sidebar-right h2 {
	border-bottom: 7px solid #f3f3f3;
	padding-bottom: 1em;
}
h3 {
	font-family: OpenSans, Arial, Helvetica, sans-serif;
	font-size: 1.5em;
	font-weight: bold;
}
h3 a {
	text-decoration: none;
}





/* BANNERS */
.block-banners {
	Xbackground: #104572 ;
	background: #E6E6E6;
	padding-top: 1px;
}
.block-banners h1 {
	Xcolor:  #60ACB4 !important;
}
.block-banners .view-wrapper {
	padding-bottom: 0;
}
.block-banners .views-row {
	width: 33%;
	display: table-cell;
	background: #0a2c48;
	border: none;
	border-right: 10px solid #E6E6E6;
}
.block-banners .views-row:hover {
	background: #000000;
}
.block-banners .views-row:last-child {
}
.node-banner {
	max-width: 330px;
	position: relative;
}
.node-banner img {
	width: 100%;
	height: auto;
	display: block;
}
.node-banner a.text {
	display: block;
	color: white;
	text-decoration: none;
	padding: 1em 2em 2em 5em;
	background: url(../images/arrow-circle-teal-29.png) 1.5em 1em no-repeat;
}
.node-banner a span.suptitle {
	color: #60ACB4;
	text-transform: uppercase;
	display: block;
	margin: .5em 0;
}
.node-banner a span.title {
	color: white;
	font-size: 1.3em;
}


.node-megamenu {
	padding: 4em 0;
}


.view-latest-articles {
	background-color: white;
}
.view-latest-articles h2 {
	padding: 1em 0 0em;
	text-transform: uppercase;
}
.view-latest-articles .view-content {
	/*
	-moz-column-count: 4;
	-moz-column-gap: 3em;
	-webkit-column-count: 4;
	-webkit-column-gap: 3em;
	column-count: 4;
	column-gap: 3em;
	*/
}
.view-latest-articles .views-row {
	/*
	margin: 0em 0 2.5em 0;
	overflow: hidden; 
	break-inside: avoid-column;
	-webkit-column-break-inside: avoid;
	*/
	width: 22%;
	padding-right: 3.25%;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 4em;
}
.view-latest-articles .views-row:nth-child(4n+4) {
	padding-right: 0;
}
.node-small_teaser .teaser-image {
	width: 100%;
	float: none;
	margin-bottom: 1em;
}
.node-small_teaser .teaser-image img {
	width: 100%;
	height: auto;
}
.node-small_teaser h3 {
	font-size: 1.25em;
	margin: 0 0 1.5em;
	font-family: Georgia, sans-serif;
	line-height: 1.35;
	font-weight: normal;
}
.node-small_teaser .date {
	color: #A2A2A2;
}


.view-topics {
	margin: 2em 0 5em;
}
.view-topics .view-content {
	-moz-column-count: 3;
	-moz-column-gap: 4em;
	-webkit-column-count: 3;
	-webkit-column-gap: 4em;
	column-count: 3;
	column-gap: 4em;
}
.view-topics .views-row {
	margin: 0;
	overflow: hidden; 
	break-inside: avoid-column;
	-webkit-column-break-inside: avoid;
	color: #A2A2A2;
	line-height: 1.7;
}




/* NODE */

.teaser-image {
	float: left;
	width: 28%;
	max-width: 273px;
	margin-right: 5%;
}
.teaser-image img {
	width: 100%;
	height: auto;
}
.teaser-text {
	overflow: hidden;
}
.node-teaser .teaser-text h3 {
	margin: 0 0 1em;
}
.teaser-text .bar {
	text-align: right;
}
div.read-more {
	margin: .5em 0;
	ttext-align: right;
}


.node-article .node-teaser,
.node-event .node-teaser {
	margin-top: 4em;
	margin-bottom: 4em;
}

.read-more a,
a.read-more {
	font-family: OpenSansBold, Arial, Helvetica, sans-serif;
	color: #007a82;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	font-size: .8em;
	white-space: nowrap;
}



.more-link {
	text-align: center;
	margin: 3em 0 3em;
}
.more-link a {
	font-family: OpenSansBold, Arial, Helvetica, sans-serif;
	background: #007a82;
	color: white;
	padding: .5em 1em .5em;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	ffont-size: .8em;
	display: inline-block;
}

/* COUNTRIES */
.people-countries .view-content {
	-moz-column-count:5; /* Firefox */
	-webkit-column-count:5; /* Safari and Chrome */
	column-count:5;
	color: #A2A2A2;
	line-height: 1.8;
	margin: 1em 0 5em;
}
.people-countries h3 {
	margin: 0;
	padding: 1.2em 0 .2em;
}
.people-countries .group_wrapper {
	overflow: hidden; 
	break-inside: avoid-column;
	-webkit-column-break-inside: avoid;
}


.fullpage-view .block-system-main {
	margin-top: 3em;
	margin-bottom: 5em;
}
h1.view-title,
h2.view-title,
.block > h2,
.view-grouping-header {
	font-family: OpenSansLight, Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	margin-top: 2em;
	margin-bottom: 1.5em;
	color: #A2A2A2;
	font-weight: 300;
	text-transform: uppercase;
}
.view-wrapper {
	padding: 0 0 5em 0;
}
.attachment .view-wrapper {
	padding: 0;
}


/* MEMBERS */
.people-statistics .views-label {
	color: #595959;
}
.people-statistics .field-content {
	font-weight: bold;
}

.view-grouping-header {
	margin: 2em 0 0 0;
	text-align: center;
}
table.views-table  {
	width:100%;
	border-collapse: collapse;
	margin-bottom: 2em;
}
table.views-table tr, table.views-table tbody, table.views-table thead {
	background: none;
	border: 0;
}
table.views-table tr:hover {
	background: #f3f3f3;
}
table.views-table th, 
table.views-table td {
	border: 0;
	padding: .4em 1em;
}
table.views-table th {
	background: white;
	padding: .6em 1em;
	border-bottom: 3px solid #f3f3f3;
}
table.views-table th, table.views-table th a {
	color: #A2A2A2;
}
table.views-table td {
	border-bottom: 1px solid #f3f3f3;
}
table.views-table td.active {
	background: #FAFCFE;
}
table.views-table a.active img {
	margin-left: .5em;
}
table.views-table caption {	
	font-weight: bold;
	font-size: 1em;
	background: #0461AE;
	color: white;
	padding: .6em 1em;
	text-align: left;
	margin: 1em 0 0 0;
}
th.views-field-field-political-party {
	width: 20%;
}
td.ico-18x12 {
	width: 18px;
	padding-left: .5em;
	padding-right: .5em;
}
.ico-18x12 a {
	display: inline-block;
	width: 18px;
	height: 12px;
	background-image: url(../images/icons-18x12.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
	overflow:hidden;
}
.ico-people-email a {
	background-position: 0 0;
}
.ico-people-email a:hover {
	background-position: -20px 0;
}
.ico-people-parl a {
	background-position: 0 -14px;
}
.ico-people-parl a:hover {
	background-position: -20px -14px;
}
.ico-people-pers a {
	background-position: 0 -28px;
}
.ico-people-pers a:hover {
	background-position: -20px -28px;
}

/* person detail */

.node-person {
	Xborder-bottom: 1px solid #f3f3f3;
	margin: 2em 0 0 0;
	padding-bottom: 1em;
}
.node-person .image {
	float: left;
	width: 35%;
	max-width: 166px;
	margin-right: 3em;
}
.node-person .image img {
	width: 100%;
	height: auto;
}
.node-person .text {
	overflow: hidden;
}
.node-person .text h3 {
	margin: 0;
	color: #0461AE;
}
.node-person .text .summary {

}
.node-person .text .bar {
	margin: 1em 0;
	Xcolor: #595959;
}



.node-group {
	margin-bottom: 6em;
}
.node-group .field-name-field-members {
	margin-top: 4em;
	display: block;
}





/* ADMIN */

fieldset.field-group-fieldset {
	border: 1px solid #ccc;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	padding: 1em;
}
.field-group-fieldset > legend {
	font-weight: bold;
	font-size: 1.4em;
	margin: 0;
	padding: 0;
}


fieldset#node_person_form_group_fieldset_private,
fieldset#node_person_form_group_public_fieldset,
.field-widget-date-select fieldset {
	padding:0;
	border:0;
	margin: 3em 0;
}
.field-widget-date-select fieldset {
	margin: 0;
}
.field-widget-date-select fieldset > legend {
	font-weight: bold;
	padding:0;
}
.field-widget-date-select .date-padding {
	padding: 0.2em 0;
}


select, input[type=text] {
  padding: 5px 10px;
  border-radius: 4;
}

.small-sans {
  font-size: 0.9em;
  font-family: Arial, Helvetica, sans-serif;
}



#block-views-topics-block-1 .views-field-nothing {
	margin: .3em 1em;
	color: #CCCCCC;
}
#block-views-topics-block-1 .views-field-nothing:before {
	content: "›"; 
	margin-right: .5em;
}
#block-views-topics-block-1 .views-field-nothing a {
	text-decoration: none;
}
#block-views-topics-block-1 .views-field-nothing a:hover {
	text-decoration: underline;
}




.view-photogalleries {
	background: #E6E6E6;
	padding-bottom: 5em;
}
.view-photogalleries .views-row {
	width: 48%;
	margin-right: 1.5%;
	margin-bottom: 1.5em;
	display: inline-block;
	background: white;
	vertical-align: top;
}
.view-photogalleries .views-row:hover {
	-webkit-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.35);
	box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.35);
}

.node-photogallery .node-teaser a,
.node-video .node-teaser a {
	display: block;
}
.node-photogallery .node-teaser img.cover,
.node-video .node-teaser img {
	border: 0;
	width: 100%;
	height: auto;
	display: block;
}
.node-photogallery .node-teaser a.text,
.node-video .node-teaser a.text {
	display: block;
	padding: 1em 2em;
	font-size: 1.2em;
	text-decoration: none;
}
.node-photogallery .node-full h1 {
	margin-bottom: .5em;
}
.node-photogallery .node-full {
	padding: 0 2em 4em 2em;
	background: #E6E6E6;
	text-align: center;
}
.node-photogallery .field-photos div {
	display: inline-block;
}
.node-photogallery .field-photos img {
	display: block;
	margin: 0 2px 1px 0;
}
.node-video .node-header {
	padding-bottom: 3em;
}
.node-video .summary {
	width: 35%;
	float: right;
}
.node-video .video {
  position: relative;
  width: 60%;
  
}
.media-youtube-outer-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 68%;
  overflow: hidden;
}
.media-youtube-outer-wrapper iframe,  
.media-youtube-outer-wrapper object,  
.media-youtube-outer-wrapper embed,
.media-youtube-preview-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}














.block-related-galleries {
	background:#F3F3F3;
	padding: .5em 0;
}
.block-related-galleries .views-row {
	Xmargin: 4em 0;
}
.node-photogallery .node-related_node_in_block .first-line-visible {
	height: 145px;
	overflow: hidden;
}
.node-photogallery .node-related_node_in_block .all-lines-visible {
	height: auto;
}



.node-header {
	background: #E6E6E6;
	padding: 4em 0 2em;
}
.node-full h1 {
	font-size: 1.9em;
	font-weight: normal;
	margin: 2em 0 1em;
	color: #0461AE;
}
.node-header h1 {
	margin: 0 0 1.5em;
}
.node-header .teaser-image {
	width: 40%;
	max-width: 390px;
}
.node-article .summary {
	overflow: hidden;
}
.node-event .summary {
	font-size: 1em;
}
.node-event .summary h2,
.node-event .summary h3 {
	color: #0461AE;
	margin-top: 0;
}
.field-label,
.field-label-inline .field-label, 
.field-label-inline .field-items {
	float: none;
}
.post-info {
	color: #595959;
	margin: 1em 0;
	padding-top: 1em;
	line-height: 1.7;
}
.post-info a {
	text-decoration: none;
}
.post-info a:hover {
	text-decoration: underline;
}
.full-node-tabs {
	float: right;
	padding-top: .8em;
}
.post-info .date {
	Xborder-right: 1px solid #F3F3F3;
	Xpadding-right: 1.2em;
	Xmargin-right: .9em;
	display: block;
}
.post-info .field-label {
	font-weight: normal;
}
.node-body {
	margin: 4EM 0;
}






.body-text {
	font-size: 1.25em;
	line-height: 1.6;
	font-family: Georgia, serif;
}
.body-text-in-ckeditor {
	font-size: 0.95em;
	margin: 0 1em;
	max-width: 660px;
}
.body-text p {
	ooverflow: hidden;
}
.body-text h2,
.body-text h3 {
	margin: 1.6em 0 .5em;
	font-style: normal;
	text-align: left;
}
.body-text h2 {
	font-size: 1.5em;
}
.body-text h3 {
	font-size: 1.2em;
}
hr {
	border: 0;
	border-bottom: 1px solid #f3f3f3;
	height: 0;
	margin: 2em 0;
	Xclear: both;
}

/* BODY TEXT IN NODE DETAIL */
.node-article .node-body .body-text,
/*.node-page .node-body .body-text,*/
.body-text-in-ckeditor {
	padding-right: 33%;
}
.node-article .body-text hr {
	Xwidth: 150%;
}

.media-float_right_with_caption {
	width: 20%;
	float: right;
	margin-left: 9%;
}
.node-article .media-float_right_with_caption {
	width: 36%;
	margin-right: -45%;
}
.media-float_right_with_caption img {
	width: 100%;
	height: auto;
}

.media-inline_with_caption {
	width: 100%;
	margin: 1.5em 0;
}
.media-inline_with_caption img {
	width: 100%;
	max-width: 620px;
	height: auto;
}


.field-name-field-caption {
	color: #595959;
	font-family: OpenSans, sans-serif;
	font-size: 11px;
	line-height: 1.3;
	display: block;
	text-align: left;
	font-weight: 300;
}



/* Simulation of view modes inside WYSIWYG editor */
.file-float-right-with-caption,
.file-float-left-with-caption,
.file-inline-with-caption {
	height: auto;
	margin: .4em 0 1.4em; 
	position: relative;
}
.file-float-right-with-caption:after,
.file-float-left-with-caption:after,
.file-inline-with-caption:after {
	content: "<caption placeholder>";
	color: #595959;
	font-family: OpenSans, sans-serif;
	font-size: .8em;
	line-height: 1.3;
	display: block;
	text-align: left;
	position: absolute;
	bottom: -1em;
}
.file-inline-with-caption {
	width: 100%;
}
.file-float-right-with-caption {
	/*
	width: 30%;
	height: auto;
	//margin: .4em 0 1em;
	position: absolute;
	right: 2em;
	//float: right;
	//margin-left: 2em;
	z-index:  2;*/
	width: 40%;
	float: right;
	margin-left: 5%;
	margin-right: -45%;
}
/* /Simulation of view modes inside WYSIWYG editor */

blockquote {
	margin: 2em 10% ;
	position: relative;
}
blockquote:before {
	content: "”";
	color: #E6E6E6;
	font-size: 8em;
	position: absolute;
	left: -13%;
	top: -.32em;
}



.event-attr {
	background:#0461AE;
	color: white;
	padding: 4em 3em;
}
.event-attr .views-field-title {
	font-size: 1.5em;
	margin-bottom: 1em;
	font-family: OpenSansLight, sans-serif;
}
#content-header {
	background: #dfdfdf;
	background: #0461AE;
	color: white;
	padding: 3em 0;
}
#content-header .section {

}
#content-header h2 {
	color: #0461AE;
	color: white;
	margin: 1.8em 0;
}


tbody {
    border-top: 0;
}

.item-list  .pager {
	margin: 4em 0;
}

.item-list  .pager li {
	margin: 0 .3em;
	padding: 0;
}
.pager a {
	display: inline-block;
	background: #F3F3F3;
	padding: .5em 1em;
	text-decoration: none;
}
.pager a:hover {
	background: #007A82;
	color: white;
}



/* admin tab links */
.admin-tabs {
  margin: 0.5em 0;
}
.tabs {
  margin: 0 0;
  font-size: 1em;
}
ul.primary {
	margin: 3px 0;
	padding: 0;
	border: 0;
}
ul.primary li {
  background: #f3f3f3;
  margin: 5px 10px 5px 0 ;
  display: inline-block;
}
ul.primary li.active {
  background: #f3f3f3;
  color: black;
  border: 0;
}
ul.primary li:hover {
  background: #007A82;
  color: white;
  border: 0;
}
ul.primary li a {
	padding: 5px 10px !important;
	color: black;
	display: block;
}
ul.primary li.active a {
  color: black;	
  font-weight: bold;
}
ul.primary li:hover a,
ul.primary li a:hover {
  color: white;
}

ul.secondary{
  clear: both;
  background:white;
  border: 0;
  margin:0;
  padding:.5em 1em;
}
ul.secondary li{
  background:none;border:none;display:inline;line-height:2em;margin:0;padding:0 1em 0 0;
}
ul.primary li a,ul.primary li.active a,ul.primary li a:hover,ul.primary li a:visited{
  background:none;border:0;margin:0;padding:0 1em;text-decoration:none;
  }
ul.secondary li a,ul.secondary li a:visited{
  background:none;border:0;margin:0;padding:0;text-decoration:none;
  }
ul.secondary li.active a,ul.secondary li a:hover{
  text-decoration:underline;
}
ul.primary li.active a,
ul.secondary li.active a{
  font-weight:bold;
  text-decoration:none;
  border: none;
}

/*
div.messages {
	border: 0;
	padding: .5em 1.5em;
	background: white;
	margin: 1.5em 0;
}

div.error {
	color: #ec008c;
	background: white;
	border: 0;
}
*/


#media-format-form #preview img {
	width: 100%;
	height: auto;
}



@media only screen and (max-width:1366px){
	body { font-size: .75em; }
	#header-menu .content a { padding: .3em 2em; }
}
@media only screen and (max-width:1000px){
	#header-menu .content a { padding: .3em 1em; }
}
@media only screen and (max-width:800px){
	body { font-size: .7em; }
	.view-latest-articles .views-row:nth-child(1n+1) { width: 30%; padding-right: 3%; }
	.view-latest-articles .views-row:nth-child(3n+3) { padding-right: 0; }
}
@media only screen and (max-width:700px){
	#header-menu .content ul {display: block}
	#header-menu .content li {display: block}
	#header-menu .content a { display: block; float: left; padding: .3em 1em; font-size: 1.2em}
	.view-latest-articles .views-row:nth-child(1n+1) { width: 45%; padding-right: 4%; }
	.view-latest-articles .views-row:nth-child(2n+2) { padding-right: 0; }
}

/* NEW INLINE MEDIA STYLES */
img {
  max-width: 100%;
  height: auto;
}
figure {
  padding: 0;
  margin: 2em 0;
  display: block;
}
figure.image figcaption {
  color: #595959;
  font-family: OpenSans, sans-serif;
  font-size: 11px;
  line-height: 1.3;
  display: block;
  text-align: left;
  font-weight: 300;
}
figure.image img {
  width: 100%;
  height: auto;
}
.image-right {
  width: 38%;
  float: right;
  margin: .33em -45% 2em 10%;
}


.video-embed-field-responsive-video {
  position: relative;
}

.video-embed-field-responsive-video:after {
  content: '';
  display: block;
  padding-bottom: 56.25%;
}

.video-embed-field-responsive-video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

