﻿.single-column-dynamic-wrapper {
    width: 30%;
}
.single-column-dynamic-wrapper input#Email {
    margin-bottom: 0;
}
.single-column-dynamic-form {
    width: 70%;
}

fieldset > h2 {
    text-align: center;
}

input[type=text],
input[type=password],
input[type=submit]:not(.my-button),
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=datetime],
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    padding: 5px;
    margin: 0;
}
input[type=submit].my-button {
    /*padding: 0;*/
    text-align: center;
    float: none;
}
ol li textarea,
ol li input[type=text]:not(.NestedListInput),
ol li select {
    margin-bottom: 10px;
}

.my-form {
    padding-bottom: 20px;
}


.group:before, 
.group:after { 
    content: "\0020"; 
    display: block; 
    height: 0;
}  
.group:after { 
    clear: both; 
}  
.group { 
    zoom: 1; 
}

.required {
    float: left;
}
  
ol {
	margin: 0px;
	padding: 0px;
}
/*.my-dialog form ol > li {
    border-top: 1px solid #eee;
}*/
.my-form ol:not(.show-order):not(.show-alpha):not(.show-upper-alpha) > li:not(.has-checkbox):not([class*=padding]) {
    list-style: none;
    padding: 4px 1em;
}
.my-form ol li:not(.has-checkbox) {
    position: relative;
}
.field-validation-error {
    position: absolute;
    left: 0;
    top: 0;
}
input.inline ~ .field-validation-error {
    position: absolute;
    left: 0;
    top: -27px;
}
.my-dialog form ol li:first-child {
	border-top:none;
}
.my-dialog form ol li:last-child {
    border-bottom: none;
}
.my-dialog form ol li ol.SubFieldset > li {
    display: block;
}
.my-dialog form ol li ol.SubFieldset > li > select {
    display: inline;
}
.inline-dropdown {
    display: inline;
    width: auto;
    position: relative;
    bottom: 4px;
}
@media only screen { 
    ol li label, 
    .grouphead {
	    display: block;
	    margin-bottom: 5px;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0.5em;
    }
}
.my-form-data li span {
    padding: 0 0.75em;
}
form ol > li input,
textarea,
.editable-table-cell-input {
    display: block;
    width: 100%;
}
form ol > li input,
textarea,
.editable-table-cell-input,
.my-editable-descendants input,
.my-input {
    height: 32px;
    padding: 3px 12px;
    /* margin-bottom: 20px; */
    font-family: 'Lato', Calibri, Arial, sans-serif;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 100;
    line-height: 1.5;
    background-image: none;
}
table > tbody > tr > td > .my-input {
    letter-spacing: inherit;
}

.text-filter:focus,
ol > li > input:focus,
ol > li > select:focus,
.checkbox > div.checkbox-overlay > input[type=checkbox]:focus ~.checkbox-container,
textarea:focus {
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, 0.6);
    outline-width: 0;
}
ol li ol li input {
	width: 100%;
	display: inline;
}
.checkbox-radio,
ol li input[type="checkbox"]:not([data-id]),
.my-checkbox {
    width: 35px;
    height: 34px;
    display: inline;
    margin-bottom: 0.2em;
    box-shadow: none;
    -webkit-box-shadow: none;
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
}

.checkbox-label {
    display: inline;
}

textarea {
    height: 100%;
}
ol > li > select,
.my-dropdown-model.IsFormSelect > li > [data-dropdown-current] {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
ol > li > select:not(.my-theme-6),
.has-editor-select select:not(.my-theme-6),
.my-dropdown-model.IsFormSelect > li > [data-dropdown-current],
.my-dropdown-no-arrows,
.my-dropdown-arrows,
.my-dropdown {
    font-weight: bold;
    border: 0;
    min-height: 30px;
}
.my-dropdown-arrows.my-rounded-border {
    text-align: center;
    padding-top: 7px;
    padding-right: 31px;
    padding-bottom: 7px;
}
ol > li > select,
.has-editor-select select,
.my-dropdown-model.IsFormSelect > li > [data-dropdown-current]
{
    border-radius: 8px;
}
.my-dropdown-inline {
    min-width: 3em;
}

.display {
    display: block;
    opacity: 1;
}

.no-display {
    display: none;
    opacity: 0;
}

.form-next, 
.form-prev {
	cursor:pointer;
	line-height:1.7em;
	padding:5px 20px;
	box-sizing:border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: border .2s;
	-webkit-transition: border .2s;
	transition: border .2s;	
	background-color:transparent;
	border:2px solid #121516;
	border-radius:2px;
	margin:20px 10px;
	font-size:18px;
	display:inline-block;
}
.form-next:hover, 
.form-prev:hover {
	border:2px solid transparent;
}
.form-next {
	float:right;
}
.form-prev {
	float:left;
}
ol li.noTopBorder {
	border-top: none; 
}
ol li.noBottomBorder {
	border-bottom:none;
}
fieldset.my-title,
.horizontal-center { 
    margin: 0 auto; 
}

.my-form-nav {
    position: absolute;
    top: -43px;
}
#section-transportation .my-form-nav {
    position: inherit;
}
.my-form-nav > ul {
    display: block;
    margin: 0 auto;
    max-width: 500px;
    padding: 0;
    padding-left: 40px;
}

.my-form-nav> ul > li {
    cursor: pointer;
    list-style: none;
    display: inline-block;
    padding: 10px 13px;
    margin-right: 5px;
    font-size: .9em;
    border-radius: 2px 2px 0 0;
    -webkit-box-shadow: inset 0 0 3px #253939;
    -moz-box-shadow: inset 0 0 3px #253939;
    box-shadow: inset 0 0 3px #253939;
    zoom: 1;
}

.my-form-nav > ul > li.activetab {
    font-weight: bold;
    border-top: 3px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 1.1em;
}

.my-form-nav > ul > li.activetab::before, 
.my-form-nav > ul > li.activetab::after {
    content: '';
    position: absolute;
    height: 3px;
    right: 100%;
    bottom: 0;
    width: 0;
    background: #538E96;
}

.mobile-header {
    text-align:center;
}

.name-wrapper {
    position: relative;
    height: 200px;
}
.SearchPASI-Identification
{
    float: right;
    position: relative;
    top: 7px;
}
.UseSmallFields > input, 
.SmallField {
    width: 70px;
}
.UseMediumFields > input,
.MediumField {
    width: 100px;
}
.UseLargeFields > input,
.LargeField {
    width: 200px;
}
.medium-field { width: 50px; }
.large-field { width: 75px; }
#ContactModel .ListAddButtonContainer { margin-top: 12px }
#ContactModel .ListItemHeader th {
    background: none !important
}
.tableTitle  
{
    font-weight: bold; 
    font-size: 21px;
    padding: 10px 10px; 
}
.ReportSearchModelFilters {
    display: inline;
}
.ReportSearchModelFilters > * {
    display: inline;
    width: 319px;
}
.EndDate
{
    position: relative;
    left: 4px;
}
.time-field {
    width: 2%
}

.edit-form-title {
    font-size: 34px;
    margin-top: 0;
    text-align: center;
    line-height: 0.8em;
    border: none;
    padding: 0.4em 0;
    list-style-type: none;
}
.form-control {
	display: block;
	width: 100%;
	height: 42px;
	padding: 6px 12px;
	margin-bottom:20px;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	letter-spacing:1px;
	font-size: 16px;
	font-weight:100;
	line-height: 1.5;
	background-image: none;
	border: 1px solid #538189;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, 0.6);
	outline-width:0;
}
.dialog-link-label-adjacent {
    padding-left: 1em;
    font-weight: bold;
}
.date-time-legend {
    position: absolute;
    top: 5px;
    right: 16px;
}
.my-date-label {
    position: relative;
    right: 0px;
}
.display-only label,
.display-only span.displayFor {
    display: inline;
}
.my-digital-signature {
    padding-bottom: 18px;
}
.my-initials {
    position: absolute;
    top: 0px;
    right: 0px;
}

ol > li.my-border,
ol ol.my-border {
    margin-top: 1em;
    margin-bottom: 1em;
}
ol > li.my-border > *,
ol ol.my-border > * {
    padding-left: 1em;
    padding-right: 1em;
}
ol > li.my-border > *:first-child,
ol ol.my-border > *:first-child {
    padding-top: 1em;
}
ol > li.my-border > *:last-child,
ol ol.my-border > *:last-child {
    padding-bottom: 1em;
}

ol.my-referral > li > div > div > label,
ol.my-referral > li > div > div > input[type='checkbox'] {
    display: inline;
}

ol.my-referral > li > h3 {
    display: flex;
    flex-direction: row;
    text-align: left;
    align-content: flex-start;
}

ol.my-referral > li > ol > li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

ol.my-referral input.input-validation-error,
ol.my-referral textarea.input-validation-error,
ol.my-referral select.input-validation-error {
    background: #FEF1EC;
    border: 1px solid #CD0A0A;
}
ol.my-referral input:read-only {
    background: #dedede;
}
.signhere {
    position: absolute;
    left: -65px;
    font-size: 3em;
}
.NestedListInput {
    position: relative;
    bottom: 6px;
    right: 8px;
}

.nested-list-item-autocomplete-description ~ .nested-form-remove-button {
    top: 3px;
}

#ConsentModel > div.no-inherited {
    border: none;
    padding: 0;
    margin: 0;
}

/*Adding classes to help using grids rather than tables*/
.grid-wrapper {
    display: grid;
}

.grid-template-two-column {
    grid-template-columns: 1fr 1fr;
}

.my-compare {
    position: absolute;
    right: -30%;
    top: 16px;
    padding: 0.8em;
    width: 30%;
}
[data-pg-number] .my-compare {
    right: -11%;
}


@media only screen {
    /*[data-isreadonly="True"] label[for],
    [data-isreadonly="True"] label[for] ~ .displayFor {

    }*/
    
    [data-isreadonly="True"] .displayFor {
        padding-left: 0.3em;
    }
}

@media only screen and (min-width:50px) and (max-width:600px) {
    .my-form-nav li {
	  padding: 10px 14px;
  }
  .my-form-nav ul {
	  padding-left:10px;  
  }
}
@media only screen and (min-width:50px) and (max-width:500px) {
  .my-form-nav ul {
	display:none;
  }
  .my-form {
	margin-top:50px;  
  }
  .my-button,
  .my-buttons a  {
	width:60%;  
  }
}
@media only screen and (min-width:50px) and (max-width:400px) {
  .form-next, 
  .form-prev {
	 padding:5px;  
  }
    .my-button,
    .my-buttons a {
        width: 80%;
        margin-right: 10%;
    }
}

.form-container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.form-container ol {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.form-container h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-container ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.form-container li {
    margin-bottom: 10px;
}

.form-container p {
    margin-bottom: 10px;
}

.form-container input[type="text"] {
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    padding: 5px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
}

.form-container input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.form-container input[type="submit"]:hover {
    background-color: #0062cc;
}

div.draggable-item {
    border:dashed 1px #aaaaaa;
    padding: 6px 12px;
    font-size: 1.2em;
  }
  span.draggable-handle {
    content: '....';
    width: 10px;
    height: 20px;
    display: inline-block;
    overflow: hidden;
    line-height: 5px;
    padding: 3px 4px;
    cursor: move;
    vertical-align: middle;
    margin-top: -.7em;
    margin-right: .3em;
    font-size: 12px;
    font-family: sans-serif;
    letter-spacing: 2px;
    color: #cccccc;
    text-shadow: 1px 0 1px black;
  }
  span.draggable-handle::after {
    content: '.. .. .. ..';
  }

#pdf-viewer {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: auto;
}

.pdf-page-canvas {
    display: block;
    margin: 5px auto;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.file-signature-container {
    padding: 20px;
    max-width: 100%;
    width: 100%;

    overflow-wrap: break-word; /* Preferred for modern browsers */
    word-wrap: break-word;   /* Fallback for older browsers */
    word-break: break-word;  /* Additional support for WebKit-based browsers */
    white-space: normal;     /* Allows text wrapping */
}

.signature-container {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 10px;
}

.ipp-signature-table {
    table-layout: fixed;
    text-align: center;
}

/* General styling for zoom controls */
.zoom-controls {
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center; /* Center the buttons horizontally */
    align-items: center;     /* Center the buttons vertically */
    gap: 10px;               /* Optional: Adds space between the buttons */
}

.zoom-link {
    font-size: 16px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
}

.zoom-link:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Disable pointer events for zoom controls during pinch-to-zoom */
#pdf-viewer.pinch-zoom-active ~ .zoom-controls .zoom-link {
    pointer-events: none;
}

/* Optionally style the zoom buttons based on current zoom level */
.zoom-link[style*="pointer-events: none"] {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Disable pointer events for zoom percentage */
.zoom-percentage {
    pointer-events: none;
}