/* global */
body {
    background-color: #F4F4F4;
    font-family: Calibri, Arial;
    font-size: 14px;
    color: #004890;
}

a {
    color: #004890;
}

form .row .error {
    color: #EC5657;
    font-size: 12px;
}

button, .button {
    border: 1px solid #6E9D2B;
    background: white url(../../images/eupd/green_gradient.jpg) repeat-x bottom left;
    color: #6E9D2B;
    text-transform: uppercase;
    padding: 3px 5px;
    padding-bottom: 1px;
    font-size: 0.8em;
    font-weight: bolder;
    position: relative;
    top: 1px;
}

input {
    margin-right: 4px;
}

/* #all */
#all {
  width: 1000px;
  margin: auto;
  margin-bottom: 40px;
}
/* #head */
#head {
    background: transparent url(../../images/eupd/header.jpg) no-repeat top left;
    border-bottom: 7px solid #6E9D2B;
    padding-bottom: 7px;
    height: 144px;
}
#head ul.sections {
    padding-top: 26px;
}
#head ul.sections li {
    float: right;
    display: block;
    width: 198px; /* 198 */
    height: 37px; /* 37 */
    border: 1px solid #5792BF;
    font-size: 1.2em;
}
#head ul.sections li.advocacy {
    background: transparent url(../../images/eupd/top_advocacy.gif) no-repeat top left;
    border-right: none;
}
#head ul.sections li.knowledge {
  background: transparent url(../../images/eupd/top_knowledge.gif) no-repeat top left;
  border-right: none;
}
#head ul.sections li.funding {
  background: transparent url(../../images/eupd/top_funding.gif) no-repeat top left;
}
#head ul.sections li a {
    color: white;
    display: block;
    padding: 10px;
  padding-left: 53px;
}
#link_home {
    width: 190px;
    height: 120px;
    background: transparent url(../../images/eupd/logo.gif) no-repeat top left;
    display: block;
    /*position: absolute;*/
    float: left;
    margin-left: 40px;
}
/* #menu */
#menu {
    clear: both;
    padding-left: 10px;
    /*padding-top: 62px;*/
}
#menu li {
    display: block;
    float: left;
}
#menu li a {
    display: block;
    padding: 7px 7px;
    height: 19px; /* 19 */
    color: #27537A;
}
#menu li.selected a, #menu li a:hover {
    background-color: #6E9D2B;
    color: white;
}
/* #search */
#search {
    position: relative;
    /*top: -20px;*/
    top: -20px;
    left: 50px;
    width: 250px;
    float: right;
}
#search button {
    position: relative;
    top: 8px;
    border: none;
    background-color: transparent;
    cursor: hand;
    cursor: pointer;
    background: none;
    padding: 0px;
}
/* #main */
#main {
    /*
    margin-top: 10px;
    padding-top: 10px;
    */
    background: transparent url(../../images/eupd/main.gif) repeat-y left;
    width: 1000px;
}
#main .top_clear {
  height: 5px;
}
#left {
  float: left;
  width: 198px;
  padding: 0px 1px;
}
#right {
    padding: 0px 1px;
    float: right;
    width: 198px;
}
#center {
    float: left;
    width: 599px;
}
/* secondary menu */
#left .secondary_menu {
  margin-top: 5px;
    border-top: 1px solid #EDEDED;
}
#left .secondary_menu a {
    display: block;
    padding: 3px 25px;
    border-bottom: 1px solid #EDEDED;
}
#left .secondary_menu ul li a {
    color: #336DA6;
}
#left .secondary_menu ul li ul li a {
    color: #6CA9DB;
    padding-left: 30px;
    background: transparent url(../../images/eupd/bullet_menu.gif) no-repeat 25px 9px;
}
#left .secondary_menu .active a, #left .secondary_menu .active ul .active a {
  background: #6E9D2B url(../../images/eupd/bullet_menu_selected.gif) no-repeat 15px 9px;
  color: white;
}
#left .secondary_menu .active ul a {
    color: #6CA9DB;
  padding-left: 30px;
  background: transparent url(../../images/eupd/bullet_menu.gif) no-repeat 25px 9px;
}
/* #left */
#left h2, #right h2 {
    font-weight: bolder;
    color: #6E9D2B;
    background: transparent url(../../images/eupd/green_bullet.gif) no-repeat center left;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
    padding: 5px 0px;
    padding-left: 18px;
    border-bottom: 1px solid #D8D8D8;
}
#left .block, #right .block {
    border-top: 9px solid #F4F4F4;
    padding: 10px 15px;
}

.block img {
    display: block;
    margin: 0 auto;
}

.block p {
    margin-top: 0;
}

#right .sponsors {
    text-align: center;
}

#right .sponsors img {
    margin-top: 5px;
}   

#left h3, #right h3 {
    padding-bottom: 7px;
    font-weight: normal;
    font-size: 0.9em;
}
#left h3 a, #right h3 a {
    color: #004890;
}
#left .date, #right .date {
    color: #A1C1D9;
    font-size: 0.8em;
}
#left #email {
    width: 100px;
}
/* calendar */
#right .calendar h3 {
    color: #004890;
    text-transform: uppercase;
    font-size: 1.1em;
}
#right .calendar h4 {
    display: inline;
    font-weight: normal;
    font-size: 0.9em;
}
#right .calendar h4 .date {
    color: #6E9D2B;
    font-weight: bolder;
    font-size: 1.05em;
}
#right .calendar p {
    padding: 0px;
    margin: 0px;
    display: inline;
}
#right .calendar .event {
    margin-bottom: 10px;
}
#right .calendar h4 a {
    color: #004890;
}
#right .vacancies li {
    background: transparent url("../../images/eupd/bullet_small.gif") no-repeat 0px 5px;
    padding-left: 7px;
}
/* center */

#content {
    padding: 0px 20px;
}

#content .article {
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}
#content .articleBorder {
  background-color: #f4f4f4;
}
#content .articleBorder h3 {
  position: relative;
}
#content .article h3 {
    color: #6E9D2B;
    padding: 4px 0px;
}
#content .article h3 a {
    color: #6E9D2B;	
}
#content .article .date {
    color: #A1C1D9;
    font-size: 0.9em;
}
#content .article p {
    padding: 0px;
    margin: 0px;
    color: #004890;
}
#content .article p a {
    font-weight: bold;
}

#content .article p img {
    border: 1px solid #D8D8D8;
}
#content .article p img.left {
     margin-right: 8px;
}
#content .article p img.right {
   margin-left: 8px;
}
#content h2 {
    color: #6E9D2B;
}
#content .gallery {
    clear: both;
  margin-bottom: 20px;
  /*border-bottom: 1px solid #E8E8E8;*/
}
#content .gallery .image {
    margin-right: 10px;
    float: left;
}
#content.gallery h3 {
  padding: 0px 20px;
  color: #004890;
}
#content .gallery h3 {
    padding-bottom: 10px;
}
#content .gallery h3 a {
    color: #004890;
    text-decoration: underline;
}
#content .gallery .button {
    margin: 0px;
    font-size: 1.1em;
}
#content .gallery p {
    border-top: 1px solid #D8D8D8;
    border-bottom: 1px solid #D8D8D8;
    padding: 3px 0px;
    margin: 0px;
    color: #88AACB;
    font-weight: bolder;
}
#content.galleries .gallery p {
    border-top: none;
}
#content.galleries .gallery .details {
    margin-top: 7px;
    border-top: 1px solid #D8D8D8;
}
#content.galleries em, #content.galleries strong {
    color: #6E9D2B;
    float: left;
    clear: left;
    width: 80px;
}
#content .gallery .description {
  float: right;
  width: 290px;
}
#content .gallery h4 {
    color: #6E9D2B;
    margin: 0px;
    padding: 3px 0px;
    border-top: 1px solid #D8D8D8;
}
#content .gallery .left {
    width: 250px;
}
/*#content .gallery*/
/* sign in */
#user {
    background: #6E9D2B url(../../images/eupd/login.jpg) no-repeat top left;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
#user h2 {
    border: none;
    color: white;
    background: none;
    padding-left: 32px;
}
#user label {
    display: block;
    color: white;
    font-size: 0.9em;
    padding: 3px 0px;
}
#user .row {
    padding: 0px 15px;
}
#user #password {
    width: 70px;
}
/* foot */
#foot .top {
    border: 1px solid #D8D8D8;
    border-bottom: 8px solid #979797; 
    height: 36px;
    margin-bottom: 2px;
    background-color: #E9F2DB;
}
#foot {
     color: #979797;
     font-weight: bolder;
     font-size: 0.8em;
}
/* send to friend */
#sendToFriend {
  background: transparent url(../../images/eupd/send_to_friend.jpg) no-repeat top left;
  padding: 8px;
  text-align: right;
  height: 24px;
  width: 547px;
}
.gallery #sendToFriend {
}
#sendToFriend label {
    color: #6E9D2B;
}
#sendToFriend input {
    width: 180px;
}
/* form */
.form fieldset {
    border: 1px solid #D8D8D8;
    background-color: #F4F4F4;
    padding: 20px 15px;
}
.form fieldset .row {
    padding: 3px 0px;
    clear: left;
}
.form fieldset label {
    color: #42688A;
    float: left;
    width: 200px;
    font-weight: bolder;
}

/** Table in user content **/

table.tabulka {
    border-collapse: collapse;
}

table.tabulka td {
    border: 1px solid #004890;
    padding: 2px 4px;
    color: #004892;
}


/** Sitemap **/

#content ul#sitemap {
    margin: 0;
    padding: 0 20px;
}

#content ul#sitemap li {
    margin: 5px 0 0 0;
    padding: 0;
    list-style: square;
    color: #6E9D2B;
}

#content ul#sitemap ul {
    margin: 0 0 0 20px;
    padding: 0;
}

#content ul#sitemap li h3, #content ul#sitemap li h4, #content ul#sitemap li h5{
    margin: 0;
    padding: 0;
}

#content ul#sitemap li h3 a, #content ul#sitemap li h4 a, #content ul#sitemap li h5 a{
    color: #6E9D2B;
}
#right .externalLinks {
	padding: 10px;
	text-align: center;
}
#right .externalLinks a {
	margin-bottom: 15px;
	display: block;
}

