/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

table {
	border-spacing: 1px; 
	border-collapse: inherit; 
	margin-bottom: 0px;
	}

textarea {
    height: 100%;
    width: 100%;
   -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
	resize: none;
	}
	
.table {margin-bottom: 0px;}

.navbar-right {margin-right: 0px;}

a {color : #054883;}

.div-centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.admin-only {
	display: none;
}

.bg-primary {
	background-color: #0c3d6a;
}
	
.dans {
	display: table-cell;
	vertical-align: inherit;
	text-align: center;
	background-color: #0c3d6a;
	color: #FFFFFF;
	font-size: 12px;
}
.dans-table {
  border: 1px solid gray;
  border-radius: 1px;		
}

.footer {
  width: 100%;
  /* Set the fixed height of the footer here */
  background-color: #FFFFFF;
  border-top: 1px solid #E9EAED;
  position: fixed;
  bottom: 0;
  font-size: 10px; 
  margin-top: 8px;
}

.normal {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.normal-justify {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-align: justify;
}
.normal-justify-tab {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-align: justify;
	text-indent: 30px;
}
.hidden {
 	display:none;
}

.btn-inverse{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#363636;background-image:-moz-linear-gradient(top, #444444, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));background-image:-webkit-linear-gradient(top, #444444, #222222);background-image:-o-linear-gradient(top, #444444, #222222);background-image:linear-gradient(to bottom, #444444, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);background-color:#222222;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#ffffff;background-color:#222222;*background-color:#151515;}
.btn-inverse:active,.btn-inverse.active{background-color:#080808;}

.input-lg {font-size: 14px;}
.container {padding-right: 5px; padding-left: 5px;}

.tb-header {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	background-color: #BBBBBB;
}
.tb-bg {
	background-color: #DEE5F2;
}
.tb-bdr {
	background-color: #D3D9E6;
}
.quickjump {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.small {

	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.title1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}
.title2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	font-weight: bold;
	font-size: 13px;
	text-align: center;
}
.title3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	font-weight: bold;
	font-size: 12px;
	text-align: center;
}
.title2left {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 13px;
}
.invoice-big {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
}
.inputreadonly {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	background-color: #DEE5F2;
}
.modtext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	font-weight: bold;
	font-size: 14px;
	color: #0033FF;
}
.bold {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}

A.menulink {
	width: 15px;
	text-align: center;
	background-color: #E1E8F5;
	border: solid 1px #D1D8E4;
        font-color: #f7f7f7;
	padding: 5px;
}
A.menulink:hover {
	text-decoration: none;
	background-color: #C2D5F3;
}

fieldset {
	border:2px solid #BBBBBB;
}
.margin-bottom {
  margin-bottom: 10px !important;
}
.margin-bottom-sm {
  margin-bottom: 15px !important;
}
.margin-bottom-lg {
  margin-bottom: 22px !important;
}
.margin-bottom-xl {
  margin-bottom: 40px !important;
}

.container-fluid .text-muted {
  margin: 5px 0;
}

.footer > .container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width:768px){
body {
  /* Margin bottom by footer height */
  margin-bottom: 30px;
}

 .footer{position:fixed;bottom:0;height:30px;width:100%;}
}

body {

   background: #E9EAED url(../img/bg.jpg) no-repeat top center fixed;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;
   font-size: 12px;
}

.navbar-default {background-color: #ffffff; border-bottom: 1px solid #CFD4DB;}
.navbar-brand > img {margin-top: -5px;}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {background-color: transparent; }
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {background-color: transparent; }
.navbar-inverse {
	box-shadow: 0px 7px 19px -2px rgba(0,0,0,0.57);
	-webkit-box-shadow: 5px 7px 19px -2px rgba(0,0,0,0.57);
	-moz-box-shadow: 5px 7px 19px -2px rgba(0,0,0,0.57);
	}


.navbar-nav > li > .dropdown-menu a:hover { background-color: #e1e5fa; color: #153b70; font-weight: bold;} 

@media (min-width:768px) {
.nav > li > a {padding: 15px 6px;}
.kangndo .content {
  padding-left: 10px; padding-right: 10px;
}
}

@media (min-width:768px) {
.dropdown:hover .dropdown-menu {
display: block;
}
}

@media (max-width:767px) {
.kangndo {
  margin-bottom: 30px;
  margin-top: 90px;

}

.navbar-nav {margin-left: 10px;}
.container-fluid {padding-left:5px; padding-right: 5px;}

}

.hint-container {
	position: relative;
        display: inline-block;
    }

.hint-icon {
	display: inline-block;
	width: 20px;
        height: 20px;
        background-color: #ccc;
        border-radius: 50%;
        text-align: center;
        line-height: 20px;
        cursor: pointer;
    }

.hint-popup {
        visibility: hidden;
        width: 200px;
        background-color: #f9f9f9;
        color: #333;
        text-align: left;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 10px;
        position: absolute;
        z-index: 5;
        top: 130%;
        left: 50%;
        margin-left: -100px;
        opacity: 0;
        transition: opacity 0.3s;
    }

.hint-container:hover .hint-popup {
        visibility: visible;
        opacity: 1;
    }


/* START OF COLORED THEMES */
.navbar-inverse {
        box-shadow:0px 10px 10px -10px rgba(0, 0, 0, 0.52);
        border-color: #0c3d6a;
        background-color: #0c3d6a;
}

.panel-primary {
        border-color: #0c3d6a;
}

.panel-primary > .panel-heading {
        background-color: #0c3d6a;
        border-color: #0c3d6a;
}

.btn-primary {
        background-color: #0c3d6a;
}


.kangndo .panel-primary {
        border-color: #0c3d6a;
}

.kangndo .panel-heading {
        background-color: #0c3d6a;
        border-color: #0c3d6a;
}

.kangndo .btn-primary {
        background-color: #12c3d6a;
}

.kangndo {
  background-color: transparent;
  margin-bottom: 30px;
  margin-top: 40px;
}

.kangndo .header {
  padding: 10px 10px 0;
}

.kangndo .title {
  margin-left: 10px;
  color: #0c3d6a;
  font-weight: 300;
}

.kangndo .alert {
  border-radius: 4px;
  position: relative;
}
.kangndo .alert.alert-with-icon {
  padding-left: 65px;
}

.dropdown-menu {font-size: 12px;}


 /* The switch - the box around the slider */
.button-slider {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 13px;
}

/* Hide default HTML checkbox */
.button-slider input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}


.form-control-cus {
	width:auto;
	height:26px;
	padding:6px 8px;
	font-size:14px;
	line-height:1.22857143;
	color:#555;
	background-color:#fff;
	background-image:none;
	border:1px solid #ccc;
	border-radius:4px;
	-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s
}


/* Rounded sliders */
.slider.round {
  border-radius: 10px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (min-width:768px) {
	.modal-dialog {
		width:600px;
		margin:30px auto
	}
	.modal-content {
		-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);
		box-shadow:0 5px 15px rgba(0,0,0,.5)
	}
	.modal-sm {
		width: 400px;
	}
}

@media (min-height: 240px) and (max-height: 480px) {
    .table-responsive {max-height: 250px; overflow: auto;}
}

@media (min-height: 481px) and (max-height: 640px) {
    .table-responsive {max-height: 400px; overflow: auto;}
}

@media (min-height: 641px) and (max-height: 768px) {
    .table-responsive {max-height: 460px; overflow: auto;}
}

@media (min-height: 769px) and (max-height: 800px){
    .table-responsive {max-height: 600px; overflow: auto;}
}

@media (min-height: 801px) and (max-height: 980px){
    .table-responsive {max-height: 760px; overflow: auto;}
}

@media (min-height: 981px) and (max-height: 1280px) {
    .table-responsive {max-height: 800px; overflow: auto;}
}

@media (min-height: 1281px) {
    .table-responsive {max-height: 1000px; overflow: auto;}
 }

legend {font-size: 12px;}
.form-group {margin-bottom: 15px;}

.td1 {text-align: right; border-right: 1px solid #DDDDDD;}

.input-sm {height: 26px}

.input-xs {height: 22px}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th
{border-top: 1px solid #FFFFFF;}


.table-striped > tbody > tr:nth-of-type(2n+1) {background-color: #FFFFFF;}

.modal-content {
  width:100%;
}

.modal-header {
    padding: 1rem;
	background-color: #12c3d6a;
}

.modal-dialog-centered {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  min-height:calc(100% - (.5rem * 2));
}
.center {
  position: relative;
  left: 50%;
  top: 50%;
  -moz-transform: translate(-50%, -50%); /* Firefox */
  -ms-transform: translate(-50%, -50%);  /* IE 9 */
  -webkit-transform: translate(-50%, -50%); /* Safari and Chrome*/
  -o-transform: translate(-50%, -50%); /* Opera */
  transform: translate(-50%, -50%);

  /* optional size in px or %: */
  width: 100%;
  height: 100%;
}

@media (min-width: 576px) {
  .modal-dialog-centered {
    min-height:calc(100% - (1.75rem * 2));
  }
}

}
