/*
 Theme Name:   Catch Responsive - AWT
 Theme URI:    https://www.successexcellence.com.au
 Description:  Catch Responsive - AWT Child Theme implementing the custom functionality
 Author:       Phillip Thomas - Success Excellence Pty Ltd
 Author URI:   https://www.successexcellence.com.au
 Template:     catch-responsive
 Version:      2.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  catch-responsive-awt
 
 Custom AWT Reporting Portal web site and app designed and developed for, and licenced to:
 Absolute Water Testing Australia Pty Ltd (AWT)
 https://absolute-water.com.au/
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/*
 *    Global
 */

body {
  font-family: "Jost", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
}

/*
 *  Input Forms - general formatting
 */

.awt-col-6 {
  float: left;
  width: 50%;
}
.awt-col-12 {
  float: left;
  width: 100%;
}
.awt-col-footnote p {
  font-size: smaller;
  font-style: italic;
}
.awt-row-m-0 p {
  margin-bottom: 0;
}
/* Clear floats after the columns */
.awt-row:after {
  content: "";
  display: table;
  clear: both;
}

input[type="date"],
input[type="datetime-local"],
input[type="number"],
select {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  padding: 5px 10px;
}

textarea {
  padding: 5px 10px;
}

input[type="submit"] {
  background-color: #ccd9ff;
  padding: 10px 20px;
}

/*
 * Try and make all buttons consistent styling and behaviour
 */
.awt-button a {
  line-height: 1 !important;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 5px;
}
input[type="submit"].um-button,
input[type="button"].um-button,
a.um-button.um-alt,
.awt-button a {
  background: #ccd9ff !important;
  color: inherit !important;
  font-size: 16px !important;
  min-width: auto !important;
  width: fit-content !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 10px 20px !important;
}

input[type="submit"].um-button:hover,
input[type="button"].um-button:hover,
a.um-button:hover,
.awt-button a:hover,
input[type="submit"].um-button:focus,
input[type="button"].um-button:focus,
a.um-button:focus,
.awt-button a:hover {
  background: #3568ff !important;
  color: white !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 10px 20px !important;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: #3568ff;
  /*	border-color: #1b8be0;
	box-shadow: none;*/
  color: #fff;
}

.awt-checkbox-single-line span.wpcf7-list-item {
  display: block;
}

.awt-form-list > li > p {
  margin-bottom: 0 !important;
}

input#inputpicker-1 {
  width: 100%;
}

/*
 *  Home Page
 */
body.home h1 {
  display: none;
}
body.home h2 {
  margin-top: 10px;
}

.awt-home-page-button {
  width: 180px;
  height: 150px;
}
.awt-home-page-button a {
  padding: 5px;
  width: 100%;
  height: 100%;
  background-color: #ccd9ff;
  color: #4d4d4d;
}
.awt-home-page-button a:hover {
  background-color: #3568ff;
  color: white;
}
.awt-home-page-button span {
  font-size: 400%;
}

@media screen and (max-width: 990px) {
  #site-logo img {
    margin-bottom: 10px;
  }
}
/*
 *  Formatting for elements of derivatives of WP_List_Table
 */

#search-submit {
  float: right;
  margin: 0;
}
p.search-box {
  float: right;
}
#search-box-id-search-input {
  margin-right: 4px;
}

.tablenav .tablenav-pages {
  clear: right;
}

div.alignleft.actions {
  width: 100%;
}
/*
 * Site info fields on multiple report forms
 */
.site-info {
  border: none;
  margin-top: -6px;
  margin-bottom: 1em;
}
.site-info td {
  border: none;
  padding: 0 0.5em 0 0;
}
.site-info td:nth-child(1) {
  width: 1%;
  white-space: nowrap;
}

/*
 * Microbiology Certificate of Analysis
 */
#pdf-image {
  position: relative;
}
#pdf-image-highlight {
  position: absolute;
  width: 100%;
  left: 0px;
  height: 20px;
  background-color: yellow;
  opacity: 0.2;
  filter: alpha(opacity=20);
  display: none;
}
#pdf-image-loader {
  position: absolute;
  width: 30%;
  left: 35%;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  display: none;
}

/*
 * Resposive grid used on front end view pages
 */
/* container */
.responsive-two-column-grid {
  display: block;
}

/* tablet breakpoint */
@media (min-width: 768px) {
  .responsive-two-column-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-gap: 2px 0.75em;
  }
}

.current-date_interval {
  display: block;
  font-size: small;
  font-style: italic;
  color: gray;
  line-height: 1;
}

/* Download Document Archive page */
.archive-table td {
  text-align: center;
}
td.archive-year {
  font-weight: bold;
}
td.archive-none {
  color: lightgray;
}

/* Header area */
#masthead {
  padding: 0;
}

h1.entry-title {
  margin: 0;
}

/* Full width pages */
body.page-members main {
  width: 100%;
}

/* Document Due Workload */
.awt-docdue-red {
  border-left: solid 10px #d00000;
}
.awt-docdue-orange {
  border-left: solid 10px #d06000;
}
.awt-docdue-yellow {
  border-left: solid 10px #f0f000;
}
.awt-docdue-green {
  border-left: solid 10px #00d000;
}
.awt-docdue-days {
  font-size: small;
  font-style: italic;
  color: gray;
  line-height: 1;
}

/*
#masthead .search-field {
  margin-bottom: 12px;
}
.site-title {
  font-family: "Nunito", sans-serif !important;
}
.site-title a {
  color: #4c6172;
}
.site-title a:hover {
  color: #4c6172;
}
.custom-logo {
  padding-top: 8px;
}
 */
/* Register / Log In / Log Out Area */
/* .widget_login {
  text-align: right;
  padding-top: 0px;
}
.btn,
.btn:visited {
  display: inline-block;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  font-weight: 300;
  padding: 7px 13px;
  border: none;
  outline: none;
  background-color: #4c6172;
}
.btn-acf {
  margin-left: 12px;
  margin-bottom: 8px;
  margin-top: 8px;
  font-size: 80%;
}
.btn-login {
  margin-left: 8px;
  font-size: 80%;
}
.btn-logout {
  margin-left: 8px;
  font-size: 80%;
}
.btn:hover,
.btn:focus {
  background-color: #5f798e;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
}
 */
/* Main Menu */
.nav-primary {
  background-color: #3568ff;
}
/*
.catchresponsive-nav-menu a {
  padding: 0 10px;
}

.menu-image-title-after.menu-image-not-hovered img {
  padding-right: 0;
}

 */ /* Theme's promotion message area */
/* #promotion-message {
  border-bottom: 1px solid #ff6600;
}

#promotion-message .left {
  margin-bottom: 5px;
}

#promotion-message .right .promotion-button {
  background-color: #fde0ce;
  border: 2px solid #ff6600;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  color: #ff6600;
  margin-top: 0px;
  padding: 10px 25px;
}

 */ /* Home page */
/* body.page-id-2 .site-content {
  display: none;
}
 */

/* Lists that follow paragraphs can be move up a little */
/* p + ul {
  margin-top: -16px;
}
 */
/* Nested lists don't need a bottom margin on the inner list */
/* div.wp-block-column li > ul {
  margin-bottom: 0px;
}

.clearfix {
  clear: both;
}

/* Contact forms */
/* .wpcf7-list-item {
  display: block !important;
}

input[type="tel" i].tel-advanced-course {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  -webkit-border-radius: 3px;
}

input[type="submit"].submit-advanced-course {
  color: #b0107d;
  background-color: #f0d5ed;
  border-color: #b0107d;
}

input[type="tel" i].tel-contact-us {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  -webkit-border-radius: 3px;
}

select.select-contact-us {
  color: #666;
  border-color: #ccc;
}

input[type="submit"].submit-contact-us {
  color: #4c6172;
  background-color: #d5d5d5;
  border-color: #4c6172;
}

 */ /* Ultimate Member Profile */
/* .ct-email-template-table {
  width: 100%;
}

.ct-email-template-table {
  border: none;
}

.ct-email-template-table td {
  border: none;
  padding: 4px;
}

.ct-email-template-table th {
  border: none;
  text-transform: none;
  padding: 4px;
}

.ct-email-template-table ul {
  margin-bottom: 0px;
}

.acf-fields > .acf-field {
  padding: 4px 4px !important;
  border-top: none !important;
}

div.cctACFFwrapper {
  display: none;
}

.show {
  display: block !important;
}

.um-profile .um-profile-body {
  max-width: 750px !important;
}

 */ /*
// JQueryUI Dialogs
*/
/* .ui-front {
  z-index: 1009 !important;
  position: fixed !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.ct-dialog {
  background-color: white;
  border: 2px solid #4c6172;
  max-height: 70%;
  overflow-y: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.ct-dialog.ui-dialog {
  z-index: 1010 !important;
}
.ct-dialog p {
  margin: 6px;
}
.ct-dialog > .ui-dialog-titlebar {
  background-color: #4c6172 !important;
  color: white;
  padding: 0 10px 2px 10px;
  font-size: 120%;
}

.ct-dialog > .ui-dialog-titlebar > .ui-dialog-titlebar-close {
  visibility: hidden;
}
span.ct-dialog-icon {
  font-size: 40px;
  font-weight: bold;
  color: #800000;
  float: left;
  margin: 12px 12px 32px 0;
}
.ct-dialog button {
  margin: 8px;
  border-radius: 4px;
  padding: 7px 13px;
  box-shadow: none;
  text-shadow: none;
  color: white;
  background-color: #4c6172;
}

.acf-field .acf-label label {
  font-size: 85%;
}

div .acf-fields {
  margin: 10px;
}

.acf-form-submit {
  display: none;
}

.acf-delete-template {
  display: none;
}

.acf-label label[for="acf-_post_content"] {
  margin-bottom: -30px !important;
}
 */
article {
  margin-bottom: 0 !important;
}
@media screen and (max-width: 990px) {
  article {
    padding: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* TableList - don't hide filter actions on small screens */
@media screen and (max-width: 782px) {
  .tablenav.top .actions {
    display: contents;
  }
}

.mraf3-document-link {
  margin-left: 10px;
}
