@font-face {
  font-family: "Scotland";
  src: url("/fonts/scotland.woff2") format("woff2"),
    url("/fonts/scotland.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "IMFellEnglishSC";
  src: url("/fonts/IMFellEnglishSC-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Caudex";
  src: url("/fonts/Caudex-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.grayed {
  background-color:#ccc !important;
  border-color:#ccc !important;
  color: #f9f9f9 !important;
}
.scotland {
  text-transform: lowercase;
  font-family: "Scotland", serif;
}

.caudex {
  font-family: "Caudex", serif;
}

.badge91st,
.badge91st-off {
  width: 1em;
}
.badge91st-off {
  filter: grayscale(1);
  opacity: 0.3;
}

.footer91st {
  width: 100%;
  height: 250px;
  display: block;
  position: relative;
}
.footer91st::after {
  content: "";
  background-image: url("/images/91st_01.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.tartan {
  background-color: darkgray;
  background-image: url("/images/scottish-national-motif-70.jpg");
}
/*****************************************/
.news-w {
  padding: 0.5em;
  margin-right: auto;
  margin-left: auto;
}
.news-b {
  columns: 1;
  column-gap: 0.5em;
}

.l91st {
  font-size: 1.5em;
  color: white;
  margin: 0;
  padding: 0;
  padding-left: 0.2em;
  text-shadow: 2px 2px 1px black;
}

.l91st div span:nth-child(2),
.l91st div span:nth-child(3) {
  position: relative;
}

.l91st div span:nth-child(2) {
  top: -0.6em;
  left: -0.25em;
  font-size: 0.7em;
}

.l91st div span:nth-child(3) {
  left: -0.2em;
}
.l91st div span:nth-child(3)::before {
  letter-spacing: 2px;
  content: 'gatinais highlanders pipe band';
}
@media only screen and (max-width: 767px) {
  .l91st div span:nth-child(3)::before {
    font-family: "IMFellEnglishSC", sans-serif;
    text-transform: uppercase;
    font-size: 0.7em;
    content: 'GHPB';
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .news-b {
    columns: 2;
  }
}
@media only screen and (min-width: 1200px) {
  .news-b {
    columns: 3;
  }
}
.agenda_i,
.news-n {
  margin-bottom: 1em;
  color: #111111;
  transition: 0.9s;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.agenda_i {
  padding: 0.4em;
  background-color: rgba(220,220,220, .1);
}
.news-n {
  background-color: #f9f9f9;
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.news-n-d,
.news-n:hover {
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.news-n-i {
  overflow: hidden;
}

.news-n-i img {
  width: 100%;
  /* filter: grayscale(0.7) sepia(0.7) contrast(0.7); */
  transition: 0.7s;
}
.news-n:hover .news-n-i img {
  transform: scale(1.1, 1.1);
  /* filter: grayscale(0) sepia(0) contrast(1); */
}
.news-d {
  overflow: hidden;
  padding: 0.5em;
}
.news-n-t,
.news-n-c {
  margin: 0;
}
.news-n-t {
  padding: 0.4em 0.6em;
  /* color: #eee; */
  font-size: 1.7em;
  /* text-shadow: 2px 2px black; */
  line-height: 0.8em;
  font-weight: bold;
}
.news-n-c {
  padding: 1.5em;
  font-size: 0.9em;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.news-n-d {
  position: absolute;
  top: -0.5em;
  left: -0.5em;
  border: 2px solid white;
  color: #ffffff;
  text-shadow: 2px 2px black;
  padding: 0.3em;
  font-size: 0.9em;
  font-weight: bold;
}
.tartan {
  background-color: rgb(55, 119, 150);
  background-image: linear-gradient(
      90deg,
      transparent 10%,
      rgba(0, 0, 90, 0.3) 10%,
      rgba(0, 0, 90, 0.3) 20%,
      transparent 20%,
      transparent 22%,
      rgba(0, 0, 90, 0.3) 22%,
      rgba(0, 0, 90, 0.3) 32%,
      transparent 32%,
      transparent 62%,
      rgba(0, 0, 90, 0.3) 62%,
      rgba(0, 0, 90, 0.3) 64%,
      transparent 64%,
      transparent 66%,
      rgba(0, 0, 90, 0.3) 66%,
      rgba(0, 0, 90, 0.3) 68%,
      transparent 68%,
      transparent 70%,
      rgba(0, 0, 90, 0.3) 70%,
      rgba(0, 0, 90, 0.3) 80%,
      transparent 80%,
      transparent 82%,
      rgba(0, 0, 90, 0.3) 82%,
      rgba(0, 0, 90, 0.3) 84%,
      transparent 84%,
      transparent 86%,
      rgba(0, 0, 90, 0.3) 86%,
      rgba(0, 0, 90, 0.3) 88%,
      transparent 88%
    ),
    linear-gradient(
      transparent 10%,
      rgba(0, 0, 90, 0.3) 10%,
      rgba(0, 0, 90, 0.3) 20%,
      transparent 20%,
      transparent 22%,
      rgba(0, 0, 90, 0.3) 22%,
      rgba(0, 0, 90, 0.3) 32%,
      transparent 32%,
      transparent 62%,
      rgba(0, 0, 90, 0.3) 62%,
      rgba(0, 0, 90, 0.3) 64%,
      transparent 64%,
      transparent 66%,
      rgba(0, 0, 90, 0.3) 66%,
      rgba(0, 0, 90, 0.3) 68%,
      transparent 68%,
      transparent 70%,
      rgba(0, 0, 90, 0.3) 70%,
      rgba(0, 0, 90, 0.3) 80%,
      transparent 80%,
      transparent 82%,
      rgba(0, 0, 90, 0.3) 82%,
      rgba(0, 0, 90, 0.3) 84%,
      transparent 84%,
      transparent 86%,
      rgba(0, 0, 90, 0.3) 86%,
      rgba(0, 0, 90, 0.3) 88%,
      transparent 88%
    ),
    linear-gradient(
      transparent 0%,
      rgba(0, 70, 0, 0.3) 0%,
      rgba(0, 70, 0, 0.3) 6%,
      transparent 6%,
      transparent 36%,
      rgba(0, 70, 0, 0.3) 36%,
      rgba(0, 70, 0, 0.3) 46%,
      transparent 46%,
      transparent 48%,
      rgba(0, 70, 0, 0.3) 48%,
      rgba(0, 70, 0, 0.3) 58%,
      transparent 58%,
      transparent 92%,
      rgba(0, 70, 0, 0.3) 92%,
      rgba(0, 70, 0, 0.3) 98%,
      transparent 98%
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 70, 0, 0.3) 0%,
      rgba(0, 70, 0, 0.3) 6%,
      transparent 6%,
      transparent 36%,
      rgba(0, 70, 0, 0.3) 36%,
      rgba(0, 70, 0, 0.3) 46%,
      transparent 46%,
      transparent 48%,
      rgba(0, 70, 0, 0.3) 48%,
      rgba(0, 70, 0, 0.3) 58%,
      transparent 58%,
      transparent 92%,
      rgba(0, 70, 0, 0.3) 92%,
      rgba(0, 70, 0, 0.3) 98%,
      transparent 98%
    );
  background-size: 100px 100px;
}
.page-d {
  font-size: 0.8em;
  padding: 0.5em;
  border-bottom: 1px solid lightgrey;
  border-top: 1px solid lightgrey;
}
.page-c {
  padding: 0.5em;
  text-align: justify;
}
.page-c a:visited,
.page-c a:active {
  color: #5555EE;
}

.page-c a:hover {
  color: #000000;
}
/*****************************************/
.nav-pagination {
  margin-top: 4px;
}
.news-pagination .page-link {
  color: #333333;
}
.news-pagination .active > .page-link {
  border-color: #333333;
  background-color: #333333;
}
.news-pagination .page-link:focus,
.news-pagination .page-link:visited,
.news-pagination .page-link:active {
  box-shadow: none;
  outline: .2em solid rgb(0, 0, 0);
  outline: .4em solid rgba(0, 0, 0, 0.2);
}

html,
body {
  height: 100%;
}
body {
  padding-top: 70px;
  font-family: "Caudex", serif;
}
.agenda_month,
.uppercaseC,
.navbar-brand,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IMFellEnglishSC", serif;
}
a {
  text-decoration: none;
  color: #5555BB;
  transition: .8s;
}
.uppercaseC {
  text-transform: uppercase;
}
.red {
  color: red;
}

.green {
  color: green;
}
#ariochBackdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 9999;
}

.ariochAutoCompletion + div {
  position: relative;
}
.ariochAutoCompletionPanel {
  position: relative;
  top: 0px;
  width: 100%;
  background-color: lightgrey;
  padding: 0.5em;
  text-align: center;
  line-height: 1.5em;
  color: grey;
}
.ariochAutoCompletionPanel div {
  cursor: pointer;
  border: 1px solid #eee;
  margin: 1px;
  padding: 2px 6px;
}
.ariochModalLoading {
  padding: 0.5em;
  text-align: center;
  line-height: 1.5em;
  color: grey;
}
.ariochModal {
  position: fixed;
  min-width: 320px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: lightgray;
  border: 2px solid black;
  border-radius: 10px;
  z-index: 99999;
}

.ariochModal .title {
  background-color: black;
  color: lightgray;
  text-align: center;
}

.ariochModal .body {
  padding: 20px;
}

.partition {
  grid-template-columns: 1fr 1fr 1fr;
}
.partition,
.partition-files {
  display: grid;
  justify-items: center;
  align-items: center;
  justify-content: space-evenly;
}
.partition-files {
  grid-template-columns: minmax(3em, 4em) auto minmax(4em, 5em);
  border: 1px solid black;
  border-radius: 5px;
  align-self: center;
  margin: 0.5em;
}
.partition-files div:nth-child(1) {
  background-color: black;
  color: #eeeeee;
  font-weight: bold;
  align-self: stretch;
  justify-self: start;
  padding: 0.5em;
}
.partition-files div:nth-child(2) {
  padding: 0 1em 0 0.5em;
  font-size: 0.9em;
  line-height: 0.9em;
  align-self: center;
  justify-self: stretch;
}
.partition-files div:nth-child(3) {
  padding: 0 0.5em;
  font-size: 1.2em;
  align-self: center;
  justify-self: end;
}

address {
  border: 1px solid #dddddd;
  margin: 2px;
  padding: 0.5em 1em;
}
address p {
  margin: 0;
}
.title_underlined,
.music_params {
  margin: 4px;
  padding: 4px;
}
.title_underlined h6,
.music_params h6 {
  margin: 0;
  padding: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid #dddddd;
}
.music_params h6 {
  text-transform: uppercase;
}
.btn-sm {
  font-size: 0.5em;
  padding: 2px 6px 2px 4px;
  line-height: 1em;
}

h1 .btn-sm {
  font-size: 0.3em;
}

p .btn-sm,
td .btn-sm {
  font-size: 0.7em;
}

.bi-x-circle-fill {
  font-size: 1.3em;
}

.ariochAccordion {
  margin-bottom: 0.2em;
}
.ariochAccordion .body .card {
  margin-bottom: 0.5em;
}
.ariochAccordion .body .card-files {
  margin: 0.5em;
}
.accordion-border {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid white;
}
.ariochUserHeader {
  background-color: rgb(95, 159, 190);
  color: white;
  margin: 0.2em;
  padding: 0.2em;
  cursor: pointer;
}
.ariochBlueHeader {
  background-color: rgb(55, 119, 150);
  color: white;
  margin-top: 0.5em;
}
.ariochBlueHeader,
.ariochAccordion .header {
  padding: 6px 8px;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 1em;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.ariochAccordion .header {
  background-color: #eee;
  color: black;
  cursor: pointer;
  transition: 0.4s;
}
.ariochAccordion .active,
.ariochAccordion .header:hover {
  background-color: #ccc;
}
.ariochAccordion .body {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.ariochAccordion .header:after {
  content: "\f234";
  font-family: "bootstrap-icons";
  font-size: 1em;
  float: right;
  margin-left: 5px;
  transition: 0.4s;
}
.ariochAccordion .active:after {
  transform: rotate(90deg);
}
#ariochImageZoomed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100%;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  transition: 0.5s;
  z-index: 999999;
}
#ariochImageZoomed img {
  max-height: 100%;
  max-width: 100%;
  padding: 10px;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.gallery_thumb {
  position: relative;
  margin: 0 auto;
  height: 200px;
  width: 200px;
}
.gallery_thumb img {
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.gallery_rbtn,
.gallery_lbtn {
  position: fixed;
  z-index: 1000000;
  font-size: 3em;
  top: 50%;
  color: grey;
  text-shadow: 4px 4px 4px black;
}
.gallery_lbtn {
  left: 0.2em;
}
.gallery_rbtn {
  right: 0.2em;
}
#gallery_image_caption {
  position: fixed;
  bottom: 0.2em;
  width: 100%;
  text-align: center;
  color: white;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.6);
}
#imagesTable tr td img {
  max-width: 64px;
}
.event_block {
  float: right;
  margin: 1em;
  padding: 1em;
  border: 1px solid #333333;
}
.event_block h6 {
  border-bottom: 1px solid #ccc;
}
.event_block::after {
  clear: both;
}
.header_page {
  min-height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.header_page h1 {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  text-shadow: 2px 2px 5px black;
  box-shadow: 2px 2px 5px black;
  bottom: 0;
  left: -6px;
  color: white;
  padding: 0 8px;
}
footer {
  position: relative;
  bottom: 0;
  padding: 10px 0 60px 0;
  margin-top: 10px;
  margin-bottom: 0;
  width: 100%;
  font-size: 0.7em;
  background-color: #333333;
  color: #eeeeee;
}
#container_content {
  height: auto;
  min-height: 100%;
}
.container_footer {
  margin: auto;
}
.blocNews {
  display: grid;
  grid-gap: 0;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  grid-auto-flow: dense;
}
.bottomNews {
  align-self: stretch;
  width: 275px;
  margin: 4px auto;
}
.bottomNews a {
  color: #eeeeee;
  transition: 0.8s;
}
.bottomNews a:visited,
.bottomNews a:active {
  color: #dddddd;
}
.bottomNews a:hover {
  color: #ffffff;
}
.agenda_month {
  padding: 0 0.5em;
}
.agenda_month {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.07);
}
.agenda_item {
  padding: 0.5em;
  margin-bottom: 2em;
}
.agenda_item .title {
  font-weight: bold;
  margin-top: 0.5em;
}
.carousel-item {
  height: 6em;
}
#eventCarousel {
  margin-bottom: 2em;
}
#eventCarousel a {
  text-decoration: none;
  color: black;
}
.carousel-link {
  padding: 0.5em 0;
  width: 100%;
  height: 6em;
  line-height: 0.1em;
  margin: auto;
  text-align: center;
}
.carousel-indicators {
  position: relative;
  bottom: 0;
}
.yourPhoto {
  position: relative;
}
.yourPhoto a:hover .loadYourPhoto {
  background-color: none;
  background-color: rgba(0, 0, 0, 0.7);
  color: none;
  color: rgba(250, 250, 250, 1);
  border: 2px solid rgba(250, 250, 250, 1);
}
.loadYourPhoto {
  position: absolute;
  top: 0;
  background-color: black;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  color: rgba(250, 250, 250, 0);
  padding: 0.5em;
  border-radius: 0 0 12px 0;
  border: 2px solid rgba(250, 250, 250, 0);
  transition: 0.7s;
}
.notification {
  color: red;
  font-weight: bold;
  animation: blink 0.5s infinite alternate;
}
@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.mail_address label {
  display: none;
}
input.mail_address {
    height: 0;
    margin: 0;
    text-decoration: none;
    border: none;
  }
.figure {
  border: 1px solid #dddddd;
  padding: 2px;
  box-shadow: 2px 2px 4px grey;
  width: 100%;
}