body{max-width:100vw;
  background-color: #171d2b;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color:#DDDDDD;}
/* Clear formatting*/
hr{
margin: 10px;
color: grey!important;
border: 0.5px solid grey!important;}
input{border-radius: 8px!important;
  padding: 5px!important;
  font-size: 12px!important;
  border-width: 1px!important;
  border-color: #CCCCCC!important;
  background-color: #FFFFFF!important;
  color: #000000!important;
  border-style: solid!important;
  border-radius: 8px;
  box-shadow: -1px 0px 2px rgba(66,66,66,.26);
  text-shadow: 0px 0px 5px rgba(66,66,66,.75);}

.pix-input{
padding: 5px;
font-size: 12px;
border-width: 1px;
border-color: #CCCCCC;
background-color: black;
color:#DDDDDD;
border-style: solid;
border-radius: 8px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  /* Remove formatting from links*/
  
  a {
    color: inherit;
    text-decoration: none;
  }
  /* Set a max width to the content*/
  
  .wrapper {min-height:100%;
    max-width: 100vw;
  
    margin-top:70px;
    /*background-color: #1F2739;*/
    display: flex;
    flex-direction: column;
    /*height: 100vh;  */
  
  }

  .wrap{min-height:100%;margin-top:80px;padding-left:20px;padding-right:20px;background-color:#1F2739;}
  .header {
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    width: 100%;   z-index:1000;
  }
  .navbar {
 
    display: flex;
    justify-content: flex-start;
    background-color: #0f131d;
 
  }
  
  .menu {
    display: flex;
   
  }
  .menu ul { width: 100vw;
    display: flex;
    justify-content: space-between;
    align-content: start;
    align-items: center;
    list-style: none;
    /*background-color:black;*/
  }
  
  .menu li {
    padding: 10px;
   /* margin-left: auto;*/
  color:#DDDDDD;
    font-size: 25px;
    font-weight: bold;
  }

  .tab-content{
    display: none;
    background: #1F2739;
    /*padding: 15px;*/
}

.tab-content.current{
    display: inherit;
}

.pix_form label{font-weight: 700; float:left;}
.pix_form input{float:right; width:40%}
.pix_form select{float:right; width:40%}
.pix_form, .pix_container{padding:20px;border-radius:10px;margin-top:10px}

.pix_form_img{padding:20px;border-radius:10px;}
#event_desc{ width:100%;min-height:100px;margin-bottom:10px}
#event_img{width:100%;margin-top:10px;margin-bottom:10px;}
#myevent{padding:0}

.pix_form_button{ 
  background-color: #007bff!important;
  border: 1px solid #007bff!important;
  padding: 10px!important; border: 0px!important;font-weight: 300!important;
  color:#DDDDDD!important;border-radius:8px;display: inline-block;white-space:nowrap;
  transition: all 0.1s;
  -webkit-transition: all 0.1s;
}
.pix_form_button:active {
  transform: translate(0px,3px);
  transform: scale(0.8);
  -webkit-transform: scale(0.8);
  -webkit-transform: translate(0px,3px);
  border-bottom: 1px solid;
}
.pix_form_button_no{ 
  background-color: #dddddd0a;
  border-style: solid!important;
  border-width: 1px!important;
  border-color:#007bff;

  padding: 10px!important;font-weight: 300!important;
  color:#007bff!important;border-radius:8px;display: inline-block;white-space:nowrap;
  transition: all 0.1s;
  -webkit-transition: all 0.1s;
}
.pix_form_button_no:active {
  transform: translate(0px,3px);
  transform: scale(0.8);
  -webkit-transform: scale(0.8);
  -webkit-transform: translate(0px,3px);
  border-bottom: 1px solid;
}
.pix_mod_button{  position:relative!important; left:100px;top:-20px;z-index:500;
   background-color: #007bff!important;
  border: 1px solid #007bff!important;
  padding: 6px!important; border: 0px!important;font-weight: 300!important;
  color:#DDDDDD!important;border-radius:2px;display: inline-block;white-space:nowrap;
  transition: all 0.1s;
  -webkit-transition: all 0.1s;
}
.pix_mod_button:active {
  transform: translate(0px,3px);
  transform: scale(0.8);
  -webkit-transform: scale(0.8);
  -webkit-transform: translate(0px,3px);
  border-bottom: 1px solid;
}
.container{background-color: #323C50;line-height:40px;max-width: 90vh;}
.container_s{background-color: #323C50;max-width: 90vh;}
.pix_container{font-size: 30px;text-align:center;margin-left:auto;margin-right:auto; display: flex;
  flex-direction: column;
}


.flex_container{display: flex;flex-direction: column;}
.flex_container_row{display: flex;flex-direction: row;}
.pix_perso{
  justify-content: space-around;
  width:100%;
}
.flex_logo{
  margin: 10px;
  padding:15px;
  line-height: 20px;
  background-color: #2C3446;

  justify-content: stretch;padding:5px;}
  .flex_center{display: flex;
    height: 300px;
    justify-content: center;
    align-items: center;}
.flex_img{width:40%;margin-left:auto;}
.flex-div{
 /* border-radius:5px;*/
  margin: 2px;
  padding:15px;
  line-height: 20px;
  background-color: #182030;

}
.flex_div_event{
  /*border-radius:10px 10px 0px 0px;*/
  margin: 5px 1px 5px 1px;
  padding:10px ;
  line-height: 20px;
  background-color: #182030;

  -webkit-box-shadow: 0 2px 2px -2px #0E1119;
  -moz-box-shadow: 0 2px 2px -2px #0E1119;
       box-shadow: 0 2px 2px -2px #0E1119;
}
.flex_div_event_desc{

  margin-bottom:10px;
  /*padding:10px ;*/
  line-height: 20px;

}
.user_account{
  background-color:#007bff;padding:10px; border-radius:12px;margin:10px; 
}
.user_account img{align-self:end;}

.flex_div_event_img {
  height: 300px;
  max-height: 300px;
  width: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: -25px;
  margin-right: -25px;
overflow:hidden;
}


.flex_div_event_img img{max-width:500px; object-fit: cover;
  object-position: 80% 100%;
  margin-left: -10px;
  margin-right: -10px;}

#myevent{min-height:360px;}


/*Tableau */
.pix_tab th h1 {
  font-weight: bold;
  font-size: 1em;
text-align: left;
color: whitesmoke!important;
}

.pix_tab td {
  font-weight: normal;
  font-size: 1em;
-webkit-box-shadow: 0 2px 2px -2px #0E1119;
   -moz-box-shadow: 0 2px 2px -2px #0E1119;
        box-shadow: 0 2px 2px -2px #0E1119;

}

.pix_tab {
  text-align: left;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
display: table;
padding: 0 0 8em 0;
}

.pix_tab td, .pix_tab th {
  padding-bottom: 2%;
  padding-top: 2%;
padding-left:2%;  
}

/* Background-color of the odd rows */
.pix_tab tr:nth-child(odd) {
  background-color: #323C50;
}

/* Background-color of the even rows */
.pix_tab tr:nth-child(even) {
  background-color: #2C3446;
}

.pix_tab th {
  background-color: #1F2739;
}

.pix_tab td:first-child { color:#FF7861; }

.pix_tab tr:hover {
 background-color: #464A52;
-webkit-box-shadow: 0 6px 6px -6px #0E1119;
   -moz-box-shadow: 0 6px 6px -6px #0E1119;
        box-shadow: 0 6px 6px -6px #0E1119;
}

.pix_portrait img{
  border-radius: 50%;
  align-self: center;
  max-width:120px;
  margin-bottom:15px;
  }
#qrcode img{
  align-self: center;
  max-width:120px;
  }

.red{color:red;}
.orange {color:orange;}
.green {color:rgb(34, 173, 34);}
.add-button{background-color:#2C3446;padding:20px; position:absolute; bottom:0;left:0;
color:#CCCCCC;width:100%;height:150px;border-radius: 20px 20PX 20PX 20PX ;text-align:center;}
.add_button h3{text-align:center;}
.but_ok{padding:12px 18PX 12px 18px;margin:20px;background-color:green;border: 0;}
.but_no_ok{padding:12px 18PX 12px 18px;margin:20px;background-color:red;border: 0;}

/* SWITCHS */

/* The switch - the box around the slider */
.p_account{float:left;margin-top:4px}
.switch {
  font-size: 14px;
  position: relative;
  /*display: inline-block;*/
  width: 3.5em;
  height: 2em;
  float:right;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  border: 1px solid #adb5bd;
  transition: .4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  border-radius: 20px;
  left: 0.27em;
  bottom: 0.25em;
  background-color: #adb5bd;
  transition: .4s;
}

input:checked + .slider {
  background-color: #007bff;
  border: 1px solid #007bff;
}

input:focus + .slider {
  box-shadow: 0 0 1px #007bff;
}

input:checked + .slider:before {
  transform: translateX(1.4em);
  background-color: #fff;
}