/*
 * Globals
 */

body {
  font-family: Georgia, "Times New Roman", Times, serif, "Forte";
  color: #555;
}

h1 {
  text-align: center;
  font-size: 48px;
  font-family: "Forte";
}

h2 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}

h3 {
  font-style: italic;
  color: #F63;
}

/* newsTitle: */
h4 {
  font-size: 24px;
  font-style: italic;
  color: #F63;
}

h4 a {
  color: #F63;
}

p {
  font-size: 18px;
}

form div {
  font-size: 18px;
}

.divSmallFont {
  font-size: 12px;
}

.divEditNews {
  border: 2px solid grey;
  width: 60%;
  padding: 5px;
}

.imgEditNews {
  border: 2px solid grey;
}

input, textarea {
  font-size: 18px;
  background-color: lightgrey;
}

.selectMonth {
  font-size: 18px;
  height: 30px;
  background-color: lightgrey;
}

/* JWdP 20190612 The textarea replacement div shown by nicEdit does not resize on
 page resize; for that you have to Refresh the page */
.editNewsTextArea {
  width: 60%;
}

.editNewsDivAroundTextArea {
  color: #000;
}


/*
 * Override Bootstrap's default container.
 *
@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}
 */






.navbar-div {
  position: fixed;
  top: 0;
  background-color: #919;
  height: 35px;
  width: 100%;
  z-index: 1;
}

/*ul {*/
.navbar-nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  font-size: 18px;
  z-index: 2;
}

.navbar-nav ul {
  display: none;
  list-style-type: none;
  margin-left: 0;
  z-index: 2;
}

.navbar-nav li {
  width: 170px;
  background-color: #919;
  text-align: center;
  z-index: 2;
}

.navbar-nav li:hover {
  background-color: #525;
  font-style: italic;
  font-size: 24px;
  -webkit-transition: font-size 1s; /* For Safari 3.1 to 6.0 */
  transition: font-size 1s;
}


.navbar-nav > li a:hover {
  text-decoration: none;
}

.navbar-nav > li {
  display: inline-block;
  float: left;
}

.navbar-nav > li a {
  color: white;
}

/*
.navbar-nav li a:hover:not(.active) {
  background-color: #111;
}
*/
/*
.navbar-nav > li a:hover {
  background-color: #111;
*/

/*
  position: relative;
}
*/

.submenu {
  float: none;
  clear: both;
  list-style-type: none;
}

li:hover .submenu {
  display: block;
  padding-left: 0;
  padding-right: 0;
}

/*
.navbar-nav ul li {
  display: none;
}
*/

/*
.navbar-nav ul:hover li a {
  display: block;
}
*/

/*
.active {
  background-color: #4CAF50;
}
*/


.div80 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}



/* JWdP 2090507 Catalogue: a tremendous fight.
  Do not use flex (some essential is besides not working in IE)
  Key of solution was: everything a little bit smaller, not 33% but 31%, etc.
  Above all in .contImgBottomtxt in this css: not 100% but 95%
  Note: I think css / html / js are not really exactly calculating screen width at the right side
 */
.cols-container {
  width: 95%;
  padding: 0;
  margin: 0;
/* to debug:
  outline: 1px solid #000;
*/

}


.cols-item50 {
  box-sizing: border-box;
  float: left;
  width: 47%;
  margin: 5px;
}

.cols-item33 {
  box-sizing: border-box;
  float: left;
  width: 31%;
  margin: 5px;
}

.cols-item-side20 {
  box-sizing: border-box;
  float: left;
  width: 16%;
  margin: 10px;
}

.cols-item-middle60 {
  box-sizing: border-box;
  float: left;
  width: 55%;
  margin: 20px;
}

@media only screen and (max-width: 900px) {
  .cols-item33 {
    width: 45%;
  }
}

@media only screen and (max-width: 600px) {
  .cols-item33 {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .cols-item50 {
    width: 100%;
  }
}



@media only screen and (max-width: 900px) {
  .cols-item-middle60 {
    width: 95%;
  }
}

@media only screen and (max-width: 900px) {
  .cols-item-side20 {
    width: 95%;
  }
}





/* See comment about .contImgBottomtxt elsewhere in this file
*/
.contImgBottomtxt, .contImgBottomtxtMaxW {
position: relative;
width: 95%;
/* To debug this thing, was very useful:
border: 1px solid #000;
*/
}

.contImgBottomtxtMaxW {
  max-width: 300px;
}


.catalogueimg {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  padding-bottom: 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
  box-sizing: border-box;
}

.bottomtext {
  position: absolute;
  bottom: 2px;
  text-align: center;
  font-size: 14px;
  width: 100%;
}



/* The Modal (background) */
.modalImg {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.imgInModalImg {
  border: 8px solid #fff;
  border-radius: 4px;
  margin: auto;
  display: block;
  width: 80%;
  max-width: 500px;
}

/* Caption of Modal Image */
#captionInModalImg {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 500px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  font-size: 18px;
}

/* Add Animation */
.imgInModalImg, #captionInModalImg {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform: scale(0)}
  to {-webkit-transform: scale(1)}
}

@keyframes zoom {
  from {transform: scale(0.1)}
  to {transform: scale(1)}
}

/* The Close Button */
.closeInModalImg {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 54px;
  font-weight: bold;
  transition: 0.3s;
}

.closeInModalImg:hover,
.closeInModalImg:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


.newsDiv {
  font-size: 18px;
  color: #000;
  background-color: #FEB;
  width: 100%;
  border: 15px solid white;
  border-radius: 4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 10px;
  margin: 5px;
}

/* news date: */
.newsDateTime {
  font-size: 14px;
  font-style: italic;
  color: #555;
}



.divNewsPrevNextOuter {
  text-align: center;
  width: 100%;
}

.divNewsPrevNextInner {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

select.news {
  border-color: #FEB;
  border-width: 6px;
  border-radius: 8px;
  width: 220px;
}

.newsButton {
  color: #9D9D9D;
  background-color: #FEB;
}

.newsButton:hover {
  background-color: #FE9;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.newsButton.prevNext {
  font-size: 28px;
  border-radius: 15px;
  width: 200px;
  margin: 20px;
}

.newsButton.gotoSelect {
  font-size: 14px;
  border-radius: 4px;
  width: 30px;
  margin: 2px;
}



.editNewsButton {
  color: #000;
  background-color: #FEB;
  width: 220px;
}

.editNewsButton:hover {
  background-color: #FE9;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}





.formButton {
  color: #FFF;
  background-color: lightgrey;
  font-size: 18px;
  border-radius: 8px;
}

.formButton:hover {
  background-color: #555;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.formErrLbl {
  color: #F00;
  font-size: 18px;
  font-style: italic;
}

.formInfoLbl {
  color: #00F;
  font-size: 18px;
  font-style: italic;
}

.divDropzone {
  background-color: #EEE;
  border: #999 5px dashed;
  border-radius: 10px;
  width: 220px;
  height: 100px;
  padding: 8px;
  font-size: 18px;
}

.progressUpload {
  border: #FE9 2px solid;
  width:220px;
}

.divFooter {
  font-size: 16px;
  color: #FFF;
  background-color: darkmagenta;
  width: 100%;
  min-height: 150px;
  margin-top: 100px;
  margin-bottom: 0;
  clear: both;
}

.spanFooterClient a {
  color: #FFF;
}




/*
20190603 thanks:
https://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/
We cannot use a button; it must be the ugly input type "file". So we hide the ugly
input type "file" as much as possible (but the browser must "see" it),
and we use a "for" label that we can syle, to transfer the click.
Style: I looked to .editNewsButton
 */
.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfileLabel {
/*
  max-width: 80%;
  font-size: 1.25rem;
  /* 20px */
/*
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  padding: 0.625rem 1.25rem;
  /* 10px 20px */
  color: #000;
  background-color: #FEB;
  border: 2px solid grey;
  text-align: center;
  font-family: "sans-serif";
  font-weight: normal;
  font-size: 18px;
  width: 220px;
  height: 30px;
  cursor: pointer;
}

.inputfileLabel:hover {
  background-color: #FE9;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}


/* Tooltip container */
.tooltipBoldizores {
  /*
  position:  relative;
  display: inline-block;
  */
  border-left: 3px dotted black;
}

/* Tooltip text */
.tooltipBoldizores .tooltiptextBoldizores {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* left arrow: */
.tooltipBoldizores .tooltiptextBoldizores::after {
  content: " ";
  position: absolute;
  top: 10%;
  right: 100%; /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltipBoldizores:hover .tooltiptextBoldizores {
  visibility: visible;
}
