/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */
body {
 /* background: url("../images/background.png") repeat scroll 0 0 #255074;*/
 background:#222222;
    font-family: "Myriad Pro", Myriad, helvetica,verdana,arial,sans-serif;
    margin: 0;
    padding: 0;
}

#tinymce{background:#ffffff;
    font-family: "Myriad Pro", Myriad, helvetica,verdana,arial,sans-serif;
    margin: 0;
    padding: 0;}


#page-wrapper {
-webkit-box-shadow:  0 0 10px 0 #0000008;
box-shadow:  0 0 10px 0 #000000;

  -moz-box-shadow: 0 0 10px 0 #000000;
    background: none repeat scroll 0 0 #FFFFFF;
    margin-top: 10px;
    padding: 15px;
}

#page {
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

a{color:#A9BA36;text-decoration:none;font-weight:bold;}

a:hover{text-decoration:underline;}

p{  font-family: Myriad Pro,Myriad,Helvetica,Verdana;
    font-size: 14px;
    line-height: 18px;
    text-align: justify;}

/*
 * Header
 */
#header {
	border-bottom: 1px solid #AAAAAA;
    margin-bottom: 5px;
    padding-bottom: 5px;
	position:relative;
}

#header .section {
}

#logo /* Wrapping link for logo */ {
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}

#logo img {
  vertical-align: bottom;
}

#block-search-form {
    position: absolute;
    right: 0;
    top: 42px;
}

#name-and-slogan /* Wrapper for website name and slogan */ {
  float: left;
}

h1#site-name,
div#site-name /* The name of the website */ {
  display: none;
    font-size: 2em;
    line-height: 1.5em;
    margin: 0;
}

#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}

#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan /* The slogan (or tagline) of a website */ {
	  font-size: 20px;
    font-weight: bold;
    left: 200px;
    position: absolute;
    top: 45px;
}

.region-header /* Wrapper for any blocks placed in the header region */ {
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

#navigation {
    border-bottom: 1px solid #AAAAAA;
    display: block;
    float: left;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.with-navigation #content, .with-navigation .region-sidebar-first, .with-navigation .region-sidebar-second {
    margin-top: 54px;
}

#main-wrapper {
}

#main {
}

/*
 * Content
 */
#content {
}

#content .section {
	 background: none repeat scroll 0 0 #EEEEEE;
    margin-left: 5px;
      padding: 10px;

}

.region-highlighted {
}

.breadcrumb /* The path to the current page in the form of a list of links */ {
  padding-bottom: 0; /* Undo system.css */
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title /* Comment title */ {
  margin: 0;
}

h1.title {
      border-bottom: 1px solid #AAAAAA;
    color: #164A72;
    font-size: 2em;
    line-height: 1.5em;
    margin: 0 0 10px;
}

tr.even /* Some tables have rows marked even or odd. */ {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */ {
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
}

div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status /* Normal priority messages */ {
}

div.warning,
tr.warning /* Medium priority messages */ {
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error /* High priority messages. See also the .error declaration below. */ {
}

.error /* Errors that are separate from div.messages status messages. */ {
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning /* Warnings that are separate from div.messages status messages. */ {
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

div.tabs /* See also the tabs.css file. */ {
}

.region-help /* Help text on a page */ {
}

.more-help-link /* Link to more help */ {
}

.region-content /* Wrapper for the actual page content */ {
}

ul.links /* List of links */ {
}

ul.links.inline {
  display: block; /* Let the links be inline, but the container be a block. */
}

ul.links li {
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager /* A list of page numbers when more than 1 page of content is available */ {
  padding: 0;
}

.item-list .pager li /* Each page number in the pager list */ {
  padding: 0 0.5em;
}

.feed-icon /* The link to the RSS or Atom feed for the current list of content */ {
}

.more-link /* Aggregator, blog, and forum more link */ {
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */
.region-sidebar-first {
}

.region-sidebar-first .section {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */
.region-sidebar-second {
}

.region-sidebar-second .section {
}

/*
 * Footer
 */
.region-footer {
}

/*
 * Page bottom
 */
.region-bottom /* Wrapper for any blocks placed in the page bottom region */ {
}

.breadcrumb {
    display: none;
    padding-bottom: 0;
}


/*
 * Navigation Principal Menu
 */

#navigation ul#main-menu{
    margin:0;
	background: none repeat scroll 0 0 #EEEEEE;
    list-style: none outside none;
    padding: 5px;
}

#navigation ul#main-menu li{
    margin:0;
	padding:0;
}

#navigation ul#main-menu li a {
      background: none repeat scroll 0 0 #CCCCCC;
    color: #000000;
    display: block;
    float: left;
    font-weight: normal;
    margin-right: 5px;
    padding: 5px 10px;
    text-decoration: none;
}

#navigation ul#main-menu li a:hover, #navigation ul#main-menu li.active a, #navigation ul#main-menu li.active-trail a{
    background: none repeat scroll 0 0 #aaaaaa;
    color: #ffffff;
}


/*
 * Navigation Secondaire Menu
 */

 #block-system-main-menu, #block-menu-menu-second-menu {
    margin: 0;
}

#block-menu-menu-second-menu {
    margin-top: 10px;
	display:block;
	float:left;
	width:100%;
}

.front #block-menu-menu-second-menu {
    margin-top: 0px;
}

.region-sidebar-first #block-system-main-menu h2,.region-sidebar-first #block-menu-menu-second-menu h2{
	display:none;
}

.region-sidebar-first #block-system-main-menu ul, .region-sidebar-first #block-menu-menu-second-menu ul{
	margin:0;
	padding:0;
	list-style:none;
}

.region-sidebar-first #block-menu-menu-second-menu ul li{
	margin:0;
	padding:0;
	list-style:none;
}


.region-sidebar-first #block-system-main-menu ul li{
	display:none;
	margin:0;
	padding:0;
}

.region-sidebar-first #block-system-main-menu ul li a{
	display:none;
}


.region-sidebar-first #block-system-main-menu ul li.expanded, .region-sidebar-first #block-system-main-menu ul li.expanded ul li{
	display:block;
	list-style:none;
	margin:0;
	padding:0;
}

.region-sidebar-first #block-system-main-menu ul li.expanded ul{
	display:block;
	list-style:none;
	margin:0;
	padding:0;
}

.region-sidebar-first #block-system-main-menu ul li.expanded ul li a, .region-sidebar-first #block-menu-menu-second-menu ul li a {
 background: none repeat scroll 0 0 #CCCCCC;
    color: #000000;
    display: block;
    float: left;
    margin-bottom: 5px;
    padding: 8px 10px;
    text-decoration: none;
    width: 100%;
	 font-weight: normal;
}




.region-sidebar-first #block-system-main-menu ul li.expanded ul li a:hover, .region-sidebar-first #block-system-main-menu ul li.expanded ul li.active a, .region-sidebar-first #block-system-main-menu ul li.expanded ul li.active-trail a , .region-sidebar-first #block-menu-menu-second-menu ul li a:hover, .region-sidebar-first #block-menu-menu-second-menu ul li a.active{

    color: #ffffff;
}


#block-menu-menu-second-menu ul li a.front{
	background: url("../images/home_icon.png") no-repeat scroll 5px 5px #CDD46A;
    padding-left: 45px;
    width: 145px;
	}

	#block-menu-menu-second-menu ul li a.front:hover{
	background-position:5px -51px;
	}

	#block-menu-menu-second-menu ul li a.contact{
	background: url("../images/contact_icon.png") no-repeat scroll 5px 5px #CDD46A;
    padding-left: 45px;
    width: 145px;
	}

	#block-menu-menu-second-menu ul li a.contact:hover{
	background-position:5px -51px;
	}

	#block-menu-menu-second-menu ul li a.forum{
	background: url("../images/forum_icon.png") no-repeat scroll 5px 5px #CDD46A;
    padding-left: 45px;
    width: 145px;
	}

	#block-menu-menu-second-menu ul li a.forum:hover{
	background-position:5px -51px;
	}



#joint-call .view-view-002-link-pre-proposal .views-row a, #joint-call .view-view-003-link-full-proposal .views-row a,#joint-call .view-view-004-back-to-joint-call .views-row a, #joint-call .view-view-005-back-to-joint-call .views-row a{
	margin-bottom:10px;
	 background: none repeat scroll 0 0 #CCCCCC;
    border: 1px solid #AAAAAA;
    color: #000000;
    display: block;
    float: left;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    width: 76%;}

#joint-call .view-view-002-link-pre-proposal .views-row a:hover,#joint-call  .view-view-003-link-full-proposal .views-row a:hover,#joint-call .view-view-004-back-to-joint-call .views-row a:hover, #joint-call .view-view-005-back-to-joint-call .views-row a:hover{ background:#aaaaaa; color:#ffffff; border:solid 1px #222222;}


#joint-call.panel-2col-stacked{

}

#joint-call.panel-2col-stacked .panel-col-first{
	 float: left;
    width: 75%;
}

#joint-call.panel-2col-stacked .panel-col-first p{
	text-align:justify;
}

#joint-call.panel-2col-stacked .panel-col-first p:first-child{
	margin-top:0;
}

#joint-call.panel-2col-stacked .panel-col-last {
    float: left;
    width: 24.9%;
}

#reportsandpublications.panel-3col-stacked .panel-col-first {
    float: left;
    width: 33%;
}

#reportsandpublications.panel-3col-stacked .panel-col {
    float: left;
    width:34%;
}

#reportsandpublications.panel-3col-stacked .panel-col-last {
    float: left;
    width: 33%;
}

#reportsandpublications .reports{
    padding:10px; border:solid 1px #aaaaaa; background:#eeeeee;display:block; float:left;-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}

#reportsandpublications .reports a{
    border-bottom: 1px solid #AAAAAA;
    color: #222222;
    display: block;
    float: left;
    font-size: 12px;
    text-decoration: none;
}


.view-view-009-related-eu-initialtives table td, .view-view-009-related-eu-initialtives table th{
    padding: 5px;
    vertical-align: top;
}

.view-view-009-related-eu-initialtives table td.views-field-title a{
   color:#222222; font-weight:bold; text-decoration:none;
}

.view-view-009-related-eu-initialtives table td.views-field-field-category-reui a{
   color:#222222; font-weight:bold; text-decoration:none;
}

#partners .view-view-001-page-partners .views-row {
    border-bottom: 1px solid #AAAAAA;
    display: block;
    float: left;
    margin-bottom: 5px;
    padding-bottom: 5px;
    width: 100%;
}

#partners .view-view-001-page-partners .views-field-field-logo-partner {
    display: block;
    float: right;
    width: auto;
}

#partners .view-view-001-page-partners .views-field-title a{
	color: #164A72;
    font-weight: bold;
	}

	#events .view-view-010-events .views-row {
    border-bottom: 1px solid #AAAAAA;
    display: block;
    float: left;
    margin-bottom: 5px;
    padding-bottom: 5px;
    width: 100%;
}

#events .view-view-010-events .views-field-field-img-event {
   display: block;
    float: right;
    margin-bottom: 20px;
    margin-left: 20px;
    width: auto;
}


#events .view-view-010-events .views-field-body p, #events .view-view-010-events .views-field-body p span
#nrdf .field-name-body p, #nrdf .field-name-body p span,
#joint-call .field-name-body p, #joint-call .field-name-body p span
{font-family:"Myriad Pro", Myriad, helvetica,verdana,arial, sans-serif !important; font-size:14px !important;line-height: 20px !important;}

#events .view-view-010-events .views-field-body p:first-child{margin-top:0;}

#events .view-view-010-events .views-field-title a{
    background: none repeat scroll 0 0 #AAAAAA;
    color: #FFFFFF;
    display: block;
    margin-bottom: 10px;
    padding: 5px 10px;
}

th {
    background: none repeat scroll 0 0 #AAAAAA;
    border-bottom: 1px solid #222222;
    color: #FFFFFF;
    font-weight: normal;
    padding: 0;
    text-align: left;
}

table{
  width:100%;
}

table td{
    padding: 5px;
    vertical-align: top;
	 font-size: 12px;
}

table th{
    padding: 5px;
    vertical-align: top;
	 font-size: 12px;
}

table th a{
  color:#ffffff;
}

#nrdf.panel-2col-bricks .panel-col-first {
    float: left;
    width: 20%;
}

#nrdf.panel-2col-bricks .panel-col-last {
    float: left;
    width: 79.9%;
}

#rein.panel-2col-bricks .panel-col-first {
    float: left;
    width: 24%;
}

#rein.panel-2col-bricks .panel-col-last {
    float: left;
    width: 75.9%;
}



#nrdf  .pane-node-title .pane-content, #financed_project .pane-node-title .pane-content, #rein .pane-node-title .pane-content{
    border-bottom: 1px solid #222222;
    font-size: 18px;
    font-weight: bold;
}

.view-view-011-countries table td {
    font-size: 10px;
    padding: 5px;
    text-align: center;
    vertical-align: top;
}

#event .pane-node-field-img-event,
#pagedebase .pane-node-field-image-page,
#call_stats .field-name-field-image-page {
    display: block;
    float: right;
    margin-bottom: 20px;
    margin-left: 20px;
}

#reportsandpublications h2 {
  font-size: 1.5em;
    margin: 10px 0;
    text-align: center;
}

#lfc table {
    margin-top: 0;
    width: 100%;
}

#edit-comment-body-und-0-format{display:none;}

#comment-form {
    border: 1px solid #AAAAAA;
    padding: 0 20px;
}

input#edit-submit, input#edit-preview , input#edit-submit--2{
	font-family: "Myriad Pro", Myriad, Helvetica, sans-serif;
	font-size: 14px;
	color: #000000;
	padding: 3px 14px;
	background: -moz-linear-gradient(
		top,
		#ffffff 0%,
		#8d9249);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffffff),
		to(#8d9249));
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border: 1px solid #000000;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 5px rgba(141,146,73,0.6);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 5px rgba(141,146,73,0.6);
	text-shadow:
		0px -1px 3px rgba(255,255,255,0.8),
		0px 1px 0px rgba(255,255,255,0.3);
cursor:pointer;}


input#edit-submit:hover, input#edit-preview:hover , input#edit-submit--2:hover{
	font-family:"Myriad Pro", Myriad,  Helvetica, sans-serif;
	font-size: 14px;
	color: #ffffff;
padding: 3px 14px;
	background: -moz-linear-gradient(
		top,
		#8d9249 0%,
		#666a34);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#8d9249),
		to(#666a34));
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border: 1px solid #000000;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 5px rgba(141,146,73,0.6);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 5px rgba(141,146,73,0.6);
	text-shadow:
		0px -1px 3px rgba(0,0,0,0.8),
		0px 1px 0px rgba(0,0,0,0.3);
}

.search-results .title {
    border-bottom: 1px solid #AAAAAA;
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.search-results {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}


.search-results .search-snippet-info {
    padding-left: 0;
}


#partners .views-field-field-link-partner a {
  background: url("../images/arrow.png") no-repeat scroll 0 1px transparent;
    display: block;
    padding-left: 38px;
	-webkit-transition: all 20ms ease-in;
-moz-transition: all 20ms ease-in;
-ms-transition: all 20ms ease-in;
-o-transition: all 20ms ease-in;
transition: all 20ms ease-in;
}

#partners .views-field-field-link-partner a:hover {
  background-position:7px 1px;
    padding-left: 45px;
}

#secondary-menu {
    float: right;
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 0;
}







