/*
Theme Name: Snadem-UNSA
Description: exclusive Wordpress Theme for snadem.fr
Author: Julien KERNANET
Version: 2.0
Author: Julien KERNANET
SNADEM by Julien KERNANET
*/
:root {
/* couleurs */
--noir: rgb(0, 0, 0, 1);
--ombre: rgb(30, 32, 32, 0.3);
--transp: rgb(30, 32, 32, 0);
--gris-fonce: rgb(87, 90, 90);
--gris-clair: rgb(215, 217, 217, 1);
--blanc: rgb(255, 255, 255, 1);
--jaune: rgb(255, 255, 0, 1);
--orange: rgb(216, 79, 61);
--bleu-ciel: rgb(0, 154, 206, 1);
--bleu-canard: rgb(13, 153, 140, 1);
--bleu-marine: rgb(37, 36, 94, 1);
}
/* general */
html {
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
-webkit-text-size-adjust: 100%;
background-color: var(--gris-clair);
cursor: default;
}
*::-webkit-scrollbar {
width: 0 !important;
height: 0 !important;
display: none !important;
}
* {
-ms-overflow-style: none !important;
scrollbar-width: none !important;
}
body {
font-family: 'source-sans-pro', sans-serif;
overflow-x: hidden;
width: 100vw;
height: 100vh;
margin: 0 auto;
padding: 0;
top: 0;
position: relative;
display: block;
background-color: transparent;
}
body.fixed {
position: fixed;
}
a:link, a:visited, a:hover, a:active {
text-decoration: none;
outline: 0;
border-width: 0;
cursor: pointer;
}
a img:link, a img:visited, a img:hover, a img:active, a img:focus {
outline: 0;
border-width: 0;
cursor: pointer;
}
/* header */
header {
height: 120px;
position: relative;
}
#inscription {
height: auto !important;
width: 215px !important;
margin: 0;
margin-left: 20px;
padding: 10px;
top: 15px;
left: var(--main-margin);
position: absolute;
font-size: 12px;
font-weight: bold;
line-height: 13px;
text-align: center;
text-decoration: none;
text-transform: none;
color: var(--noir); 
background-color: var(--jaune); 
border-radius: 1px;
box-shadow: 2px 3px 6px var(--ombre);
visibility: hidden;
display: inline-block;
transition: transform 0.2s ease-out;
transform: rotate(-7deg);
z-index: 0;
}
#inscription.visible {
visibility: visible;
display: inline-block !important;
animation: fade 0.3s;
}
#inscription::first-line {
font-size: 20px;
text-transform: uppercase;
}
#inscription:hover {
transform: rotate(0deg);
}
h1 {
height: 80px;
margin: 0;
padding: 0;
text-align: center;
background-color: var(--bleu-ciel);
}
h1 img {
display: inline;
}
#banner #snadem-logo span {
height: 35px;
margin: 0 10px;
padding: 0px 10px;
font-size: 24px;
line-height: 32px;
vertical-align: 30px;
text-decoration: none !important;
color: var(--bleu-marine);
background-color: var(--blanc);
border: 2px solid var(--bleu-marine);
border-radius: 20px;
box-sizing: border-box;
display: inline-block;
}
#unsa-logo img {
margin-left: -20px;
}
#paris-logo, #social {
height: 30px;
font-size: 24px;
vertical-align: 30px;
display: inline;
}
ul#social {
margin: 0;
margin-top: 15px;
padding: 0;
padding-right: 10px;
top: 0;
right: var(--main-margin);
list-style-type: none;
position: absolute;
}
ul#social li {
margin: 0;
padding: 0;
display: inline-block;
}
#paris-logo img, #social a {
height: 50px;
vertical-align: -15px;
display: inline-block;
}
#paris-logo p {
display: none;
}
#social a img {
height: 100%;
display: inline-block;
}
/* navbar */
header nav {
text-align: center;
line-height: 40px;
font-size: 16px;
color: var(--gris-clair);
background-color: var(--bleu-marine);
display: block;
}
header nav a {
margin: 0;
padding: 0;
padding-right: 5px;
padding-left: 2px;
color: var(--bleu-ciel);
text-decoration: none;
visibility: hidden;
display: inline-block;
font-weight: normal;
text-transform: uppercase;
text-shadow: 2px 2px 2px var(--ombre);
transition: color 0.3s ease-out, text-shadow 0.3s ease-out;
}
header nav a.visible {
visibility: visible;
display: inline-block;
animation: fade 0.3s;
}
header nav a:hover {
color: var(--blanc);
text-shadow: 2px 2px 2px var(--noir);
}
header nav a::before {
width: 14px;
height: 16px;
content: "";
mask-image: var(--url-thin-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thin-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--bleu-ciel);
transition: background-color 0.3s ease-out;
}
header nav a:hover::before {
background-color: var(--blanc);
}
header nav.fixed {
width: 100%;
position: fixed;
top: 0;
z-index: 5;
}
/* main */
main {
width: var(--main-width);
margin: 0 auto;
padding: 0;
padding-top: 20px;
display: block;
}
/* popup  affiliation */
#affiliation {
display: none;
}
#affiliation.popup {
width: var(--popup-width);
height: var(--popup-height);
margin: 0;
left: var(--popup-margin);
top: var(--popup-top);
padding: 0;
box-sizing: border-box;
display: block;
background-color: var(--jaune);
box-shadow: 2px 3px 6px var(--ombre);
position: fixed;
overflow-y: auto;
border-radius: 10px;
z-index: 4;
animation: fade 0.3s;
}
#affiliation.popup.fit, #menu.popup.fit {
height: var(--popup-height-fit);
top: var(--popup-top-fit);
}
#affiliation.popup.fit #top-affiliation, #menu.popup.fit  #top-menu {
top: var(--popup-top-fit);
}
#affiliation h2 {
width: 100%;
height: auto;
margin: 40px 0;
left: 0;
padding: 0 80px;
box-sizing: border-box;
font-size: 40px;
font-weight: bold;
font-style: normal;
line-height: 40px;
text-align: center;
text-transform: none;
color: var(--noir);
position: relative;
z-index: 0;
cursor: pointer;
}
#affiliation h2::after {
content:"";
width: 45%;
margin: 10px auto;
display: block;
border-bottom: 6px var(--orange) solid;
}
#affiliation div {
padding: 0 60px 80px;
font-size: 20px;
line-height: 26px;
color: var(--noir);
}
#affiliation #intro.hidden {
display: none;
}
#affiliation div p {
text-indent: 22px;
}
#affiliation div p strong {
margin-left: -22px;
}
#affiliation div p strong::before {
content: url(./assets/images/thick-arrow.svg);
margin-right: 4px;
font-size: 24px;
vertical-align: top;
}
#affiliation div h3 {
padding: 0 100px;
font-size: 24px;
line-height: 30px;
}
#affiliation div h3 a {
padding: 0 60px;
font-size: 32px;
line-height: 40px;
color: var(--orange);
text-decoration: underline !important;
text-decoration-thickness: 5px !important;
text-decoration-color: var(--orange) !important;
cursor: pointer;
transition: color 0.3s ease-out;
}
#affiliation div h3 a::before {
width: 20px;
height: 22px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--orange);
}
#affiliation div h3 a:hover {
color: var(--noir);
}
#affiliation #formulaire {
min-height: 100%;
margin: 0;
padding: 0 60px 80px;
font-size: 20px;
line-height: 26px;
color: var(--noir);
display: none;
}
#affiliation #formulaire.visible, #affiliation #formulaire #cotisation.visible, #affiliation #formulaire [name="pvp"].visible {
display: block;
animation: fade 0.9s;
}
#affiliation #formulaire [name="pvp"] {
margin: 0;
padding: 0;
border: none;
display: none;
}
#affiliation #formulaire .label {
margin: 0;
margin-top: 20px;
font-weight: bold;
display: block;
}
#affiliation #formulaire .label::before {
content: url(./assets/images/thick-arrow.svg);
margin-right: 3px;
font-size: 24px;
vertical-align: top;
}
#affiliation #formulaire select, #affiliation #formulaire #prix, #affiliation #formulaire #submit {
width: 200px;
margin: 10px  20px;
padding: 5px 20px 5px 30px;
font-family: 'source-sans-pro', sans-serif;
font-weight: normal;
font-size: 28px;
letter-spacing: 2px;
line-height: normal;
text-align: left;
color: var(--jaune);
display: inline-block;
border: 0;
border-radius: 5px;
background-color: var(--orange);
appearance: none;
cursor: pointer;
transition: color 0.3s ease-out;
}
#affiliation #formulaire #submit {
cursor: default;
}
#affiliation #formulaire #submit.active {
cursor: pointer;
}
#affiliation #formulaire #scap-mail {
width: calc( 100% - 56px );
margin: 10px  20px;
padding: 5px 20px;
font-family: 'source-sans-pro', sans-serif;
font-weight: normal;
font-size: 28px;
letter-spacing: 1px;
line-height: normal;
text-align: center;
color: var(--gris-fonce);
display: inline-block;
border: 4px solid var(--noir);
border-radius: 5px;
box-sizing: border-box;
background-color: var(--jaune);
appearance: none;
cursor: text;
transition: border 0.3s ease-out;
}
#affiliation #formulaire #scap-mail:focus {
color: var(--noir);
border: 4px solid var(--orange);
outline: none;
}
#affiliation #formulaire #prix {
margin: 0;
margin-right: 20px;
margin-left: 20px;
padding: 5px 0;
cursor: default;
}
#affiliation #formulaire #situation {
width: calc( 100% - 56px );
}
#affiliation #formulaire #cotisation {
margin: 0;
padding: 0;
display: none;
}
#affiliation #formulaire #cotisation .label {
margin-left: -20px;
}
#affiliation #formulaire #payer, #affiliation #formulaire #stripe {
width: 200px;
margin: 10px  22px 0;
padding: 5px 0px 5px 0px;
font-family: 'source-sans-pro', sans-serif;
font-weight: normal;
font-size: 28px;
letter-spacing: 2px;
line-height: normal;
text-decoration: none;
text-align: center;
color: var(--jaune);
display: none;
border: 0;
border-radius: 5px;
background-color: var(--noir);
appearance: none;
cursor: pointer;
transition: background-color 0.3s ease-out;
}
#affiliation #formulaire #scap-mail[style="display: inline-block;"] ~ #payer.link {
width: calc( 100% - 56px );
}
#affiliation #formulaire #cotisation #payer {
margin-left: 22px;
}
#affiliation #formulaire #stripe.visible, #affiliation #formulaire #payer {
display: inline-block;
animation: fade 0.9s;
}
#affiliation #formulaire select:hover, #affiliation #formulaire #submit.active:hover, 
#affiliation #formulaire #stripe.visible:hover, #affiliation #formulaire #payer:hover {
color: var(--blanc);
background-color: var(--orange);
}
div[id$="-value"] {
width: 200px;
margin: 10px  0;
padding: 0 !important;
display: none;
}
#affiliation #formulaire #deduction {
padding-left: 20px;
color: var(--orange);
}
#affiliation #formulaire #reduction {
padding-left: 0;
color: var(--orange);
}
#affiliation #top-affiliation {
width: var(--popup-width);
height: 60px;
margin: 0;
left: var(--popup-margin);
top: var(--popup-top);
padding: 0;
box-sizing: border-box;
display: block;
position: fixed;
border-radius: 10px;
background-image: linear-gradient(to bottom, rgba(255,255,0,1) 3%, rgba(255,255,0,0));
z-index: 2;
}
#affiliation #bottom-affiliation {
width: var(--popup-width);
height: 120px;
margin: 0;
left: var(--popup-margin);
bottom: var(--popup-bottom);
padding: 0;
box-sizing: border-box;
display: block;
position: fixed;
border-radius: 10px;
background-image: linear-gradient(to bottom, rgba(255,255,0,0), rgba(255,255,0,1) 93%);
z-index: 2;
}
#affiliation .close {
width: 40px;
height: 40px;
margin: 0;
padding: 8px;
right: 0;
box-sizing: border-box;
border: 0px;
border-radius: 50%;
transform: rotate(45deg);
cursor: pointer;
background-color: var(--transp);
z-index: 2;
right: calc( 50% - 310px );
position: fixed;
}
#affiliation .close svg line {
transition: stroke 0.3s ease-out;
}
#affiliation .close:hover svg line {
stroke: var(--orange);
}
/* popup  menu */
#menu {
display: none;
}
#menu.popup {
width: var(--popup-width);
height: var(--popup-height);
margin: 0;
left: var(--popup-margin);
top: var(--popup-top);
padding: 0;
box-sizing: border-box;
display: block;
background-color: var(--bleu-marine);
box-shadow: 2px 3px 6px var(--ombre);
position: fixed;
overflow-y: auto;
border-radius: 10px;
z-index: 4;
animation: fade 0.3s;
scroll-behavior: smooth;
}
#menu div {
padding: 0 40px;
display: none;
}
#menu div.selected {
min-height: 100%;
}
#menu div.selected::before {
height: 50px;
display: block;
content: '';
}
#menu div.selected::after {
height: 80px;
display: block;
content: '';
}
#menu div.selected {
display: block;
}
#menu div h3 {
width: 100%;
height: auto;
margin: 0 0 40px;
left: 0;
padding: 0 80px;
box-sizing: border-box;
font-size: 40px;
font-weight: bold;
font-style: normal;
line-height: 40px;
text-align: center;
text-transform: uppercase;
color: var(--blanc);
position: relative;
z-index: 0;
cursor: pointer;
}
#menu div h3::after {
content:"";
width: 45%;
margin: 10px auto;
display: block;
border-bottom: 6px var(--bleu-ciel) solid;
}
#menu div ul {
margin: 0;
padding: 0;
}
#menu div ul li {
margin: 20px 0;
padding: 0 60px;
font-size: 24px;
line-height: 30px;
text-indent: -20px;
color: var(--bleu-ciel);
list-style: none;
}
#menu div ul li a {
color: var(--bleu-ciel);
cursor: pointer;
transition: color 0.3s ease-out;
}
#menu div ul li:hover a {
color: var(--blanc);
}
#menu div ul li::before {
width: 14px;
height: 16px;
content: "";
mask-image: var(--url-thin-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thin-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: 0px;
background-color: var(--bleu-ciel);
transition: background-color 0.3s ease-out;
}
#menu div ul li:hover::before {
background-color: var(--blanc);
}
#menu #top-menu {
width: var(--popup-width);
height: 60px;
margin: 0;
left: var(--popup-margin);
top: var(--popup-top);
padding: 0;
box-sizing: border-box;
display: block;
position: fixed;
border-radius: 10px;
background-image: linear-gradient(to bottom, rgba(37,36,94,1) 3%, rgba(37,36,94,0));
z-index: 2;
}
#menu #bottom-menu {
width: var(--popup-width);
height: 120px;
margin: 0;
left: var(--popup-margin);
bottom: var(--popup-bottom);
padding: 0;
box-sizing: border-box;
display: block;
position: fixed;
border-radius: 10px;
background-image: linear-gradient(to bottom, rgba(37,36,94,0), rgba(37,36,94,1) 93%);
z-index: 2;
}
#menu .close {
width: 40px;
height: 40px;
margin: 0;
padding: 8px;
box-sizing: border-box;
border: 0px;
border-radius: 50%;
transform: rotate(45deg);
cursor: pointer;
background-color: var(--transp);
z-index: 2;
right: calc( 50% - 310px );
position: fixed;
}
#menu .close svg line {
transition: stroke 0.3s ease-out;
}
#menu .close:hover svg line {
stroke: var(--blanc);
}
/* * */
section {
width: 100%;
margin: 20px 0;
padding: 0;
font-size: 0;
display: block;
clear: left;
}
/* diapos */
.diapos {
width: var(--diapos-width);
margin: 0;
margin-left: -10px;
margin-right: 10px;
padding: var(--module-padding);
box-sizing: border-box;
display: inline-block;
white-space: nowrap;
position: relative;
}
.diapo {
width: 100%;
margin: 0 10px;
padding: 0;
font-size: 0;
display: inline-block;
white-space: normal;
animation: fade 0.9s;
}
@keyframes fade {
from { opacity: 0; } to { opacity:1; }
}
.diapo img {
width: 100%;
height: 400px;
margin: 0;
padding: 0;
object-fit: cover;
object-position: 50% 25%;
border-radius: 10px 10px 0px 0px;
}
.diapo figcaption {
width: 100%;
height: 200px;
margin: 0;
padding: 20px;
box-sizing: border-box;
text-align: center;
line-height: 200px;
border-radius: 0px 0px 10px 10px;
background-color: var(--blanc);
box-shadow: 2px 3px 6px var(--transp);
transition: box-shadow 0.3s ease-out;
}
.diapo:hover figcaption {
box-shadow: 2px 3px 6px var(--ombre);
}
.diapo figcaption h3 {
margin: 0;
padding: 0 30px;
color: var(--bleu-marine);
font-size: 26px;
font-weight: bold;
line-height: 34px;
text-decoration: underline;
text-decoration-thickness: 6px;
text-underline-offset: 4px;
text-decoration-color: var(--bleu-ciel);
vertical-align: 50%;
display: inline-block;
transition: text-decoration-color 0.3s ease-out;
}
.diapo figcaption h3::before {
width: 21px;
height: 24px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -4px;
background-color: var(--bleu-ciel);
transition: background-color 0.3s ease-out;
}
.diapo figcaption a:hover h3 {
text-decoration-color: var(--orange);
cursor: pointer;
}
.diapo figcaption a:hover h3::before {
background-color: var(--orange);
}
.diapos .button {
height: 40px;
width: 40px;
top: 180px;
padding: 8px 11px;
display: inline-block;
position: absolute;
border-radius: 50%;
box-sizing: border-box;
transition: background-color 0.3s ease-out;
background-color: var(--transp);
cursor: pointer;
user-select: none;
}
.diapos .button:hover {
background-color: rgb(200, 200, 200, 0.6);
}
.diapos .button svg polyline {
stroke: var(--bleu-marine);
}
.diapos .prev {
left: 40px;
}
.diapos .next {
right: 20px;
}
.diapos nav {
width: 100%;
top: 370px;
text-align: center;
position: absolute;
}
.diapos nav a {
width: 10px;
height: 10px;
margin: 0 3px;
background-color: rgb(200, 200, 200, 0.6);
border-radius: 50%;
display: inline-block;
transition: background-color 0.3s ease-out;
cursor: pointer;
user-select: none;
}
.diapos nav a.active {
background-color: var(--bleu-marine);
}
.diapos nav a:hover {
background-color: var(--orange);
}
aside {
width: var(--module-width);
height: auto;
margin: 0;
padding: var(--module-padding);
box-sizing: border-box;
font-size: 0;
vertical-align: top;
display: inline-block;
}
aside img {
width: 100%;
height: 600px;
margin: 0;
padding: var(--module-padding);
box-sizing: border-box;
object-fit: contain;
object-position: 50% 50%;
border-radius: 10px;
background-color: var(--blanc);
}
#arts-sports {
width: 100%;
height: 600px;
display: block;
position: relative;
background-color: var(--bleu-marine);
border-radius: 10px;
}
#arts-sports h3 {
height: 30px !important;
width: auto !important;
margin: 0;
top: -10px;
right: -10px;
position: absolute;
padding: 0px 10px;
font-size: 16px;
font-weight: bold;
line-height: 30px;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--blanc); 
background-color: var(--orange); 
border-radius: 1px;
box-shadow: 0px 3px 6px var(--ombre);
display: inline-block !important;
transform: rotate(5deg);
z-index: 3;
transition: box-shadow 0.3s ease-out;
}
#arts-sports img {
width: 100%;
height: auto;
position: absolute;
margin-top: 30px;
box-shadow: 0px 3px 6px var(--transp);
border-radius: 1px;
z-index: 0;
transform: rotate(-3deg);
transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
#arts-sports p {
width: 230px;
left: 15px;
bottom: -5px;
padding: 20px;
box-sizing: content-box;
position: absolute;
font-size: 24px;
font-weight: normal;
line-height: 30px;
color: var(--blanc);
background-color: var(--bleu-ciel);
box-shadow: 0px 3px 6px var(--ombre);
display: block !important;
z-index: 1;
transform: rotate(1.8deg);
}
#arts-sports:hover img {
transform: rotate(-1deg) scale(1.1);   
box-shadow: 3px 3px 6px var(--ombre);
z-index: 4;
}
.post-it.fixed {
width: 320px;
left: var(--post-it-left);
position: fixed;
top: 60px;
}
#selection div, #extra div, #reseaux-sociaux div {
width: 100%;
height: 600px;
margin: 0;
padding: 20px;
box-sizing: border-box;
border-radius: 10px;
color: var(--blanc);
background-color: var(--bleu-ciel);
}
#selection div h3, #extra div h3, #reseaux-sociaux div h3 {
margin: 10px 0;
padding: 0;
font-size: 24px;
font-weight: bold;
line-height: 30px;
}
#selection div p, #extra div p, #reseaux-sociaux div p {
margin: 10px 0;
padding: 0;
font-size: 16px;
line-height: 22px;
}
#selection div ul, #extra div ul, #reseaux-sociaux div ul {
margin: 10px 0;
padding: 0;
list-style-type: none;
}
#selection div ul li, #extra div ul li, #reseaux-sociaux div ul li {
margin: 0;
padding: 0;
display: inline-block;
}
#selection div ul li:nth-child(n + 4), #extra div ul li:nth-child(n + 4) {
display: none;
}
#selection div ul li a h4, #extra div ul li a h4 {
margin: 10px 0;
padding: 0;
font-size: 15px;
font-weight: normal;
line-height: 22px;
text-transform: uppercase;
color: var(--blanc);
}
#selection div ul li a h4::before, #extra div ul li a h4::before {
width: 14px;
height: 16px;
content: "";
mask-image: var(--url-thin-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thin-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -3px;
background-color: var(--blanc);
transition: background-color 0.3s ease-out;
}
#selection div ul li a:hover h4::before, #extra div ul li a:hover h4::before {
background-color: var(--jaune);
}
#extra div {
background-color: var(--orange);
}
#actu-snadem #extra div, #reseaux-sociaux div {
background-color: var(--bleu-canard);
}
#actu-unsa #reseaux-sociaux div {
background-color: var(--orange);
}
#reseaux-sociaux div p::after {
content:"";
width: 30%;
margin: 20px auto;
display: block;
border-bottom: 7px var(--blanc) solid;
}
#reseaux-sociaux div ul li {
width: 100%;
}
#reseaux-sociaux div ul li a {
height: 75px;
width: 100%;
display: block;
}
#reseaux-sociaux div ul li a::before {
width: 28px;
height: 32px;
margin: 0;
margin-bottom: -52px;
padding: 0;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
background-color: var(--blanc);
transition: background-color 0.3s ease-out;
}
#reseaux-sociaux div ul li a:hover::before {
background-color: var(--jaune);
}
#reseaux-sociaux div ul li a img {
height: 100%;
width: calc(100% - 14px);
padding-left: 28px;
text-align: center;
display: inline-block;
background-color: var(--transp);
}
h2 {
width: 100vw;
height: 40px;
margin: 0;
margin-top: 20px;
left: var(--home-h2-left);
padding: 0;
padding-left: var(--home-h2-padding-left);
box-sizing: border-box;
font-size: 24px;
font-weight: lighter;
line-height: 40px;
color: var(--blanc);
position: relative;
z-index: 0;
}
h2.snadem {
background-color: var(--orange); 
}
h2.inscription {
margin: 5px 0;
padding-left: 0;
text-align: center;
font-weight: bold;
text-transform: none;
color: var(--noir);
background-color: var(--jaune); 
box-shadow: 0px 3px 6px var(--transp);
visibility: hidden;
display: inline-block;
}
h2.inscription.visible {
visibility: visible;
display: inline-block;
animation: fade 0.3s;
}
h2.inscription::before {
width: 18px;
height: 20px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--noir);
transition: background-color 0.2s ease-out;
}
h2.inscription:hover {
cursor: pointer;
}
h2.inscription:hover::before {
background-color: var(--orange);
}
h2.unsa {
background-color: var(--bleu-canard); 
}
.actus {
width: 100%;
margin: 0;
padding: 0;
font-size: 0;
display: block;
}
.actu {
width: var(--module-width);
margin: 0;
margin-top: 25px;
padding: var(--module-padding);
box-sizing: border-box;
display: inline-block;
vertical-align: top;
}
.actu img {
width: 100%;
height: 200px;
margin: 0;
padding: 0;
object-fit: cover;
object-position: 50% 25%;
border-radius: 10px 10px 0px 0px;
}
.actu figcaption {
width: 100%;
height: 200px;
margin: 0;
padding: 30px 30px 30px 20px;
box-sizing: border-box;
text-align: left;
line-height: 200px;
border-radius: 0px 0px 10px 10px;
background-color: var(--blanc);
box-shadow: 2px 3px 6px var(--transp);
transition: box-shadow 0.3s ease-out;
}
.actu:hover figcaption {
box-shadow: 2px 3px 6px var(--ombre);
}
.actu figcaption h3 {
margin: 0;
color: var(--bleu-marine);
font-size: 18px;
font-weight: bold;
line-height: 24px;
text-decoration: underline;
text-decoration-thickness: 5px;
text-underline-offset: 3px;
text-decoration-color: var(--bleu-ciel);
vertical-align: 50%;
text-transform: none;
display: inline-block;
transition: text-decoration-color 0.3s ease-out;
}
.actu figcaption h3::before {
width: 14px;
height: 16px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--bleu-ciel);
transition: background-color 0.3s ease-out;
}
.actu figcaption a:hover h3 {
text-decoration-color: var(--orange);
cursor: pointer;
}
.actu figcaption a:hover h3::before {
background-color: var(--orange);
}
.actu figcaption p {
margin: 20px 0;
padding: 0;
font-size: 14px;
line-height: 20px;
color: var(--gris-fonce);
}
.actu figcaption span {
padding: 0;
padding-right: 10px;
font-size: 12px;
text-transform: uppercase;
}
.actu figcaption span.tag {
color: var(--bleu-ciel);
}
.actu figcaption span.date {
color: var(--gris-fonce);
}
#overlay {
display: none;
}
#overlay.popup {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
top: 0;
background-color: rgb(30, 32, 32, 0.8);
position: fixed;
z-index: 3;
display: block;
animation: fade 0.3s;
}
/* article */
#contenu {
position: relative;
}
#contenu article {
width: var(--article-width);
min-height: 1500px;
margin: 0 10px 25px 10px;
padding: var(--article-padding);
box-sizing: border-box;
background-color: var(--blanc);
float: left;
border-radius: 10px;
overflow: hidden;
}
#contenu article h2 {
width: 100%;
height: auto;
left: 0;
margin: 0;
margin-top: 40px;
margin-bottom: 40px;
padding: 0;
color: var(--bleu-marine);
font-size: 42px;
font-weight: bold;
line-height: 50px;
text-decoration: underline;
text-decoration-thickness: 8px;
text-underline-offset: 4px;
text-decoration-color: var(--bleu-ciel);
}
#contenu article figure, #contenu article p {
width: 100%;
margin: 20px 0;
padding: 0;
font-size: var(--article-font-size);
line-height: var(--article-line-height);
color: var(--gris-fonce);
}
#contenu article p:last-of-type {
margin-bottom: 70px;
}
#contenu article p strong {
font-weight: 600;
color: var(--orange);
}
#contenu article p em {
font-style: italic;
}
#contenu article p u {
text-decoration-thickness: 2px;
text-underline-offset: 2px;
text-decoration-color: var(--orange);
}
#contenu article figure img, #contenu article p img {
width: var(--article-image-width);
height: auto;
margin: 0;
padding: 0;
left: var(--article-image-left);
display: inline-block;
position: relative;
}
#contenu article figure:last-child img, #contenu article p:last-child img {
margin-bottom: -30px;
}
#contenu aside {
margin-bottom: 20px;
}
#contenu aside:last-of-type {
margin-bottom: 0;
}
/* footer */
footer {
width: 100vw;
height: 400px;
margin: 0;
margin-top: 40px;
padding: 0;
padding-top: 15px;
color: var(--gris-clair);
text-align: center;
box-sizing: border-box;
display: block;
background-color: var(--bleu-marine);
position: relative;
}
footer address#contact {
font-style: normal;
}
footer address#contact p {
font-size: var(--article-font-size);
line-height: var(--article-line-height);
}
footer address#contact p a {
color: var(--gris-clair);
}
footer small {
width: 100%;
margin: 0;
font-size: 13px;
position: absolute;
bottom: 10px;
left: 0;
display: inline-block;
}
footer small::before {
content: "©";
bottom: 0;
}
/* main 1280px */
@media (1600px < width)
and (orientation: landscape) { 
:root {
--main-width: 1280px;
--main-margin: calc( 50vw - 640px);
--home-h2-left: calc( 640px - 50vw );
--home-h2-padding-left: calc( 50vw - 630px );
--popup-width: 620px;
--popup-height: calc( 100vh - 80px);
--popup-height-fit: calc( 100vh - 120px);
--popup-top: 40px;
--popup-bottom: 40px;
--popup-top-fit: 80px;
--popup-margin: calc( 50% - 310px);
--post-it-left: calc(50% + 320px);
--module-width: calc( 100% * ( 1 / 4 ) );
--module-padding: 0 10px;
--diapos-width: calc( 100% * ( 2 / 4 ) );
--article-width: calc( ( 100% * ( 3 / 4 ) ) - 20px );
--article-padding: 50px 100px 0;
--article-font-size: 19px;
--article-line-height: 29px;
--article-image-width: calc( 100% + 200px );
--article-image-left: -100px;
--url-thick-arrow: url(./assets/images/thick-arrow.svg);
--url-thin-arrow: url(./assets/images/thin-arrow.svg);
}
.actu:nth-child(n + 5) {
display: none;
}
}
/* main 960px */
@media (1000px < width < 1600px) { 
:root {
--main-width: 960px;
--main-margin: calc( 50vw - 480px);
--home-h2-left: calc( 480px - 50vw );
--home-h2-padding-left: calc( 50vw - 470px );
--popup-width: 620px;
--popup-height: calc( 100vh - 80px);
--popup-height-fit: calc( 100vh - 120px);
--popup-top: 40px;
--popup-bottom: 40px;
--popup-top-fit: 80px;
--popup-margin: calc( 50% - 310px);
--post-it-left: calc(50% + 160px);
--module-width: calc( 100% * ( 1 / 3 ) );
--module-padding: 0 10px;
--diapos-width: calc( 100% * ( 2 / 3 ) );
--article-width: calc( ( 100% * ( 2 / 3 ) ) - 20px );
--article-padding: 0 50px;
--article-font-size: 17px;
--article-line-height: 26px;
--article-image-width: calc( 100% + 100px );
--article-image-left: -50px;
--url-thick-arrow: url(./assets/images/thick-arrow.svg);
--url-thin-arrow: url(./assets/images/thin-arrow.svg);
}
#actu-unsa #reseaux-sociaux,#actu-snadem #extra {
display: none;
}
.actu:nth-child(n + 4) {
display: none;
}
}
/* main 640px */
@media (650px < width < 1000px) { 
:root {
--main-width: 640px;
--main-margin: calc( 50vw - 320px);
--home-h2-left: calc( 320px - 50vw );
--home-h2-padding-left: calc( 50vw - 310px );
--popup-width: 620px;
--popup-height: calc( 100vh - 80px);
--popup-height-fit: calc( 100vh - 120px);
--popup-top: 40px;
--popup-bottom: 40px;
--popup-top-fit: 80px;
--popup-margin: calc( 50% - 310px);
--post-it-left: calc(50% + 0px);
--module-width: calc( 100% * ( 1 / 2 ) );
--module-padding: 0 10px;
--diapos-width: calc( 100% * ( 1 / 2 ) );
--article-width: calc( 100% - 20px );
--article-padding: 0 50px;
--article-font-size: 18px;
--article-line-height: 26px;
--article-image-width: calc( 100% + 100px );
--article-image-left: -50px;
--url-thick-arrow: url(./assets/images/thick-arrow.svg);
--url-thin-arrow: url(./assets/images/thin-arrow.svg);
}
header {
height: 210px;
}
#inscription {
width: 100vw !important;
height: 40px !important;
margin: 0;
top: 0;
left: 0;
padding: 0;
padding-left: 0;
box-sizing: border-box;
font-size: 24px;
line-height: 40px;
position: relative;
z-index: 0;
text-align: center;
font-weight: bold;
color: var(--noir);
border-radius: 0;
background-color: var(--jaune); 
box-shadow: 0px 3px 6px var(--transp);
transform: none;
transition: none;
}
#inscription::first-line {
font-size: inherit;
text-transform: none;
}
#inscription::before {
width: 18px;
height: 20px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--noir);
transition: background-color 0.2s ease-out;
}
#inscription:hover {
cursor: pointer;
}
#inscription:hover::before {
background-color: var(--orange);
}
ul#social {
height: 50px;
margin-top: 0;
padding-right: 0;
right: 0;
text-align: center;
display: block;
position: relative;
background-color: var(--orange);
}
#actu-unsa #reseaux-sociaux,#actu-snadem #extra {
display: none;
}
.actu:nth-child(n + 5) {
display: none;
}
.diapo figcaption {
width: 100%;
height: 200px;
margin: 0;
padding: 30px 30px 30px 20px;
box-sizing: border-box;
text-align: left;
line-height: 200px;
border-radius: 0px 0px 10px 10px;
background-color: var(--blanc);
box-shadow: 2px 3px 6px var(--transp);
transition: box-shadow 0.3s ease-out;
}
.diapo figcaption h3 {
margin: 0;
padding: 0;
color: var(--bleu-marine);
font-size: 18px;
font-weight: bold;
line-height: 24px;
text-decoration: underline;
text-decoration-thickness: 5px;
text-underline-offset: 3px;
text-decoration-color: var(--bleu-ciel);
vertical-align: 50%;
text-transform: none;
display: inline-block;
transition: text-decoration-color 0.3s ease-out;
}
.diapo figcaption h3::before {
width: 14px;
height: 16px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--bleu-ciel);
transition: background-color 0.3s ease-out;
}
#contenu {
margin-bottom: -20px;
}
#contenu article {
min-height: auto;
}
.post-it.fixed {
position: static;
}
}
/* main < 650px */
@media (width < 650px)
and (orientation: portrait) { 
:root {
--main-width: 100vw;
--main-margin: 0;
--home-h2-left: 0;
--home-h2-padding-left: 0;
--popup-width: calc(100vw - 40px);
--popup-height: calc( 100vh - 80px);
--popup-height-fit: calc( 100vh - 120px);
--popup-top: 40px;
--popup-bottom: 40px;
--popup-top-fit: 80px;
--popup-margin: 20px;
--post-it-left: 0;
--module-width: 100%;
--module-padding: 0 20px;
--diapos-width: 100%;
--article-width: calc( 100vw - 40px );
--article-padding: 0 25px;
--article-font-size: 17px;
--article-line-height: 26px;
--article-image-width: calc( 100vw - 40px );
--article-image-left: -25px;
--url-thick-arrow: url(./assets/images/thick-arrow.svg);
--url-thin-arrow: url(./assets/images/thin-arrow.svg);
}
header {
height: 470px;
}
#inscription {
width: 100vw !important;
height: 40px !important;
margin: 0;
top: 0;
left: 0;
padding: 0;
padding-left: 0;
font-size: 24px;
line-height: 35px;
position: relative;
z-index: 0;
text-align: center;
font-weight: bold;
color: var(--noir);
border-radius: 0;
border-bottom: 4px var(--noir) solid;
box-sizing: border-box;
background-color: var(--jaune); 
box-shadow: 0px 3px 6px var(--transp);
transform: none;
transition: none;
visibility: hidden;
display: inline-block;
}
#inscription::first-line {
font-size: inherit;
text-transform: none;
}
#inscription::before {
width: 18px;
height: 20px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--noir);
transition: background-color 0.2s ease-out;
}
#inscription:hover {
cursor: pointer;
}
#inscription:hover::before {
background-color: var(--orange);
}
#banner {
width: 100vw;
height: 300px;
display: block;
line-height: 0;
background-image: url(./assets/images/banner.jpg);
background-size: cover;
}
#banner #snadem-logo {
height: 230px;
width: 230px;
margin-top: 35px;
display: inline-block;
background-image: url(https://upload.wikimedia.org/wikipedia/fr/0/07/UNSA_Logo.png);
background-size: cover;
}
#banner #snadem-logo span {
height: 35px;
margin: 0 10px;
margin-top: 160px;
padding: 0px 10px 32px;
font-size: 24px;
line-height: 32px;
vertical-align: middle;
text-decoration: none !important;
color: var(--bleu-marine);
background-color: var(--blanc);
border: 2px solid var(--bleu-marine);
border-radius: 20px;
box-sizing: border-box;
display: inline-block;
}
#banner #unsa-logo, #banner #paris-logo img {
display: none;
}
#banner #paris-logo p {
width: 100%;
height: 40px;
margin: 0;
margin-top: 35px;
display: inline-block;
font-size: 16.5px;
font-weight: lighter;
letter-spacing: 0.5px;
line-height: 35px;
text-align: center;
color: var(--blanc);
border-top: 2px var(--blanc) solid;
box-sizing: border-box;
background-color: var(--bleu-ciel);
}
ul#social {
height: 50px;
margin-top: 40px;
padding-right: 0;
right: 0;
text-align: center;
display: block;
position: relative;
background-color: var(--orange);
}
main {
padding-top: 0;
}
main section h2 {
padding-left: 20px;
}
#menu .close, #affiliation .close {
right: 20px;
}
#menu div {
padding: 0;
}
#menu div h3, #affiliation h2 {
padding: 0 20px;
}
#menu div ul li {
padding: 0 40px;
}
#menu #bottom-menu, #affiliation #bottom-affiliation {
display: none;
}
#affiliation div p {
text-indent: 22px;
}
#affiliation div p.label {
text-indent: 0;
}
#affiliation #formulaire #cotisation .label {
margin-left: 0;
}
#affiliation #intro.info, #affiliation #formulaire {
padding: 0 30px 120px;
}
#affiliation #formulaire select {
width: 220px !important;
margin-left: calc(50% - 110px);
padding: 5px 10px 5px 15px;
display: inline-block;
}
#affiliation #formulaire #scap-mail {
width: 220px;
margin-left: calc(50% - 110px);
}
#affiliation #formulaire #prix {
width: 220px;
margin-top: 10px;
margin-left: calc(50% - 110px);
text-align: center;
}
#affiliation #formulaire #payer {
width: 220px;
min-height: 29px;
margin-top: 15px;
margin-left: calc(50% - 110px) !important;
padding: 10px 0;
line-height: 30px;
letter-spacing: 1px;
}
#affiliation #formulaire #payer::first-line {
letter-spacing: 2px;
}
#affiliation #formulaire #reduction {
text-indent: 0;
white-space: pre;
}
#affiliation #formulaire #submit {
width: 220px;
margin-left: calc(50% - 110px);
padding: 5px 0 5px 15px;
text-align: center;
}
#affiliation #formulaire #stripe {
width: 220px;
margin-top: 5px;
margin-left: calc(50% - 110px);
}
#affiliation #formulaire #deduction {
padding: 0;
white-space: pre;
}
#affiliation div h3 {
margin-bottom: 100px;
padding: 0;
}
#actu-snadem aside {
margin-top: 25px;
}
#actu-unsa #selection {
margin-bottom: 25px;
}
#actu-unsa #reseaux-sociaux {
margin-top: 25px;
}
.diapo figcaption {
width: 100%;
height: 200px;
margin: 0;
padding: 30px 30px 30px 20px;
box-sizing: border-box;
text-align: left;
line-height: 200px;
border-radius: 0px 0px 10px 10px;
background-color: var(--blanc);
box-shadow: 2px 3px 6px var(--transp);
transition: box-shadow 0.3s ease-out;
}
.diapo figcaption h3 {
margin: 0;
padding: 0;
color: var(--bleu-marine);
font-size: 18px;
font-weight: bold;
line-height: 24px;
text-decoration: underline;
text-decoration-thickness: 5px;
text-underline-offset: 3px;
text-decoration-color: var(--bleu-ciel);
vertical-align: 50%;
text-transform: none;
display: inline-block;
transition: text-decoration-color 0.3s ease-out;
}
.diapo figcaption h3::before {
width: 14px;
height: 16px;
content: "";
mask-image: var(--url-thick-arrow);
mask-repeat: no-repeat;
mask-position: 50% 50%;
mask-size: cover;
-webkit-mask-image: var(--url-thick-arrow);
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
-webkit-mask-size: cover;
margin-right: 5px;
font-size: 24px;
display: inline-block;
vertical-align: -2px;
background-color: var(--bleu-ciel);
transition: background-color 0.3s ease-out;
}
#contenu {
margin-bottom: -20px;
}
#contenu article {
min-height: auto;
margin: 0 20px 25px 20px;
}
#contenu article h2 {
font-size: 33px;
line-height: 40px;
text-decoration-thickness: 7px;
}
#contenu aside:last-of-type {
margin-bottom: 20px;
}
.post-it {
width: 100%;
}
.post-it.fixed {
width: 100%;
position: static;
}
}
/* * */
@media (width < 360px)
and (orientation: portrait) { 
#header-nav [name="pratique"], #banner #paris-logo p {
display: none;
}
header {
height: 430px;
}
ul#social {
margin-top: 0;
}
main {
padding-top: 20px;
}
}