.linkinternal{
    color: #943d3d;
    text-decoration: none;
}

.linkinternal:hover{
  text-decoration: underline;
}

.linkexternal{
    /* color: #898989; */
    color: #6080ac;
    text-decoration: none;
}

.linkexternal:hover{
  /* color: #1b75d0; */
  text-decoration: underline;
}

/* Main Menu */

.menubg{
  /* background-color: #fef0c5; */
  background-color: #f0f1f2;
}

.nav-link {
  color: #6c757d;
}

.nav-link:hover {
  color: #943d3d;
}

.nav-link {
  &.active,
  &.show {
    color: #943d3d !important;
  }
}

.dropdown-menu > li > a:hover {
  background-color: #943d3d;
  color: #ccc;
}

/* Other Stuff */

.sidebarheaderbg{
    /* background-color: #c2dbfe; */
    background-color: #f0f1f2;
}

.articlesnippet{
    font-size: 0.875em;
}
.listing{
  display: block;
  padding-left: 22px;
  padding-bottom: 3px;
  padding-top: 1px;
  /* text-indent: -1em; */
}

/* Masonry */
* { box-sizing: border-box; }

body { font-family: sans-serif; }

/* ---- grid ---- */

* { box-sizing: border-box; }

/* force scrollbar */
html { overflow-y: scroll; }

body { font-family: sans-serif; }

/* ---- grid ---- */

.grid {
  /* background: #DDD; */
  margin: 0 auto;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 33%;
  margin-bottom: 10px;
  padding-right: 10px;
}

.artimg {
  width: 33%;
}

.artimg p {
  text-align: center;
}

.artimgstart {
  float: left;
  margin-right: 1rem;
}

.artimgend {
  float: right;
  margin-left: 1rem;
}

.artbanner {
  width: 50%;
  margin-right: 1rem;
  border: solid 1px #aaa;
}

/* Tablets */
@media screen and (max-width: 1024px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
  }
  .artimg {
    width: 50%;
  }
}

/* Phones */
@media screen and (max-width: 640px) {
  .grid-sizer,
  .grid-item {
    width: 100%;
  }
  .artimg,
  .artbanner {
    width: 100%;
  }

  .artbanner {
    margin-bottom: 1rem;
  }

  .share-buttons {
    display: none;
  }
  
}

/* @media (min-width: 1000px) {
  .grid-item {
    width: 33.333%;
  }
}

@media (min-width: 1700px) {
  .grid-item {
    width: 25%;
  }
}

@media (min-width: 2100px) {
  .grid-item {
    width: 20%;
  }
} */

.grid-item {
  float: left;
}

.grid-item p {
  text-align: center;
}

.gutter-sizer {
  width: 4%;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

/* Stop modal from trying to add scroll bar to body, which causes the page in the background to jump around */ 
.modal-open {
  padding-right: 0px !important;
  overflow: auto !important;
}

/* Stop slideshow portrait images from extended below view */
.carousel-img {
  max-height: calc(100vh - 225px);
}
/* Adjust modal to width of image */
.modal {
  text-align:center;
}
.modal-dialog {
  display: inline-block;
  width: auto;
}

/* Image popup on mouseover */
/* .hover_img a { position:relative; cursor:zoom-in;}
.hover_img a span { position:absolute; top: -1px; left: 100%; display:none; z-index:99; border: 1px solid; box-shadow: 5px 5px rgba(0, 0, 0, 0.3); }
.hover_img a:hover span { display:block; } */

/* Social */



* {
  box-sizing: border-box;
}

.share-buttons {
  position: absolute;
  width: 30px;
  height: 212px;
  /* padding-left: (300px / 2) - (30px / 2);
  margin-left: -(300px / 2);
  margin-top: -(212px / 2); */
  /* top: 50%; */
  /* left: 50%; */
  padding-left: .75rem;
  
  .share-button {
    float: left;
    margin-top: 15px;
    
    &:first-child {
      margin-top: 0;
    }
    
    &:after {
      clear: both;
      display: table;
    }
  }
}

.share-button {
  display: block;
  position: relative;
  height: 30px;
  
  &:hover {
    cursor: pointer;
    
    .share-button-secondary-content {
      transform: translate3d(0, 0, 0);
    }
    
    .share-button-primary {
      background: #1877F2;
    }
  }
}

.share-button-bluesky {
  clear: both;
  display: block;
  position: relative;
  height: 30px;
  
  &:hover {
    cursor: pointer;
    
    .share-button-secondary-content-bluesky {
      transform: translate3d(0, 0, 0);
    }
    
    .share-button-primary-bluesky {
      background: #1877F2;
    }
  }
}

.share-button-primary {
  position: absolute;
  /* background: #1877F2; */
  background: #8bbbf8;
  width: 30px;
  height: 30px;
  left: 0;
  /* border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px; */
  /* top: 50%; */
  /* margin-top: -(30px / 2); */
}

.share-button-primary-bluesky {
  position: relative;
  /* background: #1877F2; */
  background: #8bbbf8;
  width: 30px;
  height: 30px;
  left: 0;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  /* top: 50%; */
  /* margin-top: -(30px / 2); */
}

.share-button-icon {
  display: block;
  color: #242424;
  position: absolute;
  width: 30px;
  line-height: 30px;
  font-size: 16px;
  margin-top: 1px;
}

.share-button-secondary {
  position: absolute;
  overflow: hidden;
  margin-left: (30px / 2);
  height: 30px;
  border-bottom-left-radius: 5px;
}

.share-button-secondary-content {
  font-family: sans-serif;
  font-size: 1em;
  background: #1877F2;
  display: block;
  height: 30px;
  text-align: left;
  margin-left: 23px;
  /* padding-left: (30px * .8);
  padding-right: (30px * .6); */
  padding-left: 10px;
  padding-right: 10px;
  line-height: 30px;
  color: #ffffff;
  /* border-radius: 0 (30px / 2) (30px / 2) 0; */
  
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  transform: translate3d(-100%, 0, 0);
  transition: transform 175ms ease;
}

.share-button-secondary-content-bluesky {
  font-family: sans-serif;
  font-size: 1em;
  background: #1877F2;
  display: block;
  height: 30px;
  text-align: left;
  margin-left: 23px;
  /* padding-left: (30px * .8);
  padding-right: (30px * .6); */
  padding-left: 10px;
  padding-right: 10px;
  line-height: 30px;
  color: #ffffff;
  /* border-radius: 0 (30px / 2) (30px / 2) 0; */
  
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  transform: translate3d(-100%, 0, 0);
  transition: transform 175ms ease;
}

.share-button-secondary-content a {
  text-decoration: none;
  color: inherit;
}