.nav-tabs{
   --bs-nav-tabs-link-active-color:#fff;
    --bs-nav-tabs-link-active-bg:var(--primary);
    --bs-nav-tabs-link-active-border-color:var(--primary);
	
	--bs-nav-link-color:var(--primary);
	--bs-nav-tabs-link-hover-border-color:transparent;
}
	#tab2 { font-size: 15px; }
	.panel-group { padding-top: 50px; }
	.panel-default {
		border-radius: 0;
		border: none;
		background: none;
		margin-bottom: 0;
		padding-bottom: 14px;
	}
	.panel-default > .panel-heading {
		border: none;
		background: none;
		padding: 0;
	}
	.panel-default > .panel-heading + .panel-collapse .panel-body {
		border: none;
		padding: 0 0 0 32px;
	}
	.panel-default h5 {
		font: 300 19px "Open Sans", Arial, sans-serif;
		padding: 0;
		margin: 0 0 5px;
	}
	.panel-group .panel+.panel { margin-top: 15px; }
	.panel-default .accordion-toggle:before {
		content: "";
		width: 21px;
		height: 21px;
		display: inline-block;
		background: #e54a1a url(http://keenthemes.com/assets/bootsnipp/toggle-icons.png) no-repeat 6px 10px;
		border-radius: 50%;
		margin-right: 10px;
		position: relative;
		top: 4px;
	}
	.panel-default .collapsed:before { background: #495764 url(http://keenthemes.com/assets/bootsnipp/toggle-icons.png) no-repeat 6px -148px; }
	.panel-default .panel-title:hover .collapsed:before { background-color: #e54a1a; }
	.panel-default .accordion-toggle,
	.panel-default .accordion-toggle:focus,
	.panel-default .accordion-toggle:hover,
	.panel-default .accordion-toggle:active { color: #1ea9e3; text-decoration: none; }
	.panel-default .collapsed { color: #5f6f7e; }
	#overlay {
		border: 1px solid black;
		width: 200px;
		height: 400px;
		display: inline-block;
		background-repeat: no-repeat;
		background-color: transparent;
	}
			
	@media screen and (max-width: 500px)
	{
		#pnLeftImages img{
			float: left;
		}
		
		.box-right{
			width: 100% !important;
		}
	}

	#tblRecordDetails{ font-size: 15px; }
	#pnDisplay{ font-size: 15px; }
	#tblFiles{ font-size: 15px; }
	#tblChapters{ font-size: 15px; }
	#tblInventories{ font-size: 15px; }
	Table#tblRecordDetails thead tr th{ width: 150px; }

	@media screen and (max-width: 500px){
		.nav-tabs li {
			width: 100% !important;
			float: left;
			margin-bottom: -1px;
		}


        .moduletitle {
            /*overflow: hidden;
            white-space: nowrap;
            -o-text-overflow: ellipsis;
            -ms-text-overflow: ellipsis;
            text-overflow: ellipsis;
            width: 50%;*/
            font-size: 20px !important;
            color: #ffffff !important;
        }

        h1.moduletitle {
            text-shadow: 0 1px 0 #ccc, 0 2px 0 #ada1a1, 0 3px 0 #000, 0 4px 0 #1b1b1b, 0 5px 0 #020202, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
        }

	}
    .moduletitle{
        /*overflow: hidden;
        white-space: nowrap;
        -o-text-overflow: ellipsis;
        -ms-text-overflow: ellipsis;
        text-overflow: ellipsis;
        width: 70%;*/
    }
    #fade {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: .80;
  filter: alpha(opacity=80);
}

#light {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 600px;
  max-height: 360px;
  margin-left: -300px;
  margin-top: -180px;
  border: 2px solid #FFF;
  background: #FFF;
  z-index: 1002;
  overflow: visible;
}

#boxclose {
  float: right;
  cursor: pointer;
  color: #fff;
  border: 1px solid #AEAEAE;
  border-radius: 3px;
  background: #222222;
  font-size: 31px;
  font-weight: bold;
  display: inline-block;
  line-height: 0px;
  padding: 11px 3px;
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 1002;
  opacity: 0.9;
}

.boxclose:before {
  content: "×";
}

#fade:hover ~ #boxclose {
  display:none;
}

#messageModal {
    margin: 0px auto;
    left: 0px;
    right: 0px;
    display: none;
    position: absolute;
}

.modal .modal-dialog .modal-content .modal-body .icon {
    color: #f3e89e;
    background: #abde77;
    font-size: 50px;
    font-weight: bold;
    line-height: 80px;
    height: 80px;
    width: 80px;
    margin: 0 auto 5px;
    border-radius: 50%;
    text-align: center;
    margin-top: -40px;
}
.modal .modal-dialog .modal-content .modal-body .icon1 {
    color: #f3e89e;
    background: red;
    font-size: 50px;
    font-weight: bold;
    line-height: 90px;
    height: 80px;
    width: 80px;
    margin: 0 auto 5px;
    border-radius: 50%;
    text-align: center;
}
.modal .modal-dialog .modal-content .modal-body .title{
    text-align: center;
    margin-bottom: 30px;
    font-size: 13pt;
    font-weight: bold;
    margin-top: 10px;
}

.modal .modal-dialog .modal-content .modal-body .title1{
    text-align: center;
    font-size: 13pt;
    font-weight: bold;
    margin-top: 10px;
}
#pnLeftImages {
    overflow: hidden;
}
#pnLeftImages img{
  max-width: 100%;
}