/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
 .black_overlay {
        display: none;
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: black;
        z-index: 1001;
        -moz-opacity: 0.8;
        opacity: .80;
        filter: alpha(opacity=80);
    }
    .white_content {
        display: none;
        position: absolute;
        top: -100%;
        left: 10%;
        width: 80%;
        height: auto;
        padding: 16px;
        border: 1px solid #d6d2d2;
        background-color: white;
        z-index: 1002;
        overflow: auto;
        -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 5px 2px #ccc;
    }
   .closebutton {
    background-color: #afafaf;
    border: none;
    color: white;
    padding: 6px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
}
.event-image {
    margin: 10px 0px;
}
.popupfooter {
    border-top: 1px solid #ccc7c7;
    padding: 15px 0px 0px 0px;
    margin: 15px 0px 0px 0px;
        text-align: right;
}
 .events .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #c2cfd6;
    padding:15px;

}
 .events .d-flex {
    display: flex !important;
}
 .events .mr-4 {
    margin-right: 1.5rem !important;
}
.events h4.card-title.m-0{    margin:2px !important;  }
.badge-pill {
    line-height: 13px;
    border-radius: 10rem;
    padding-right: 0.6em;
    padding-left: 0.6em;
}
.badge-primary {
    color: #fff;
    background-color: #20a8d8;
}
.events h3{margin: 18px 0px !important}

.madinaApps-newsletter input[type=text], input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 4px !important;
    resize: vertical;
}
.madinaApps-newsletter input[type=email]{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 4px !important;
    resize: vertical;
}

.madinaApps-newsletter input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px
}

.madinaApps-newsletter input[type=submit]:hover {
    background-color: #45a049;
}

.madinaApps-newsletter {
    border-radius: 5px;
    padding: 0px 2px;
    max-width: 450px;
}
.star{color:red;}


 .events .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #c2cfd6;
    padding:15px;

}
.announcements .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    /**/background-clip: border-box;
   /* border: none!important;
    border-bottom: 1px solid #000!important;
   */ padding:15px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #000;
    margin: 10px 10px 20px 10px;
}
.announcements .card-body, .card-block{padding:0px!important}
 .events .d-flex {
    display: flex !important;
}
 .events .mr-4 {
    margin-right: 1.5rem !important;
}
.card-body .event-image img {
    /*width: 100% !important;
    height: 100%; shailendra*/
    width: 80% !important;
    height:auto;
}
/*start shailendra*/
img.modelimage {
    height: auto;
    width: 80% !important;
}


/* end Shailendra*/

.card-text p {
    text-align: left;
}
.events h4.card-title.m-0{    margin:2px !important;  }
.badge-pill {
    line-height: 13px;
    border-radius: 10rem;
    padding-right: 0.6em;
    padding-left: 0.6em;
}
.badge-primary {
    color: #fff;
    background-color: #20a8d8;
}
.events h5{margin: 18px 0px !important}

.madinaApps-newsletter input[type=text], input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
.madinaApps-newsletter input[type=email]{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

.madinaApps-newsletter input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px
}

.madinaApps-newsletter input[type=submit]:hover {
    background-color: #45a049;
}

.madinaApps-newsletter {
    border-radius: 5px;
    padding: 20px;
        max-width: 450px;
}


.madinaApps-contactus input[type=text], input[type=email], input[type=number], select, textarea {
    width: 100%;
    padding: 12px!important;
    border: 1px solid #ccc;
    border-radius: 4px!important;
    box-sizing: border-box;
    margin-top: 6px!important;
    margin-bottom: 16px!important;
    resize: vertical;
    font-size:16px;
}
.madinaApps-contactus input[type=email]{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

.madinaApps-contactus input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px
}

.madinaApps-contactus input[type=submit]:hover {
    background-color: #45a049;
}

.madinaApps-contactus {
    border-radius: 5px;
    padding: 5px;
   max-width: 100%;
    float:left;
  width: 100%;
}

.madinaApps-contactus  .form-group {
    width: 50%;
    float: left;

}
.madinaApps-contactus .form-group.last-box {
    padding-left: 3%;
}

.star{color:red;}

.jumuatime td {
    padding: 6px 4px !important;
}
.prayertime td {
    padding: 6px 4px !important;
}
.service-box {
    float: left;
    width: 225px;
    height: 150px;
    text-align: center;
    margin: 0px 10px 15px 0px;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 5px 2px #ccc;
    padding: 5px;
}
.madinapp-form-row{float:left;}
.madinapp-form-row .madinapp-form-box {
    width: 48%;
    float: left;
}
.madinapp-form-row .madinapp-form-box.last {
    margin-left: 16px;/*orb 10px;*/
}
.service-box img{height: 80px;}
@media (min-width: 320px) and (max-width: 480px) {
  .madinapp-form-row .madinapp-form-box {
    width: 100%;
}
.madinapp-form-row .madinapp-form-box.last {
    margin: 0px;
}
  .service-box {
    float: left;
    width: 280px;
    height: 150px;
    text-align: center;
    margin: 0px 0px 15px 0px;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 5px 2px #ccc;
    padding: 5px;
}
.white_content {
    display: none;
    position: absolute;
    top: -100%;
    left: 0%;
    width: 100%;
    height: auto;
    padding: 16px;
    border: 1px solid #d6d2d2;
    background-color: white;
    z-index: 1002;
    overflow: auto;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 5px 2px #ccc;
}

  .madinaApps-contactus .form-group {
    width: 100%;
    float: left;
}
.madinaApps-contactus .form-group.last-box {
    padding-left: 0%;
}
}



/* gallery*/

/* Styles the thumbnail */

a.lightbox img {
/*position: relative;*/
/*vertical-align : middle;*/
width: 300px;
    height: 300px;
    text-align: center;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
/*margin: 94px 20px 20px 20px;*/
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
position: fixed;
top: -100%;
left: 0;
width: 100%;
z-index: 5;
background: rgba(0,0,0,.7);
/*width: 100%;*/
opacity: 0;
-webkit-transition: opacity .5s ease-in-out;
-moz-transition: opacity .5s ease-in-out;
-o-transition: opacity .5s ease-in-out;
transition: opacity .5s ease-in-out;
overflow: hidden;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img {
margin: auto;
position: absolute;
top: 0;
left:0;
right:0;
bottom: 0;
height: 400px;
max-height: 0%;
max-width: 0%;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */

a.lightbox-close {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
opacity: 1;
top: 0;
bottom: 0;
}

.lightbox-target:target img {
max-height: 100%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 0px;
}



/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 65%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: red;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
table.monthlytime tr th{padding:5px!important}
table.monthlytime tr td{padding:10px 5px!important}
tr.even {
    background-color: #f7f7f7;
}
table.monthlytime tr td {
    padding: 6px 24px;
    border-top: 1px solid #d0d0d0;
}
table.monthlytime{ border: 1px solid #d0d0d0!important;}
table.monthlytime tr th {
    background-color: #0a671d;
    color: #fff;
}
.checkbox.steptwo {
    margin-left: 15px;
}
.checkbox.stepthree {
    margin-left: 30px;
}
.mainbox input[type="checkbox"] {
    margin-right: 2px;
}
.events h3.card-title.m-0{margin: 0px 0px !important;}
.events .card-body{padding:2px !important}
@media screen and (max-width: 767px) {

    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #DDD;
    }
}
.gallery-box {
    float: left;
    width: 225px;
    height: 150px;
    text-align: center;
    margin: 0px 10px 15px 0px;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 5px 2px #ccc;
    padding: 5px;
}
.gallery-box img{height: 140px;}



/*Orb 3/18/20 start*/

table.monthlytime tr th {
    background-color: #307a83 !important;
    color: #fff !important;
    padding: 20px 14px !IMPORTANT;
    line-height: 20px;
}

.table-responsive {
    margin-top: 30px;
}



tr.odd {
    background: #d9f1f3 !IMPORTANT;
    color: #34626a !IMPORTANT;
    font-size: 12px;
    font-weight: 600;
}

tr.even {
    background: #fefefe !IMPORTANT;
    color: #34626a !IMPORTANT;
    font-size: 12px;
    font-weight: 600;
}
table.monthlytime {
    border: 1px solid #34626a!important;
}
table.monthlytime tr td {
    padding: 20px 10px!important;
}
.btn-primary {
    color: #fff;
    background-color: #307a83 !important;
    border-color: #307a83 !important;
    padding: 10px 30PX !important;
}

input#btn {
    text-align: right;
    float: right;
    margin-top: 12px;
    margin-right: 440px;
}

input.btn.btn-primary:hover {
    background: #fff !important;
    color: #307a83;
    border-color: #fff;
}
tr.even.currentrow {
    background: #307a83 !important;
    color: #fff !IMPORTANT;
}


.table-responsive{
  /*height:500px;orb*/
  overflow-x:auto;
  border: 1px solid rgba(255,255,255,0.3);
}
table.monthlytime {
    margin: 0 !important;
}

/* for custom scrollbar for webkit browser*/

::-webkit-scrollbar {
    width: 6px;
} 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
} 
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
}



@media (min-width: 320px) and (max-width: 767px) {
input#btn {
   
    margin-top: 40px !important;
    margin-right: 0 !important;
}
input.btn.btn-primary {
    margin-top: 40px !important;
}
}

 @media(max-width:1200px) {
   table.monthlytime tr th {
  line-height: 16px !important;
    font-size: 10px !important;
    padding: 20px 10px !IMPORTANT;
   }
   table.monthlytime tr td {
    font-size: 9px !IMPORTANT;
}
input#btn {
   
    margin-right: 230px !important;
}
 }
/*Orb 3/18/20 end*/





@media (min-width: 320px) and (max-width: 480px) {
  .madinapp-form-row .madinapp-form-box {
    width: 100%;
}

}
.gallery-box img{height: 140px;}
@media (min-width: 320px) and (max-width: 480px) {
  .madinapp-form-row .madinapp-form-box {
    width: 100%;
}
.madinapp-form-row .madinapp-form-box.last {
    margin: 0px;
}
  .gallery-box {
    float: left;
    width: 280px;
    height: 150px;
    text-align: center;
    margin: 0px 0px 15px 0px;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 5px 2px #ccc;
    padding: 5px;
}
.white_content {
    display: none;
    position: absolute;
    top: -100%;
    left: 0%;
    width: 100%;
    height: auto;
    padding: 16px;
    border: 1px solid #d6d2d2;
    background-color: white;
    z-index: 1002;
    overflow: auto;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 1px 1px 5px 2px #ccc;
}

  .madinaApps-contactus .form-group {
    width: 100%;
    float: left;
}
.madinaApps-contactus .form-group.last-box {
    padding-left: 0%;
}
}




@media print {
   tr {
	   display: none !important;
   font-size: 10px !important;
   }
}