/*
Theme Name: coffee
Theme URI: http://anothercoffee,net
Author: Anthony Lopez-Vito
Author URI: http://anothercoffee,net
Description: A Nikola static site generator theme for Another Cup of Coffee using Bootstrap 4.
Version: 1.0.0
License: MIT
*/


body {
    background-color: #fffefe;
    color: #333;
    line-height: 1.6;
}

hr {
    margin-top: 2em;
    margin-bottom: 2em;
}

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    font-weight: 400;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    margin-top: 30px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: bold;
}

h4 {
    font-size: 20px;
    font-weight: bold;
}

h5, h6 {
    font-size: 18px;
    font-weight: bold;
}

.display-1 {
    font-size: 3rem;
}
.display-2 {
    font-size: 2.5rem;
}
.display-3 {
    font-size: 2rem;
}
.display-4 {
    font-size: 1.5rem;
}

a {
    color: #BD4147;
    text-decoration: none;
}

a:hover {
    color: #2763a5;
    text-decoration: underline;
}

#content > article > div > ul > li,
#content > article > div > ol > li {
    padding-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

.intro {
    font-size: 28px;
    text-align: center;
    margin: 1em 0 1em 0;
}

.guide-lead {
    margin: 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.guide-lead p {
    font-size: 21px;  /* Subtle increase from base 18px */
    line-height: 1.6;
    color: #333333;   /* Maintaining site's color */
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.jumbo {
    font-size: 48px;
    text-align: center;
    margin: 0;
    line-height: 1;
}

.disclaimer {
    font-size: 14px;
    line-height: 1;
}

details summary {
    cursor: pointer;
    font-weight: 400;
    font-style: italic;
    padding-top: 0;
}

.text-decoration-underline {
    text-decoration: underline;
}

.byline-name,
.dateline,
.listdate,
.footnotes,
figcaption {
    color: #6E7C7C;
}

.page-meta {
    color: #9BA5A5;
}
.posted {
    color: #9BA5A5;
    font-style: italic;
}

div.footnotes {
    margin: 50px 0 30px 0;
}

figcaption,
.footnotes {
    font-style: italic;
    font-size: 15px;
}
.footnotes a {
    color: #6E7C7C;
}

.metadata {
    text-align: center;
}

.metadata p:before {
    content: " / ";
}

blockquote p,
blockquote {
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1.5;    
    border-left: 3px solid #bd4147;
    padding-left: 1rem;
    margin-left: 0;
    background: transparent;
}

.green {
    color:#28a745; /* #7ad03a; */
    
    
}

.red {
    color: #bd4147;
}

.dark-grey {
    color: #6E7C7C
}

.grey {
    color: #B3BBBB;
}

.light-grey {
    color: #f8f9fa;
}

.white {
    color: #ffffff;
}

/* Font Awesome Styles */
.fa,
.fas,
.far,
.fal,
.fab {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

pre.code .err {
    border: none;
}

/* Main Container */
/*.container {*/
#content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 80px 20px 80px;
}

/* Header */
.header {
    /* background-color: #f8f9fa; */
    background-color: #fffefe;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

/* Navigation Bar */
.navbar {
    background-color: #fffefe;
    padding: 10px 0;
}

.navbar .container {
    padding: 0 20px;
}

/* Navbar Logo */
.navbar-brand img {
    max-width: 150px;
    max-height: 50px;
    display: block;
}

/* Centre-align Navbar Menu Items */
/*
.navbar-nav {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
*/

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

.navbar-nav .nav-item {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.85714285714286;
}

.navbar .navbar-nav .nav-link {
    color: #212529;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0;
    letter-spacing: 1px;
    line-height: 1.85714285714286;
    margin: 0 1em;
}

.navbar .navbar-nav .nav-link:hover {
    color: #6cc;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #28a745; /* #7ad03a; */
}

.postpromonav {
    margin: 30px 0 30px 0;
}

.postpromonav ul.tags {
    margin: 10px 0 10px 0;
}

.postpromonav ul.pager {
    margin: 50px 0 30px 0;
}

/* Hamburger dropdown to the right of the page */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        padding: 1rem;
        margin-right: 20px;
        background-color: #fffefe;
        border: 1px solid #e5e5e5;
        border-radius: 0 0 0.25rem 0.25rem;
        width: auto;
        min-width: 200px;
        z-index: 9999;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);        
    }

    .card {
        position: relative;
        z-index: 1;
    }

    .navbar-nav {
        text-align: right;
    }

    .navbar-nav .nav-item {
        padding: 0.5rem 0;
    }
    
    .navbar .container.position-relative {
        position: relative;
        z-index: 9999;
    }
    
    .dropdown-menu {
        text-align: right;
        right: 0;
        left: auto;
        border: none;
    }

    .dropdown-item {
        text-align: right;
    }
}


/* Section bar */
.brown-bar {
    background-color: #986c40;
    width: 100%;
    padding: 10px 0;
}

.brown-bar-text {
    color: white;
    font-size: 2em;
    margin: 0;
    padding: 0;
}


/* Content Area */
.content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.main-content {
    flex: 0 0 70%;
    max-width: 70%;
    padding-right: 20px;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
    padding-left: 20px;
    border-left: 1px solid #e5e5e5;
}

.featured-image-container,
.centred-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    text-align: center;
}
  
.featured-image,
.centred-image {
    max-width: 100%;
    height: auto;
}

.alert-primary {
    color: #004085;
    background-color: #e2e2e2;
    border-color: #444;
}

.badge-secondary,
.tags > li a {
    color: #fff;
    background-color: #28a745; /* #7ad03a; */
}

.toc {
    background-color: #f5f5f5;
    padding: 2em;
}

.client-logos-section {
    background-color: #ffffff;
    
    overflow-x: hidden;
    /*
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    */
}

.client-logos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    place-items: center;
}

.client-logo {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.client-logo img {
    max-height: 100%;
    max-width: 250px;
    object-fit: contain;
}

.logo-dark-bg {
    background-color: #282a2b;
    border-radius: 8px;
    padding: 1rem;
}


/***************
 * Posts
 */
h1.entry-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
 }

header {
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.featured-image {
    margin-bottom: 25px;
}

.postpage header {
    border-bottom: 1px solid #e9ecef;
}

.pullquote blockquote {
    margin: 0;
}

.pullquote {
    font-family: 'PlayfairDisplay', serif;
    font-style: italic;
    color: #BD4147;
    text-align: center;
    position: relative;
    margin: 2em;
    padding: 20px 0;
}

.pullquote::before,
.pullquote::after {
    content: "";
    position: absolute;
    width: 10%;
    height: 1px;
    background: #BD4147;
    left: 50%;
    transform: translateX(-50%);
}

.pullquote::before {
    top: 0;
}

.pullquote::after {
    bottom: 0;
}
/*
@media (min-width: 1200px) {
    .pullquote {
        display: none;
    }
}
*/

/***************
 * Buttons and icons
 */
button,
.btn-primary,
.button-outline,
.readmore-button,
.control-button,
.cta-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
}

.button-outline {
    background-color: #ffffff;
    color: #000000;
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: #212529;
}

.button-outline:hover {
    background-color: #66CCCC;
    color: #ffffff;
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: #ffffff;
}


.button-outline-muted {
    background-color: #ffffff;
    color: #6c757d;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #6c757d;
}

.above-fold .button-outline {
    border-width: 2px;
}

.above-fold .button-outline:hover {
    border-style: solid;
    border-width: 2px;
    border-color: #000000;
}

.button-outline a {
    color: #212529;
    text-decoration: none;
}

.button-outline:hover a,
.button-outline a:hover {
    color: #ffffff;
    text-decoration: none;
}

.control-button {
    background-color: #D3D3D3;
    color: #ffffff;
    border: none;
}

.control-button:hover {
    background-color: #e9ecef;
    color: #ffffff;
}

.btn-primary,
.readmore-button,
.cta-button {
    background-color: #28a745; /* #7ad03a; */
    color: #ffffff;
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: #28a745; /* #7ad03a; */
}

.btn-primary:hover,
.readmore-button:hover,
.cta-button:hover {
    background-color: #66cccc;
    border-color: #66cccc;
    color: #ffffff;
}

.btn-primary a,
.readmore-button a,
.control-button a,
.cta-button a,
.readmore-button a:hover,
a.readmore-button:hover,
.control-button a:hover,
.cta-button a:hover {
    color: #ffffff;
    text-decoration: none;
}

.cta-button-icon {
    padding: 0 10px 0 0;
}

.btn-cta,
.btn-cta:hover,
.btn-cta:focus,
.btn-cta:active,
.btn-cta.active {
  background-color: #7ad03a !important;
  border-color: #7ad03a !important;
  color: #fff !important;
  text-decoration: none;
}

.btn-cta:focus {
  box-shadow: 0 0 0 0.2rem rgba(40,167,69,0.35);
}


.btn-cta {
  background-color: #28a745; /* #7ad03a; */
  border-color: #28a745; /* #7ad03a; */
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-cta:hover {
  background-color: #28a745; /* #7ad03a; */
  border-color: #28a745; /* #7ad03a; */
  color: #fff;
}

.btn-outline-cta {
  border: 2px solid #333;      /* adjust to theme */
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-outline-cta:hover {
  background-color: #333;
  color: #fff;
}



.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.button-container.left {
    justify-content: left;
    align-items: left;
}

.icon-green {
    color:#28a745; /* #7ad03a; */
}

.icon-white {
    color:#ffffff;
}

.icon-dark {
    color:#333333;
}

.text-gold {color: #EFBF04 /*#ffdd57;*/ }

ul.pager li a {
    border: none;
}

.pager .next .control-button i {
    padding-left: 10px;
}
.pager .previous .control-button i {
    padding-right: 10px;
}

/***************
 * Misc
 */
 .postlist .listdate:before {
    content: "(";
}

.postlist .listdate:after {
    content: ")";
}

.list-unstyled span.list-unstyled-text {
    padding-left: 10px;
}


/***************
 * Layout, grid and columns
 */

.above-fold {
    margin: 0;
}

section {
    margin: 50px 0 50px 0;
}

figure {
    margin: 25px 0 25px 0;
}

/* Fixed-height columns */
.column-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
.column-content > * {
    flex: 0 0 auto;
}

.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}
.col-eq-height {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
.col-eq-height > * {
    flex: 0 0 auto;
}
.row-spacing {
    margin-bottom: 20px;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin-bottom: 15px;
}
  
.icon-container i {
    font-size: 2em;
}

/* Listing page card grid */
.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-text {
    flex-grow: 1;
}

.text-right {
    text-align: right;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-auto {
    margin-top: auto;
}


/***************
* Page footer
*/

/* Footer menu */
.footer-menu section {
    margin: 20px 0 20px 0;
}

.footer-menu {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-menu .container {
    padding: 0;
}

.footer-menu h2 {
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-menu h5 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
}

.footer-menu ul li {
    margin-bottom: 10px;
}

.footer-menu ul li a {
    color: #bbb;
    text-decoration: none;
}

.footer-menu ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-menu .social-icons i {
    margin-right: 8px;
}

.footer-menu .badge {
    padding-top: 10px;
}

div.footer-menu a {
    color: #aad370;
}

div.footer-menu a:hover {
    color: #1c86c6;
}

div.footer-menu .icon-container {
    display: block;
    justify-content: left;
    align-items: left;
    margin: 0;
}

div.footer-menu .icon-container a.white .group-icon,
div.footer-menu .icon-container a.icon-white .group-icon {
    color: #ffffff;
}

div.footer-menu .icon-container a:hover .group-icon {
    color: #1c86c6;
}

div.footer-menu .icon-container a.icon-white i.group-icon {
    font-size: 20px;
}

/* Footer */
.footer {
    background-color: #212529;
    padding: 0;
    text-align: center;
    color: #ffffff;
}

.footer,
.footer .copyright {
    color: #ffffff;
}

footer.footer a,
div.footer-menu li a {
    color: #aad370
}

footer.footer a:hover,
div.footer-menu li a:hover {
    /* color: #28a745; */
    color: #1c86c6;
    text-decoration: underline;
}

/* Bottom contact section */
.footer-contact .row {
    margin: 0;
}

.footer-contact {
    background-color: #66CCCC;
    margin: 50px 0 0 0;
    padding: 0;
}
.footer-contact .left-section {
    background-image: url('/images/programmer-coffee-laptop-unsplash-01.jpg');
    background-size: cover;
    background-position: center;
    /* height: 100%; */
    height: 400px;
}
.footer-contact .right-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 50px;  
}

.footer-menu .icon-container {
    font-size: 18px;
}

/* Fix right margin that causes bottom scrollbar
 * to appear when the viewport width is smaller
 * than around 1150 px
 */
.footer-menu .row {
    margin: 0 !important;
}


/***************
 * Homepage
 */

h1.front-heading {
    font-weight: bold;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

h1.front-heading.impact {
    font-size: 50px;
}

.highlight {
    background: linear-gradient(104deg, transparent 0.9%, #ffeb3b 1%, #ffeb3b 99%, transparent 99.1%);
    background-size: 100% 45%;
    background-repeat: no-repeat;
    background-position: 0 85%;
    padding: 0 20px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

h1.front-heading.sub {
    font-size: 45px;
 }

h2.front-heading,
h3.front-heading,
.front-intro {
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
 }

h2.front-heading,
.front-intro {
    font-size: 30px;
}

h3.front-heading {
    font-size: 20px;
}

.front-intro {
    margin-top: 20px;
}

.front-banner-wrapper {
    /* height: 400px; */
    margin: 20px 0 20px 0;
    overflow: hidden;
}

.front-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.grid-container {
    margin: 40px 0 40px 0
}

.grid-heading {
    font-family: 'Montserrat', sans-serif;
    color: #212529;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.group-icon {
    color: #28a745; /* #7ad03a; */
    font-size: 1.5em;
    margin: 0 5px;
}

/* Homepage drupal-to-wordpress-migration-service section */
#drupal-to-wordpress-migration-service .position-relative {
    position: relative;
    padding-right: 0;
}

#drupal-to-wordpress-migration-service .position-relative img {
    width: 100%;
}

#drupal-to-wordpress-migration-service .expert-advice-row {
    position: absolute;
    bottom: -25px;
    right: 0;
    left: 0;
    z-index: 10;
}

#drupal-to-wordpress-migration-service .expert-advice-column {
    background-color: #66CCCC;
    color: black;
    padding: 20px;
    width: 100%;
}

.migration-service-row .col-12 {
    padding-right: 0;
}
.row.migration-code-image,
.row.expert-advice-row {
    margin-right: 0;
}

#drupal-to-wordpress-migration-service .empty-column {
    background-color: transparent;
}

.migration-service-info {
    padding: 0 20px 0 25px;
}

#drupal-to-wordpress-migration-service .expert-advice-column h3 {
    margin-bottom: 15px;
}

#drupal-to-wordpress-migration-service ul {
    margin-top: 20px;
}

#drupal-to-wordpress-migration-service li {
    margin-bottom: 10px;
}

#drupal-to-wordpress-migration-service .far {
    color: #28a745; /* #7ad03a; */
    margin-right: 10px;
}

/***************
 * Tag page
 */

 article.tagpage > header > div.metadata {
    margin: 25px 0 0 0;
    text-align: right;
}

/***************
 * Embedded media
 */
.youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}


/***************
 * Carousel
 */
 .siema {
    max-width: 100%;
    height: auto;
}

.siema-small {
    max-width: 400px;
    height: 300px;
}

.siema-medium {
    max-width: 800px;
    height: 600px;
}

.siema-large {
    max-width: 1200px;
    height: 800px;
}

.siema img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 912px) {
    .siema-medium {
        max-width: 600px;
        height: auto;
    }
    
    .siema-large {
        max-width: 800px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .siema-medium {
        max-width: 400px;
        height: auto;
    }
    
    .siema-large {
        max-width: 500px;
        height: auto;
    }
}

/***************
 * Responsive styles
 */
@media (max-width: 1200px) {
    h1.front-heading {
        font-size: 50px;
    }
}

@media (max-width: 912px) {
    #content {
        margin: 0 auto;
        padding: 20px;
    }

    h1.front-heading {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    h1.front-heading.impact,
    h1.front-heading.sub {
        font-size: 36px; /* Same size on mobile */
    }
}

@media (max-width: 576px) {
    header {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    section {
        margin: 25px 0 25px 0;
    }

    h1,
    h1.front-heading {
        font-size: 28px;
    }
    h2,
    h2.front-heading,
    h1.entry-title {
        font-size: 24px;
    }
    h3,
    h3.grid-heading {
        font-size: 18px;
        font-weight: bold;
    }
    .front-intro,
    .intro {
        font-size: 28px;
    } 
    
    .row-spacing {
        margin-bottom: 0;
    }

    .migration-code-image .col-12,
    .migration-service-row .col-md-6 {
        padding-left: 0;
    }

    .row.mb-4.migration-code-image {
        margin-bottom: 0 !important;
    }

    #drupal-to-wordpress-migration-service .expert-advice-row {
        position: static;
        margin-top: 0;
    }
    
    #drupal-to-wordpress-migration-service .empty-column {
        display: none;
    }

    #drupal-to-wordpress-migration-service .expert-advice-column {
        margin-bottom: 20px;
    }

    #drupal-to-wordpress-migration-service .expert-advice-column {
        width: 100%;
        margin-left: 0;
    }

    #contact .right-section {
        padding: 20px 50px;
    }

    #menu-footer-navigation > li,
    .footer-menu .badge,
    .footer-menu p,
    .footer-menu .icon-container,
    .footer p {
        padding: 0 10px 0 10px;
    }
    
    .client-logos-container {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        height: 70px;
    }
    
    .client-logo img {
        max-width: 180px;
    }
}

@media (max-width: 430px) {
    #content {
        padding: 25px;
    }

    .above-fold {
        margin: 0 0 0 0;
    }

    .front-intro,
    .intro {
        font-size: 18px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 375px) {
    .front-banner-wrapper {
        padding-top: 30px;
    }
}


/*
 * Contact encoding
 */
.email-xfp,
.s0ef3-x {
    display: none;
}
.contact-s0ef3 {
    display: inline-flex;
    flex-wrap: nowrap;
    isolation: isolate;
    font-variant-numeric: slashed-zero tabular-nums;
    font-kerning: none;
}

.contact-s0ef3 .s0ef3-x {
    display: none;
}

/* Multi-layer transforms */
[class^="s0ef3-"] {
    display: inline-block;
    white-space: pre;
    text-transform: full-width;
    font-feature-settings: "ss01", "zero";
    letter-spacing: 0.01em;
    direction: rtl;
}

.s0ef3-a { 
    writing-mode: sideways-lr;
    text-orientation: upright;
}

.s0ef3-a::before {
    content: "\0068\0065\006C";
    direction: rtl;
}
.s0ef3-a::after {
    content: "\006C\006F beans";
    direction: rtl;
}

.s0ef3-c {
    font-variant-position: sub;
    text-decoration-style: dashed;
    direction: ltr;
}

.contact-s0ef3::before,
.contact-s0ef3::after {
    content: "\2060\200B\200C";
    display: inline;
    user-select: none;
}

/* Print considerations */
@media print {
    .contact-s0ef3 {
        unicode-bidi: normal;
        direction: ltr;
    }
}


/***************
 * Openstreetmap
 */
.map-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
}

.map-container iframe {
    border: 0;
    width: 100%;
    height: 100%;
}
