/** AXC Button style for link **/
a.btn{
    display:inline-block;
    padding-top:10px;
    text-align:center;
    width:100%;
    text-transform:uppercase;
    background-color:#009ed7;
    border:none;
    border-radius:8px;
    color:#FFF !important;
    font-family:'opensans';
    text-decoration:none;
    font-size:14px;
    height:30px;
    margin-right:15px;
    overflow: hidden;
    position: relative;
    width:180px;
}
a.btn:after{
    background-color: #FFF;
    content: '';
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transition: all 0.3s;
    -ms-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    width: 100%;
    z-index: -1;
}
a.btn:hover, .btn:active{
    color: #009ed7 !important;
    z-index: 0;
    text-decoration:none !important;
}
a.btn:hover:after{
    height: 290%;
    opacity: 1;
}
a.btn:active:after{
    height: 400%;
    opacity: 1;
}

/* AXC Publications */

#contenu a.publicationLink{
    display:block;
    width:100%;
    margin-bottom:5%;
    padding-top:0;
    padding-bottom:3%;
    border:1px solid #009ed7;
}
#contenu a.publicationLink:hover{
    text-decoration: none;
    border:1px solid #f78e1e;
}

#contenu .publications .publicationTitle {
    padding:3%;
}
#contenu .publications h4 {
    font-family: 'opensans';
    font-size:2em;
    margin-bottom: -5%;
}

#contenu .publications img {
    width:100%;
    height:200px;
    object-fit: cover;
}
#contenu .publications .publicationExcerpt {
    padding:3%;
    margin-bottom:-3%;
}
#contenu .publications time {
    padding:3%;
    font-size: 0.9em;
    font-family: 'opensans';
}

/** contenu single **/
#contenu.contenuSingle .singlePosteBackToPublications {
    margin-bottom:2%;
}

#contenu.contenuSingle .attachment-post-thumbnail {
    margin-bottom:2%;
}

#contenu.contenuSingle h1 {
    display: block;
    font-family: 'opensans';
    font-size:2em;
    color:#009ed7;

    margin-bottom:2%;
}
#contenu.contenuSingle time {
    display: block;
    font-size: 0.9em;
    font-family: 'opensans';
    margin-bottom:2%;
}
#share-buttons {
    padding-bottom:5%;
    padding-top:5%;
}
#share-buttons img {
    width: 35px;
    padding: 5px;
    border: 0;
    box-shadow: 0;
    display: inline;
}
#share-buttons a:hover {
    text-decoration: none !important;
}
#share-buttons.share-top {
    padding: 0;
    margin-bottom: 2%;
}
#share-buttons.share-bottom img {
    height:auto;
    width:25px;
}


/** ======================================= **/
/** MEC Calendar fixes **/
.mec-calendar-header h2 {
	margin-top: 50px;
}
.mec-calendar .mec-calendar-events-side .mec-table-side-day {
	padding:10px;
}


/** ======================================= **/
/** Photo Gallery fixes**/
section#contenu form .pagination-links span {
	float:none;
	text-align:center;
}
.bwg_container span{
	width:100% !important;
}
section#contenu form input.bwg_current_page {
	width:30px;
	margin:20px 0 10px 0 !important;
}
.pagination-links_col1 {
	margin:20px 0 10px 0 !important;
}
.pagination-links_col2 {
	margin:20px 0 10px 0 !important;
}