﻿@import url(https://fonts.googleapis.com/css?family=Montserrat:400,600|Roboto);

body{
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing:1.0px;
}

/* forms */

input[type=text], .textfield {

    padding: 7px 2px;
 
    line-height: 1.5;
    border-radius: 3px;
	 box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    color: #000;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
   
	font-family:'Montserrat', sans-serif;
	-webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    transition: all 0.30s ease-in-out;
    outline: none;  
}
.longfield{
	width:75%;
}
.mediumfield{
	width:75%;
}

.fullfield{
    width:100%;
}


.ddl{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border:1px solid #BEBEBE;
    padding: 7px 1px;
    margin:0px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    transition: all 0.30s ease-in-out;
    outline: none;  

    }

.textfield:focus, 
.ddl:focus, 
input[type=text]:focus, 
input[type=tel]:focus, 
input[type=email]:focus, 
input[type=number]:focus,
.dropzone:focus {

    border: 1px solid #005A9C; 
    box-shadow: 0 0 8px rgba(0, 90, 156, 0.5);
    background-color: #FFF9F0; 


    outline: 2px solid #005A9C; 
    outline-offset: 2px;
}

label.spaceBeforeInput{
    margin-bottom:3px;
    display:inline-block;
}

ul > li{
	margin-bottom:20px;
}


.required {
    color: #B50000;
    font-weight: bold;
    margin-left: 3px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1; 
}

/* error Validator */
.tooltip {
    color: #B50000;
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;   
    margin-top: 4px;  
}

hr{
    margin: 10px 0;
    border: 1px dashed #ccc;
	width:100%;
	display:inline-block;
}

.clear
{
	clear:both;
}

.floatLeft
{
	float:left;
}

.smallFont{
    font-size: 12px;

}

.redText{
	color:#B00020;
}
.whiteText{
	color:white;
}
 
.margin2{
	margin:20px 0;
}
.margin5{
	margin:50px 0;
}
	 
.textAlignLeft{
	text-align:left;
}

.marginTop10{

    margin-top:10px;
}

.grayBox01{
	padding:20px;
	background-color:#f8f8f8;
	border-radius:4px;
}


/* buttons */

.button {
    padding: 11px 30px;
	font-family: 'Montserrat', sans-serif;
	border-radius: 24px;
	background-color: #2b54a0;
	border: 0px solid #2b54a0;
	color: #ffffff;
	cursor: pointer;
	font-size:14pt;
}
.button:hover{
	background-color:#6fa84c;
	color:#000000;
}

/* structures */


 #errorMessage, #successMessage, #statusMessage, #limitErrorMessage
{
	padding:20px;
	margin:50px auto;
	width:90%;
	border-radius:6px;
	border:1px solid red;
	font-size:16pt;
	text-align:center;
	font-size:  12pt;
	text-align:center;
}

 /* new message style 07232026 */
    /* message box */
.alert-message {
    display: block;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

/* success */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* error message */
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


#submitButtonDiv, .submitButtonDiv
{
  width:      100%;
	margin-top:20px;
  text-align: center;
}
	
.contentBox{
    width:100%;
}
	
.contentBox div.block{
	  width:      90%;
      margin:     auto;
      padding:10px;
}


.colLabelShort{
	width:25%;
	padding:5px 0px;
	display:inline-block;
	font-weight:normal;

}
.colFieldLong{
	width:74%;
	padding:5px 0px;
	display:inline-block;
   
}
.colDescFullWidth{
	width:100%;
	padding:5px 0px;
	display:inline-block;
}

   
div.col-3{
    padding:5px 0px;
    width:33%;
    margin:auto;
    float:left;
   }

fieldset{
	border: none;
    padding: 0;
    margin: 0;
}

.visuallyhidden{
    border:0;
    height:1px;
    margin:-1px;
    overflow:hidden;
    padding:0;
    position:absolute;
    width:1px;
    clip: rect(0 0 0 );
}

/* table - old style  - do not use anymore  */
.divTable{
	display: table;
	width: 90%;
    padding:0px;
    margin:     auto;
    table-layout: fixed;
}
.divTable .row {
	display: table-row;
}
.divTable .Heading {
	background-color: #EEE;
	display: table-header-group;
}
.divTable .colLabel {
	width:40%;
	padding:5px 5px 5px 0px;
	display: table-cell;
	font-weight:normal;
    vertical-align: middle;
}

.divTable .colField{
    width:59%;
	padding:5px 0px;
    display: table-cell;
    vertical-align: middle;
}

.divTable .colDescFullWidth{
	width:100%;
	padding:5px 0px;
    display: table-cell;
    vertical-align: middle;
}

.divTable div.col-2{
    padding:10px 0px;
    width:50%;
    display: table-cell;
    vertical-align: middle;
   }

.divTable div.col-4{
    padding:10px 0px;
    width:25%;
    display: table-cell;
    vertical-align: middle;
}

.divTable div.col-3{
    padding:10px 0px;
    width:33%;
    display: table-cell;
    vertical-align: middle;
   }
.divTable div.col-75{
    padding:10px 0px;
    width:75%;
    display: table-cell;
    vertical-align: middle;
   }

.divTable legend.col-4{
    padding:10px 0px;
    width:25%;
    float:left;
    vertical-align: middle;
}

/* new form flex style */
.form-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin: 20px;
    gap: 15px;
}

/* Row */
.form-group {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    width: 100%;
}
/* left label 40% */
.form-label {
    flex: 0 0 40%;
    padding: 10px 10px 10px 0;
    font-weight: 600;
    box-sizing: border-box;
}

/* right form 60% */
.form-control {
    flex: 0 0 60%;
    padding: 5px 0;
    box-sizing: border-box;
    position: relative;
}


/* 100% label and control */
.form-group.stacked {
    display: flex;
    flex-direction: column; 
    width: 100%;
    gap: 12px;
    margin-bottom: 25px;
}

.form-group.stacked .form-label,
.form-group.stacked .form-control {
    flex: 0 0 100%;
    width: 100%;
}


.main-label {
    /*font-size: 1.1rem;*/
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    width:100%;
}


.instruction-box {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #004a99;
    font-size: 0.9rem;
    color: #444;
}

.instruction-list {
    list-style-type: none;
    padding-left: 5px;
    margin-top: 10px;
}

.instruction-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}


.form-control-full {
    width: 100%;
}


.screenReader-only, .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}


#unavailableContent h1{
    color:red;
}

#unavailableContent .message{

}



/* for file upload */

        .legendPadding { 
            padding-top: 10px;
        }

        /* File Upload & Accessibility Styles */
        .hidden-input {
            display: none;
        }

        /* WCAG 2.2 AA Contrast Compliance (#0056b3 guarantees >= 4.5:1 ratio) */
        .custom-file-upload label {
            display: inline-block;
            background-color: #0056b3;
            color: #ffffff;
            padding: 8px 15px;
            font-size: 14px;
            cursor: pointer;
            border-radius: 4px;
        }

        .custom-file-upload label:hover,
        .custom-file-upload label:focus {
            background-color: #003d80;
        }

        .file-tag {
            display: inline-block;
            background-color: #e0f0ff;
            border: 1px solid #007acc;
            color: #004080;
            padding: 5px 10px;
            margin: 5px 5px 0 0;
            border-radius: 15px;
            font-size: 14px;
        }

        /* Dropzone Keyboard Focus Appearance (WCAG 2.2 Target) */
        #my-dropzone:focus {
            outline: 3px solid #0056b3 !important;
            outline-offset: 2px;
        }

        #my-dropzone.dz-max-files-reached {
            cursor: not-allowed !important;
            opacity: 0.65;
            background-color: #f8f9fa;
        }

        #my-dropzone.dz-max-files-reached .dz-preview .dz-remove {
            pointer-events: auto !important;
            cursor: pointer !important;
        }

        .error-text {
            color: #c00000;
            font-weight: bold;
        }



/* for phone responsive code */

	
@media screen and (max-width: 768px) {
    div.col-3{
		width:100%;

	}

    .form-group, 
    .photo-upload-group, 
    .form-container div {
        display: block !important;
        width: 100% !important;
        float: none !important;
        clear: both;
    }


    .form-container, 
    .form-control, 
    .textfield, 
    .dropzone, 
    fieldset {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important; 
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    .form-label, 
    .form-control, 
    .main-label, 
    .form-label-full, 
    .form-control-full {
        flex: 0 0 100% !important;
        width: 100% !important;
        padding: 5px 0 !important;
    }


    .upload-text {
        font-size: 14px;
        word-break: break-all;
    }


    .divTable, .divTable div {
        display: block !important;
        width: 100% !important;
    }
}

