/* Oropeza & Parks - Main Stylesheet */

/* Google Fonts imported via link tag */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* =====================
   LAYOUT
   ===================== */

body {
  margin: 0;
  padding: 0;
  background: #316f8f url(../img/op_bg1.gif) repeat-x top center;
  font-family: 'Open Sans', Calibri, sans-serif;
}

#wrapper {
  width: 902px;
  margin: 0 auto;
  -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.75);
}

/* =====================
   HEADER
   ===================== */

header {
  position: relative;
  display: block;
  width: 900px;
  height: 182px;
  border-left: 1px solid #142c1d;
  border-right: 1px solid #142c1d;
}

header h1 {
  position: absolute;
  top: 0;
  left: 20px;
  display: block;
  margin: 0;
  padding: 0;
  width: 250px;
  height: 182px;
  background: url(../img/op_logo_new.png) no-repeat top left;
  text-indent: -9999px;
}

header h1 a {
  display: block;
  width: 250px;
  height: 182px;
}

header address {
  position: absolute;
  top: 30px;
  right: 40px;
  opacity: .9;
}

header address ul {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.25em;
  font-style: normal;
  text-align: right;
  color: #fed57d;
}

header ul,
header ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

header>nav {
  position: absolute;
  top: 125px;
  right: 40px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
}

header>nav>ul>li {
  display: inline-block;
  margin: 0 0 0 2em;
  position: relative;
}

header>nav>ul>li>a {
  color: #fff;
}

header nav ul li a:link,
header nav ul li a:visited,
header nav ul li a:active {
  text-decoration: none;
}

header nav ul li a:hover {
  text-decoration: underline;
}

/* Dropdown nav */
header nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin-top: 0;
  background-color: #fff;
  z-index: 100;
  -webkit-box-shadow: 0px 0 5px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0 5px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0 5px rgba(0, 0, 0, 0.15);
}

header nav li:hover ul {
  display: block;
}

header nav li ul li {
  display: block;
  padding: 0;
  width: 100%;
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  text-align: left;
}

header nav li ul li a {
  display: block;
  padding: 5px 10px;
  height: auto;
  border-top: 1px solid #c2cfd8;
  color: #000;
}

header nav li ul li:first-child a {
  border-top: none;
}

header nav li ul li a:hover {
  text-decoration: none !important;
  background-color: #c2cfd8;
}

/* =====================
   SLIDESHOW
   ===================== */

#slideshow,
#content,
footer {
  background-color: #fff;
  border-left: 1px solid #666633;
  border-right: 1px solid #666633;
}

#slideshow {
  width: 900px;
  height: 270px;
  overflow: hidden;
  position: relative;
}

#slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 900px;
  height: 270px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#slideshow .slide.active {
  opacity: 1;
}

#slideshow .slide img {
  display: block;
  width: 900px;
  height: 270px;
  object-fit: cover;
}

/* =====================
   CONTENT
   ===================== */

#content {
  padding: 30px 50px;
  font-size: 1em;
  line-height: 1.5em;
  color: #000;
}

#content h1 {
  margin: 0 0 1em 0;
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  color: #002a45;
}

#content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
}

#content hr {
  margin: 30px 0;
}

.staff-header h2,
.staff-header p {
  margin: 0;
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
}

.back-to-top {
  text-align: center;
  font-size: 13px;
}

/* Services list */
.services-list {
  display: table;
  margin: 0 auto;
}

/* Contact page */
.contact-info {
  text-align: center;
  font-size: 125%;
  line-height: 1.5em;
}

.contact-info a {
  color: #002a45;
}

.map-container {
  text-align: center;
  margin: 20px 0;
}

.map-container iframe {
  border: 0;
}

/* =====================
   FOOTER
   ===================== */

footer {
  position: relative;
  padding: 0 30px 20px 30px;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
  color: #306e8d;
}

footer a {
  color: #142e3b;
  text-decoration: none;
}

footer nav {
  width: 550px;
  margin: 0 auto;
  padding: 20px 0 0 0;
  border-top: 1px solid #c7c7c7;
}

footer ul,
footer ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer nav ul li {
  display: inline;
  font-size: 12px;
  font-weight: bold;
}

footer nav ul li a {
  margin: 0 2em;
}

footer #footer-info {
  width: 450px;
  margin: 20px auto 0 auto;
  font-size: 14px;
  font-style: normal;
  line-height: 1.25em;
  text-align: left;
}

footer #footer-info ul {
  width: 225px;
  display: inline-block;
}

footer #footer-info ul li.retired {
  margin: 0 0 1em 0;
}

footer #credit {
  margin: 20px 0 0 0;
  font-size: 13px;
  line-height: 1.5em;
}

footer #footer-logo {
  position: absolute;
  bottom: 75px;
  left: 40px;
}

footer #footer-associations {
  position: absolute;
  bottom: 75px;
  right: 40px;
  width: 175px;
  height: 115px;
}

footer #footer-associations li {
  text-indent: -9999px;
}

footer #footer-associations li#gfoa {
  position: absolute;
  top: 0;
  left: 0;
}

footer #footer-associations li#gfoa a {
  display: block;
  width: 50px;
  height: 57px;
  background: url(../img/gfoa.png) no-repeat top left;
}

footer #footer-associations li#aicpa {
  position: absolute;
  top: 5px;
  right: 0;
}

footer #footer-associations li#aicpa a {
  display: block;
  width: 110px;
  height: 45px;
  background: url(../img/aicpa.png) no-repeat top left;
}

footer #footer-associations li#ficpa {
  position: absolute;
  top: 70px;
  left: 20px;
}

footer #footer-associations li#ficpa a {
  display: block;
  width: 150px;
  height: 45px;
  background: url(../img/ficpa.png) no-repeat top left;
}

/* =====================
   HELPERS
   ===================== */

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
