/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     basel
 Version:      1.0.0
 Text Domain:  basel-child
*/

/* Your customizations starts here */
.basel-images-gallery img.basel-gallery-image {
  height: 300px;
  width: 370px;
  object-fit: cover;
}
.main-page-wrapper h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 38px;
}
.main-page-wrapper h1 {
  font-size: 42px;
  font-weight: bold;
  line-height: 45px;
}
p {
  font-size: 16px;
}
h5 {
  font-size: 25px;
  font-weight: 600;
  line-height: 28px;
}
li {
  font-size: 16px;
}
fieldset {
  border: none;
  padding: 0;
  margin-bottom: 0;
}
h4 {
  font-size: 23px !important;
  text-align: center;
  font-weight: 700;
  color: #ffac36;
}
footer.footer-container .footer-column {
  margin-bottom: 0;
}

.video-section {
  margin-bottom: 50px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.video-thumbnail {
  position: relative;
  margin: 0 0 15px;
  transition: 0.5s;
  cursor: pointer;
}
.video-thumbnail:hover {
  box-shadow: 0 6px 10px #94918c;
}
.video-post {
  margin: 0 0 25px;
  padding: 0;
  border: 0;
  width: 31.1%;
}
.video-thumbnail img {
  z-index: 1;
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.video-title {
  font-size: 18px;
  line-height: 25px;
  text-align: center;
  font-weight: 600;
}

.video-thumbnail .icon {
  transition: 0.5s;
}
.video-thumbnail:hover .icon {
  margin-top: -2px;
}
.video-thumbnail .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  -o-transform: translateY(-50%) translateX(-50%);
}

/*modal*/

.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fff;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 0;
  width: 800px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.modal-content iframe {
  width: 100%;
  height: 500px;
}
/* .modal-content p {
  margin: 0;
} */
.modal-content p:empty {
  display: none;
}
.modal .title,
.modal h3,
.home-popup .modal p {
  margin: 0 0 10px;
  padding: 0;
}
.modal .close {
  position: absolute;
  right: -16px;
  top: -15px;
  font-size: 16px;
  font-weight: 400;
  background: #00b8cb;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  color: #fff;
}
.modal .close:focus,
.modal .close:hover {
  background: #0090c1;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.modal p {
  margin: 0;
  padding: 0;
  line-height: normal;
}

::selection {
  background: #fcb040;
  color: #ffffff;
}
::-moz-selection {
  background: #fcb040;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .video-section {
    gap: 0;
    justify-content: space-between;
  }
  .video-post {
    width: 100%;
  }
  .modal-content {
    width: 90%;
  }
}
