/* FONTS ZONE */
@font-face {
font-family: DBAdmanX;
src: url(DBAdmanX.ttf);
}
/* Global tag a and p */
a, p {
  font-family: DBAdmanX;
  font-size: 18px;
}


@font-face {
font-family: DBAdmanXBold;
src: url(DBAdmanXBd.ttf);
}

h1 {
  font-family: DBAdmanX;
  letter-spacing: 0.1em;
}
h2 {
  font-family: DBAdmanX;
  letter-spacing: 0.1em;
}
h3 {
  font-family: DBAdmanX;
  letter-spacing: 0.1em;
}
h4 {
  font-family: DBAdmanX;
  letter-spacing: 0.1em;
}
h5 {
  font-family: DBAdmanX;
  letter-spacing: 0.1em;
}
h6 {
  font-family: DBAdmanX;
  letter-spacing: 0.1em;
}

.bold {
  font-family: DBAdmanXBold;
}

.grey{
  color: grey;
}

.green{
  color: green;
}

.black{
  color: black;
}

.category-line-height{
  line-height: 40%;
}

.header-paragraph{
  font-size: 18px;
}

.sub-menu{
  padding-top: 4px;
}
/* Custom css */

/* Padding top and botttom */
.padding-top-bottom {
  padding-top: 25px;
  padding-bottom: 25px;
}

.padding-button-menu {
  padding-left: 10px;
  padding-right: 10px;
}

/* For making line below headers to be thinker and green color */
.header-line {
border: 3px solid green;
width: 100px;
}

/* Footer zone */
.bg-footer {
  background-color: #194300;
}
.bg-bottom-footer {
  background-color: #112D00;
}
.text-bottom-footer {
  letter-spacing: 0.1em;
  color: #eeb403;
}
.footer {
  padding: 25px;
}
.paragraph {
  letter-spacing: 0.1em;
  color: white;
}
.heading {
  color: #eeb403;
}

/* Contact page banner middle page zone*/
.hero-text {
  text-align: left;
  color: black;
}

.banner-hero-image {
display: block;
max-width: 100%;
max-height: 100%;
}

.vertical-line1 {
    width:1px;
    background-color:lightgrey;
    position:absolute;
    top:0;
    bottom:0;
    left:1px;
}

.vertical-line2 {
    width:4px;
    background-color:green;
    display: inline-block;
    text-align: left;
    top:0;
    bottom:0;
    left:1px;
}

body{
  padding-top: 50px;
}

.category-button:hover {
  color: green;
  text-decoration: none;
}

.verticalaligncenter {
margin: 0;
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%); color:#00ffff"
}

.verticalaligncenter2 {
margin: 0;
position: absolute;
top: 45%;
-ms-transform: translateY(-50%);
transform: translateY(-50%); color:#00ffff"
}

.dcard{
  overflow: hidden;
  background-color: WHITE;
}

/* Style buttons */
.btntrash {
  background-color: DodgerBlue; /* Blue background */
  border: none; /* Remove borders */
  color: white; /* White text */
  padding: 12px 16px; /* Some padding */
  font-size: 16px; /* Set a font size */
  cursor: pointer; /* Mouse pointer on hover */
}

/* Darker background on mouse-over */
.btntrash:hover {
  background-color: RoyalBlue;
}

/* Toggle Switch zone */
.switch {
  position: relative;
  display: block;
  vertical-align: top;
  width: 100px;
  height: 30px;
  padding: 3px;
  margin: 0 10px 10px 0;
  background: linear-gradient(to bottom, #eeeeee, #FFFFFF 25px);
  background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF 25px);
  border-radius: 18px;
  box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  box-sizing:content-box;
}
.switch-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  box-sizing:content-box;
}
.switch-label {
  position: relative;
  display: block;
  height: inherit;
  font-size: 10px;
  text-transform: uppercase;
  background: #eceeef;
  border-radius: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
  box-sizing:content-box;
}
.switch-label:before, .switch-label:after {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
  line-height: 1;
  -webkit-transition: inherit;
  -moz-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
  box-sizing:content-box;
}
.switch-label:before {
  content: attr(data-off);
  right: 11px;
  color: #aaaaaa;
  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.switch-label:after {
  content: attr(data-on);
  left: 11px;
  color: #FFFFFF;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
}
.switch-input:checked ~ .switch-label {
  background: #E1B42B;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label:before {
  opacity: 0;
}
.switch-input:checked ~ .switch-label:after {
  opacity: 1;
}
.switch-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  background: linear-gradient(to bottom, #FFFFFF 40%, #f0f0f0);
  background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
  border-radius: 100%;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}
.switch-handle:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
  width: 12px;
  height: 12px;
  background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
  background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}
.switch-input:checked ~ .switch-handle {
  left: 74px;
  box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Transition
========================== */
.switch-label, .switch-handle {
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
  -moz-transition: All 0.3s ease;
  -o-transition: All 0.3s ease;
}
/* End Toggle Switch zone */

.div-center {
  margin: auto;
  width: 50%;
  border: 3px solid green;
  padding: 10px;
}

.toggle-center {
  margin-top: 40px;
}

.block {
display: block;
width: 100%;
border: none;
cursor: pointer;
text-align: center;
}

.boxsizingBorder {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.border{
  border: 2.5px solid lightgrey;
  padding: 10px;
}

.center{
  text-align:center
}

.container-image-home {
  position: relative;
  width: 50%;
}

.image_home {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-admin {
  position: absolute;
  top: 0;
  cursor: pointer;
  height: 95%;
  width: 95%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(0, 0, 0, 0.8);
}

.overlay2 {
  position: absolute;
  top: 0;
  cursor: pointer;
  height: 92%;
  width: 95%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(0, 0, 0, 0.8);
}

.overlay3 {
  position: absolute;
  top: 0;
  cursor: pointer;
  height: 90%;
  width: 95%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(0, 0, 0, 0.8);
}

.container-image-home:hover .overlay-admin {
  opacity: 1.0;
}

.container-image-home:hover .overlay2 {
  opacity: 1.0;
}

.container-image-home:hover .overlay3 {
  opacity: 1.0;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}


.fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.admin-topic-section{
  padding:2.5px
}


.admin-div-center {
  margin: auto;
  width: 50%;
}

.btntrash{
  background-color: rgb(230, 0, 0);
}

.btntrash:hover{
  background-color: rgb(130, 0, 0);
  color: white;
}

.excerpt-text1{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.excerpt-text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
