html {
  position: relative;
  min-height: 100%;
}

body {
  height: 100%;
  width: 100%;
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

/*
bodyold {
  height: 100%;
  width: 100%;
  margin-bottom: 60px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}
*/

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 75px;
  line-height: 10px; /* Vertically center the text there */
  background-color: #e9e9e9;
}

td.details-control {
    background: url('./img/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('./img/details_close.png') no-repeat center center;
}

.bg-purple { background-color: #6f42c1; }
.bg-orange { background-color: #f8931d; color: black; }
.bg-darkorange { background-color: #DB5F26; color: white; } 
.bg-lightgray { background-color: #ececea; }
.bg-lightgray2 { background-color: #cac9d2; }
.bg-medgray { background-color: #aeafb3; }
.bg-blue { background-color: #265495; }
.bg-lightblue { background-color: #5BBBF6; color: black; }
.bg-hotpink { background-color: #FF69b4; }
.bg-lightblue { background-color: #e3f2fd; }
.bg-gold { background-color: #d4b320; }


.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

.duplicatebutton { display:block; }
.maintenancedialoghide { display:block; }

.mydatepicker {
    z-index: 100000;
}

.zindex {
    z-index: 99;
}

.alert-sm {
  margin-bottom: 1px;
  height: 30px;
  line-height:30px;
  padding:0px 15px;
}

.mybadge .redbadge[data-count]:after{
  position:absolute;
  right:10%;
  top:8%;
  content: attr(data-count);
  font-size:40%;
  padding:.2em;
  border-radius:50%;
  line-height:1em;
  color: white;
  background:rgba(255,0,0,.85);
  text-align:center;
  min-width: 1.5em;
  display: block;
  /* font-weight:bold; */
}

.mybadge .greenbadge[data-count]:after{
  position:absolute;
  right:10%;
  top:8%;
  content: attr(data-count);
  font-size:40%;
  padding:.2em;
  border-radius:50%;
  line-height:1em;
  color: white;
  background:rgba(40,167,69);
  text-align:center;
  min-width: 1.5em;
  display: block;
  /* font-weight:bold; */
}

.btn-space {
  margin: 2px 2px;
}

.bootstrap-tagsinput .badge {
    margin: 2px 0 0 2px;
    padding: 10px 10px;
}

.badge-info {
    color: #fff;
    background-color: #5BBBF6;
    font-size: 14px;
}

.loader {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid blue;
  border-right: 8px solid green;
  border-bottom: 8px solid red;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.my-modal-title {
    color: black;
}

.nav-tabs .nav-link:not(.active) {
   color: black !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #000000;
}

.bibleversenum {
    font-weight: bold;
    color: #000;
}

.bibleheader {
    font-weight: bold;
    color: #000;
    font-size: 18px;

}

.video-card .card-title {
    word-wrap: break-word;
}
.video-card .card-text {
    word-wrap: break-word;
}

.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

.chart div { 
  font: 12px sans-serif;
  background-color: steelblue;
  text-align: right;
  padding: 10px;
  margin: 1px;
  color: white;
}

.fileinput-button {
  position: relative;
  overflow: hidden;
  float: left;
}

.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  transform: translate(-300px, 0) scale(4);
  font-size: 23px;
  direction: ltr;
  cursor: pointer;
}

[data-toggle="collapse"] .fa:before {  
  content: "\f139";
}

[data-toggle="collapse"].collapsed .fa:before {
  content: "\f13a";
}

.imgb {
    float: right;
    margin: 10px;
    display: block;
    background: transparent;
    padding: 8px;
    border: 1px solid #ccc;
    box-shadow: 10px 10px 10px #999;
}

.imgi {
    margin: 10px;
    background: transparent;
    padding: 8px;
    border: 1px solid #ccc;
    box-shadow: 10px 10px 10px #999;
}

.imgrounded {
    margin: 1px;
    background: transparent;
    padding: 2px;
    border: 1px solid #ccc;
    box-shadow: 10px 10px 10px #999;
    border-radius: 25px;    
}

.imgrounded2 {
    margin: 0px;
    background: transparent;
    padding: 0px;
    border: 1px solid #ccc;
    box-shadow: 10px 10px 10px #999;
    border-radius: 25px;    
}

.toolbar {
    position: relative;
    width: 98%;
}

.chord {
    font-size: 16px;    
}

.chordimg {
    width: 90px;
    height: 90px;        
}

.embed-responsive-9by16 {
  height: 759px;
}

#mylistsearch {
  background-image: url('/img/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 90%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

.appbutton {
    width: 72px;
    height: 72px;    
}

.appbuttontext {
    width: 72px;
}

@media screen and (max-width: 380px) {
    .appbutton {
        width: 56px;
        height: 56px;    
    }

    .appbuttontext {
        width: 56px;
    }
    
    .navbar-brand {
        font-size: 16px;
    }
    
    .nav-link {
        padding: 6px;
    }

    .chord {
        font-size: 12px;    
    }

    .chordimg {
        width: 70px;
        height: 70px;        
    }

    .breadcrumb {
        font-size: 12px;
    }
}

/* Cards */

@media (min-width: 34em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }    
}

@media (min-width: 48em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }    
}

@media (min-width: 62em) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
    
}

@media (min-width: 75em) {
    .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

.pbcontainer {
    position: relative;
    display: inline-block;
}

.playbutton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #f00;
  color: white;
  font-size: 24px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Prevent columns from stretching only in app grid */
.row.app-grid > [class*="col-"] {
  flex-grow: 0 !important;
}

/* Tile sizing */
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px;
}

/* Icon normalization */
.app-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1px;
}

/* Text normalization */
.app-title {
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  max-height: none;
}

.row.custom-gutter {
  margin-left: -2px;
  margin-right: -2px;
}

.row.custom-gutter > [class*="col-"] {
  padding-left: 2px;
  padding-right: 2px;
}

@media (min-width: 992px) {
  .app-icon {
    width: 108px;  /* bigger icon */
    height: 108px;
  }

  .app-title {
    font-size: 12px; /* slightly bigger text if desired */
  }
}

/* Shared styles for all floating buttons */
/* Shared floating button styles */
.floatingButton {
    position: fixed;       /* this makes it float */
    bottom: 20px;          /* distance from bottom */
    background-color: #555;/* rgba(200,200,200,0.3);  #000;*/
    color: #fff; /* #333; */
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect */
.floatingButton:hover {
    background-color: #444; /* rgba(200,200,200,0.6); #222;*/  
    transform: translateY(-2px);
}

/* Positioning */
.floatingButton.right {
    right: 20px;
}

.floatingButton.left {
    left: 20px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    #floatingButton {
        padding: 12px 18px;
        font-size: 14px;
    }
}
