/*
Theme Name: PTP
Theme URI: http://www.ptp.com/
Description: The customized site for ptp.
Author: Hyperon Technology
Version: 1.0
Tags: PTP
Color: gray - #babab3
       yellow - #ffff00
*/

/* Reset Styles */
@import url("reset.css");
@import url("fonts/stylesheet.css");

a:focus {
  outline: 0px solid #ffffff;
}

/* =Layout
-------------------------------------------------------------- */
#container {
  margin: 0px 0px 0px 0px;
  /* width: 600px; */
  padding: 1rem;
}
#masthead {
}
#content {
}
#footer {
}

/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
#search,
#content,
.project-title,
.project-details {
  font-family: Arial, Helvetica, Verdana;
}
h1,
h2,
h3,
.accordionButton,
.accordion2Button,
#home-slideshow-text,
.menu-item,
.page-text-1,
.page-text-2,
.page-text-3 {
  font-family: "DINCondBlackRegular";
}

/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#main,
#wrapper {
  margin: 0 auto;
  width: 100%;
  clear: both;
}
#branding {
  width: 960px;
}

/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
html {
  margin-bottom: 1px;
  overflow-y: scroll;
}

body {
  background: #c8c8c8;
}
body,
input,
textarea {
  color: #000;
  font-size: 12pt;
  line-height: 16px;
}
hr {
  background-color: #ffffff;
  border: 0;
  clear: both;
  height: 1px;
  margin-bottom: 18px;
}

/* Text elements */
p {
  margin-bottom: 18px;
}
ul {
  list-style: square;
  margin: 0 0 18px 1.5em;
}
ol {
  list-style: decimal;
  margin: 0 0 18px 1.5em;
}
ol ol {
  list-style: upper-alpha;
}
ol ol ol {
  list-style: lower-roman;
}
ol ol ol ol {
  list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
  margin-bottom: 0;
}
dl {
  margin: 0 0 24px 0;
}
dt {
  font-weight: bold;
}
dd {
  margin-bottom: 18px;
}
strong {
  font-weight: bold;
}
cite,
em,
i {
  font-style: italic;
}
big {
  font-size: 131.25%;
}
ins {
  background: #ffc;
  text-decoration: none;
}
blockquote {
  font-style: italic;
  padding: 0 3em;
}
blockquote cite,
blockquote em,
blockquote i {
  font-style: normal;
}
pre {
  background: #f7f7f7;
  color: #222;
  line-height: 18px;
  margin-bottom: 18px;
  padding: 1.5em;
}
sup,
sub {
  height: 0;
  line-height: 1;
  position: relative;
  vertical-align: baseline;
}
sup {
  bottom: 1ex;
}
sub {
  top: 0.5ex;
}
input[type="text"],
input[type="password"],
textarea {
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 2px;
}
a {
  text-decoration: none;
}
a:link {
  color: #000000;
}
a:visited {
  color: #000000;
}
a:active,
a:hover {
  color: #7f90ba;
}

/* Text meant only for screen readers */
.screen-reader-text {
  position: absolute;
  left: -9000px;
}

/* =Header
-------------------------------------------------------------- */

#header {
  z-index: 10;
}
#branding {
  position: fixed;
  z-index: -1;
}
#branding img {
  border: none;
  display: block;
  float: left;
}
#logo {
  float: right;
  margin: 198px 28px 0px 0px;
}
#logo img {
  width: 18px;
  height: 168px;
}
#search {
  padding: 10px 0px 10px 310px;
  padding-left: 310px;
  font-size: 10px;
  text-align: left;
}
/* =Menu
-------------------------------------------------------------- */

#access {
}
.yellow-bar {
  position: absolute;
}

/* =Content
-------------------------------------------------------------- */

#main {
  clear: both;
  overflow: hidden;
}
#content {
  margin-top: 10px;
  margin-bottom: 36px;
}
#content,
#content input,
#content textarea {
  font-size: 11px;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
  margin-bottom: 20px;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
  margin-bottom: 0;
}
#content pre,
#content kbd,
#content tt,
#content var {
  font-size: 12px;
  line-height: 20px;
}
#content dt,
#content th {
  color: #000;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
  line-height: 23px;
  font-size: 11pt;
  color: #000;
  margin: 0 0 0 0;
}

#main-accordion {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#main-accordion .accordionButton {
  /* padding: 5px 0px 0px 310px; */
  font-size: 20px;
  line-height: 26px;
  text-transform: uppercase;
  text-align: left;
  vertical-align: bottom;
  cursor: pointer;
}
.on {
  background-image: url(images/yellow_bar.png);
  background-repeat: no-repeat;
  background-position: 310px 2px;
}
.accordion2Button {
  padding: 5px 0px 5px 0px;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border-top: 1px solid #ffff00;
}
.on2,
.over2 {
  color: #ffff00;
}

#home-slideshow {
  width: 100% !important;
  height: 500px !important;
}
#home-slideshow img {
  width: 100% !important;
  height: 500px !important;
  object-fit: cover !important;
}

#home-slideshow-window {
  width: 600px;
  height: 500px;
  overflow: hidden;
  margin: 0 auto;
}
#home-slideshow-text {
  float: left;
  position: relative;
  color: #ffffff;
  z-index: 8;
  margin-top: -449px;
  margin-left: 605px;
  font-size: 43pt;
  line-height: 52px;
  letter-spacing: -0.3pt;
}

.menu-header {
  list-style-type: none;
  margin: 0;
  padding: 0px 0px 10px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-item {
  float: left;
  font-size: 16pt;
}
.menu-item a {
  color: #ffffff;
}
.menu-item a:hover,
.menu-item a.current {
  color: #000;
}
.menu-on {
  background-image: url(images/yellow_bar.png);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

.page-header {
  margin-top: 10px;
}
.page-content {
  font-size: 14px;
  margin: 26px auto 26px auto;
  text-align: center;
  max-width: 960px;
  line-height: 1.5rem;
}
.page-text-1 {
  font-size: 17pt;
  color: #000000;
  line-height: 22px;
}
.page-text-1 a {
  color: #ffff00;
}
.page-text-2 {
  font-size: 29pt;
  color: #ffff00;
  line-height: 35px;
}
.page-text-3 {
  font-size: 53pt;
  color: #ffff00;
  line-height: 60px;
}

.page-footer,
.page-footer-project {
  border-top: 1px solid #ffff00;
  text-align: left;
  border-bottom: 1px solid #ffff00;
  margin-top: 0px;
  font-size: 9px;
  text-align: center;
}

#about-menu li {
  padding-right: 85px;
}
#about-menu li.last {
  padding-right: 0px;
}

#project-menu li {
  padding-right: 18px;
}
#project-menu li.last {
  padding-right: 0px;
}

.project-title {
  font-size: 9pt;
  font-weight: bold;
}
.project-details {
  font-size: 9pt;
}
.project-photos {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.project-photos-view {
  position: relative;
  height: 370px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-photos-view img {
  position: absolute;
  z-index: 1;
}
.project-photos-view img.active {
  z-index: 3;
}
.project-photos-view.no-photo {
  height: 0px;
}

.project-photos-thumbnails {
  width: 595px;
  margin-top: 5px;
  overflow: hidden;
}
.project-photos-thumbnail {
  float: left;
  margin-right: 5px;
}
.project-photos-thumbnail.last {
  margin-right: 0px;
}

.partner {
  padding: 20px 0px 0px 0px;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo {
  float: left;
  width: 27%;
  padding-right: 20px;
  text-align: right;
}
.partner-desc {
  float: left;
  width: 50%;
  font-size: 14px;
}

/* =Footer
-------------------------------------------------------------- */

#footer {
}

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
  -webkit-text-size-adjust: 100%;
}
code {
  -webkit-text-size-adjust: 100%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
  -webkit-text-size-adjust: 100%;
}
#site-description {
  -webkit-text-size-adjust: none;
}

/* =Print Style
-------------------------------------------------------------- */

@media print {
  body {
    background: none !important;
  }
  #wrapper {
    clear: both !important;
    display: block !important;
    float: none !important;
    position: relative !important;
  }
  #header {
    border-bottom: 2pt solid #000;
    padding-bottom: 18pt;
  }
  #access,
  #branding img {
    display: none !important;
  }
  #container,
  #header,
  #footer {
    margin: 0;
    width: 100%;
  }
  #content,
  .one-column #content {
    margin: 24pt 0 0;
    width: 100%;
  }
  .wp-caption p {
    font-size: 11pt;
  }
  #site-info,
  #site-generator {
    float: none;
    width: auto;
  }
  #colophon {
    width: auto;
  }
  img#wpstats {
    display: none;
  }
  #site-generator a {
    margin: 0;
    padding: 0;
  }
  #entry-author-info {
    border: 1px solid #e7e7e7;
  }
  #main {
    display: inline;
  }
  .home .sticky {
    border: none;
  }
}

/* =PTP Elment
-------------------------------------------------------------- */

.error {
  font-size: 8pt;
}
.clearfloat {
  clear: both;
}

.accordionContent-child {
  overflow-wrap: break-word;
  width: 100%;
}

.services-img {
  width: 100%;
  max-width: 596px;
  height: auto;
  object-fit: contain;
}

.accordion2Content {
  text-align: center;
}

.img-elr {
  width: 60px !important;
}

@media screen and (max-width: 992px) {
  #main-accordion .accordionButton {
    margin: 1rem 0;
  }
  .page-text-1 {
    font-size: 2rem;
    line-height: 3rem;
  }
  .page-content {
    font-size: 2rem;
    line-height: 3rem;
  }
  .menu-item {
    font-size: 2rem;
    line-height: 3rem;
  }
  .accordion2Button {
    font-size: 2rem;
    line-height: 3rem;
  }
  .accordion2Content .project-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .page-footer {
    font-size: 1.5rem;
    line-height: 3rem;
  }

  .accordion2Content .project-details {
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
  }
  .accordionButton-title {
    font-size: 4rem !important;
    margin: 2rem 0 !important;
  }
  .partner {
    margin: 1rem 0;
  }

  .partner .partner-desc {
    font-size: 2rem;
    line-height: 3rem;
    width: 70%;
  }
  .partner .partner-logo {
    width: 20%;
    margin-right: 1rem;
  }
  .partner-logo img {
    width: 150px !important;
    height: auto;
  }
  .logo-wrapper img {
    height: 340px !important;
    width: auto;
  }
}

.logo-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-wrapper img {
  height: 150px;
  width: auto;
}

.accordionButton-title {
  margin: 0.25rem 0;
}

#main-accordion-home {
  width: 100% !important;
  height: 100%;
  max-width: 1000px;
}

.partner-logo img {
  width: 80px;
  height: auto;
  mix-blend-mode: darken;
  max-width: 150px;
}
