@import url("pygment_highlights.css");

/* --- General --- */

html {
  font-size: 100%
}

body {
  font-family: 'Montserrat';
  font-size: 16px;
  color: #404040;
  position: relative;
  background-color: #FFFFFF;
  
}

p {
  line-height: 1.5;
  margin: 1rem 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat';
  font-weight: 800;
  line-height: 1.1;
}

h1 {
  font-size: 2.25rem;
  margin-top: 32px;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.125rem;
}

a {
  color: #000000;
}


a:hover,
a:focus {
  color: #2B70E4;
}

.discrete {
  margin-top: 1rem;
  font-family: 'Montserrat';
  font-size: 0.800rem;
  color: #808080;
  text-align: center;
}

.custom-padding {
  padding-left: 0 !important;
  padding-right: 0.3rem !important;
}

/* Style for blockquote elements */
blockquote {
  color: #808080;
  font-style: italic;
}

/* Removes top margin from the first paragraph inside blockquotes for better spacing */
blockquote p:first-child {
  margin-top: 0;
}

/* Custom horizontal rule */
hr.small {
  max-width: 6.25rem;
  margin: 1rem auto;
  border-width: 0.25rem;
  border-color: inherit;
  border-radius: 0.1875rem;
}

/* Offset anchor targets to account for fixed navbar height,
  so section headers aren't hidden behind the navbar */
:target:before { 
  content: "";
  display: block;
  height: 3.5rem; /* navbar height */
  margin: -3.5rem 0 0;
}

/* Top padding for the main content area */
.main-content {
  padding-top: 5rem;
}

/* On wider screens, increase top padding */
@media (min-width: 768px) {
  .main-content {
    padding-top: 8.125rem;
  }
}

/* Utility class to hide elements from display */
.hideme {
  display: none;
}

/* --Customize text selection background and foreground colors-- */

/* -Firefox */
::-moz-selection {
  color: white;
  text-shadow: none;
  background-color: #4A8EFF;
}

/* -All other browsers */
::selection {
  color: white;
  text-shadow: none;
  background-color: #4A8EFF;
}

/* Prevent image selection highlight from being colored */
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}

img {
  max-width: 100%;
}

.linked-section {
  padding-top: 3.75rem;
  margin-top: -1.5625rem;
}

/* --- Navbar --- */

/* Main navbar container with optional dynamic background and border color */
.navbar-custom {
  background-color: #EDF3FD; /* Navbar background color (can be customized via site config) */
  border-bottom: 1px solid #EDF3FD; /* Optional bottom border */
  font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Font stack for navbar */

  

  /* Smooth transition effects for background and padding changes */
  -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
}

/* Remove extra padding from navbar in all display states */
.navbar-custom {
  padding-top: 3.2px;
  padding-bottom: 3.2px;
  padding-left: 24px;
  padding-right: 24px;
}

@media(min-width: 768px){
.navbar-custom {
  padding-top: 3.2px;
  padding-bottom: 3.2px;
  padding-left: 64px;
  padding-right: 64px;
}}

/* Brand section of the navbar (site name or logo) */
.navbar-custom .navbar-brand {
  line-height: 3;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 1.125rem;
}

/* Logo area inside the brand section – with transition effects */
.navbar-custom .navbar-brand-logo {
  -webkit-transition: padding .5s ease-in-out;
  -moz-transition: padding .5s ease-in-out;
  transition: padding .5s ease-in-out;  
}

/* Padding adjustment for logo in all navbar states */
.navbar-custom .navbar-brand-logo,
.navbar-custom.top-nav-short .navbar-brand-logo,
.navbar-custom.top-nav-short-permanent .navbar-brand-logo {
  padding-top: 0rem;
  padding-bottom: 0rem;
}

/* Logo image inside the brand – with height transition */
.navbar-custom .navbar-brand-logo img {
  -webkit-transition: height .5s ease-in-out;
  -moz-transition: height .5s ease-in-out;
  transition: height .5s ease-in-out;
}

/* Logo image height for compact state */
.navbar-custom .navbar-brand-logo img,
.navbar-custom.top-nav-short .navbar-brand-logo img,
.navbar-custom.top-nav-short-permanent .navbar-brand-logo img {
  height: 3rem; /* 48px - compact img height */
}

/* Hover and focus color effects for navbar links and dropdown items*/
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-custom .navbar-nav .dropdown-item:hover,
.navbar-custom .navbar-nav .dropdown-item:focus {
  color: #2B70E4;
}
 
 
/* Navbar item styling */
.navbar-custom .navbar-nav .nav-item {
  text-transform: uppercase;
  font-size: 1rem; /* navbar text size */
  letter-spacing: 0.0625rem;
}

/* Navbar link spacing and alignment */
.navbar-custom .navbar-nav .nav-link {
  line-height: 1.5;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Text styling for brand and nav links */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav .nav-link {
  font-weight: 800;
  color: #000000;
}

/* Toggler button (mobile menu toggle)*/
.navbar-toggler { 
  font-size: 0.75rem;
  margin: 0.5rem 0;
}

.navbar-custom .navbar-toggler:focus,
.navbar-custom .navbar-toggler:hover {
  background-color: initial;
}

.navbar-custom .navbar-toggler[aria-expanded="true"] {
  background-color: rgba(0, 0, 0, 0.2);
}

/* Responsive design 
@media (min-width: 768px) {
  .navbar-custom {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .navbar-custom .navbar-brand-logo {
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-custom .navbar-brand-logo img {
    height: 4.2rem; /* 51px - expanded img height
  } */

  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-expand-md .navbar-nav .nav-item:not(.dropdown):last-child .nav-link {
    padding-right: 0;
  }
}

/*Dropdown hover behavior*/
@media (min-width: 768px) {
  .navbar-custom .nav-item.dropdown:hover {
    background: rgba(0, 0, 0, 0.1);
  }
}

/*Dropdown menu styling*/
.navbar-custom .nav-item.dropdown.show {
  background: rgba(0, 0, 0, 0.2);
}

.navbar-custom .nav-item.dropdown .dropdown-menu {
  min-width: 0;
  margin-top: 0;
  font-size: 1em;
  border: 0;
  padding: 0;
  width: 100%;
  word-break: break-word;
}

.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
  white-space: normal;
  padding: 0.625rem;
  background-color: #EDF3FD;
  text-decoration: none !important;
  border-width: 0 1px 1px 1px;
  font-weight: normal;
}

@media (min-width: 768px) {
  .navbar-custom .nav-item.dropdown .dropdown-menu {
    text-align: center;
    
  }

  .navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
    padding-left: 0.625rem;
    border: 1px solid #EDF3FD;
    border-width: 0 1px 1px;
  }
}

/* Responsive design (mobile) */
@media (max-width: 767px) {
  .navbar-custom .navbar-collapse {
    border-top: 1px solid #EDF3FD;
    margin: 0 -1rem;
  }

  .navbar-custom .navbar-nav {
    padding: 8px 64px;
  }

  .navbar-custom .navbar-nav .nav-link {
    padding: 0.675rem 0 0.675rem 1rem;
  }

  .navbar-custom .nav-item.dropdown.show {
    background: rgba(0, 0, 0, 0.2);
  }

  .navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
    padding-left: 2rem;
  }
}

/* Avatar container behavior and transitions */
.navbar-custom .avatar-container {
  position: absolute;
  left: 50%;
  height: 3rem
  margin-top: 1.75rem;
  transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
}
.navbar-custom.top-nav-short .avatar-container {
  opacity: 0;
  visibility: hidden;
  transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
  -webkit-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
  -moz-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
}

/* Avatar image border and shape */
.navbar-custom .avatar-container .avatar-img-border {
  width: 100%;
  display: inline-block;
  margin-left: -50%;
  
    border-radius: 50%;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
    -webkit-box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .8);
    -moz-box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
  
}

.navbar-custom .avatar-container .avatar-img {
  width: 100%;
  
    border-radius: 50%;
  
  display: block;
}

/* Avatar hidden in expanded mobile nav */
.navbar-custom.top-nav-expanded .avatar-container {
  display: none;
}

/* Avatar styling for large screens */
@media (min-width: 768px) {
  .navbar-custom .avatar-container {
    width: 6.25rem;
  }

  .navbar-custom .avatar-container .avatar-img-border {
    width: 100%;
    
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
    
  }

  .navbar-custom .avatar-container .avatar-img {
    width: 100%;
  }
}

/* --- Footer --- */

/* Base styling for the footer */
footer {
  padding: 1.0rem 0;
  border-top: 1px #EAEAEA solid;
  margin-top: 5rem;
  font-size: 0.875rem;
  background-color: #EDF3FD;
  
}

/* Styling for muted paragraph text inside the footer */
footer p.text-muted {
  color: #777777 !important;
}

/* Styling for muted paragraph text inside the footer */
footer a {
  color: #404040;
}

/* Removes list spacing and adds margin at bottom for inline lists in the footer */
footer .list-inline {
  margin: 0;
  padding: 0;
  margin-bottom: 1.875rem;
}

/* Footer copyright text formatting */
footer .copyright {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
}

footer .theme-by {
  text-align: center;
  margin: 0.625rem 0 0;
}

/* Custom content area in footer, centered with specific font */
footer .footer-custom-content {
  text-align: center;
  margin-bottom: 0.9375rem;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Responsive adjustments for medium and larger screens */
@media (min-width: 768px) {
  footer {
    padding: 1rem 0;
  }
  footer .footer-links {
    font-size: 1.125rem;
  }
  footer .copyright {
    font-size: 1rem;
  }
  footer .footer-custom-content {
    font-size: 1rem;
  }
}


/* --- Post preview (feed) --- */

.blog-post p {
  text-align: justify;
  font-family: sans-serif;
}

.posts-list {
    margin: 0;
}

.post-preview {
  padding: 1.25rem 0;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

@media (min-width: 768px) {
  .post-preview {
    padding: 2.1875rem 0;
  }
}

.post-preview:last-child {
  border-bottom: 0;
}

.post-preview a {
  text-decoration: none;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-col);
}

.post-preview a:focus,
.post-preview a:hover {
  text-decoration: none;
  color: var(--hover-col);
}

.post-preview .post-title {
  font-size: 1.5rem;
  margin-top: 0;
}

.post-preview .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 0.625rem;
}


.post-preview .post-meta,
.post-heading .post-meta {
  color:#999;
  font-size: 1.125rem;
  margin: 0 0 0.625rem;
  font-family: var(--body-font);
}
.post-heading .post-meta {
  display: inline-block;
}
@media (max-width: 767px) {
  .post-heading .post-meta {
    display: block;
    margin-bottom: 0;
  }
}
.post-heading .post-meta .middot {
  margin: 0 0.625rem;
}
.post-preview .post-entry {
  width: 100%;
}
.post-preview .post-image {
  float: right;
  margin-left: 0.625rem;
  height: 12rem;
  width: 12rem;
}
.post-preview .post-image {
  filter: grayscale(40%);
}
.post-preview .post-image:hover {
  filter: grayscale(0%);
}
.post-preview .post-image img {
  max-height: 100%;
  max-width: 100%;
}
.post-preview .post-image-short {
  margin-top: -2.1875rem;
}
@media (max-width: 767px) {
  .post-preview .post-image {
    height: 9rem;
    width: 9rem;
  }
  .post-preview .post-image-short {
    margin-top: 0;
  }
}
.post-preview .post-image-small {
  width: 100%;
  height: 100%;
  text-align: center;
  display: none;
}
.post-preview .post-image-small img {
  max-width: 6.25rem;
  max-height: 6.25rem;
}
@media (max-width: 500px) {
  .post-preview .post-image {
    display: none;
  }
  .post-preview .post-image-small {
    display: block;
  }
}

.post-preview .post-read-more {
  font-weight: 800;
}

@media (min-width: 768px) {
  .post-preview .post-title {
    font-size: 2.25rem;
  }
}


/* --- Tags --- */

.blog-tags {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #999;
  font-size: 0.9375rem;
  margin-bottom: 1.875rem;
}

.blog-tags a {
  color: #000000;
  text-decoration: none;
  padding: 0 0.3125rem;
}

.blog-tags a:hover {
  border-radius: 2px;
  color: #4A8EFF;
  background-color: #EEE;
}

.post-preview .blog-tags {
  margin-top: 0.3125rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .post-preview .blog-tags {
    margin-top: 0.625rem;
  }
}

@media (max-width: 767px) {
  .post-image, .post-image img {
    margin-top: 0;
    height: 9rem;
    width: 9rem;
  }
}

@media (max-width: 500px) {
  .post-image, .post-image img {
    height: 6.25rem;
    width: 6.25rem;
  }

  .post-image {
    width: 100%;
    text-align: center;
    margin-top: 0;
    margin-left: 0;
    float: none;
  }
}

/* --- Post and page headers --- */

.intro-header {
  margin: 5rem 0 1.25rem;
  position: relative;
}

.intro-header.big-img {
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
  margin-bottom: 2.1875rem;
}
.intro-header.big-img .big-img-transition {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  -webkit-transition: opacity 1s linear;
  -moz-transition: opacity 1s linear;
  transition: opacity 1s linear;
}
.intro-header .page-heading {
  text-align: center;
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
  padding: 6.25rem 0;
  color: #FFF;
  text-shadow: 1px 1px 3px #000;
}

.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 3.125rem;
}

/* Page heading subheading */
.intro-header .post-heading h1 {
  margin-top: 0;
  font-size: 2rem;
}
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
  font-size: 1.6875rem;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 0.625rem 0 0;
}
.intro-header .post-heading .post-subheading {
  margin-bottom: 1.25rem;
}
.intro-header.big-img .page-heading .page-subheading,
.intro-header.big-img .post-heading .post-subheading {
  font-weight: 400;
}
.intro-header.big-img .page-heading hr {
  box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  -moz-box-shadow: 1px 1px 3px #000;
}
.intro-header.big-img .post-heading .post-meta {
  color: #EEE;
}
.intro-header.big-img .img-desc {
  background: rgba(30, 30, 30, 0.6);
  position: absolute;
  padding: 0.3125rem 0.625rem;
  font-size: 0.6875rem;
  color: #EEE;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  right: 0;
  bottom: 0;
  display: none;
}
@media (min-width: 768px) {
  .intro-header {
    margin-top: 8.125rem;
  }
  .intro-header.big-img {
    margin-top: 5.6875rem; /* Full navbar is small navbar + 20px padding on each side when expanded */
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading {
    padding: 9.375rem 0;
  }
  .intro-header .page-heading h1 {
    font-size: 5rem;
  }
 
  .intro-header.big-img .img-desc {
    font-size: 0.875rem;
  }
}

.header-section.has-img .no-img {
  margin-top: 0;
  background-color: #FCFCFC;
  margin: 0 0 2.5rem;
  padding: 1.25rem 0;
  box-shadow: 0 0 0.3125rem #AAA;
}

/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
.header-section.has-img .intro-header.no-img {
  display: none;
}

@media (max-width: 365px) {
  .header-section.has-img .intro-header.no-img {
    display: block;
  }
  .intro-header.big-img {
    width: 100%;
    height: 13.75rem;
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading {
    display: none;
  }
  .header-section.has-img .big-img {
    margin-bottom: 0;
  }
}

@media (max-width: 325px) {
  .intro-header.big-img {
    height: 12.5rem;
  }
}

.caption {
  text-align: center;
  font-size: 0.875rem;
  padding: 0.625rem;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 0.3125rem;
  border-bottom-left-radius: 0.3125rem;
}

#header-gh-btns {
  margin-bottom: 0.9375rem;
}
@media (max-width: 500px) {
  #header-gh-btns > iframe {
    display: block;
    margin-bottom: 0.3125rem;
  }
}

.reader-time {
  display: inline-block;
}
@media (max-width: 767px) {
  .reader-time {
    display: block;
  }
}
.reader-time .middot { 
  margin: 0 0.625rem;
}

/* --- Pagination --- */

.pagination {
  margin: 0.625rem 0 0;
  justify-content: space-between;
}

.pagination.blog-pager {
  margin-top: 0;
}

.pagination .page-item.next {
  margin-left: auto;
}

@media (min-width: 768px) {
  .pagination.blog-pager {
    margin-top: 0.625rem;
  }
}

.pagination .page-item .page-link {
  font-family: "Sackers Gothic Light";
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  transition: 0.5s;
  background-color: #FFF;
  color: #404040;
}


@media (min-width: 768px) {
  .pagination .page-item .page-link {
    padding: 0.9375rem 1.5625rem;
  }
}
.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:focus {
  color: #FFF;
  border: 1px solid #4A8EFF;
  background-color: #4A8EFF;
}

/* --- Tables --- */

table {
  padding: 0;
}
table tr {
  border-top: 1px solid #cccccc;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}
table tr:nth-child(2n) {
  background-color: #f8f8f8;
}
table tr th {
  font-weight: bold;
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 0.375rem 0.8125rem;
}
table tr td {
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 0.375rem 0.8125rem;
}
table tr th :first-child,
table tr td :first-child {
  margin-top: 0;
}
table tr th :last-child,
table tr td :last-child {
  margin-bottom: 0;
}

/* --- Code blocks --- */

pre {
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  padding: 0.59375rem;
}
.highlight pre {
  border: none;
  background: none;
  margin: 0;
}
.highlight > pre {
  background-image: linear-gradient(
    rgba(0,0,0,0.06), rgba(0,0,0,0.06) 1.5em, rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.03) 3em);
  background-size: auto 3em;
  background-position-y: 0.625rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-left: 0.4375rem solid #444;
}
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
  padding: 0;
}
.highlight table, .highlight tr, .highlight td { /* to be removed after fixing table styles */
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}
.highlight pre.lineno {
  color: rgba(0,0,0,0.3);
  border-radius: 0;
  border-right: 2px solid #444;
}

/* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
.lineno {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.lineno::selection, .lineno::-moz-selection {
  background: none;
}

/* --- Social media sharing section --- */

#social-share-section {
  margin-bottom: 1.875rem;
}

/* --- Notification boxes --- */
.box-note, .box-warning, .box-error, .box-success {
  padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
  margin: 1.25rem 1.25rem 1.25rem 0.3125rem;
  border: 1px solid #eee;
  border-left-width: 0.3125rem;
  border-radius: 0.3125rem 0.1875rem 0.1875rem 0.3125rem;
}

.box-note {
  background-color: #eee;
  border-left-color: #2980b9;
}

.box-warning {
  background-color: #fdf5d4;
  border-left-color: #f1c40f;
}

.box-error {
  background-color: #f4dddb;
  border-left-color: #c0392b;
}

.box-success {
  background-color: #0008ff;
  border-left-color: #2B70E4;
}

/* Fix table border github gist snippets */

.gist, .gist-file table tr {
  border: unset;
}

.gist, .gist-file table tr td {
  border: unset;
}

/* Tags page */

.tag-btn {
  margin: 0.3125rem;
}

#full-tags-list {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#full-tags-list .tag-entry {
  margin: 0 0 0.9375rem 1.5625rem;
}

#full-tags-list .tag-entry a {
  font-size: 1.25rem;
}

#full-tags-list .tag-entry .entry-date {
  color: #808080;
  font-style: italic;
  font-size: 1rem;
}
 /* external css: flickity.css */
 
 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


.gallery-cell {
  width: 33em;
  height: 23em;
  margin-right: 2em;
}

.main-bg {
  background-image: url('../img/banner.jpg');
}

.quote {
  background-color: whitesmoke;
  font-size: 1.2em;
  min-height: 15%;
  margin-bottom: 0.5em;
}


/* cell number */

.gallery-cell:before {
  text-align: center;
  line-height: 200px;
  color: white;
}

/*News*/
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  margin-top: 3rem;
}


.dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 1rem;
}

.orange { 
  background-color: #F67E49; 
  border-radius: 0;
}
.blue { background-color: #2B70E4; }
.yellow {
  width: 0; 
  height: 0; 
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #FDD900; /* triangle shape */
  border-radius: 0;
}

.content {
  font-family: 'Montserrat';
}


.content p {
  margin: 0.5rem 0;
  color: #444;
}

.content .date {
  display: block;
  color: #666;
  font-weight: bold;
  margin-top: 0.5rem;
}

.partner-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.partner-voh-logo {              
  max-width: 190px;           
  height: auto;             
  display: block;             
  margin-top: 30px;   
  margin-bottom: 20px;  
}

.partner-fct-logo {              
  max-width: 180px;
  width: auto;
  display: block;           
}

.partner-novaid-logo {              
  max-width: 100px;
  height: auto;
  display: block;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;            
}

.partner-ulsas-logo {
  max-width: 180px;           /* Controla o tamanho máximo */
  height: auto;               /* Mantém a proporção natural */
  display: block;             /* Remove espaços indesejados abaixo da imagem */   
}

@media (min-width: 768px) {
  .partner-voh-logo {               
    max-width: 200px;           
    height: auto;               
    display: block;              
  }
  .partner-ulsas-logo {              
    max-width: 210px;           
    height: auto;               
    display: block;             
  }

  .partner-fct-logo {              
    max-width: 280px;           
    height: auto;             
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;                
    }

  .partner-novaid-logo {
    max-width: 140px;
    display: block;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px; 
  }

}