@font-face {
  font-family: 'Sam-Logotype';
  src: url('../fonts/VingSmith.otf');
}

.sam-logotype{
  font-family: 'Sam-Logotype',-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,sans-serif !important;
  font-size: 4rem;
  line-height: 4rem;
  color: #4C4843;
}
._CERJk3S6 .sam-logotype {
  font-size: 3rem;
}
._DZ0wEqWX {
  color: #454545;
  margin-top: 0.5rem;
}

._QR_W2IAJ {
  background-color: #6A9C89 !important;
}

#_SEJXpck7 {
  width: 100% !important;
}

._ujwxECCu ._vOScNqSE._kB1kAHQw {
  margin: auto;
}

._McXkwcSW {
  margin: 0 !important;
}

._iAnMr4WX {
  background-image: url("../imgs/50ce4e28cc7699dc343259426416e845f8ee8b8d0e308b99ee87f7c2957d758b.png") !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  background-size: contain !important;
}

h1 {
  text-transform: uppercase;
}

h2 {
  color: #B46060 !important;
}

h3 {
  color: #6A9C89 !important;
  margin-top: 1rem !important;
}

h4 {
  margin-top: 1rem;
  font-weight: 600 !important;
}

.lower-a-list {
  list-style-type: lower-latin !important;
  list-style: lower-latin !important;
}

.upper-a-list {
  list-style-type: upper-latin !important;
}

.sam-section .wrap-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sam-section .wrap-area-without-space {
  display: flex;
  flex-wrap: wrap;
}

.sam-section .editor {
  margin-bottom: 1rem;
}

.sam-section .authors {
  flex: 1;
}

.sam-section .author {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 20px;
}

.sam-section .author-pic {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: contain;
}

.sam-section .article-area {
  padding: 1rem;
}

.sam-section .article-area h1 {
  text-align: center;
}

.sam-section .article-area p {
  text-align: justify;
}

.sam-article ol li {
  list-style-position: outside;
  margin-left: 1.5em;
  text-align: justify;
}

.sam-article p {
  text-align: justify;
}

.sam-article .graphic-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 2.5%;
}

.sam-article .graphic-area .graphic {
  max-height: 256px;
}

.sam-article .graphic-area span {
  margin-top: 1em;
  font-size: small;
}

.sam-article .references {
  font-size: small;
}

.sam-article .modal-button,
.sam-section .modal-button {
  font-weight: 600;
  cursor: pointer;
  color: #B46060 !important;
}

.sam-article .modal,
.sam-section .modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 75px;
  width: 100%;
  height: 100%;
}

.sam-article .close,
.sam-section .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.sam-article .modal-header h4,
.sam-section .modal-header h4 {
  width: 90%;
}

.sam-article .close:hover,
.sam-article .close:focus,
.sam-section .close:hover,
.sam-section .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.sam-article .modal-header,
.sam-section .modal-header {
  padding: 1rem ;
}

.sam-article .modal-body,
.sam-section .modal-body {
  padding: 1rem;
  overflow: auto;
  max-height: 600px;
}

.sam-section .modal-body img {
  height: 100%;
  object-fit: contain;
}

.sam-article table,
.sam-article td,
.sam-section table,
.sam-section td {
  border: 1px solid #ddd !important;
  margin: 1rem;
}

.sam-article td {
  padding: 0.5rem;
}

.sam-article .modal-content,
.sam-section .modal-content {
  position: relative;
  background-color: #fefefe;
  padding: 1rem;
  margin: auto;
  border-radius: 30px;
  width: 100%;
  max-height: 700px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

.sam-section .carousel {
  display: flex;
  flex:1;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
}

.sam-section .carousel .gallery {
  display: grid;
  width: 250px;
}
.sam-section .carousel .gallery > img {
  grid-area: 1/1;
  width: 100%;
  object-fit: cover;
  border: 10px solid #f2f2f2;
  border-radius: 10px;
  box-shadow: 0 0 4px #0007;
  z-index: 2;
  animation: slide 10s infinite, z-order 10s infinite steps(1);
}

@keyframes slide {
  10% {
    transform: translateX(120%) rotate(var(--r));
  }
  0%, 100%, 20% {
    transform: translateX(0%) rotate(var(--r));
  }
}
@keyframes z-order {
  10%, 20% {
    z-index: 1;
  }
  80% {
    z-index: 2;
  }
}
@keyframes z-order-last {
  10%, 20% {
    z-index: 1;
  }
  90% {
    z-index: 2;
  }
}


@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

@media only screen and (min-width:801px) {
  ._CERJk3S6 ._iAnMr4WX {
    background-size: 85% !important;
  }
  .sam-article .modal-body,
  .sam-section .modal-body {
    max-height: 450px;
  }
}

@media only screen and (min-width: 1024px) {
  .sam-article .modal-content,
  .sam-section .modal-content {
    width: 80%;
    max-height: 550px;
  }
}

@media only screen and (min-width: 1200px) {
  ._ujwxECCu #_CMG3R6wR {
    padding: 0 5%;
  }

  ._ujwxECCu ._vOScNqSE._kB1kAHQw {
    padding: 0 5%;
  }

  .sam-article ._lv_1Z5ij {
    padding: 1rem 5rem 2rem;
  }

  .sam-section .article-area {
    padding: 2rem;
  }

  .sam-section .carousel .gallery {
    width: 350px;
  }
}
