/******************* CMS DEFAUTS **********************/

/******************* CMS POSTS ***********************/
.cms-widget article p {
    font: 400 14px/24px arial;
    color: #555;
}
/****POSTS1****/
.cms-widget.cms-widget--posts1{
    position: relative;
}
.cms-widget.cms-widget--posts1 #articles{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
.cms-widget.cms-widget--posts1 article{
    margin: 10px;
    padding-bottom: 5px;
    width: 100%;
}
.cms-widget.cms-widget--posts1 article:not(:first-child){
    flex: 1 1 45%;
}
.cms-widget.cms-widget--posts1 .article-title{
    margin: 10px 0px 3px 0px;
    text-transform: uppercase;
    font: 700 16px/28px Arial;
}
.cms-widget.cms-widget--posts1 .article__body {
    max-height: 100px;
    margin-top: 12px;
    margin-bottom: 5px;
    position: relative;
    overflow-y: hidden;
}
.cms-widget article p {
    margin-top: -5px;
}
.cms-widget.cms-widget--posts1 .read-more { 
    width: 50%;
    position: relative;
    bottom: 10px;
    padding: 5px 75px;
    border: 1px solid #dcdcdc;
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #003087;
    font: 700 13px Lato,Tahoma,sans-serif;
    text-transform: uppercase;
    text-decoration:none;
    cursor: pointer;
    text-align: center;
} 
.cms-widget.cms-widget--posts1 .read-more-trans {
    transition: color 0.3s ease-in 0s;
}
.cms-widget.cms-widget--posts1 #cms-posts-popup-wrapper{
    width: 100%;
    position: absolute;
    top: -250px;
    margin: 0px;
    z-index: 1001;
}
.cms-widget.cms-widget--posts1 #cms-posts-popup .article-wrapper{
    height: 90%;
    overflow-y: scroll;
}
.cms-widget.cms-widget--posts1 #cms-posts-popup-wrapper .article__body{
    max-height: none;
}
.cms-widget.cms-widget--posts1 #cms-posts-popup{
    width: 85%;
    height: 80vh;
    position: relative;
    visibility: hidden;
    padding: 1px 4px;
    margin: auto;
    background-color: #EEE;
    display: none; 
}
#cms-posts-popup .fadeout{
    display: none;
}
.cms-widget.cms-widget--posts1 #cms-posts-popup .read-more{
    display: none;
}
@media screen and (max-width: 990px) {    
    .cms-widget.cms-widget--posts1 #cms-posts-popup{
        width: 85%;
    }
    .cms-widget.cms-widget--posts1 #cms-posts-popup .article-title {
        margin: 2px;
        padding: 0px 40px;
        font-size: 1.25rem;
    }

    .cms-widget.cms-widget--posts1 #cms-posts-popup .article__body {
        padding: 0px 40px;
    }
}
/****END POSTS1****/
/****POSTS2****/
.cms-widget.cms-widget--posts2 #article-cover{
    display: none;
    background-color: white;
    height: auto;
    width: 100%;
}
.cms-widget.cms-widget--posts2 #article-cover #article-cover__header{
    text-align: center;
    color: #0033a0;
    cursor: pointer;
}
.cms-widget.cms-widget--posts2 #article-cover .fadeout{
    display: none;
}
.cms-widget.cms-widget--posts2 #article-cover .article__body{
    height: auto;
}
.cms-widget.cms-widget--posts2 article{
    padding: 4px 8px;
}
.cms-widget.cms-widget--posts2 .post-image{
    display: none;
}
.cms-widget.cms-widget--posts2 .article__body{
    height: 120px;
    position: relative;
    overflow-y: hidden;
}
.cms-widget.cms-widget--posts2 .article-title{
    margin: 10px 0px 3px 0px;
    font: 700 16px/14px Arial;
    color: #0033a0;
    cursor: pointer;
}
.cms-widget article p {
    font: 400 14px/18px arial;
    color: #555;
}
.cms-widget.cms-widget--posts2 .post-time{
    font: 700 14px/14px Arial;
    color: #0033a0;
    font: italic;
    float: right;
}
/******************* CMS CONTENT BLOCK ***********************/
.cms-widget.cms-widget--contentBlock1 .cb-title{
    font-family: "Lato", "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif; font-weight: bold;
}
/********************** CMS ADS **************************/
.cms-widget.cms-widget--ads {
}
/******************* CMS GALLERY WIDGET ***********************/
.cms-widget.cms-widget--gallery1 .btn.prev {
    left: 5px;
    z-index: 104;
    background-image: url(/images/arrow_left.svg);
    background-position: -10px 3px;
}
.cms-widget.cms-widget--gallery1 .btn.next {
    right: 5px;
    z-index: 105;
    background-image: url(/images/arrow_right.svg);
    background-position: -4px 3px;
}
.cms-widget.cms-widget--gallery1 .btn {
    width: 39px;
    height: 39px;
    background: rgba(255,255,255,.2) no-repeat;
    background-size: 50px 30px;
    position: absolute;
    bottom: 45%;
    cursor: pointer;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.5);
    transition: background-color .4s, border .4s;
}