/* 
added css for select pickers with super long options.
the text will now wrap if too long.
*/
#nav-tabContent .dropdown-menu.inner li a span.text{
    width: 100%;
    word-break: break-word;
    white-space: break-spaces;
}

/*Sign in page */
#submit-signin-local{ 
    display: block;
    margin-bottom: 10px;
    width: 169px;
}
#content-container.signinpage #content.container .nav.nav-tabs.nav-account {display: none;}
#content-container.signinpage .page-content {margin-top: 0px;}
#content-container.signinpage .page-content.row .row .col-md-6 {width: 60%;}


/* Register Page */
#content-container.registerpage #content.container .nav.nav-tabs.nav-account {display: none;}
#content-container.registerpage .page-content {margin-top: 0px;}
#content-container.registerpage .page-content.row .row .col-md-6 {width: 60%;}

/* Input group buttons */
/*form .input-group .input-group-btn .btn ,.entity-grid .input-group .input-group-btn .btn {font-size: 13px !important;}*/

/* Custom entry */

#Estimated20MilAlert ,#Estimated10MilAlert {display: none;}
.margin-top{margin-top:15px;}
.margin-left{margin-left:15px;}
body .hide-content{display: none;}
.ProjTitle{padding: 15px 15px 15px 30px!important;
    font-size: 24px;
    font-weight: lighter;}

.dmaf-apply-box{
    position: relative;
}
.dmafBadge{
    position: absolute;
    right: 0px;
}

.dmaf-apply-box .panel-body h3{
    margin-top: 65px;
}

select option[disabled="disabled"]{
  color: #d1d1d1;
}

fieldset[aria-label="Asset Type"] legend,
fieldset[aria-label="Type d'actif"] legend{
    float: none;
}

.picklist.horizontal#infc_noncompetitiveprocurementrequiredyn {
    display: flex;
    align-items: center;
}

.picklist.horizontal#infc_noncompetitiveprocurementrequiredyn label {
    margin-right: 5px;
}

@media (max-width: 991px) {
    .dmaf-apply-box .panel-body h3{
        margin-top: 105px;
    }
}
@media (max-width: 337px) {
    .dmaf-apply-box .panel-body h3{
        margin-top: 105px;
    }
    .dmafBadge{
        width: 100%;
    }
    .dmafBadge img{
        width: 100%;
    }
}

#EntityFormPanel .btn{
font-size: 13px;
}

#EntityFormPanel .input-group-addon{
font-size: 13px;
}

#EntityFormPanel div.datetimepicker .input-group-addon{
    padding: 6px 14px; 
}

div.datetimepicker span.input-group-addon .fa-calendar {
    pointer-events: none; /* Let clicks pass-through the calendar icon */
} 

/*.glyphicon{
   font-size: 15px;
  top:0px;
 margin-right: 5px;
}*/

#eligibilityLabel .glyphicon{
    color: #e4b13d;
    font-size: 20px;
}

.attestation-glyph{
    font-size: 14px;
    top:0px;
    margin-right: 0px;
    vertical-align: middle;
}

.noHoverButtons{
    pointer-events: none;
}

.list-group-item.active a{
    color:white;
}

input.money.readonly{
    background-color: #eaeaea !important;
}

.list-group-item{
    padding:10px 10px !important;
}

.red-alert{
    font-weight: bold;
    font-size: 16px;
}

.section-title{
    font-size: 19px;
}

.uploadField > div{
    display: inline-block;
    margin-right: 10px;
}


/** PRINT CSS  START  **/
#printForm .alert.alert-info{
    display: none !important;
}
#printForm .input-group, 
#printForm .input-group-addon,
#printForm .input-group > p{
    width: auto;
}
#printForm .input-group-addon{
    padding: 0 0 0 5px;
}

#printForm .form-control{
    background-color: #ffffff;
    padding-left: 5px;
}

/* For activetransportationfund in old atfc */
#printForm .decimal:has(label#infc_activetransportationfund_label) .input-group-addon{
    background-color: #ffffff;
    border: none;
}

#footerSiteInfo{
    background: #26374a;
    padding: 3px;
}
#siteVersion{
    text-align: right;
    color: #ffffff;
}

#printableForm{ font-size: 14pt; }
#printableForm h1{ font-size: 1.5em; }
#printableForm h2{ font-size: 1.4em; }
#printableForm h3{ font-size: 1.3em; }
#printableForm h4{ font-size: 1.2em; }
#printableForm h5{ font-size: 1.1em; }
#printableForm .printableValue{ 
    display: inline-block;
    border: 1px #d5d5d5 solid;
    padding: 5px;
    border-radius: 5px;
}
#printableForm .printableSubSection{ 
    padding-left: 50px;
}

#printableForm .printAsset{
    border: 1px #8e8e8e solid;
}
#printableForm .printAsset p{
    padding-left: 5px;
    padding-right: 5px;
}
#printableForm .printAsset .printAssetHeader{
    background: #26374a;
    padding: 5px;
    color: #ffffff;
}

@media print {
    #navbar, #topPageNavigation, .footer{
        display: none !important;
    }
    header .brand{
        margin-bottom: 25px;
    }
    .alert.alert-info{
        display: none !important;
    }
    .pagebreak {
        page-break-before: always; 
    }
    label.control-label.required {
        word-break: normal;
    }
    @page {
        size: letter;
    }
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}
/** PRINT CSS   END   **/

.form-group.required .control-label .xrm-attribute-value:after {
    content: "*";
    color: red;
}
.form-group.required .control-label:after{
        content: "*";
        color: red;
}

caption.required h3:after{
    content: "*";
    color: red;
}

#ValidateButton, #SubmitButton{
    margin-left:5px;
    margin-right:5px;
}


.results tr[visible='false'],
.Primaryresults tr[visible='false'],
.Secondaryresults tr[visible='false'],
.provinceresults tr[visible='false'],
.cityresults tr[visible='false'],
.countryresults tr[visible='false'],
.organizationTyperesults tr[visible='false'],
.no-result{
  display:none;
}

.results tr[visible='true'],
.Primaryresults tr[visible='true'],
.Secondaryresults tr[visible='true'],
.provinceresults tr[visible='true'],
.cityresults tr[visible='true'],
.countryresults tr[visible='true'],
.organizationTyperesults tr[visible='true']{
  display:table-row;
}


.counter{
  padding:8px; 
  color:#ccc;
}

.modal-body {
    max-height: 500px;
    overflow-y: auto;
}

.modal-body-custom{
    max-height: none;
    overflow-y: visible;
}

.list-group-item.success, .list-group-item.success:focus, .list-group-item.success:hover {
    z-index: 2;
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.list-group-item.success a {
    color: #fff;
}

.form-group.cell {
        padding: 0 28px 0;
}

#FormBody .form-control.readonly, #FormBody .form-control[readonly][disabled], .form-readonly .form-control{
    background: 0 0;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    cursor: auto;
    padding-left: 0;
    padding-right: 0;
}

#searchForm{
    display: inline-block;
}
@media (max-width: 767px) {
    #websiteHeader .brand{
        margin: 15px auto;
    }
    #printForm .table-fluid td:before {
        word-break: break-all !important;
    }
}

#ctl00_ctl00_ContentContainer_MainContent_MainContent_captcha_ctl01{
    display: inline-block;
}

/* ERROR PAGES */
#errorPage{
    margin: 0 auto;
}
#errorCode{
    font-size: 40px;
}
#errorDefinition{
    font-size: 30px;
}
#errorMessage{
    font-size: 20px;
}
#errorCode,
#errorDefinition,
#errorMessage
{
    text-align: center;
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #errorCode{
        font-size: 70px;
    }
    #errorDefinition{
        font-size: 50px;
    }
    #errorMessage{
        font-size: 40px;
    }
}

/* CSS RESPONSIVE */
/* Extra small devices (portrait phones, less than 576px) */
body > .wrapper-body,
body > #content-container{ min-height: auto; height: auto; }
#topPageNavigation #searchForm .form-search{ max-width: 100%; float: none;}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    body > .wrapper-body,
    body > #content-container{ min-height: auto; height: auto; }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    body > .wrapper-body,
    body > #content-container{ min-height: calc(100vh - 310px); }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    body > .wrapper-body,
    body > #content-container{ min-height: calc(100vh - 268px); }
    #topPageNavigation #searchForm .form-search{ max-width: 360px; float: right;}
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    body > .wrapper-body,
    body > #content-container{ min-height: calc(100vh - 268px); }
}


/* Loading Icon Css*/
@keyframes loading-icon {
    0% { transform: translate(-50%,-50%) rotate(0deg); }
    100% { transform: translate(-50%,-50%) rotate(360deg); }
  }
  .loading-icon div {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 6px solid #ff0000;
    border-top-color: transparent;
    border-radius: 50%;
  }
  .loading-icon div {
    animation: loading-icon 1s linear infinite;
    top: 100px;
    left: 100px
  }
  .loading-container {
    width: 200px;
    height: 200px;
    display: block;
    overflow: hidden;
    background: none;
  }
  .loading-icon {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
  }
  .loading-icon div { box-sizing: content-box; }

    #uploadLoadingScreen{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(10,10,10,0.75);
    z-index: 10000;
    }

    #uploadLoadingScreen #uploadSuccessMessage,
    #uploadLoadingScreen #uploadErrorMessage,
    #uploadLoadingScreen #uploadLoadingMessage {
            position: relative;
            width: 100%;
            height: 300px;
            top: calc(50% - 150px);
            color: #FFFFFF;
            text-align: center;
        }
    #uploadLoadingScreen #uploadSuccessMessage .loading-container,
    #uploadLoadingScreen #uploadErrorMessage .loading-container,
    #uploadLoadingScreen #uploadLoadingMessage .loading-container {
            width: 100px;
            height: 100px;
            display: block;
            margin: 0 auto;
        }
    #uploadLoadingScreen #uploadSuccessMessage .loading-container .loading-message,
    #uploadLoadingScreen #uploadErrorMessage .loading-container .loading-message{
            position: absolute;
            top: 45%;
    }
    #uploadLoadingScreen #uploadLoadingMessage .loading-container .loading-icon{
        transform: translate(-50px, -50px);
    }
    #uploadLoadingScreen #uploadLoadingMessage .loading-container .loading-icon div{
        width: 75px;
        height: 75px;
    }
    #uploadLoadingScreen #uploadErrorMessage .loading-container .uploaderror-bg {
            position: relative;
            display: block;
            background: #d3080c;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: .5px solid rgba(255, 255, 255, .5);
    }
    #uploadLoadingScreen #uploadErrorMessage .loading-container .uploaderror-bg .uploaderror.line1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        height: 30px;
        width: 7px;
        background-color: #ffffff;
    }
    #uploadLoadingScreen #uploadErrorMessage .loading-container .uploaderror-bg .uploaderror.line2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        height: 30px;
        width: 7px;
        background-color: #ffffff;
    }
    #uploadLoadingScreen #uploadSuccessMessage .loading-container .uploadsuccess-bg {
            position: relative;
            display: block;
            background: #006600;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: .5px solid rgba(255, 255, 255, .5);
    }
  #uploadLoadingScreen #uploadSuccessMessage .loading-container .uploadsuccess-bg .uploadsuccess {
    position: absolute;
    top: calc(50% - 18px);
    left: calc(50% - 6px);
    display: inline-block;
    transform: rotate(45deg);
    height: 30px;
    width: 15px;
    border-bottom: 7px solid #ffffff;
    border-right: 7px solid #ffffff;
  }
  /* end of Loading Icon */


  
.panel-title a {
    text-decoration: none;
   }
   
   .panel.active > .panel-heading {
    color: #fff;
    background-color: #26374a;
    border-color: #2572b4;
       }
   
   .panel-heading a:after {
     font-family:'Glyphicons Halflings';
     content:"\e113";
     float: right;
     color: #f9ffe0;
   }
   .panel-heading a.collapsed:after {
     content:"\e114";
     color: #26374a;
   }
   .panel-success .panel-heading a.collapsed:after {
     content:"\e114";
     color: #f9ffe0;
   }

   #ProjectNavigation li.active a:before{
   
       padding: 10px;
       font-family: 'Glyphicons Halflings';
       content: "\270f"!important;
       color: white !important;
   }
   .ProfilNavigation a.active:before{
    padding: 10px;
    font-family: 'Glyphicons Halflings';
    content: "\270f"!important;
    color: white !important;
    }
    .ProfilNavigation a{
    text-decoration:none;
    }


   #ProjectNavigation li.panel_section_success a:before{
    padding: 10px;
    font-family: 'Glyphicons Halflings';
    content: "\e084";
    color: #ffffff;
}
   
   .panel.active > div > h4 > a:before{
       padding: 10px;
       font-family: 'Glyphicons Halflings';
       content: "\270f" !important;
       color: white !important;
   }
   
   .panel-success > div > h4 > a:before{
       padding: 10px;
       font-family: 'Glyphicons Halflings';
       content: "\e084";
       color: #ffffff;
   }
   .panel-success>.panel-heading {
    color: #ffffff;
    background-color: #006600;
    border-color: #629339;
}
/* PCF controls*/

.panel-success>.cdmPcfWetPanel-heading {
    color: #ffffff!important;
    background-color: #006600!important;
    border-color: #629339!important;
}


/* end of PCF controls*/


   .panel_section_success > a, 
   #ProjectNavigation > .panel_section_success > a , /*More specific to override Theme.min.css*/
   .panel_section_success > a:visited, 
   #ProjectNavigation > .panel_section_success > a:visited /*More specific to override Theme.min.css*/{
    color: #ffffff;
    background-color: #006600;
    border-color: #d6e9c6;
   }
   .panel_section_success > a:hover, 
   #ProjectNavigation > .panel_section_success > a:hover /*More specific to override Theme.min.css*/{
    color: #006600;
    background-color: #ffffff;
    border-color: #d6e9c6;
   }
   .panel_section_success > a.active, 
   #ProjectNavigation > .panel_section_success > a.active /*More specific to override Theme.min.css*/{
    color: #ffffff;
    background-color: #26374a;
    border-color: #d6e9c6;
   }
   .section-validated > a, 
   #ProjectNavigation > .section-validated > a, /*More specific to override Theme.min.css*/
   .section-validated > a:visited, 
   #ProjectNavigation > .section-validated > a:visited /*More specific to override Theme.min.css*/{
    color: #ffffff !important;
    background-color: #006600 !important;
    border-color: #d6e9c6;
   }
   .section-validated> a:hover, 
   #ProjectNavigation > .section-validated> a:hover /*More specific to override Theme.min.css*/{
    color: #006600 !important;
    background-color: #dff0d8 !important;
    border-color: #d6e9c6;
   }
   .section-validated> a.active, 
   #ProjectNavigation > .section-validated> a.active /*More specific to override Theme.min.css*/{
    color: #ffffff !important;
    background-color: #26374a !important;
    border-color: #d6e9c6;
   }


   .formError{
    border-color:red !important;
   }
   .formRequired:after{
    content: "*";
    color: red;
   }

   .alert-info-blueBG {
        color: #31708f;
        background-color: #d9edf7;
        border-color: #bce8f1;
        padding: 1em;
        margin-bottom: 30px
   }

    textarea {
    width:100% !important;
    }

    #liquid_form .form-custom-actions{
        width: 100%;
    }
    #liquid_form .form-custom-actions .col-sm-6{
        width: 100%;
    }
    #liquid_form .form-custom-actions .col-sm-6 .form-action-container-left{
        width: 100%;
    }

    .radio-inline label, .radio label{
        font-weight: normal !important;
    }

    .table .form-control{
        width: 100% !important;
    }

    .table .form-control select{
        left:0;
    }

#ProfilNavigation .incomplete-user-section{
    border-color: #FF0000;
}
#FormBodyProfil form input[type=text]{
    width: 100%;
}

/* SELECT/OPTION SET START */
.dropdown.bootstrap-select button{
    background-color: #FFFFFF;
    border: 1px solid #ccc;
    white-space: normal!important;
}
.dropdown.bootstrap-select button .caret{
    right: 6px;
}
.dropdown .dropdown-menu>li>a:focus, .dropdown .dropdown-menu>li>a:hover, .dropdown .dropdown-menu>.active>a:hover{
    color: #fff;
    background-color: #747373;
}
.dropdown .dropdown-menu>li>a:focus, .dropdown .dropdown-menu>li>a:hover, .dropdown .dropdown-menu>.active>a:hover{
    color: #fff;
    background-color: #747373;
}
.dropdown .dropdown-menu>li>a:focus{
    outline: none !important;
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
/* Align dropdown options in one row */
#CashFlowContingency div.dropdown-menu.open {
    max-width: none !important;
    min-width: 150% !important;
}
#CashFlowContingency div.filter-option-inner-inner{
    white-space: nowrap !important;
    overflow-x: hidden !important;
    text-overflow: ellipsis !important;
}
/* SELECT/OPTION SET END */

/* COMBOBOX START */
.combo-wrap {
    width: 100%;
    position: relative;
    display: inline-block;
}

.combobox {
    width: 100%;
    border: 1px solid #fff;
    box-sizing: border-box;
    position: relative;
    text-align: left;
    background-color: #fff;
    color: #212E59;
}

.button-trigger {
    position: absolute;
    font-size: 11px;
    line-height: 36px;
    border-radius: 4px;
    top: 0;
    right: 20px;
    padding: 0px 0px;
}

.listbox {
    display: none;
    position: absolute;
    top: 42px; /* the height of the input */
    left: 15px;
    width: calc(100% - 30px);
    box-sizing: border-box;
    padding: 0;
    background: #fff;
    z-index: 99;
    text-align: left;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 5px 15px #505050;
}
.listbox .option .list-name,
.listbox .option .list-type{
    display: inline-block;
    vertical-align: top;
}
.listbox .option .list-name{
    width: calc(50% - 6px);
}
.listbox .option .list-type{
    width: calc(50% - 6px);
    text-align: right;
}

.listbox.open {
    display: block;
}

.listbox .option {
    padding: 4px 12px;
    cursor: default;
}

.listbox .option.selected {
    color: #fff;
    background-color: #747373;
}

.listbox .option.active {
    color: #fff;
    background-color: #747373;
}

.listbox .underline {
    text-decoration: underline;
}
/* COMBOBOX END */

/* Main NavBar */ 

#mainNavBar li.active-link > a,
#mainNavBar li:has(ul > li.active-link) > a{
	color: white !important;
	font-weight: bold !important;
	font-size: 20px !important;
	background: #38414d;
}

#mainNavBar li.active-link > a:hover,
#mainNavBar li:has(ul > li.active-link) > a:hover{
	background: #337ab7;
}

#mainNavBar ul li.weblink {
    max-width: calc(100% / 5);/* change to the number of item in the main navbar*/
}
/* NED MAIN NAVBAR*/


h3.announcementtitle {font-size: 28.8px;

}

label.control-label.required {
    /*Overrides behavior*/
    word-break: normal !important;
}

/* Custom Table CSS */

.table>tbody>tr.active {
    background-color: #f0f0f0;
}

.footNotes{
    margin-left:15px;
}

/* Custom Dashboard CSS */

.gc-srvinfo>div>div>ul>li {
    font-size: 17px;
}

/* to fix modal headers, otherwise they are transparent */
.modal .modal-header{
    color: #ffffff;
    background-color: #38414d;
}

/* fixes button sizes on the apply-for-funding page. */
.btn-sizeadjust{
    width: 65%
}

#documentDownloadList{
    padding-left: 30px;
}
#documentDownloadList li{
    margin-top: 5px;
    margin-bottom: 5px;
}

#topPageNavigation > div > ul{
    position: absolute;
    right: 0px;
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 0px 15px 0px 0px;
}

#topPageNavigation #searchForm{
    margin-top: 40px;
}


#FormFieldSet table :disabled{
    background-color: transparent !important;
    border: none !important;
    cursor: default;
}

.form-group input[type=number]{
    width: 100%
}

label.checkbox-label.required:before{
    margin-left: 0.13em;
}

/* Select Picker Wordwrap */
.bootstrap-select .dropdown-menu li a{
    white-space: normal;
}

.fabulous{
    background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.submissions-ids{
    display: none;
}