.consiliere_section {
    background-color: #ffffff;
    padding-bottom: 39px;
    padding-top: 70px;
}

.consiliere_section .tab-pane h3 {
    padding-bottom: 1em;
}

.consiliere_section .nav-tabs {
    border: none;
    float: right;
}
.consiliere_section .nav-tabs li {
    position: relative;
    margin: 0 0 0 23px;
    border: none;
}
.consiliere_section .nav-tabs > li > a {
    border-radius: 0;
    border: none;
    color: #666666;
    font-size: 18px;
    font-weight: normal;
    padding: 4px 0 8px;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Ubuntu', sans-serif;

    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}
.consiliere_section .nav.nav-tabs > li:first-child {
    margin-left: 0;
}
.consiliere_section .nav > li > a:focus, .consiliere_section .nav > li > a:hover, .consiliere_section .nav-tabs > li > a:hover {
    background-color: transparent;
    border: none;
    text-decoration: none;
    color:#ba1718;

}
.consiliere_section .nav-tabs > li > a:before {
    content: "";
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    height: 2px;
    width: 0%;

    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;

}
.consiliere_section .nav-tabs .active a:before, .consiliere_section .nav-tabs > li > a:hover::before {
    width: 100%;
}

.consiliere_section .nav-tabs > li > a.nav-link.active {
    background-color: transparent;
    border: none;
    text-decoration: none;
    color: #ba1718;
    width: 100%;
}
.consiliere_section .nav-tabs > li > a.nav-link.active:before{
    background-color: #000;
}
.consiliere_section .nav-tabs > li > a:hover::before,
.consiliere_section .nav-tabs > li.active > a:before,
.consiliere_section .nav-tabs > li.active > a:hover::before{
    background-color: #000;
}


/*
============================================================
		  HOMEPAGE EVENTS SECTION
============================================================
*/
.last_events_section{
    position: relative;
    background-color: #f7f7f7;
    padding-bottom: 39px;
    padding-top: 70px;
}
.event_section > .last_events_section{
    background-color: #fff;
}



.event_wrap{
    width: 100%;
    position: relative;
    margin-bottom: 30px;
    padding: 30px 278px 20px 29px;
    min-height: 280px;
}

.event_wrap:before {
    content: "";
    position: absolute;
    left: 0;
    right: 30px;
    top: 0;
    bottom: 0;
    background-color: #f9f9f9;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
.event_wrap:hover:before {
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
}
.side_change {
    padding: 30px 29px 20px 278px;
}
.side_change:before {
    right: 0;
    left: 30px;
}
.event_wrap.side_change .event_content {
    text-align: right;
}
.event_wrap.side_change .event_content span {
    right: 40px;
}
.event_wrap.side_change .post-option > li a {
    padding: 0 0 0 5px;
}
.event_wrap.side_change .post-option > li:first-child a {
    padding: 0 5px 0 5px;
}
.event_wrap.side_change .post-option > li {
    margin: 0 10px 0 19px;
    text-align: right;
}

.event_content {
    padding: 25px 0 0px 0;
    text-align: left;
    position: relative;
    z-index: 2;
}
.text-right {
    text-align: right;
}
.text-right span {
    right: 40px;
    left: auto;
}
.event_content span {
    color: #d2d2d2;
    font-size: 72px;
    font-weight: bold;
    left: 40px;
    position: absolute;
    top: 25px;
    z-index: -1;
}
.event_content h4 {
    font-weight: bold;
    margin-bottom: 29px;
    color: #ba1718;
}
.event_content p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: normal;
}
.event_content a {
    color: #ba1718;

}
.post-option {
    margin-bottom: 10px;
    line-height: normal;
}
.event_content.text-right .post-option {
    text-align: right;
}
.post-option li {
    display: inline-block;
    font-size: 13px;
    color: #999999;
    text-transform: capitalize;
    margin-left: 8px;
}
.post-option li:first-child {
    margin-left: 0;
}
.post-option > li > a {
    font-size: 13px;
    color: #999999;
    text-transform: capitalize;
    display: inline-block;
}

.event_wrap .post-option li:last-child, .event_wrap.side_change .post-option > li:last-child {
    margin: 0;
}
.side_change figure {
    left: 0;
}
.event_wrap .event_content {
    padding: 25px 0 4px 0;
    text-align: left;
    position: relative;
    z-index: 2;
    width: 100%;
}
.event_wrap .event_content h4 {
    font-weight: bold;
    margin-bottom: 27px;
}
.event_wrap .event_content h6 {
    font-weight: 500;
    margin-bottom: 11px;
}
.event_wrap .post-option {
    width: 100%;
    margin-bottom: 17px;
    padding-left: 0;
}
.event_wrap .post-option li {
    font-size: 14px;
    color: #999999;
    text-transform: capitalize;
    /*margin-right: 10px;*/
}
.event_wrap .post-option > li > a {
    font-size: 13px;
    color: #999999;
    text-transform: capitalize;
    padding: 0 10px 0 3px;
    display: inline-block;
}
.event_wrap .readmore {
    display: inline-block;
    font-size: 15px;
    text-transform: capitalize;
}
.event_wrap .readmore i {
    font-size: 18px;
    margin: auto 5px;
    vertical-align: middle;

}
.event_wrap .readmore:hover i {
    transform: translate(10px);
}


.event_content > a, .readmore i, .readmore, figure{
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}
.event_wrap figure {
    position: absolute;
    width: 270px;
    right: 0;
    top: 50%;
    margin-top: -96px;

}

.event_wrap figure:before {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    background-color: #000;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    opacity: 0;
}
.event_wrap figure figcaption {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: -34px auto 0;
    text-align: center;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.event_wrap:hover figure figcaption {
    opacity: 1;
    transform: scale(1);
}
.event_wrap figure figcaption a {
    font-size: 50px;
    color: #fff;
}

.event_wrap:hover figure:before{
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.70;
}

@media only screen and (max-width: 550px) {
    .event_wrap{
        padding: 20px;
        min-height: 100%;
    }
    .event_wrap:before {
        right: 0;
    }
    .event_wrap figure {
        position: relative;
        float: left;
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
        top: 0;
    }
    .event_wrap figure img{
        width: 100%;
    }
    .side_change:before {
        right: 0;
        left: 0;
    }
}