@font-face{
font-family: idfi;
src: url('../../font/bpg_arial.ttf'),
	 url('../../font/bpg_arial.ttf'); /* IE9 */
} 

@font-face{
	font-family: idfiOne;
	src: url('../../font/bpg_ingiri_arial_0.ttf'),
 	 	 url('../../font/bpg_ingiri_arial_0.ttf'); /* IE9 */
} 
@font-face{
	font-family: idfiTwo;
	src: url('../../font/bpg_banner_extrasquare_caps.ttf'),
	 	url('../../font/bpg_banner_extrasquare_caps.ttf'); /* IE9 */
} 
		
body, html {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: arial;
}

.clr{ clear: both; }

/* login page */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #043B5C 0%, #02293D 100%);
  padding: 20px;
}

.form-signin {
  max-width: 420px;
  width: 100%;
  padding: 40px 35px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-signin-heading {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.admin-badge {
  font-size: 0.5em;
  background: #043B5C;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  vertical-align: middle;
}

.login-subtitle {
  color: #888;
  font-size: 14px;
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
  font-size: 14px;
}

.form-signin .form-control {
  position: relative;
  font-size: 15px;
  height: auto;
  padding: 12px 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.form-signin .form-control:focus {
  z-index: 2;
  border-color: #043B5C;
  outline: none;
  box-shadow: 0 0 0 3px rgba(4, 59, 92, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
  margin: 0;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.checkbox-text {
  color: #555;
  font-size: 14px;
  user-select: none;
}

.form-signin .btn-primary {
  background: linear-gradient(135deg, #043B5C 0%, #02293D 100%);
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-signin .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(4, 59, 92, 0.4);
}

.form-signin .btn-primary:active {
  transform: translateY(0);
}

.form-signin .alert {
  margin-top: 10px;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
}

.form-signin .alert-error {
  background-color: #fee;
  border: 1px solid #fcc;
  color: #c33;
}


/* admin */
.container{
    min-width: 740px;
	padding: 0;
	margin: 0;	    
    height: 100%;  
  
}

h1{
	
}

.container .h1{
 	background-color: #eee;
    border: 1px solid #bbb;
    height: 40px;   
    padding: 5px;
    width: 100%;    
    position: relative;    
    
}

.container .h1 .label{
	font-size: 1.2em;
	 position: absolute;
    left: 5px;
    top: 10px;
	
}

.container .h2{
    background-color: #eee;
    border: 1px solid #bbb;
    height: 40px;    
    position: relative;       
}

.container .h2 .label{
    position: absolute;
    left: 5px;
    top: 10px;
}


.container .header{
    position: relative;
	background-color: #fefefe;
	height: 40px;	
    -webkit-box-shadow: 0px 0px 1px 1px #ddd;
    -moz-box-shadow: 0px 0px 1px 1px #ddd;
    box-shadow: 0px 0px 1px 1px #ddd;
}

.container .header .logo{
    position: absolute;
    top: 10px;
    left: 5px;
}

/* header menu */

.container .header .menu{
    position: absolute;
    right: 0;
    height: 100%;
    
}

.container .header .menu .item{
    float: left;
    border-right: 1px solid #ccc;
    padding-left: 5px;
    padding-right: 5px;
    height: 100%;
    position: relative;   

}

.container .header .menu .item .content{
   margin-top: 10px;
}

.container .header .menu .item:last-child{
    border-right: none;
}

.container .header .menu .user .content{
    font-size: .9em;
    margin-top: 13px;
    
}

.container .header .menu .logout{
    width: 50px;
    text-align: center;
}


/* navbar */
.container .navbar{
    background-color: #3f506c;
    width: 100px;
    float: left;   	
   	margin-top: 1px;
   	box-shadow: inset -10px 0px 10px -7px #444;
    box-shadow: inset -8px 0px 10px -7px #444;

}

.container .navbar .item{
    border-top: 1px solid #6c8389;    
    border-bottom: 1px solid #1f3668;   
    position: relative;
    height: 80px;
    cursor: pointer;
}

.container .navbar .item .content{
    position: absolute;
    left: 10px;
}

.container .navbar .item .content .icon{

    height: 20px;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
}

.container .navbar .item-statistic .content .icon{
    width: 35px;
    height: 29px;
    background: url(../images/icon-stat.png) no-repeat;
}

.container .navbar .item-pages .content .icon{
    width: 24px;
    height: 27px;
    background: url(../images/icon-pages.png) no-repeat;
}

.container .navbar .item-users .content .icon{
    width: 24px;
    height: 27px;
    background: url(../images/icon-users.png) no-repeat;
}

.container .navbar .item-post .content .icon{
    width: 33px;
    height: 24px;
    background: url(../images/icon-post.png) no-repeat;
}

.container .navbar .item-menu .content .icon{
    width: 37px;
    height: 31px;
    background: url(../images/icon-menu.png) no-repeat;
}



.container .navbar .item-widget .content .icon{
    width: 34px;
    height: 36px;
    background: url(../images/icon-widget.png) no-repeat;
}

.container .navbar .item-contact .content .icon{
    width: 34px;
    height: 36px;
    background: url(../images/icon-widget.png) no-repeat;
}

.container .navbar .item-photogallery .content .icon{
    width: 47px;
    height: 43px;
    background: url(../images/icon-photogallery.png) no-repeat;
    margin-top: -2px;
}

.container .navbar .item-oldidfi .content .icon{
    width: 47px;
    height: 43px;
    background: url(../images/old_idfi_logo.png) no-repeat;
    background-size: 47px 43px;
    margin-top: -2px;
}


.container .navbar .item-guide .content .icon{
    width: 47px;
    height: 43px;
    background: url(../images/guide_icon.png) no-repeat;
    background-size: 47px 43px;
    margin-top: 4px;
}

.container .navbar .item-awardscharts .content .icon{
    width: 47px;
    height: 43px;
    background: url(../images/awards_charts.png) no-repeat;
    background-size: 47px 43px;
    margin-top: 4px;
}

.container .navbar .item-sustainable-development .content .icon{
    width: 50px;
    height: 38px;
    background: url(../images/sustainable_development.png) no-repeat;
    background-size: 47px 43px;
    margin-top: 2px;
}

.container .navbar .item-awardscharts .content .label{
    margin-top: 3px !important;
}

.container .navbar .item .content .label{    
    text-align: center;
    margin-top: 10px;
    color: #fefefe;
    width: 80px;
    font-size: .8em;
}

.container .navbar .item .indicator{
    position: absolute;
    width: 3px;
    background-color: #e2213e;
    right: 0;
    visibility: hidden;
    height: 80px;
}

.container .navbar .item:hover .indicator{
    visibility: visible;
   
}


.container .navbar .bottom-line{
    height: 1px;
    background-color: #6c8389;    
}


/* main-content */
.container .main-content{
    float: right;    	
	width: 80%;   	
    margin-top: 1px;   
    min-height: 600px;
    padding-bottom: 50px;
    min-width: 600px;
}

.container .inline-success-message{
	color: #009900;
	font-size: 1em;
}

.container .inline-warning-message{
	color: #FF9900;	
}

.container .inline-error-message{
	color: #ff0000;	
}
.container .standart-message{
	color: #272727;
}


.blockUI{
    width: 200px;   
}

.busy{
	background: url(../images/busy.gif) no-repeat;
	background-position: 25px;
	font-size: 11pt;
	padding-top: 10px;
	padding-bottom: 10px;		 
}

input, select{
	padding: 3px;
	padding-left: 7px;
	height: 25px;
	width: 300px;
	background-image: none;
}

textarea{
	width: 302px;
	height: 100px;
}

.ui-widget-content{
	background-image: none; !important;
}


.pagination{
   
    margin: 0 auto;
}


.pagination .item{    
    display: block;
	float: left;
	width: 25px;
	text-align: center;
	border: solid #e7e7e7 1px;
	font-size: 12px;
	padding: 5px 0;
	margin-right: 3px;
	background: #fafafa;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	cursor: pointer;
	position: relative;

}

.pagination .item a{
    color: #555;
    font-size: .9em;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.pagination .nn-item{
    width: 50px;
}

.pagination .item:hover{
    background: #1fa7ff;

}

.pagination .item:hover a{
    color: white;
}

.pagination .inactive-item{
    color: #888;
}
    
.pagination .inactive-item:hover{
    cursor: default;
    background: #fafafa;
    color: #888;
}

a{
	color: #0044a2;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

/* User Management Forms */
.user-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin: 20px 0;
}

.user-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.user-form .form-group {
    flex: 1;
}

.user-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.user-form input[type="text"],
.user-form input[type="email"],
.user-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.user-form input[type="text"]:focus,
.user-form input[type="email"]:focus,
.user-form input[type="password"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.user-form input.error {
    border-color: #dc3545;
}

.form-actions {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

.btn {
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
    margin-right: 10px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    text-decoration: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    text-decoration: none;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    text-decoration: none;
}

/* Users Table */
.users-table-container {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.users-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: bold;
    color: #495057;
    border-right: 1px solid #dee2e6;
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.users-table td {
    padding: 12px;
    border-right: 1px solid #dee2e6;
    color: #495057;
}

.users-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.users-table tbody tr:hover {
    background: #e9ecef;
}

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.action-buttons .btn {
    padding: 6px 12px;
    font-size: 12px;
    margin-right: 0;
}

.form-info {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 3px;
    border-left: 4px solid #007cba;
    margin-top: 20px;
}

.form-info p {
    margin: 0;
    color: #004085;
    font-size: 14px;
}

/* Role Management Styles */
.roles-container {
    background: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.role-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.role-item:hover {
    background: #f8f9fa;
}

.role-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}

.role-item label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.role-item strong {
    color: #333;
    font-weight: 600;
}

.role-item .role-description {
    color: #6c757d;
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

.role-item .role-note {
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
}

.role-item input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.role-item input[type="checkbox"]:disabled + label {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Page Header Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.page-title h1 {
    margin: 0;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.page-title p {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 14px;
}

.page-actions .btn {
    padding: 10px 20px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.page-actions .btn:hover {
    background: #005a87;
    text-decoration: none;
}

/* Content Header */
.content-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 5px 5px 0 0;
    border: 1px solid #dee2e6;
    border-bottom: none;
}

.section-title h2 {
    margin: 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.section-title p {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 13px;
}

.section-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-count {
    background: #007cba;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-actions .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .page-actions {
        width: 100%;
    }
    
    .page-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .content-header > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-actions {
        width: 100%;
        justify-content: space-between;
    }
}