@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Montserrat&display=swap");

/* CSS Document */

* {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 100;
  color: #222;
  list-style: none;
  text-decoration: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
main {
  display: block;
}

noscript div {
  position: fixed;
  top: 1rem;
  left: 10%;
  padding: 1%;
  width: 78%;
  font-size: 2rem;
  text-align: center;
  color: #fff;
  background-color: #f00;
  border-radius: 1rem;
  z-index: 100;
}

html {
  font-size: 62.5%;
  height: 100%;
}

img {
  max-width: 100%;
}

body {
  height: 100%;
  background-color: #fefefe;
}

a:active {
  border: none;
}

strong {
  font-weight: bold;
}

header {
  height: 10rem;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(74, 182, 242, 0.99);
  box-shadow: #777 0 0 1rem 0;
  z-index: 20;
}

header form {
  float: right;
}

.contain {
  padding: 1rem;
  max-width: 90%;
  height: 8rem;
  margin: 0 auto;
  position: relative;
}

p.main__logo {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2000;
  display: block;
  padding: 0;
  margin: 0;
  font-size: 0;
  height: 8rem;
  left: 2rem;
}

p.main__logo a {
  display: inline-block;
  height: inherit;
  font-size: 3rem;
  font-family: Montserrat;
  font-weight: 400;
  color: #fff;
  line-height: 8rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 3.6rem;
  padding: 0 0 2rem 2rem;
}

h2 {
  font-size: 3rem;
  padding: 0 0 2rem 2rem;
}

h3 {
  font-size: 2.4rem;
  padding: 0 0 2rem 0;
}

h4 {
  font-size: 2rem;
  padding: 0 0 2rem 0;
}

h5 {
  font-size: 1.8rem;
  padding: 0 0 2rem 0;
}

p {
  font-size: 1.6rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
}

.smallfont {
  font-size: 1rem;
  padding-left: 1rem;
  color: #e31d1a;
}

#container {
  width: calc(100% - 20rem);
  padding: 10rem 5rem 15rem 10rem;
  position: relative;
}

body#login-page #container {
  width: 100%;
  height: calc(100% - 16rem);
  padding: 10rem 0rem 1rem 0rem;
  position: relative;
}

body#images #container {
  width: 100%;
  height: calc(100% - 16rem);
  padding: 10rem 0rem 0rem 0rem;
  position: relative;
}

body#images iframe {
  width: 100%;
  padding: 0;
  border: none;
  height: 100% !important;
}

footer {
  width: 100%;
  height: 5rem;
  background-color: rgba(38, 50, 56, 0.99);
  color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 20;
}

.copyright {
  float: right;
  font-size: 1.6rem;
  color: #fff;
}

#login {
  width: 50rem;
  height: 20rem;
  margin: 15rem auto 0 auto;
  border: 3rem solid #fff;
  border-radius: 3rem;
  background: #e8e8e8;
  box-shadow: #ccc 0.1rem 0.5rem 0.5rem 0.1rem;
  padding: 5%;
}

#login h2 {
  font-size: 3rem;
}

#login form {
  padding: 1rem 0;
}

#login label {
  font-size: 1.6rem;
  display: inline-block;
  width: 20%;
  padding: 0 2% 0 0;
  text-align: right;
  min-width: 10rem;
  margin: 0 0 1rem !important;
}

#login label.valid {
  display: none;
  margin: 0 !important;
  padding: 0 !important;
}

#login label.error {
  font-size: 2rem;
  display: inline-block;
  width: 30%;
  padding: 0 0 0 1%;
  text-align: left;
  color: #e31d1a;
}

#login input {
  font-size: 1.6rem;
  padding: 0.5rem;
  display: inline-block;
  width: 30%;
  margin: 0 0 1rem;
}

main aside {
  display: inline-block;
  margin: 3rem 0 0 0;
  padding: 1rem 1rem 0 0;
  width: 30rem;
  vertical-align: top;
  position: fixed;
}

section.main {
  display: inline-block;
  margin: 3rem -0.5rem 0 30rem;
  padding: 1rem 0 0 1rem;
  width: calc(80% - 1rem);
  vertical-align: top;
  border-left: 0.1rem solid #ccc;
}

section.main article {
  padding: 0 0 2rem 3rem;
  border-bottom: 0.1rem solid #ccc;
  margin: 0 0 2rem 0;
}

section.main article form {
  display: inline-block;
}

section.main article h2 {
  padding: 0 0 2rem 0;
}

form {
  padding: 2rem;
  margin: 0 0 2rem 0;
}

form.small {
  padding: 0;
  margin: 0 0 1rem 0;
}

form label {
  display: inline-block;
  width: 20%;
  max-width: 30rem;
  padding: 0 1rem 0 0;
  text-align: right;
  font-size: 1.6rem;
  margin: 0 0 2rem 0;
  vertical-align: top;
}

form input {
  display: inline-block;
  width: 70%;
  max-width: 50rem;
  padding: 0.5rem;
  font-size: 1.6rem;
  border: 0.1rem solid #ccc;
  margin: 0 0 2rem 0;
  vertical-align: top;
  height: auto !important;
}

form input[type="radio"] {
  width: auto;
  transform: scale(2);
}

form select {
  display: inline-block;
  width: auto;
  max-width: 50rem;
  padding: 0.5rem;
  font-size: 1.6rem;
  border: none;
  margin: 0 0 2rem 0;
  vertical-align: top;
}

form select#related_id {
  border: 1px solid #ccc;
  height: 15rem;
}

form select#related_id option {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
}

form textarea {
  display: inline-block;
  width: 70%;
  max-width: 50rem;
  padding: 0.5rem;
  font-size: 1.6rem;
  border: 0.1rem solid #ccc;
  margin: 0 0 2rem 0;
  height: 20rem;
  vertical-align: top;
}

div.cke {
  max-width: 70%;
  display: inline-block;
}

form input.button,
#login input.button {
  font-size: 1.6rem;
  line-height: 1.6rem;
  padding: 1rem 1rem 0.5rem 1rem;
  cursor: pointer;
  width: auto;
  margin: 0 1rem;
  -webkit-appearance: none;
  appearance: none;
  transition: color 500ms ease-in-out;
  border-radius: 0.5rem;
}

form input.button:hover,
#login input.button:hover,
.selected {
  appearance: none;
  color: #e31d1a;
}

ol.related {
  padding: 0 0 0 22%;
}

ol.related > li {
  list-style: decimal outside;
  font-size: 1.6rem;
}

ol.related > li select {
  padding: 0.5rem;
  border: 1px solid #ccc;
}

ol.related > li select option {
  padding: 0.5rem;
}

ol.related > li select option:nth-child(1) {
  font-weight: bold;
}

ol.related > li select option:nth-child(odd) {
  background-color: #f5f5f5;
}

ul.cms-nav li {
  padding: 0 0 1rem 0;
}

ul.cms-nav li a {
  font-size: 1.6rem;
}

ul.cms-nav li form {
  padding: 0;
  margin: 0;
}

ul.cms-nav li form input[type="submit"] {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  width: auto;
  margin: 0;
}

ul.cms-nav li form input[type="submit"]:hover {
  color: #e31d1a;
}

ul.list {
  padding: 2rem 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

ul.list > li {
  font-size: 1.6rem;
  border: 1px solid #eee;
  padding: 0.5rem;
  display: grid;
  gap: 1rem;
  grid-template-rows: min-content min-content min-content;
}

ul.list > li .holder {
  position: relative;
  margin-bottom: 1rem;
}

ul.list > li .holder h2 {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: calc(100% - 1rem);
  background: url(../img/black-bg.png) repeat;
  color: #fff;
  text-overflow: ellipsis;
  height: 1.6rem;
  font-size: 1.6rem;
  padding: 0.5rem;
  z-index: 2;
  white-space: nowrap;
}

ul.list > li .holder img {
  width: 100%;
  z-index: 1;
}

ul.list > li .holder .news-intro p {
  width: 100%;
  height: 1.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.4rem;
  white-space: nowrap;
  padding: 0;
  line-height: 100%;
}

ul.list > li .bottom-forms {
  align-self: end;
  height: 33px;
}

ul#text.list > li {
  width: 97%;
}

ul#services.list > li {
  width: 30%;
}

ul#text.list > li .text-holder h1 {
  font-size: 3rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
}

ul#text.list > li .text-holder h2 {
  font-size: 2.4rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
  position: relative;
  overflow: visible;
  width: auto;
  background: none;
  color: inherit;
  text-overflow: inherit;
  height: auto;
  z-index: inherit;
  white-space: normal;
}

ul#text.list > li .text-holder h3 {
  font-size: 2rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
}

ul#text.list > li .text-holder h4 {
  font-size: 1.8rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
}

ul#text.list > li .text-holder ul,
ul#text.list > li .text-holder ol {
  padding: 0 0 2rem 0;
  margin: 0 0 0 2rem;
}

ul#text.list > li .text-holder ul > li {
  font-size: 1.8rem;
  line-height: 150%;
  padding: 0 0 2rem 1rem;
  list-style: disc outside;
}

ul#text.list > li .text-holder ol > li {
  font-size: 1.8rem;
  line-height: 150%;
  padding: 0 0 1rem 1.5rem;
  list-style: decimal outside;
}
form.delete {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
}

ul#media.list > li {
  width: 23%;
}

ul#media.list > li .holder img {
  inline-size: 100%;
  aspect-ratio: 16 /10;
  object-fit: cover;
}

ul#media.list > li .published {
  opacity: 0.6;
}

ul#media.list > li .holder h1 {
  font-size: 3rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
}

ul#media.list > li .holder h2 {
  font-size: 2.4rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
  position: relative;
  overflow: visible;
  width: auto;
  background: none;
  color: inherit;
  text-overflow: inherit;
  height: auto;
  z-index: inherit;
  white-space: normal;
}

ul#media.list > li .holder h3 {
  font-size: 2rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
}

ul#media.list > li .holder h4 {
  font-size: 1.8rem;
  line-height: 150%;
  padding: 0 0 1rem 0;
}

ul#media.list > li .holder ul,
ul#text.list > li .text-holder ol {
  padding: 0 0 2rem 0;
  margin: 0 0 0 2rem;
}

ul#media.list > li .holder ul > li {
  font-size: 1.8rem;
  line-height: 150%;
  padding: 0 0 2rem 1rem;
  list-style: disc outside;
}

ul#media.list > li .holder ol > li {
  font-size: 1.8rem;
  line-height: 150%;
  padding: 0 0 1rem 1.5rem;
  list-style: decimal outside;
}
form.delete {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
}

.delete-button {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 1.5rem;
  line-height: 3rem;
  text-align: center;
  font-size: 2rem;
  opacity: 0.25;
  background: #ccc;
  border: 0.1rem solid #000;
  cursor: pointer;
  transition: opacity 500ms ease-in-out;
  -webkit-appearance: none;
  appearance: none;
}

.delete-button:hover {
  opacity: 1;
}

.news-img {
  display: inline-block;
}

.checkbox-group {
  display: inline-grid;
  width: 30%;
  padding: 0.5rem;
  font-size: 1.6rem;
  vertical-align: top;
  grid-template-columns: 30px 1fr;
  gap: 1rem;
}

input[type="checkbox"] {
  width: auto;
  margin: 0 1rem 1rem 0;
  -webkit-transform: scale(2);
  transform: scale(2);
}

.projects-title,
.expertise-title {
  width: 100%;
  height: calc(100% - 0.5rem);
  background: url(../img/black-bg.png) repeat;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.projects-title .name,
.expertise-title .name {
  padding: 7rem 0 0 3rem;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.projects-title .location {
  padding: 0 0 0 3rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 100;
  display: block;
}

img.projects-thumb {
  height: 16.9rem;
  aspect-ratio: 16 /10;
  object-fit: cover;
  object-position: center;
}

img.expertise-thumb {
  width: 25rem;
  height: 15.1rem;
}

.template-group {
  display: inline-block;
  width: 70%;
}

label.template-label {
  border: 0.1rem solid #ccc;
  padding: 0.5rem;
  margin: 0 0.5rem 0.5rem 0;
  display: inline-block;
  width: 10rem;
  cursor: pointer;
}

img.template-thumb {
  width: 100%;
  border: 0.1rem solid #ccc;
}

label.template-label input[type="radio"] {
  width: auto;
  margin: 0 auto;
  text-align: center;
}

.hide_template {
  display: none;
}

img.template {
  width: 100%;
  height: 100% !important;
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
}

.planning_counter {
  border: 0.1rem solid #ccc;
  font-size: 3rem;
  margin: 1.5rem 0 0 0;
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 0.5rem;
  padding: 0.2rem;
}

/* administrators page */

ul.admins {
  width: 100%;
}

ul.admins li {
  display: inline-block;
  padding: 0 2rem 0 0;
  font-size: 2rem;
  margin: 0 0 1rem 0;
  width: calc(20% - 2rem);
}

ul.admins li.username {
  min-width: 15rem;
}

ul.admins li.password {
  min-width: 15rem;
}

input.no-style {
  border: none;
  padding: 0;
  font-size: 2rem;
}

hr {
  border: 0.1rem solid #ccc;
  margin: 0 0 2rem 0;
}

/* payments page */

table#payments tr:nth-child(2n + 2),
table#archived-payments > tr:nth-child(2n + 2) {
  background-color: #f2f2f2;
}

table#payments tr td {
  padding: 5px;
  vertical-align: top;
  position: relative;
}

table#payments tr td strong {
  font-size: 1.6rem;
}

td.job-number {
  width: 75px;
}

td.client-name {
  width: 150px;
}

td.job-description {
  width: 250px;
}

td.amount-due {
  width: 125px;
}

/* instructions */

ol.instructions {
  padding: 0;
  margin: 0;
}

ol.instructions li {
  list-style: inside decimal;
  font-size: 1.4rem;
  padding: 0 0 1rem 0;
  line-height: 150%;
}

.error {
  color: #e31d1a;
  text-align: left;
  padding: 0 0 0 1rem;
}

/* email template */

form.email {
  margin: 0 0 2rem 8rem;
}

form.email img {
  padding-bottom: 2rem;
}

form.email a {
  color: blue;
  text-decoration: underline;
}

/* news categories */

table.categories form {
  padding: 0;
  width: 100%;
  margin: 0 0 0 0;
}

table.categories form input {
  display: inline;
  margin: 0 1rem 0 0;
}

table.categories tr td:nth-child(1) {
  width: 450px;
  padding: 0;
  position: relative;
  border-bottom: 10px solid #fff;
}

table.categories tr td:nth-child(2) {
  width: 30px;
  padding: 0;
  position: relative;
  border-bottom: 10px solid #fff;
}

table.categories tr td input.cat-name {
  width: 200px;
  float: left;
}

table.categories tr td form.delete {
  top: 0;
}

ul.categories li {
  display: inline-block;
  width: 200px;
}

ul.categories li label {
  width: auto;
}

/* contact us */

ul#contact.list li {
  display: block;
  width: 70%;
}

/* sections */

div.info-section img.info-image {
  width: 45%;
  float: left;
  margin: 0 20px 20px 0;
}

div.info-section h1 {
  font-size: 24px;
  padding-bottom: 20px;
  float: none;
  display: inline;
}

div.info-section h1:after {
  content: "\a\a";
  white-space: pre;
}

div.info-section h2 {
  font-size: 20px;
  padding-bottom: 20px;
  display: inline;
}

div.parallax-section img.parallax {
  width: 45%;
  float: left;
  margin: 0 20px 20px 0;
}

div.clear {
  clear: both;
}

/* multiple forms */

article.sections > div.form__buttons {
  display: flex;
  gap: 1rem;
  margin: 0 0 2rem 0;
}

article.sections > div.form__buttons > form {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}

/* traffic drivers */

.driver {
  display: grid;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2rem;
  align-items: center;
  background-size: cover;
  max-width: 50rem;
  background-color: #eee !important;
}

.driver * {
  color: inherit;
  text-align: center;
}

button.button {
  margin-left: 10rem;
}

ul.list > li.no-drivers {
  margin-left: 10rem;
}

.twitter-timeline-rendered {
  width: 100% !important;
}

div.email-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 200px));
}

div.email-holder {
  display: grid;
  row-gap: 5px;
  grid-auto-flow: row;
}

div.email-holder h4 {
  font-size: 10px;
  font-weight: bold;
  padding: 0 0 0.5rem 0;
}

div.email-holder > div * {
  font-size: 6px;
  padding: 0 0 0.5rem 0;
}

img.lifestyle-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: 0 0;
}

.internal_link_holder {
  display: none;
}

.external_link_holder {
  display: none;
}
#internal:checked ~ .internal_link_holder {
  display: block;
}
#external:checked ~ .external_link_holder {
  display: block;
}
