body{
  position: relative;
}
p {
    -webkit-font-smoothing: antialiased;
}
#container{
  width: 100%;
}
/*
.isAdmin #container{
  width: 85%;
}*/
/*.isAdmin #content-inner{
  width: 95%;
}*/

#container a{
  text-decoration: none;
}

#header-inner, #content-inner, #footer-inner{
  margin: 0 auto;
  position: relative;
}
#content-inner{
  padding-bottom: 1px;
  padding-top: 1px;
}
/*#header-inner>div>div, #footer-inner>div>div{
  
}*/
/*
width default
*/
/*.menu, .baseline{
  width: auto;
}*/

#content-inner .breadcrumb a, #content-inner .breadcrumb a:hover{
  text-decoration: none;
}
#content-inner h1 a, #content-inner h2 a, #content-inner h3 a, #content-inner h4 a{
  text-decoration: none;
}

#content-inner h1 a:hover, #content-inner h2 a:hover, #content-inner h3 a:hover, #content-inner h4 a:hover{
  color: inherit;
  opacity: 0.8;
}
/*
margins & paddings default
*/
#content-inner h1, #content-inner h2, #content-inner h3, #content-inner h4{
  padding-left: 1em;

}
#content-inner p, #content-inner blockquote, #content-inner .post-abstract, #content-inner .post-content{
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1em;
}
#content-inner [class*="grid-"] > p:first-child{
   margin-left: 1em;
}
#content-inner [class*="grid-"] > p{
    margin-right : 0;
}
#content-inner blockquote{
 margin-left: 3em;
 margin-right: 3em; 
}

.grid-1 > *, .grid-1-small-1 > *{
  margin-left: 0;
}
.share{
  clear: both;
  padding-top: 1em;
  padding-bottom: 0.5em;
  padding-right: 1em;
}


#header-inner>[class*="grid-"], #footer-inner>[class*="grid-"]{
  margin-left:0;
}
/*
#content-inner article.post .post-left{
  width: auto;
}*/


/*
primary-bg / secondary-bg
*/

#content-inner .primary-bg a, #content-inner .secondary-bg a{
  color: inherit;
}

.baseline h1, .baseline h2, .baseline h3, .baseline h4{
  color: inherit;
  margin: 0;
  padding: 0;
}
.baseline{
  font-size: 2em;
}

.logo h1{
  margin: 0;
  padding: 0;
}

.logo h1 a{
  display: block;
}

/*
  NAVIGATION
  */


.menu{  
  width: auto;
  margin: 0 auto;
}
.menu nav{
}

.menunav ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.menu nav li{
  display: inline-block;
  text-align: center;
  padding: 0 0.2em;
}
.menu nav a{
  display: inline-block;
  min-width: 100px;
  padding: 0 1em;
  height: 3em;
  line-height: 3em;  
  position: relative;
}
.menu nav a:hover{
}

.loginMenu > div{
  display: inline-block;
  /*width: 100%;*/
}
.loginMenu .dropdown{

}
.loginMenu a{
  display: inline-block;
  color: inherit;
}
.loginMenu a:hover{
  opacity: 0.6;
}

.menu ul{
  padding-left: 0;
}
/*
UL, OU
*/
ul, ol{
  list-style-position: inside;
}

/*
COURSE MENU
*/
.course-menu h1{
  padding-left: 0.5em;
}
#content-inner .course-links{

  /*border: solid black 1px;*/
  list-style-type: none;
  list-style-image: none;
  padding: 0;
}
#content-inner .course-links li{
  padding: 0;
  margin: 0;
}

#content-inner .course-links li a, #content-inner .course-links li.current{
  display: block;
  min-width: 15em;
  margin: 0;
  padding: 1em;
  text-decoration: none;
}



/*
blockquote
*/
blockquote, blockquote:first-child{
    box-shadow: 0px 0px 1px #ccc;
    /*margin: 1.5em 0px 1.5em -1.5em;*/
    padding: 0.75em 0.5em 0.75em 1em;
    background: none repeat scroll 0% 0% #fefefe ;
    border-left: 0.5em solid #DDD;
    background-color: #f2f2f2;
    margin: 3em;
    margin-left: 2em;
    color: black;
}

blockquote:before{
    display: block;
    height: 0px;
    content: "“";
    text-align: left;
    margin-left: -0.95em;
    font: italic 400%/1 Cochin,Georgia,"Times New Roman",serif;
    color: #999;
}

blockquote footer{
    color: gray;
    margin-top: 1em;
    text-align: right;
    font-variant:small-caps;
    font: italic 1em Cochin,Georgia,"Times New Roman",Times,serif;
}

/*
ZERUDI BRAND
*/

.powered_by{
  text-align: center;
  font-size: 15px;  
  padding: 0.5em;
}
.powered_by a{
  color: white;
  text-shadow: 1px 1px 1px  black;
}

/*
trackers
*/
.trackers{
  color: white;
  text-shadow: 1px 1px 3px black;
  text-align: right;
  padding: 0.5em; 
}

[class*="flex-"], .flex{
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  flex-direction: row;
  display: flex;
}
.flex-space-between{
  justify-content: space-between;
}
.flex-space-around{
  justify-content: space-around;
}


.flex-row{
  flex-direction: row;
}
[class="grid-1"] > *{
  width: 100%;
}


.inner-line>*{
  min-height: 2em;
}


/*
CHECKBOX & RADIO
*/
label.switchbox [type="checkbox"],
label.switchbox [type="radio"],
.radios [type="radio"],
.checkboxes [type="checkbox"],
label ~ [type="checkbox"]:not(:checked),
label ~ [type="checkbox"]:checked,
label ~ [type="radio"]:not(:checked),
label ~ [type="radio"]:checked {
  position: absolute;
  left: -9999px;
}


label.switchbox,
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label,
[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
  position: relative;
  padding-left: 5em;
  cursor: pointer;
}

label.switchbox:before,
label.switchbox:after,
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before,
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after,
[type="radio"]:not(:checked) + label:before,
[type="radio"]:checked + label:before,
[type="radio"]:checked + label:after {
  content: '';
  position: absolute;
}
label.switchbox:before,
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before,
[type="radio"]:not(:checked) + label:before,
[type="radio"]:checked + label:before {
  left:0; 
  top: -0.1em;
  width: 4.5em; 
  height: 2em;
  background: #DDDDDD;
  border-radius: 2em;
  transition: background-color .2s;
}

[type="radio"]:not(:checked) + label:before,
[type="radio"]:checked + label:before {
  width: 2em;
  left: 1em;
}

label.switchbox:after,
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after,
[type="radio"]:not(:checked) + label:after,
[type="radio"]:checked + label:after  {
  width: 1.5em; 
  height: 1.5em;
  transition: all .2s;
  border-radius: 50%;
  background: #7F8C9A;
  top: 0.2em; 
  left: 0.3em;
}

[type="radio"]:not(:checked) + label:after,
[type="radio"]:checked + label:after {
  top: 0.1em; 
  left: 1.2em; 
}

/* on checked */
label.switchbox-checked,
[type="checkbox"]:checked + label,
[type="radio"]:checked + label{
  font-weight: bold;
}
label.switchbox-checked:before,
[type="checkbox"]:checked + label:before,
[type="radio"]:checked + label:before {
  background:#4C4C4C; 
}
label.switchbox-checked:after,
[type="checkbox"]:checked + label:after,
[type="radio"]:checked + label:after{
  background: #F5AC42;
  top: 0.15em; 
}
label.switchbox-checked:after,
[type="checkbox"]:checked + label:after {
  left: 2.75em; 
}

/* UI */
label.switchbox .ui,
[type="checkbox"]:checked + label .ui,
[type="checkbox"]:not(:checked) + label .ui:before,
[type="checkbox"]:checked + label .ui:after{
  position: absolute;
  left: 0.3em;
  width: 5em;
  border-radius: 15px;
  font-size: 14px;
  font-weight: bold;
  line-height: 22px;
  transition: all .2s;
}
label.switchbox:not(.switchbox-checked) .ui:before,
[type="checkbox"]:not(:checked) + label .ui:before {
  content: "non";
  left: 2em;
}
label.switchbox:not(.switchbox-checked) .ui:after,
[type="checkbox"]:checked + label .ui:after{
  content: "oui";
  color: #F5AC42;
}
/*focus*/
[type="checkbox"]:focus + label:before,
[type="radio"]:focus + label:before {
  border: 1px dashed #777;
  box-sizing: border-box;
  margin-top: 0;
}

  
/*
RESPONSIVE
*/

@media (max-width: 1000px) {

  .tableRwd tbody th, .tableRwd thead th {
    display: none;
    border: none;
    width: auto;
  }
  .tableRwd thead th{
    width: 100%;    
  }

  .tableRwd tfoot{
    display: block;
  }
  .tableRwd tbody td  {
    display: block;
    border: none;
    padding: 0;
    padding-left: 0.5em;
    width: 100% !important;
    text-align: left;
    clear: both;
  }
  .tableRwd tbody tr{
    border-top: 1px solid lightgray;  
  }

  .tableRwd tbody td:first-child {
    padding-top: .5em;
  }
  .tableRwd tbody td:last-child {
    padding-bottom: .5em;
  }
  .tableRwd tbody td[data-th]:before {
    content: attr(data-th) " : ";
  }
  .tableRwd tbody td:before {
    font-weight: bold;
    min-width: 30%;
    display: block;
    padding-right: 1em;
    float: left;
  }
  .tableRwd [headers="hActions"]{
    text-align: center;
    font-size: 1.5em;
  }
  .tableRwd colgroup col{    
    display: none;
  }

}
@media (max-width: 800px) {

  #content-inner, #header-inner, #footer-inner{
    width: 100% !important;
  }
}
@media (max-width: 650px) {
  body{
    padding-top: none;
    margin-left: 0;
  }
  #content-inner, #header-inner, #footer-inner{
    width: 100% !important;
  }
  .baseline{
    font-size: 1rem;
  }
  .inner-line .void{
    display: none;
  }
  .inner-line{
    height: auto;
  }
  [class*="grid-"]{
    justify-content: space-around;
  }
  [class*="grid-1"] > *{
    margin: 0 !important;
    padding: 0 !important;
  }

  [class*="small-1"]{
    margin-left: 0 !important;
  }
  /*#header-inner .logo, #footer-inner .logo{
    width: auto !important;
  }*/

  #topbar{
    position: relative;
    width: 100%;
    display: block;
  }
  #topbar>div{
    text-align: center;
  }
  #topbar .zertitle{
    width: 100%;
    display: block;
  }

  .flex-item-double{
    width: calc(100% - 1em - 0.01px) ;
  }

  
  .account-admin{
    padding-top: 0;
  }
  #topbar .dropdowns{
    width: 100%;
  }
  #topbar .globalSearch{
    padding-top: 0.5em;
  }
  #topbar .events .hideable{
    min-width: auto;
  }
  #topbar  .events-list{
    width: 94vw;
  }
 

  #topbar>.dropdowns>div{
    text-align: right;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .feedback-service{
    display: none;
  }
  .wrapper-cols{
    display: block;
  }
  .isAdmin #container{
    width: 100% !important;
  }




  .menu-sidebar{
    /*position:fixed;*/
    /*bottom: 0;
    left: 0;*/
    width: 100%;
  }
  .menu-sidebar-content{
    width: 100%; 
    padding-top: 0;
  }

  .menu-sidebar-content ul li{
    display: inline-block;
  }

  .menu-sidebar-content ul li a{
    width: 2em;
    height: 2em;
    font-size: 2em;
  }
  .menu-sidebar-content ul li span{
    display: none;
  }
  .rbe_image img{
    width: 100%;
  }
  .rbe_image .isicon, .rbe_image .img-small{
    width: auto !important; 
  }

  .rbe_bl iframe {
    /*width: 100%;*/
  }
  .rbe_text{
    padding-left: 0.5em; 
    padding-right: 0.5em;
  }

  .rbe_column_20{width:100% !important; }
  .rbe_column_25{width:100% !important; }
  .rbe_column_33{width:100% !important; }
  .rbe_column_50{width:100% !important; }
  .rbe_column_66{width:100% !important; }
  .rbe_column_75{width:100% !important; }

  .rbe_fullwidth:before{
    display: none;
  }
  
  .post-content{
    margin: 0 !important;
  } 

  .post-right, .post-left{
    width: 100% !important;
    margin: 0 !important;
  }
  .post-abstract{
    margin-right: 0 !important; 
    margin-left: 0 !important; 
  }

  .post-abstract .rbe_bl{
    padding: 0 0.5em; 
  }
  .post-left{
    padding: 0 !important;
  }
  .post-thumbnail img{
    width: 100%;
  }

  .inner-lines .inner-line > .menu{
    display: block;
  }


  .rbe_height_25, .rbe_height_50, .rbe_height_75{
      height: auto !important;
  }

  .inner-line[class*="grid-"]{
    display: block;
  }
  .inner-line[class*="grid-"]>div{
    width: 100%;
    margin-top: 0.5em !important;
  }

  input[type=search]{
    margin-bottom: 0.5em !important;
  }
}


@media (max-width: 500px) {
  .burger{
    display: inline-block;
  }
  .burger.active{

  }

  .inner-line > .menu{
    width: 100% !important;
  }

  .menu a{
    width: 100%;
    border-radius: 0 !important;
  }
  body #header-inner {
    padding-left: 0;
    padding-right: 0;
  }

  #header-inner .socials, #header-inner .rbe, #header-inner .baseline{
    display: none;
  }

  .inner-lines .inner-line > .menu-top{
    display: none;
  }
  .inner-lines .inner-line > .menu-top nav li{
    display: block;
  }
  .inner-lines .inner-line > .menu-top nav ul{
    margin: 0;
    padding: 0;
  }
  .inner-lines .inner-line > .menu-top nav a{
    display: block;
  }
  #container #header-inner .inner-line > .loginmenu{
    border-radius: 0px;
  }
  .rbe_catch{
    font-size: 1.5em !important;
  }
  h1{
    font-size: 1.5em !important;
  }
  h2{
    font-size: 1.3em !important;
  }
  h3{
    font-size: 1.1em !important;
  }
  h4{
    font-size: 1.0em !important;
  }

  .flex{
    flex-direction: column !important;
  }
  .inner-line.flex{
    flex-direction: column !important;
  }
  .inner-line{
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    min-height: 0px !important;
  }
  .inner-line > div{
    height: 100% !important;
    width: 100% !important;
    text-align: center !important;
  }

  video{
    height: auto;
  }
  .rbe_headline>*{
    padding:0.5em;
    line-height: 1.6em;
  }

  #content-inner{
    padding-top: 1em;
  }
}