@font-face {
    font-family: 'Roboto';
    src: url('../fonts/static/Roboto-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Italic';
    src: url('../fonts/static/Roboto-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url('../fonts/static/Roboto-Bold.ttf');
    font-weight: 600;
    font-style: bold;
}

@font-face {
    font-family: 'Roboto-Bold-Italic';
    src: url('../fonts/static/Roboto-BoldItalic.ttf');
    font-weight: 600;
    font-style: italic;
}

/* In case you want to add addtional fonts: */
/* url('..fonts/static/Roboto-Thin.ttf'),
url('..fonts/static/Roboto-ExtraLight.ttf'),
url('..fonts/static/Roboto-Light.ttf'),
url('..fonts/static/Roboto-Medium.ttf'),
url('..fonts/static/Roboto-SemiBold.ttf'),
url('..fonts/static/Roboto-ExtraBold.ttf'),
url('..fonts/static/Roboto-Black.ttf '),
url('..fonts/static/Roboto-ThinItalic.ttf'),
url('..fonts/static/Roboto-ExtraLightItalic.ttf'),
url('..fonts/static/Roboto-LightItalic.ttf'),
url('..fonts/static/Roboto-MediumItalic.ttf'),
url('..fonts/static/Roboto-SemiBoldItalic.ttf'),
url('..fonts/static/Roboto-ExtraBoldItalic.ttf'),
url('..fonts/static/Roboto-BlackItalic.ttf'); */

:root {
    --accent: #3457d3;
    --highlight: #14A2C8;
    --ys-blue: #003579;
    --navy: #132257;
    --teal: #0367AA;
}

/* Structural Elements */

body {
    font-family: 'Roboto', sans-serif;
    background: #E9E8E8;
}

header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.55);
}

nav {
    background-color: white;
}

#breadcrumb {
    /* background-color: rgba(251, 251, 251, 0.9) !important; */
    background-color: transparent !important;
    color: white;
}

.breadcrumb-item,
.breadcrumb-item.active {
    color: white;
    --bs-breadcrumb-divider-color: white;
}

.breadcrumb-item a {
    color: var(--highlight);
    --bs-breadcrumb-divider-color: white;
}

.breadcrumb-item a:hover {
    color: aqua;
}

@media (min-width: 991px) {
    .navbar-nav li {
        align-self: center !important;
    }
}

main {
    background-color: #e9e8e8;
}

article {
    margin: 0;
}

footer {
    font-size: smaller;
}

/* Typography */
h1 {
    font-size: 36px !important;
}

@media (min-width: 576px) {

    h1 {
        font-size: 42px !important;
    }
}

.new-machine,
.new-service,
.patent {
    color: orange;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px black;
}

main ul li,
main ol li {
    padding-bottom: 0.5rem;
}

.new {
    padding: 0.5rem 1.0rem;
    background-color: red;
    color: white;
    font-size: larger;
    font-weight: bold;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
}

.important {
    font-weight: bold;
    color: red;
}

.star-bullet {
    position: relative;
    top: -3px;
    padding-right: 0.5rem;
    color: var(--accent)
}

.text-shadow {
    text-shadow: 2px 2px rgba(0, 0, 0, 0.55);
}

/* Cards */
.card a.btn,
.card a.btn:hover,
.card a.btn:link,
.card a.btn:visited,
.card a.btn:active,
.card a.btn:focus {
    height: 38px !important;
    width: 100% !important;
}

.card-title {
    text-transform: uppercase !important;
}

/* Buttons */
button.gsc-search-button:hover {
    background-color: var(--highlight);
}

button {
    background-color: var(--accent);
    border: 2px solid white;
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 0.5rem;
}

button.secondary {
    background-color: #d1d1d1;
    color: black;
}

button.large {
    font-size: 120%;
    margin-top: 1.0em;
}

nav button:hover {
    background-color: #e9e8e8;
}

button:hover {
    background-color: var(--highlight);
}

button.contact-btn {
    font-weight: bold;
}

#contact-success a:hover {
    background-color: var(--accent);
}

/* Images and Video */
figcaption {
    padding-top: 1rem;
    font-weight: normal;
    font-size: smaller;
}

video {
    width: 100%;
    height: auto;
}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-4by3 {
    padding-bottom: 75%;
}

/* Contact */
.contact-description a {
    text-decoration: none;
}

.contact-description i {
    color: white;
    font-size: larger;
}

.contact-description tr td:first-child {
    background-color: var(--ys-blue);
    text-align: center;
    padding: 1rem 0;
}

/* Page Specific */
header {
    min-height: 262px;
}

.machine header,
.technology header,
.applications header {
    /* background: no-repeat center center url(../images/background/bg-header-3.jpg) !important; */
    background: no-repeat center center url(../images/background/IS700-dryer.png) !important;
    background-size: cover !important;
}

.contact header,
.company header {
    background: no-repeat center center url(../images/background/bg-header-2.jpg) !important;
    background-size: cover !important;
}

.header-img {
    height: 275px !important;
    margin: auto;
}

.media-img img {
    max-width: 450px !important;
}

.press-img img {
    max-width: 400px !important;
}

.tri-img {
    height: 400px;
}

.subtitle {
    color: white;
    margin-top: 0;
}

.machine-description h2,
.general-description h2 {
    font-size: 34px;
    text-transform: uppercase;
}

article.machine-components,
article.machine-examples,
article.general-examples {
    background-color: white;
}

.our-strengths {
    font-size: 20px;
}

@media (max-width: 768px) {
    .our-strengths {
        font-size: 16px;
    }
}

/* Backgrounds */
.white-bkg {
    background-color: white;
}

.silver-bkg {
    background: #E9E8E8;
    background: linear-gradient(175deg, rgba(233, 232, 232, 1) 27%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 53%, rgba(233, 232, 232, 1) 59%);
}

.highlight-blue-bkg {
    color: white;
    background: url(../images/background/machines-header.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-shadow: 1px 1px var(--navy);
}

.blue-bkg {
    background-color: var(--ys-blue);
    color: white;
}

.navy-blue-bkg {
    background-color: var(--navy);
    color: white;
    background: no-repeat center center url(../images/background/slot-die-coater-bkg.png);
    background-size: cover;
    text-shadow: 1px 1px black;
}

/* Figures */
.machine-examples figure {
    max-width: 300px;
    min-height: 230px;
    border: 1px solid black;
    border-radius: 0.3em;
    padding: 1.0rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    gap: 2rem;
    position: relative;
}

#mini-labo .machine-examples figcaption {
    min-height: 80px;
}

#mini-labo-deluxe .machine-examples figure {
    justify-content: space-between;
}

#mini-labo-deluxe .machine-examples figcaption {
    min-height: 100px;
}

#mu-coater-350 .machine-examples figcaption {
    min-height: 60px;
}

#beta-coater.machine-examples figcaption {
    min-height: 60px;
}

.top-level a:hover figure {
    cursor: pointer;
    border: 1px solid var(--navy);
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* Company */
.company-details figure {
    max-width: 300px;
    min-height: 230px;
    border: 1px solid black;
    padding: 1.0rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    position: relative;
    background-color: white;
    gap: 1rem;
    color: var(--ys-blue)
}

.company-details a {
    text-decoration: none;
}

.company-details figure:hover {
    opacity: 0.85;
    border: 1px solid var(--accent);
}

.media-center-links .nav-link,
.media-center-links .nav-item {
    padding: 0 0.5rem 0 0;
}

/* TABLES */
.table-active {
    background-color: #bcebf8 !important;
}

th {
    font-size: larger !important;
}

/* Home Page Header */
.hero-bkg {
    background: url(../images/background/IS700-dryer.png);
    background-size: cover;
    background-position: center center;
    min-height: 300px;
}

.hero-text-bkg {
    max-width: 600px;
    padding-left: 2.0rem;
}

header h1 {
    font-size: 42px;
    color: white;
    text-shadow: 1px 1px 1px black;
    border-top: 6px solid var(--highlight);
    padding-top: 1.0rem;
}

.icon-link {
    color: white;
    background-color: var(--highlight);
    border: 1px solid black;
    padding: 0.5rem 1.0rem;
    text-decoration: none;
    position: relative;
}

.icon-link i {
    margin-top: -6px;
}

.icon-link:hover {
    background-color: white;
    color: black;
}

/* Home Page Machines */
.hm-card {
    background-color: #e9e8e8;
    border-radius: 0.3rem;
    transition: 0.2s;
    border: 1px solid black;
    max-width: 300px;
    min-height: 290px !important;
    border: 1px solid black;
    padding: 1.0rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    gap: 2rem;
    position: relative;
}

.hm-card-title {
    color: black;
    font-weight: bold;
}

.hm-card:hover {
    cursor: pointer;
    border: 1px solid var(--navy);
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.notice {
    color: white;
    background-color: var(--ys-blue);
    width: 100% !important;
    margin: 20px;
    padding: 40px;
}

/* Home Page Sections */
.what-we-do {
    background-color: var(--ys-blue);
}

.home-lead {
    color: white;
    line-height: 1.5em;
}

.home-lead-italic {
    font-style: italic;
}

.who-we-are {
    background-color: #132257;
    color: white;
}

.why-choose-us {
    background-color: white;
}

.why-choose-us div {
    margin: 0 auto;
    max-width: 1000px;
    padding: 2rem;
}

/* Footer */
footer {
    background-color: var(--ys-blue);
}

footer address,
footer p {
    color: white;
}

footer h4,
footer h5 {
    color: white;
    border-bottom: 6px solid var(--highlight);
    padding: 1.5rem 0 0.5rem;
    display: inline-block;
}

footer h6 {
    color: white;
    font-weight: bold;
    padding-top: 0.5rem;
}

footer .nav-link {
    color: white !important;
}

footer .nav-link:hover {
    color: var(--highlight) !important;
}

footer button {
    border: 1px solid white;
}

/* Carousel */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
    color: black;
}

.carousel-item {
    height: 30rem;
}

@media (min-width: 576px) {
    .carousel-item {
        height: 24rem;
    }
}

/* Navigation */
.dropdown-menu {
    top: 75px !important;
    left: 0 !important;
}

.navbar-toggler {
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: inset 1px 1px grey;
}

.navbar-toggler i {
    font-size: 36px;
    font-weight: 900;
}

p.list-group-item {
    font-size: 16px;
}

.list-group-header a {
    color: var(--navy);
}

.list-group-item {
    color: var(--navy);
    font-size: 14px;
}

.list-group-item:hover,
.list-group-header a:hover {
    color: var(--accent);
}

.list-group-item i {
    padding-right: 6px;
    opacity: 0.8;
}

.mt-custom {
    margin-top: 24px;
}

.extra-col {
    max-width: inherit;
}

@media (min-width: 1200px) {
    .extra-col {
        max-width: 285px;
    }
}

@media (max-width: 767px) {
    .list-item-divider {
        border-bottom: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color) !important;
    }
}

@media (min-width: 992px) {
    .mt-custom {
        margin-top: 36px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.75rem !important;
        padding-left: 0.75rem !important;
    }
}