

/* */

.rn-services.cartes {position: relative;/*    height: 500px;*//*    height: 500px;*//* padding-top: 80px; */padding-bottom: 125px;}

.rn-services.cartes .uk-panel {

    height: 460px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 10;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1) !important;
    background-color: #244896;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border-top-right-radius:25px;
    border-bottom-left-radius:25px;
}

.rn-services.cartes .uk-text-center.uk-panel-teaser {
    height: 460px;
}

.rn-services.cartes .uk-text-center.uk-panel-teaser img {
    position: absolute;
    z-index: 5;
    left: 0px;
    height: 100%;
    top: 0px;
}

.rn-services.cartes .uk-panel-title,
.rn-services.cartes .uk-panel div:nth-child(3),
.rn-services.cartes a
{

    position: relative;
    width: 100%;
    z-index: 6;

    padding: 0px 20px;
    margin-bottom: 20px !important;
    margin-top: 0px;
    text-align: left;

    color: white !important;
}

.rn-services.cartes a {
    text-decoration: underline;
    display: block;
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 0px;
    font-size: 1.25em;
    font-weight: 900;
    position: relative;
}

.rn-services.cartes .uk-panel-title
{
    font-family: verdana !important;
    font-size: 2em;
    font-weight: 900;
}

/* hover */

.rn-services.cartes .uk-panel div:nth-child(3){
    height: 150px;
}

.rn-services.cartes .uk-panel div:nth-child(3),
.rn-services.cartes .uk-grid .uk-margin a
{
    opacity: 0;
    margin-bottom: -130px !important;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1) !important;
}

.rn-services.cartes .uk-panel:hover div:nth-child(3),
.rn-services.cartes .uk-grid .uk-panel:hover .uk-margin a
{
    opacity: 1;
    margin-bottom:80% !important;
}

.rn-services.cartes .uk-panel:hover {
    margin-top: -15px;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.5);
}

.rn-services.cartes .uk-panel:hover img {
    opacity: 0.35;
}

