/* =============================================================================
 *   Button
 * ========================================================================== */

.greyLink {
  line-height: 21px;
  height: 22px;
  position: relative;
  margin: 0;
  padding: 0 10px 0 14px;
  background: #ddd;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
  display: block;
  width: 63px;
}

.greyLink:after {
  content: "";
  position: absolute;
  top: 0;
  right: -11px;
  width: 0;
  height: 0;
  border-color: transparent transparent transparent #ddd;
  border-style: solid;
  border-width: 11px 0 11px 11px;
}

.greyLink:hover:after {
  border-color: transparent transparent transparent #ccc;
}

.greyLink:hover {
  background: #ccc;
  text-decoration: none;
  cursor: pointer;
}

.greyLink a {
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}

.contactLink.greyLink {
  width: 110px;
}

.newsarchiveLink.greyLink {
  width: 70px;
  margin-top: 15px;
}

/* =============================================================================
 *   Footer
 * ========================================================================== */

#footer ul.menu li.menu-depth-3 {
  display: none;
}

/* =============================================================================
 *   Frontend
 * ========================================================================== */

.page-frontpage #main-content {
  border-top: 0px solid #ccc;
  margin: 0px 10px;
  padding: 25px 0;
}

.page-frontpage .nav {
  margin: 10px 20px 0px;
}

.page-frontpage #columns {
  float: left;
  width: 65.66666%;
}

.page-frontpage .region-frontend-news {
  float: left;
  width: 29.33%;
}

.page-frontpage .region-frontend-news h2.block-title {
  padding-top: 25px;
}

.view-frontpage .displayInline p {
  display: inline;
}

.view-frontpage .front.images {
  margin-top: 20px;
}

.view-frontpage .front.images div.image_1,
.view-frontpage .front.images div.image_2,
.view-frontpage .front.images div.image_3,
.view-frontpage .front.images div.image_4,
.view-frontpage .front.images div.image_5 {
  float: left;
}

.view-frontpage .front.images div.image_1,
.view-frontpage .front.images div.image_3 {
  margin-right: 20px;
}

.view-frontpage .front.images div.image_3,
.view-frontpage .front.images div.image_4,
.view-frontpage .front.images div.image_5 {
  margin-top: 16px;
}

.page-frontpage .region-frontend-sources h3 {
  display: none;
}

.page-frontpage .region-frontend-sources .block-content ul {
  padding: 0;
  margin: 0;
}

.page-frontpage .region-frontend-sources .view-links li div.imagelink {
  margin: 0;
  height: 65px;
  width: 65px;
  display: block;
  float: left;
  border: 1px solid #ccc;
}

.page-frontpage .region-frontend-sources .view-links li a.imagelink {
  display: table-cell;
  vertical-align: middle;
  height: 65px;
}

.page-frontpage .region-frontend-sources .view-links li a.imagelink img {
  display: table-cell;
  vertical-align: middle;
}

.page-frontpage .region-frontend-sources .view-links li p,
.page-frontpage .region-frontend-sources .view-links li h2,
.page-frontpage .region-frontend-sources .view-links li a {
  margin: 0 10px 5px 80px;
}

.page-frontpage .region-frontend-sources .view-links li h2.title_link a {
  margin: 0 10px 5px 0px;
}

.page-frontpage .region-frontend-sources .view-links li {
  float: left;
  margin-bottom: 18px;
  width: 31%;
  border-bottom: 1px solid #ccc;
  margin-right: 32px;
  padding-bottom: 5px;
  list-style: none;
  min-height: inherit;

}

.page-frontpage .region-frontend-sources .view-links li.views-row.column-3 {
  margin-right: 0px;
}

.page-frontpage .region-frontend-sources .view-links li.views-row.row-4 {
  border-bottom: 0px;
  margin-bottom: 0;
}

.page-frontpage .region-frontend-sources .view-footer {
  clear: both;
}

.page-frontpage .region-frontend-sources .view-footer .lineSeperator {
  margin-top: 0;
  margin-bottom: 10px;
  padding-top: 5px;
}

.page-frontpage .region-frontend-sources .orderViewLink.greyLink {
  float: right;
  background: #225977;
  margin-top: -35px;
  margin-right: 30px;
}

.page-frontpage .region-frontend-sources .orderViewLink.greyLink:after {
  border-width: 0;
}

.page-frontpage .view-news .imagelink {
  margin: 0;
  display: block;
  float: left;
  margin: 0 10px 0 0;
  min-height: 75px;
}

.page-frontpage .view-news .date {
  font-size: 13px;
  font-weight: bold;
  color: #acacac;
  margin-bottom: 3px;
}

.page-frontpage .view-news p {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
  margin-bottom: 3px;
  min-height: 29px;
}

.page-frontpage .view-news p a:link,
.page-frontpage .view-news p a:visited {
  color: #333;
  display: block;
}

.page-frontpage .view-news .views-row {
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

/* =============================================================================
 *   Country Profiles
 * ========================================================================== */

#countryprofiles div.radio,
#episcope-country_selection div.radio {
  width: 0px;
  height: 0px;
  margin: 0px;
}

#countryprofiles div.radio span,
#episcope-country_selection div.radio span {
  position: relative;
  left: -9999px;
}

#countryprofiles .title,
#episcope-country_selection .title {
  float: left;
}

#countryprofiles .viewwrapper {
  float: left;
  position: relative;
  z-index: 500;
}

#countryprofiles .viewwrapper .list_view,
#episcope-country_selection .viewwrapper .list_view {
  float: left;
}

#countryprofiles .viewwrapper .map_view,
#episcope-country_selection .viewwrapper .map_view {
  float: left;
}

#countryprofiles .boxtitle span.list_view,
#countryprofiles .boxtitle span.map_view,
#episcope-country_selection .boxtitle span.list_view,
#episcope-country_selection .boxtitle span.map_view {
  padding: 0px;
  margin-top: 4px;
}

#countryprofiles .boxtitle span.list_view label,
#countryprofiles .boxtitle span.map_view label,
#episcope-country_selection .boxtitle span.list_view label,
#episcope-country_selection .boxtitle span.map_view label {
  padding: 3px 12px;
  margin: 0px;
  display: block;
}

#countryprofiles .viewwrapper .list_view label:hover,
#countryprofiles .viewwrapper .list_view label:active,
#countryprofiles .viewwrapper .map_view label:hover,
#countryprofiles .viewwrapper .map_view label:active,
#episcope-country_selection .viewwrapper .list_view label:hover,
#episcope-country_selection .viewwrapper .list_view label:active,
#episcope-country_selection .viewwrapper .map_view label:hover,
#episcope-country_selection .viewwrapper .map_view label:active {
  cursor: pointer;
}

#countryprofiles .viewwrapper .map_view,
#episcope-country_selection .viewwrapper .map_view {
  background: #EBEBEB;
  border: 1px solid #DCDCDC;
  color: #333;
  display: block;
  text-align: center;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-border-bottom-right-radius: 0px;
  -moz-border-top-right-radius: 0px;
  -webkit-border-bottom-right-radius: 0px;
  -webkit-border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FCFCFC), to(#EBEBEB));
  background: -webkit-linear-gradient(#FCFCFC, #EBEBEB);
  background: -moz-linear-gradient(#FCFCFC, #EBEBEB);
  background: -ms-linear-gradient(#FCFCFC, #EBEBEB);
  background: -o-linear-gradient(#FCFCFC, #EBEBEB);
  background: linear-gradient(#FCFCFC, #EBEBEB);
  -pie-background: linear-gradient(#FCFCFC, #EBEBEB);
  behavior: url(/sites/all/libraries/PIE/PIE.php);
  font-weight: lighter;
}

#countryprofiles .viewwrapper .map_view.active,
#episcope-country_selection .viewwrapper .map_view.active {
  background: #0884C7;
  border: 1px solid #0884C7;
  color: #fff;
  display: block;
  text-align: center;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-border-bottom-right-radius: 0px;
  -moz-border-top-right-radius: 0px;
  -webkit-border-bottom-right-radius: 0px;
  -webkit-border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#6CB6DE), to(#0884C7));
  background: -webkit-linear-gradient(#6CB6DE, #0884C7);
  background: -moz-linear-gradient(#6CB6DE, #0884C7);
  background: -ms-linear-gradient(#6CB6DE, #0884C7);
  background: -o-linear-gradient(#6CB6DE, #0884C7);
  background: linear-gradient(#6CB6DE, #0884C7);
  -pie-background: linear-gradient(#6CB6DE, #0884C7);
  behavior: url(/sites/all/libraries/PIE/PIE.php);
  font-weight: lighter;
}

#countryprofiles .viewwrapper .list_view,
#episcope-country_selection .viewwrapper .list_view {
  background: #EBEBEB;
  border: 1px solid #DCDCDC;
  color: #333;
  display: block;
  text-align: center;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-border-bottom-left-radius: 0px;
  -moz-border-top-left-radius: 0px;
  -webkit-border-bottom-left-radius: 0px;
  -webkit-border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FCFCFC), to(#EBEBEB));
  background: -webkit-linear-gradient(#FCFCFC, #EBEBEB);
  background: -moz-linear-gradient(#FCFCFC, #EBEBEB);
  background: -ms-linear-gradient(#FCFCFC, #EBEBEB);
  background: -o-linear-gradient(#FCFCFC, #EBEBEB);
  background: linear-gradient(#FCFCFC, #EBEBEB);
  -pie-background: linear-gradient(#FCFCFC, #EBEBEB);
  behavior: url(/sites/all/libraries/PIE/PIE.php);
  font-weight: lighter;
}

#countryprofiles .viewwrapper .list_view.active,
#episcope-country_selection .viewwrapper .list_view.active {
  background: #0884C7;
  border: 1px solid #0884C7;
  color: #fff;
  display: block;
  text-align: center;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-border-bottom-left-radius: 0px;
  -moz-border-top-left-radius: 0px;
  -webkit-border-bottom-left-radius: 0px;
  -webkit-border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#6CB6DE), to(#0884C7));
  background: -webkit-linear-gradient(#6CB6DE, #0884C7);
  background: -moz-linear-gradient(#6CB6DE, #0884C7);
  background: -ms-linear-gradient(#6CB6DE, #0884C7);
  background: -o-linear-gradient(#6CB6DE, #0884C7);
  background: linear-gradient(#6CB6DE, #0884C7);
  -pie-background: linear-gradient(#6CB6DE, #0884C7);
  behavior: url(/sites/all/libraries/PIE/PIE.php);
  font-weight: lighter;
}

#countryprofiles .boxtitle span,
#episcope-country_selection .boxtitle span {
  text-shadow: 0px 0px #FFFFFF;
}

#countryprofiles .flag {
  width: 16px;
  height: 16px;
  position: relative;
  left: -9px;
  top: 3px;
}

#episcope-country_selection .flag {
  width: 16px;
  height: 16px;
  position: relative;
  left: -3px;
  top: 2px;
}

#countryprofiles #countryprofiles_result .flag {
  width: inherit;
  height: inherit;
  position: inherit;
  left: inherit;
  top: inherit;
}

#countryprofiles .list_view span.line,
#episcope-country_selection .list_view span.line {
  padding: 0px;
}

#episcope-country_selection .list_view span.line {
  background: none;
}

#episcope-country_selection li.checked span.line {
  background: none repeat scroll 0 0 #cbeef3;
}

#btype ul.subcat li span.line, #btype li span.line {
  padding: 3px 3px 3px 35px;
}

#btype ul.subcat li ul.subcat li span.line, #btype li ul.subcat li span.line {
  padding: 3px 3px 3px 55px;
}

#countryprofiles .list_view span.line label,
#episcope-country_selection .list_view span.line label {
  display: block;
  padding-left: 19px;
  margin-top: 3px;
}

#episcope-country_selection .list_view span.line label {
  padding-left: 15px;
}

#countryprofiles .list_view span.line label:hover,
#countryprofiles .list_view span.line label:active,
#episcope-country_selection .list_view span.line label:hover,
#episcope-country_selection .list_view span.line label:active {
  cursor: pointer;
}

#countryprofiles .mapWrapper {
  margin: 0;
  position: relative;
  top: -160px;
  left: 328px;
}

#countryprofiles #map_eu img:hover {
  cursor: pointer;
}

#countryprofiles .countrywrapper .map_view {
  height: 588px;
}

#countryprofiles_result .view-partners-sponsors h2 {
  border-bottom: 0px solid #CCCCCC;
  line-height: inherit;
  padding-bottom: inherit;
}

/* =============================================================================
*   Episcope Data Search
* ========================================================================== */

section.episcope-area {
  margin: 0 0 30px;
}

form#episcope-area-search-form .column1 {
  width: 100%;
  clear: both
}

form#episcope-area-search-form .column1 .inner {
  margin-right: 66.66%;
  padding: 10px;
}

form#episcope-area-search-form .column2 .inner,
form#episcope-area-search-form .column3 .inner {
  padding: 10px;
}

form#episcope-area-search-form .column2 {
  margin-left: -66.66%;
  width: 66.66%;
}

form#episcope-area-search-form .column3 {
  margin-left: -33.33%;
  width: 33.33%;
}

form#episcope-area-search-form .boxtitle {
  border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
}

form#episcope-area-search-form .notes_sources .boxwrapper {
  border: medium none;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  margin: 30px 0;
}

form#episcope-area-search-form .notes_sources .boxtitle {
  background: none repeat scroll 0 0 #eee;
  border-radius: 14px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
}

form#episcope-area-search-form .notes_sources .boxtitle.expanded {
  border-radius: 14px 14px 0 0;
  -webkit-border-radius: 14px 14px 0 0;
  -moz-border-radius: 14px 14px 0 0;
}

form#episcope-area-search-form .boxtitle em {
  color: #D83400;
}

form#episcope-area-search-form .boxwrapper {
  margin: 0 0 20px;
}

#search-results .level-switcher{
    float: right;
    line-height: 2.4em;
    font-weight: bold;
}

.page-episcope-data-results #search-results .level-switcher,
.page-episcope-data-results #search-results .unit-select,
.page-episcope-data-results #search-results .column-select,
.page-episcope-data-results #search-results .subcolumn-select{
    font-size: 82.8%
}

.episcope-cat {
  border-top: 1px solid #ccc;
  display: block;
  line-height: 20px;
  padding: 3px 3px 3px 15px;
  position: relative;
}

.episcope-cat .expand:after, .episcope-cat .collapse:after {
  content: "\f0de";
  font-family: FontAwesome;
  position: absolute;
  right: 12px;
  top: 3px;
}

.episcope-cat .expand:after {
  content: "\f0dd";
  top: -3px;
}

.episcope-cat .expand, .episcope-cat .collapse {
  position: relative;
  background: none;
  color: #333;
  text-indent: 0;
  margin: 0;
}

.episcope-cat .expand:hover, .episcope-cat .collapse:hover {
  text-decoration: none;
}

#episcope-country_selection .viewwrapper {
  float: right;
  margin-right: 4px;
}

#data-form span.episcope-dataset-table,
#data-form span.episcope-dataset-row {
  margin-left: 40px;
  color:#f00;
}

.view-episcope-project-partners img.country-flag {
  vertical-align: middle;
}

a#episcope-disclaimer {
  float: right;
  margin: 20px 20px 0 0;
}

a.box-header-image-link {
  float: right;
  margin-right: 20px;
}


#episcope-logo-box-header {
  width:100%;
  min-height:70px;
}

#search-results .column-description{
  background: none repeat scroll 0 0 #1f728c;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-family: Georgia,serif;
    font-weight: bold;
    height: 16px;
    line-height: 16px;
    margin-left: 3px;
    text-align: center;
    width: 16px;
}

/* =============================================================================
 *   Smart Glossary
 * ========================================================================== */

#smart-glossary-list ul li a {
  font-size: inherit;
}

#smart-glossary-detail p.definition {
  font-size: inherit;
}

#block-smart-glossary-smart-glossary {
  margin: 0px;
  padding: 0px;
  border-top: 0px solid #ccc;
}

#block-smart-glossary-smart-glossary .block-title {
  display: none;
}

#smart-glossary-header ul.alphabet li {
  margin-right: 0.9em;
}

.section-glossary #block-system-main .node {
  margin-bottom: 5px;
}

/* =============================================================================
 *   Data Search
 * ========================================================================== */

#search-results table.has-remark {
  margin-bottom: 0px;
}

.table_remark {
  background: #F9F9F9;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F9F9F9), to(#E3E3E3));
  background: -webkit-linear-gradient(#F9F9F9, #E3E3E3);
  background: -moz-linear-gradient(#F9F9F9, #E3E3E3);
  background: -ms-linear-gradient(#F9F9F9, #E3E3E3);
  background: -o-linear-gradient(#F9F9F9, #E3E3E3);
  background: linear-gradient(#F9F9F9, #E3E3E3);
  -pie-background: linear-gradient(#F9F9F9, #E3E3E3);
  behavior: url(/sites/all/libraries/PIE/PIE.php);
  padding: 6px 7px;
  margin-bottom: 60px;
  border-left: 2px solid #fff;
}

/* =============================================================================
 *   News
 * ========================================================================== */

.page-news .view-news .imagelink {
  margin: 0;
  display: block;
  float: left;
  margin: 0 10px 0 0;
  min-height: 97px;
}

.page-news .view-news div.title {
  color: #1F728C;
  font-weight: bold;
  clear: both;
  display: inherit;
}

.page-news .view-news p.title {
  color: #1F728C;
  font-size: 112.9%;
  font-weight: bold;
  clear: both;
  display: inline-block;
}

.page-news .view-news .date {
  font-size: 13px;
  font-weight: bold;
  color: #acacac;
  margin-bottom: 10px;
  margin-top: 10px;
}

.page-news .view-news p {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
  margin-bottom: 3px;
  display: inline;
}

.page-news .view-news p.description {
  margin: 0 0 1.5em;
  font-size: 112.9%;
}

.page-news .view-news .views-row {
  margin-bottom: 40px;
  border-bottom: 0px solid #ccc;
}

.page-news .view-news.view-display-id-block_1 .view-content {
  margin-top: 35px;
}

.page-news .content-inner a[href^="http:"],
.content-inner a[href^="https:"] {
  text-decoration: none;
}

.page-news .content-inner a[href^="http:"]:hover,
.content-inner a[href^="https:"]:focus {
  text-decoration: underline;
}

.page-news .rss_events_link a {
  color: #333;
  display: block;
}

.page-news .view-news .view-footer .view-news .views-row {
  margin-bottom: 20px;
}

.page-news .view-news .view-footer .view-news .views-row .date {
  margin-bottom: 0px;
}

.page-news #block-views-news-block-2 h2 {
  color: #009DC5;
  font-family: 'TeXGyreHerosCnBold';
  font-size: 160%;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.2em;
}

/* =============================================================================
 *   News / Events
 * ========================================================================== */

#block-views-news-block-2.block {
  margin: 0px;
  padding: 15px 0;
  border-top: 0px solid #ccc;
}

#block-views-news-block-2 .view-news .imagelink {
  min-height: 81px;
}

#block-views-news-block-2 .view-news .view-content {
  margin-top: 10px;
}

#block-views-news-block-2 .view-news .views-row {
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 7px;
  min-height: 58px;
}

#block-views-news-block-2 .view-news .date {
  display: inline;
}

#block-views-news-block-2 .view-news .location {
  display: inline;
  font-size: 13px;
  font-weight: bold;
  color: #acacac;
  border-left: 1px solid #acacac;
  padding-left: 5px;
}

/* =============================================================================
 *   Partners
 * ========================================================================== */

.partnerlinks ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

.partnerlinks ul li {
  margin: 8px 0px;
  padding: 0px;
  list-style-image: none;;
  background: url('../images/list_arrow_orange.png') center left no-repeat;
  padding-left: 12px;
}

.view-partners-sponsors li .country_text {
  color: #ACACAC;
  font-size: 85%;
  margin: -3px 0 5px 172px;
}

/* =============================================================================
 *   Data Sources
 * ========================================================================== */

#node-44 .contactLink.greyLink,
#node-250 .contactLink.greyLink {
  margin-top: 10px;
  margin-bottom: 35px;
}

/* =============================================================================
 *   Methodology
 * ========================================================================== */

.section-methodology .flag {
  width: 16px;
  height: 16px;
  position: relative;
  left: 0px;
  top: 3px;
  margin: 0 5px 0 3px;
}

/* =============================================================================
 *   Data Community
 * ========================================================================== */

.section-data-community .communityLink.greyLink {
  margin-top: 10px;
  width: 167px;
  line-height: 23px;
}

.section-data-community .content-inner a[href^="http:"],
.section-data-community .content-inner a[href^="https:"] {
  text-decoration: none;
}

/* =============================================================================
 *   General
 * ========================================================================== */

.node-content .field-name-body {
  padding: 0px;
  border: 0px;
  font-size: 13px;
  vertical-align: baseline;
  font-family: Helvetica, Arial, sans-serif, HelveticaLTStdRoman;
  color: rgb(106, 108, 127);
  line-height: 20px;
  text-align: justify;
  outline: none 0px !important;
}

/* =============================================================================
 *   Pagination
 * ========================================================================== */

.view-partners-sponsors ul.pager li,
.view-id-links ul.pager li {
  min-height: inherit;
}

.view-partners-sponsors ul.pager li.pager-current,
.view-id-links ul.pager li.pager-current {
  font-weight: 700;
  width: auto;
  padding: 0 0.7em;
  line-height: 1.7em;
  margin-right: 0em;
}

.view-partners-sponsors ul.pager li a,
.view-id-links ul.pager li a {
  margin: 0 0 5px 5px;
}

.view-partners-sponsors ul.pager,
.view-id-links ul.pager {
  float: left;
  margin: 0 auto;
}

.view-links ul.pager li {
  width: inherit;
}

.bpie-form .multi-cell-paste {
  display: none;
  color: #ccc;
}
