/*
red = 190,30,45
*/


@font-face {
    font-family: siteFontSpecial;
    src: url(fonts/Cubano-Regular.otf);

}

@font-face {
    font-family: siteFontNormal;
    src: url(fonts/Lato/Lato-Light.ttf);
}

@font-face {
    font-family: siteFontNormalBold;
    src: url(fonts/Lato/Lato-Bold.ttf);
}

.bold_text {
  font-family: siteFontNormalBold,siteFontNormal,sans-serif;
  font-size: 125%;
}

body {
  padding-top: 40px;
  font-family: siteFontNormal,sans-serif;
  font-size: 180%;
}

a {
  text-decoration: none;
  font-weight: bold;
  color: inherit;
}

nav img {
    /* padding-top: 10px;
    padding-bottom: 30px; */
}

footer {
	text-align: center;
	font-size: 85%;
	text-align: center;
	max-width: 600px;
	margin: auto;
}

h2 {
    font-family: siteFontSpecial,siteFontNormal,sans-serif;
    color: rgb(190,30,45);
}

.logo {
  width:50%;
  min-width:300px;
  margin:0 auto;
}

.customPad {
    margin-left: 10px!important;
}

.navbar-brand {
    padding: 0;
}

/* .bg-grey {
    background-color: #eee;
}

.bg-grn {
    background-image: url("backgroundv2.png");
    background-repeat: repeat;
} */

.addr-width {
    width: 260px!important;
}

.bottomPad {
    padding-bottom: 40px;
}

.clear{
    clear: both;
}

#about, #services, #horsebox, #enquire, #jobs, #gallerylink {
    padding-top: 40px;
}



/* styles for bottom right contact icons start  */

.speechbubble {
  width:120px;
  margin:20px auto;
  background-color: white;
  color: black;
  padding: 5px;
  text-align: center;
  font-weight: 900;
  position: fixed;
  box-shadow: 0 0 10px gray;
  z-index: 99;
  border-radius: 15px;
}

#sb1 {
  display: block;
  opacity: 1;
  bottom: 12px;
  right: 95px;
  transition: all 1s;
}

#sb2 {
  opacity:0;
  display: block;
  bottom: 12px;
  right: 95px;
  transition: opacity 0.5s ease;
}

#sb3 {
  opacity:0;
  display: block;
  bottom: 90px;
  right: 95px;
  transition: opacity 0.5s ease;
}

#sb4 {
  opacity:0;
  display: block;
  bottom: 170px;
  right: 95px;
  transition: opacity 0.5s ease;
}

.speechbubble:before {
  content: "";
  width:0px;
  height:0px;
  position: absolute;
  border-left: 10px solid white;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  right: -15px;
  bottom: 6px;
}

#myContactBtn {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  height:60px;
  width:60px;
  border-radius:50%;
  cursor: pointer;
  padding: 0px;
  overflow: hidden;
  box-shadow: 0 6px #666;
}

#myContactBtn img {
  transform: scale(1);
  transition: 0.5s ease;
}

#myContactBtn img:hover {
  transform: scale(1.1);
  transition: 0.5s ease;
}

#myContactBtn:active {
  box-shadow: 0 3px #666;
  transform: translateY(3px);
}

#myHideBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  height:60px;
  width:60px;
  border-radius:50%;
  cursor: pointer;
  padding: 0px;
  overflow: hidden;
  box-shadow: 0 6px #666;
}

#myHideBtn img {
  transform: scale(1);
  transition: 0.5s ease;
}

#myHideBtn img:hover {
  transform: scale(1.1);
  transition: 0.5s ease;
}

#myHideBtn:hover + #sb2 {
  opacity: 1.0;
  transition: opacity 0.5s ease;
}

#myHideBtn:active {
  box-shadow: 0 3px #666;
  transform: translateY(3px);
}

#my3Btn {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  height:60px;
  width:60px;
  border-radius:50%;
  cursor: pointer;
  padding: 0px;
  overflow: hidden;
  box-shadow: 0 6px #666;
}

#my3Btn img {
  transform: scale(1);
  transition: 0.5s ease;
}

#my3Btn img:hover {
  transform: scale(1.1);
  transition: 0.5s ease;
}

#my3Btn:hover + #sb3 {
  opacity: 1.0;
  transition: opacity 0.5s ease;
}

#my3Btn:active {
  box-shadow: 0 3px #666;
  transform: translateY(3px);
}

#my4Btn {
  display: none;
  position: fixed;
  bottom: 180px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  height:60px;
  width:60px;
  border-radius:50%;
  cursor: pointer;
  padding: 0px;
  overflow: hidden;
  box-shadow: 0 6px #666;

}

#my4Btn img {
  transform: scale(1);
  transition: 0.5s ease;
}

#my4Btn img:hover {
  transform: scale(1.1);
  transition: 0.5s ease;
}

#my4Btn:hover + #sb4 {
  opacity: 1.0;
  transition: opacity 0.5s ease;
}

#my4Btn:active {
  box-shadow: 0 3px #666;
  transform: translateY(3px);
}

/* styles for bottom right contact icons end  */


/* for gallery */


.boxcontainer {
  display: inline-block;
  overflow: hidden;
}

.boxcontainer img {
  display: block;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.boxcontainer:hover img {
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  cursor: zoom-in;
}

#gallery {
   line-height:0;
   -webkit-column-count:4; /* split it into 5 columns */
   -webkit-column-gap:5px; /* give it a 5px gap between columns */
   -moz-column-count:4;
   -moz-column-gap:5px;
   column-count:4;
   column-gap:5px;
}

#gallery img {
   width: 100% !important;
   height: auto !important;
   padding-bottom:5px; /* to match column gap */
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999 !important; /* Sit on top */
  padding-top: 60px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  cursor: zoom-out;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  height: 80%;
  /* max-width: 90%; */
}






/*
@media (max-width: 1200px) {
   #gallery {
    -moz-column-count:    4;
    -webkit-column-count: 4;
    column-count:         4;
   }
} */





@media (max-width: 1200px) {
   #gallery {
    -moz-column-count:    3;
    -webkit-column-count: 3;
    column-count:         3;
   }
}



@media only screen and (max-width: 730px) {

  #gallery {
   -moz-column-count:    1;
   -webkit-column-count: 1;
   column-count:         1;
  }

#navlogoshow {
  display: none;
}

}
