/* Theme styling overrides go in here. Allows us to turn style Primefaces components without updating camden-blue-theme. */


.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    /* override excessive bootstrap padding */
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.breadcrumbs {
    height: auto !important;
}


h1 {
  font-weight: bold;
}

legend {
  font-size: 16px;
}

/* Upload component positioning */
.fileupload-buttonbar .ui-button input {
    left: 0px;
    border-width: 0px !important;
    width: 100% !important;
}

div.ui-fileupload-content {
    /* HACK : make the panel "invisible" */
    background: #ecf5fa !important;
    border: none !important; 
    padding-bottom: 0px !important;
}


.fieldset-container .ui-fileupload {
  min-width: 100%;
}

.ui-fileupload-files {
    margin: 0px !important;
}

.ui-fileupload .start {
  display: none;
}

.ui-fileupload .cancel,
button.ui-fileupload-cancel {
  display: none !important;
}


div.ui-fileupload-content .ui-messages-error-detail {
  line-break: anywhere;
}

.ui-widget-header {
    border: none !important;
    background: none !important;
}

.ui-button-text,
.ui-button-text-only .ui-button-text {
  color: white;
  padding: 8px;
  line-height: 1.3;
}

.fileupload-content {
    left: 0px;
    padding: 0px !important;
}

.postCodeInput {
    width: 100px !important;
}

/* Upload validation message styling */
.name:before {
    content: "'";
}

.name:after {
    content: "'";
}

.files .name {
    white-space: nowrap;
    overflow: hidden;
    padding: 5px 7px !important;
    vertical-align: top;
}

.files {
    display: block;
}

@-moz-document url-prefix() { 
  .files {
    background-color: #fcf1f3 !important;
    display: inline-block;
  }
}

/* Remove Preview and Size columns from table */
.files .preview {
    display: none !important;
}

/* Upload button styling */
.fileupload-buttonbar .ui-button .ui-button-text {
    white-space: nowrap;
    overflow: hidden;
}

.fileinput-button {
    overflow: visible !important;
}

span.ui-icon-plusthick {
    filter: invert(1);  /* make the file upload icon white */
}

div.ui-messages-error { /* fix the error messages on file upload */
  margin: 0px !important;
  padding: 5px !important;
}

span.ui-messages-error-icon {
  display: none;
}

span.ui-messages-error-summary,
span.ui-messages-error-detail {
  display: block !important;
  margin-left: 0px !important;
}

.ui-messages ul {
  margin-left: 10px !important;
}
.ui-messages ul li {
  margin-left: 0px !important;
}


.fieldset-container, 
.field-container {
    padding: 0.75em !important; 
}

.field-container .field-label-group {
    display: table-row;
}

.field-container .field-label-group .label,
.ui-outputlabel .label,
.fieldset-container .label, 
#userTypeLabel .label  {
    display: inline-block;
    vertical-align: top;
    padding-top: 0.1em;
    padding-bottom: 0.8em;
    color: black;
    font-size: 1em;
    text-align: left !important;
    white-space: normal;
}

.field-container .field-label-group .boldLabel {
    display: table-cell;
    padding-top: 0.1em;
}

.field-container .field-label-group .field {
    word-break: normal !important;
    vertical-align: top;
    padding-bottom: 0.8em;
}


.short-radio input[type="radio"]+label,
input[type="checkbox"]+label {
    padding-left: 5px; 
}


.button,
.button-content, 
.button-content-disabled, 
.button-content-clear,
.backButton {
  /* make buttons flat again */
  background: none !important;
  color: white;
  
  /* make buttons sit nicely in responsive modes */
  margin-top: 5px;
  margin-right: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.button-content button,
.ui-button,
.backButton  {
    background: #056AA6 !important;
    color: white;
}

#backButton  {
    margin-left: 1em;
}

.camdenTableRow {
    /* Empty class defined as part of the mobile rendering stuff */
    
}

.hidden {
    display: none;
}

.removeLeaseholderButton {
    margin-right: 10px;
    margin-bottom: 40px;
}

.leaseholderSurname {
    margin-bottom: 10px;
}

#pagination {
    display: inline;
}

.margin-top {
    margin-top: 10px !important;
}

.address-content-panel .search-panel .button-holder {
    margin-top: 0px !important;
    float: none;
    margin-bottom: 0px;
    margin-left: 0px;
}

.address-content-panel .search-panel, 
.address-content-panel .results-panel {
    margin: 0px 0px 10px 0px;
    padding: 0px !important;
    border: none;
}

.address-content-panel .search-panel .field-label-group {
    margin-left: 0px;
    margin-right: 0px;
}

.address-content-panel .search-panel .field-label-group .error {
    margin-bottom: 10px;
}

#submitErrorHolder.button,
#submitErrorHolderContent.button-content {
    background: url("") !important;
}

#submitHolder span.ui-button-text {
  font-weight: bold;
}

.button-input,
.button-input-disabled,
.button-input-clear a {
    background: #056AA6 !important; 
    color: white;
    font-weight: normal !important;
}

a.ui-state-default {
    font-size: .9em !important;
}

a {
    color: #0000E9;
    text-decoration: none;
    font-size: 14px !important;
}

.mandatory {
    font-size: 18px;
}

textarea {
    width: 100% !important;
}

#addressListPagination {
  margin-top: 10px;
}

#assignment-pack-index\:approximateCompletionDate_input {
    display: block;
    width: inherit;
}

.spacing {
    padding: 1px 0px 0px 0px;
}

.leaseholder-add {
    margin: 1em 0 0 0;
}

.spacing-bottom {
    padding: 0px 0px 10px 0px;
}

td.name,td.size {
    display: none;
}


.short-radio td, .short-checkbox td {
    padding-right: 0px;
    width: 100%;
}

.slidebreadcrumbs li.breadcrumb-home a {
    background-image:
        url("/assignment-pack/javax.faces.resource/images/home_blue.png.xhtml")
        !important;
}

#assignment-pack-index\:legalDisclaimer\:componentInputLabel {
    float: left;
    width: 95%;
    padding-left: 5px;
}

#assignment-pack-index\:legalDisclaimer\:componentInput {
    float: left;
    margin-top: 5px;
}

#assignment-pack-index\:legalDisclaimer\:componentDiv {
    float: left;
}

#javax_faces_developmentstage_messages {
    display: none !important;
}

.largeText {
    text-align: justify;
}

.asterisk {
    color: #CC0000;
    font-size: 16px;
}

.fieldset-container iframe {
    height: 880px;
}

.body-text {
    font-size: 14px;
}

.header-text {
    font-size: 22px;
}

.medium-input {
    width: 200px;
}

.small-input {
    width: 120px !important;
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
    .fieldset-container iframe {
        height: 1000px;
    }
}

@media only screen and (max-width: 480px) {
    .fieldset-container iframe {
        height: 1200px;
    }
}

@media screen and (max-width: 640px) {
  
  
    #wrapper {
        padding: 0.5em;
    }

    div.container {
        padding: 0px;
    }
  
    .fieldset-container, .field-container {
        padding: 10px !important;
    }
    
    #pagination {
        display: none;
    }
    #ui-datepicker-div {
        display: none !important;
    }
    .short-radio input[type="radio"]+label {
        max-width: 90% !important;
        margin-top: -2px;
        margin-bottom: 5px;
    }
    .ui-datatable-scrollable table,thead,tbody,th,td,tr,caption {
        display: block;
        overflow-x: inherit;
    }
    .paymentTable table {
        display: table;
        width: 100%;
        overflow-x: hidden;
    }
    .paymentTable table thead tr {
        width: 100%;
    }
    .paymentTable thead th,.paymentTable tbody td {
        display: table-cell;
        overflow-x: inherit;
        white-space: normal;
        width: 17%;
        padding: 0;
    }
    .additionalLeaseholderTable {
        width: 100%;
    }
    .pageContainer input[type="submit"],.pageContainer input[type="button"],.pageContainer button
        {
        width: auto !important;
    }
    
    .slideMenuButton {
        margin: 20px 20px 20px 10px;
    }
    
    .slideMenuButton div {
        padding: 0px;
    }
    
    .slidebreadcrumbs li .breadcrumb-icon {
        display: inline-block !important;
        background-position: 5px 5px;
    }
    .removeLeaseholderButton {
        margin: 1em 0 0 0;
    }
    .button-holder {
        margin-left: 0px !important;
    }
    #assignment-pack-index\:legalDisclaimer\:componentInputLabel {
        width: 80% !important;
    }
    #cardLogos {
        max-width: 100%;
    }
    
    .address-content-panel .search-panel, 
    .address-content-panel .results-panel {
        margin: 0px 0px 10px 0px;
        padding: 0px;
    }
    
    .address-content-panel .search-panel .button-holder {
        margin-top: 15px !important;
        display: inline-block;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 360px) { 
    #backButton  {
        margin-left: 0px;
    }
}

/* file upload overrides */
@media screen and (max-width: 40em) { 
    
    .ui-fileupload-buttonbar .ui-button .ui-button-text {
        display: inline !important;  /* show upload button text in responsive */
    }
    
    .ui-fileupload-buttonbar .ui-button {
        padding: 0.3em !important; /* stop the button becoming huge */
    }
    
}

