#fairBranding{
  background-color: rgb(240, 240, 240);
  border-radius: 5px;
  padding: 20px 15px
}

#fairBranding h1{
  margin-bottom: 15px
}

#fairBranding p{
  font-weight: 100;
  letter-spacing: 1px;
  border-left: 2px solid var(--RCFprimary);
  padding-left: 10px
}

#innerAllFairs{
  margin-top: 50px
}

#innerAllFairs .topSideNav .flex-column {
  position: sticky;
  top: 6.8rem;
}

#innerAllFairs .topSideNav .nav-link{
  /* color: var(--RCFprimary) */
  color: black;
  padding-right: 80px;
}

#innerAllFairs .nav .active{
  color: white;
  /* background-color: var(--RCFprimary) */
  background-color: var(--RCFlight)
}

.sticky {
  position: fixed;
  top: 100px;
}

.buttonNav{
  margin-bottom: 50px
}

.buttonNav .nav-link{
  font-size: 12px;
  background-color: rgb(226, 226, 226);
  margin: 3px;
  color: black;
}

h3{
  margin-top: 40px
}

#fairPage {
    /* padding-bottom: 50px; */
}

.vertical-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#homeBranding.innerfairBrands .overlay .row {
    position: absolute;
    bottom: 20px;
}


/* about fair starts */

#aboutFair p {
    font-size: 15px;
    font-weight: 200;
    border-left: 2px solid var(--RCFprimary);
    padding-left: 10px
}


/* about fair ends */


/* company starts */

#fairCompany .company-img {
    position: relative;
    height: 100px;
    text-align: center;
    padding-bottom: 20px;
}

#fairCompany .company-img:hover img{
  transform: scale(1.1);
}

#fairCompany .company-img img {
    height: 100%;
    width: 100%;
    object-fit: scale-down;
    transition: 0.2s ease-in all
    /* border: 1px solid black */
}

#fairCompany p{
  font-size: 15px;
  font-weight: 200;
  margin-top: 20px;
  text-align: justify;
}
/* company ends */


/* Fair Events starts */

#fairEvents .card {
    position: relative;
    height: 130px;
    border: none;
}

#fairEvents .card .event-time {
    width: 110px;
    height: 110px;
    position: absolute;
    left: 10px;
    top: 10px;
}

#fairEvents .card .event-description {
    margin: 10px;
    margin-left: 135px;
    margin-right: 15px;
}

#fairEvents .card .event-description .event-location{
  font-size: 13px;
  margin-bottom: -10px
}

#fairEvents .card .event-description h4 {
    font-size: 25px;
    font-weight: 400;
}

#fairEvents .event-details{
  font-weight: 200;
  font-size: 15px;
  border-radius: 5px;
  text-align: justify;
}

#fairEvents span{
  display: block;
}
/* Fair Events ends */


/* Fair gallery section starts */

#fairGallery .owl-carousel {
    text-align: center;
}

#fairGallery .owl-carousel .item {
    background-color: gold;
    margin: 10px;
    padding: 1rem;
}

#fairGallery .owl-theme .owl-dots .owl-dot span,
#fairGallery .owl-theme .owl-dots .owl-dot span {
    /* height: 15px; */
    /* transition: 0.3s ease; */
    outline: none;
    border: none;
}

#fairGallery .owl-theme .owl-dots .owl-dot.active span,
#fairGallery .owl-theme .owl-dots .owl-dot:hover span {
    background-color: var(--teal);
    /* transition: 0.6s ease; */
    outline: none;
    border: none;
    margin-top: 10px
}

#fairGallery .cara {
    height: 200px;
}

#fairGallery .cara img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#fairGallery .owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
    display: none
}


/* gallery section ends */


/* tablet devices */

@media only screen and (max-width: 1025px) and (min-width: 415px) {
    #fairEvents .card .event-description h4 {
        font-size: 20px;
    }
}


/* mobile devices */

@media only screen and (max-width: 414px) and (min-width: 1px) {
    #fairEvents .card .event-description h4 {
        font-size: 18px;
    }
    #homeBranding.innerfairBrands {
        height: 250px !important;
    }
}
