@font-face{
    src: url('../fonts/Arial.woff');
    font-family: 'Arial';
}

@font-face{
    src: url('../fonts/KhmerOS_siemreap.ttf') format('woff');
    font-family: 'Khmer OS Siemreap';
}

@font-face {
    font-family: "typicons";
    src: url("https://cdnjs.cloudflare.com/ajax/libs/typicons/2.1.2/typicons.eot") format("embedded-opentype"),
        url("https://cdnjs.cloudflare.com/ajax/libs/typicons/2.1.2/typicons.woff") format("woff"),
        url("https://cdnjs.cloudflare.com/ajax/libs/typicons/2.1.2/typicons.ttf") format("truetype"),
        url("https://cdnjs.cloudflare.com/ajax/libs/typicons/2.1.2/typicons.svg") format("svg");
  }

body{
    font-family: 'Arial','Khmer OS Siemreap';
    font-size: 13px;
    width: 100%;
    margin: 0;
    background-color: #E5E4E2;
}

.db-main{
    display: block;
    height: 100%;
}

.nav{
    display: block;
    position: relative;
    height: 90px;
}

.nav > img {
    display: inline-block;
    position:absolute;
    width: 160px;
    height: 80px;
    margin-top: 15px;
    margin-left: 25px;
    border: 1px solid #d2d2d2;
    box-shadow: 0px 0px 5px #d2d2d2;
}

.nav-top{
    display: block;
    height: 60px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#4f85bb+0,4f85bb+100;Blue+3D+%239 */
    background: #4f85bb; /* Old browsers */
    background: -moz-linear-gradient(top,  #4f85bb 0%, #4f85bb 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #4f85bb 0%,#4f85bb 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #4f85bb 0%,#4f85bb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f85bb', endColorstr='#4f85bb',GradientType=0 ); /* IE6-9 */
    margin: 0px;
    padding: 0px;
    border-bottom: 1px solid #d2d2d2;
}

.nav-top-body{
    display: block;
    position: relative;
    margin: 0;
    margin: 0 auto;
    width: 75%;
    padding: 0;
    color: #ffffff;
}

.nav-top-body > li {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: auto;
    height: 60px;
}
.nav-top-body > li > a{
    display: block;
    margin: 0;
    margin-top: 10px;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #4f85bb;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
}

.nav-top-body > li > a:hover{
    background: #0f4966;
    cursor: pointer;
    text-decoration: none;
}

.nav-right-body {  
    float: right;
    height: 60px;
    margin: 0;
    direction: rtl;
}

.nav-right-body > li {
    float: left;
    list-style-type: none;
    margin: 8px;
}

.nav-right-body > li > a > img{
    display: inline-block;
    width: 33px;
    height: 32px;
    padding: 5px;
    margin-right: -5px;
}

.nav-right-body > li > a > img:hover{
    border:1px solid #4f85bb;
    border-radius: 5px;
    background: #0f4966;
    cursor: pointer;
}

.nav-right-body > li > button{
    display: block;
}

.btn-main{
    display: block;
    text-align: center;
    padding: 10px;
   /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff3019+0,cf0404+100;Red+3D */
    background: #ff3019; /* Old browsers */
    background: -moz-linear-gradient(top,  #ff3019 0%, #cf0404 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ff3019 0%,#cf0404 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */
    border:1px solid #e52d27;
    border-radius: 5px;
    min-width: 120px;
    color: #ffffff;
    text-decoration-color: none;
    text-decoration: none;
}

.btn-main:hover{
    cursor: pointer;
    background:#A80404;
    color: #ffffff;
    text-decoration-line: none;
}

.btn-main-back {
    width: 120px;
}

.footer{
    clear:both;
    position: relative;
    bottom: 0;
    width:100%;
    height: 90px;
    border-top: 1px solid #d2d2d2;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+62 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 62%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 62%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 62%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

.footer-center{
    display: block;
    margin:0 auto;
    width: 75%;
    font-weight: bold;
    margin-top: 10px;
}

.footer-center > ul{
    float: left;
    font-size: 11px;
    direction: ltr;
}

.footer-center > ul > li:first-child{
    font-size: 15px;
    margin-bottom: 5px;
}


.footer-center > ul > li{
    list-style-type: none;
}

.db-body{
    display: block;
    position: initial;
    margin-top: 20px;
}

.db-input{
    padding: 10px;
    border: 1px solid #d2d2d2;
    width: 98%;
    border-radius: 5px;
    margin: 0;
}

option:after{
    padding: 10em;
}

.db-title{
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 10px;
}

.db-to-center{
    text-align: center;
}

/*Box Search Form*/

.box-seach , .box-seach-withdata{
     display: block;
     position: relative;
     margin: 0 auto;
     width: 55%;
}

.box-seach {
    margin-top: 100px;
    font-size: 25px;   
}

.box-seach-withdata {
    margin-top: 0px;   
}

.box-seach > div:first-child > div{
    text-align: center;
    height: 100px;
    font-weight: bold;
    font-size: 30px;
}

.box-seach-withdata > div:first-child > div{
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.box-seach > div.row {
    width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.box-seach > div:nth-child(2) > div:first-child{
    font-size: 16px;
}

.box-seach-withdata > div:nth-child(2) > div:first-child{
    font-size: 16px;
}

.box-seach > div > div {
    margin: 5px;
    margin-bottom: 10px;
    border: 1px;
}

.box-seach-withdata > div > div {
    margin: 3px;
    margin-bottom: 20px;
    border: 1px;
}

.box-seach-withdata > div > div > select {
    padding: 5px;
}

.box-seach > div > div > label{
    display: block;
    padding: 5px;
}

.box-registration{
    margin:0 auto;
    width:100%;
}

/*End Box Search Form*/

.db-search-view{
    display: block;
    position: relative;
    min-height: 400px; 
    background-color:#ffffff;
    
}
.db-searchingform {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.db-searchingform  .footer{
    position: relative;
}

.db-label{
    display: block;
    position: relative;
    font-size: 12px;
    padding: 3px;
    font-style: italic;
    background-color: #fffbce;
    padding-left: 10px;
    width: 100%;
    border:1px solid #fffbce;
    margin:0;
}

/*Table Result Database*/

.db-table {
    width: 100%;
    background-color: #ffffff;
    table-layout: fixed;
    word-break: break-all;
    border-collapse: collapse;
}

.db-table > thead {
    
    color: #ffffff;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#4f85bb+0,4f85bb+100;Blue+3D+%239 */
    background: #4f85bb; /* Old browsers */
    background: -moz-linear-gradient(top,  #4f85bb 0%, #4f85bb 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #4f85bb 0%,#4f85bb 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #4f85bb 0%,#4f85bb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f85bb', endColorstr='#4f85bb',GradientType=0 ); /* IE6-9 */
}

.db-table > tbody {
    
}

.db-table > thead > tr > th , .db-table > tbody > tr > td {
    border: 1px solid #d2d2d2;
} 

.db-table > thead > tr > th{
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.db-table > tbody > tr > td{
    padding: 15px;
    padding-left: 5px;
}

.db-table > thead > tr > th:nth-child(1), .db-table > tbody > tr > td:nth-child(1){
    text-align: center;
    width: 10% !important;
}

.db-table > thead > tr > th:nth-child(2), .db-table > tbody > tr > td:nth-child(2){
    text-align: center;
    width: 25% !important;
}


.db-table > thead > tr > th:nth-child(4), .db-table > tbody > tr > td:nth-child(4){
    width: 30% !important;
}

.db-table > thead > tr > th:nth-child(5) ,.db-table > tbody > tr > td:nth-child(5){
    text-align: center;
    width:5% !important;
}

.db-table > tbody > tr > td > ul > li{
    list-style: none;
    padding: 5px;
}

.db-table-ul-name > li{
    padding: 5px;
    font-weight: bolder;
}

.db-table-ul-name > li:nth-child(1){
    font-family: 'Khmer OS Siemreap';
    font-size: 16px;
}

.db-table-ul-name > li:nth-child(1), .db-table-ul-name > li:nth-child(2){
    color: #4f85bb;
}

.db-table-ul-sector > li {
    font-weight: bolder;
}

.db-table-ul-contact > li > span{
    font-weight:900;  
}

.db-table-ul-contact > li:nth-child(1) > span, .db-table-ul-contact > li:nth-child(3) > span{
    color: #499bea;
    text-decoration: underline;   
}



hr.linedetail{
    border-top: 2px solid #808080;
    margin-top: -3px;
    width:99%;
}


/*End Table Result Database*/

/*Indicator Selected*/

.db-indicator{
    position: relative;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 5px;
}

.db-indicator > li {
    display: inline-block;
    list-style: none;
    color:#fff;
    margin: 2px;
}

.db-indicator > li > a {
    display: block;
    min-width: 100px;
    border:2px solid #fff;
    border-right:0; 
    line-height:30px;visibility: 9px;
    padding:0 25px;
    position:relative;
    text-decoration:none;
    background:#333;
    margin-right: -3px;
    color:#000000;
    background-color: #d2d2d2;
    border-left: none;
}


.db-indicator > li > a.tab-active{
    border:none;
    background-color: #4f85bb;
    color: #ffffff;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 17px;
}

.db-indicator > li > a.tab-active:before {
    border-top:20px solid transparent;
    border-left:12px solid #fff;
    border-bottom:22px solid transparent;
}

.db-indicator > li > a.tab-active:after {
    border-top:20px solid transparent;
    border-left:12px solid #4f85bb;
    border-bottom:22px solid transparent;
}

.db-indicator > li > a:before{
    border-top:14px solid transparent;
    border-left:12px solid #fff;
    border-bottom:16px solid transparent;
    content:"";
    position:absolute;
    left:0px;
    top:0;
    transition:opacity 1s ease-out;
}

.db-indicator > li > a:after{
    border-top:14px solid transparent;
    border-left:12px solid #d2d2d2;
    border-bottom:16px solid transparent;
    content:"";
    position:absolute;
    right:-12px;
    top:0;
    transition:opacity 1s ease-out;
    z-index: 99;
}

.db-form{
    margin:0 auto;
    margin: 5px;
    padding: 5px;
}

.db-form-registration{
    margin: 0 auto;
    width: 600px;
}

.db-listngo-image{
    width: 100px;
    height: 110px;
    align-items: center;
    object-fit: contain;
}


/*End Indicator Selected*/

/*end bootstrap modification*/

#logo_preview{
    min-width: 10%;
    min-height: 15%;
    max-width: 15%;
    max-height: 20%;
    padding: 10px;
    border: 1px solid #d2d2d2;
    margin-top: 5px;
    background-position: center;
}

.ngo-alert-error{
    margin-top: 5px;
    margin-bottom: -5px;
}

.ngo-login-alert-error{
    margin-bottom: 8px;
}

.form-group.required .control-label:after {
    content:"*";
    color:red;
}

.label-title{
    background-color: #d2d2d2;
    border-radius: 5px;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    margin-top:10px;
}

.label-question{
    padding: 5px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}


/*table */
.db-org-profit{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.db-org-profit > thead {
    background-color: #d2d2d2;
}

.db-org-profit > thead > tr > th {
    padding: 15px;
}

.db-org-profit > tbody > tr > td {

}

.db-org-profit > thead > tr > th, .db-org-profit > tbody > tr > td {
    border:1px solid #808080;
}

.db-org-profit > thead > tr > th:first-child , .db-org-profit > tbody > tr > td:first-child {
    width: 7%;
    text-align: center;
}

.db-org-profit > tbody > tr > td:last-child {
    width: 5%;
    text-align: center;
}

.db-org-profit input , .db-org-profit select {
    border:none;
    padding: 10px;
    display: block;
    width: 95%;
    margin: 1px;
    background-color: #f8f8f8;
}

.db-org-profit button{
    width: auto;
    min-width: auto;
    color: #ffffff;
}

.btn-newrow {
    margin-bottom: 10px;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100%;
}

.bootstrap-select:not(.input-group-btn), .bootstrap-select[class*="col-"] {
    float: none;
    display: inline-block;
    margin-left: 0;
}

.dropup, .dropright, .dropdown, .dropleft {
    position: relative;
}

.bootstrap-select > select {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    display: block !important;
    width: 0.5px !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder, .bootstrap-select > .dropdown-toggle.bs-placeholder:hover, .bootstrap-select > .dropdown-toggle.bs-placeholder:focus, .bootstrap-select > .dropdown-toggle.bs-placeholder:active {
    color: #999;
}

.bootstrap-select > .dropdown-toggle {
    position: relative;
    width: 100%;
    z-index: 1;
    text-align: right;
    white-space: nowrap;
}

button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
    cursor: pointer;
}

.btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    user-select: none;
    background-color: transparent;
    border: 1px solid #808080;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    width: 100%;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-green{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#b4ddb4+0,83c783+0,52b152+29,008a00+67 */
    background: #b4ddb4; /* Old browsers */
    background: -moz-linear-gradient(top,  #b4ddb4 0%, #83c783 0%, #52b152 29%, #008a00 67%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #b4ddb4 0%,#83c783 0%,#52b152 29%,#008a00 67%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #b4ddb4 0%,#83c783 0%,#52b152 29%,#008a00 67%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4ddb4', endColorstr='#008a00',GradientType=0 ); /* IE6-9 */

    color:#ffffff;
    border: 1px solid #008a00;
}

.btn-green:hover{
    background:#299a0b;
}

input, button, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.bootstrap-select .dropdown-toggle:before {
    content: '';
    display: inline-block;
}

.dropup .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
}

.bootstrap-select .dropdown-toggle .filter-option {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: inherit;
    padding-right: inherit;
    padding-bottom: inherit;
    padding-left: inherit;
    height: 100%;
    width: 100%;
    text-align: left;
}

.bootstrap-select > .dropdown-toggle {
    position: relative;
    width: 100%;
    z-index: 1;
    text-align: right;
    white-space: nowrap;
}

button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
    cursor: pointer;
}

.bootstrap-select .dropdown-menu {
    min-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.bs-searchbox,
.bs-actionsbox,
.bs-donebutton {
  padding: 4px 8px;
}

.bs-searchbox + .bs-actionsbox {
    padding: 0 8px 4px;
  }
.bs-searchbox input {
    display: block;
    margin-bottom: 0;
    width: 100%;
    float: none;
}

.bootstrap-select .dropdown-menu > .inner:focus {
    outline: none !important;
  }
.bootstrap-select .dropdown-menu.inner {
    position: static;
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.dropdown-menu {
    z-index: 1060;
}

.bootstrap-select .dropdown-menu {
    min-width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .bootstrap-select .dropdown-menu > .inner:focus {
    outline: none !important;
  }
  .bootstrap-select .dropdown-menu.inner {
    position: static;
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .bootstrap-select .dropdown-menu li {
    position: relative;
  }
  .bootstrap-select .dropdown-menu li.active small {
    color: #fff;
  }
  .bootstrap-select .dropdown-menu li.disabled a {
    cursor: not-allowed;
  }
  
  .bootstrap-select .dropdown-menu li a {
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .bootstrap-select .dropdown-menu li a.opt {
    position: relative;
    padding-left: 2.25em;
  }
  .bootstrap-select .dropdown-menu li a span.check-mark {
    display: none;
  }
  .bootstrap-select .dropdown-menu li a span.text {
    display: inline-block;
  }
  .bootstrap-select .dropdown-menu li small {
    padding-left: 0.5em;
  }
  .bootstrap-select .dropdown-menu .notify {
    position: absolute;
    bottom: 5px;
    width: 96%;
    margin: 0 2%;
    min-height: 26px;
    padding: 3px 5px;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    opacity: 0.9;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }

  .bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    position: absolute;
    display: inline-block;
    right: 15px;
    top: 5px;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    position: absolute;
    display: inline-block;
    right: 15px;
    top: 5px;
  }
  
  .bootstrap-select .bs-ok-default:after {
    content: '';
    display: block;
    width: 0.5em;
    height: 1em;
    border-style: solid;
    border-width: 0 0.26em 0.26em 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
         -o-transform: rotate(45deg);
            transform: rotate(45deg);
  }

.db-login-box {
    padding: 20px 15px 15px 20px;
    margin:0 auto;
    margin-top: 30px;
    width: 550px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f6f6f6+47,ededed+100;White+3D+%231 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
}

.login-box {
    margin:0 auto;
    margin-top: 30px;
    width: 550px;
}

.btn-login{
    float: right;
    min-width: 150px;
    right: 0;
    bottom: 0;
}

.email-text{
    color: #ffffff;   
    font-size: 17px;
    padding: 5px;
}

.order-button {
    direction: rtl;
}

.order-button > button {
    float: right;
    margin-left: 10px;
}

.box-laststep {
    margin: 0 auto;
    margin-top: 10px;
    padding: 5px;
    border: 1px solid #d2d2d2;
    width: 50%;
    min-height: 300px;
    border-radius: 10px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */

}

.box-laststep p {
    margin:10px;
    margin-top:50px;
    font-size: 15px;
}

.last-btn {
    margin: 0 auto;
    margin-top: 170px;
    padding: 10px;
} 

.btn-search-ngo{
    display: block;
    text-align: center;
    padding: 5px;
   /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff3019+0,cf0404+100;Red+3D */
    background: #ff3019; /* Old browsers */
    background: -moz-linear-gradient(top,  #ff3019 0%, #cf0404 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ff3019 0%,#cf0404 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */
    border:1px solid #e52d27;
    border-radius: 5px;
    color: #ffffff;
    text-decoration-color: none;
}

.btn-search-ngo:hover{
    cursor: pointer;
    background:#A80404;
    color: #ffffff;
    text-decoration-line: none;
}



/* Detail Information */

.box-detail{
    margin: 0;
}
.box-detail-search{
    margin: 0 auto;
    width: 80%;
}

.box-detail-infor  {
    margin: 0 auto;
    width: 80%;
    border: 1px solid #ffffff; 
    margin-bottom: 20px; 
    min-height: 900px;
    background: #ffffff; /* Old browsers */
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.box-detail-ngo-infor{
    min-height: 150px;
}

.box-detail-title-kh{
    font-size: 30px;
    font-family: 'Khmer OS Siemreap';
    font-weight: bolder;
    margin: 5px;
}

.box-detail-title-eng{
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    margin: 5px;
}
.box-detail-lbl-caption{
    font-size: 15px;
    font-weight: bolder;
    color: #4f85bb;
    margin: 5px;
}

.box-detail-lbl-value{
    font-size: 15px;
    margin: 5px;
}
.box-detail-sub-title{
    background: #4f85bb;
    color: #ffffff;
    padding: 10px;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: bolder;
}

.box-detail-view-image{
    width: 200px;
    height: 210px;
    align-items: center;
    object-fit: contain;
}

.box-detail-child {
    margin: 15px;
}

.table-detail > thead {
    background-color: #4f85bb;
    color: #ffffff;
    font-size: 15px;
    font-weight: bolder;
} 

.box-lbl-title{
    font-weight: bold;
    font-size: 22px;
    color: #ffffff;
}

.box-header-title{
    padding: 10px;
    border: 1px solid #4f85bb;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#4f85bb+0,4f85bb+100;Blue+3D+%239 */
    background: #4f85bb; /* Old browsers */
    background: -moz-linear-gradient(top,  #4f85bb 0%, #4f85bb 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #4f85bb 0%,#4f85bb 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #4f85bb 0%,#4f85bb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f85bb', endColorstr='#4f85bb',GradientType=0 ); /* IE6-9 */
}

.box-lbl-ngo {
    font-size: 25px;
}


.box-lbl-value {
    margin: 5px;
    padding: 3px;
    font-weight: bold;
    font-size:13px;
    display: block;
    background-color: #abd4fc;
    min-height: 80%;
    word-wrap: break-word;
    -ms-word-wrap: break-word;
} 

.box-lbl-value .add-heigth-text {
    height: 150%;
}

.box-lbl-caption{
    font-weight: 900;
    color:#4d4d4d; 
    margin-left: 5px;
    font-size: 13px;
} 


.box-lbl-success{
    color: #ffffff;
    background-color: #33cc33;
    padding: 3px;
    border-radius: 7px;
    border:1px solid #f2f2f2;
} 

.box-lbl-danger{
    color: #ffffff;
    background-color: #ff3019; 
    padding: 3px;
}

.box-lbl-pending{
    color:#ffffff;
    background-color: #ffcc00;
    padding: 3px;
}


.box-ngo{
    margin-top: 10px;
    margin-bottom: 10px;
}

.db-row{
    clear: both;
    margin-bottom: 5px;
}

.db-col-9, .db-col-3, .db-col-6, .db-col-12 {
    display: inline-block;
    vertical-align: top;
    margin: 3px;
}

.db-col-12{
    width: 99%;
}

.db-col-9{
    width: 69%;
}

.db-col-6{
    width: 48%;
}

.db-col-3 {
    width: 29%;
}

.box-logo{
    position: relative;
}

.box-logo-position{
    position: absolute;
    top: 10px;
    right: 10px;
}

.box-logo-right{
    position:relative;
}

.box-btn{
    display: inline-block;
}

.box-hr {
    margin-top: -5px;
    margin-bottom: -10px;
}

.box-top-margin{
    margin-top: 130px;
}

.box-lbl-group{
    padding-left: 5px;
    font-weight: bold;
    font-size: 16px;
    margin-top:-5px;
}

.box-to-right{
    clear: both;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.box-change-pwd{
    margin:0 auto;
    width: 50%;
}

.public-info{
    width: 99%;
    text-align: left;
}

.public-info > label {
    padding-bottom: 10px;
} 

.public-info > li {
    list-style: none;
    margin-left: 10px;
    padding: 2px;
}

/* ngo update information */

.ngo-infor{
    width: 90%;
    border-radius: 5px;
    margin:0 auto;
}

.ngo-infor .footer {
    position:relative;
}


.ngo-infor-left, .ngo-infor-right {
    display:inline-block; 
    position:relative;
    vertical-align: top;
}

.ngo-infor-left {
    width:19%;
}

.ngo-infor-right {
    float: right;
    width:79%;
}

.ngo-data-box{
    display: block;
    margin: 0px;
    border:1px solid #d2d2d2;
    border-radius: 5px;
    margin-bottom:15px;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ededed+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#ededed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
}

.ngo-profile-infor{
    display: block;
    position:relative;
    width: 95%;
    border-radius: 5px;
    padding:10px;
    padding-left: 20px;
    border:1px solid #d2d2d2;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ededed+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#ededed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
}

.ngo-profile-infor  a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ngo-data-cover{
    padding:8px;
}

.ngo-profile-image {
    display:block;
    margin:0 auto;
    width:60%;
    height: 100%;
}

.ngo-btn-profile {
    display: block;
    margin:0 auto;
    width:75%;
    padding-left: 5px;
    text-align: left;
}

 .profile-image {
     margin-top: 20px;
     margin-bottom:30px;
 }

.typcn-plus:before {
    font-family: typicons;
    content: '\e0cf';
    color: white;
    font-size: 20px;
}

.typcn-delete:before {
  content: "\e058";
  font-family: typicons;
  color: white;
  font-size: 20px;
}

.typcn-view:before {
    font-family: typicons;
    content: '\e06e';
    color: white;
    font-size: 20px;
}

.btn-edit-row{
    border: 3px;
    border-radius: 5px;
    margin-left: 2px;
    
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#299a0b+0,299a0b+100;Green+Flat+%231 */
    background: #299a0b; /* Old browsers */
    background: -moz-linear-gradient(top,  #299a0b 0%, #299a0b 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #299a0b 0%,#299a0b 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #299a0b 0%,#299a0b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#299a0b', endColorstr='#299a0b',GradientType=0 ); /* IE6-9 */
  }

  .btn-reset-row{
      border:3px;
      border-radius: 5px;
      margin-left:2px;

      /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#499bea+0,207ce5+100;Blue+3d+%237 */
      background: #499bea; /* Old browsers */
        background: -moz-linear-gradient(top,  #499bea 0%, #207ce5 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #499bea 0%,#207ce5 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #499bea 0%,#207ce5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#207ce5',GradientType=0 ); /* IE6-9 */
  }

  .btn-edit-row:hover{
    background: #9dd53a;
  }


  .btn-del-row{
    border: 3px;
    border-radius: 5px;
    margin-left: 2px;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff3019+0,cf0404+100;Red+3D */
    background: #ff3019; /* Old browsers */
    background: -moz-linear-gradient(top,  #ff3019 0%, #cf0404 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ff3019 0%,#cf0404 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */
  }

  .btn-del-row:hover{
      background: #f95757;
  }

  .btn-view-row{
    padding: 7px;
    background-color: #F9B428;
    text-decoration: none;
    border: 1px solid #F9B428;
    border-radius: 5px;
  }

  .btn-view-row:hover{
    background-color: #ffd276; 
    border: 1px solid #ffd276;   
}

  .typcn-trash:before {
    content: "\e123";
    font-family: typicons;
    color: white;
    font-size: 20px;
}

.box {
    display: block;
    margin-bottom: 35px;
}

.box-header{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #4f85bb;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#4f85bb+0,4f85bb+100;Blue+3D+%239 */
    background: #4f85bb; /* Old browsers */
    background: -moz-linear-gradient(top,  #4f85bb 0%, #4f85bb 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #4f85bb 0%,#4f85bb 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #4f85bb 0%,#4f85bb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f85bb', endColorstr='#4f85bb',GradientType=0 ); /* IE6-9 */
}

.box-body-title{
    display: block;
    background: #EDEADE;
    padding: 3px;
    padding-left: 10;
    position: relative;
    margin: 8px;
}

.box-body{
    position: relative;
    background-color: #ffffff;
    border: 1px solid #d2d2d2;
}

.box-body-content{
    position: relative;
    padding: 10px;
}

.box-lbl-caption{
    margin-top: 5px;
    margin-bottom: 5px;
}

.table-scroll{
    display: block;
    position: relative;
    overflow-x: auto;
}

.table-view-information > thead{
    color: #ffffff;
    background-color: #4f85bb;
    vertical-align: top;
}
.table-partnership td:first-child {
    width: 20%;
}

.control-label{
    font-weight:bolder;
}

.box-search {
    width: 60%;
    margin:0 auto;
    margin-top:100px;
}

.form-group{
    margin-top:5px;
    margin-bottom:5px;
}

.page-item.active .page-link{
    z-index: 3;
    color: #fff !important  ;
    background-color: #00ACD6 !important;
    border-color: #00ACD6 !important;
    border-radius: 10%;
    padding: 6px 12px;
}

.page-link{
    z-index: 3;
    color: #00ACD6 !important;
    background-color: #fff;
    border-color: #007bff;
    border-radius: 10%;
    padding: 6px 12px !important;
}

.page-item:first-child .page-link{
    border-radius: 10% !important;
}

.page-item:last-child .page-link{
    border-radius: 10% !important;   
}

.pagination li{
    padding: 3px;
}

.disabled .page-link{
    color: #212529 !important;
    opacity: 0.5 !important;

}

/*Screen*/

@media screen and (min-width:1025px) and (max-width:1440px){
    .box-detail-infor , .box-detail-search{
        width: 90%;
    }

    .ngo-infor{
        width: 99%;
    }

    .ngo-infor-left {
        width:25%;
    }
    
    .ngo-infor-right {
        float: right;
        width:75%;
    }

    .nav > img {
        width: 100px;
        height: 50px;
        margin-top: 25px;
        margin-left: 25px;
    }

    .nav-top-body{
        width: 70%; 
        border: 1px solid #000000;
    }

    .nav-top-body > li > a {
        left: 0;
        padding: 5px;
        font-size: 13px;
    }

    .btn-main{
        min-width: 100px;
    }

    .box-seach {
        width: 70%;
    }

    .box-seach-withdata{
        width: 100%;
    }

    .box-seach > div:first-child > div{
        height: 50px;
        font-size: 25px;
    }

    .box-seach > div:nth-child(2) > div:first-child{
        font-size: 14px;
    }

    .box-seach > div > div,.box-seach-withdata > div > div {
        margin: 2px;
        margin-bottom: 10px;
    }

    .align-content-center{
        text-align: center;
        padding: 20px;
    }
}

/* Screen 1084px */
@media screen and (min-device-width:450px) and (min-width:450px) and (max-device-width:1040px) and (max-width:1024px){
    .nav{
        display: block;
        position: relative;
        height: auto;
        padding-top: 10px;
         /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#4f85bb+0,4f85bb+100;Blue+3D+%239 */
        background: #4f85bb; /* Old browsers */
        background: -moz-linear-gradient(top,  #4f85bb 0%, #4f85bb 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #4f85bb 0%,#4f85bb 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #4f85bb 0%,#4f85bb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f85bb', endColorstr='#4f85bb',GradientType=0 ); /* IE6-9 */
    }
    
    .nav > img {
        display: block;
        position: relative;
        width: 160px;
        height: 80px;
        margin:0 auto;
    }

    .nav-top{
        display: block;
        position: relative;
        height: auto;
    }

    .nav-top-body{
        clear: both;
        display: block;
        position: relative;
    }

    .nav-top-body > li {
        display:inline-block;
        float: none;
        padding: 0px;
        margin: 0px;
        height: auto;
    }

    .nav-top-body > li:first-child {
        clear: both;
        padding-top: 10px;
    }

    .nav-top-body > li:last-child {
        margin-bottom: 5px;
    }

    .nav-top-body > li > a{
        display: inline-block;
        position: relative;
        padding: 8px;
        margin: 0;
        text-decoration: none;
    }
    
    .nav-top-body > li > a:hover{
        background: #0f4966;
        cursor: pointer;
        text-decoration: none;
    }

    .nav-right-body {
        direction: ltr;
        clear: both;
        position: relative;  
        float: none;
        height: auto;
        padding: 0;
        width: 75%;
        margin: 0 auto;
    }
    
    .nav-right-body > li {
        display: inline-block;
        float: none;
        list-style-type: none;
        margin: 5px;
    }
    
    .nav-right-body > li:first-child {
        position: relative;
        float: none;
        margin:0 auto;
    }    
    
    .nav-right-body > li > a{
        width: 150px;
    }

    .ngo-infor-left{
        display: block;
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .ngo-infor-right{
        margin-top:25px;
        display: block;
        width: 100%;
    }

    .ngo-profile-infor{
        width: 100%;
    }

    .box-search {
        width: 80%;
        margin:0 auto;
        margin-top:100px;
    }
    
}

/* Scree 450px for phone */

@media screen and (max-device-width:450px) and (max-width:450px){
    .nav-top-body > li {
        display: block;
    }

    .nav-right-body > li {
        display: block;
    }

    .nav-right-body > li > a{
        width: 100%;
    }
    
    .login-box {
        margin-top:20px;
        margin-bottom:20px;
        width: 100%;
    }

    .box-search {
        width: 90%;
        margin:0 auto;
    }
    
    .box-registration{
        display:block;
        width:100%;
    }
}

