/* THIS IS TO ADJUST THE SIZING OF THE SITE */

@media print {
    a[href]:after {
        content: none !important;
    }
}

#main .fusion-row, #slidingbar-area .fusion-row, .fusion-footer-copyright-area .fusion-row, .fusion-footer-widget-area .fusion-row, .fusion-page-title-row, .tfs-slider .slide-content-container .slide-content {
    max-width: 1300px; /* Controls the 'boxed' width of the site; derived from ThemeFusion */
}
h2, h3 { margin-bottom: 20px; }
.portalPage {
    margin-top: 120px;
}
body th { font-size: 16px !important; }
body td{ font-size: 14px !important; }

input[type=date] { margin-right: 10px !important; }
input[type=checkbox] { margin-right: 15px;}

.icon, .fa-download, .fa-file, .fa-times, .fa-edit, .fa-check {
    color:#019fe3 !important;
}

button, input[type=sumbit] { border: none !important; border-radius: 0px !important; }
button:hover, body input[type=sumbit]:hover, .button:hover { background: #20628a !important; }

tr.total { text-align: right; }

.active {
color:#019fe3 !important;
}

body .updatePending {
    background: #df3841 !important;
}

body .updatePending:hover {
    background: #fd303b !important;
}

.pav-select {

    /* styling */
    background-color: white;
    border: thin solid #CCC;
    border-radius: 0px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    /* reset */

    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
            linear-gradient(45deg, transparent 50%, blue 50%),
            linear-gradient(135deg, blue 50%, transparent 50%),
            linear-gradient(to right, skyblue, skyblue);
    background-position:
            calc(100% - 20px) calc(1em + 2px),
            calc(100% - 15px) calc(1em + 2px),
            100% 0;
    background-size:
            5px 5px,
            5px 5px,
            2.5em 2.5em;
    background-repeat: no-repeat;
}

.pav-select:focus {
    background-image:
            linear-gradient(45deg, white 50%, transparent 50%),
            linear-gradient(135deg, transparent 50%, white 50%),
            linear-gradient(to right, gray, gray);
    background-position:
            calc(100% - 15px) 1em,
            calc(100% - 20px) 1em,
            100% 0;
    background-size:
            5px 5px,
            5px 5px,
            2.5em 2.5em;
    background-repeat: no-repeat;
    border-color: grey;
    outline: 0;
}

.blueButton {
    background:#019fe3 !important;
    color:#FFF;
    padding: 10px 15px;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.blueButton:hover {
    background: #20628a !important;
}

#portal_container{
    display: flex;
    justify-content: center; /* Center Aligning Portal Menu items */
}
#portal_header{
    display: flex;
    align-items: center;
    flex-direction: column; /* 2 items within #portal_header which are the <h3> tag and menu items, we need them to be vertically related */
    max-width: 1300px;
    /*width: 1000px;*/
}
/* THIS IS TO ADJUST THE SIZING OF THE SITE */
#edit_contact{
    padding:10px;
}
select[disabled]{
    background: #DDDDDD;
    border: 0 !important;
}
/* MAIL FORM */
#mail_form input{
    /*display:block;*/
    color:black !important;
}
#mail_form input:not([type=submit]){
    margin-left: 1rem;
    width:200px;
    align-self: flex-end;
}
#mail_form{
    display:flex;
    flex-direction:column;
    justify-content: center;
    margin-right: 1rem;
    /*min-width: 300px;*/
    min-width: 400px;
    margin-bottom: 2rem;
}
.captchaBox{
    margin-top: 1rem;
}
#mail_form label{
    display:flex;
    align-items: center;
}
:root #mail_form .btnBox input[type=submit]{
    width: 200px;
    margin-right: 4px;
}
#mail_form .formBox{
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    width: 100%;
}
#mail_form .btnBox{
    margin-top: 1rem;
    align-self: flex-end;

}
.mailContainer{
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
}
.captchaBox{
    display:inline-block;
    width:360px;
    height: 70px;
    float: left;
}
@media all and (max-width:750px){
    #mail_form{
        min-width: 50%;
    }
}
@media all and (max-width:875px){
    div.captchaBox{
        justify-content: flex-end;
        margin-bottom: 2rem;
    }
}

#reset_password input[type=password] {
    margin-bottom: 10px; margin-right: 10px;
}

#mail_form label{
    font-weight: 900;
}
#mail_form input[type=text]{
    height: 32px;
}
/* MAIL FORM */

.pav_results_table table th:nth-child(7){
    text-align:left;
}
.pav_results_table table td:nth-child(7){
    text-align:left;
    text-transform: capitalize;
}
#constraints td {
    padding: 0.8rem;
    text-align: center;
}
#constraints tr:first-child,
#constraints td:first-child {
    background: #E74C3C;
    color: white;
    font-weight: 600;
}
#constraints tr:last-child td:first-child {
    background: #d62c1a;
}
#constraints tr:not(:first-child) td:not(:first-child):hover {
    background: #c1c1c1;
}


.sub-heading{
    color:black;
}

.user-control-block legend {
    font-weight: 700;
    font-size: 24px;
    /*background-color: white;*/
}

.user-control-block {
    border: 1px solid #9b9b9b;
    padding: 1em;
    margin-bottom: 15px;
}

.pav_form select{
    color:black;
}

.pav-form input[type=submit], .pav-form input[type=button], input[type=submit] {
    min-height: 30px; line-height: 30px; font-size: 18px; padding: 5px 15px !important; font-weight: 500 !important; border: none !important; border-radius: 0px !important;
}

.pwList {
    padding-left: 3px; margin-top: 20px;
}

.pwList li {
    display: block; margin-bottom: 5px;
}

.pav-form input[type=submit] {
    background-color: white;
    padding: 5px 15px;
    transition: background-color 200ms linear;
    cursor: pointer;
    border-radius: 0px !important;
    border: none !important;
}

.pav-form input[type=submit]:hover {
    color: white;
    background-color: #20628a;
    border: none !important;
}

.pav-form input[type=button], .cancel_contact_button {
    color:#FFF;
    background:#019fe3 !important;
    border: none !important;
}

.pav-form {
    /*min-height: 400px;*/
}

.pav-portal-menu {
    display: flex;
    width: 100%;
    margin: 10px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.pav-portal-menu .menu-item {
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Raleway';
    display: inline;
    transition: all 0.1s;
    cursor: pointer;
    border-radius: 3px;
    background-color: #333;
    color: white;
    font-size: 13px;
    margin: 5px;
    padding: 3px 5px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.pav-portal-menu .menu-item:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 1px 3px #111;
}

.pav_results_table {
    width: 100%;
    margin: 10px 0;
}

.pav_results_table td, .pav_results_table th {
    padding-right: 7px !important;
    padding-left: 7px !important;
}

.pav_results_table thead {
    background-color: #eee;
    text-align: left;
}

.pav_results_table tbody tr {
    border: 1px solid #eee;
}

.pav_results_table th, .pav_results_table td {
    padding: 7px;
}

.pav_results_table .price {
    text-align: right;
}

tr.total {
    background-color: #eee;
}

tr.total td:first-of-type {
    font-weight: 800;
}

.pav-form .pav-input {
    border: 1px solid #d2d2d2;
    font-size: 13px;
    height: 33px;
    color: black !important;
    padding: 8px 15px;
    margin-right: 1%;
    box-sizing: border-box;
}

.pav-form textarea{
    color:black!important;
}
#search_form.pav-form .pav-input {
    width: 100%;
}
.pav-form .selectize-input .item {
    background: #03A9D4 !important;
    color: white !important;
    /*padding: 2px 6px !important;*/
    font-weight: bold;
}
.pav-form .selectize-control.plugin-remove_button [data-value]{
    padding-right: 16px !important;
}

.pav-input[type="text"], .pav-input[type="email"], .pav-input[type="tel"] , .pav-input[type="number"] {
    width: 100%;
}

.pav-input[multiple]{
    height: auto;
}

input[type="email"] {
    height: 34px;
}

.single-contact:hover {
    background-color: #f9f9f9;
}

#edit_contact .input, #leavers_form .input, #starters_form .input {
    padding: 0.6em;
}

.tickSpacer {
    width: 520px;
    display: inline-block;
}
/*GETTING RID OF BAD CHROME CALENDAR PICKER*/
input::-webkit-calendar-picker{
    display: none !important;
}

[type="date"]::-webkit-inner-spin-button {
    display: none;
}
[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}
[type="date"] {
    background:#fff url(https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/calendar_2.png)  95% 50% no-repeat ;
    display:block;
}
/**/
div.jconfirm-box .fa-chevron-right{
    color: #E74C3C !important;
    margin-right: 5px !important;
}
/* TICK BOXES STUFF */
label.tick_container input[type="checkbox"] {
    display:none !important;
    -moz-appearance: none;
    -webkit-appearance: none;
}
label.tick_container span {
    cursor: pointer;
    display:inline-block;
    border-radius:10px;
    width:20px;
    height:20px;
    vertical-align:middle;
    margin:3px;
    position: relative;
       transition:width 0.1s, height 0.1s, margin 0.1s;
    /*transition:width 1s, height 1s, margin 1s;*/
    background: #EEEEEE;
}
label.tick_container :checked + span {
    vertical-align:middle;
    background: #0066b7;
    margin: 2px;
}
label.tick_container :checked + span:after {
    vertical-align:middle;
    position: absolute;
    content: '\f00c';
    align-content: center;
    font-family: FontAwesome;
    font-size: 14px;
    left:3px;
    color: #fff;
}
label.tick_container .tick_field{
    display: none !important;
}
/* TICK BOXES STUFF */

.con_f {
    text-align: center;
}

.input.one-third {
    flex: 33.3% 1 1;
}

.input.one-half {
    flex: 50% 1 1;
}

#edit_contact .flags_row .col-lg-4 {
    padding: 10px;
}

#edit_contact .flags_row, #invoice_table {
    margin: 20px 0;
}

.edit-con, .del-con {
    text-align: center;
    cursor: pointer;
    transition: all 0.1s ease-out;
    line-height: 1em;
}

.edit-con:hover, .del-con:hover {
    text-shadow: 0 0 3px #9b9b9b;
    font-size: 1.2em;
}

#new_contact_button, .pav-anchor {
    background-color: #019fe3 !important;
    border-color: #0074cd !important;
}
#new_contact_button:hover, .pav-anchor:hover{
    background-color: #14b2f6 !important;
}

#cancel_contact_button, .pav-button.cancel {
    background-color: #f8c6c3;
    border-color: #c44c4e;
    float: right;
}
#cancel_contact_button:hover, .pav-button.cancel:hover {
    background-color: #c44c4e;
    border-color: #c44c4e;
    float: right;
}
button{
    font-size: 18px;
}
label.error {
    width: 100%;
    color: red;
}
.input select {
    width: 100% !important;
}

#cancel_contact_button, #new_contact_button, #save_contact_button, #leaver_contact_button, #submit_service_request, #toggle_contact_table {
    padding: 5px 15px;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.pav-form button, .pav-form input[type=button], #pav_renewals button{
    padding: 5px 15px;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #019fe3;
    border-color: #03A9D4;
}

.pav-form button:hover, .pav-form input[type=button]:hover, #pav_renewals button:hover{
    background: #20628a;
    color: white;
}
/*SUPPORT EMAIL FORM*/
#pav_support_emails{
    justify-content: center;
}
#pav_support_emails fieldset{
    max-width: 1000px;
    margin: auto;
    margin-bottom: 20px;
}
.submitContainer{
    max-width: 1000px;
    margin: auto;
}
fieldset{
     position: relative;
 }
.fieldSelects button{
    min-width: 100px;
    margin: .3rem;
}

/*SUPPORT EMAIL FORM*/
/*CONTACT FORM FLAG FIELDS*/

/*CONTACT FORM FLAG FIELDS*/

#submit_service_request, #toggle_contact_table {
    background-color: #20628a;
    float:left;
}
#submit_service_request:hover, #toggle_contact_table:hover{
    background-color: #20628a;
    color: white;
}

.pav-error {
    color: red;
}

.pav_documents {
    display: grid;
    width: 100%;
    background: #dbdbdb;
    padding: 1.5rem;
    box-shadow: 0 0 1.5px black;
}
.pav_documents__block {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.pav_documents .col-lg-10{
    width: 100%;
}
#post-289 div.post-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.current_meeting, .previous_meeting, .prepay_documents{
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    flex-direction: column;
}
.pav_documents h3{
    font-size: 16px;
    font-family: Arial;
    max-width: 80%;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.pav_documents h4{
    margin: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-basis: 100%;
    justify-content: center;
}
.docToggle{
    cursor: pointer;
}
.docEmail{
    cursor: pointer;
}

.pav-file {
    padding: 0.3em;
    border-radius: 4px;
    background-color: #f6f6f6;
    margin: 10px 10px;
    font-size: 24px;
    transition: all 0.2s ease-out;
    display: flex;
    box-shadow: 0 3px 4px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    /*height: 125px;*/
    min-height: 150px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

.sub_col{
    display: flex;
    justify-content: space-between !important;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.pav-file:hover {
    box-shadow: 0 5px 4px rgba(0,0,0,0.19), 0 3px 6px rgba(0,0,0,0.28);
    background-color: white;
}

.thePin { color: #019fe3}

.pav-file .col, .pav-search {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pav-search, .pav-anchor, .pav-href{
    height:39px;
}

.pav-file h4 {
    font-size: 18px;
    font-weight: 700;
}

.pav-search, .pav-anchor {
    cursor: pointer;
}

#invoice_table {
    width: 100%;
}

#invoice_table th {
    text-align: left;
    padding: 0.5em 0;
}

#invoice_table td {
    padding: 0.4em 0;
}

.single-activity {
    padding: 0.5em;
    background-color: #f8f8f8;
    margin: 10px 0 30px 0 !important;
}
.single-activity .sub-heading {
    display: block; float: none; clear: both; margin-bottom: 5px; padding: 0px !important; background: none !important; color: #333 !important; border-radius: 0px !important;
}
.service-request-control i {
    display: block;
    text-align: center;
}

#pav_upload_file label {
    width: 180px; display: inline-block; float: left; margin-bottom: 10px !important;
}
#pav_upload_file div {
    margin-bottom: 10px;
}
#pav_upload_file input[type=submit] {
    margin-top: 15px;
}

    /*#leavers_form, #starters_form {*/
    /*display: none;*/
/*}*/

.invoiceColumn, .expireColumn{
    width: 10%;
    text-align: center;
}
.price{
    width: 100px;
}
.domain,.contract, .broadband{
    table-layout:fixed;
}
#view_request .single-activity .sub-heading, .sub-heading {
    background: #2490b0;
    color: white;
    border-radius: 5px;
    padding: .25rem;
}
.single-activity{
    background: transparent !important;
    color: black !important;
}
.single-body, .single-documents{
    padding: .5rem;
    background: white !important;
    border: 1px solid #eee;
}
.single-item{
    margin: 1rem;
    transition: .25s;
    border-radius: 5px;
}
.single-item:hover{
    box-shadow: 0 0 5px black;
}
.single-documents__cards {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.single-documents__cards .single-item .description {
    word-break: break-all;
    margin-bottom: 1rem;
}

.single-activity{
    display: grid;
    grid-template-columns: 3fr 3fr 3fr 5fr 6fr 6fr;
}
.email_container{
    display: grid;
    place-items: center center;
    justify-content: center;
}
#supportPins .pin{
    display:grid;
    grid-template-columns: 1fr 0.2fr 1fr;
    min-height: 50px;
    margin-bottom: 30px;
}
#supportPins .pin > h2{
    font-size: 20px; line-height: 30px;
}
#supportPins .pin > span{
    grid-column-start: 3;
    font-size: 16px;
}
.notice-error{
    padding: 1rem;
    background: #fff;
    border-left: 6px solid red;
    box-shadow: 0 0 5px #00000052;
    width: 400px;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.notice-error p{
    margin: 0;
}
.pav-message{
    padding: 1rem;
    background: #fff;
    border-left: 6px solid #00AEEF;
    box-shadow: 0 0 5px #00000052;
    width: 400px;
    margin: 1rem auto;
}
.password-guide{
    position: absolute;
    top: 0; left: 110%;
    margin: 0 !important;
}
.password-status,.password-confirm {
    width: 100%;
}
.password-status i,
.password-confirm i
{
    font-size: 24px;
    margin-right: 1rem;
}
.password-status-red{
    border-color: red;
}
.password-status-red i {
    color: red;
}
.password-status-green{
    border-color: #19c80d;
}
.password-status-green i {
    color: #19c80d;
}
/* Constraint table CSS for /portal/contacts/csv */
#constraints td {
    padding: 0.5rem;
    text-align: center;
}
#constraints tr:first-child {
    background: #E74C3C;
    font-weight: 600;
    color: white;
}
#constraints td:first-child {
    background: #E74C3C;
    font-weight: 600;
    color: white;
    text-align: right;
}

#constraints tr:last-child td:first-child {
    background: #d62c1a;
}
#constraints tr:not(:first-child) td:not(:first-child) {
    background: #f4f4f4;
}
#constraints tr:not(:first-child) td:not(:first-child):hover {
    background: #dbdbdb;
}

#edit_contact input[type=checkbox] {
    width: 22px !important; height: 22px; padding: 5px !important;
}

#edit_contact_anchor {
    position: relative; top: -90px; }

#pav_contacts .fa-toggle-on {
    color:#009FE3
}

.pav_loader {
    position: fixed;
    z-index: 99999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.pav_loader i {
    font-size: 48px;
    animation: 1.5s cubic-bezier(0.83, 0.16, 0.38, 0.89) spinner infinite;
}
.pav_loader h3 {
    font-size: 30px;
}
@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.password_box input[type=radio] {
    display: none;
}
.password_box label {
    cursor: pointer;
}
.password_box label i {
    font-size: 24px;
    color: #009FE3;
}
.password_box input:checked + label i::before {
    content: "\f205";
}
#starters_form .password {
    position: relative;
}

#starters_form .fa, #starters_form input { margin-right: 15px !important; float: left; }

#starters_form .password .eye-toggle {
    position: relative;
    opacity: 0.8;
    font-size: 18px;
    cursor: pointer;
    float: none;
}
#starters_form .password input[type=text] {
    width: 187px;
}

.debit{
    width: 10%;
    text-align: center;
}
.training_btn{
    background: #2490B0 !important;
}
