/* ===================================================================================

* Theme Name: Turitor Child
* Theme URI: https://themeforest.net/user/tripples/portfolio
* Author: Tripples
* Author URI: http://themewinter.com
* Description: Turitor is a Education WordPress Theme.
* Version: 1.0.0
* Template: turitor
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* Footer logo alignment */
@media (min-width: 992px) {
    .ts-footer .footer-logo img {
        margin-top: -3px;
    }
  }

/* footer social links alignment */
.footer-widget .ts-social-list li {
    margin-right: 5px !important;
}

/* Back to top button */
.BackTo a:hover {
  color: #fff !important; 
}

/* Customized WP Forms contact form style */
.contact-form .wpforms-field input,
.contact-form .wpforms-field textarea {
  max-width: 100% !important;
  width: 100% !important;
}
.contact-form .wpforms-submit {
  background-color: #283a68 !important;
	border-radius:5px !important;
transition: all 0.3s ease-in-out !important;
}

/* Footer Widgets Customization */
.footer-widget,
.footer-widget p,
.footer-widget li,
.footer-widget a {
  color: #ddd !important;
	text-decoration: none !important;
}

.footer-widget a:hover {
  color: #0fb583 !important;
}

/* Gallery Image Container */
.mfp-container{
	z-index:999 !important;
}

/* navbar submenu indicator arrow */
.elementskit-submenu-indicator{
	color:#0fb583 !important;
	border:none !important;
}

/* PDF accordion styling */
.paper-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  gap: 12px;
  border-bottom: 1px groove #d4d4d4;
}

.paper-left {
  flex-grow: 1;
}

.paper-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.paper-right {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-view,
.btn-download {
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: white !important;
}

.btn-view {
  border:none;
  background-color: #0fb583;
  transition: all 0.4s ease;
}

.btn-view:hover {
	cursor:pointer;
	color:#fff !important;
    background-color: #0aa76b;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5) !important;

}

.btn-download {
  background-color: #283a68;
}

.btn-download:hover {
	color:#fff !important;
    background-color: #1f3056;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5) !important;

}

/* 📱 Responsive: Stack buttons vertically */
@media (max-width: 600px) {
  .paper-left,
  .paper-right {
    width: 100%;
	justify-content: flex-start;
  }

  .btn-view,
  .btn-download {
    width: fit-content;
  }
	
  .paper-row {
  flex-direction: column;
  align-items: flex-start;
}

}

/* pdf viewer modal css */
#pdfModal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-overlay {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  background: white;
  width: 90%;
  height: 90%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 10000;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.close-btn {
  color:#fff !important;
  position: absolute;
  font-size:50px !important;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  z-index: 10001;
}
