/* Popup Window */

.noscroll {
    overflow-y: hidden;
}

.single-private-page .gv-no-results {
    padding: 0;
    text-align: left;
}

.single-private-page .popup {
    background: rgba(0, 0, 0, 0.8);
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.single-private-page .popup .popup-content {
    background: white;
    box-sizing: border-box;
    color: black;
    left: 50%;
    overflow: auto;
    padding: 25px;
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.single-private-page .popup .popup-content .close-popup {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 20px;
}

.single-private-page .popup .popup-content .close-popup span {
    background: #000;
    cursor: pointer;
    height: 3px;
    position: fixed;
    width: 20px;
}

.single-private-page .popup .popup-content .close-popup span:nth-child(1) {
    transform: rotate(45deg);
}

.single-private-page .popup .popup-content .close-popup span:nth-child(2) {
    transform: rotate(135deg);
}

.single-private-page .popup .popup-content h2.wpdt-c {
    margin-bottom: 20px;
    margin-top: 40px;
}

.single-private-page .open-popup {
    border-bottom: 1px #ccc solid;
    cursor: pointer;
    display: inline;
    padding-bottom: 5px;    
}

.single-private-page .aside .aside-block {
    margin-bottom: 15px;
}

/* Client Portal */

.cp-content-wrapper {
    align-items: center;
    align-self: stretch;
    border: 1px #f0f0f0 solid;
    position: relative;
    z-index: 1;
}

.cp-content-wrapper.active {
    border: 1px #404040 solid;
}

.cp-content-wrapper h2:not(.gform_submission_error) {
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 28px;
    font-weight: 500;    
    margin: 0;
    padding: 20px 30px;
    transition: all .2s ease;
}

.cp-content-wrapper h2:after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 30px;
    position: absolute;
    right: 20px;
}

.cp-content-wrapper.active h2:not(.gform_submission_error):after {
    content: '\f106';
}

.cp-content-wrapper h2:hover:not(.gform_submission_error),
.cp-content-wrapper.active h2:not(.gform_submission_error) {
    background-color: #404040;
    color: #fff;
}


.cp-content-wrapper {
    margin-bottom: 20px;
}

#customer-portal .gform_wrapper {
    display: none;
    margin-top: 20px;
    padding: 0 30px;
}

#customer-portal .gfield_label {
    font-weight: 700 !important;
}

#customer-portal .gform_wrapper.gravity-theme .gfield.gfield {
    margin-bottom: 20px;
}

#customer-portal .gform_confirmation_message {
    padding: 20px 30px;
}

#customer-portal .gform_body .ginput_container_select {
    padding: 6px 30px 4px 10px;
}

#customer-portal .gform_wrapper.gravity-theme .gfield_descriptio {
    font-size: 12px;
}

/*
#customer-portal .validation_message {
    display: none;
}
*/

#customer-portal .gform_wrapper .gfield_error [aria-invalid=true] {
    background: #fff9f9;
}

.single-private-page .gform-theme-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-header select {
    font-size: 1.5rem;
}

.single-private-page .gform-theme-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-calendar th span,
.single-private-page .gform-theme-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-calendar td {
    font-size: 1.2rem;
}

#customer-portal .cp-logout {
    width: 100%;
}

/* Login, Registration and Profile Forms */

#wppb-login-wrap,
#wppb-register-user {
    background: #404040;
    border-radius: 4px 4px 0 0;
    margin: 0 auto;
	max-width: 600px;
    padding: 20px 30px;
}

#wppb-loginform {
    display: flex;
    flex-direction: column;
}

.wppb-user-forms #wppb-loginform .login-username input,
.wppb-user-forms #wppb-loginform .login-password input[type="password"],
#wppb-register-user input[type="text"],
#wppb-register-user input[type="email"],
#wppb-register-user input[type="password"] {
    background-color: transparent;
    border: 1px solid #6e6e6e;
    color: #fff;
    height: 50px;
    max-width: 100%;
    padding: 12px 15px;
    resize: none;
    width: 100%;
}

.wppb-user-forms input[type=submit] {
    background: #80b73d;
    border: none;
    border-radius: 30px;
    box-shadow: none;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    height: 50px;
    line-height: 50px;
    margin: 10px 0;
    min-width: 210px;
    padding: 0 20px;
    text-align: center;
    transition: all 0.3s ease 0s;
}

.wppb-user-forms input[type=submit]:hover {
    background: #6e9d34;
}

#wppb-login-wrap .login-submit,
#wppb-register-user .form-submit {
    text-align: right;
}

#wppb-loginform input::placeholder,
#wppb-register-user input::placeholder {
    color: #fff;
    opacity: 1;
}

#wppb-loginform input:-ms-input-placeholder,
#wppb-register-user input:-ms-input-placeholder {
    color: #fff;
}

#wppb-loginform input::-ms-input-placeholder,
#wppb-register-user input::-ms-input-placeholder {
    color: #fff;
}

#wppb-login-wrap .login-password button img,
.wppb-form-field.wppb-default-password button img {
	filter: invert(1);
    position: relative;
    right: 10px;
}

#wppb-login-wrap .login-remember {
    order: 1;
    padding-bottom: 0;
}

#wppb-login-wrap .login-remember label,
.wppb-send-credentials-checkbox label {
    color: #fff;
    font-weight: 300;
}

.generic-text-block .wppb-error {
    margin: 0 auto 30px;
    text-align: center;
    width: 41.66666667%;
}

.general-page-content #wppb-register-user ul li:before {
	display: none;
}

.wppb-form-field h4 {
	color: #fff;
    margin-bottom: 6px;
    margin-top: 5px;
    font-size: 24px;	
}

.wppb-user-forms ul {
	display: flex;
	flex-wrap: wrap;
}

.wppb-user-forms ul li {
	width: 50%;
}

.wppb-user-forms ul li[class*="heading"] {
	width: 100%;
}

/* Gravity Forms Views

#customer-portal .gv-list-view {
    border: 0;
}

.gf-single-entry .gv-list-view {
    margin-bottom: 0;
}

.gf-single-entry .gv-list-view-title {
    margin-bottom: 1em;
    padding: 1em;
}

.gf-single-entry .gv-list-view-title h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

#customer-portal .gv-list-view-content {
    padding: 0.75em 0;
}

#customer-portal .gv-list-view-title {
    padding: 0;
}

#customer-portal .gv-list-view-title h3 {
    font-size: 16px;
}

#customer-portal .gv-list-view-title h3 a {
    color: #555;
}

#customer-portal .gv-list-view-title h3 a:hover {
    color: #80b73d;
}

#customer-portal .gv-list-view-title h3 .gv-field-label{
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.gf-single-entry .gv-back-link {
    display: none;
}

.gf-single-entry .gv-list-view-content-description {
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
}

.gf-single-entry .gv-list-view-content-description div {
    margin-bottom: 20px;
    width: 33%;
}

.gf-single-entry .gv-list-view-content-description .gv-field-label {
    font-size: 16px;
    font-weight: 700;
}

.gf-single-entry .gv-list-view-content-description .gv-field-label:after {
    content: ': '
}

.gf-single-entry .gv-list-view-content p {
    font-size: 14px;
    margin: 0;
}

.current {
  color: green;
}

#pagin li {
  display: inline-block;
}

.prev {
  cursor: pointer;
}

.next {
  cursor: pointer;
}

.last{
  cursor:pointer;
  margin-left:5px;
}

.first{
  cursor:pointer;
  margin-right:5px;
}

*/

/* Sheets to Table

#customer-portal .gswpts_tables_container {
    overflow: scroll;
}

#customer-portal .gswpts_tables_container table th,
#customer-portal .gswpts_tables_container table td {
    max-width: inherit;
    white-space: nowrap;
}

*/ 

/* wpDataTables */
h2.wpdt-c {
    border-bottom: 1px #ccc solid;
    font-size: 26px;
    margin-bottom: 40px;
    margin-top: 120px;
    padding-bottom: 10px;
}