@charset "utf-8";
/*
Template Name: BusinessBlue
Customized Theme: Red–Orange
*/

/* ----------------------------------------------Imports------------------------------------- */

@import url("navi.css");
@import url("forms.css");
@import url("tables.css");

/* ----------------------------------------------General------------------------------------- */

html { overflow-y: scroll; }

body {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-family: verdana, Arial, Helvetica, sans-serif;
  color: #FFFFFF;
  background-color: #7A1C1C; /* Dark Red */
}

.justify { text-align: justify; }
.bold { font-weight: bold; }
.center { text-align: center; }
.right { text-align: right; }
.nostart { margin: 0; padding: 0; list-style-type: none; }

.clear { clear: both; }
br.clear { clear: both; margin-top: -15px; }

a { outline: none; text-decoration: none; }

/* ----------------------------------------------Floats------------------------------------- */

.fl_left, .imgl { float: left; }
.fl_right, .imgr { float: right; }

img { display: block; margin: 0; padding: 0; border: none; }
.imgl, .imgr { border: 1px solid #CCCCCC; padding: 5px; }
.imgl { margin: 0 8px 8px 0; clear: left; }
.imgr { margin: 0 0 8px 8px; clear: right; }

/* ----------------------------------------------Wrapper------------------------------------- */

div.wrapper {
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
}

div.wrapper h1,
div.wrapper h2,
div.wrapper h3,
div.wrapper h4,
div.wrapper h5,
div.wrapper h6 {
  margin: 0 0 20px 0;
  padding: 0 0 8px 0;
  font-size: 20px;
  font-weight: normal;
  font-family: Georgia, "Times New Roman", Times, serif;
  border-bottom: 1px dotted #F57C00;
  color: #8E0000;
}

/* ----------------------------------------------Color Sections------------------------------------- */

.col1 { color: #FFFFFF; background-color: #8E0000; }   /* Header */
.col2 { color: #FFFFFF; background-color: #C62828; }   /* Navigation */
.col3 { color: #FFFFFF; background-color: #A12424; }   /* Intro */
.col3 a { color: #FFD180; background-color: #A12424; }

.col4 { color: #333333; background-color: #FFFFFF; }   /* Main Content */
.col4 a { color: #C62828; background-color: #FFFFFF; }

.col5 { color: #FFFFFF; background-color: #C62828; }   /* Footer */
.col5 a { color: #FFD180; background-color: #C62828; }

.col6 { color: #FFFFFF; background-color: #7A1C1C; }   /* Copyright */
.col6 a { color: #FFD180; background-color: #7A1C1C; }

/* ----------------------------------------------Layout------------------------------------- */

#header,
#topbar,
#intro,
#breadcrumb,
#container,
#footer,
#copyright {
  display: block;
  position: relative;
  width: 960px;
  margin: 0 auto;
}

/* ----------------------------------------------Header------------------------------------- */

#header { padding: 20px 0; }

#header #logo {
  float: left;
  width: 630px;
}

#header #logo h1 { border: none; }

#header #logo h1 a {
  font-size: 36px;
  color: #FFFFFF;
}

#header #logo p {
  float: left;
  height: 25px;
  margin: 0 0 0 10px;
  padding: 15px 0 0 10px;
  border-left: 2px solid #F57C00;
}

#header #info {
  float: right;
  margin-top: 15px;
}

#header #info ul { margin: 0; padding: 0; list-style: none; }
#header #info li { display: inline; margin-left: 10px; }

/* Reduce spacing between logo lines */
#logo h1 {
    margin: 0;         /* remove top & bottom margin */
    padding: 0;
    font-size: 36px;   /* adjust size if needed */
    line-height: 1;  /* controls spacing between h1 and p */
}

#logo p {
    margin: 0;         /* remove default margins */
    padding: 0;
    line-height: 1;  /* reduce spacing under h1 */
    font-size: 14px;   /* optional: adjust font size */
}
/* ----------------------------------------------Topbar------------------------------------- */

#topbar { z-index: 1000; }

#topbar #search {
  float: right;
  width: 243px;
  margin-top: 10px;
}

/* ----------------------------------------------Intro------------------------------------- */

#intro { padding: 20px 0; }

#intro .fl_left {
  width: 400px;
  padding: 9px;
  border: 1px solid #F57C00;
}

#intro .fl_right {
  width: 510px;
}

#intro .fl_right h2 {
  border-bottom: 1px dotted #F57C00;
}

#intro .fl_right p {
  margin-bottom: 10px;
  line-height: 1.4em;
}

#intro .fl_right li a {
  padding: 6px 25px 8px 25px;
  font-size: 22px;
  color: #FFD180;
  background-color: #7A1C1C;
}

/* ----------------------------------------------Services------------------------------------- */

#services li div.imgholder {
    display: block;
    width: 300px;        /* width of the box */
    height: 300px;       /* height = width → square */
    margin: 0 0 15px 0;
    padding: 4px;
    color: #666666;
    background-color: #FFF3E0; /* optional background */
    border: 1px solid #F57C00;
    overflow: hidden;    /* hide overflow */
}
#services li div.imgholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fill square, crop if necessary */
    display: block;
}

.flickrbox ul {
    display: flex;           /* enable flex layout */
    flex-wrap: wrap;         /* wrap items to next row */
    gap: 30px;               /* space between images */
    padding: 0;
    list-style: none;
}

.flickrbox li {
    flex: 0 0 100px;          /* each image box width */
    height: 100px;            /* height = width → square */
    overflow: hidden;        /* hide overflow */
}

.flickrbox li img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* crop image to fill square */
    display: block;
}

/* Container on the right of logo */
#header-right {
  float: right;
  text-align: right;
  line-height: 1;
  width: 400px;        /* adjust as needed */
  margin-top: 0;       /* aligns with logo */
}

/* Contact info (#info) styling */
#header-right #info {
  margin-bottom: 5px; /* small gap below contact info */
}

#header-right #info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#header-right #info li {
  display: inline;
  margin-left: 10px;
  color: #FFD180;     /* orange text to match theme */
}

/* Container for the ticker */
.ticker-container {
  float: right;                /* positions it on right side of header */
  width: 400px;                /* adjust width as needed */
  overflow: hidden;
  white-space: nowrap;
  margin-top: 25px;            /* align vertically with logo */
  background-color: #C62828;   /* red background */
  padding: 5px 0;
  box-sizing: border-box;
  border-radius: 3px;
}

/* Running text inside ticker */
.ticker-container p {
  display: inline-block;
  padding-left: 100%;          /* start off screen to right */
  color: #FFD180;              /* orange text */
  font-weight: bold;
  animation: scroll-left 15s linear infinite;
  margin: 0;
}

/* Animation keyframes */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* Global H2 font */
h2, .h2 {
    font-family: "Arial Black", Arial, Helvetica, sans-serif; /* example font */
    font-size: 28px;      /* adjust size */
    font-weight: bold;     /* make it visible */
    color: #8E0000;        /* keep your Red theme color */
    line-height: 1.2em;
    margin-bottom: 15px;
}

#services h2 {
  color: #8E0000;
  border-bottom: 1px dotted #F57C00;
}

/* ----------------------------------------------Sidebar------------------------------------- */

#column .holder h2.title {
  color: #8E0000;
}

#column #featured a {
  color: #C62828;
}

/* ----------------------------------------------Footer------------------------------------- */

#footer {
  padding: 20px 0;
}

#footer h2 {
  font-size: 18px;
  border-bottom: 1px dotted #FFD180;
}

#footer address {
  font-style: normal;
  line-height: 1.5em;
}

/* ----------------------------------------------Copyright------------------------------------- */

#copyright {
  padding: 15px 0;
}

#copyright a:hover {
  text-decoration: underline;
}
