﻿body {
}

.location-data {
    display: inline-block;
    margin-right: 2px;
}

.location-btn {
    width: 80px;
    height: 27px;
    cursor: pointer;
}
.AddDoorButton {
    width: 70px;
    height: 27px;
    cursor: pointer;
}
.attedance-dropdwon {
    width: 200px;
    height: 27px;
}

    .attedance-dropdwon select {
        width: 100%;
        height: 27px;
    }

/*.attedance-data-block-heading {
    width: 100%;
    background: #EDEDED;
    border: 1px solid silver;
    color: gray;
    margin-top: 10px;
    display: table-row-group;
    border-collapse: collapse;
}*/

    .attedance-data-block-heading .doorsection {
        width: 6.4%;
        display: table-cell;
        vertical-align: middle;
        /* position: relative;*/
        height: 100%;
    }

.doorsection-data {
    font-weight: 700;
    text-align: center;
    color: gray;
    /*position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;*/
}
    .doorsection-data input.chkMainGrid {
        float:none !important;
    }

    .attedance-data-block-heading {
        width: 1258px;
        background: #EDEDED;
        border: 1px solid silver;
        height: auto;
        position: relative;
        color: gray;
        font-weight: 700;
    }

.doorbelowsetion .section-border {
    height: 32px;
    line-height: 32px;
    display: table-cell;
}

.doorabovesetion {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

    .doorabovesetion span {
        width: 83%;
        display: block;
        margin: 0 auto;
        padding: 2px 0;
    }

.eventsection {
    padding: 3px;
    box-sizing: border-box;
    display: table-cell;
    width: 28.4%;
    height: 100%;
    border-left: 1px solid #e5e5e5;
    text-align: center;
    border-right: 1px solid #e5e5e5;
    vertical-align: top;
}

.section-border {
    border: 1px solid #e5e5e5;
    padding: 3px;
    box-sizing: border-box;
     border-bottom: none;
}
.applicablesection .application-upper:last-child {
    border-bottom: 1px solid #e5e5e5;
}
.doorlist {
    width: 180px;
    word-break: break-all;
}

.attedance-data-block-row .doorlist, .attedance-data-block-row .doorevent {
    display: table-cell;
    /*border: 1px solid #e5e5e5;*/
}
.attedance-data-block-row .doorlist {
    border-right: none;
    vertical-align: middle;
    padding: 11px;
    box-sizing: border-box;
}
.attedance-data-block-row .doorevent {
    border-left: none;
}

.attedance-data-block-row .doorevent {
    height: 100%;
    position: relative;
    vertical-align: middle;
    padding: 3px;
    box-sizing: border-box;
}
.doorevent .select2-container {
    width: 100%;
    vertical-align: middle;
}

.doorevent {
    width: 180px;
}

.border-top-none {
    border-top: 0;
}

.border-left-none {
    border-left: none;
}

.applicablesection {
    display: table-cell;
    width: 48.8%;
    height: 100%;
    border-right: 1px solid #e5e5e5;
    vertical-align: top;
    padding: 2px;
}
.attedance-data-block-heading .eventsection {
    border-right: 1px solid silver;
    border-left: 1px solid silver;
}
.conditionsection {
    border-right: 1px solid #e5e5e5;
}
.attedance-data-block-heading .conditionsection {
    border-right: 1px solid silver;
}
.attedance-data-block-heading .applicablesection {
    border-right: 1px solid silver;
}
/*.controller-block.control-block.attedanceinnerpopup {
    top: 50% !important;
}*/
.controller-block-container {
    transform: translateY(-44%);
    position: fixed;
    top: 70%;
    overflow-y: scroll;
}
.application-upper {
    width: 100%;
    display: block;
    text-align: center;
    line-height: 30px;
}
div#divadd {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 85vh;
    z-index: 99999;
}

.application-upper div {
    display: table-cell;
    text-align: center;
    width: 205px;
    vertical-align: middle;
    line-height: 20px;
}

    .application-upper li.select2-search-choice div {
        width: auto;
    }
.lookupname-block select {
    width: 170px;
    height: 26px;
}

.section-border.applicableto {
    width: 100%;
    box-sizing: border-box;
    line-height: 18px;
    height: 38px;
    display: table;
}

.border-bottom-none {
    border-bottom: none;
}

.conditionsection {
    width: 15%;
    display: table-cell;
    padding: 2px;
}
    .conditionsection .section-border.applicableto.app-block {
        line-height: 19px;
    }

.section-border.applicableto.app-block {
    line-height: 38px;
}

.attedance-data-block-row {
    width: 100%;
    display: table-row-group;
    background-color: rgb(255, 255, 255);
}

.doorsection {
    width: 6.4%;
    display: inline-block;
}
/*.attedance-data-block {
    display: table;
    margin-top: 10px;
}*/
attedance-data-block {
    display: table;
    margin-top: 10px;
    border: 1px #e5e5e5 solid;
    display: block;
    height: 500px;
    overflow-y: scroll;
    display: block;
    border-collapse: collapse;
}

.attedance-data-block-row .eventsection {
    vertical-align: middle;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
}

.attedance-data-block-row .applicablesection, .attedance-data-block-row .conditionsection {
    border-bottom: 1px solid #e5e5e5;
}

.attedance-data-block-row .doorsection {
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.attedance-data-block-row .conditionsection {
    width: 20%;
    display: table-cell;
    padding: 2px;
    vertical-align: middle;
    text-align: center;
}

    .attedance-data-block-row .conditionsection input[type="text"] {
        margin: 0 auto;
    }

.lookup-value input[type="text"] {
    height: 26px;
}

.attedance-data-block-row .doorevent:before {
    position: absolute;
    top: -172px;
    height: 1000vh;
    width: 1px;
    content: '';
    background: #e5e5e5;
    left: 0;
}

.attedance-data-block-row .doorlist {
    vertical-align: middle;
}
.doorabovesetion.section-border {
    border-bottom: 1px solid #e5e5e5;
}

.attedance-data-block-row .applicablesection {
    vertical-align: middle;
}

.attedance-data-block-row .doorevent input[type="text"] {
    height: 26px;
}

.attedance-data-block-row .conditionsection input[type="text"] {
    height: 26px;
}
/* controler block  */
.controller-block.control-block {
    display: none;
}

.controller-block-container {
    position: fixed;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9;
    width: 620px;
    border-radius: 10px;
    background: #fff;
    -webkit-box-shadow: #666 10px 2px 25px;
    -moz-box-shadow: #666 10px 2px 25px;
    box-shadow: #666 10px 2px 25px;
    height: 535px;
    transform: translateY(-33%);
}

.closebtn {
    width: 20px;
    height: 20px;
    position: absolute;
    right: -10px;
    top: -10px;
    background: #4c4c4c;
    border-radius: 50%;
    cursor: pointer;
}

    .closebtn:after {
        content: "x";
        position: absolute;
        top: 2px;
        right: 0;
        left: 0;
        text-align: center;
        font-size: 11px;
        color: #f8f8f8;
    }

.controller-data {
    margin: 5px 20px 15px;
   
}
.door-wise-search {
    margin-top: 10px;
    float: left;
    margin-bottom: 10px;
    padding-bottom: 10px;
    width: 100%;
}
.controller-row {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    float: left;
}

.controller-label {
    display: inline-block;
    width: 34%;
}

    .controller-label input[type="radio"] {
        margin-left: 0;
        margin-right: 3px;
        position: relative;
        top: -3px;
    }

.controller-row-data {
    display: inline-block;
    width: 64.8%;
}

.controller-dropdown {
    width: 49%;
    display: inline-block;
}
    .controller-dropdown:last-child {
        float: right;
    }

.controller-row-data select {
    width: 100%;
}

.controller-row-data select {
    width: 100%;
}

.searchblock {
    width: 300px;
    float: right;
    margin: 5px 3px 5px 0;
}

    .searchblock input {
        width: 100%;
        height: 27px;
    }

.setupborder {
    /*border: 1px solid #e5e5e5;*/
    border-radius: 4px;
    vertical-align: top;
    width: 100%;
    display: table;
}

.gridtable {
    margin: 5px 0;
    box-sizing: border-box;
    height: 200px;
    display: table;
    border-collapse: collapse;
}

.doorcheckdata.seconddoorcheckdata {
   
    width: 308px;
    line-height: 22px;
}

.gridheader {
    background: #EDEDED;
    border: 1px solid silver;
    display: table-row;
}

.doorcheckbox {
    display: table-cell;
    width: 29px;
    height: 27px;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    vertical-align: top;
    position: relative;
}

    .doorcheckbox input[type="checkbox"] {
        margin: 0 auto;
        top: 7px;
        position: absolute;
        left:0;
        right:0;
    }

.gridheader .doorcheckdata {
    font-weight: 700;
    color: gray;
    padding: 0px 0;
    display: table-cell;
    height: 27px;
    vertical-align: middle;
    line-height: 27px;
}
.griddetails {
    max-height: 168px;
    overflow-y: scroll;
    float: left;
    width: 100%;
    border: 1px solid silver;
}

.griddata {
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: table-row;
}



.gridheader .doorcheckdata {
    padding: 2px;
    box-sizing: border-box;
}

.doorcheckdata {
    display: table-cell;
    line-height: 27px;
    vertical-align: top;
    padding: 0 2px;
    box-sizing: border-box;
    width: 270px;


}

   
.button-group-popup {
    text-align: center;
    margin: 0px 0 10px;
    float: left;
    width: 100%;
    border-top: 1px solid #ccc;
    padding: 10px 0;
}

    .button-group-popup button {
        width: 70px;
        height: 27px;
    }
.doorcheckdata {
    display:table-cell;
    width: 206px;
}

.gridheader .seconddoorcheckdata {
    border-left: 1px solid silver;
    padding-left: 5px !important;
}

.griddetails .seconddoorcheckdata {
    border-left: 1px solid #e5e5e5;
    padding-left: 5px !important;
}
.door-heading-block {
    border-bottom: 1px solid #ccc;
    padding: 15px 20px;
    font-size: 15px;
    color: gray;
    font-weight: bold;
    background-color: whitesmoke;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
/*18/08/2020*/

.attedance-data-block-heading {
    
    background: #EDEDED;
    border: 1px solid silver;
    border-right-color: silver;
    border-right-style: solid;
    border-right-width: 1px;
    height: auto;
    position: relative;
    color: gray;
    font-weight: 700;
    border-collapse: collapse;
    display: block;
    margin-top: 0;
    border-right: navajowhite;
}

.attedance-data-block-row .conditionsection {
    width: 15%;
    display: table-cell;
    padding: 2px;
    vertical-align: middle;
    text-align: center;
}

.doorsection {
    width: 6%;
    display: inline-block;
}

.attedance-data-block-heading .doorsection {
    width: 6%;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    height: 100%;
    border-right: 1px solid silver !important;
}

/*.attedance-data-block-heading {
    width: 100%;
    background: #EDEDED;
    border: 1px solid silver;
    border-right-color: silver;
    border-right-style: solid;
    border-right-width: 1px;
    height: 87px;
    position: relative;
    color: gray;
    font-weight: 700;
    border-collapse: collapse;
    display: block;
    margin-top: 0;
    border-right: navajowhite;
}*/

.attedance-data-block {
    display: table;
    margin-top: 10px;
    border: 1px #e5e5e5 solid;
    display: block;
    height: 500px;
    display: block;
    border-collapse: collapse;
}
span.door-header {
    margin-bottom: 11px;
    float: left;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
.user-type-outer {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    float: left;
    width: 100%;
}
.attedance-row-data {
    height: 350px;
    overflow-y: auto;
}