body { overflow: scroll; }

input, select {
    padding: 10px;
    border-radius: 10px;
}

.ch-container {
    width: 1200px;
    margin: 0 auto;
}
.company-fieldlabel {
    text-align: right;
    padding-top: 10px;
}

.navbar { min-height: 40px !important; max-height: 40px !important; }

#searchbox, #newbooktextbox, #newpersontextbox, #newdnatextbox, #newdodtextbox, #newdobtextbox,
.ifa-modal-input,
.ifa-modal-select {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: left;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid rgba(0,0,0,0.1);
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;    
}

.ifa-modal-input { width: 500px; }
#editMain .ifa-modal-textarea { width: 100%; height: 150px; }

.ifa-cell-title {
    vertical-align: middle;
    padding-top:10px;
    padding-left: 0px;
}

.ifa-cell-content {
    vertical-align: middle;
    padding:10px 0;
}

.ifa-cell-button {
    text-align: right;
}

#listContent .row {
    padding: 4px 0;
    border-top: 1px solid #cecece;
    margin-top: 8px;    
}

.box-header {
    height: 49px;
}

.box-header h2 {
    margin-top: 8px;
}

.ifa-modal-fieldlabel {
    font-weight: 800;
}

.ifa-modal-fieldvalue {
    font-weight: 400;
}

.modal-title {
    font-weight: 400;
}

#editMain .row,
#editBenaming .row {
        margin: 8px 0;
}
.companyListHeader,
.companyListContent {
        margin: 0px 35px;
}

.companyListHeader .ifa-cell-title {
    font-weight: 800;
}

img.hover:hover { cursor: pointer; }

.w100 { width: 100%; }
.w150px { width: 150px; }
.w200px { width: 200px; }
.w250px { width: 250px; }
.w800px { width: 800px; }
.w1200px { width: 1200px; }

.ifa-tag { border: 1px solid #555555; border-radius: 10px; padding: 5px; }

.ifa-gallery {
    list-style: none;
}
.ifa-gallery-li {
    width: 23%;
    height: 320px;
    padding-left: 1%;
    padding-right: 1%;
    float: left;
    text-align: center;
}
.ifa-gallery-img-container { height: 280px; }
.ifa-gallery-img {
    max-width: 80%;
    max-height: 260px;
}
#show_image_popup{
    position: absolute; /*  so that not take place   */
    top: 50%;
    left: 50%;
    z-index: 1000; /*  adobe all elements   */
    transform: translate(-50%, -50%); /*  make center   */
  
    display: none; /*  to hide first time   */
}
#show_image_popup img{
max-width: 90%;
height: auto;
}
