* {
    font-family: 'Roboto';
}

body {
    background: #FFF;
}

ul.menu {
    list-style: none;
}

a {
    text-decoration: none;
}

.no-pl {
    padding-left: 0;
}

.no-pr {
    padding-right: 0;
}

.table-bordered, .table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border: unset;
}

/*
 * HEADER
 */
.header{
    background: #FFF;
    width: 100%;
    position: fixed;
    z-index: 11;
}
.header .container {
    padding: 20px 0;
}

.header .image {
    float: left;
}
.header .image img {
    height: 80px;
}

.header .menu {
    float: right;
    margin: 0;
    padding: 0;
    margin-top: 20px;
}
.header #block_1.menu > li { 
    float: left; 
    position: relative; 
    line-height: 20px;
    text-align: center; 
    padding: 10px 30px;
    background-color: transparent;
    transition: all 0.5s ease 0.5s;
}
.header #block_1.menu > li > a { 
    color:#333; 
    font-weight: bold; 
    text-decoration: none;
    text-transform: uppercase;
}
.header #block_1.menu > li:hover { 
    background-color:lightgray; 
    transition: all 0s ease 0s;
}
.header #block_1.menu > li > ul { 
    position: absolute; 
    top: 40px; 
    left: 0; 
    background-color: lightgray;
    overflow: hidden; 
    max-height: 0; 
    padding: 0;
    transition: max-height 0.5s ease 0s; 
    width: 100%;
}
.header #block_1.menu > li > ul > li:first-child {
    padding-top: 5px;
}
.header #block_1.menu > li > ul > li:last-child {
    padding-bottom: 5px;
}
.header #block_1.menu > li > ul > li { 
    list-style: none; 
    padding: 8px 10px;
}
.header #block_1.menu > li > ul > li > a { 
    color:#333; 
}
.header #block_1.menu > li:hover > ul { 
    max-height: 500px;
}
.header #block_1.menu > li > ul > li:hover > a { 
    color:#F58A1F; 
    text-decoration:underline; 
    text-decoration-color:#F58A1F;
}
.header #block_1.menu > li.active > a {
    color:#F58A1F!important;
}
.header .menuMobile {
    float: right;
    margin-top: 66px;
    display: none;
}

.header #block_10.menu > li { 
    float: right; 
    position: relative; 
    line-height: 20px;
    text-align: center; 
    transition: all 0.5s ease 0.5s;
    margin-left: 10px;
}
.header #block_10.menu > li a {
    padding-top: 8px;
    display: block;
}
.header #block_10.menu > li img {
    height: 20px;
}

@media all and ( max-width: 950px)
{
    #menu{
        padding-right:0px!important;
    }

    .menuMobile{
        margin-left: 20px!important;
        margin-right: 20px;
    }

    .content .body{
        /*column-count: 1!important;
        column-gap: 0px!important;*/
    }

    .ficha_militante{
        width: 190px;
    }

    #menu #block_8{
        padding: 50px 0px 20px 20px;
    }

    #menu #block_8 > a > img{
        width:100px;
    }

    #home .content #block_5 {
        padding: 20px 40px 20px 40px!important;
    }

    .content{
        padding: 20px 40px 20px 40px!important;
    }

    .footer{
        padding: 20px 40px 20px 40px!important;
    }

    .footer .container > div {
        width:100%!important;
        padding-bottom: 20px;
    }

    .footer .map {
        padding-right:0!important;
        margin-bottom: 20px;
    }

    .attachment_icon, .jsd_icon, .boletim, .boletim_icon{
        margin-left: 40px!important;
    }
}

@media all and ( max-width: 1193px)
{
    .header .menuMobile{
        display:block;
        float:right;
        margin-right: 20px;
        margin-top: 40px;
        text-decoration: none!important;
        cursor:pointer;
    }

    .menuMobile:before{
        content: "\f0c9";
        font-family: FontAwesome;
        font-size: 24px;
        font-weight: bold;
        color: #333;
    }

    .menuMobile.active ~ .menuMobileWatermark{
        position: absolute;
        width: 100%;
        height: 200vh;
        background: rgba(0 ,0 ,0 ,0.5);
        transition: background 0.5s ease 0s;
    }

    .header #block_1.menu{
        height: calc( 100vh + 250px );
        width: 200px;
        background: #f1f1f1;
        position: absolute;
        right: 0;
        margin-right: -200px;
        top: 0;
        padding: 5px 0 0 0;
        transition: margin-right 0.5s ease 0s;
        margin-top: 0;
    }
    .header #block_1.menu > li {
        float: unset;
        text-align: center;
    }

    .header #block_1.menu > li > ul{
        position: unset;
    }

    .menuMobile.active ~ .container .menu{
        margin-right: 0px!important;
    }

    #menu .menu > li { float: left; list-style: none; position: relative; line-height: 20px; width:200px;text-align:center; padding: 10px 0px 10px 0px; background-color:transparent;
        transition: all 0.5s ease 0.5s}
    #menu .menu > li > a{ color:#333; font-weight: bold; text-decoration: none;}
    #menu .menu > li:hover { background-color:lightgray; transition: all 0s ease 0s}
    #menu .menu > li > ul { position: relative; left: 0; background-color: lightgray;overflow: hidden; max-height: 0; padding:0; transition: max-height 0.5s ease 0s; width: 200px}
    #menu .menu > li > ul > li {  list-style: none; padding: 5px 10px 5px 10px; }
    #menu .menu > li > ul > li > a { color:#333; }

    #menu .menu > li:hover > ul { max-height: 500px;}
    #menu .menu > li > ul > li:hover > a { color:#F58A1F; text-decoration:underline; text-decoration-color:#F58A1F;}
    #menu .menu > li.active > a{
        color:#F58A1F!important;
    }

    /*HOME RESPONSIVE*/
    #home .content{
        padding:0!important;
    }

    #home .content .object {
        width:100%!important;
        padding: 0px 0px 0px 0px!important;
    }

    #home .content #block_3 {
        margin-left: 40px;
    }

    #home .content #block_4 a {
        margin-right: 40px;
    }

    .object_type_2 .content .object {
        width:100%!important;
        padding: 0px 0px 0px 0px!important;
    }

    .object_type_2 .content #block_14 {
        padding:0px!important;
    }
}

@media all and (max-width: 439px){
    #home .content #block_4 a{
        float: left!important;
        text-align: left!important;
        margin-left: 40px;
        margin-top: 10px;
    }
}

/*
 * SLIDESHOW
 */
.objects.slideshow > div {
    height: 100%;
    position: relative;
}

.slideshow .imageBg {
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 400px;
}

.slideshow .prev {
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0px;
    left: 40px;
    border: none;

    background-image: url(../img/seta_esq.png);
    background-color: transparent;
    width: 23px;
    height: 25px;

    /*height: 60px;
    width:40px;
    background-color: #000000c9;
    opacity: 0.7;
    border-radius: 5px;*/
}

.slideshow .next {
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0px;
    right: 40px;
    border: none;

    background-image: url(../img/seta_dir.png);
    background-color: transparent;
    width: 23px;
    height: 25px;

    /*height: 60px;
    width:40px;
    background-color: #000000c9;
    opacity: 0.7;
    border-radius: 5px;*/
}

/*.slideshow .next:before {
    content: "\F105";
    font-family: FontAwesome;
    font-size: 30px;
    font-weight: bold;
    color: gray;
}

.slideshow .prev:before {
    content: "\F104";
    font-family: FontAwesome;
    font-size: 30px;
    font-weight: bold;
    color: gray;
}*/

.slideshow .next:focus, .slideshow .prev:focus {
    outline:none;
}

.res { 
    height: 120px;
}

.content-slideshow {
    width: 100%;
    height: 404px;
    border-bottom: solid 4px #F58A1F;
    position: relative;
}
.content-slideshow::before {
    content: "";
    background-image: url(../img/triangulos.png);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 109px;
    height: 67px;
    z-index: 10;
}

.content-slideshow img {
    max-height: 100%;
    max-width: 100%;
}

/*
 * CONTENT
 */
.content {
    padding: 20px 0;
}

/*HOME*/
#home .content #block_3 {
    color: #F58A1F;
    font-size: 24px;
    font-weight: 700;
    float: left;
    padding-left: 30px;
    position: relative;
}
#home .content #block_3::before {
    content: "";
    background-image: url(../img/seta_dir.png);
    width: 23px;
    height: 25px;
    display: block;
    position: absolute;
    left: 0;
    top: 5px;
}

#home .content #block_4 {
    border-bottom: 1px solid #F58A1F;
    float: right;
    text-align: right;
    margin-top: 8px;
}
#home .content #block_4 a {
    color: #F58A1F;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

#home .content .objects {
    content: "";
    display: table;
    clear: both;
    padding-top: 20px;
    width: 100%;
}
#home .content .object {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}
#home .content .objects .left {
    position: relative;
}
#home .content .objects .left .image {
    width: 100%;
}
#home .content .objects .left .image, #home .content .objects .left .image img {
    width: 100%;
}
#home .content .objects .left .info {
    background-color: #F58A1F;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
    margin-top: -40px;
    position: relative;
}
#home .content .objects .left .info::before {
    content: "";
    background-image: url(../img/triangulos.png);
    position: absolute;
    top: -67px;
    left: 0;
    width: 109px;
    height: 67px;
}
#home .content .objects .left .name {
    color: #FFF;
    font-size: 20px;
    font-weight: 700;
    padding: 0;
}
#home .content .objects .left .more {
    margin-top: 20px;
}
#home .content .objects .left .more a {
    color: #FFF;
    text-decoration: underline;
}

#home .content .objects .right .imageBg {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
}
#home .content .objects .right .info {
    background-color: #f1f1f1;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
    margin-top: -20px;
    position: relative;
    border-top: 2px solid #F58A1F;
}
/* #home .content .objects .right .info::before {
    content: "";
    background-image: url(../img/triangulos.png);
    position: absolute;
    top: -50px;
    left: 0;
    width: 80px;
    height: 50px;
    background-size: contain;
} */
#home .content .objects .right .name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding: 0;
}
#home .content .objects .right .more{
    margin-top: 20px;
}
#home .content .objects .right .more a {
    color: #F58A1F;
    text-decoration: underline;
}

/*GENERIC LIST*/
.block_page.invisible {
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.block_page {
    clear: both;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.5s linear;
}

.content .name, .content .title {
    color:#F58A1F;
    font-weight:900;
    font-size:22px;
    padding-top: 20px;
}

.content .date {
    padding-bottom: 20px;
    color:gray;
    text-decoration: underline;
    text-decoration-color: gray;
    font-size: 12px;
    display: none;
}
body#noticias-e-eventos .content .date {
    display: block;
}

.content .body {
    /*column-count: 2;
    column-gap: 40px;*/
    margin-top: 20px;
}
.content .body table {
    width: 100%;
}
.content .body table td {
    width: 50%;
}
.content .body table td:nth-child(odd) {
    padding-right: 10px;
}
.content .body table td:nth-child(even) {
    padding-left: 10px;
}

.content .attachments {
    display: block;
    clear: both;
    margin: 20px 0;
}
.content .attachments a {
    padding: 5px;
    border-left: 1px solid #F58A1F;
    border-bottom: 1px solid #F58A1F;
    padding-left: 33px;
    position: relative;
    color: #333;
    padding-right: 25px;
    padding-top: 10px;
}
.content .attachments > div {
    padding: 0;
}
.content .attachments:after {
    content: '';
    display: block;
    clear: both;
}
.content .attachments a::before {
    content: "";
    background-image: url(../img/attachment.png);
    width: 23px;
    height: 21px;
    position: absolute;
    left: 5px;
    top: 4px;
    background-size: cover;
}

.boletim {
    color:#F58A1F;
    padding-top: 20px;
    margin-left: 80px;
}

.boletim_icon img {
    margin-top:10px;
    width:50px;
    margin-bottom:80px;
}

.boletim_icon {
    margin-left: 80px;
}

.attachment_icon {
    display: inline-block;
    padding: 10px;
    border-left: solid orange 1px;
    border-bottom: solid orange 1px;
    margin-left: 80px;
}

.attachment_icon img {
    width: 20px;
}

.ficha_militante {
    display: inline-block;
    border-bottom: solid orange 1px;
    margin-bottom: 80px;
}

.jsd_icon {
    margin: 20px 0px 20px 80px;
}

/**NOTICIAS E EVENTOS*/
.object_type_2 .content #block_14 {
    content: "";
    clear: both;
    dispaly: block;
}

.object_type_2 .content .object {
    width: 50%;
    float: left;
}
.object_type_2 .content .block_page > div:nth-child(odd) {
    padding-right: 10px;
}
.object_type_2 .content .block_page > div:nth-child(even) {
    padding-left: 10px;
}

.object_type_2 .content .imageBg {
    background-size: cover;
    background-position: center center;
    width: 100%;
    height:200px;
}

.object_type_2 .content .description {
    height: 200px;
    text-overflow: ellipsis;
    overflow-y: hidden;
    column-count: unset;
}

.object_type_2 .content .name {
    color:#F58A1F;
    font-size:18px;
    padding:10px 0px 10px 0px;
    font-weight: 100;
}

.object_type_2 .content .date {
    color:gray;
    text-decoration: underline;
    text-decoration-color: gray;
    font-size:12px;
}

.object_type_2 .content .more a {
    text-decoration: underline;
    text-decoration-color: #F58A1F;
    color: #F58A1F;
}

.object_type_2 .content .more {
    padding: 20px 0;
}

.object_type_2 .content .image-background {
    background-size: cover;
    width: 100%;
    height: 300px;
}

/*
 * FOOTER
 */
.footer {
    background: #f1f1f1;
    display: table;
    clear: both;
    width: 100%;
    padding: 40px 0;
}
.footer .container > div {
    float: left;
}
.footer .objects {
    width: 35%;
}
.footer .map {
    height: 200px;
    padding-right: 40px;
}

.footer .text {
    width: 25%;
}
.footer .forms {
    width: 40%;
}

.footer .button {
    color: #F58A1F;
    background: #333;
    border: unset;
    float:right;
    margin-top: 10px;
    padding:5px 10px 5px 10px;
}

.footer input {
    width:100%;
    border: unset;
    padding: 5px 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #F58A1F;
}

.footer input::placeholder {
    color:#F58A1F;
}

.content .button::after {
    content: "Subscrever";
}

.name.name.form-field::before {
    content: "Newsletter";
    font-weight: bold;
}

.footer label, .error_description, .message.success {
    display: none;
}

.footer .g-recaptcha {
    position: absolute;
}

/**EXCEÇÕES/OUTROS*/
#object_type_3 .date, #object_type_14 .date, #object_type_10 .date, #object_type_15 .date{
    display:none;
}

#object_type_3 .content .body, #object_type_14 .content .body{
    /*column-count: 1;*/
    margin-top: 20px;
}

.form-field.error > input {
    border: solid 2px red;
}

.facebook-share{
    content: url(http://psd.staging.fyi.pt/files/share_fb.png);
    margin: 20px 5px;
    cursor: pointer;
    display:inline-block;
}

.twitter-share{
    content: url(http://psd.staging.fyi.pt/files/share_twitter.png);
    margin: 20px 5px;
    cursor: pointer;
    display:inline-block;
}

.print-el{
    content: url(http://psd.staging.fyi.pt/files/print.png);
    margin: 20px 5px;
    cursor: pointer;
    display:inline-block;
}

.button.submit.disabled{
    cursor:not-allowed;
    pointer-events: none;
}

/*PAGINATION*/
.pagination::before {
    clear: both;
    display: block;
}
.pagination {
    padding-left: 0;
    margin: 40px auto;
    border-radius: 4px;
    display: block;
    text-align: center;
}
.pagination a {
    cursor: pointer;
    color: #333;
}

.page_el {
    text-align: center;
    display: inline-block;
    position: relative;
    top: -4px;
    font-size: 14px;
    font-weight: bold;
    width: 25px;
    border: 1px solid #333;
    color: #333;
}
.page_el.active {
    border: 1px solid #f58a1f;
    background: #f58a1f;
    color: #FFF;
}

.first_page {
    font-size: 30px;
    content: "<<"; /*url(http://psd.staging.fyi.pt/files/nav_start.png);*/
}

.last_page {
    font-size: 30px;
    content: ">>"; /*url(http://psd.staging.fyi.pt/files/nav_end.png);*/
}

.previous_page {
    margin: 0px 5px;
    font-size: 25px;
    content: "<"; /*url(http://psd.staging.fyi.pt/files/nav_previous.png);*/
}

.next_page {
    margin: 0px 5px;
    font-size: 25px;
    content: ">"; /* url(http://psd.staging.fyi.pt/files/nav_next.png);*/
}

/*CAPTCHA STYLING*/
@media all and (max-width: 399px){

    .footer .g-recaptcha{
        width: 100px;
        transform: scale(0.75);
        transform-origin: 0 0;
    }

}
@media all and (max-width: 510px){
.button-submit{
    margin-top: 100px;
}
}