/* CSS

1: Core styles
2: Typography
3: Header and footer
4: Layout
5: Forms + pagination
7: Admin
7: Icons

Blue  295073 or 000064
Rust  a62d2d
Yellow  f29f05
Red   f23838
crema  fffff5
*/

/**********************/
/* 1:   CORE STYLES   */
/**********************/

* {
  box-sizing: border-box;
}

.sos {
  color: white;
  font-weight: bold;
  animation: blink-bg 2s infinite;
}

@keyframes blink-bg {
  0%  {background-color: red; }
  10% {background-color: rgb(255, 51,51); } 
  20% {background-color: rgb(255, 102,102); }
  30% {background-color: rgb(255, 153,153); } 
  40% {background-color: rgb(255, 204,204); }     
  50% {background-color: transparent; }
  60% {background-color: rgb(255, 204,204); }   
  70% {background-color: rgb(255, 153,153); }  
  80% {background-color: rgb(255, 102,102); }  
  90% {background-color: rgb(255, 51,51); }
  100% {background-color: red; }
}

.small-green-dot {

  width: 8px;
  height: 8px;
  background-color: limegreen;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
  box-shadow: 0 0 10px #00ff00;   
  animation: pulse 1.5s infinite;
}



.warning-yellow-dot{

  padding-top: 2px;
  width: 15px;
  height: 15px;
  font-size: 8px;
  color: black;
  background-color: rgb(255, 200, 0);
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
  box-shadow: 0 0 10px #00ff00;   
  animation: pulse 1.5s infinite;
}

.warning-red-dot{

  padding-top: 2px;
  width: 15px;
  height: 15px;
  font-size: 8px;
  background-color: rgb(255, 0, 0);
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
  box-shadow: 0 0 10px #00ff00;   
  animation: pulse 1.5s infinite;

}

@keyframes pulse {

  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.nodisplay {
  display: none;
}

.displaycenter{
  display: flex;
  justify-content: center;
}

.subtitle {
  font-size: 20px;
  margin-top: -35px;
}

.displayaround{
  display: flex;
  justify-content: space-around;
}

.displayevenly{
  display: flex;
  justify-content: space-evenly;
}

.weeklyday{
  background: rgb(20, 235, 240);
  color: black;
}

.general {
  color: blue;
}
.specialized {
  color: red;
}

.wfh {
  background: magenta;
  color: white;
  font-size: 9px;
  font-weight: bold;
  padding-inline: 2px;
}

.boxmessage {
  font-size: 14px;
  font-style: italic;
  border: solid 1px;
  border-radius: 20px;
  background: rgb(230,230,230);
}

.dia{
  font-size: 14px;
  font-style: italic;
  color : black;
}
/* Create three equal columns that floats next to each other */
.column33 {
  float: left;
  width: 33.3%;
  padding: 15px;
 /* height: *300px; /* Should be removed. Only for demonstration */
}

.column2 {
  float: left;
  width: 50%;
  padding: 10px;
 /* height: *300px; /* Should be removed. Only for demonstration */
}

.column66{
  float: left;
  width: 66%;
  padding: 10px;
}

.column32{
  float: left;
  width: 32%;
  padding: 10px;
}

.column1{
  float: left;
  width: 100%;
  padding: 10px;
}

.column25{
  float: left;
  width: 25%;
  padding: 10px;
}

.column75{
  float: left;
  width: 75%;
  padding: 10px;
}


.column20{
  float: left;
  width: 20%;
  padding: 10px;
}

.column40{
  float: left;
  width: 39%;
  padding: 5px;
}

.column60{
  float: left;
  width: 60%;
  padding: 10px;
}

.column10{

  float: left;
  width: 10%;
  padding: 10px;

}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {

  .column33 {
    width: 100%;
  }
  .column2 {
    width: 100%;
  }
  .column66{
    width: 100%;
  }
  .column32{
    width: 100%;
  }

  .column1{
    width: 100%;
  }
  .column25 {
    width: 100%;
  }
  .column75 {
    width: 100%;
  }
  .column20 {
    width: 100%;
  } 
  .column40 {
    width: 100%;
  }   
  .column60 {
    width: 100%;
  }
  .column10 {
    width: 100%;
  }


}

.inbox{
  background: rgb(230, 230, 230);
  border: solid 2px black;
  padding:20px; border-radius: 40px;"
}

.title{
  color: #000064;
}

.titlemiddle{
  margin-top: 10px;
  margin-bottom: 25px;
  color: #000064;
  display: flex;
  justify-content: center;

}
.imgcolumn{
  margin-inline: 30%;
  margin-top: 40px;
}

.submenu {
  display: flex;
  justify-content: space-around;
  background: lightcyan;
  padding-block: 5px;
  width: 100%;
  min-width: 370px;
  overflow: auto;  
}

.yellow {
  background: yellow;
  color: black;
}

.red {
  background: red;
  color: black;
}

.gris {
  background: rgb(230,230,230);
  color: black;
}

.men {
  background-color: #ffffCD;
}

.taskcard {
  border-radius: 1px black solid;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 50px;
  background: black;
  color: white; 
}

.utaskcard {
  border-radius: 1px black solid;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 50px;
  background: rgb(108, 117, 125);
  color: white;
}

.areamessage {
  width: 90%;
  color: black;
  border-radius: 15px;
  padding: 15px;

}

button.download {
  margin-left: 30%;
  background-color: rgb(230,235,235);
  color: darkblue;
  border-radius: 5%;
  margin-left: 30%;
}

body {
  margin: 0;
  color: #666;
/*  background-color: #f7f7f5;*/
  background-color:  #C2F5FC; /* #fffff5;  #e6ffee  #ccffdd; */
  background: linear-gradient(to left, rgb(123,234,249), 
    rgb(184, 245, 252), rgb(184, 245, 252), rgb(231, 251, 253));  
}

body.manager {
  background-color:  #bcf5cf;  /* #f6f6e9  #fdffd1;*/
}

.hidden {
  display: none;
}

a {

  color: #fffff5; /*#666; */
}


a.manager {
  color: #a00000;
}

.member, a.member, span.member {

  color: darkblue;
}

a:hover,
a.on,
p.credit a:hover {
  color: #a62d2d;
}

nav a:hover,
article.summary a:hover p
{
  color: #295073;
}

.containerIndex {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.containerIndex img {vertical-align: middle;}

.containerIndex .contentIndex {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

.buttons{
  display: inline-block;
  width:  60px;
  height: 60px;
  background-color: #fffff5; /* #e6ffee; */
  border-radius: 50px;
  line-height: 60px;
  text-align: center;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
}

.wrapper  {
  margin-top: 20px;
  width: 100%;
 background: #C2F5FC; /* #000064; #08d9d5;  #80ffaa;;*/
  padding-top: 0px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
}

.wrapper .buttons .icon {
font-size: 20px;
color: #666;
}
.wrapper .buttons:hover {
  width: 100px;
  transition: 0.7s;
}

.wrapper .buttons:nth-child(1):hover .icon{
  color: green; /*#426782;*/
}

.wrapper .buttons:nth-child(2):hover .icon{
  color: lightgreen;
}

.wrapper .buttons:nth-child(3):hover .icon{
  color: blue;
}

.wrapper .buttons:nth-child(4):hover .icon{
  color: orange;
}

.wrapper .buttons:nth-child(5):hover .icon{
  color: blue;
}

.wrapper .buttons:nth-child(6):hover .icon{
  color: red;
}
.wrapper .buttons:nth-child(7):hover .icon{
  color: magenta;
}

.wip {
  width: 300px;
}

/* -------Calendar ----------- */

.ring-left,
.ring-right {
      position: relative;
      top: 0px;
  }
     
.ring-left {
  left: 2em;

  } 
.ring-right {
    right: 2em;

  }
     
.ring-left:before,
.ring-left:after,
.ring-right:before,
.ring-right:after {
      background: #fff;
      border-radius: 4px;
      -webkit-box-shadow: 0 3px 1px rgba(0, 0, 0, 0.3),
        0 -1px 1px rgba(0, 0, 0, 0.2);
      box-shadow: 0 3px 1px rgba(0, 0, 0, 0.3), 0 -1px 1px rgba(0, 0, 0, 0.2);
      content: "";
      display: inline-block;
      margin: 8px;
      height: 32px;
      width: 8px;
  }   

.calendarhead{
  margin-left: -3px;
  /*background:rgb(5,130,30);  #000064;*/
  background: rgb(15, 100, 100);  /* rgb(40,175,255); */
  height: 150px;
  overflow-y: scroll;
  border-radius: 1.5em 1.5em 0em 0em ;
  min-width: 340px;
}

.calendarsubhead{
  display:flex;
  justify-content: space-evenly;
  color:white;
  font-weight:bold;
  font-size:35px;
  padding-top: 5px;
}

.calendargames{
  color:white;
  padding-inline: 5%;
}

.calendarsnack{
  background: rgb(210, 85, 0);
  color:yellow;
  font-weight: bold;
  font-size: 10px;
  text-transform: capitalize;
}

.calendarring{
  display:flex;
  justify-content: space-around;
  margin-top: -20px;
}

.calendarbody{
  margin-left: -3px;
  margin-top: -55px;
  /*background: rgb(230,235,190);*/
  background: rgb(230,230,230);
  border-radius: 0em 0em 1.5em 1.5em;
  min-width: 340px;
}

.calendarBodyBkg {
  background: lightcyan;
}

.calendarDaysOfTheWeek {
  color: #000064;
  font-weight: bold;
  border-bottom: solid #000064 2px;
}


.calendardays{
  color: #e66b6b;
  font-size: 20px;
}



.calendardates{
  font-size:16px;
  color: black;
}

.calendartoday{
  color: #e66b6b; 
  font-size: 18px; 
  font-weight: bold;
}

.calendarbodygames{
  background: yellow;
  font-size: 12px;
  padding-inline: 4px;
  border-radius: 5px;
}

.calendarname{
  color:#777;
  display:flex;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 5px;
  margin-top:  -12px;
  font-style: italic;

}


/**********************/
/* 2:   TYPOGRAPHY    */
/**********************/
body {
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: 100%; /* 16px */
}

a {
  text-decoration: none;
}

h1 {
  font-size: 1.8em;
}

h1, h2 {
  font-weight: 700;
  margin: 0 0 0.14em 0;
}

p {
  margin: 0 0 1em 0;
}

.date, p.credit, p.member {
  font-size: 0.7rem;
}

.member-options {
  line-height: 2em;
}

p.credit {
  text-transform: uppercase;
}

p.credit a {
  font-weight: bold;
  color: inherit;
}

article.summary p {
  line-height: 1em;
}

nav li {
  font-weight: 700;
  line-height: 0.8em;
} 

.center {
  text-align: center;
}

.centerdiv {
  display: flex;
  justify-content: center;
}

.on {
  background: green;
  font-weight: 600;
  color:white;
  padding-inline: 4px;
}
.cancelled {
  background: rgb(150,0,0);
  font-weight: 600;
  color:white; 
  padding-inline: 4px;   
}

.postponed {
  background: rgb(230,180,0);
  font-weight: 400;
  color:black; 
  padding-inline: 4px;   
}

.played {
  background: transparent;
  font-weight: 700;
  color:black; 
  padding-inline: 4px;   
}

.score {
  width:30px;
  background-color: rgb(230,230,230);
  margin-top: 5px;
}

.inprogress{
  background: lightcyan;
  color: blue;
  font-weight: normal;
  padding-inline: 8px;
  text-align: center;  
}

.available {
  background: green;
  color: white;
  font-weight: bold;
  padding-inline: 8px;
  text-align: center;
}

.unavailable {
  background: red;
  color: white;
  font-weight: bold;
  padding-inline: 2px;
  text-align: center;
}
.uncertain {
  background: yellow;
  color: black;
  font-weight: bold;
  padding-inline: 2px;
  text-align: center;
}
.noavailability{
  background: transparent;
  color: transparent;
  font-weight: normal;
  text-align: center;
}

.avail_message{

  font-size: 13px;
  font-style: italic;
  margin-top:15px;
}

.avail_comments {
  font-size: 12px;
  font-style: italic;
  margin-top: 5px;
  text-transform: capitalize;
}

.snacks {
  margin-left: 20px;
}


div.squadKeeper {
  margin-top: -35px;
  color: yellow;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: center;
}

div.squadNames {
  margin-top: -100px;
  color: yellow;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: center;
}

div.squadImages {
  margin-top: -65px;
  display: flex;
  justify-content: center;
}

div.bottom {
  margin-bottom: 300px;
}

div.radio {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  border: solid;
  border-color: black;
  border-width: 1px;
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.daterange {
  display: flex;
  justify-content: space-evenly;
}

table.pullup {
  margin-top: -5px;
}
.pulldown{
  margin-bottom: 8px;
}

table thead tr th {
  background: black;
  /*color: #000064;*/
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-bottom: solid #000064 2px;
}

table.stats th, td {
  text-align: center;

}

table tbody tr td {
  word-wrap: break-word;
}

table.stats tbody tr td {
  word-wrap: break-word;
  color:black;
}

table tbody tr td {
  word-wrap: break-word;
}


table thead tr th {
  /*word-wrap: break-word;*/
  position: sticky;
  top: 0;
  z-index: 10;
}

table tbody.scrollable {
  /*display: block;*/
  overflow: auto;
  max-height: 600px;
  min-height: 650;

}

div.scrollable {
  overflow-y: auto; 
  height: 680px;
}


table.roster{
  min-width: 920px;
}


.table-container {
  width: 100%;           /* set desired width */
  /*min-width: 920px;*/
  height: 650px;          /* set desired height */
  overflow: auto;         /* enables horizontal + vertical scroll */
  /*border: 1px solid #ccc;*/
  position: relative;  
}

.occupations {
  width: 100%;
  min-width: 370px;
  overflow: auto;
}

.physics-switch {
  width: 100%;
  min-width: 350px;
  overflow: auto;
}

.table-container-week {
  width: 100%;           /* set desired width */
  /*min-width: 920px;*/
  height: 450px;          /* set desired height */
  overflow: auto;         /* enables horizontal + vertical scroll */
  /*border: 1px solid #ccc;*/
  position: relative;  
}


tbody.long td:first-child{
  position: sticky;
  left: 0;
  z-index: 11;
  background: rgb(200,245,253);
  background: linear-gradient(to left, rgb(215, 248, 252 ), rgb(228, 251, 253));
}


thead.long th:first-child {
  position: sticky;
  left: 0;
  z-index: 11;
  background: black;

}


input.dia {
  border-radius: 10px;
  padding-inline: 4px;
  font-size: 14px;
}

p.subscript {
  font-size: 12px;
  font-style: italic;
}
/**********************/
/* 3: HEADER + FOOTER */
/**********************/
header  {
/*  background: #000064;  #08d9d5; /* #80ffaa; /* #e9e8e6; */

  background: linear-gradient(to left, rgb(0,0,0), 
    rgb(0, 0, 0), rgb(100, 100, 100), rgb(231, 251, 253));
  min-height: 50px;
  margin-bottom: 2em;
  position: relative;
  color: white;

}

header > div.container {
  align-items: center;
}

.logline {
  color: white;
}

header h1 {
  line-height: 0.5em;
  margin-bottom: 0;
}

header div.logo img {
  max-width: 80%;
  max-height: 40px;
  margin: -2px 0px;
}

header button {
  position: absolute;
  right: 1em;
  top: 2em;
  padding: 5px 7px;
  background-color: #295073;
  color: #fff;
  border-radius: 5px;
  border-width: 0;
  font-size: 1em;
  display: none;
}


@media (min-width: 340px) {
  header button {
    top: 5.2em;
  }
}
@media (min-width: 410px) {
  header button {
    top: 5.4em;
  }
}
@media (min-width: 460px) {
  header button {
    top: 5.6em;
  }
}

header button:hover {
  cursor: pointer;
}

header nav ul {
  padding: .5rem 0 0.1rem 0;
  margin: 0;
  clear: left;
}

header nav li {
  list-style-type: none;
  display: inline-block;
  padding-right: .5em;
}

.js header nav ul {
  display: none;
}

.js header nav li {
  margin-bottom: 1em;
  display: block;
}

.js header nav button {
  display: block;
}

header nav ul.is-active {
  display: block;
}

nav .icon-search {
  display: none;
}

nav .search-text {
  display: inline-block;
  padding-bottom: 10px;
}

.skip-link {
  position: fixed;
  top: -200px;
  left: 50%;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #8b8885;
  color: #fff;
  padding: 5px;
  outline: none;
}

.skip-link:focus {
  top: 0;
}

.member-menu {
  color: #fffff5; /* #999; */
  padding: 0 .2em;
  min-height: 1.6em;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #999;
}

.member-menu a {
  color: #fffff5; /* #666 */;
  padding: .3rem 0;
  display: inline-block;
  font-weight: bold;
  font-size:  90%;
}

.member-menu a:hover {
  color:  #295073;
}


@media (min-width: 760px) {
  .member-menu {text-align: right;}

  header > div.container {
    display: flex;
  }

  header .logo {
    flex: 1;
  }

  header nav {
    flex: 2;
  } 

  header button {
    display: none;
  }

  header div.logo img {
    max-width: 93%;
    max-height: 50px;
  }

  header nav li {
    padding-right: 0;
    font-size: 1.2em;
  }

  .js header nav ul {
    display: block;
    text-align: right;
  }

  .js header nav li {
    display: inline-block;
    margin: 0;
  }

  .js header nav button {
    display: none;
  }

  header nav li::after {
    content: " / ";
    font-weight: normal;
     color: #a39f9c; 
  }

  header nav li:last-child::after,
  header nav li:nth-last-child(2)::after {
    content: "";
  }

  .header-admin nav li:nth-last-child(2)::after {
    content: " / ";
  }

  nav .icon-search {
    display: inline-block;
    padding-left: .5rem;
    color: #a39f9c;

  }

  nav .search-text {
    display: none;
  }

}

footer {
  clear: both;
  font-size: 0.8rem;
  text-align: right;
  color: #a39f9c;
  padding: 1rem 0;
}

/**********************/
/* 4:    LAYOUT       */
/**********************/

.container {    
  margin: 0 auto 0 auto;
  max-width: 94%;
}

@media (min-width: 1240px) {
  .container {
  max-width: 1200px;
  }
}

.grid {
  display: grid;
  grid-gap: 2em;
}

.grid {
  display: grid;
  margin: 0 auto 2em auto;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (min-width: 860px) {
  main.article,
  .admin-article {
    display: grid;
    grid-gap: 2em;   
    grid-template-columns: calc(60% - 2em) 40%;
    margin-bottom: 2em;
  }
}

main img {
  width: 100%;
  height: auto;
  border-radius: 8px; 
}

article.summary img {
  margin-bottom: 0.5em;
}

article.summary img:hover {
  opacity: 0.6;
}

article.summary p {
  margin: 0 0 0.6em 0;
}

.date {
  display: block;
  margin: 0 0 1.2em 0;
}

.text h1 {    
  margin-bottom: .5em;    
}

.text .content {
  margin: 0 0 1em 0;
  line-height: 1.5em;
}

/* Styles are for top of category, member and admin list pages */
.header {
  text-align: center;
  margin-bottom: 2em;
  text-transform: uppercase;
}

.header h1 {
  color: #295073;
  border: 3px solid #295073;
  letter-spacing: 0.1em;
  display: inline-block;
  padding: .2em .5em;
}

.header p {
  font-size: 80%;
  padding-top: .5em;
  position: relative;
}

.header img,
img.profile {
  max-width: 70px;
  border-radius: 50%;
}

img.profile2 {
  max-width: 40px;
  border-radius: 50%;
}

img.profileL {
  max-width: 120px;
  border-radius: 30%;
}

img.jersey {
  max-width: 100px;
}

.header img,
img.squad {
  max-width: 50px;
  border-radius: 50%;
}

.header img.wip  {
  max-width: 300px;
  border-radius: 10%;
}

.header img.member {
  max-width: 100px;
  border-radius: 50%;
}
/*************************/
/* 5: FORMS & PAGINATION */
/*************************/
button, input, optgroup, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.btn,
.btn-search {
  color: #fff;
  background: #295073;
  display: inline-block;
  width: min-content;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: .1rem .5rem;
  line-height: 1.5;
  vertical-align: middle;
  /*text-transform: uppercase;*/
}

.btn {
  font-size: 0.9rem;
  padding: 1px;
  padding-inline: 5px;
}

.btn:hover {
  color: #fff;
  background: #666;
  cursor: pointer;
}

.btn-primary {    
  background-color: #295073;    
  border-color: #295073; 
  box-shadow: 0px 10px 10px rgba(0,0,0,0.2);   
}   
.btn-primary:hover {    
  background-color: #137ad7;    
  border-color: #137ad7;    
}

.btn-secondary {
  color: white; /* #333; */
  background: rgb(15, 100, 100);  /* #e1e0de; */
  box-shadow: 0px 10px 10px rgba(0,0,0,0.2);
}
.btn-secondary:hover {
  color: #fff;
  background: #717170;
}

.btn-danger {
  background-color: #a62d2d;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.2);  
}
.btn-danger:hover {
  background: #666;
}

.btn-select {
  color: white;
  background: rgb(100, 100, 100);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.btn-select:hover {
    background: rgb(180, 180, 180);
}

.btn-sos {

  width: 50px;
  height: 50px;
  background-color: darkred;
  border-radius: 50%;
  display: inline-block;
  /*margin-left: 4px;*/
  /*box-shadow: 0 0 10px #00ff00;   */
  /*animation: pulse 1.5s infinite;*/

}

.btn-sos:hover{
  background:   rgb(255, 0, 0);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.3);  
}

.btn-sos-on {

  width: 50px;
  height: 50px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.3); 
  /*margin-left: 4px;*/
  /*box-shadow: 0 0 10px #00ff00;   */
  /*animation: pulse 1.5s infinite;*/

}


.form-control {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

label {
  display: inline-block;
}

textarea {
  min-height: 7rem;
}

input[type=checkbox], input[type=radio] {
  position: absolute;
  margin-top: .3rem;
  margin-left: -1.25rem;
  padding: 0;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

input[type=submit] {
  float: right;
  margin-bottom: 1rem;
}

input[type=submit]:hover {
  cursor: pointer;
}

.form-control-file {
  display: block;
  width: 100%;
}

.form-group {
  margin-bottom: 1rem;
}

.errors {
  color: #a62d2d;
  font-weight: bold;
}


textarea#summary {
    min-height: 4rem;
}
textarea#content {
    min-height: 12rem;
}

.form-membership,
.form-contact,
.narrow {
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 760px) {

.form-membership,
.form-contact,
.narrow {
  min-width: 400px;
  width: min-content;
  margin: 0 auto;
  }
}  

/* SEARCH */
.form-search {
  margin-bottom: 1rem;
}

.form-search label span {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.form-search input:focus {
  outline: none;
}

.form-search input[type=text] {
  padding: .1rem .5rem;
  line-height: 1.5;
  vertical-align: bottom;
  border-top: 1px solid #8b8885;
  border-right: none;
  border-bottom: 1px solid #8b8885;
  border-left: 1px solid #8b8885;
  border-radius: 4px 0 0 4px;
}

input.id {

  border-top: 1px solid  rgb(108, 117, 125 );
  border-right: none;
  border-bottom: 1px solid rgb(108, 117, 125  );
  border-left: 1px solid rgb(108, 117, 125  );

}

.form-search .btn {
  -webkit-appearance: none;
  border-radius: 0 4px 4px 0;
  font-size: 1rem;
}

.form-search input[type=submit] {
  float: none;
  margin-bottom: 0; 
}


/* PAGINATION */
nav.pagination {
  text-align: center;
}

.pagination ul {
  display: inline-block;
  list-style-type: none;
  margin: 0 0 2em 0;
  padding: 0;
}

.pagination ul li {
  display: inline-block;
}

.pagination a.active {
  color: #295073;;
  border: 1px solid #295073;
  background-color: #fff;
}


/* ALERTS */
.alert {
  background: #fff;
  border: 1px solid transparent;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: .25rem;
}

.alert-danger {
  color: #a62d2d;
  background: #f8d7da;
  border-color: #a62d2d;
}

.alert-success {
  color: #155724;
  background: #d1e7dd;
  border-color: #c3e6cb;
}

/**********************/
/* 6: ADMIN           */
/**********************/
.admin h1 {
  margin-bottom: 1em;
}

table {
    width: 100%;
    margin-top: 2rem;
    table-layout: fixed;
    background-color: transparent;
    border-collapse: collapse;

}

table.admin, 
table.categories {
  max-width: 500px;
  margin: 0 auto;
}


th {
    text-align: left;
    /*text-transform: uppercase;*/
    font-size: 0.9rem;
    font-weight: normal;
    border-bottom: 1px solid #d6d6d6;
    padding: .75rem;
    vertical-align: top;

}

td {
    padding: .75rem;
    vertical-align: top;
    /*border-top: 1px solid #dee2e6;*/
}

td img {
    max-width: 200px;
}

p.alt {
  margin-top: .5em;
}

@media (min-width: 860px) {
  th.edit, th.view {
    width: 5em;
  }
  th.create,
  th.del,
  th.pub {
    width: 7em;
  }
  th.created {
    width: 9em;
  }
}

.image-placeholder {
  background-color: #d6d6d6;
  background-image: url(../uploads/blank.png);
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  width: 100%;
  min-height: 23.5em;
  text-align: center;
  padding: 1em;
  color: #333;
}

/**********************/
/* 7: ICONS           */
/**********************/

@font-face {
  font-family: 'icons';
  src: url('../font/icons/icons.eot?29469745');
  src: url('../font/icons/icons.eot?29469745#iefix') format('embedded-opentype'),
  url('../font/icons/icons.woff2?29469745') format('woff2'),
  url('../font/icons/icons.woff?29469745') format('woff'),
  url('../font/icons/icons.ttf?29469745') format('truetype'),
  url('../font/icons/icons.svg?29469745#icons') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "icons";
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: none;
  width: 1em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-menu:before { content: '\f0c9'; } 
.icon-search:before { content: '\e803'; } 
.icon-comment:before { content: '\e800'; } 
.icon-comment-empty:before { content: '\f0e5'; } 
.icon-heart:before { content: '\e801'; } 
.icon-heart-empty:before { content: '\e802'; } 

/* Same styles as .btn 
   Repeated here as adding them to existing .btn class 
   can prevent rules for button being processed. */
input[type=file]::-webkit-file-upload-button {
  color: #fff;
  background: #295073;
  display: inline-block;
  width: min-content;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: .1rem .5rem;
  line-height: 1.5;
  vertical-align: middle;
  text-transform: uppercase;
}
input[type=file]::file-selector-button {
  color: #fff;
  background: #295073;
  display: inline-block;
  width: min-content;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: .1rem .5rem;
  line-height: 1.5;
  vertical-align: middle;
  text-transform: uppercase;
}