.ms-n5 {
  margin-left: -40px;
}
.btn-facebook {
background-color: #3b5998 !important;
}
.bg-facebook {
background-color: #3b5998 !important;
}

.bg-sticky-yellow {
background-color: #fff7d1 !important;
}

.navbar .container .navbar-brand small {
  font-size:12px;
}

@media (max-width: 767px) {
  .carousel-inner .carousel-item > div {
      display: none;
  }
  .carousel-inner .carousel-item > div:first-child {
      display: block;
  }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
  
  .carousel-inner .carousel-item-end.active,
  .carousel-inner .carousel-item-next {
    transform: translateX(25%);
  }
  
  .carousel-inner .carousel-item-start.active, 
  .carousel-inner .carousel-item-prev {
    transform: translateX(-25%);
  }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
transform: translateX(0);
}

/* Custom code for login page */
.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #eee; 
}

.main-page-background {
/* background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(65, 86, 120, 1)), url("../images/vert_camoufle.jpg"); */
background-image: url("../images/vert_camoufle.jpg");
width: 100%;
background-position:center; 
background-repeat:no-repeat;
background-size:cover;
height: auto;
}
.navbar-background {
  /* background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(65, 86, 120, 1)), url("../images/vert_camoufle.jpg"); */
  background-image: url("../images/vert_camoufle.jpg");
  }

.page-403-background {
    background-image: url("../images/403.jpeg");
  width: 100%;
  background-position:center; 
  background-repeat:no-repeat;
  /* background-size:contain; */
  height: 60vh;
  }

  .page-404-background {
    background-image: url("../images/404.jpg");
  width: 100%;
  background-position:center; 
  background-repeat:no-repeat;
  background-size:contain;
  height: 60vh; 
  }

/* Custom code for calendar picker */
.input-group-append {
  cursor: pointer;
  
}

.year-search-button {
  background: rgba(0, 0, 0, 0.7);
  border: none; 
}

/* Vertical Scroll */
.vertical-scrollable {
  /* position: absolute; */
  /* top: 95px;
  bottom: 20px; */
  height: 76vh;
  overflow-y: scroll;
}

.scrollable-right {
  right: 10px;
}

.scrollable-left {
top: 110px;
left: 10px;
}

.modal-right {
position: absolute;
top: 10px;
right: 100px;
bottom: 0;
left: 0;
z-index: 10040;
overflow: auto;
overflow-y: auto;
}

.blue {
color: blue;
}

.facebook {
color: #3b5998 !important;
}

.pink {
color: #d6276a !important;
}

.display-none {
  display:none;
}

/* Drag And Drop File Upload */

#files {
overflow-y: scroll !important;
min-height: 320px;
}
@media (min-width: 768px) {
#files {
min-height: 0;
}
}
#debug {
overflow-y: scroll !important;
height: 180px;	
}

.dm-uploader, .bg-darken {
border: 0.25rem dashed #A5A5C7;
background-color:rgb(106, 120, 134);
text-align: center;
}

.dm-uploader.active {
border-color: red;
border-style: solid;
}

.my-text-area {
width:400px;
min-height: 100px;
max-height: 900px;
resize: vertical;
overflow: hidden;
height: auto;
}

body {
background-color: #fbfbfb;
/* background: linear-gradient(135deg, #8C9EFF, #415678, #1d075a); */
}
@media (min-width: 991.98px) {
main {
padding-left: 240px;
}
}

/* Sidebar */
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
padding: 58px 0 0; /* Height of navbar */
box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
width: 240px;
z-index: 600;
background-image: linear-gradient( rgba(65, 86, 120, 1), rgba(0, 0, 0, 0.0));
}

.main-background {
  background-image: linear-gradient( rgb(17, 41, 78), rgba(65, 86, 120, 1));
  /* background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(65, 86, 120, 1)); */
}
@media (max-width: 991.98px) {
.sidebar {
width: 100%;
}
}
.sidebar .active {
border-radius: 5px;
box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.sidebar-sticky {
position: relative;
top: 0;
height: calc(100vh - 48px);
padding-top: 0.5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}


.footer {
position: relative;
margin-top: -150px; /* negative value of footer height */
height: 150px;
clear:both;
padding-top:20px;
} 

form.form-inline {
display: inline-block;
}
.select2-selection {
height: 40px !important;
width: 100% !important;
border-color: #ced4da !important;
padding-top:5px;
}
.card { background-color: rgba(245, 245, 245, 0.4); }
.card-header, .card-footer { opacity: 1}
.text-justify {
  text-align: justify;
}

.modal:nth-of-type(even) {
  z-index: 1052 !important;
}
.modal-backdrop.show:nth-of-type(even) {
  z-index: 1051 !important;
}