﻿/*!
 * framework HPD -1.1.1 
 * this file provides global modification
 * Copyright NYC HPD.
 */

/*! 
 * HPD Global Font
 * Roboto Extended is available - check fontRoboto.css
 * Roboto Extended requires font-family and specific tags
 ********************************************************/
html, body {
    min-height: 100% !important;
    height: 100% !important;
}

html, body, .tooltip, .popover, .carousel-control .icon-next, table {
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
}

p {
    line-height: 20px;
}

.bold {
    font-weight: bold;
}

.block {
    display: block;
}
/**************   CPIM  ******************/
/*******************************************/

.container-nycidm {
    *zoom: 1;
    max-width: 940px;
    _width: 940px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

    .container-nycidm:after {
        content: "";
        display: table;
        clear: both
    }

    .container-nycidm:before, .container:after {
        display: table;
        line-height: 0;
        content: ""
    }

    .container-nycidm:after {
        clear: both;
    }

.nycidm-header .upper-header-black {
    background: #000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 25px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 0;
}

    .nycidm-header .upper-header-black a {
        color: #fff;
        text-decoration: none;
    }

.nycidm-header .small-nyc-logo {
    height: 15px;
    width: 40px;
    position: relative;
    top: -4px;
}

.nycidm-header .upper-header-black-title {
    position: relative;
    top: -7px;
}

.nycidm-header .upper-header-b, .nycidm-header .upper-header-a {
    float: right;
    padding-top: 5px;
}

.nycidm-header .vert-divide {
    margin: 0 10px;
}

.vert-divide-right {
    float: right;
    margin: 0 10px;
}
/**************   Header  ******************/
/*******************************************/
header {
    position: fixed;
    left: 0px;
    width: 100%;
    background-color: #FFF;
    z-index: 80;
}

.wrapper {
    clear: both;
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    display: block;
}

#hpd-header {
    height: 25px;
    max-width: 1024px;
    margin: 0 auto;
    color: #ae3d20;
}

#hpdAuthentication, #user {
    padding-top: 5px;
    float: right;
    font-size: 13px;
}

#user {
    float: left;
}

#grayBanner {
    clear: both;
    float: right;
    width: 50%;
    height: 60px;
    background-color: #b3b3b3;
}

#brandColorBanner {
    float: left;
    width: 50%;
    height: 60px;
    background-color: #ae3d20;
}

#logosBackground {
    position: absolute;
    left: 50%;
    width: 1024px;
    margin-left: -512px;
    height: 60px;
    z-index: 2;
    background-color: #ae3d20;
}

#appLogo {
    position: absolute;
    left: 0px;
    height: 60px;
    width: 232px;
    background-image: url(../_img/appLogo.svg);
    background-image: url(../_img/appLogo.png)\0/; /*ie8*/
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 11;
}

#nycLogo {
    float: right;
    height: 60px;
    width: 227px;
    background-image: url(../_img/nycLogo.svg);
    background-image: url(../_img/nycLogo.png)\0/; /*ie8*/
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

#environment {
    clear: both;
    display: table;
    width: 100%;
    background-attachment: fixed;
    background-image: url(../_img/environmentDev.png);
    background-repeat: repeat;
    Margin: 0;
}

#fixMarginTop {
    margin-top: 90px;
}
/*************  Main Nav  **************/
/********************* ***************/
.mainNav, .subNav {
    clear: both;
}

.placeHolder {
    visibility: hidden;
}

.tabrow {
    text-align: left;
    list-style: none;
}

    .tabrow li {
        background: none;
        display: inline;
    }

        .tabrow li a {
            display: inline-block;
            text-decoration: none;
            color: #ae3d20;
            font-size: 15px;
            margin: 2px 3px 6px 3px;
            padding: 2px 6px;
            border: 1px solid #e68d77;
            border-color: transparent;
            overflow: auto;
        }

            .tabrow li a:first-child {
                margin-left: 0px;
            }

            .tabrow li a:hover {
                border: 1px solid #e68d77;
                background-color: #fbd8d0;
            }

    .tabrow:before {
        z-index: 1;
    }

    .tabrow li.selected a {
        border: 1px solid #ae3d20;
        background-color: #fff;
    }

        .tabrow li.selected a:hover {
            border: 1px solid #e68d77;
            background-color: #fbd8d0;
        }
/************ Sub Nav *****************/
.tabrowSub {
    text-align: left;
    list-style: none;
    margin: 6px 2px;
    padding: 0;
    line-height: 24px;
    overflow: auto;
    clear: both;
    position: relative;
}

    .tabrowSub li {
        background: none;
        display: inline-block;
        border-left: 1px solid #ae3d20;
        border-right: 1px solid #ae3d20;
        border-color: transparent;
        position: relative;
        z-index: 0;
    }

        .tabrowSub li:first-child {
            margin-left: 6px;
        }

        .tabrowSub li a {
            display: inline-block;
            text-decoration: none;
            color: #ae3d20;
            font-size: 14px;
            min-width: 20px;
            padding: 0 6px;
        }

        .tabrowSub li:hover {
            border: 1px solid #ae3d20;
            z-index: 2;
        }

    .tabrowSub:after {
        position: absolute;
        content: "";
        width: 100%;
        bottom: 0;
        left: 0;
        border-bottom: 1px solid #ae3d20;
        z-index: 1;
    }

    .tabrowSub:before {
        z-index: 1;
    }

    .tabrowSub li.selected {
        border: 1px solid #ae3d20;
        z-index: 2;
        border-bottom-color: #fff;
    }

        .tabrowSub li.selected a:hover {
            cursor: default;
        }
/************ simple nav ***************/
.btnSet {
    overflow: auto;
    clear: both;
    width: 100%;
    margin-top: 10px;
}

.btnSetTopFieldset {
    overflow: auto;
    clear: both;
    width: 100%;
}
/*************  Footer  **************/
/********************* ***************/
#copyright {
    float: left;
    color: #B3B3B3;
    font-size: 10px;
    font-weight: normal;
    background-color: #fff;
    width: 100%;
    padding: 10px 0px;
}
/*************** loginIntranet ******************/
#loginMainBackground {
    display: block;
    width: 100%;
    height: 410px;
    position: relative;
    padding: 0 0 30px 0;
    background-image: url(../_img/loginImage.jpg)
}

#signin {
    position: absolute;
    right: 50px;
    top: 210px;
}

#formLogin {
    background-color: #fff;
    border: 1px dotted #000000;
    -webkit-box-shadow: 10px 10px 22px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 22px -5px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 22px -5px rgba(0,0,0,0.75);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    line-height: 18px;
    clear: both;
    width: 600px;
    padding: 20px;
}

    #formLogin legend {
        display: block;
        float: left;
        font-size: 22px;
        font-weight: bold;
        margin: 5px 10px 10px 5px;
    }

    #formLogin label {
        font-size: 14px;
    }

    #formLogin ol {
        margin: 0;
        padding: 0;
        clear: both;
        position: relative;
    }

    #formLogin li {
        display: block;
        list-style: none;
        float: left;
        padding: 5px 20px;
        width: 250px;
    }

        #formLogin li #Login {
            width: 260px;
        }

    #formLogin label {
        display: inline-block;
        width: auto;
        padding-bottom: 5px;
    }

    #formLogin input:not([type='reset']) {
        width: 250px;
    }

    #formLogin em {
        font-weight: bold;
        font-style: normal;
        color: #f00;
    }
/*************  Section  **************/
/********************* ***************/
.section {
    position: relative;
    border: 1px solid #e68d77;
    clear: both;
    padding: 10px;
    margin-top: 20px;
}

    .section legend {
        padding: 3px 10px;
        width: calc(100% - 30px);
        font-size: 15px;
        border: 1px solid #e68d77;
        background-color: #fbece8;
        color: #ae3d20;
    }

    .section div {
        float: left;
        position: relative;
    }

    .section.first {
        margin-top: 0px;
    }

.row {
    display: block;
    margin: 3px 10px;
    width: 100%;
}

.block {
    margin: 5px 3px;
    height: 26px;
}

    .block input, .block select {
        display: block;
        width: 96%;
        margin-top: 4px;
    }

.max, .maxBlock {
    width: 100%;
    padding: 2px 6px 6px;
    float: left;
}

    .maxBlock input, .maxBlock select, .maxBlock textarea {
        width: 95%;
        margin-top: 4px;
    }

.half, .halfBlock {
    margin: 5px 3px;
    width: calc(100% /2 - 10px);
}

    .halfBlock input, .halfBlock select {
        display: block;
        width: 96%;
        margin-top: 4px;
    }

.third, .thirdBlock {
    margin: 5px 3px;
    width: calc(100% /3 - 10px);
}

    .thirdBlock input, .thirdBlock select {
        display: block;
        width: 96%;
        margin-top: 4px;
    }

.fourth, .fourthBlock {
    margin: 5px 3px;
    width: calc(100% /4 - 10px);
}

    .fourthBlock input, .fourthBlock select {
        display: block;
        width: 96%;
        margin-top: 4px;
    }

.fifth, .fifthBlock {
    margin: 5px 3px;
    width: calc(100% /5 - 10px);
}

    .fifthBlock input, .fifthBlock select {
        display: block;
        width: 96%;
        margin-top: 4px;
    }

.sixth, .sixthBlock {
    margin: 5px 0px;
    width: calc(100% /6 - 30px);
}

    .sixthBlock input {
        display: block;
        width: 96%;
        margin-top: 4px;
    }
/*************  Form elements  **************/
/********************* ***************/

.inputHPD, .section input[type=text], .section textarea, .section input[type=password], .section input[type=date], .section input[type=email] {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #CCC;
    height: 22px;
    padding-left: 4px;
    font-size: 14px;
}

    .inputHPD:focus, .section input[type=text]:focus, .section textarea:focus, .section input[type=password]:focus, .section input[type=date]:focus, .section input[type=email]:focus {
        background-color: #fff4f2;
        border: 1px solid #e68d77;
        -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
        -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
        box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
    }

    .inputHPD:disabled, .section input[type=text]:disabled, .section textarea:disabled, .section input[type=password]:disabled, .section input[type=date]:disabled, .section input[type=email]:disabled {
        background: #f3f3f3;
        background-image: none;
        border: 1px solid #e4e4e4;
    }

.FieldDefinition {
    color: #878787;
    margin-top: 4px;
    font-size: 12px;
    width: 100%;
    display: block;
    padding-left: 10px;
}

.btnHPD, .link2btnHPD {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff !important;
    background-color: #ae3d20;
    border: 1px solid #e68d77;
    background-image: linear-gradient(to bottom, #d14926 0, #ae3d20 100%);
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none !important;
    padding: 2px 6px;
    text-shadow: 0px -1px 0px rgba(0,0,0,0.2)
}

.secondary {
    background-color: #e68d77;
    background-image: linear-gradient(to bottom, #f1a390 0, #e68d77 100%);
    border: 1px solid #D3D2D2;
}

.treasurer {
    background-color: #686868;
    background-image: linear-gradient(to bottom, #9B9999 0, #686868 100%);
    border: 1px solid #D3D2D2;
}

    .btnHPD:hover, .btnHPD:focus, .gray:hover, .gray:focus, .treasurer:hover, .treasurer:focus, .link2btnHPD:hover, link2btnHPD:focus {
        /*	-moz-box-shadow: 0px 0px 4px 1px rgba(102,102,102,1);
	-webkit-box-shadow: 0px 0px 4px 1px rgba(102,102,102,1);
	box-shadow: 0px 0px 4px 1px rgba(102,102,102,1);*/
        background-image: none;
    }

.clearFieldBtn {
    color: #3a6e86;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
}

    .clearFieldBtn:hover {
        text-shadow: 0px -1px 0px rgba(0,0,0,0.2)
    }

.errorInlineMessage {
    display: inline;
    color: #CC3333;
    border: 1px solid #CC3333;
    float: right;
    padding: 0 2px;
    font-size: 11px;
    font-weight: normal;
}

.messageLocationRightBottom {
    position: absolute;
    right: 6px;
    bottom: -18px;
}

.errorField {
    background-color: #ffe8e8;
}

.iconReq {
    color: #FF0004;
}

.hidden {
    display: none;
}

.alignRight {
    float: right;
}

.alignLeft {
    float: left;
}

.btnIcon, .link2btnIcon {
    background: none;
    border: none;
    color: inherit;
}

    .btnIcon:hover, .link2btnIcon:hover {
        opacity: 0.5;
    }

textarea {
    font-family: inherit;
    font-size: inherit;
}

.red {
    color: #FF0004;
}

.fa-calendar {
    cursor: pointer;
}

.datepicker, .datepickerNoIcon {
    width: 76px !important;
}

/****************** select menu ************************/
select {
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: button;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #CCC;
    background-image: url(../_img/arrowDownSelect.png);
    background-size: 7px 4px;
    background-position: calc(100% - 8px) center;
    background-repeat: no-repeat;
    height: 26px;
    padding-left: 4px !important;
    padding-right: 20px !important;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    cursor: pointer;
}

.selectError {
    background-color: #ffe8e8;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: button;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #CCC;
    background-image: url(../_img/arrowDownSelect.png);
    background-size: 7px 4px;
    background-position: calc(100% - 8px) center;
    background-repeat: no-repeat;
    height: 26px;
    padding-left: 4px !important;
    padding-right: 20px !important;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    cursor: pointer;
}

select::-ms-expand { /* for IE 11 */
    display: none;
}

select:disabled {
    background-image: url(../_img/arrowDownSelectDisabled.png);
    background-size: 7px 4px;
    background-position: calc(100% - 8px) center;
    background-repeat: no-repeat;
    border: 1px solid #e4e4e4 !important;
    background-color: #f3f3f3;
    cursor: default;
}

select:hover:enabled {
    background-image: url(../_img/arrowDownSelectHover.png);
    background-color: #fff4f2;
    border: 1px solid #e68d77;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
}
/*************  Tables  **************/
/********************* ***************/
.tableHPD {
    margin: 6px 0px;
    clear: both;
}

.scrollHeader {
    display: block;
}

.scrollRecords3 {
    display: block;
    overflow-y: auto;
    max-height: 110px;
}

.scrollRecords5 {
    display: block;
    overflow-y: auto;
    max-height: 170px;
}

.scrollRecords10 {
    display: block;
    overflow-y: auto;
    max-height: 340px;
}

.tableHPD th, .tableHPD td {
    padding: 10px 5px;
    position: relative;
}

.tableHPD th {
    border-bottom: 2px solid #000;
}

    .tableHPD th:hover {
        background-color: #F4F4F4;
        background-clip: padding-box;
    }

.tableHPD td {
    border-bottom: 1px dashed #c2c2c2
}

.tableHPD tbody tr:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}

.tableHPD tbody tr.noAction:hover {
    background-color: inherit;
    cursor: default;
}

.tableHeaderSort {
    position: absolute;
    color: #CDCDCD;
    right: 4px;
    top: 12px;
}

    .tableHeaderSort:hover, .tableHeaderSorthover {
        color: #000;
        cursor: pointer;
    }

    .tableHeaderSort.active {
        color: #000;
    }
/****** Sub table *************************/
.tableHPD .tableHPD {
    margin: 0px 0px;
    clear: both;
}

    .tableHPD .tableHPD tbody tr:hover {
        background-color: #FFFFFF;
        cursor: pointer;
    }

    .tableHPD .tableHPD th {
        border-bottom: 1px solid #000;
    }

    .tableHPD .tableHPD tr:last-child {
        border-bottom: 1px solid #000;
    }
/**************   Links ******************/
/*******************************************/
.linkTopMenu {
    text-decoration: none;
    color: #ae3d20;
    padding: 0px 4px;
    border-top: 3px solid transparent;
}

    .linkTopMenu:hover, .linkTopMenu:focus {
        border-top: 3px solid #ae3d20;
    }
/**************   System Message & Alerts  ******************/
/*******************************************/
.systemMessage {
    position: fixed;
    top: 90px;
    padding: 10px 20px;
    z-index: 85;
}

#systemMessageHeader {
    width: 982px;
}

.systemMessageInline {
    position: absolute;
    padding: 10px 20px;
    margin: 0px 10px;
    width: calc(100% - 62px);
    z-index: 85;
}

.systemMessageSection {
    width: calc(100% - 60px);
    padding: 10px;
    border: 1px solid #e68d77;
    border-left: 10px solid #e68d77;
    background-color: #fce8e3;
    color: #ae3d20;
}

.systemMessageSTable {
    width: calc(100% - 30px);
    padding: 10px;
    border: 1px solid #e68d77;
    border-left: 10px solid #e68d77;
    background-color: #fce8e3;
    color: #ae3d20;
}

.alertGreen {
    background-color: #b8f5b1;
    border: #00FF00 1px solid;
    color: #060;
}

.alertRed {
    background-color: #FF9F9F;
    border: #F00 1px solid;
    color: #900;
}

.alertAmber {
    background-color: #ffd6a6;
    border: #e7631c 1px solid;
    color: #C00;
}

.noRecordFound {
    background-color: #ffd6a6;
    color: #C00;
}

.btnCloseBox {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 5px;
    color: inherit;
    width: 10px;
}

    .btnCloseBox:hover {
        opacity: 0.5;
    }
/*************  Lightbox **************/
/********************* ***************/
#lightboxes, #loader {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: black;
    background: rgba(0,0,0,0.6);
}

#loader {
    background: white;
    background: rgba(255,255,255,0.6);
    z-index: 110;
}

.panel {
    position: fixed;
    top: 45%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
    display: inline-block;
    background-color: #e5e5e5;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.lightboxHeader {
    display: block;
    text-align: left;
    padding-left: 10px;
    height: 30px;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
    background-color: #A1A1A1;
    color: #fff;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.btnCloseIcon {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 5px;
    color: inherit;
}

    .btnCloseIcon:hover, .btnCloseIcon:focus {
        color: #333;
    }

#lb_loader {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #e68d77;
    width: 180px;
    cursor: progress;
    padding: 10px 0px 20px 0px;
    background: #fff; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#fff, #E1DEDE); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#fff, #E1DEDE); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#fff, #E1DEDE); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fff, #E1DEDE); /* Standard syntax */
}

.brandName, .loaderIcon {
    float: left;
    font-size: 22px;
    font-weight: bold;
    padding: 0px 70px 10px 70px;
    color: #ae3d20;
}

.loaderIcon {
    padding-left: 78px;
}

#lb_loader .fa-spinner {
    font-size: 20px;
    float: left;
}
/* Make it a marquee */
.marquee {
    width: 100%;
    margin-top: 10px;
    ;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

    .marquee span {
        display: inline-block;
        padding-left: 100%; /* show the marquee just outside the paragraph */
        animation: marquee 3s linear infinite;
        font-weight: bold;
        font-size: 13px;
        color: #ae3d20;
    }

        .marquee span:hover {
            animation-play-state: paused
        }
/* Make it move */
@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}
/*************  Title & Headers **************/
/********************* ***************/
.subjectSection {
    border: 1px solid #e68d77;
    background-color: #fbece8;
    color: #ae3d20;
    overflow: auto;
    margin-bottom: 10px;
    padding: 5px 10px;
}
