/* Fonts */
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700,600');

/* Layout */
a,
a:link,
a:visited,
a:active,
a:hover,
a:focus {
    color: #487629;
}
a:link,
a:visited,
a:active{
    text-decoration: none;
}
a:hover,
a:focus {
    text-decoration: underline;
}

.clearer{
    display: block;
    clear: both;
    content: " ";
    height: 0;
    overflow: hidden;
}

.fleft{
    float: left;
}

.fright{
    float: right;
}

p {
    font-size: 1rem;
    line-height: 1.8rem;
}

small-text {
    font-size: 0.92rem;
}

/* headers */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight:bold;
}

/* Text meant only for screen readers */
#wpadminbar .screen-reader-text,
.screen-reader-text {
    position: absolute;
    left: -9000px;
}

html, body{
    font-family: 'Open Sans', sans-serif;
    /*font-size: 14px;*/
    color: #6D6E71;
    background-color: #FFFFFF;
    line-height: 18px;
    vertical-align: middle;
    font-size: 13px;
}

#header{
    background: url('../images/BannerPPM20.png') center center no-repeat;
    background-size: cover;
    height: 450px;
}

#tema .row {
    padding: 15px 200px;
}

@media only screen and (min-width: 980px) and (max-width: 1300px) {
    #header{
        height: 345px;
    }
}

@media only screen and (min-width: 641px) and (max-width: 979px){
    #header{
        height: 220px;
    }
    
    #tema .row {
        padding: 10px 0;
    }
}

@media only screen and (min-width: 421px) and (max-width: 640px){
    #header{
        height: 140px;
    }
    
    #tema .row {
        padding: 10px 0;
    }
}

@media only screen and (max-width: 420px) {
    #header{
        height: 100px;
    }
    
    #tema .row {
        padding: 10px 0;
    }
}





#header,
#content-wrapper{
    background-color: #FFFFFF;
}

#logo-container{
    padding-top: 15px;
}

#logo-container h1{
    margin: 0;
}


#logo-container h1,
#logo-container h1 a{
    font-size: 1rem;
    line-height: 1.5rem;
    vertical-align: top;
}
#logo{
/*
    background: transparent url('../images/logo.png') top left no-repeat;
    width: 275px;
    height: 193px;
*/
    display: block;
}
#menus{
    background: #FFFFFF;
    border-bottom: 1px solid #808285;
    font-size: 1.0rem;
    margin-bottom: 0px;
    border-radius: 0px;
}

#content-wrapper{
    padding: 35px 0 0px;
}

#content-wrapper .contentarea{
    position: relative;
}

#footer{
    background-color: #e6e7e8;
    text-align: left;
    color: #6D6E71;
    font-size: 0.8rem;
    padding-top: 20px;
}

#footer a{
    color: #6D6E71;
}

#footer p{
    margin:0;
    line-height: 1.4rem;
}

#footer h3{
    font-size: 1.46rem;
}

#footer h4{
    font-size: 1rem;
    font-weight: 600;
    margin:4px 0;
}

#about,
#credits{
    margin-top:10px;
    text-align: right;
    padding-right: 15px;
}

#regulamento h3 {
    font-size:1.25rem;
    margin-bottom:5px;
    margin-top:45px;
}

#regulamento h4 {
    font-size:1.1rem;
    font-weight: normal;
    font-style: italic;
    margin-bottom:20px;
    margin-top:5px;
}

/*
#about{
    padding-right: 18px;
}*/

.footer-sidebar .widget_links ul,
.footer-sidebar .widget_links ul li{
    float: left;
}

.footer-sidebar .widget_links ul{
    list-style: none;
}
.footer-sidebar .widget_links ul li{
    margin: 0 20px 0 0;
}

.footer-sidebar .widget_links .widget-title{
    display: none;
}

#siteoverlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}


/* menu */
.navbar,
.navbar-default {
    border:none;
}

#access ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
#access .menu-header li,
div.menu li {
    float: left;
    position: relative;
    margin: 0;
    padding: 0;
}

#access ul.navbar-nav > li{
    padding-left: 2px;
    margin-top: 2px;
    white-space: nowrap;
}

@media (min-width: 768px){
    #access ul.navbar-nav {
        float:none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
    }
}

#access ul.navbar-nav > li:first-child{
    padding-left: 0;
    background: none;
}

#access a {
    display: block;
    padding: 0 20px;
    margin: 0;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 3.8em;
    border: 1px solid transparent;
    font-family: 'Open Sans', sans-serif;
    font-weight:600;
    background-color: transparent;
}
#access ul ul {
    border: 1px solid #3D3C3E;
    margin-left: 1px;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    position: absolute;
    top: 4em;
    left: 0;
    float: left;
    z-index: 10;
    white-space: normal;
}


#access ul ul li {
    border-bottom: 1px solid #3D3C3E;
    white-space: normal;
    margin: 0;
}
#access ul ul ul {
    left: 100%;
    top: -1px;
}
#access ul ul a {
    width: 15em;
    color: #FFFFFF;
    background-color: #232124;
    line-height: 1.5em;
    padding: 15px 10px 10px;
    height: auto;
    text-transform: none;
    font-weight: normal;
}


#access ul li ul{
    /*display: none;*/
    left: -1000em;
}

#access ul li.show-menu > ul,
#access ul li:hover > ul {
    /*display: block;*/
    left: 0;
}

#access ul li.show-menu > ul li.show-menu > ul,
#access ul li:hover > ul li:hover > ul{
    left: 100%;
}

#access ul li a:hover,
#access ul li a:focus,
#access ul li.show-menu > a,
#access ul li:hover > a,
* html #access ul li a:hover {
    color: #ffd90c;
}

#access ul li.current_page_item > a,
#access ul li.current_page_ancestor > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a,
* html #access ul li.current_page_item a,
* html #access ul li.current_page_ancestor a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a{
    color: #ffd90c;
}

#access div.menu > ul > li {
    padding-right: 4px;
    margin-left: 0px;
}

#access .vertical-submenu-indicator {
    display: inline-block;
    width: 30px;
    height: 20px;
    position: absolute;
    top: 1.10em;
    background: url('../images/menu-toggle.png') center -20px no-repeat;
}

#access .show-menu .vertical-submenu-indicator{
    top: 1.5em;
}

/* language bar */
.langbar{
}
.langbar ul{
    list-style: none;
}
.langbar ul li{
    font-size: 0.8em;
    margin: 1px 0 0;
    float: left;
    line-height: 3.8em;
}

.langbar ul li:before{
    content: "|";
    margin: 0 5px;
}

.langbar ul li:first-child:before{
    content: "";
    margin: 0;
}

.langbar ul li,
.langbar ul li a,
.langbar ul li a:visited,
.langbar ul li a:link{
    color: #322F31;
}
.langbar ul li a,
.langbar ul li a:visited,
.langbar ul li a:link{
    text-decoration: underline;
}

.langbar ul li.active a,
.langbar ul li.current a{
    font-weight: bold;
}


/* sidebar */
.sidebar{
    width: 240px;
    position: absolute;
    top: 0;
    right: 0;
}

.with-sidebar.right{
    width: 675px;
}

/* sidebar widgets */
.sidebar-widget{
    margin-bottom: 30px;
}
.sidebar-widget .widget-title{
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: normal;
    vertical-align: middle;
    white-space: nowrap;
}
.boxtitle,
.sidebar-widget .widget-title{
    padding: 0 20px;
}

.sidebar-widget > div,
.sidebar-widget > ul{
    padding: 10px 20px;
}

.sidebar-widget > div,
.sidebar-widget > ul{
    border: 1px solid transparent;
}

.sidebar-widget > ul > li{
    margin-left: 0;
}

.sidebar-widget .widget-title + div,
.sidebar-widget .widget-title + ul{
    border-top: none;
}

/* search form */
.sidebar-widget.widget_search{
    background-color: transparent;
    border: 0px none;
}

#searchform{
    padding: 0;
    margin: 24px 0;
}

#searchform #s,
#searchform #searchsubmit{
    border: 1px solid #C6C7C8;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

#searchform #s{
    border-right-style: dotted;
    width: 202px;
    height: 25px;
    float: left;
}

#searchform #searchsubmit{
    border-left: none;
    width: 36px;
    background: transparent url('../images/search.png') no-repeat center center;
    text-indent: -999%;
    line-height: 1px;
    height: 27px;
}


/* post/page content */
.box{
    background-color: #FFFFFF;
    border: 1px solid #C6C7C8;
    box-shadow: 2px 2px 10px rgba(198,199,200,0.8);
}

.highlight-image {
    padding: 0;
    margin: 10px 0;
    background-position: center center;
    background-repeat: no-repeat;
}

.entry-title,
.sidebar-widget .widget-title,
.boxtitle{
    vertical-align: middle;
    font-weight: bold;
}

.boxtitle{
    margin-top: 10px;
}

.entry-title{
    padding: 0 0 5px;
    margin: 0;
    position: relative;
    margin: 20px 0 20px;
    line-height: 1.5em;
}

.post .entry-title{
    padding: 0 0 5px;
}

.entry-title .edit-link{
    position: absolute;
    right: 20px;
    top: 0px;
    padding: 0;
    margin: 0;
}

h1.entry-title{
    font-size: 2rem;
}

h2.entry-title{
    font-size: 2rem;
    margin: 30px 20px 40px;
}

h3.entry-title{
    font-size: 1.8rem;
}

h4.entry-title{
    font-size: 1.6rem;
}

h5.entry-title{
    font-size: 1.4rem;
}

h6.entry-title{
    font-size: 1.2rem;
}

.h-text-center {
    text-align: center;
}

.list .entry-title{
    font-size: 1.2em;
    margin: 10px 0 5px;
}

.entry-title,
.entry-title a,
.entry-title a:visited,
.entry-title a:link,
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active{
    font-weight: bold;
}

.entry-title a,
.entry-title a:visited,
.entry-title a:link{
    text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active,
.entry-meta a:hover,
.entry-meta a:focus,
.entry-meta a:active{
    text-shadow: #EEEEEE 1px 1px 1px;
    text-decoration: underline;
}

.ftag,
.entry-title .ftag a,
.entry-title .ftag a:visited,
.entry-title .ftag a:link{
    font-size: 0.8em;
    font-weight: normal;
    text-transform: none;
}

.entry-meta,
.entry-meta *,
.entry-meta a,
.entry-meta a:visited,
.entry-meta a:link,
.entry-meta a:hover,
.entry-meta a:focus,
.entry-meta a:active{
    color: #A7A9AC;
    text-decoration: none;
}

.entry-meta{
    margin-top: -10px;
}

.entry-content {
    width:100%
}

.post .entry-summary,
.post .entry-content,
.boxcontent{
    padding: 0 0 10px;
}

.post .entry-summary,
.post .entry-content{
    border-bottom: 1px dotted #A7A9AC;
}

.post .entry-content{
    margin-bottom: 25px;
}

.post.last-child .entry-content{
    border-bottom: 0px none;
}

.post .entry-summary{
    margin: 0;
}

.post .entry-content h4{
    margin-top: 25px;
    text-transform: none;
}

.post:last-child > .entry-summary,
.post:last-child > .entry-content{
    border-bottom: none;
}

.entry-summary p,
.entry-content p{
    margin: 0 0 5px;
}

/* more link */
.more-link-container{
    padding-top: 10px;
    text-align: right;
}
.more-link{
    display: inline-block;
    padding: 0 10px;
    line-height: 34px;
    vertical-align: middle;
    background: #e0e1e3 url("../images/more-link.jpg") top left repeat-x;
}

.more-link,
.more-link:visited,
.more-link:link{
    color: #322F31;
}

.more-link:hover,
.more-link:focus,
.more-link:active{
    text-decoration: underline;
}

.secondary-link {
    color: #6D6E71;
}

.secondary-link:hover {
    text-decoration: underline;
}

/* comments */
#content .comments-header{
    background-color: #ECECEC;
    padding: 7px 5px 0 5px;
    vertical-align: bottom;
    margin: 0 0 15px;
}

#content .comments-header .label{
    font-weight: bold;
    background-color: #FFFFFF;
    vertical-align: bottom;
    padding: 5px;
    text-transform: none;
}

.comment-avatar-box{
    padding: 0 5px 5px 0;
}

.comment-author-name,
.comment-author-name a,
.comment-author-name a:visited,
.comment-author-name a:link,
.comment-author-name a:hover,
.comment-author-name a:focus,
.comment-author-name a:active{
    font-weight: bold;
    color: #322F31;
    text-decoration: none;
}

.comment-author-name a:hover,
.comment-author-name a:focus,
.comment-author-name a:active{
    color: #A7A9AC;
}

.comment-entry{
    border-bottom: 1px solid #322F31;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.commentlist ul.children{
    margin-left: 30px;
}

.comment-navigation{
    margin-bottom: 20px;
}

#commentform label{
    vertical-align: top;
    display: block;
}

#commentform input,
#commentform textarea{
    border: 1px solid #ECECEC;
}

#comments #respond{
    border-bottom: 1px solid #322F31;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

/* search */
.posts-list .entry-title{
    margin-bottom: 15px;
}
.posts-list .loop-posts,
.posts-list .loop-posts a,
.posts-list .loop-posts a:visited,
.posts-list .loop-posts a:link,
.posts-list .loop-posts a:hover,
.posts-list .loop-posts a:focus,
.posts-list .loop-posts a:active{
    font-weight: bold;
    text-decoration: underline;
}

.posts-list .entry-summary{
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #322F31;
}

.posts-list .highlight-image{
    margin: 0 10px 0 0;
    width: 55px;
    height: 55px;
}

.navigation,
.navigation a,
.navigation a:visited,
.navigation a:link,
.navigation a:hover,
.navigation a:focus,
.navigation a:active{
    color: #322F31;
    text-decoration: none;
}

.navigation a:hover,
.navigation a:focus,
.navigation a:active{
    color: #A7A9AC;
}


/* backoffice link */
a.authenticationLink,
a.authenticationLink,
a.authenticationLink:hover,
a.authenticationLink:active,
a.authenticationLink:focus,
a.authenticationLink:visited,
a.authenticationLink:link{
    position: absolute;
    top: -2em;
    left: 5px;
    display: block;
    width: 12px;
    height: 12px;
    background: transparent url("../images/backoffice.png") top left no-repeat;
    text-decoration: none;
    border: none;
    padding: 0;
    margin: 0;
}
a.authenticationLink.anonymous:hover,
a.authenticationLink.anonymous:focus,
a.authenticationLink.anonymous:active,
a.authenticationLink.authenticated{
    background-position: bottom left;
}

#wpadminbar .quicklinks li#wp-admin-bar-uedtheme-login > a{
    border-left: none;
    padding: 0;
    margin: 0;
}
#wpadminbar .quicklinks .site-logo{
    display: block;
    padding: 0 .8em 0 45px;
    line-height: 28px;
    min-width: 37px;
    background: transparent url("../images/admin-bar-sprite.png") center left no-repeat;
    position: relative;
}

#wpadminbar .quicklinks .site-logo img{
    position: absolute;
    top: 5px;
    left: 5px;
}

#wpadminbar .quicklinks #wp-admin-bar-uedtheme-login .ab-item.ab-empty-item{
    padding: 0;
    margin: 0;
}

#wpadminbar .quicklinks .site-logo.authenticated{

    padding: 0 .8em 0 0;
    min-width: 37px;
    line-height: 28px;

}
/* content */
.header-item,
.entry-content .header-item{
    margin: 30px 0 0;
    display: block;
    font-size: 1.5em;
}

.project .project-info-header{
    text-transform: none;
    font-size: 1em;
}

.project .featured-image{
    margin: 25px 20px 10px 0;
}

.list-featured-image{
    margin: 10px 20px 10px 0;
}

hr{
    border-top: 1px solid #ebebec;
    border-bottom: 1px solid #FFFFFF;
    margin:40px 0px 10px;
}

.text-semi-bold {
    font-weight: 600;
}

.div-sep {
    margin:10px 0px 30px;
    border-top: 1px solid #D1D3D4;
}

@media screen and (max-width: 768px) {
    #access ul.navbar-nav > li{
        padding-left: 2px;
        margin-top: 2px;
        background: transparent;
        white-space: nowrap;
    }
}

div.row-dates div {
    background: url('../images/dates_bg_center.png') center center no-repeat;
    height:18px;
}

div.row-dates div:nth-child(1){
    background: url('../images/dates_bg_left.png') -130% 50% no-repeat;
}

div.row-dates div:nth-child(4){
    background: url('../images/dates_bg_right.png') 230% 50% no-repeat;
}

@media (max-width: 1199px) {
    div.row-dates div:nth-child(1) {
        background: url('../images/dates_bg_left.png') -70% 50% no-repeat;
    }

    div.row-dates div:nth-child(4){
        background: url('../images/dates_bg_right.png') 170% 50% no-repeat;
    }
}

#normas ol{
    list-style-type: lower-alpha;
}

#normas ul{
    list-style-image: url('../images/ol_list_image.png');
}

#normas ol>li{
    margin-bottom: 1rem;
}

ul{
    list-style-image: url('../images/ol_list_image.png');
}

/* Form Manager */

.fm-form ul {
    padding-left:0;
}

.fm-form input[type="text"] {
    width: 100%;
    padding: 5px;
    border: 1px solid #d1d3d4;
}

.fm-form input.submit {
    background-color: #487629;
    color: white;
    border: none;
    float:none;
    padding:5px 15px;
}
