﻿div, img, a, span {
    -webkit-transition: all .5s;
    transition: all .5s;
}

.img-bg-mags {
    /*background-image: url(/Content/mmam/images/mmam-bg.jpg);*/
    background: #bad74a;
    background-size: cover;
    background-repeat: no-repeat;
    width: calc(100% - 17px);
    position: fixed;
    top: 20px;
    height: 120%;
    min-height: 1140px;
    background-position: center -150px;
}

.img-bg-mags:before {
    content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
    background-image: linear-gradient(to bottom ,#ffffff,rgba(255, 255, 255, 0));
    opacity: 1;
    height: 22vh;
}

.page-mmam .container-mmam {
    margin-top: 20vh;
    background-color: #eaeaea;
}

.logo-mmam {
    position: relative;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    max-width: 600px;
}

.container-mmam {
    width: 100%;
    margin:0 auto;
}

.clear-bg {
    background-color:#ffffff;
    background-color:rgba(255,255,255,0.5);
    width:100%;
}

img.img-responsive.img-cover-mag {
    padding: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
    zoom: 1;
    width: 100%;
    box-shadow: 0 0 10px #000000;
    box-shadow: 0 0 10px #504D45;
    margin: 30px auto 15px auto !important;
}

.mmam-item img{
   max-width: 260px;
   margin: 30px auto !important;
}

.mmam-item .img-cover-mag:hover, .img-cover-mag:hover {
    width: 105% !important;
    max-width: 280px;
    box-shadow: 0 0 25px #504D45 !important;
}

.container-mmam .container-fluid {
    background-color: #ffffff;
    background-color: rgba(255,255,255,.45);
    position: relative;
}

.page-mmam .container-minimag {
    margin-top: 100px;
    background-color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.45) !important;
    margin: 0 auto;
    width: 100%;
    z-index: 9;
    position: relative;
    padding: 30px;
}

.mmam-item:hover a {
    opacity: 1; 
    top: 0;
    z-index: 500;
}

.mmam-item:hover a span {
    top: 55%;
    position: absolute;
    color: white;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    opacity:1;
    pointer-events:none;
}
.fa-file-pdf-o:before {
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.50);
    width: 90px;
    height: 90px;
    border-radius: 100%;
    padding: 22px;
    position: absolute;
    left: 60px;
}

.mmam-item a span {
    display: block;
    position: absolute;
    top: 50%;
    opacity: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    color: inherit;
}

@media all and (max-width:768px) {
    .img-bg-mags {
    /*position:fixed !important;*/
    }
}

.mmam-item h3 {
    text-align: center;
    color: #1f1f1f;
    /*text-shadow: 0px 0px 0px #ffffff;*/
    text-decoration: none !important;
    font-size: 24px;
    font-family: Oswald;
}
.mmam-item p {
    text-align: center;
    color: #1f1f1f;
    /* text-shadow: 0px 0px 0px #ffffff; */
    text-decoration: none !important;
    font-size: 1.75rem;
    font-family: Oswald;
    font-weight: bold;
}


a:hover {
text-decoration:none;
}

.btn-retour {
    position: absolute;
    left: 0;
    top: 300px;
    padding: 10px;
    z-index: 11;
    background-color: white;
    height: 60px;
    width: 60px;
    box-shadow: 1px 0 10px #000000;
    box-shadow: 1px 0 10px rgba(0, 0, 0, 0.20);
}

.btn-retour i {
    color: #4f4f4f;
    padding: 7px;
    -webkit-transition: color .5s;
    transition: color .5s;
}

.btn-retour:hover i {
    color: #77bf3d;
}

.btn-retour:hover {
    color: #77bf3d;
    box-shadow: 1px 0 15px #000000;
    box-shadow: 1px 0 15px rgba(0, 0, 0, 0.20);
}

.animated {
    -webkit-animation-duration: 1.5s !important;
    animation-duration: 1.5s !important;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.pdf-btn-container {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    margin-right: 35px;
    margin-bottom: -5px;
}

.download-pdf {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.60) 0px 1px;
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 2;
    justify-content: center;
    padding: 10px;
}

@media all and (max-width:2560px) {
    .pdf-btn-container {
        margin-right: 45px;
    }
}

@media all and (max-width:2300px) {
    .pdf-btn-container {
        margin-right: 25px;
    }
}

@media all and (max-width:2000px) {
    .pdf-btn-container {
        margin-right: 0px;
    }
}

@media all and (max-width:1800px) {
    .pdf-btn-container {
        margin-right: -15px;
    }
}

@media all and (max-width:1200px) {
    .pdf-btn-container {
        margin-right: -10px;
    }

    .download-pdf {
        width: 35px;
        height: 35px;
    }
}

@media all and (max-width:1000px) {
}

@media all and (max-width:864px) {
    .fa-info-circle {
        font-size: 20px !important;
    }

    .download-pdf {
        width: 30px !important;
        height: 30px !important;
    }
}

@media all and (max-width:546px) {
    .download-pdf {
        width: 35px !important;
        height: 35px !important;
    }

    .pdf-btn-container {
        margin-right: 105px;
    }
}

.fa-info-circle {
    font-size: 24px !important;
    color: #4f4f4f;
}
/*skip links*/
.visually-hidden {
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.bypass-block-link {
    background: #ffc;
    padding: .2em;
    position: absolute;
    text-decoration: none;
    z-index: 10;
    color: black !important;
}

.visible-when-focused:focus {
    clip: auto;
    height: auto;
    margin: auto;
    overflow: visible;
    position: static;
    white-space: normal;
    width: auto;
}

.bypass-block-target:focus:target, [tabindex="0"]:focus, [tabindex="1"]:focus, a:focus, a:hover, button:focus, input:focus {
    outline-color: #4d90fe !important;
}