/*Feuille de style index*/
html {
user-select: none;
-moz-user-select: none;
}
body {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	background-color:rgb(91,90,88);
	font-size : 15px;
	font-weight:normal;
	color:white;
	margin:0em;
	padding:0em;
}
div {
	position:relative;
	display:block;
	vertical-align:middle;
	margin:0px;
	padding:0px;
}
table {
	padding:0;
	margin:0;
}
h2 {
	margin-top:1px;
	margin-bottom:2px;
}
p {
	margin:2px;
}
a {
    color: #4285c5;
}

#tout_ecran {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;

    background-image:
        url('img/Fond.svg'),
        radial-gradient(
            ellipse at 25% 35%,
            rgba(45, 170, 200, 0.22),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 65% 85%,
            rgba(100, 140, 220, 0.30),
            transparent 50%
        ),
        radial-gradient(
            ellipse at 85% 45%,
            rgba(150, 100, 190, 0.18),
            transparent 40%
        );

    background-repeat: no-repeat;
    background-size: 50%, cover, cover, cover;
    background-position: right bottom, center, center, center;
}
/*Cadres */
#message {
	position:absolute;
	left:0px;
	top:0px;
	color:blue;
	font-size:12px;
	z-index:100;
}
#header {
	width:100%;
	background-color:rgb(110,109,100);
	font-size:16px;
}
#avertissement {
	top:10%;
	left:25%;
	width:50%;
	color:white;
	border-width:4px;
	border-radius:4px;
	border-color:red;
	border-style:solid;
	font-size:1.5em;
	text-align:center;
}
/* Style de cazmessage */
#cazmessage {
	padding:10px;
	margin:auto;
	width:60%;
	display:none;
}
.cazmsgnone {
	display:none;
}
.cazmsgerror {
	display:block !important;
	text-align:center;
	background-color:pink;
	box-shadow: 0px 0px 2px red inset;
	border-style:solid;
	border-width:1px;
	border-color:black;
	color:black;
	border-radius:3px;
}
.cazmsginfo {
	display:block !important;
	text-align:center;
	background-color:blue;
	box-shadow: 0px 0px 2px black inset;
	border-style:solid;
	border-width:1px;
	border-color:black;
	border-radius:3px;
	color:white;
}
/* Menu */
#cazmenu {
	display:inline-block;
	width:50%;
}

.clcazcontent {
    max-width:90%;
    padding:10px;
    background-color:rgba(150,150,150,0.1);
    box-sizing:border-box;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.25);
    margin:auto;
}

.clcazcontent button {
    margin:2px;
    padding:4px 12px;
    cursor:pointer;
    border:none;
    border-radius:6px;
    min-width:10em;
    line-height:2em;
    color:white;

    background-color:rgba(65,80,170,0.85);

    box-shadow:
        0 3px 8px rgba(0,0,0,0.25),
        inset 0 1px 1px rgba(255,255,255,0.25);

    transition:background-color .2s ease, box-shadow .2s ease;
}

.clcazcontent button:hover {
    background-color:rgba(85,105,210,0.95);

    box-shadow:
        0 2px 6px rgba(0,0,0,0.25),
        inset 0 1px 2px rgba(255,255,255,0.35);
}

.clcazcontent button:active {
    background-color:rgba(50,65,150,1);

    box-shadow:inset 0 2px 5px rgba(0,0,0,0.25);
}
.clcazcontent textarea {
    border:1px solid rgba(180,190,220,0.5);
    border-radius:6px;
    padding:6px;
    box-sizing:border-box;
    font:inherit;
    outline:none;
}

.clcazcontent textarea:focus {
    border-color:rgba(100,140,230,0.9);
    box-shadow:0 0 0 2px rgba(100,140,230,0.15);
}

#cazproj {
	display:none;
	padding:6px;
	border-style:none;
	width:90%;
	margin:auto;
}


/*Bouton*/
.inlinebutton {
    text-align:center;
    margin:2px;
    padding:4px 12px;
    cursor:pointer;
    border:none;
    border-radius:6px;
    min-width:10em;
    line-height:2em;
    color:white;
    text-decoration:none;

    background-color:rgba(65,80,170,0.85);

    box-shadow:
        0 3px 8px rgba(0,0,0,0.25),
        inset 0 1px 1px rgba(255,255,255,0.25);

    transition:background-color .2s ease, box-shadow .2s ease;
}

.inlinebutton:hover {
    background-color:rgba(85,105,210,0.95);

    box-shadow:
        0 2px 6px rgba(0,0,0,0.25),
        inset 0 1px 2px rgba(255,255,255,0.35);
}

.inlinebutton:active {
    background-color:rgba(50,65,150,1);

    box-shadow:
        inset 0 2px 5px rgba(0,0,0,0.25);
}
/* tableau listes */
.cazlist {
	text-align:center;
	border-style:solid;
	border-width:2px;
	border-color:white;
	border-collapse: collapse;
}
.cazlist td {
	border-style:solid;
	border-width:1px;
	border-color:white;
}
.cazlist th {
	border-style:solid;
	border-width:2px;
	border-color:white;
	font-weight:bold;
	text-align:center;
}
/* liste à copier  / coller */
.cazlistsel {
    user-select: text;
	-moz-user-select: text;
}
/* bouton du menu */
.menubutton {
	display:inline-block;
	height:36px;
	width:100%;
	background-color:rgba(150,150,150,.7);
	background-repeat:no-repeat;
	background-size:32px 32px;
	background-position:2px 2px;
	line-height:36px;
	font-size:16px;
	box-shadow:3px 3px 3px black;
	margin:0px 0px 5px 0px;
	cursor:pointer;
}
.menubutton:hover{
	background-color:rgb(140,140,140);
	color:rgb(240,240,240);
	box-shadow:2px 2px 2px black;
	margin:2px 0px 3px 0px;

}
.menubutton:active{
	box-shadow:1px 1px 1px black;
	margin:3px 0px 2px 0px;
	background-color:rgb(140,140,140);
	color:rgb(240,240,240);
}
.menubutton img{
	filter:drop-shadow(2px 2px 2px black);
	height:36px;
}
.menubutton div{
	float:left;
}
/* Input */
.cazinput {
	font-size:14px;
	height:30px;
	padding: 4px;
	margin-right:4px;
	color:black;
	box-sizing: border-box; 
}
.cazbutton {
	display:inline-block;
	margin:0;
	padding:0;
	border-style:none;
	background-color:transparent;
	vertical-align:middle;
	height:38px;
	width:38px;
	cursor:pointer;
}
.cazbutton img {
	filter:drop-shadow(2px 2px 2px black);
	height:100%;
}
.cazbutton:active {
	height:36px;
	width:36px;
	margin:0px 2px 2px 0px;
}
/* partie centrale */
.cazmiddle {
	display:inline-block;
	padding:1px;
	top:16px;
	width:100%;
	text-align:center;
	vertical-align:middle;
	box-sizing: border-box; 
}
.cazmiddle hr {
	width:60%;
	margin:10px;
}
.errorid {
	display:block;
	color:red;
	font-weight:bold;
}
.cazlego {
	display:inline-block;
	max-width:400px;
	min-width:40%;
	margin:5px;
}
.cazlegoblock {
	display:block;
	max-width:600px;
	min-width:40%;
	margin:auto;
	padding:10px;
}
.cazlegoblockcadre
{
	display:block;
	border-width:1px;
	border-style:solid;
	border-color:white;
	border-radius:2px;
	box-shadow:1px 1px 1px black;
	padding:2px;
}
.cazlegoblockbandeau
{
	display:block;
	background-color:rgb(80,80,150);
	padding:4px;
}
.cazlego img {
	max-width:100%;
	max-height:100%;
}


.caznews {
    display: inline-block;

    max-width: 600px;
    min-width: 20%;
    max-height: 350px;

    margin: 4px;
    padding: 12px;

    box-sizing: border-box;
    text-align: left;
    overflow: auto;
	background: rgba(255, 255, 255, 0.94);
	color: #252B50;
    /*background: linear-gradient(
        135deg,
        rgba(55, 70, 155, 0.85) 0%,
        rgba(35, 40, 75, 0.85) 100%
    );

    color: white;*/

    border-radius: 12px;

    border: 1px solid rgba(180, 190, 255, 0.25);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.cazlego p {
	margin:0;
	padding:0;
}
.caznews hr {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    height: 1px;

    background-image: linear-gradient(
        to right,
        rgba(60, 75, 130, 0),
        rgba(60, 75, 130, 0.35),
        rgba(60, 75, 130, 0)
    );
}
.caznews p {
	font-weight:bold;
	margin:0;
	padding: 0px 0px 3px 0px;
}
/* Tableau des actualités */
.caznews table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #151b50;
}

/* En-tête violet */
.caznews th {
    background: linear-gradient(135deg, #6977df, #4446a3);
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-size: 17px;
    border-radius: 10px 10px 0 0;
}

/* Cellules */
.caznews td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e1e4f2;
}

/* Colonne des dates */
.caznews td:first-child {
    width: 105px;
    white-space: nowrap;
    text-align: center;
    font-weight: bold;
    color: #303c88;
}

/* Texte des actualités */
.caznews td:nth-child(2) {
    line-height: 1.5;
    color: #454b70;
}

/* Texte en gras */
.caznews strong {
    color: #151b50;
    font-weight: 700;
}

/* Survol */
.caznews tbody tr:hover {
    background: #f5f6ff;
}

/* Dernière ligne */
.caznews tbody tr:last-child td {
    border-bottom: none;
}
/* Colonne des dates */
.caznews td:first-child {
    width: 95px;
    padding: 10px;
    text-align: center;
}

/* Pavé coloré */
.caznews .news-date {
    width: 85px;
    box-sizing: border-box;
    padding: 7px 4px;
    border-radius: 10px;
    background: #e1e4ff;
    text-align: center;
}

/* Jour */
.caznews .news-jour {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    color: #172466;
}

/* Mois et année */
.caznews .news-mois {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #344478;
}

/* Couleurs pastel alternées */
.caznews tbody tr:nth-child(5n+1) .news-date {
    background: #e1e4ff;
}

.caznews tbody tr:nth-child(5n+2) .news-date {
    background: #c8f8e8;
}

.caznews tbody tr:nth-child(5n+3) .news-date {
    background: #fbdde8;
}

.caznews tbody tr:nth-child(5n+4) .news-date {
    background: #fff4bb;
}

.caznews tbody tr:nth-child(5n+5) .news-date {
    background: #d5e6ff;
}
/*Les mentions */
/*.cazmention {
	display:inline-block;
	padding:1px;
	top:16px;
	width:100%;
	text-align:left;
	vertical-align:middle;
	box-sizing: border-box;
}*/
.cazmention {
    display: inline-block;
    padding: 20px 25px;
    top: 16px;
    width: 100%;
    text-align: left;
    vertical-align: middle;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.95);
    color: #303548;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.cazmention h1 {
    font-size: 24px;
    font-weight: 700;
    color: #303c88;
    line-height: 1.3;
    margin: 25px 0 15px 0;
}

.cazmention h2 {
    font-size: 19px;
    font-weight: 600;
    color: #404b91;
    line-height: 1.3;
    margin: 22px 0 10px 0;
}

.cazmention h3 {
    font-size: 16px;
    font-weight: 600;
    color: #505b98;
    line-height: 1.4;
    margin: 18px 0 8px 0;
}

.cazmention h1:first-child,
.cazmention h2:first-child,
.cazmention h3:first-child {
    margin-top: 0;
}
/* Popup */
#lockscreen {
position:fixed;
display:none;
width:100%;
height:100%;
background:rgba(0,0,0,.8);
z-index:200;
text-align:center;
}
#popup {
	position:relative;
	display:none;
	width:50%;
	top:20%;
	padding:7px;
	box-shadow:2px 2px 2px black;
	margin:auto;
	background:rgb(100,100,90);
}

/* Progress bar */
.ld-progressctn
{
	display:block;
	width:300px;
	height:20px;
}
.ld-progress
{
	position:absolute;
	top:2px;
	left:0px;
	height:16px;
	border-radius:8px;
	background-color:blue;
	overflow:visible;
	color:white;
}
/* bouton on/off flags */
.df_select {
	display:inline-block;
	color:gray;
	background-color:rgba(33,50,150,0.5);
	box-shadow:1px 1px 1px black;
	padding:2px;
	margin:2px;
	cursor:pointer;
	opacity:.7;
}
.df_selected {
	display:inline-block;
	color:white;
	padding:2px;
	margin:2px;
	cursor:pointer;
	background-color:rgba(33,50,150,1);
	box-shadow:0 0 5px red;
}


.df_select:hover {
box-shadow:2px 2px 2px black;
background-color:rgba(33,50,150,0.8);
}


/* Divers */
.diverr {
	color:red;
	font-weight:bold;
	font-size:16px;
}
/* Logo */
#cazframe {
	width:350px;
	height:350px;
	display:inline-block;
	border-style:none;
	overflow:hidden;
}
#cazlogo {
	display:inline-block;
	width:350px;
}
#cazlogo img {
	width:100%;
}
#cazlogo img .logotxt {
	display:none;
}
/* Partie publique du site */
#cazpublic {
display:block;
max-width:80%;
margin:auto;
margin-top:1em;
padding:1em;
}

.pub-cadre {
    display: inline-block;
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0px 26px 2px 24px;

    background-color: rgba(65, 80, 170, 0.85);
    /*background-size: contain;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80% auto;

    border-radius: 12px;
    overflow: hidden;

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.30),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);

    color: white;
    font-size: 15px;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Survol */

.pub-cadre:hover {
    margin: 1px 25px 1px 25px;

    background-color: rgba(85, 105, 210, 0.95);

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

/* Clic */

.pub-cadre:active {
    margin: 2px 24px 0px 26px;

    background-color: rgba(50, 65, 150, 1);

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.20),
        inset 0 2px 5px rgba(0, 0, 0, 0.20);
}


/* Bandeau inférieur : lisibilité renforcée */

.pub-texte {
    position: absolute;
    display: block;
    width: 100%;
    bottom: 0;

    box-sizing: border-box;
    padding: 4px 2px;

    background-color: rgba(18, 30, 85, 0.65);
    border-radius: 0 0 12px 12px;

    text-align: center;
    color: white;
    font-size: 15px;
    line-height: 19px;

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.pub-bleu       { background-color: #4779b9; }
.pub-violet     { background-color: #8264c7; }
.pub-turquoise  { background-color: #299b91; }
.pub-orange     { background-color: #d78a42; }
.pub-rose       { background-color: #c76591; }

.idx-framed {
	display:inline-block;
	margin:auto;
	padding:5px;
}
.idx-framed p {
	text-align:left;
	font-size:14px;
}
/* entête */
.idx-oubli {
	font-size:12px;
	cursor:pointer;
	text-align:right;
	color:rgba(255,100,100,.8);
}
