@media only screen and (max-width: 2560px) {
 

body {
    //height: 2000px; /* Ensure there is enough scrollable content */
    font-family: Roboto, Arial, sans-serif;
    display: flex;
    //flex-grow;
    flex-direction: column;
    //flex: 0 1 center;  
    //justify-content: center;
    //align-items: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    /*background-image: url(../img/logo_cms.png);
    background-attachment: fixed;  
    background-repeat: no-repeat;
    background-size: contain;  
    background-position: left 0% top 33vh;*/
    background-color: #e4e4e4;
    //background-clip:padding-box;
    //z-index: 0;
}
    
/*-----HEADER NAVIGATION BURGER LIST LOGO------*/ 
    
/*---------- TOP LEFT ICON -------------*/
    
  .fa-bars {
    color: #444;
    position: absolute;
    padding-top:16px;
    padding-bottom:16px;
    padding-left:20px;
    padding-right:20px;
    //display:none;
    cursor: pointer;
    z-index: 10;
}

   .fa-bars, .fa-2x {
    color: #444;
    //position: absolute;
    //top:16px;
    //left:20px;
    //display:none;
}
    
/*---------------- BURGER ---------------*/
    
  #burger {
    display: block;
    background: rgba(256, 256, 256, 0.2);
    //width: 100vw;
    //Height: 100vh;
    position: fixed;
    z-index: 9000;
}

  nav ul {
    padding-left: 0;
    padding-top: -1;
    text-indent: 20px;
    //border: 1px solid #444;
   
}    
    
  .navigation {
    display: block;
}
    
  .navigation-burger {
    display: none;
}

  .navigation-burger {
    position: absolute;
    top: 36px;
    left: -800px;
    max-width: 242px;
    width:100%;
    transition: left 0.25s ease;
    z-index: 1000;
}


  .navigation-burger.is-active {
    position: absolute;
    left: 0px;
}

  .navigation-burger .list.is-active {

}

  .navigation-burger .item {
    background: rgba(246, 246, 246, 0.9);
    border-top: 1px dotted #444;
    //border-right: 1px solid #aaa;
    display: block;
    height: 40px;
    line-height: normal;
    display: flex;
    display: -webkit-flex;
    flex: 1;
    -webkit-flex: 1;
    align-items: center;
    -webkit-align-items: center;
    font-size: 14px;
}

 /*.navigation-burger.item:nth-child(1) {
    border-top: 0px;
}*/

  .navigation-burger .item:hover {
    background: rgba(208, 208, 208, 1);
    
}

  .navigation-burger .item a:hover {
    border-bottom: 0px
}

  .navigation-burger .item.is-active:first-child {
    border-top: 0px;

}

  .navigation-burger .item .link {
    align-items: center;
    color: #444;
    display: flex;
    display: -webkit-flex;
    flex: 1;
    -webkit-flex: 1;
    height: 40px;
    justify-content: center;
}

  a .item {
    display: inline-block;
    height: 20px;
    color: #444;
    text-decoration: none;
    font-size: 1em;
    font-weight: 300;
    margin: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

    
  /*.logo {
    //left: 60px;        
    background-image: url(../img/logo_cms_old.png);
    background-repeat: no-repeat;  
    background-position: center;
    background-size: contain;
    width: 100px; 
    height: 22px; 
    float: left;
    position: absolute;
    //display: block;
    //margin-top: 100px;
    //padding-top: 0px;
    //margin: auto;
    top: 11px;
    left: 50px;
}*/
    
    .header {
    float: left;
    position: absolute;
    //display: block;
    //margin-top: 100px;
    //padding-top: 0px;
    //margin: auto;
    top: -31px;
    left: 50px;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -0.05em;
        
}
    
    
    
/*------------- INTRO --------------*/    
    
  .arrowdown {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 50px;    
    align-items:center;
    align-content:center;
    justify-content: flex-start;  
}    
    
.arroff {
    display: none;
    }

 .uismall {
    //text-align: center;
    max-width: 750px;
    position: relative;
    color: #444; 
    font-size: 13px;
    scroll-behavior: smooth;
    margin-bottom: 20px;
    z-index: 18;
    }

 .footer-intro {
    //display: table; 
    color: #666;
    bottom: 10px;
    font-size: 12px; 
    position: fixed;
    //height: 95vh;
    margin-bottom: 20px;
    //justify-content: center;
    //align-items: center;
    //align-content: center;
    text-align: center;
    width: 100%;
}

.footer {
    display: table; 
    color: #666;
    //bottom: 10px;
    font-size: 12px; 
    position: relative;
    //height: 95vh;
    margin-bottom: 20px;
    //justify-content: center;
    //align-items: center;
    //align-content: center;
    text-align: center;
    width: 100%;
}
    
.navbot {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    align-content: center;
    border-top: 1px dotted #848484;
    border-bottom: 1px dotted #848484;
    padding-top: 15px;
    margin-top: 20px;
    text-align: left;
    font-size: 9pt;
    width: 750px;
    //font-weight: 500;
    //grid-template-columns: repeat(auto-fill,minmax(20px,max-content));    
    //column-width: auto;
    //column-span: all;
    //column-count: 4;
    //column-gap: 10px;
    //column-rule: 1px dotted #444;
    line-height: 12pt;
    padding-bottom: 15px;
    margin-bottom: 20px;
    }
    
.navbot a {
    color: #848484;
    text-decoration-line: none;  
    }

.navbot a:hover {
    text-decoration-line: underline;  
    }

  .marger {
    cursor: pointer;
    height: 100vh;
    width: 100vw;
    //top: 0;
    //left: 0;  
    box-sizing: content-box;
    background-image: url("../img/danzchural_intro_4c_static.gif");
    //background-attachment: fixed;  
    background-repeat: no-repeat;
    background-size: cover;  
    background-position: center;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size:cover;
    z-index: -1;  
    position: fixed;
    //overflow: hidden;  
    //display: block;
    //background: #e4e4e4;
    //width: 100%;
    //display: flex;
    //flex-direction: column;
    //position: absolute;        
    //align-content: flex-start;
    //text-align: center;
    //overflow-y: hidden;
    //scroll-behavior: smooth;
    //transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s;
    //overflow-y: visible;  
    //transform: height 60vh; 
} 
    
.margerc {
    cursor: pointer;
    height: 100vh;
    width: 100vw;
    //top: 0;
    //left: 0;  
    //background-image: url('../img/danzchural_intro_4c_static.gif');
    //background-attachment: fixed;  
    //background-repeat: no-repeat;
    //background-size: cover;  
    //background-position: center;
    z-index: -2;  
    position:fixed;
    overflow: hidden;
    //display: block;
    background-color: #e4e4e4;
    //width: 100%;
    //display: flex;
    //flex-direction: column;
    //position: absolute;        
    //align-content: flex-start;
    //text-align: center;
    //overflow-y: hidden;
    //scroll-behavior: smooth;
    //transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s;
    //overflow-y: visible;  
    //transform: height 60vh; 
}    

  .wrap {
    display: flex;
    //position: absolute;
    //justify-content: center;
    //flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    align-content: flex-start;
    align-items: center;
    align-content: center;
    padding-top: 100px;
    //overflow-y: hidden; 
    //top: 0%;
    //bottom: 25%;
    //scroll-behavior: smooth;
    //height: 120vh;
    z-index: 9;  
}
 .wraptxt {
    display: flex;
    //position: absolute;
    //justify-content: center;
    //flex: 1 0 auto;
    flex-direction: column;
    align-items:flex-start;
    align-content: flex-start;
    //align-items: center;
    //align-content: center;
    //margin-top: 100px;
     padding-left: calc( (100vw - 768px) / 2 );
     -webkit-padding-left: calc( (100vw - 768px) / 2 );
    //overflow-y: hidden; 
    //top: 0%;
    //bottom: 25%;
    //scroll-behavior: smooth;
    //height: 120vh;  
    z-index: 10;  
}
    
  .image-container {
    display: flex;
    flex-direction: column;
    //align-content: flex-end;
    position: fixed;
    //overflow-y: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 0px;
    height: 0px;
    //bottom: 90%;
    //max-height: 562px;
    //max-width: 750px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}

.agc video {
    width: 750px;
    height: 600px;
    scroll-behavior: smooth;
    object-fit: contain;
    object-position: center;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
    }
    
    
  .ag {
    display: flex;
    //object-fit: contain;
    //position: relative;
    //flex-direction: column;
    //justify-content: center;
    //align-items: center;  
    //align-content: center;  
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translate(-50%, -50%);
    width: 750px;
    height: 562px;
    //bottom: 90%;
    max-height: 562px;
    max-width: 750px;
    //scroll-behavior: smooth;
    //transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
    }

.agc {
    display: flex;
    //position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    align-content: center;  
    width: 750px;
    height: 600px;
    //bottom: 90%;
    max-width: 750px;
    max-height: 600px;
    z-index: 17;
    //object-fit: contain;
    //object-position: center;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
    }

  .image-container video {
    //box-sizing: content-box;
    //object-fit: cover;
    width: 100%;
    //max-width: 750px;
    //max-height: 750px;
    //width: 100%;
    //transform: translate(-50%, -50%);
    //left: 50vw;
    //flex: 1 1 auto;
    //margin: 30px;
    //top: 50vh;
    //flex-direction: column;
    //max-width: 750px;
    //max-height: 562px;
    //width: 32px;
    //height: 24px;
    //position: fixed;
    //display: block;
    //scroll-behavior: smooth;
    //transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}
    
  .cap-intro {
    //width: 100%;
    //width: 100%;
    //margin-top: 0;  
    //padding-top: 35px;  
    //text-align: left; 
    //top: 87vh;    
    position: relative;
    //width: 32px;   
    display: none;    
    //transform-origin: 50% 50%;
    font-size: 1px;
    color: #444; 
    margin-top: 10px;
    //line-height: 20px;
    //max-width: 750px;
    //align-items: center;    
    //text-align: center;       
    scroll-behavior: smooth;
    //opacity: 0;  
    //transition: opacity 2s ease-in-out;
    transition: font-size 1.2s ease-in-out;
    
}
    
.agt {
    scroll-behavior: smooth;
    font-size: 11px;
    display: block;
    transition: font-size 1.2s ease-in-out;
    }    

.project {
    display: none;
    position: relative;
    font-size: 12px;
    }    
    
.textBlock {
    //transform-origin: 50% 50%;
    position: relative;
    display: flex;
    flex-direction: column;    
    //top: 50%;
    //left: 50%;
    //bottom: 25%;
    //transform: translate(0%, 0%);
    //margin-top: 80vh;
    //min-width: 750px;
    //max-width: 750px;
}

  h1{
    //text-align: left;
    //border-left: 8px;
    margin-left: -50px;
    color: #444444;
    width: 750px;
    font-size: 32px;   
    font-weight: 500;
}   

  h2{
    //text-align: left;
    //border-left: 8px;
    color: #444444;
    width: 750px;
    font-size: 24px;   
    font-weight: 500;
    margin-top: 20px;
    //margin-bottom: 20px;    
}   

h2.header {    
    margin-top: 40px;    
    }
    
  p {
    width: 750px;
    //border-left: 8px;
    //border-right: 8px;
    font-size: 18px;
    font-weight: 400;
    //display: block;
    margin-top: 0;
    margin-bottom: 20px;
}

  a {
    color: #435558;
    text-decoration: none;
}

  a:hover {
    text-decoration:none;
}

  ul li a {
    color: #435558;
    //border: 1px solid #444;
    text-decoration: none;
}

    
  /*.right{
    text-align: right;
    //border-left: 187px;
}*/
    
    
/*---------- GRILLE GALERIE ----------*/
            
  .thumbnail-grid {
    //border-left: 8px;
    //border-right: 8px;
    display: grid;
    max-width: 750px;
    grid-template-columns: repeat(8, 1fr);
    -webkit-grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    z-index: 900;  
}

  .thumbnail {
    width: 85px;
    height: 85px;
    object-fit: cover;
    overflow: hidden;
    //-webkit-overflow: hidden;
    cursor: pointer;
    z-index: 901;  
}

  .thumbnail:hover {
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.4s ease-in-out;
    -webkit-transition: opacity 0.4s ease-in-out;
    }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(244, 244, 244, 0.95);
    z-index: 899;
    text-align: center;
    align-content: center;
    align-items: center;
    //overflow-y: hidden; 
    overflow: hidden;
}
    
  .overlayv {
    display: flex;
    flex: 0 0 center; 
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-content: center;
    align-items: center;
    //overflow-y: hidden; 
    overflow: hidden;
    z-index: 902;  
}
    
  .arrow-right {
    //font-family: futura, sans-serif;  
    background-image: url(../img/arr_right.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;  
    font-size: 14pt;
    opacity: 0.4;
    cursor: pointer;
    //font-weight: 200;
    padding-left: 2px;
    padding-top: 40px;  
    padding-bottom: 40px;
    border: 5px;
    right: 10px;  
}

  .arrow-left {
    //font-family: futura, sans-serif;  
    background-image: url(../img/arr_left.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 14pt;
    position: fixed;
    left: 10px;  
    opacity: 0.4;    
    cursor: pointer;
    //font-weight: 200;
    padding-right: 2px;
    padding-top: 40px;  
    padding-bottom: 40px;  
    border: 5px;
}

    
  .gap {
      width: 100vw;
      position: fixed;
      height: 100px;
      top: calc( 50vh - 50px );
      cursor: pointer;
}    
    
  .fermeur {
    //position: absolute;
    background-image: url(../img/cross.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed; 
    font-size: 20pt;
    opacity: 0.3    ;    
    cursor: pointer;
    //font-weight: 300;
    top: calc( -5vh + 60px );
    right: 15px;
    padding: 4px;  
}

  .overlay img {
    max-width: 90%;
    max-height: 90%;
    position: fixed;
    //margin-top: 5%;
    cursor: pointer;
    //align-content: center;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}
    
   .idx {
     position: fixed;
     bottom: 20px;
     right: 15px;
     font-size: 9pt;
     color: #aaa;    
    }    
}
@media only screen and (max-height: 768px) {
        
body {

}    

/*#marger {
    height: 85vh;
    }*/

.ag {
    display: flex;
    //flex-direction: column;
    //justify-content: center;
    //align-items: center;
    //align-content: center;  
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translate(-50%, -50%);
    width: 500px;
    height: 375px;
    //bottom: 90%;
    //max-height: 375x;
    //max-width: 500px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
    }

.agc {
    display: flex;
    //flex: 1 0 auto;
    //position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    align-content: center;  
    width: 750px;
    height: 400px;
    //bottom: 90%;
    //max-height: 375px;
    //max-width: 500px;
    object-fit: contain;
    object-position: center;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}
    
.agc video {
    width: 500x;
    height: 400px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;

    }
 .fermeur {
    top: 20px;
}
}    
    
@media only screen and (max-height: 640px) {
        
body {

}    

/*#marger {
    
    height: 85vh;
    }*/

.cap-intro {
    font-size: 11px
    }        
        
.ag {
    display: flex;
    //flex-direction: column;
    //justify-content: center;
    //align-items: center;
    //align-content: center;  
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translate(-50%, -50%);
    width: 320px;
    height: 240px;
    //bottom: 90%;
    //max-height: 240px;
    //max-width: 320px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
    }
    
.agc {
    display: flex;
    //flex: 1 0 auto;
    //position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    align-content: center;  
    width: 750px;
    height: 256px;
    //bottom: 90%;
    //max-height: 240px;
    //max-width: 320px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}
    
    
.agc video {
    width: 320px;
    height: 256px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;

    }
  .fermeur {
    top: 20px;
}

}


    
/*--------------- W RESPONSIVE 1120px MAX --------------*/
    

@media only screen and (max-width: 1120px) {
        
body {

}    

  /*#marger {
    height: 85vh;
    }*/

     .ag {
    display: flex;
    //flex-direction: column;
    //justify-content: center;
    //align-items: center;
    //align-content: center;      
    //position: relative;
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translate(-50%, -50%);
    width: 500px;
    height: 375px;
    //bottom: 90%;
    //max-height: 375px;
    //max-width: 500px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}
    
    .agc {
    display: flex;
    //flex: 1 0 auto;
    //position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    align-content: center;  
    width: 750px;
    height: 400px;
    //bottom: 90%;
    //max-height: 375px;
    //max-width: 500px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}
    
.agc video {
    width: 750px;
    height: 400px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;

    }
    
    
}
    
/*--------------- W RESPONSIVE 320px MIN 768px MAX--------------*/
    

@media only screen and (max-width: 840px) {

.fa-bars {
    padding-top:18px;
    }
    
    
body {
    //background-size: auto;
    //background-size: contain;  
    //background-attachment:scroll;  

}    
    
  /*#marger {
    height: 85vh;
    }*/

    
  /*.logo {
    //left: 60px;        
    //background-image: url(../img/logo_cms_old.png);
    //background-repeat: no-repeat;  
    //background-position: center;
    //background-size: contain;
    width: 100px; 
    height: 22px; 
    //float: left;
    //position: absolute;
    //display: block;
    //margin-top: 0px;
    //padding-top: 0px;
    //margin: auto;
    top: 11px;
    left: 50px;
    }*/
    
h1 {
     width: 488px;
     margin-left: -25px;
     font-size: 28px;
}
        
h2 {
     width: 488px;
     font-size: 22px;
}
        
p {
     width: 488px;
}

.navbot {   
    flex-direction: column;
    border-top: 1px dotted #444;
    padding-top: 20px;
    text-align: center;
    font-size: 10pt;
    width: 488px;
    //column-width: auto;
    //column-count: 1;
    //column-gap: 10px;
    //column-rule: 1px dotted #444;
    line-height: 18pt;
    margin-bottom: 20px;
    }
    
    
    
.uismall {
    //text-align: center;
    max-width: 488px;
    position: relative;
    color: #444; 
    font-size: 13px;
    line-height: 16px;
    scroll-behavior: smooth;
    margin-bottom: 20px;
    }
    
.thumbnail-grid {
     //display: grid;
     width: 488px;
     grid-template-columns: repeat(6, 1fr);
     -webkit-grid-template-columns: repeat(6, 1fr);
     //gap: 10px;
     //margin-left: -10px;
}
        
.thumbnail {
     width: 73px;
     height: 73px;
     //object-fit: cover;
     //overflow: hidden;
     //cursor: pointer;
}
    
.overlay img {
    max-width: 80%;
    max-height: 80%;
    //margin-top: 5%;
    cursor: pointer;
    //align-content: center;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}


.arrow-right {
     font-size: 12pt;
     //text-align: left;
     //opacity: 0.6;
     //cursor: pointer;
     //margin-left: 5px;
     //padding-left: auto;
     //background-position: right;    
  
}

.arrow-left {
     font-size: 12pt;
     //text-align: right;
     //opacity: 0.6;    
     //cursor: pointer;
     //padding-right: auto;
     //margin-right: 0px;

}

.fermeur {
     //font-size: 32pt;
     width: 12pt;
     background-image: url(../img/cross.png);
     opacity: 0.6;    
     cursor: pointer;
     top: 20px;
}

.footer-intro {
    bottom: 10;
    position: fixed;
    //height: 25%;
    //margin-bottom: 10px;
}

.footer {
    //bottom: 10;
    position: relative;
    //height: 25%;
    //margin-bottom: 10px;
}

/*#marger {
    height: 85vh;
    //width: 100%;
    //display: flex;
    //text-align: center;
    //overflow-y: hidden;
    //scroll-behavior: smooth;
    //transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s;
    //overflow-x: hidden;  
}*/

.wrap {
    display: flex;
    position: relative;
    justify-content: center;
    //flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    align-content: center;
    //margin-top: 50px;
    //overflow-y: hidden; 
    //top: 0%;
    //bottom: 25%;
    //scroll-behavior: smooth;
}

.wraptxt {
    display: flex;
    position: relative;
    //justify-content: center;
    //flex: 1 0 auto;
    flex-direction: column;
    //align-items:flex-start;
    //align-content: flex-start;
    //align-items: center;
    //align-content: center;
    //margin-top: 100px;
    margin-left: calc( (100vw - 488px) / 2 );
    //overflow-y: hidden; 
    //top: 0%;
    //bottom: 25%;
    //scroll-behavior: smooth;
    //height: 120vh;  
}
        
.image-container {
     //top: 150px;
     //bottom: 150px;
     width: 0px;
     height: 0px; 
     //height: auto;
     //align-items: center;
     //transform-origin: 50vw 5vh;
     //min-width: 32px;
     //max-width: 320px; 
     //max-height: 240px;
     //margin-bottom: 600px;
     //transform: translate(-50%, -50%);
     //-ms-transform: translate(-50%, -50%);
     //-webkit-transform: translate(-50%, 570%);
     scroll-behavior: smooth;
     transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}

.ag {
    display: flex;
    //flex-direction: column;
    //justify-content: center;
    //align-items: center;
    //align-content: center;  
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translateX(-50%);
    width: 320px;
    height: 240px;
    //bottom: 90%;
    //max-height: 320px;
    //max-width: 240px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}

.agc {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;  
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translateX(-50%);
    width: 488px;
    height: 390px;
    //bottom: 90%;
    //max-height: 562px;
    //max-width: 750px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}

.agc video {
    width: 488px;
    height: 390px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;

    }

.cap-Intro {
     font-size: 1px; 
     //width: 50px;
     //transform-origin: 0vw 0vh;
     //width: 32px;
     //max-width: 320px;
     margin-top: 2vh;  
     //margin-bottom: 650px;
     //text-align:left;
     opacity: 0; 
     display: none;
     //transition: opacity 1.2s ease-in-out;      
     scroll-behavior: smooth;
     transition: opacity 1.2s ease-in-out, font-size 1.2s ease-in-out;
  
}
    
.agt {
     font-size: 11px;
     opacity: 1;
     display: block;
     //flex-direction: column;
     //scroll-behavior: smooth;
     transition: opacity 1.2s ease-in-out, font-size 1.2s ease-in-out;
    }  
    }  


/*------------------------------ 480 ---------------------------------*/


@media only screen and (max-width: 460px) {
        
body {
    //background-size: auto;
    //background-size: contain;  
    //background-attachment:scroll;  

}    
    
.fa-bars {
    padding-top:18px;
    }
    
  /*#marger {
    height: 85vh;
    }*/

    
 /* .logo {
    //left: 60px;        
    //background-image: url(../img/logo_cms_old.png);
    //background-repeat: no-repeat;  
    //background-position: center;
    //background-size: contain;
    width: 100px; 
    height: 22px; 
    //float: left;
    //position: absolute;
    //display: block;
    //margin-top: 0px;
    //padding-top: 0px;
    //margin: auto;
    top: 11px;
    left: 50px;
    }*/
    
h1 {
     width: 320px;
     margin-left: -25px;
     font-size: 28px;
}
        
h2 {
     width: 320px;
     font-size: 22px;
}
        
p {
     width: 320px;
}

.navbot {   
    flex-direction: column;
    border-top: 1px dotted #444;
    padding-top: 20px;
    text-align: center;
    font-size: 10pt;
    width: 320px;
    //column-width: auto;
    //column-count: 1;
    //column-gap: 10px;
    //column-rule: 1px dotted #444;
    line-height: 18pt;
    margin-bottom: 20px;
    }
    
    
    
.uismall {
    //text-align: center;
    max-width: 320px;
    position: relative;
    color: #444; 
    font-size: 13px;
    line-height: 16px;
    scroll-behavior: smooth;
    margin-bottom: 20px;
    }
    
.thumbnail-grid {
     //display: grid;
     width: 320px;
     grid-template-columns: repeat(4, 1fr);
     -webkit-grid-template-columns: repeat(4, 1fr);
     //gap: 10px;
     //margin-left: -10px;
}
        
.thumbnail {
     width: 72px;
     height: 72px;
     //object-fit: cover;
     //overflow: hidden;
     //cursor: pointer;
}
    
.overlay img {
    max-width: 80%;
    max-height: 80%;
    //margin-top: 5%;
    cursor: pointer;
    //align-content: center;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}


.arrow-right {
     font-size: 12pt;
     //text-align: left;
     //opacity: 0.6;
     //cursor: pointer;
     //margin-left: 5px;
     //padding-left: 5px;
     //background-position: right;    
  
}

.arrow-left {
     font-size: 12pt;
     //text-align: right;
     //opacity: 0.6;    
     //cursor: pointer;
     //padding-right: 5px;
     //margin-right: 0px;

}

.fermeur {
     //font-size: 32pt;
     width: 12pt;
     background-image: url(../img/cross.png);
     opacity: 0.6;    
     cursor: pointer;
     top: 20px;
     right: 20px;  
}

.footer-intro {
    bottom: 10;
    position: fixed;
    //height: 25%;
    //margin-bottom: 10px;
}

.footer {
    //bottom: 10;
    position: relative;
    //height: 25%;
    //margin-bottom: 10px;
}

/*#marger {
    height: 85vh;
    //width: 100%;
    //display: flex;
    //text-align: center;
    //overflow-y: hidden;
    //scroll-behavior: smooth;
    //transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s;
    //overflow-x: hidden;  
}*/

.wrap {
    display: flex;
    position: relative;
    //justify-content: center;
    //flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    align-content: center;
    //margin-top: 50px;
    //overflow-y: hidden; 
    //top: 0%;
    //bottom: 25%;
    //scroll-behavior: smooth;
}

.wraptxt {
    display: flex;
    position: relative;
     //justify-content: center;
    //flex: 1 0 auto;
    flex-direction: column;
    //align-items:flex-start;
    //align-content: flex-start;
    //align-items: center;
    //align-content: center;
    //margin-top: 100px;
    margin-left: calc( (100vw - 320px) / 2 );
    //max-width:320px;
    //overflow-y: hidden; 
    //top: 0%;
    //bottom: 25%;
    //scroll-behavior: smooth;
    //height: 120vh;  
}
        
.image-container {
     //top: 150px;
     //bottom: 150px;
     width: 0px;
     height: 0px; 
     //height: auto;
     //align-items: center;
     //transform-origin: 50vw 5vh;
     //min-width: 32px;
     //max-width: 320px; 
     //max-height: 240px;
     //margin-bottom: 600px;
     //transform: translate(-50%, -50%);
     //-ms-transform: translate(-50%, -50%);
     //-webkit-transform: translate(-50%, 570%);
     scroll-behavior: smooth;
     transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}

.ag {
    display: flex;
    //flex-direction: column;
    //justify-content: center;
    //align-items: center;
    //align-content: center;  
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translateX(-50%);
    width: 320px;
    height: 240px;
    //bottom: 90%;
    //max-height: 320px;
    //max-width: 240px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}

.agc {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;  
    //position: fixed;
    //overflow-y: hidden;
    //top: 50%;
    //left: 50%;
    //transform: translateX(-50%);
    width: 320px;
    height: 256px;
    //bottom: 90%;
    //max-height: 562px;
    //max-width: 750px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;
}

.agc video {
    width: 320px;
    height: 256px;
    scroll-behavior: smooth;
    transition: width 1.2s, height 1.2s, top 1.2s, left 1.2s ease-in-out;

    }

.cap-Intro {
     font-size: 1px; 
     //width: 50px;
     //transform-origin: 0vw 0vh;
     //width: 32px;
     //max-width: 320px;
     margin-top: 2vh;  
     //margin-bottom: 650px;
     //text-align:left;
     opacity: 0; 
     display: none;
     //transition: opacity 1.2s ease-in-out;      
     scroll-behavior: smooth;
     transition: opacity 1.2s ease-in-out, font-size 1.2s ease-in-out;
  
}
    
.agt {
     font-size: 11px;
     opacity: 1;
     display: block;
     //flex-direction: column;
     //scroll-behavior: smooth;
     transition: opacity 1.2s ease-in-out, font-size 1.2s ease-in-out;
    }  
    }  


/*----------------------------- CONTACT ----------------------------------*/


input {
    border: solid 1px #6f625a;
    height: 30px;
    outline: none;
    outline-offset: 0;
    width: 100%;
    //padding-left: 10px;
    font-family: 'Roboto', 'Arial', sans-serif;
}

input[type=submit] {
    margin-top: 0px;
    background:#6f625a; 
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
    border: solid 1px #6f625a;
    color: #fff;
    font-family: 'Roboto', 'Arial', sans-serif;
}

input[type=submit]:hover {
    background:#372c24; 
    -webkit-border-radius: 5px;
    border-radius: 5px; 
    border: solid 1px #372c24;
    color: #fff;
}

textarea {
    border: solid 1px #6f625a;
    width:100%;
    height:200px;
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.input-group {
    border: 0px;
}

label {
    font-size: 12pt;
}
