.market {
  width: 100%; 
  max-width: 700px;
  height: auto; 
  display: block; 
  background-image: url('../../../images/Market/bg.jpg'); 
  background-repeat: no-repeat; 
  background-size: contain; 
  margin: 0 auto;
}

.jes-btn {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #fafafa;
    text-align: center;
    text-shadow: 0 1px 1px #333;
    vertical-align: middle;
    cursor: pointer;
    background-color: #99cc33;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#CCFA6F,#6B8D25);
    background-repeat: repeat-x;
    border: 1px solid #444;
    border-color: #333 #333 #333;
    border-color: #333 #333 #333;
    border-bottom-color: #333;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}

.jes-btn:hover, .jes-btn:focus {
    color: #333;
    text-shadow: 0 1px 1px #fff;
    text-decoration: none;
    background-position: 0 15px;
    -webkit-transition: background-position .1s linear;
    -moz-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    transition: background-position .1s linear;
}

.jes-btn a {
  color: #ffffff;
}

.jes-btn a:hover {
  color: #333;
 
}

.jes-btn a:focus {
    outline: none !important;
   color: #333;
  text-shadow: 0 1px 1px #fff;
}

.button, button, input[type="button"], input[type="submit"] {
   
    font-size: 14px !important;
}

hr {
border-top: 3px solid #83a57c;
}

.pop-bg, .pop-nobg{
  display: flex;
  flex-direction: row;
}

.pop-bg p {
  padding: 2px;
    background-color: rgba(153, 204, 51, 0.36);
}

.pop-nobg p {
  padding: 2px;
}

.pop p {
  margin: 5px 10px 5px 0;
}

.clearpop {
  height: 2px;
    background-color: #83a57c;
}

.pop h3 {
  color: #83a57c;
  font-weight: 500;
}

.pop1 {
    width: 15%;
  min-width: 80px;
  margin-right: 10px;
}

.pop2 {
    width: 25%;
    min-width: 150px;
  margin-right: 10px;
}

.pop3 {
    width: 25%;
    min-width: 150px;
  margin-right: 10px;
}

.pop4 {
    width: 25%;
    min-width: 150px;
    margin-right: 10px;
}

.cp a:hover {
    color: #99CC33;
}

.mx-inner {
    padding-left: 10px;
    padding-right: 10px;
    
    background-color: #fff;
}

.st-michael-s .mx-inner, 
.st-bride-s-oldcastle .mx-inner,
.st-bride-s-mountnugent .mx-inner,
.parochial-school .mx-inner,
.safeguarding-trust-notice .mx-inner {
  padding: 0 5% 0 5%;
}

#hormenu:before, #hormenu:after {
   display: none;
  visibility: 0;
}

#mx-footer {
  padding: 0 2% 0 2%;
    background-color: #000000;
  color: #ffffff;
}

h1, h2, h4 {
  color: #83a57c;
}

#mx-basebody .main-bg {
  width: 85%
}

#mx-basebody {
  background-color: #eee;
}

.dj-slide {
  width:49%;
}

article header {
    margin: 0;
}

#mx-rightcol {
    width: 31% !important;
    margin-left: 1%;
}

.swiper-wrapper {
    height: 400px !important;
}

.churchs {
  position: relative;
    background-position: right 0;
    background-repeat: no-repeat;
    display: table;
    background-size: contain;
    width: 100%;
    height: auto;
    padding: 0 6% 10% 3%;
    margin-left: -3%;
    max-width: 100%;
}

.churchs h1 {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 10px 10px 10px 0;
  border-radius: 20px;
      display: table;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
}

.church_copy {
 width: 55%;
    padding: 80px 1% 80px 0;
    float: left;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
}

.church_copy .pull-right {
  margin: 0 0 10px 20px;
}
.church_copy .pull-left {
  margin: 0 20px 10px 0;
}

.church_copy img {
  max-width: 20%;
  min-width: 109px;
}

.church_copy p {
  font-size: 17px;
}

.swiper-slide .slide-bgimg::after {
  opacity: 0 !important;
}

.home_copy h2{
  font-size: 28px;
    line-height: 125%;
}

.home_copy p{
  font-size: 18px;
   margin: 0 0 15px;
}

.home_copy, .box {
padding: 25px 5% 25px 5%;
}

.home_copy .pull-right {
  margin: 0 0 10px 20px;
}

.home_copy .pull-left {
  margin: 0 20px 10px 0;
}

.cap {
    text-align: center;
    margin-top: 10px;
}

  .firstcharacter {
 float: left;
    font-size: 80px;
    line-height: 60px;
    padding-top: 2px;
    padding-right: 4px;
    padding-left: 3px;
  }



/* Phones portrait and landscape  */
@media only screen and ( max-width: 767px ) {
  
.swiper-wrapper {
    height: 100% !important;
}  
  
  #mx-rightcol {
    width: 100% !important;
  }
  
  .churchs h1, .church_copy {
  background-color: rgba(255, 255, 255, 0.8);
        margin: 10px;
  }
  
  .churchs {
    background-size: cover;
    padding: 0;
  }
  
  .st-michael-s .mx-inner {
    padding: 0;
  }
  
    .church_copy { 
    width: auto;
    padding: 40px 10px 40px 10px;
    }
  
  .mx-base {
    min-width: 280px!important;
    width: 95%!important;
}
  
  .home_copy .pull-right, .home_copy .pull-left {
    margin: 0 0 15px 0;
   float: none;  
    text-align: center;
}




  
  
}

@media only screen and ( max-width: 700px ) {
  
  .market {
   background-size: cover;  
  }
}

/* Landscape phone to portrait tablet */
@media (min-width: 768px) and (max-width: 959px) { 
  
  .swiper-wrapper {
    height: 100% !important;
}  
  
   .churchs h1, .church_copy {
  background-color: rgba(255, 255, 255, 0.65);
  }
  
  .mx-base {
    width: 95%!important;
}
  
}
