/*
Theme Name: Baker Team Theme
Template: generatepress
Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: Child Theme for Baker Street Team Portal
Version: 3.0.3
Requires at least: 4.5.0
Tested up to: 5.7
Requires PHP: 5.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
Tags: two-columns

GeneratePress, Copyright 2014-2021 EDGE22 Studios LTD.
GeneratePress is distributed under the terms of the GNU GPL

GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2021 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/


/* ===== CSS VISITS to display tables in rows ===== */
.visitTable{
	display: block;
	width: 100%;
}
.visitTableRow {
	display: table-row;
	vertical-align: middle;
}
.visitTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.visitTableCell, .visitTableHead {
	border-bottom: 1px solid #999999;
	display: table-cell;
	padding: 0px 0px;
	vertical-align: middle;
}
.visitTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}
.visitTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.visitTableBody {
	display: table-row-group;
}

.visitcompany {
    min-width: 40px;
    max-width: 50px;
}
.visitwotitle {
    /*width: 40%;*/
    padding-left: 8px;
}
.visitwostatus {
    width: 30%;
    text-align: center;
}
.income {
    /*width: 30%;*/
    font-size: smaller;
    text-align: center;
}
.visittitle {
    width: 40%;
    padding-left: 8px;
}
.visitstatus {
    width: 30%;
    text-align: center;
}
.visitcity {
    width: 30%;
    text-align: center;
}
.visitedit {
        width: 20%;
}



.wovisitdate {
    width: 50%;
    text-align: center;
}

.wovisitelectrician {
    width: 50%;
    text-align: center;
}

.wovisitedit {
        width: 10%;
        text-align: right;
}

.wovisitnotes{
    width: 30%;
    text-align: left;
    vertical-align: top;
    padding: 0px 20px 0px 0px;
}

 .wovisitreturn {
    width: 30%;
    text-align: left;
    vertical-align: top;
}

#noteheader {
    margin-bottom: 0em;
    font-weight: 700;
    text-align: center;
    font-size: 20px;
    padding-bottom: 6px;
}

@media only screen and (max-width: 450px) {
  .visitedit {
        display: none;
  }
}

/* ===== CSS for WORK ORDERS to display tables in rows ===== */
    /* DivTable.com */
.divTable{
	display: block;
	width: 100%;
}
.divTableRow {
	display: table-row;
	vertical-align: middle;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.divTableCell, .divTableHead {
	border-bottom: 1px solid #999999;
	display: table-cell;
	padding: 0px 0px;
	vertical-align: middle;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}

.company {
    min-width: 40px;
    max-width: 50px;
}
.wotitle {
    width: 30%;
    padding-left: 8px;
}
.wostatus {
    width: 30%;
    text-align: center;
}
.wocity {
    width: 30%;
    text-align: center;
}

.woedit {
        width: 20%;
}

@media only screen and (max-width: 600px) {
  .woedit {
        display: none;
  }
}

#statusdate, #statusdatemobile {
    font-weight: 700;
    margin-bottom: 0em;
}
@media only screen and (min-width: 601px) {
    #statusdatemobile {
        display: none;
  }
}
@media only screen and (max-width: 600px) {
  #statusdatemobile {
        display: inline;
  }
  #statusdate #statustime{
        display: none;
  }
}

#statustime {
    font-weight: 500;
    font-size: medium;
    margin-bottom: 0em;
}
#statustype {
    font-size: x-small;
    margin-bottom: 0em;
}
#cityname {
    margin-bottom: 0em;
    font-weight: 700;
}
#datecreated {
    margin-bottom: 0em;
    font-size: x-small;
}


/* ===== CSS for FINANCIAL INFORMATION to display tables in rows ===== */
    /* DivTable.com */
.finTable{
	display: block;
	width: 100%;
	border-width: 0px 0 0 0px;
}
.finTableRow {
	display: table-row;
	vertical-align: middle;
}
.finTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.finTableCell, .finTableHead {
	border-bottom: 1px solid #999999;
	border-right-color: white;
	display: table-cell;
	padding: 0px 8px;
	vertical-align: middle;
}
.finTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}
.finTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.finTableBody {
	display: table-row-group;
}

.fincompany {
    font-size: small;
    /*min-width: 40px;
    max-width: 50px;*/
}
.finwotitle {
    /*width: 40%;*/
    padding-left: 8px;
    font-size: smaller;
}
.finwostatus {
    /*width: 30%;*/
    text-align: center;
}
.finwocity {
    /*width: 30%;*/
    text-align: center;
}

.finheader {
    font-weight: 700;
    text-align: center;
}

#finstatusdate {
    font-weight: 700;
    margin-bottom: 0em;
}
#finstatustype {
    font-size: x-small;
    margin-bottom: 0em;
}
#fincityname {
    margin-bottom: 0em;
    font-weight: 700;
}
#findatecreated {
    margin-bottom: 0em;
    font-size: smaller;
}

#statusdate {
    font-weight: 700;
    margin-bottom: 0em;
}
#statustype {
    font-size: x-small;
    margin-bottom: 0em;
}
#cityname {
    margin-bottom: 0em;
    font-weight: 700;
}
#datecreated {
    margin-bottom: 0em;
    font-size: x-small;
}

.monthlyincometable {
    width: fit-content;
    font-size: small;
}

.monthleyincomecell {
    padding-right: 25px;
    padding-top: 0px;
    padding-bottom: 0px;
}


/* ===== CSS for WORK ORDERS Single Page ===== */
    /* DivTable.com */
.WOsingledivTable{
	display: block;
	width: 100%;
}
.WOsingledivTableRow {
	display: table-row;
	vertical-align: middle;
}
.WOsingledivTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.WOsingledivTableCell, .WOsingledivTableHead {
	border-bottom: 1px solid #999999;
	display: table-cell;
	padding: 0px 0px;
	vertical-align: middle;
}
.WOsingledivTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}
.WOsingledivTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.WOsingledivTableBody {
	display: table-row-group;
}

.company {
    min-width: 40px;
    max-width: 50px;
}
@media only screen and (max-width: 600px) {
  .company {
        display: none;
  }
}
.wotitle {
    width: 40%;
    padding-left: 8px;
}
.wostatus {
    width: 30%;
    text-align: center;
}
.wocity {
    width: 30%;
    text-align: center;
}
#statusdate {
    font-weight: 700;
    margin-bottom: 0em;
}
#statustype {
    font-size: x-small;
    margin-bottom: 0em;
}
#cityname {
    margin-bottom: 0em;
    font-weight: 700;
}
#datecreated {
    margin-bottom: 0em;
    font-size: x-small;
}


/* ===== CSS for Edit Work Order/Visit Button ===== */
.editbutton {
  font: bold 13px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
}

/* ===== CSS for Visit File Buttons ===== */
.filebutton {
    font: bold 13px Arial;
    text-decoration: none;
    background-color: #086abb;
    color: #f7f7f7;
    padding: 2px 6px 2px 6px;
    margin: 5px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
}

/* ===== CSS for Visit File Buttons ===== */
.homecreatebutton {
    font: bold 20px Arial;
    text-decoration: none;
    background-color: #086abb;
    color: #f7f7f7;
    padding: 20px 20px 20px 20px;
    margin: 20px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
}

@media only screen and (max-width: 950px) {
    .homecreatebutton {
        font: bold 20px Arial;
        text-decoration: none;
        background-color: #086abb;
        color: #f7f7f7;
        padding: 5px 5px 5px 5px;
        margin: 5px;
        border-top: 1px solid #CCCCCC;
        border-right: 1px solid #333333;
        border-bottom: 1px solid #333333;
        border-left: 1px solid #CCCCCC;
        display: inline-block;
    }
}
/* =========== Miscelaneous Text CSS updates  ============*/
h2 {
    margin-top: 20px;
    margin-bottom: 0px;
}

/* =========== Ensuring Media Upload Buttons are Visable  ============*/
.media-router .media-menu-item {
    color: #000000;
}

/* =========== Pagination Stylings  ============*/
/* Pagination */
.pagination {
   clear:both;
   position:relative;
   font-size:11px; /* Pagination text size */
   line-height:13px;
   float:right; /* Pagination float direction */
}
.pagination span, .pagination a {
   display:block;
   float:left;
   margin: 2px 2px 2px 0;
   padding:6px 9px 5px 9px;
   text-decoration:none;
   width:auto;
   color:#000; /* Pagination text color */
   /*background: #555;*/ /* Pagination non-active background color */
   -webkit-transition: background .15s ease-in-out;
   -moz-transition: background .15s ease-in-out;
   -ms-transition: background .15s ease-in-out;
   -o-transition: background .15s ease-in-out;
   transition: background .15s ease-in-out;
}
.pagination a:hover{
   color:#000;
   background: #d5d5d5; /* Pagination background on hover */
}
.pagination .current{
   padding:6px 9px 5px 9px;
   background: #d5d5d5; /* Current page background */
   color:#000;
}
