@import url("fontawesome-4.6.3.min.css");
@import url("custom.flexslider.css");
@import url("framework.css");
@import url("custom.layout.css");

.container{padding:20px 0;}

/* Content */
.container .content{}

.sectiontitle{display:block; margin-bottom:20px;}
.sectiontitle *{margin:0;}

.container .sidebar{}

.sidebar .sdb_holder{margin-bottom:50px;}
.sidebar .sdb_holder:last-child{margin-bottom:0;}

.form_table
{
    width:100%;
    margin-bottom:15px;
}
/* Tables
--------------------------------------------------------------------------------------------------------------- */
table, th, td{border:1px solid; border-collapse:collapse; vertical-align:middle;}
table, th{table-layout:auto;}
table{width:100%; margin-bottom:15px;}
th, td{padding:3px;}
td{border-width:0 1px;}

.bold-row {
    font-weight: bold;
}

.sticky-header{
    position:sticky;
    top:0;
    background:white;
    z-index:100;
}


/* Image
--------------------------------------------------------------------------------------------------------------- */
.fixed-size {
    width: 150px; /* Fixed width */
    height: 150px; /* Fixed height */
    object-fit: contain; /* Preserve aspect ratio without cropping */
    background-color: transparent; /* Optional: Background color for empty space */
    display: block; /* Ensure it behaves as a block element */
    border-radius:10px;
    border: 2px solid #ccc; /* Optional: Border for aesthetics */
}

/* Split Box
--------------------------------------------------------------------------------------------------------------- */
.split{}

.split article{display:block; position:relative; float:right; width:50%; padding:100px 0 100px 50px;}
.split article::after{display:block; position:absolute; top:0; right:-1000%; bottom:0; left:100%; content:"";}
.split article figure{text-align:center;}
.split article figure img{margin-bottom:10px;}
.split article figure figcaption{text-transform:uppercase;}
.split article footer{margin-top:50px;}

/* Tables + Comments */
table, th, td, #comments .avatar, #comments input, #comments textarea{border-color:#D7D7D7;}
#comments input:focus, #comments textarea:focus, #comments *:required:focus{border-color:#F08714;}
#th{color:#FFFFFF; background-color:#373737;}
tr, #comments li, #comments input[type="submit"], #comments input[type="reset"]{color:inherit; background-color:#FBFBFB;}
tr:nth-child(even), #comments li:nth-child(even){color:inherit; background-color:#F7F7F7;}
table a, #comments a{background-color:inherit;}


/* Font Awesome Social Icons
--------------------------------------------------------------------------------------------------------------- */
.faico{margin:0; padding:0; list-style:none;}
.faico li{display:inline-block; margin:8px 5px 0 0; padding:0; line-height:normal;}
.faico li:last-child{margin-right:0;}
.faico a{display:inline-block; width:36px; height:36px; line-height:36px; font-size:18px; text-align:center; border-radius:50%; background-clip:padding-box;}

.faico a{color:inherit; background-color:#283F6C;}
.faico a:hover{color:#FFFFFF;}

.faicon-dribble:hover{background-color:#EA4C89;}
.faicon-facebook:hover{background-color:#3B5998;}
.faicon-google-plus:hover{background-color:#DB4A39;}
.faicon-linkedin:hover{background-color:#0E76A8;}
.faicon-twitter:hover{background-color:#00ACEE;}
.faicon-vk:hover{background-color:#4E658E;}

/* Colours
--------------------------------------------------------------------------------------------------------------- */
body{color:#474747; background-color:#FFFFFF;}
a{color:#F08714;}
a:active, a:focus{background:transparent;}/* IE10 + 11 Bugfix - prevents grey background */
hr, .borderedbox{border-color:#D7D7D7;}
label span{color:#FF0000; background-color:inherit;}
input:focus, textarea:focus, *:required:focus{border-color:#F08714;}
.overlay{color:#FFFFFF; background-color:inherit;}
.overlay::after{color:inherit; background-color:rgba(0,0,0,.5);}

.btn, .btn.inverse:hover{color:#FFFFFF; background-color:#F08714; border-color:#F08714;}
.btn:hover, .btn.inverse{color:inherit; background-color:transparent; border-color:inherit;}


.row0, .row0 a{color:rgba(255,255,255,.5); background-color:#141F35;}
.row1{color:#FFFFFF; background-color:#141F35;}
.row2{color:#474747; background-color:#F7F7F7;}
.row3{color:#474747; background-color:#FFFFFF;}
.row4{color:#CBCBCB; background-color:#141F35;}
.row5, .row5 a{color:#474747; background-color:#FFFFFF;}


/* Media Queries
--------------------------------------------------------------------------------------------------------------- */
@-ms-viewport{width:device-width;}


/* Max Wrapper Width - Laptop, Desktop etc.
--------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:978px){
	.hoc{max-width:978px;}
}


/* Mobile Devices
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:900px){
	.hoc{max-width:90%;}

	#topbar{}

	#header{}

	#mainav{}
	#mainav ul{display:none;}
	#mainav form{display:block;}

	#breadcrumb{}

	.container{}
	#comments input[type="reset"]{margin-top:10px;}
	.pagination li{display:inline-block; margin:0 5px 5px 0;}

	#footer{}

	#copyright{}
	#copyright p:first-of-type{margin-bottom:10px;}
}


@media screen and (max-width:750px){
	.imgl, .imgr{display:inline-block; float:none; margin:0 0 10px 0;}
	.fl_left, .fl_right{display:block; float:none;}
	.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{display:block; float:none; width:auto; margin:0 0 30px 0; padding:0;}

	#topbar{text-align:center;}
	#topbar ul{margin:0 0 15px 0;}

	#pageintro li article{max-width:none; width:100%; overflow:visible;}
	#pageintro li .heading{font-size:3rem;}

	#cta article .heading{font-size:3rem; font-weight:400;}

	.latest article{max-width:320px;}

	.container, #footer{padding-bottom:70px;}/* Not neccessary - just looks better */
}


@media screen and (max-width:450px){
	#topbar ul li{margin-bottom:2px; padding-right:0; border-right:none;}
}


/* Other
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:650px){
	.scrollable{display:block; width:100%; margin:0 0 30px 0; padding:0 0 15px 0; overflow:auto; overflow-x:scroll;}
	.scrollable table{margin:0; padding:0; white-space:nowrap;}

	.inline li{display:block; margin-bottom:10px;}
	.pushright li{margin-right:0;}

	.font-x2{font-size:1.4rem;}
	.font-x3{font-size:1.6rem;}

	#cta article{max-width:none; width:100%;}

	.hoc.split{max-width:none; width:100%;}
	.split article{float:none; width:100%; padding:10% 5%;}
}
@font-face {
    font-family: 'password';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/password.ttf');
  }

  input.barcodepwd {
    font-family: 'password' !important;
    text-transform: uppercase;
  }

.red-text{
color:#B60000;font-weight: bold;
}

.alert {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 25px;
}

/* Sidebar Active Menu Item Highlight */
ul.sidebar-menu li.active > a,
ul.sidebar-menu .treeview-menu li.active > a {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2557a7 0%, #1a3a6b 100%) !important;
    font-weight: bold;
    border-radius: 4px; /* Slight rounding looks nicer on the active item */
}

ul.sidebar-menu .treeview-menu li.active > a i {
    color: #ffffff !important;
}

/* Fix for legacy framework.css forcing buttons to display block / full width */
button.btn, a.btn, input.btn {
    display: inline-block !important;

    /* Modern UI Aesthetics */
    border-radius: 6px !important;       /* Slightly rounder, softer edges */
    font-weight: 600;                    /* Bolder text for readability */
    letter-spacing: 0.5px;               /* Better character spacing */
    transition: all 0.25s ease-in-out;   /* Smooth animations */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Soft resting shadow */
}

/* Hover effect for buttons */
button.btn:hover, a.btn:hover, input.btn:hover {
    transform: translateY(-2px);         /* Slight lift effect on hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Deeper shadow when lifted */
}

/* Click/Active effect */
button.btn:active, a.btn:active, input.btn:active {
    transform: translateY(0);            /* Pushes the button back down when clicked */
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Ensure stacked buttons in footers have vertical spacing on mobile */
.box-footer .btn {
    margin-bottom: 10px;
}

/* Override btn-primary to match portal branding (dark blue gradient) */
.btn-primary {
    background: linear-gradient(135deg, #2557a7 0%, #1a3a6b 100%) !important;
    border: none !important;
    color: #ffffff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, #1a3a6b 0%, #0f2348 100%) !important;
    color: #ffffff !important;
}


