* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #CACFD3;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: Trebuchet MS, Verdana, Arial, sans-serif;
    font-size: 14px;
    line-height:18px;
    color: #000000;
}

a {
    font-weight: bold;
    cursor: hand;
    color: #2b3f76;
    text-decoration: none;
    font-size: 1em;
}

a:hover {
    color: #000000;
    ;
}

a img {
    border: none;
    max-width: 100%;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    background-color: #FFFFFF;
    min-height: 100vh;
}


/* HEADER COMPONENT */

.header {
    padding: 12px;
}

.header__navigation {
    vertical-align: middle;
    background-color: #d3d7da;
    padding: 6px 12px;
    margin: 12px 0 6px 0;
}

@media only screen and (max-width: 639px) {
    .header__navigation {
        display: none;
    }
}

.header__navigation--link {
    color: #6d6e71;
    font-weight: bold;
    cursor: hand;
    text-decoration: none;
}

.header__navigation--link:after {
    content: '|';
    margin: 0 9px;
}

.header__navigation--link:last-child:after {
    content: '';
}

.header__navigation--link:hover {
    color: #000000;
}

.header__navigation--link-image {
    position: relative;
    top: 2px;
}

@media only screen and (max-width: 1080px) {
    .header__logo,
    .header__search {
        max-width: 100%!important;
        width: 100%;
        text-align: center;
    }
}

.body {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: #FFFFFF;
}


/* COLUMN 1 */

.column--1 {
    flex: 0 0 20%;
    max-width: 20%;
    background-color: #F0F0F0;
    border-right: 1px solid #000000;
}

@media only screen and (max-width: 639px) {
    .column--1 {
        flex: 0 0 100%;
        max-width: 100%;
        order: 2;
    }
}

.sidebar {
    padding: 0 12px;
}

.sidebar__title {
    background-color: #2b3f76;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
    padding: 6px 12px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sidebar__item {
    padding: 12px 12px 12px 0;
    border-bottom: 1px dotted #999999;
}

.sidebar__link {
    color: #2b3f76;
}


/* COLUMN 2 */

.column--2 {
    flex: 1 0 100%;
    max-width: 100%;
    background-color: #FFFFFF;
}

@media only screen and (max-width: 639px) {
    .column--2 {
        order: 1;
    }
}

@media only screen and (min-width: 640px) {
    .column--2 {
        flex: 1 0 80%;
        max-width: 80%;
    }
}

@media only screen and (min-width: 768px) {
    .column--2 {
        flex: 1 0 50%;
        max-width: 50%;
    }
}

@media only screen and (min-width: 1024px) {
    .column--2 {
        flex: 1 0 55%;
        max-width: 55%;
    }
}

.column--2 .content {
    padding: 0 24px 24px 24px;
    word-break: break-word;
}
.content p {
    word-break: break-word;
}

.homepage--ad {
    clear: both;
    display: block;
    width: 100%;
    border-top: 1px dotted #999999;
    padding: 12px 0;
    text-align: center;
}

.homepage--ad img {
    max-width: 100%;
}

.column--2 .ad img {
    max-width: 100%;
}

.article__highlight {
    border-top: 1px dotted #999999;
    padding: 12px 0;
    clear: both;
}

.article__title {
    font-size: 18px;
    line-height:24px;
    margin-bottom: 12px;
}

.seccao {
    padding: 0 0 12px 0;
    margin:0 0 12px 0;
    border-bottom: 1px dotted #000000;
}

.titulo {
    font-size: 20px;
    line-height:26px;
    color: #2b3f76;
    font-weight:bold;
    padding: 12px 0 24px 0;
}

.article__intro {
    font-size: 14px;
    /* NOTHING FOR NOW */
}

.article__intro--published {
    font-size: 0.9em;
    margin-top: 6px;
}

.article__image {
    min-width:230px;
    max-width:50%;
    margin: 0 0 24px 24px;
    border: 2px solid lightgrey;
}

.article__media {
    border: 2px solid LightGrey;
    text-align: right;
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
    max-width: 50%;
    max-height: 300px;
}

.article__media--photo {
    float: right;
    width: auto;
    max-height:300px;
    max-width:100%;
}


/* COLUMN 3 */

.column--3 {
    flex: 1 0 25%;
    max-width: 25%;
    background-color: #F0F0F0;
    border-left: 1px solid #000000;
}

@media only screen and (max-width: 767px) {
    .column--3 {
        display: none;
    }
}

@media only screen and (min-width: 1024px) {
    .column--3 {
        flex: 1 0 25%;
        max-width: 25%;
    }
}

.sidebar--right {
    /* max-width: 300px;*/
    /* NOTHING FOR NOW */
}

.sidebar--right .ad {
    max-width: 100%;
    width:100%
}

.sidebar--right .ad .ad__title {
    background-color: #3b3c3e;
    text-align: right;
    color: #FFFFFF;
    font-weight: bold;
    padding: 6px;
}

.sidebar--right .ad .ad__title a {
    color: #FFFFFF;
}

.sidebar--right .ad .ad__title a:hover {
    color: #DDDDDD;
}

.sidebar--right .ad .ad__content {
    /* NOTHING FOR NOW */
    line-height: 0;
    text-align: center;
}

.sidebar--right .ad .ad__content.ad__content--white {
    background-color: #FFFFFF;
    line-height: inherit;
}

.sidebar--right .ad .ad__content img {
    max-width: 100%;
    width:100%
}

.ad__content--link {
    text-align: left;
    display: block;
    line-height: 1em;
    color: #000000;
    padding: 12px;
    border-top: 1px dotted #999999;
}

.ad__content--link:first-child {
    border-top: none;
}

.slideshow {
    /* NOTHING FOR NOW */
    line-height: 0;
}

.slideshow__title {
    background-color: #2b3f76;
    text-align: center;
    padding: 12px;
    color: white;
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
}

.slideshow__media {
    max-width: 100%;
    min-height: 225px;
    overflow: hidden;
    border: none;
}

.print_only {
    display:none;
}

@media print {

    .header__pub, 
    .header__search,
    .header__navigation,
    .column--1,
    .column--3,
    .printpage,
    .post-article,
    iframe
    {
        display:none;
    }

    .header__logo {
       width:100%
    }

    .article__image {
        max-width: 100%;
        min-height: 150px;
        max-height: 250px;
	width: auto;
        display:block;
        float:none;
        text-align:center;
        margin: 30px auto;
        padding:0;
    }

    .print_only {
        display:block;
    }
}