/*!
Theme Name: FirstTechChallenge
Theme URI: http://underscores.me/
Author: Prasadh Baapaat
Author URI: http://cmswebdev.in/
Description: Custom Theme for FTC India
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: firsttechchallenge
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

/*--------------------------------------------------------------
# Underscores Default
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/***************************************************************
# HTML, Body, Headings & Other Tags
***************************************************************/

body {
  background-color: #fff;
  margin: 0 auto;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 27px;
  font-weight: normal;
  color: #555;
  height: auto;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: #333;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 23px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
  font-weight: 500;
}

a {
  color: #d10000;
  text-decoration: none;
}

a:hover {
  color: #242424;
}

strong {
  font-weight: 500;
}

.noborder {
  border: none !important;
}

.border {
  border: 1px solid #dedede !important;
}

.border-dark {
  border: 1px solid #999 !important;
}

hr {
  color: transparent;
  background-color: transparent;
  border: 0;
  opacity: 1;
}

hr,
.wp-block-separator {
  border-top: 1px dashed #005aaa;
  margin: 24px 0;
}

.btn-theme {
  color: #fff;
  background-color: #d10000;
  border-color: #242424;
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.btn-theme:hover {
  color: #fff;
  background-color: #242424;
  border-color: #d10000;
  box-shadow: none;
}
.white {
  color: #fff;
}
.redtxt {
  color: #d10000;
}
.bggrey {
  background-color: #ededed;
}
.formhtmlheading {
  background-color: #ededed;
  padding: 5px 10px 0 10px;
}
/***************************************************************
# Header Section
***************************************************************/
.bgheader {
  background-color: #ededed;
  color: #4d4d4d;
}

.logo {
  margin: 20px 0;
}
.logoright {
  text-align: right;
  margin-top: 20px;
}
.logoright img,
.logo img {
  max-width: 100%;
  height: auto;
}
.headercontact {
  text-align: right;
  margin-top: 12px;
}

/***************************************************************
# Bootstrap Topmenu
***************************************************************/
.topmenu {
  margin-top: 27px;
}
/* Show dropdown on Hover, only for large screens */
@media (min-width: 992px) {
  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }
}
/* Continue */

.navbar {
  background-color: #ededed;
  padding: 9px 0 0 0;
  z-index: 1000;
}

.navbar > .container {
  padding: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 10px 20px;
  text-transform: uppercase;
}

.nav-link {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: #4d4d4d;
  font-weight: 600;
  font-size: 19px;
}

.nav-link:hover {
  color: #000;
}

.navbar-nav .nav-link.active {
  color: #d10000 !important;
}

.dropdown-toggle::after {
  margin-left: 10px;
}

.dropdown-menu {
  min-width: 160px;
  background-color: #fff;
  color: #242424;
  border: 0;
  border-radius: 0;
  padding: 0;
  border: 1px solid #555;
}

.dropdown-menu .dropdown-item {
  background-color: #fff;
  color: #242424;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border-bottom: 1px dashed #c3c3c3;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
  background-color: #ededed !important;
  color: #d10000;
}
.navbar-light .navbar-toggler {
  color: transparent;
  border-color: #242424;
  padding: 2px 5px;
  margin: 0 2px 7px 2px;
}

/***************************************************************
# Search Modal
***************************************************************/
.modal-search-form {
  margin: 25px 0 20px 0;
}

#menu-primary i {
  color: #dedede;
}

/***************************************************************
# Home Page Slider
***************************************************************/

#homePageSlider .carousel-item img {
  width: 100%;
  height: auto;
}

.carousel-caption {
  width: 600px;
  font-size: 30px;
  line-height: 45px;
  bottom: 32%;
  margin-right: auto;
  margin-left: auto;
  text-shadow: 1px 1px 1px #000;
}

/***************************************************************
# Home Page
***************************************************************/
.bigheading {
  font-size: 44px;
}
.divebanner {
  margin-top: 10px;
  background-color: #005aaa;
  color: #fff;
}
.intodeepbanner {
  margin-top: 10px;
  background-color: #f57e25;
  color: #fff;
}
.intodeepbanner a {
  color: #fff;
}
/***************************************************************
# Inside Pages
***************************************************************/
.pagecontent {
  min-height: 450px;
  padding-bottom: 20px;
}
.content {
  margin-top: 50px;
}
.entry-header h1 {
  top: 360px;
}
h1.entry-title {
  padding: 5px 5px 5px 5px;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(53, 48, 33, 0.8),
    -2px 2px 5px rgba(53, 48, 33, 0.8), 0px 2px 5px rgba(53, 48, 33, 0.8);
}

.entry-title-blog {
  padding-top: 70px;
  text-transform: uppercase;
  font-size: 32px;
  color: #fff;
  line-height: 36px;
  text-shadow: 2px 2px 5px rgba(53, 48, 33, 0.8),
    -2px 2px 5px rgba(53, 48, 33, 0.8), 0px 2px 5px rgba(53, 48, 33, 0.8);
}
.pageheaderimage {
  padding-top: 420px;
  min-height: 540px;
  background-color: #333;
  background-image: url(images/first-tech-banner.jpg);
  background-size: cover;
  background-position: center center;
}
.regform-header,
.woocommerce-products-header__title {
  background-color: #242424;
  color: #fff;
  padding: 10px 10px 5px 10px;
  margin-bottom: 20px;
}
.hdnomargin {
  margin: 0;
}
/***************************************************************
# Sponsors Box
***************************************************************/
.sponsorsbox {
  background-color: #f1f1f1;
  padding: 50px 0;
}
.sponsorsbox img {
  border-radius: 10px;
  border: 1px solid #ccc;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
/***************************************************************
# Woocommerce
***************************************************************/
.shopcontent {
  margin: 50px 0;
}
.woocommerce-breadcrumb {
  margin-bottom: 20px;
}
.btnregister {
  background-color: #ffcc00;
  border-radius: 30px;
  color: #fff;
  margin-left: 20px;
}
.btnregister a {
  color: #fff;
}
.btndonate {
  background-color: #00ca1b;
  border-radius: 30px;
  color: #fff;
  margin-left: 20px;
}
.btndonate a {
  color: #fff;
}
select.ff-el-form-control:not([size]):not([multiple]) {
  height: 50px;
}
.woocommerce-product-gallery__wrapper {
  margin-right: 50px;
}
.woocommerce-product-gallery__wrapper img {
  max-width: 100%;
}
.product {
  border: 1px solid #ccc;
  text-align: center;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 62px, rgba(0, 0, 0, 0.23) 0px 1px 2px;
}
.product:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.product img {
  margin-right: auto;
  margin-left: auto;
}
.woocommerce-ordering {
  margin-bottom: 20px;
}

.single_add_to_cart_button {
  margin: 15px 0;
}
.single-product div.product .woocommerce-product-gallery {
  width: 45%;
}
.product_title {
  padding: 5px 5px 5px 5px;
  color: #242424 !important;
  text-shadow: none !important;
}
.wc-block-cart__submit-container {
  color: #fff;
  background-color: #d10000;
  border-color: #242424;
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.wc-block-cart__submit-container:hover {
  color: #fff;
  background-color: #242424;
  border-color: #d10000;
  box-shadow: none;
}
.wc-block-cart__submit-container a {
  color: #fff;
}
.single_add_to_cart_button {
  background-color: #00aa09;
  border-color: #242424;
  border-radius: 10px;
  padding: 5px 15px;
}
.single_add_to_cart_button:hover {
  background-color: #018a08;
  color: #fff;
}
.woocommerce-loop-product__title {
  min-height: 68px;
  margin-top: 10px;
}
.add_to_cart_button {
  border: 1px solid #242424;
  margin: 7px 0;
}
.add_to_cart_button:hover {
  background-color: #00aa09;
}
.related,
.wc-tabs,
.product_meta {
  display: none;
}
.wc-block-grid__product {
  border: 1px solid #ccc;
  text-align: center;
  padding: 10px !important;
  margin: 10px !important;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 62px, rgba(0, 0, 0, 0.23) 0px 1px 2px;
}
.woocommerce-product-details__short-description {
  color: #d10000;
  font-size: 12px;
}
.woocommerce-price-suffix {
  color: #d10000;
  font-size: 12px;
}
.wc-block-components-checkout-place-order-button {
  background-color: #00aa09;
  color: #fff;
}

.woocommerce-tabs .panel h2:first-of-type {
  margin-bottom: 7px !important;
  text-align: left;
}
.wc-block-cart-item__remove-link {
  border: 1px solid #ccc !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  padding: 2px 10px !important;
}
.wc-block-cart-item__remove-link:hover {
  background-color: #ffe9e9 !important;
}
.wc-block-grid__product {
  max-width: 100% !important;
}
/***************************************************************
# Footer
***************************************************************/
footer {
  width: 100%;
}
.prefooter {
  background-color: #231f20;
  padding: 50px 0 42px 0;
}
.footerlogo {
  margin-bottom: 24px;
}
.footerlinks ul {
  list-style-type: none;
  line-height: 36px;
}
.footerlinks a {
  color: #fff;
}
.socialicons a {
  margin: 10px;
  color: #fff;
}
.socialicons a:hover {
  color: #d10000;
}
.socialicons .fab {
  font-size: 33px;
}
.mainfooter {
  background-color: #000;
  color: #fff;
  padding: 24px 0 20px 0;
  text-align: center;
  font-size: 14px;
}
.mainfooter p {
  margin-bottom: 0;
}

/***************************************************************
# Popup on Home Page
***************************************************************/
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup-content {
  background-color: #48c0df;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  position: relative; /* Allows positioning of the close icon */
}
.image-wrapper {
  background-color: #48c0df; /* Blue background color */
  padding: 10px;
  display: inline-block; /* To fit the size of the image */
}
.image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensure image doesn't have extra space below */
}
.popup .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 50%;
  padding: 5px 12px;
}
.popup .close:hover {
  background: #ddd;
}

.button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #00aa09;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.button:hover {
  background-color: #0056b3;
  color: #fff;
}

.popup-button {
  border: 2px solid #000; /* Adjust the border color and width as needed */
  border-radius: 20px;
  padding: 10px 20px; /* Adjust padding for better appearance */
  background-color: #0e659e; /* Adjust background color as needed */
  color: white; /* Adjust text color */
  font-size: 16px; /* Adjust font size */
  cursor: pointer; /* Changes cursor to pointer on hover */
  transition: background-color 0.3s ease; /* Smooth transition effect */
}

.popup-button:hover {
  background-color: #0e659e; /* Adjust background color on hover */
}

/*--------------------------------------------------------------
# Top Button
--------------------------------------------------------------*/
.topbutton {
  position: fixed;
  right: 30px;
  bottom: 20px;
  z-index: 100;
  color: #005aaa;
  display: none;
}

.topbutton .fas {
  font-size: 36px;
}
/***************************************************************
# Mobile
***************************************************************/
@media (min-width: 991px) and (max-width: 1366px) {
  .nav-link {
    font-size: 15px;
  }
}
@media (max-width: 992px) {
  .topmenu,
  .navbar {
    background-color: #ccc;
    margin-top: 0;
  }
  .btnregister {
    margin-left: 0;
  }
  .carousel-caption {
    display: none;
  }
  .logo,
  .logoright {
    text-align: center;
  }
  .logoright {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .socialicons {
    margin-bottom: 20px;
  }
}
