diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..a7f5942ad14ebb031d84d4fd5c42f1a479d6a538 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +src/assets/img/7.png filter=lfs diff=lfs merge=lfs -text +src/assets/img/8.jpg filter=lfs diff=lfs merge=lfs -text +src/assets/img/intro-carousel/1.jpg filter=lfs diff=lfs merge=lfs -text +src/assets/img/intro-carousel/bg1.jpg filter=lfs diff=lfs merge=lfs -text +src/assets/img/team-2.jpeg filter=lfs diff=lfs merge=lfs -text +src/assets/img/team-3.jpeg filter=lfs diff=lfs merge=lfs -text +src/assets/img/team-4.jpeg filter=lfs diff=lfs merge=lfs -text diff --git a/src/App.jsx b/src/App.jsx new file mode 100644 index 0000000000000000000000000000000000000000..11b81a05d38a226a5da26bac35979055c8877956 --- /dev/null +++ b/src/App.jsx @@ -0,0 +1,49 @@ +import React, { lazy, Suspense } from "react"; +import { BrowserRouter as Router, Route, Routes } from "react-router-dom"; +import Layout from "./components/Layout/Layout"; +import HomePage from "./pages/HomePage"; +import NotFoundPage from "./pages/NotFoundPage"; +import ProtectedRoute from "./components/Shared/ProtectedRoute"; +import { AuthProvider } from "./context/AuthContext"; +import PublicRoute from "./components/Shared/PublicRoute"; +import ErrorBoundary from "./components/Shared/ErrorBoundary"; + +const ModelPage = lazy(() => import("./pages/ModelPage")); +const TeamPage = lazy(() => import("./pages/TeamPage")); +const LoginPage = lazy(() => import("./pages/LoginPage")); +const RegisterPage = lazy(() => import("./pages/RegisterPage")); +const TranslationModulePage = lazy( + () => import("./pages/TranslationModulePage"), +); +const ParagraphCheckerPage = lazy(() => import("./pages/ParagraphCheckerPage")); +const ChatbotPage = lazy(() => import("./pages/ChatbotPage")); +const SummariserPage = lazy(() => import("./pages/SummariserPage")); + +const App = () => { + return ( + + + + + Loading...}> + + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + + + + + + + ); +}; + +export default App; diff --git a/src/api.js b/src/api.js new file mode 100644 index 0000000000000000000000000000000000000000..549424905e948f592d0680e8720fd23a537103ba --- /dev/null +++ b/src/api.js @@ -0,0 +1,64 @@ +const BASE_URL = process.env.REACT_APP_BACKEND_URL || "http://localhost:8080"; + +const apiCall = async ( + endpoint, + method = "GET", + data = null, + params = null, +) => { + const token = localStorage.getItem("token"); + const headers = { + "Content-Type": "application/json", + ...(token && { Authorization: `Bearer ${token}` }), + }; + + // For GET requests, we should use params, not body + let url = `${BASE_URL}${endpoint}`; + if (params || (method === "GET" && data)) { + const queryParams = new URLSearchParams(params || data).toString(); + url += `?${queryParams}`; + } + + const options = { + method, + headers, + ...(method !== "GET" && data && { body: JSON.stringify(data) }), + }; + try { + const response = await fetch(url, options); + + if (!response.ok) { + if (response.status === 401) { + localStorage.removeItem("token"); + window.location.href = "/login"; + } + const errorText = await response.text(); + throw new Error( + errorText || `Request failed with status ${response.status}`, + ); + } + + return response.json(); + } catch (error) { + console.error(`API Call Error: ${endpoint}`, error); + throw error; + } +}; + +export default { + register: (userData) => apiCall("/user/register", "POST", userData), + generateOtp: (email) => apiCall("/user/generateOtp", "POST", { email }), + login: (email, otp) => apiCall("/user/login", "POST", { email, otp }), + logout: () => apiCall("/user/logout", "POST"), + getUserProfile: (username) => apiCall(`/user/profile`, "GET", null, { username }), + submitReview: (reviewData) => apiCall("/user/review/submit", "POST", reviewData), + getAllReviews: () => apiCall("/user/review/all", "GET"), + createModel: () => apiCall("/model/create", "GET"), + sendMail: (emailData) => apiCall("/model/sendMail", "POST", emailData), + test: () => apiCall("/model/test", "GET"), + translate: (data) => apiCall("/model/translate", "POST", data), + grammarCheck: (data) => apiCall("/model/correct_text", "POST", data), + summarizeText: (data) => apiCall("/model/summarize", "POST", data), + startChat: (params) => apiCall("/model/start", "GET", null, params), + chatWithBot: (data) => apiCall("/model/chat", "POST", data), +}; diff --git a/src/assets/css/style.css b/src/assets/css/style.css new file mode 100644 index 0000000000000000000000000000000000000000..c941d6d79c915e7ea708b0c19e71d7a6fc330fbf --- /dev/null +++ b/src/assets/css/style.css @@ -0,0 +1,8995 @@ +/*ParagraphChecker.css'; // CSS for styling*/ +.grammar-checker-container { + max-width: 1200px; + margin: 0 auto; /* ✅ center horizontally */ + padding: 40px 20px; + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; +} + +.text-area-container { + display: flex; + gap: 30px; + margin-bottom: 20px; +} + +.input-section, +.output-section { + flex: 1; +} + +.input-display, +.output-display { + width: 100%; + min-height: 200px; + padding: 15px; + border: 1px solid #ddd; + border-radius: 5px; + background-color: #f9f9f9; + white-space: pre-wrap; +} + +.controls { + margin-top: 10px; + width: 100%; +} + +.input-textarea { + width: 100px; + height: 150px; + padding: 10px; + border: 1px solid #ccc; + border-radius: 5px; + font-size: 16px; + margin-bottom: 15px; +} + +.button-container { + display: flex; + gap: 10px; +} + +.correct-button, +.clear-button { + /* correct button and clear button paragraph checker*/ + padding: 10px 20px; + font-size: 16px; + margin-left: 20px; + border: none; + border-radius: 5px; + cursor: pointer; +} + +.correct-button { + background-color: #4caf50; + color: white; +} + +.correct-button:disabled { + background-color: #cccccc; + cursor: not-allowed; +} + +.clear-button { + background-color: #f44336; + color: white; +} + +.error-message { + color: #d32f2f; + margin: 10px 0; + padding: 10px; + background-color: #ffebee; + border-radius: 4px; +} + +h3 { + margin-top: 0; + color: #333; +} + +/* Voice input button states */ +.voice-button { + transition: all 0.3s ease; +} + +.voice-button:disabled { + opacity: 0.5; + cursor: not-allowed; +} + +/* Voice selection dropdown */ +#voice-select { + padding: 8px; + border-radius: 4px; + border: 1px solid #ddd; + margin-top: 8px; + width: 100%; + max-width: 300px; +} + +/* Summarizer specific styles */ +/* Summary output container */ +.output-display { + /*Done 2*/ + width: 100%; + height: 350px; + padding: 15px; + font-size: 16px; + border-radius: 8px; + border: 1px solid #ccc; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); + resize: none; + background-color: #fff; + text-align: left; +} + +/* Summary content styling */ +.summary-result { + white-space: normal; /* Changed from pre-line */ + line-height: 1.5; + margin: 0; + padding: 0; +} + +/* Paragraph styling */ +.summary-paragraph { + margin: 0 0 12px 0; + padding: 0; +} + +/* Bullet point styling */ +.summary-result ul { + padding-left: 20px; + margin: 0 0 12px 0; + list-style-type: none; +} + +.bullet-point { + position: relative; + padding-left: 15px; + margin-bottom: 8px; +} + +.bullet-point::before { + content: "•"; + position: absolute; + left: 0; + color: #333; +} + +/* Minimal spacing between items */ +.summary-result br { + content: ""; + display: block; + margin-bottom: 8px; +} +/* Reset default styles */ +body, +h1, +h2, +h3, +p, +ul, +li { + padding: 0; +} +/* Smooth scrolling */ +html { + scroll-behavior: smooth; +} + +/* Section spacing */ +section { + padding: 60px 0; +} + +.text-area-container { + display: flex; + flex-direction: column; + gap: 15px; + margin-bottom: 15px; +} + +.input-textarea, +.output-textarea { + width: 100%; + height: 150px; + padding: 10px; + border: 1px solid #ccc; + border-radius: 8px; + font-size: 16px; + resize: none; +} + +.output-textarea { + background-color: #f8f8f8; +} + +.error-message { + color: red; + margin-bottom: 10px; +} + +.button-container { + display: flex; + justify-content: center; + gap: 10px; +} + +.correct-button, +.clear-button { + padding: 10px 20px; + font-size: 16px; + border-radius: 5px; + cursor: pointer; + border: none; + transition: 0.3s; +} + +.correct-button { + background-color: black; + color: white; +} + +.correct-button:hover { + background-color: #333; +} + +.clear-button { + background-color: white; + border: 1px solid black; + color: black; +} + +.clear-button:hover { + background-color: black; + color: white; +} + +/* Navigation button styles */ +button { + background: none; + border: none; + color: white; + font-size: 16px; + cursor: pointer; +} + +button:hover { + color: #00bcd4; +} + +/* Chatbot Container */ +.chatbot-container { + max-width: 800px; /* Adjusted max width */ + margin: 20px auto; + padding: 1px; /* Slightly reduced padding */ + border: 5px solid #ccc; + border-radius: 20px; + background-color: #f9f9f9; +} + +/* Header */ +#header { + text-align: center; + margin-bottom: 15px; /* Slightly reduced margin */ +} + +/* Voice Selection Dropdown */ +.voice-selection { + margin-bottom: 15px; /* Slightly reduced margin */ + text-align: center; +} + +.voice-selection label { + margin-right: 8px; /* Slightly reduced margin */ + font-weight: bold; +} + +.voice-selection select { + padding: 6px; /* Reduced padding */ + border-radius: 5px; + border: 1px solid #ccc; + background-color: #fff; + color: #333; + font-size: 14px; + width: auto; /* Adjust width to content */ + max-width: 200px; /* Reasonable max width */ +} + +.voice-selection select:focus { + outline: none; + border-color: #007bff; + box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); +} + +/* Chatbot */ +#chatbot { + height: 400px; + display: flex; + flex-direction: column; +} + +/* Conversation */ +#conversation { + max-height: 380px; /* Adjusted max height */ + overflow-y: auto; + padding: 0.8rem; /* Reduced padding */ + background-color: #f8f9fa; + display: flex; + flex-direction: column; + gap: 8px; /* Reduced gap between messages */ + flex: 1 1 auto; +} + +/* Chatbot Message */ +.chatbot-message { + max-width: 70%; /* Keep a reasonable max width */ + padding: 8px 12px; /* Reduced padding inside messages */ + border-radius: 15px; /* Slightly smaller radius */ + position: relative; + font-size: 15px; + word-wrap: break-word; + white-space: normal; /* Ensure horizontal text wrapping */ + word-break: break-word; /* Force word breaks to prevent overflow */ + overflow-wrap: break-word; +} + +.chatbot-message.user { + align-self: flex-end; + background-color: #007bff; + color: white; + border-bottom-right-radius: 0; +} + +.chatbot-message.bot { + align-self: flex-start; + background-color: #e9ecef; + color: #000; + border-bottom-left-radius: 0; +} + +/* Speaker Button */ +.speaker-button { + position: absolute; + bottom: 5px; /* Adjusted position */ + right: 8px; /* Adjusted position */ + background: none; + border: none; + color: inherit; + font-size: 14px; /* Slightly smaller icon */ + cursor: pointer; + opacity: 0.7; /* Slightly less prominent */ +} + +.speaker-button:hover { + opacity: 1; +} + +/* Input Form */ +#input-form { + flex: 0 0 auto; + display: flex; + justify-content: space-between; + align-items: center; + padding: 6px; /* Reduced padding */ + background: #fff; + border-top: 1px solid #dee2e6; + position: sticky; + bottom: 0; + z-index: 5; +} + +/* Message Container (Consider removing if not specifically needed) */ +.message-container { + display: flex; + flex-direction: column; + gap: 6px; /* Reduced gap */ + padding: 6px; /* Reduced padding */ +} + +/* Input Field */ +#input-field { + font-size: 15px; /* Slightly smaller font */ + flex: 1; + padding: 8px; /* Reduced padding */ + border: 1px solid #ccc; + border-radius: 20px; + outline: none; +} + +/* Voice Recorder and Submit Button */ +#voice-recorder, +#submit-button { + background-color: #007bff; + border: none; + border-radius: 50%; + padding: 8px; /* Reduced padding */ + color: white; + cursor: pointer; + transition: background-color 0.2s ease; + width: 36px; /* Fixed width for circular buttons */ + height: 36px; /* Fixed height for circular buttons */ + display: flex; + justify-content: center; + align-items: center; +} + +#voice-recorder:disabled { + background-color: #0056b3; +} + +/* Error Message */ +.error-message { + color: red; + margin: 8px 0; /* Reduced margin */ +} + +/* Voice Button Styling (Redundant with #voice-recorder styling) */ +.voice-button { + background: none; + border: none; + cursor: pointer; + padding: 4px; /* Reduced padding */ + margin-left: 6px; /* Reduced margin */ +} + +#submit-button i, +#voice-recorder i { + font-size: 16px; /* Slightly smaller icons */ +} + +.voice-button:hover { + opacity: 0.8; +} + +/* Input Container */ +.input-container { + display: flex; + align-items: center; +} + +.input-container { + display: flex; + align-items: center; +} + +.input-container > textarea { + flex-grow: 1; + margin-right: 10px; +} + +.input-container > button { + margin-left: 10px; +} + +/* Animations for Chatbot Messages */ +.chatbot-message.user { + animation: slideInRight 0.3s ease-out; /* Faster animation */ +} + +.chatbot-message.bot { + animation: slideInLeft 0.3s ease-out; /* Faster animation */ +} + +.chat-bubble { + /* Consider removing if .chatbot-message covers all needs */ + max-width: 70%; + padding: 8px 12px; /* Reduced padding */ + border-radius: 15px; /* Slightly smaller radius */ + line-height: 1.4; + font-size: 15px; + word-wrap: break-word; + white-space: pre-wrap; + position: relative; +} + +@keyframes slideInRight { + from { + transform: translateX(100%); + opacity: 0; + } + to { + transform: translateX(0); + opacity: 1; + } +} + +@keyframes slideInLeft { + from { + transform: translateX(-100%); + opacity: 0; + } + to { + transform: translateX(0); + } + opacity: 1; +} + +/* Global styles */ +body { + font-family: "Arial", sans-serif; + line-height: 1.6; + background-color: #f4f4f4; + color: #333; +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; +} + +a { + color: #50d8af; + transition: 0.5s; +} + +a:hover, +a:active, +a:focus { + color: #51d8af; + text-decoration: none; +} + +/* Top Bar */ +#topbar { + background: #fff; + padding: 10px 0; + border-bottom: 1px solid #eee; + font-size: 14px; +} + +#topbar .contact-info a { + line-height: 1; + color: #555; +} + +#topbar .contact-info a:hover { + color: #50d8af; +} + +#topbar .contact-info i { + color: #50d8af; + padding: 4px; +} + +#topbar .social-links a { + color: #555; + padding: 4px 12px; + display: inline-block; + border-left: 1px solid #e9e9e9; +} + +#topbar .social-links a:hover { + color: #50d8af; +} + +/* Header */ +#header { + padding: 20px 0; + height: 84px; + background: #fff; + box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06); +} + +#header #logo h1 { + font-size: 42px; + font-family: "Montserrat", sans-serif; + font-weight: 700; +} + +#header #logo h1 a { + color: #0c2e8a; +} + +#header #logo h1 a span { + color: #50d8af; +} + +/* Navigation */ +.nav-menu a { + padding: 10px 8px; + color: #555; + font-family: "Raleway", sans-serif; + font-weight: 700; + font-size: 14px; +} + +.nav-menu li:hover > a, +.nav-menu > .menu-active > a { + color: #50d8af; +} + +/* Section Header */ +.section-header h2 { + font-size: 32px; + color: #0c2e8a; + text-transform: uppercase; + font-weight: 700; + margin-bottom: 20px; +} + +/* Team Section Styles */ +/* Team Section Styles */ +.team-section { + padding: 80px 0; + background-color: #f9f9f9; +} + +.section-header { + text-align: center; + margin-bottom: 40px; +} + +.section-header h2 { + font-size: 36px; + color: #0c2e8a; + margin-bottom: 15px; +} + +.section-subtitle { + color: #6c757d; + font-size: 18px; +} + +.team-intro { + max-width: 800px; + margin: 0 auto 50px; + text-align: center; + font-size: 16px; + line-height: 1.6; + color: #555; +} + +.team-members-grid { + margin-bottom: 60px; +} + +.team-members-grid > .col-lg-3, +.team-members-grid > .col-md-6 { + padding-left: 15px; + padding-right: 15px; + margin-bottom: 30px; +} + +@media (max-width: 991.98px) { + .team-members-grid > .col-lg-3 { + flex: 0 0 50%; + max-width: 50%; + } +} + +@media (max-width: 767.98px) { + .team-members-grid > .col-md-6 { + flex: 0 0 100%; + max-width: 100%; + } +} + +.team-member-card { + background: #fff; + height: auto; + min-height: 500px; + border-radius: 10px; + overflow: hidden; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); + transition: all 0.3s ease; + cursor: pointer; +} + +.team-member-card:hover { + transform: translateY(-10px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); +} + +.team-member-card.active { + border: 2px solid #50d8af; +} + +.member-image { + position: relative; + overflow: hidden; + height: 450px; +} + +.member-image img { + width: 100%; + height: 100%; + object-fit: cover; + transition: transform 0.5s ease; +} + +.team-member-card:hover .member-image img { + transform: scale(1.05); +} + +.image-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: flex; + align-items: center; + justify-content: center; + opacity: 0; + transition: opacity 0.3s ease; +} + +.team-member-card:hover .image-overlay { + opacity: 1; +} + +.social-links { + display: flex; + gap: 15px; +} + +.social-links a { + color: #fff; + background: rgba(80, 216, 175, 0.8); + width: 40px; + height: 40px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease; +} + +.social-links a:hover { + background: #50d8af; + transform: translateY(-3px); +} + +.member-basic-info { + padding: 20px; + text-align: center; +} + +.member-basic-info h3 { + margin: 0 auto 5px; + color: #0c2e8a; + font-size: 20px; + display: inline-block; + text-align: center; +} + +.member-basic-info .role { + color: #50d8af; + font-weight: 600; + display: block; + margin-bottom: 10px; +} + +.member-basic-info .bio { + color: #6c757d; + font-size: 14px; + line-height: 1.5; +} + +/* Team Member Details */ +.team-member-details { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.8); + display: flex; + align-items: center; + max-height: 800px; + justify-content: center; + z-index: 1000; + padding: 20px; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; +} + +.team-member-details.show { + opacity: 1; + visibility: visible; +} + +.close-details { + position: absolute; + top: 30px; + right: 30px; + background: none; + border: none; + color: #fff; + font-size: 24px; + cursor: pointer; + transition: color 0.3s ease; +} + +.close-details:hover { + color: #50d8af; +} + +.details-content { + background: #fff; + max-width: 900px; + width: 100%; + border-radius: 10px; + overflow: hidden; + display: flex; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); +} + +.details-left { + flex: 0 0 300px; + background: #f5f5f5; + padding: 30px; + text-align: center; +} + +.details-left img { + width: 200px; + height: 200px; + border-radius: 50%; + object-fit: cover; + border: 5px solid #fff; + margin-bottom: 20px; +} + +.details-right { + flex: 1; + padding: 40px; +} + +.details-right h2 { + color: #0c2e8a; + margin-bottom: 5px; +} + +.details-right h3 { + color: #50d8af; + margin-bottom: 20px; + font-size: 18px; +} + +.education { + display: flex; + align-items: center; + margin-bottom: 20px; + color: #6c757d; +} + +.education i { + margin-right: 10px; + color: #50d8af; +} + +.full-bio { + margin-bottom: 30px; + line-height: 1.8; + color: #555; +} + +.skills-section h4 { + margin-bottom: 15px; + color: #0c2e8a; +} + +.skill-tags { + display: flex; + flex-wrap: wrap; + gap: 10px; +} + +.skill-tag { + background: #e9f7f3; + color: #50d8af; + padding: 5px 15px; + border-radius: 20px; + font-size: 14px; + font-weight: 600; +} + +/* Team Values */ +.team-values { + margin-top: 60px; + text-align: center; +} + +.team-values h3 { + margin-bottom: 40px; + color: #0c2e8a; +} + +.values-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 30px; +} + +.value-item { + background: #fff; + padding: 30px; + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); + transition: transform 0.3s ease; +} + +.value-item:hover { + transform: translateY(-10px); +} + +.value-item i { + font-size: 40px; + color: #50d8af; + margin-bottom: 20px; +} + +.value-item h4 { + color: #0c2e8a; + margin-bottom: 15px; +} + +.value-item p { + color: #6c757d; + line-height: 1.6; +} + +/* Responsive Styles */ +@media (max-width: 992px) { + .details-content { + flex-direction: column; + max-height: 90vh; + overflow-y: auto; + } + + .details-left { + flex: 0 0 auto; + padding: 20px; + } + + .details-left img { + width: 150px; + height: 150px; + } +} + +@media (max-width: 768px) { + .team-members-grid > .col-lg-3, + .team-members-grid > .col-md-6 { + flex: 0 0 100%; + max-width: 100%; + } + + .member-image { + height: 200px; + } + + .values-grid { + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + } +} + +@media (max-width: 576px) { + .section-header h2 { + font-size: 28px; + } + + .section-subtitle { + font-size: 16px; + } + + .team-member-details { + padding: 10px; + } + + .details-right { + padding: 20px; + } +} + +/* Translation Module */ +#translator { + max-width: 1200px; + margin: 50px auto; + background-color: #fff; + padding: 20px; + border-radius: 10px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +#translator h2 { + color: #343a40; /* translator button colour change */ + text-align: center; + margin-bottom: 20px; +} + +#translator select { + margin-bottom: 15px; + width: 10%; + padding: 10px; + box-sizing: border-box; + border: 1px solid #ddd; + border-radius: 5px; +} + +#translator button { + padding: 10px 130px; + margin-top: 10px; + font-size: 16px; + margin-bottom: 0.9rem; + border: none; + border-radius: 5px; + cursor: pointer; + align: center; +} +#translator textarea { + color: #fff; + border: auto; + cursor: pointer; + transition: background-color 0.3s ease; +} + +#translator button { + background-color: #50d8af; + color: #fff; + border: none; + margin-right: 140px; + cursor: pointer; + transition: background-color 0.3s ease; + align: center; + justify-content: center; +} + +#translator button:hover { + background-color: #50d8af; +} + +#translator textarea { + resize: vertical; +} + +#translatedText { + margin-top: 20px; + max-width: 1200px; + background-color: #f9f9f9; + border: 1px solid #ddd; + padding: 10px; +} + +/* Footer */ +#footer { + background: #f2f5f8; + padding: 0 0 30px 0; + font-size: 14px; + text-align: center; +} + +/* Responsive Utilities */ +.d-none { + display: none; +} +.d-lg-block { + display: block; +} +@media (max-width: 991px) { + .d-lg-block { + display: none; + } +} + +/* + Theme Name: Reveal + Theme URL: https://bootstrapmade.com/reveal-bootstrap-corporate-template/ + Author: BootstrapMade.com + License: https://bootstrapmade.com/license/ +*/ +/*-------------------------------------------------------------- +# General +/* Reset default styles */ +body, +h1, +h2, +h3, +p, +ul, +li { + margin: 0; + padding: 0; +} + +/* Global styles */ +body { + font-family: "Arial", sans-serif; + line-height: 1.6; + background-color: #f4f4f4; + color: #333; +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; +} + +/* Add more global styles as needed */ + +body { + background: #fff; + color: #444; + font-family: "Open Sans", sans-serif; +} + +a { + color: #50d8af; + transition: 0.5s; +} + +a:hover, +a:active, +a:focus { + color: #51d8af; + outline: none; + text-decoration: none; +} + +p { + padding: 50px; + margin: 0 0 30px 0; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: "Montserrat", sans-serif; + font-weight: 400; + margin: 0 0 20px 0; + padding: 0; +} + +/* Back to top button */ +.back-to-top { + position: fixed; + display: none; + background: #50d8af; + color: #fff; + padding: 6px 12px 9px 12px; + font-size: 16px; + border-radius: 2px; + right: 15px; + bottom: 15px; + transition: background 0.5s; +} + +@media (max-width: 768px) { + .back-to-top { + bottom: 15px; + } +} + +.back-to-top:focus { + background: #50d8af; + color: #fff; + outline: none; +} + +.back-to-top:hover { + background: #0c2e8a; + color: #fff; +} + +/*-------------------------------------------------------------- +# Top Bar +--------------------------------------------------------------*/ +#topbar { + background: #fff; + padding: 10px 0; + border-bottom: 1px solid #eee; + font-size: 14px; +} +.container { + display: flex; + justify-content: space-between; + align-items: center; + max-width: 1200px; + margin: 0 auto; +} +.contact-info { + display: flex; + align-items: center; + gap: 15px; +} + +#topbar.contact-info a { + color: #555; + text-decoration: none; +} + +#topbar .contact-info a:hover { + color: #50d8af; +} + +#topbar .contact-info i { + color: #50d8af; + padding: 4px; +} + +#topbar .contact-info .fa-phone { + padding-left: 20px; + margin-left: 20px; + border-left: 1px solid #e9e9e9; +} +.social-links { + display: flex; + gap: 15px; + align-items: center; +} +#topbar.social-links a { + color: #555; + font-size: 16px; + transition: color 0.3s ease; +} + +#topbar .social-links a:hover { + color: #50d8af; +} + +#topbar .social-links a:first-child { + border-right: 0; +} + +/*-------------------------------------------------------------- +# Header +--------------------------------------------------------------*/ +#header { + padding: 20px 0; + height: 84px; + transition: all 0.5s; + z-index: 997; + background: #fff; + box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06); +} + +#header #logo h1 { + font-size: 42px; + margin: 0; + padding: 0; + line-height: 1; + font-family: "Montserrat", sans-serif; + font-weight: 700; +} + +#header #logo h1 a { + color: #0c2e8a; + line-height: 1; + display: inline-block; +} + +#header #logo h1 a span { + color: #50d8af; +} + +#header #logo img { + padding: 0; + margin: 0; +} + +@media (max-width: 768px) { + #header { + padding: 20px 0; + height: 74px; + } + #header #logo h1 { + font-size: 34px; + } + #header #logo img { + max-height: 40px; + } +} + +/*-------------------------------------------------------------- +# Intro Section +--------------------------------------------------------------*/ + +#intro { + display: flex; + align-items: center; + justify-content: center; + width: 80%; + margin: auto; + padding: 40px 0; + gap: 50px; /* Controls spacing between image & text */ +} + +.intro-image { + flex: 1; + display: flex; + justify-content: center; + align-items: center; +} +.intro-image { + width: 40%; + max-width: 700px; /* Adjust image size */ + height: 500px; +} +.intro-image img { + width: 500%; + max-width: 700px; + height: auto; + object-fit: contain; +} +.intro-content { + text-align: right; /* Aligns text to the right */ + display: flex; + flex-direction: column; + align-items: flex-end; /* Moves text completely to the right */ +} + +#intro .intro-content h2 { + font-size: 2.2rem; + color: #002366; +} +.intro-content span { + color: #2ecc71; +} +#intro .intro-content h2 span { + color: #50d8af; + text-decoration: underline; +} +.intro-content div { + margin-top: 20px; +} + +/* Buttons Styling */ +#intro .btn-get-started, +.btn-projects { + padding: 10px 20px; + font-size: 1rem; + border-radius: 5px; + text-decoration: none; + display: inline-block; +} + +#intro .intro-content .btn-get-started { + background: #0c2e8a; + border: 2px solid #0c2e8a; +} + +.btn-get-started { + background-color: navy; + color: white; +} + +.btn-projects { + background-color: #2ecc71; + color: white; +} +.btn-get-started, +.btn-projects { + margin-right: 15px; /* Adjust this value as needed */ +} + +#intro .intro-content .btn-projects:hover { + background: none; + color: #50d8af; +} + +/* Responsive Fix for Small Screens */ +@media (max-width: 992px) { + #intro { + flex-direction: column-reverse; /* Image below text */ + text-align: center; + } + #intro .item { + width: 80%; /* Adjust image size */ + margin-top: 20px; + } + #intro .intro-content { + max-width: 90%; + } + #intro .intro-content h2 { + font-size: 28px; /* Adjust for mobile */ + } +} + +/*-------------------------------------------------------------- +# Navigation Menu +--------------------------------------------------------------*/ +/* Nav Menu Essentials */ +.nav-menu, +.nav-menu * { + margin: 0; + padding: 0; + list-style: none; +} + +.nav-menu ul { + position: absolute; + display: none; + top: 100%; + left: 0; + z-index: 99; +} + +.nav-menu li { + position: relative; + white-space: nowrap; +} + +.nav-menu > li { + float: left; +} + +.nav-menu li:hover > ul, +.nav-menu li.sfHover > ul { + display: block; +} + +.nav-menu ul ul { + top: 0; + left: 100%; +} + +.nav-menu ul li { + min-width: 180px; +} + +/* Nav Menu Arrows */ +.sf-arrows .sf-with-ul { + padding-right: 22px; +} + +.sf-arrows .sf-with-ul:after { + content: "\f107"; + position: absolute; + right: 8px; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; +} + +.sf-arrows ul .sf-with-ul:after { + content: "\f105"; +} + +/* Nav Meu Container */ +#nav-menu-container { + float: right; + margin: 0; +} + +@media (max-width: 768px) { + #nav-menu-container { + display: none; + } +} + +/* Nav Meu Styling */ +.nav-menu a { + padding: 10px 8px; + text-decoration: none; + display: inline-block; + color: #555; + font-family: "Raleway", sans-serif; + font-weight: 700; + font-size: 14px; + outline: none; +} + +.nav-menu li:hover > a, +.nav-menu > .menu-active > a { + color: #50d8af; +} + +.nav-menu > li { + margin-left: 10px; +} + +.nav-menu ul { + margin: 4px 0 0 0; + padding: 10px; + box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); + background: #fff; +} + +.nav-menu ul li { + transition: 0.3s; +} + +.nav-menu ul li a { + padding: 10px; + color: #333; + transition: 0.3s; + display: block; + font-size: 13px; + text-transform: none; +} + +.nav-menu ul li:hover > a { + color: #50d8af; +} + +.nav-menu ul ul { + margin: 0; +} + +/* Mobile Nav Toggle */ +#mobile-nav-toggle { + position: fixed; + right: 0; + top: 0; + z-index: 999; + margin: 20px 20px 0 0; + border: 0; + background: none; + font-size: 24px; + display: none; + transition: all 0.4s; + outline: none; + cursor: pointer; +} + +#mobile-nav-toggle i { + color: #555; +} + +@media (max-width: 768px) { + #mobile-nav-toggle { + display: inline; + } +} + +/* Mobile Nav Styling */ +#mobile-nav { + position: fixed; + top: 0; + padding-top: 18px; + bottom: 0; + z-index: 998; + background: rgba(52, 59, 64, 0.9); + left: -260px; + width: 260px; + overflow-y: auto; + transition: 0.4s; +} + +#mobile-nav ul { + padding: 0; + margin: 0; + list-style: none; +} + +#mobile-nav ul li { + position: relative; +} + +#mobile-nav ul li a { + color: #fff; + font-size: 16px; + overflow: hidden; + padding: 10px 22px 10px 15px; + position: relative; + text-decoration: none; + width: 100%; + display: block; + outline: none; +} + +#mobile-nav ul li a:hover { + color: #fff; +} + +#mobile-nav ul li li { + padding-left: 30px; +} + +#mobile-nav ul .menu-has-children i { + position: absolute; + right: 0; + z-index: 99; + padding: 15px; + cursor: pointer; + color: #fff; +} + +#mobile-nav ul .menu-has-children i.fa-chevron-up { + color: #50d8af; +} + +#mobile-nav ul .menu-item-active { + color: #50d8af; +} + +#mobile-body-overly { + width: 100%; + height: 100%; + z-index: 997; + top: 0; + left: 0; + position: fixed; + background: rgba(52, 59, 64, 0.9); + display: none; +} + +/* Mobile Nav body classes */ + +#logoutLink { + background-color: red; /* Temporary to check visibility */ + color: white; + padding: 5px 10px; + border: 1px solid white; + cursor: pointer; +} + +.authenticated #logoutLink { + display: inline-block; /* Show only when logged in */ +} + +.authenticated #loginLink { + display: none; /* Hide login when logged in */ +} + +body.mobile-nav-active { + overflow: hidden; +} + +body.mobile-nav-active #mobile-nav { + left: 0; +} + +body.mobile-nav-active #mobile-nav-toggle { + color: #fff; +} + +/*-------------------------------------------------------------- +# Sections +--------------------------------------------------------------*/ +/* Sections Header +--------------------------------*/ +.section-header { + margin-bottom: 30px; +} + +.section-header h2 { + font-size: 32px; + color: #0c2e8a; + text-transform: uppercase; + font-weight: 700; + position: relative; + padding-bottom: 20px; +} + +.section-header h2::before { + content: ""; + position: absolute; + display: block; + width: 50px; + height: 3px; + background: #50d8af; + bottom: 0; + left: 0; +} +#intro11 { + background-image: url("../../assets/img/intro-carousel/bg1.jpg"); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + color: white; +} + +.section-header p { + padding: 0; + margin: 0; +} + +/* About Section +--------------------------------*/ +#about { + padding: 60px 0 30px 0; +} + +#about .about-img { + overflow: hidden; +} + +#about .about-img img { + margin-right: -15px; + max-width: 100%; +} + +@media (max-width: 768px) { + #about .about-img { + height: auto; + } + #about .about-img img { + margin-right: 0; + padding-bottom: 30px; + } +} + +#about .content h2 { + color: #0c2e8a; + font-weight: 700; + font-size: 36px; + font-family: "Raleway", sans-serif; +} + +#about .content h3 { + color: #555; + font-weight: 300; + font-size: 18px; + line-height: 26px; + font-style: italic; +} + +#about .content p { + line-height: 26px; +} + +#about .content p:last-child { + margin-bottom: 0; +} + +#about .content i { + font-size: 20px; + padding-left: 4px; + color: #50d8af; +} + +#about .content ul { + list-style: none; + padding: 0; +} + +#about .content ul li { + padding-bottom: 10px; +} + +/* Services Section +--------------------------------*/ +#services { + padding: 30px 0 0 0; +} +.container11 { + display: flex; + flex-direction: column; + align-items: flex-start; /* Align content to the left */ + width: 100%; /* Full width */ + padding-left: 200px; + padding-right: 200px; + /* Adjust left spacing if needed */ +} + +#services .box { + padding: 40px; + margin-bottom: 40px; + box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1); + background: #fff; + transition: 0.4s; +} + +#services .box:hover { + box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15); + transform: translateY(-10px); + -webkit-transform: translateY(-10px); + -moz-transform: translateY(-10px); +} + +#services .box .icon { + float: left; +} + +#services .box .icon i { + color: #444; + font-size: 64px; + transition: 0.5s; + line-height: 0; + margin-top: 34px; +} + +#services .box .icon i:before { + background: #0c2e8a; + background: linear-gradient(45deg, #50d8af 0%, #a3ebd5 100%); + background-clip: border-box; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +#services .box h4 { + margin-left: 100px; + font-weight: 700; + margin-bottom: 15px; + font-size: 22px; +} + +#services .box h4 a { + color: #444; +} + +#services .box p { + font-size: 14px; + margin-left: 100px; + margin-bottom: 0; + line-height: 24px; +} + +@media (max-width: 767px) { + #services .box .box { + margin-bottom: 20px; + } + #services .box .icon { + float: none; + text-align: center; + padding-bottom: 15px; + } + #services .box h4, + #services .box p { + margin-left: 0; + text-align: center; + } +} + +/* Our Team Section +--------------------------------*/ +#team { + background: #fff; + padding: 30px 0 0 0; +} + +#team .member { + text-align: center; + margin-bottom: 20px; +} + +#team .member .pic { + overflow: hidden; + text-align: center; +} + +#team .member .pic img { + max-width: 100%; +} + +#team .member .details { + background: #50d8af; + color: #fff; + padding: 15px; + border-radius: 0 0 3px 3px; +} + +#team .member h4 { + font-weight: 700; + margin-bottom: 2px; + font-size: 18px; +} + +#team .member span { + font-style: italic; + display: block; + font-size: 13px; +} + +#team .member .social { + margin-top: 5px; +} + +#team .member .social a { + color: #fff; +} + +#team .member .social i { + font-size: 16px; + margin: 0 2px; +} + +/* Contact Section +--------------------------------*/ +#contact { + padding: 30px 0; +} +#contact .contact-info > div { + flex: 1; + min-width: 280px; + max-width: 320px; + height: 200px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 20px; + background: #ffffff; + border-radius: 15px; + box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); + text-align: center; + transition: + transform 0.3s ease, + box-shadow 0.3s ease; + border-left: none !important; + border-right: none !important; +} +#contact .contact-info > div:hover { + transform: translateY(-5px); + box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15); +} +#contact .contact-info { + display: flex; + justify-content: center; + align-items: center; + text-align: center; + gap: 100px; /* Increased space between boxes */ + flex-wrap: wrap; +} + +#contact .contact-info i { + font-size: 50px; + color: #50d8af; + margin-bottom: 10px; +} + +#contact .contact-info address { + margin-bottom: 0; + color: #000; +} + +#contact .contact-info h3 { + font-size: 20px; + margin-bottom: 10px; + font-weight: bold; + text-transform: uppercase; + color: #51d8af; +} + +#contact .contact-info a { + text-decoration: none; + font-weight: bold; + transition: color 0.3s ease; +} + +#contact .contact-info a:hover { + color: #2dc899; +} + +#contact .contact-address, +#contact .contact-phone, +#contact .contact-email { + margin-bottom: 20px; +} +#contact .contact-info address, +#contact .contact-info p, +#contact .contact-info a { + font-size: 16px; + color: #555; +} + +@media (min-width: 768px) { + #contact .contact-address, + #contact .contact-phone, + #contact .contact-email { + padding: 20px 0; + } +} + +@media (min-width: 768px) { + #contact .contact-info { + flex-direction: row; + gap: 150px; + } +} + +#contact #google-map { + height: 290px; + margin-bottom: 20px; +} + +@media (max-width: 576px) { + #contact .contact-info { + flex-direction: column; /* Stack items vertically on small screens */ + } + #contact .contact-phone { + border: none; + } +} +#contact .contact-info > div, +#contact .contact-info > div * { + border: none !important; +} +#contact .contact-info > div::before, +#contact .contact-info > div::after { + content: none !important; + display: none !important; +} +.row, +[class*="col-"] { + border: none !important; +} + +#contact .form #sendmessage { + color: #50d8af; + border: 1px solid #50d8af; + display: none; + text-align: center; + padding: 15px; + font-weight: 600; + margin-bottom: 15px; +} + +#contact .form #errormessage { + color: red; + display: none; + border: 1px solid red; + text-align: center; + padding: 15px; + font-weight: 600; + margin-bottom: 15px; +} + +#contact .form #sendmessage.show, +#contact .form #errormessage.show, +#contact .form .show { + display: block; +} + +#contact .form .validation { + color: red; + display: none; + margin: 0 0 20px; + font-weight: 400; + font-size: 13px; +} + +#contact .form input, +#contact .form textarea { + padding: 10px 14px; + border-radius: 0; + box-shadow: none; + font-size: 15px; +} + +#contact .form button[type="submit"] { + background: #50d8af; + border: 0; + border-radius: 3px; + padding: 10px 30px; + color: #fff; + transition: 0.4s; + cursor: pointer; +} + +#contact .form button[type="submit"]:hover { + background: #2dc899; +} +#contact .contact-phone { + border-left: 1px solid #ddd; + border-right: 1px solid #ddd; +} +/*-------------------------------------------------------------- +# Footer +--------------------------------------------------------------*/ +#footer { + background: #f2f5f8; + padding: 0 0 30px 0; + font-size: 14px; +} + +#footer .copyright { + text-align: center; + padding-top: 30px; +} + +#footer .credits { + text-align: center; + font-size: 13px; + color: #555; +} + +#footer .credits a { + color: #0c2e8a; +} +@charset "UTF-8"; + +/*! + * animate.css -http://daneden.me/animate + * Version - 3.5.2 + * Licensed under the MIT license - http://opensource.org/licenses/MIT + * + * Copyright (c) 2017 Daniel Eden + */ + +.animated { + animation-duration: 1s; + animation-fill-mode: both; +} + +.animated.infinite { + animation-iteration-count: infinite; +} + +.animated.hinge { + animation-duration: 2s; +} + +.animated.flipOutX, +.animated.flipOutY, +.animated.bounceIn, +.animated.bounceOut { + animation-duration: 0.75s; +} + +@keyframes bounce { + from, + 20%, + 53%, + 80%, + to { + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + transform: translate3d(0, 0, 0); + } + + 40%, + 43% { + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + transform: translate3d(0, -30px, 0); + } + + 70% { + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + transform: translate3d(0, -15px, 0); + } + + 90% { + transform: translate3d(0, -4px, 0); + } +} + +.bounce { + animation-name: bounce; + transform-origin: center bottom; +} + +@keyframes flash { + from, + 50%, + to { + opacity: 1; + } + + 25%, + 75% { + opacity: 0; + } +} + +.flash { + animation-name: flash; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@keyframes pulse { + from { + transform: scale3d(1, 1, 1); + } + + 50% { + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + transform: scale3d(1, 1, 1); + } +} + +.pulse { + animation-name: pulse; +} + +@keyframes rubberBand { + from { + transform: scale3d(1, 1, 1); + } + + 30% { + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + transform: scale3d(0.95, 1.05, 1); + } + + 75% { + transform: scale3d(1.05, 0.95, 1); + } + + to { + transform: scale3d(1, 1, 1); + } +} + +.rubberBand { + animation-name: rubberBand; +} + +@keyframes shake { + from, + to { + transform: translate3d(0, 0, 0); + } + + 10%, + 30%, + 50%, + 70%, + 90% { + transform: translate3d(-10px, 0, 0); + } + + 20%, + 40%, + 60%, + 80% { + transform: translate3d(10px, 0, 0); + } +} + +.shake { + animation-name: shake; +} + +@keyframes headShake { + 0% { + transform: translateX(0); + } + + 6.5% { + transform: translateX(-6px) rotateY(-9deg); + } + + 18.5% { + transform: translateX(5px) rotateY(7deg); + } + + 31.5% { + transform: translateX(-3px) rotateY(-5deg); + } + + 43.5% { + transform: translateX(2px) rotateY(3deg); + } + + 50% { + transform: translateX(0); + } +} + +.headShake { + animation-timing-function: ease-in-out; + animation-name: headShake; +} + +@keyframes swing { + 20% { + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + transform: rotate3d(0, 0, 1, 0deg); + } +} + +.swing { + transform-origin: top center; + animation-name: swing; +} + +@keyframes tada { + from { + transform: scale3d(1, 1, 1); + } + + 10%, + 20% { + transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + } + + 30%, + 50%, + 70%, + 90% { + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, + 60%, + 80% { + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + transform: scale3d(1, 1, 1); + } +} + +.tada { + animation-name: tada; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@keyframes wobble { + from { + transform: none; + } + + 15% { + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + transform: none; + } +} + +.wobble { + animation-name: wobble; +} + +@keyframes jello { + from, + 11.1%, + to { + transform: none; + } + + 22.2% { + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +.jello { + animation-name: jello; + transform-origin: center; +} + +@keyframes bounceIn { + from, + 20%, + 40%, + 60%, + 80%, + to { + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + transform: scale3d(0.3, 0.3, 0.3); + } + + 20% { + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + transform: scale3d(0.9, 0.9, 0.9); + } + + 60% { + opacity: 1; + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + transform: scale3d(0.97, 0.97, 0.97); + } + + to { + opacity: 1; + transform: scale3d(1, 1, 1); + } +} + +.bounceIn { + animation-name: bounceIn; +} + +@keyframes bounceInDown { + from, + 60%, + 75%, + 90%, + to { + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + transform: translate3d(0, 25px, 0); + } + + 75% { + transform: translate3d(0, -10px, 0); + } + + 90% { + transform: translate3d(0, 5px, 0); + } + + to { + transform: none; + } +} + +.bounceInDown { + animation-name: bounceInDown; +} + +@keyframes bounceInLeft { + from, + 60%, + 75%, + 90%, + to { + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + transform: translate3d(25px, 0, 0); + } + + 75% { + transform: translate3d(-10px, 0, 0); + } + + 90% { + transform: translate3d(5px, 0, 0); + } + + to { + transform: none; + } +} + +.bounceInLeft { + animation-name: bounceInLeft; +} + +@keyframes bounceInRight { + from, + 60%, + 75%, + 90%, + to { + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + transform: translate3d(-25px, 0, 0); + } + + 75% { + transform: translate3d(10px, 0, 0); + } + + 90% { + transform: translate3d(-5px, 0, 0); + } + + to { + transform: none; + } +} + +.bounceInRight { + animation-name: bounceInRight; +} + +@keyframes bounceInUp { + from, + 60%, + 75%, + 90%, + to { + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + transform: translate3d(0, -20px, 0); + } + + 75% { + transform: translate3d(0, 10px, 0); + } + + 90% { + transform: translate3d(0, -5px, 0); + } + + to { + transform: translate3d(0, 0, 0); + } +} + +.bounceInUp { + animation-name: bounceInUp; +} + +@keyframes bounceOut { + 20% { + transform: scale3d(0.9, 0.9, 0.9); + } + + 50%, + 55% { + opacity: 1; + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + transform: scale3d(0.3, 0.3, 0.3); + } +} + +.bounceOut { + animation-name: bounceOut; +} + +@keyframes bounceOutDown { + 20% { + transform: translate3d(0, 10px, 0); + } + + 40%, + 45% { + opacity: 1; + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + transform: translate3d(0, 2000px, 0); + } +} + +.bounceOutDown { + animation-name: bounceOutDown; +} + +@keyframes bounceOutLeft { + 20% { + opacity: 1; + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + transform: translate3d(-2000px, 0, 0); + } +} + +.bounceOutLeft { + animation-name: bounceOutLeft; +} + +@keyframes bounceOutRight { + 20% { + opacity: 1; + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + transform: translate3d(2000px, 0, 0); + } +} + +.bounceOutRight { + animation-name: bounceOutRight; +} + +@keyframes bounceOutUp { + 20% { + transform: translate3d(0, -10px, 0); + } + + 40%, + 45% { + opacity: 1; + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + transform: translate3d(0, -2000px, 0); + } +} + +.bounceOutUp { + animation-name: bounceOutUp; +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +.fadeIn { + animation-name: fadeIn; +} + +@keyframes fadeInDown { + from { + opacity: 0; + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInDown { + animation-name: fadeInDown; +} + +@keyframes fadeInDownBig { + from { + opacity: 0; + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInDownBig { + animation-name: fadeInDownBig; +} + +@keyframes fadeInLeft { + from { + opacity: 0; + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInLeft { + animation-name: fadeInLeft; +} + +@keyframes fadeInLeftBig { + from { + opacity: 0; + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInLeftBig { + animation-name: fadeInLeftBig; +} + +@keyframes fadeInRight { + from { + opacity: 0; + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInRight { + animation-name: fadeInRight; +} + +@keyframes fadeInRightBig { + from { + opacity: 0; + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInRightBig { + animation-name: fadeInRightBig; +} + +@keyframes fadeInUp { + from { + opacity: 0; + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInUp { + animation-name: fadeInUp; +} + +@keyframes fadeInUpBig { + from { + opacity: 0; + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + transform: none; + } +} + +.fadeInUpBig { + animation-name: fadeInUpBig; +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +.fadeOut { + animation-name: fadeOut; +} + +@keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(0, 100%, 0); + } +} + +.fadeOutDown { + animation-name: fadeOutDown; +} + +@keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(0, 2000px, 0); + } +} + +.fadeOutDownBig { + animation-name: fadeOutDownBig; +} + +@keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(-100%, 0, 0); + } +} + +.fadeOutLeft { + animation-name: fadeOutLeft; +} + +@keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(-2000px, 0, 0); + } +} + +.fadeOutLeftBig { + animation-name: fadeOutLeftBig; +} + +@keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(100%, 0, 0); + } +} + +.fadeOutRight { + animation-name: fadeOutRight; +} + +@keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(2000px, 0, 0); + } +} + +.fadeOutRightBig { + animation-name: fadeOutRightBig; +} + +@keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(0, -100%, 0); + } +} + +.fadeOutUp { + animation-name: fadeOutUp; +} + +@keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(0, -2000px, 0); + } +} + +.fadeOutUpBig { + animation-name: fadeOutUpBig; +} + +@keyframes flip { + from { + transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + animation-timing-function: ease-out; + } + + 40% { + transform: perspective(400px) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -190deg); + animation-timing-function: ease-out; + } + + 50% { + transform: perspective(400px) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -170deg); + animation-timing-function: ease-in; + } + + 80% { + transform: perspective(400px) scale3d(0.95, 0.95, 0.95); + animation-timing-function: ease-in; + } + + to { + transform: perspective(400px); + animation-timing-function: ease-in; + } +} + +.animated.flip { + -webkit-backface-visibility: visible; + backface-visibility: visible; + animation-name: flip; +} + +@keyframes flipInX { + from { + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + animation-timing-function: ease-in; + } + + 60% { + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + transform: perspective(400px); + } +} + +.flipInX { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + animation-name: flipInX; +} + +@keyframes flipInY { + from { + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + animation-timing-function: ease-in; + } + + 60% { + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + transform: perspective(400px); + } +} + +.flipInY { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + animation-name: flipInY; +} + +@keyframes flipOutX { + from { + transform: perspective(400px); + } + + 30% { + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +.flipOutX { + animation-name: flipOutX; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; +} + +@keyframes flipOutY { + from { + transform: perspective(400px); + } + + 30% { + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +.flipOutY { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + animation-name: flipOutY; +} + +@keyframes lightSpeedIn { + from { + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + transform: skewX(20deg); + opacity: 1; + } + + 80% { + transform: skewX(-5deg); + opacity: 1; + } + + to { + transform: none; + opacity: 1; + } +} + +.lightSpeedIn { + animation-name: lightSpeedIn; + animation-timing-function: ease-out; +} + +@keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +.lightSpeedOut { + animation-name: lightSpeedOut; + animation-timing-function: ease-in; +} + +@keyframes rotateIn { + from { + transform-origin: center; + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + transform-origin: center; + transform: none; + opacity: 1; + } +} + +.rotateIn { + animation-name: rotateIn; +} + +@keyframes rotateInDownLeft { + from { + transform-origin: left bottom; + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + transform-origin: left bottom; + transform: none; + opacity: 1; + } +} + +.rotateInDownLeft { + animation-name: rotateInDownLeft; +} + +@keyframes rotateInDownRight { + from { + transform-origin: right bottom; + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + transform-origin: right bottom; + transform: none; + opacity: 1; + } +} + +.rotateInDownRight { + animation-name: rotateInDownRight; +} + +@keyframes rotateInUpLeft { + from { + transform-origin: left bottom; + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + transform-origin: left bottom; + transform: none; + opacity: 1; + } +} + +.rotateInUpLeft { + animation-name: rotateInUpLeft; +} + +@keyframes rotateInUpRight { + from { + transform-origin: right bottom; + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + transform-origin: right bottom; + transform: none; + opacity: 1; + } +} + +.rotateInUpRight { + animation-name: rotateInUpRight; +} + +@keyframes rotateOut { + from { + transform-origin: center; + opacity: 1; + } + + to { + transform-origin: center; + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +.rotateOut { + animation-name: rotateOut; +} + +@keyframes rotateOutDownLeft { + from { + transform-origin: left bottom; + opacity: 1; + } + + to { + transform-origin: left bottom; + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +.rotateOutDownLeft { + animation-name: rotateOutDownLeft; +} + +@keyframes rotateOutDownRight { + from { + transform-origin: right bottom; + opacity: 1; + } + + to { + transform-origin: right bottom; + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutDownRight { + animation-name: rotateOutDownRight; +} + +@keyframes rotateOutUpLeft { + from { + transform-origin: left bottom; + opacity: 1; + } + + to { + transform-origin: left bottom; + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutUpLeft { + animation-name: rotateOutUpLeft; +} + +@keyframes rotateOutUpRight { + from { + transform-origin: right bottom; + opacity: 1; + } + + to { + transform-origin: right bottom; + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +.rotateOutUpRight { + animation-name: rotateOutUpRight; +} + +@keyframes hinge { + 0% { + transform-origin: top left; + animation-timing-function: ease-in-out; + } + + 20%, + 60% { + transform: rotate3d(0, 0, 1, 80deg); + transform-origin: top left; + animation-timing-function: ease-in-out; + } + + 40%, + 80% { + transform: rotate3d(0, 0, 1, 60deg); + transform-origin: top left; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +.hinge { + animation-name: hinge; +} + +@keyframes jackInTheBox { + from { + opacity: 0; + transform: scale(0.1) rotate(30deg); + transform-origin: center bottom; + } + + 50% { + transform: rotate(-10deg); + } + + 70% { + transform: rotate(3deg); + } + + to { + opacity: 1; + transform: scale(1); + } +} + +.jackInTheBox { + animation-name: jackInTheBox; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@keyframes rollIn { + from { + opacity: 0; + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + transform: none; + } +} + +.rollIn { + animation-name: rollIn; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +.rollOut { + animation-name: rollOut; +} + +@keyframes zoomIn { + from { + opacity: 0; + transform: scale3d(0.3, 0.3, 0.3); + } + + 50% { + opacity: 1; + } +} + +.zoomIn { + animation-name: zoomIn; +} + +@keyframes zoomInDown { + from { + opacity: 0; + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInDown { + animation-name: zoomInDown; +} + +@keyframes zoomInLeft { + from { + opacity: 0; + transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInLeft { + animation-name: zoomInLeft; +} + +@keyframes zoomInRight { + from { + opacity: 0; + transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInRight { + animation-name: zoomInRight; +} + +@keyframes zoomInUp { + from { + opacity: 0; + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInUp { + animation-name: zoomInUp; +} + +@keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + transform: scale3d(0.3, 0.3, 0.3); + } + + to { + opacity: 0; + } +} + +.zoomOut { + animation-name: zoomOut; +} + +@keyframes zoomOutDown { + 40% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + transform-origin: center bottom; + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutDown { + animation-name: zoomOutDown; +} + +@keyframes zoomOutLeft { + 40% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + transform: scale(0.1) translate3d(-2000px, 0, 0); + transform-origin: left center; + } +} + +.zoomOutLeft { + animation-name: zoomOutLeft; +} + +@keyframes zoomOutRight { + 40% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + transform: scale(0.1) translate3d(2000px, 0, 0); + transform-origin: right center; + } +} + +.zoomOutRight { + animation-name: zoomOutRight; +} + +@keyframes zoomOutUp { + 40% { + opacity: 1; + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + transform-origin: center bottom; + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutUp { + animation-name: zoomOutUp; +} + +@keyframes slideInDown { + from { + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + transform: translate3d(0, 0, 0); + } +} + +.slideInDown { + animation-name: slideInDown; +} + +@keyframes slideInLeft { + from { + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + transform: translate3d(0, 0, 0); + } +} + +.slideInLeft { + animation-name: slideInLeft; +} + +@keyframes slideInRight { + from { + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + transform: translate3d(0, 0, 0); + } +} + +.slideInRight { + animation-name: slideInRight; +} + +@keyframes slideInUp { + from { + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + transform: translate3d(0, 0, 0); + } +} + +.slideInUp { + animation-name: slideInUp; +} + +@keyframes slideOutDown { + from { + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + transform: translate3d(0, 100%, 0); + } +} + +.slideOutDown { + animation-name: slideOutDown; +} + +@keyframes slideOutLeft { + from { + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + transform: translate3d(-100%, 0, 0); + } +} + +.slideOutLeft { + animation-name: slideOutLeft; +} + +@keyframes slideOutRight { + from { + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + transform: translate3d(100%, 0, 0); + } +} + +.slideOutRight { + animation-name: slideOutRight; +} + +@keyframes slideOutUp { + from { + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + transform: translate3d(0, -100%, 0); + } +} + +.slideOutUp { + animation-name: slideOutUp; +} +/*! + * Bootstrap v4.0.0 (https://getbootstrap.com) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +:root { + --blue: #007bff; + --indigo: #6610f2; + --purple: #6f42c1; + --pink: #e83e8c; + --red: #dc3545; + --orange: #fd7e14; + --yellow: #ffc107; + --green: #28a745; + --teal: #20c997; + --cyan: #17a2b8; + --white: #fff; + --gray: #6c757d; + --gray-dark: #343a40; + --primary: #007bff; + --secondary: #6c757d; + --success: #28a745; + --info: #17a2b8; + --warning: #ffc107; + --danger: #dc3545; + --light: #f8f9fa; + --dark: #343a40; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", + Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + --font-family-monospace: + SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", + monospace; +} + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + font-family: sans-serif; + line-height: 1.15; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -ms-overflow-style: scrollbar; + -webkit-tap-highlight-color: transparent; +} + +@-ms-viewport { + width: device-width; +} + +article, +aside, +dialog, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section { + display: block; +} + +body { + margin: 0; + font-family: + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", + Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #212529; + text-align: left; + background-color: #fff; +} + +[tabindex="-1"]:focus { + outline: 0 !important; +} + +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin-top: 0; + margin-bottom: 0.5rem; + margin-left: 100px; /* text summarizer*/ +} + +p { + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[title], +abbr[data-original-title] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + border-bottom: 0; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul, +dl { + margin-top: 0; + margin-bottom: 1rem; +} + +ol ol, +ul ul, +ol ul, +ul ol { + margin-bottom: 0; +} + +dt { + font-weight: 700; +} + +dd { + margin-bottom: 0.5rem; + margin-left: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +dfn { + font-style: italic; +} + +b, +strong { + font-weight: bolder; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +a { + color: #007bff; + text-decoration: none; + background-color: transparent; + -webkit-text-decoration-skip: objects; +} + +a:hover { + color: #0056b3; + text-decoration: underline; +} + +a:not([href]):not([tabindex]) { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):hover, +a:not([href]):not([tabindex]):focus { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):focus { + outline: 0; +} + +pre, +code, +kbd, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; + -ms-overflow-style: scrollbar; +} + +figure { + margin: 0 0 1rem; +} + +img { + vertical-align: middle; + border-style: none; +} + +svg:not(:root) { + overflow: hidden; +} + +table { + border-collapse: collapse; +} + +caption { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + color: #6c757d; + text-align: left; + caption-side: bottom; +} + +th { + text-align: inherit; +} + +label { + display: inline-block; + margin-bottom: 0.9rem; + margin-left: 100px; +} + +button { + border-radius: 0; +} + +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +button, +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + padding: 0; + border-style: none; +} + +input[type="radio"], +input[type="checkbox"] { + box-sizing: border-box; + padding: 0; +} + +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { + -webkit-appearance: listbox; +} + +textarea { + overflow: auto; + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: 0.5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} + +progress { + vertical-align: baseline; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +summary { + display: list-item; + cursor: pointer; +} + +template { + display: none; +} + +[hidden] { + display: none !important; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + margin-bottom: 0.5rem; + font-family: inherit; + font-weight: 500; + line-height: 1.2; + color: inherit; +} + +h1, +.h1 { + font-size: 2.5rem; +} + +h2, +.h2 { + font-size: 2rem; +} + +h3, +.h3 { + font-size: 1.75rem; +} + +h4, +.h4 { + font-size: 1.5rem; +} + +h5, +.h5 { + font-size: 1.25rem; +} + +h6, +.h6 { + font-size: 1rem; +} + +.lead { + font-size: 1.25rem; + font-weight: 300; +} + +.display-1 { + font-size: 6rem; + font-weight: 300; + line-height: 1.2; +} + +.display-2 { + font-size: 5.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-3 { + font-size: 4.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-4 { + font-size: 3.5rem; + font-weight: 300; + line-height: 1.2; +} + +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +small, +.small { + font-size: 80%; + font-weight: 400; +} + +mark, +.mark { + padding: 0.2em; + background-color: #fcf8e3; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline-item { + display: inline-block; +} + +.list-inline-item:not(:last-child) { + margin-right: 0.5rem; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +.blockquote { + margin-bottom: 1rem; + font-size: 1.25rem; +} + +.blockquote-footer { + display: block; + font-size: 80%; + color: #6c757d; +} + +.blockquote-footer::before { + content: "\2014 \00A0"; +} + +.img-fluid { + max-width: 100%; + height: auto; +} + +.img-thumbnail { + padding: 0.25rem; + background-color: #fff; + border: 1px solid #dee2e6; + border-radius: 0.25rem; + max-width: 100%; + height: auto; +} + +.figure { + display: inline-block; +} + +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} + +.figure-caption { + font-size: 90%; + color: #6c757d; +} + +code, +kbd, +pre, +samp { + font-family: + SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", + monospace; +} + +code { + font-size: 87.5%; + color: #e83e8c; + word-break: break-word; +} + +a > code { + color: inherit; +} + +kbd { + padding: 0.2rem 0.4rem; + font-size: 87.5%; + color: #fff; + background-color: #212529; + border-radius: 0.2rem; +} + +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: 700; +} + +pre { + display: block; + font-size: 87.5%; + color: #212529; +} + +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, +.col-2, +.col-3, +.col-4, +.col-5, +.col-6, +.col-7, +.col-8, +.col-9, +.col-10, +.col-11, +.col-12, +.col, +.col-auto, +.col-sm-1, +.col-sm-2, +.col-sm-3, +.col-sm-4, +.col-sm-5, +.col-sm-6, +.col-sm-7, +.col-sm-8, +.col-sm-9, +.col-sm-10, +.col-sm-11, +.col-sm-12, +.col-sm, +.col-sm-auto, +.col-md-1, +.col-md-2, +.col-md-3, +.col-md-4, +.col-md-5, +.col-md-6, +.col-md-7, +.col-md-8, +.col-md-9, +.col-md-10, +.col-md-11, +.col-md-12, +.col-md, +.col-md-auto, +.col-lg-1, +.col-lg-2, +.col-lg-3, +.col-lg-4, +.col-lg-5, +.col-lg-6, +.col-lg-7, +.col-lg-8, +.col-lg-9, +.col-lg-10, +.col-lg-11, +.col-lg-12, +.col-lg, +.col-lg-auto, +.col-xl-1, +.col-xl-2, +.col-xl-3, +.col-xl-4, +.col-xl-5, +.col-xl-6, +.col-xl-7, +.col-xl-8, +.col-xl-9, +.col-xl-10, +.col-xl-11, +.col-xl-12, +.col-xl, +.col-xl-auto { + position: relative; + width: 100%; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; +} + +.col-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; +} + +.col-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; +} + +.col-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} + +.col-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; +} + +.col-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; +} + +.col-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} + +.col-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; +} + +.col-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; +} + +.col-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} + +.col-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; +} + +.col-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; +} + +.col-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} + +.order-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; +} + +.order-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; +} + +.order-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; +} + +.order-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; +} + +.order-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; +} + +.order-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; +} + +.order-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; +} + +.order-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; +} + +.order-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; +} + +.order-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; +} + +.order-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; +} + +.order-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; +} + +.order-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; +} + +.order-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; +} + +.order-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; +} + +.offset-1 { + margin-left: 8.333333%; +} + +.offset-2 { + margin-left: 16.666667%; +} + +.offset-3 { + margin-left: 25%; +} + +.offset-4 { + margin-left: 33.333333%; +} + +.offset-5 { + margin-left: 41.666667%; +} + +.offset-6 { + margin-left: 50%; +} + +.offset-7 { + margin-left: 58.333333%; +} + +.offset-8 { + margin-left: 66.666667%; +} + +.offset-9 { + margin-left: 75%; +} + +.offset-10 { + margin-left: 83.333333%; +} + +.offset-11 { + margin-left: 91.666667%; +} + +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-sm-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-sm-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-sm-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-sm-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-sm-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-sm-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-sm-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-sm-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-sm-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.333333%; + } + .offset-sm-2 { + margin-left: 16.666667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.333333%; + } + .offset-sm-5 { + margin-left: 41.666667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.333333%; + } + .offset-sm-8 { + margin-left: 66.666667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.333333%; + } + .offset-sm-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-md-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-md-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-md-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-md-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-md-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-md-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-md-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-md-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-md-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.333333%; + } + .offset-md-2 { + margin-left: 16.666667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.333333%; + } + .offset-md-5 { + margin-left: 41.666667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.333333%; + } + .offset-md-8 { + margin-left: 66.666667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.333333%; + } + .offset-md-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-lg-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-lg-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-lg-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-lg-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-lg-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-lg-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-lg-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-lg-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-lg-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.333333%; + } + .offset-lg-2 { + margin-left: 16.666667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.333333%; + } + .offset-lg-5 { + margin-left: 41.666667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.333333%; + } + .offset-lg-8 { + margin-left: 66.666667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.333333%; + } + .offset-lg-11 { + margin-left: 91.666667%; + } +} + +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: none; + } + .col-xl-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-xl-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-xl-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-xl-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-xl-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-xl-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-xl-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-xl-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-xl-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.333333%; + } + .offset-xl-2 { + margin-left: 16.666667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.333333%; + } + .offset-xl-5 { + margin-left: 41.666667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.333333%; + } + .offset-xl-8 { + margin-left: 66.666667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.333333%; + } + .offset-xl-11 { + margin-left: 91.666667%; + } +} + +.table { + width: 100%; + max-width: 100%; + margin-bottom: 1rem; + background-color: transparent; +} + +.table th, +.table td { + padding: 0.75rem; + vertical-align: top; + border-top: 1px solid #dee2e6; +} + +.table thead th { + vertical-align: bottom; + border-bottom: 2px solid #dee2e6; +} + +.table tbody + tbody { + border-top: 2px solid #dee2e6; +} + +.table .table { + background-color: #fff; +} + +.table-sm th, +.table-sm td { + padding: 0.3rem; +} + +.table-bordered { + border: 1px solid #dee2e6; +} + +.table-bordered th, +.table-bordered td { + border: 1px solid #dee2e6; +} + +.table-bordered thead th, +.table-bordered thead td { + border-bottom-width: 2px; +} + +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.05); +} + +.table-hover tbody tr:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-primary, +.table-primary > th, +.table-primary > td { + background-color: #b8daff; +} + +.table-hover .table-primary:hover { + background-color: #9fcdff; +} + +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th { + background-color: #9fcdff; +} + +.table-secondary, +.table-secondary > th, +.table-secondary > td { + background-color: #d6d8db; +} + +.table-hover .table-secondary:hover { + background-color: #c8cbcf; +} + +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th { + background-color: #c8cbcf; +} + +.table-success, +.table-success > th, +.table-success > td { + background-color: #c3e6cb; +} + +.table-hover .table-success:hover { + background-color: #b1dfbb; +} + +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th { + background-color: #b1dfbb; +} + +.table-info, +.table-info > th, +.table-info > td { + background-color: #bee5eb; +} + +.table-hover .table-info:hover { + background-color: #abdde5; +} + +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th { + background-color: #abdde5; +} + +.table-warning, +.table-warning > th, +.table-warning > td { + background-color: #ffeeba; +} + +.table-hover .table-warning:hover { + background-color: #ffe8a1; +} + +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th { + background-color: #ffe8a1; +} + +.table-danger, +.table-danger > th, +.table-danger > td { + background-color: #f5c6cb; +} + +.table-hover .table-danger:hover { + background-color: #f1b0b7; +} + +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th { + background-color: #f1b0b7; +} + +.table-light, +.table-light > th, +.table-light > td { + background-color: #fdfdfe; +} + +.table-hover .table-light:hover { + background-color: #ececf6; +} + +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th { + background-color: #ececf6; +} + +.table-dark, +.table-dark > th, +.table-dark > td { + background-color: #c6c8ca; +} + +.table-hover .table-dark:hover { + background-color: #b9bbbe; +} + +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th { + background-color: #b9bbbe; +} + +.table-active, +.table-active > th, +.table-active > td { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th { + background-color: rgba(0, 0, 0, 0.075); +} + +.table .thead-dark th { + color: #fff; + background-color: #212529; + border-color: #32383e; +} + +.table .thead-light th { + color: #495057; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.table-dark { + color: #fff; + background-color: #212529; +} + +.table-dark th, +.table-dark td, +.table-dark thead th { + border-color: #32383e; +} + +.table-dark.table-bordered { + border: 0; +} + +.table-dark.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(255, 255, 255, 0.05); +} + +.table-dark.table-hover tbody tr:hover { + background-color: rgba(255, 255, 255, 0.075); +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-sm > .table-bordered { + border: 0; + } +} + +@media (max-width: 767.98px) { + .table-responsive-md { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-md > .table-bordered { + border: 0; + } +} + +@media (max-width: 991.98px) { + .table-responsive-lg { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-lg > .table-bordered { + border: 0; + } +} + +@media (max-width: 1199.98px) { + .table-responsive-xl { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-xl > .table-bordered { + border: 0; + } +} + +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; +} + +.table-responsive > .table-bordered { + border: 0; +} + +.form-control { + display: block; + width: 100%; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-radius: 0.25rem; + transition: + border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out; +} + +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} + +.form-control:focus { + color: #495057; + background-color: #fff; + border-color: #80bdff; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.form-control::-webkit-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::-moz-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:disabled, +.form-control[readonly] { + background-color: #e9ecef; + opacity: 1; +} + +select.form-control:not([size]):not([multiple]) { + height: calc(2.25rem + 2px); +} + +select.form-control:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.form-control-file, +.form-control-range { + display: block; + width: 100%; +} + +.col-form-label { + padding-top: calc(0.375rem + 1px); + padding-bottom: calc(0.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} + +.col-form-label-lg { + padding-top: calc(0.5rem + 1px); + padding-bottom: calc(0.5rem + 1px); + font-size: 1.25rem; + line-height: 1.5; +} + +.col-form-label-sm { + padding-top: calc(0.25rem + 1px); + padding-bottom: calc(0.25rem + 1px); + font-size: 0.875rem; + line-height: 1.5; +} + +.form-control-plaintext { + display: block; + width: 100%; + padding-top: 0.375rem; + padding-bottom: 0.375rem; + margin-bottom: 0; + line-height: 1.5; + background-color: transparent; + border: solid transparent; + border-width: 1px 0; +} + +.form-control-plaintext.form-control-sm, +.input-group-sm > .form-control-plaintext.form-control, +.input-group-sm + > .input-group-prepend + > .form-control-plaintext.input-group-text, +.input-group-sm + > .input-group-append + > .form-control-plaintext.input-group-text, +.input-group-sm > .input-group-prepend > .form-control-plaintext.btn, +.input-group-sm > .input-group-append > .form-control-plaintext.btn, +.form-control-plaintext.form-control-lg, +.input-group-lg > .form-control-plaintext.form-control, +.input-group-lg + > .input-group-prepend + > .form-control-plaintext.input-group-text, +.input-group-lg + > .input-group-append + > .form-control-plaintext.input-group-text, +.input-group-lg > .input-group-prepend > .form-control-plaintext.btn, +.input-group-lg > .input-group-append > .form-control-plaintext.btn { + padding-right: 0; + padding-left: 0; +} + +.form-control-sm, +.input-group-sm > .form-control, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +select.form-control-sm:not([size]):not([multiple]), +.input-group-sm > select.form-control:not([size]):not([multiple]), +.input-group-sm + > .input-group-prepend + > select.input-group-text:not([size]):not([multiple]), +.input-group-sm + > .input-group-append + > select.input-group-text:not([size]):not([multiple]), +.input-group-sm > .input-group-prepend > select.btn:not([size]):not([multiple]), +.input-group-sm > .input-group-append > select.btn:not([size]):not([multiple]) { + height: calc(1.8125rem + 2px); +} + +.form-control-lg, +.input-group-lg > .form-control, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +select.form-control-lg:not([size]):not([multiple]), +.input-group-lg > select.form-control:not([size]):not([multiple]), +.input-group-lg + > .input-group-prepend + > select.input-group-text:not([size]):not([multiple]), +.input-group-lg + > .input-group-append + > select.input-group-text:not([size]):not([multiple]), +.input-group-lg > .input-group-prepend > select.btn:not([size]):not([multiple]), +.input-group-lg > .input-group-append > select.btn:not([size]):not([multiple]) { + height: calc(2.875rem + 2px); +} + +.form-group { + margin-bottom: 1rem; +} + +.form-text { + display: block; + margin-top: 0.25rem; +} + +.form-row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -5px; + margin-left: -5px; +} + +.form-row > .col, +.form-row > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; +} + +.form-check { + position: relative; + display: block; + padding-left: 1.25rem; +} + +.form-check-input { + position: absolute; + margin-top: 0.3rem; + margin-left: -1.25rem; +} + +.form-check-input:disabled ~ .form-check-label { + color: #6c757d; +} + +.form-check-label { + margin-bottom: 0; +} + +.form-check-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + margin-right: 0.75rem; +} + +.form-check-inline .form-check-input { + position: static; + margin-top: 0; + margin-right: 0.3125rem; + margin-left: 0; +} + +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #28a745; +} + +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.5rem; + margin-top: 0.1rem; + font-size: 0.875rem; + line-height: 1; + color: #fff; + background-color: rgba(40, 167, 69, 0.8); + border-radius: 0.2rem; +} + +.was-validated .form-control:valid, +.form-control.is-valid, +.was-validated .custom-select:valid, +.custom-select.is-valid { + border-color: #28a745; +} + +.was-validated .form-control:valid:focus, +.form-control.is-valid:focus, +.was-validated .custom-select:valid:focus, +.custom-select.is-valid:focus { + border-color: #28a745; + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip, +.form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip, +.was-validated .custom-select:valid ~ .valid-feedback, +.was-validated .custom-select:valid ~ .valid-tooltip, +.custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-check-input:valid ~ .form-check-label, +.form-check-input.is-valid ~ .form-check-label { + color: #28a745; +} + +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip, +.form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label, +.custom-control-input.is-valid ~ .custom-control-label { + color: #28a745; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label::before, +.custom-control-input.is-valid ~ .custom-control-label::before { + background-color: #71dd8a; +} + +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip, +.custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated + .custom-control-input:valid:checked + ~ .custom-control-label::before, +.custom-control-input.is-valid:checked ~ .custom-control-label::before { + background-color: #34ce57; +} + +.was-validated + .custom-control-input:valid:focus + ~ .custom-control-label::before, +.custom-control-input.is-valid:focus ~ .custom-control-label::before { + box-shadow: + 0 0 0 1px #fff, + 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .custom-file-input:valid ~ .custom-file-label, +.custom-file-input.is-valid ~ .custom-file-label { + border-color: #28a745; +} + +.was-validated .custom-file-input:valid ~ .custom-file-label::before, +.custom-file-input.is-valid ~ .custom-file-label::before { + border-color: inherit; +} + +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip, +.custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-file-input:valid:focus ~ .custom-file-label, +.custom-file-input.is-valid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #dc3545; +} + +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.5rem; + margin-top: 0.1rem; + font-size: 0.875rem; + line-height: 1; + color: #fff; + background-color: rgba(220, 53, 69, 0.8); + border-radius: 0.2rem; +} + +.was-validated .form-control:invalid, +.form-control.is-invalid, +.was-validated .custom-select:invalid, +.custom-select.is-invalid { + border-color: #dc3545; +} + +.was-validated .form-control:invalid:focus, +.form-control.is-invalid:focus, +.was-validated .custom-select:invalid:focus, +.custom-select.is-invalid:focus { + border-color: #dc3545; + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip, +.form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip, +.was-validated .custom-select:invalid ~ .invalid-feedback, +.was-validated .custom-select:invalid ~ .invalid-tooltip, +.custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-check-input:invalid ~ .form-check-label, +.form-check-input.is-invalid ~ .form-check-label { + color: #dc3545; +} + +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip, +.form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label, +.custom-control-input.is-invalid ~ .custom-control-label { + color: #dc3545; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label::before, +.custom-control-input.is-invalid ~ .custom-control-label::before { + background-color: #efa2a9; +} + +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip, +.custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated + .custom-control-input:invalid:checked + ~ .custom-control-label::before, +.custom-control-input.is-invalid:checked ~ .custom-control-label::before { + background-color: #e4606d; +} + +.was-validated + .custom-control-input:invalid:focus + ~ .custom-control-label::before, +.custom-control-input.is-invalid:focus ~ .custom-control-label::before { + box-shadow: + 0 0 0 1px #fff, + 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label, +.custom-file-input.is-invalid ~ .custom-file-label { + border-color: #dc3545; +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label::before, +.custom-file-input.is-invalid ~ .custom-file-label::before { + border-color: inherit; +} + +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip, +.custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, +.custom-file-input.is-invalid:focus ~ .custom-file-label { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.form-inline { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.form-inline .form-check { + width: 100%; +} + +@media (min-width: 576px) { + .form-inline label { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-bottom: 0; + } + .form-inline .form-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: 0; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-plaintext { + display: inline-block; + } + .form-inline .input-group { + width: auto; + } + .form-inline .form-check { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + width: auto; + padding-left: 0; + } + .form-inline .form-check-input { + position: relative; + margin-top: 0; + margin-right: 0.25rem; + margin-left: 0; + } + .form-inline .custom-control { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + } + .form-inline .custom-control-label { + margin-bottom: 0; + } +} + +.btn { + display: inline-block; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border: 1px solid transparent; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + border-radius: 0.25rem; + transition: + color 0.15s ease-in-out, + background-color 0.15s ease-in-out, + border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out; +} + +.btn:hover, +.btn:focus { + text-decoration: none; +} + +.btn:focus, +.btn.focus { + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.btn.disabled, +.btn:disabled { + opacity: 0.65; +} + +.btn:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.btn:not(:disabled):not(.disabled):active, +.btn:not(:disabled):not(.disabled).active { + background-image: none; +} + +a.btn.disabled, +fieldset:disabled a.btn { + pointer-events: none; +} + +.btn-primary { + color: #fff; + background-color: #33fff5; + border-color: #33fff5; +} + +.btn-primary:hover { + color: #fff; + background-color: #33ecff; + border-color: #33ecff; +} + +.btn-primary:focus, +.btn-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-primary.disabled, +.btn-primary:disabled { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-primary:not(:disabled):not(.disabled):active, +.btn-primary:not(:disabled):not(.disabled).active, +.show > .btn-primary.dropdown-toggle { + color: #fff; + background-color: #0062cc; + border-color: #005cbf; +} + +.btn-primary:not(:disabled):not(.disabled):active:focus, +.btn-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-secondary { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:hover { + color: #fff; + background-color: #5a6268; + border-color: #545b62; +} + +.btn-secondary:focus, +.btn-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-secondary.disabled, +.btn-secondary:disabled { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:not(:disabled):not(.disabled):active, +.btn-secondary:not(:disabled):not(.disabled).active, +.show > .btn-secondary.dropdown-toggle { + color: #fff; + background-color: #545b62; + border-color: #4e555b; +} + +.btn-secondary:not(:disabled):not(.disabled):active:focus, +.btn-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-success { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:hover { + color: #fff; + background-color: #218838; + border-color: #1e7e34; +} + +.btn-success:focus, +.btn-success.focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-success.disabled, +.btn-success:disabled { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:not(:disabled):not(.disabled):active, +.btn-success:not(:disabled):not(.disabled).active, +.show > .btn-success.dropdown-toggle { + color: #fff; + background-color: #1e7e34; + border-color: #1c7430; +} + +.btn-success:not(:disabled):not(.disabled):active:focus, +.btn-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-info { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:hover { + color: #fff; + background-color: #138496; + border-color: #117a8b; +} + +.btn-info:focus, +.btn-info.focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-info.disabled, +.btn-info:disabled { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:not(:disabled):not(.disabled):active, +.btn-info:not(:disabled):not(.disabled).active, +.show > .btn-info.dropdown-toggle { + color: #fff; + background-color: #117a8b; + border-color: #10707f; +} + +.btn-info:not(:disabled):not(.disabled):active:focus, +.btn-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-warning { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:hover { + color: #212529; + background-color: #e0a800; + border-color: #d39e00; +} + +.btn-warning:focus, +.btn-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-warning.disabled, +.btn-warning:disabled { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:not(:disabled):not(.disabled):active, +.btn-warning:not(:disabled):not(.disabled).active, +.show > .btn-warning.dropdown-toggle { + color: #212529; + background-color: #d39e00; + border-color: #c69500; +} + +.btn-warning:not(:disabled):not(.disabled):active:focus, +.btn-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-danger { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:hover { + color: #fff; + background-color: #c82333; + border-color: #bd2130; +} + +.btn-danger:focus, +.btn-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-danger.disabled, +.btn-danger:disabled { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:not(:disabled):not(.disabled):active, +.btn-danger:not(:disabled):not(.disabled).active, +.show > .btn-danger.dropdown-toggle { + color: #fff; + background-color: #bd2130; + border-color: #b21f2d; +} + +.btn-danger:not(:disabled):not(.disabled):active:focus, +.btn-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-light { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:hover { + color: #212529; + background-color: #e2e6ea; + border-color: #dae0e5; +} + +.btn-light:focus, +.btn-light.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-light.disabled, +.btn-light:disabled { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:not(:disabled):not(.disabled):active, +.btn-light:not(:disabled):not(.disabled).active, +.show > .btn-light.dropdown-toggle { + color: #212529; + background-color: #dae0e5; + border-color: #d3d9df; +} + +.btn-light:not(:disabled):not(.disabled):active:focus, +.btn-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-dark { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:hover { + color: #fff; + background-color: #23272b; + border-color: #1d2124; +} + +.btn-dark:focus, +.btn-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-dark.disabled, +.btn-dark:disabled { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:not(:disabled):not(.disabled):active, +.btn-dark:not(:disabled):not(.disabled).active, +.show > .btn-dark.dropdown-toggle { + color: #fff; + background-color: #1d2124; + border-color: #171a1d; +} + +.btn-dark:not(:disabled):not(.disabled):active:focus, +.btn-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-outline-primary { + color: #007bff; + background-color: transparent; + background-image: none; + border-color: #007bff; +} + +.btn-outline-primary:hover { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:focus, +.btn-outline-primary.focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-primary.disabled, +.btn-outline-primary:disabled { + color: #007bff; + background-color: transparent; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active, +.btn-outline-primary:not(:disabled):not(.disabled).active, +.show > .btn-outline-primary.dropdown-toggle { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, +.btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-secondary { + color: #6c757d; + background-color: transparent; + background-image: none; + border-color: #6c757d; +} + +.btn-outline-secondary:hover { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:focus, +.btn-outline-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-secondary.disabled, +.btn-outline-secondary:disabled { + color: #6c757d; + background-color: transparent; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active, +.btn-outline-secondary:not(:disabled):not(.disabled).active, +.show > .btn-outline-secondary.dropdown-toggle { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, +.btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-success { + color: #28a745; + background-color: transparent; + background-image: none; + border-color: #28a745; +} + +.btn-outline-success:hover { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:focus, +.btn-outline-success.focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-success.disabled, +.btn-outline-success:disabled { + color: #28a745; + background-color: transparent; +} + +.btn-outline-success:not(:disabled):not(.disabled):active, +.btn-outline-success:not(:disabled):not(.disabled).active, +.show > .btn-outline-success.dropdown-toggle { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:not(:disabled):not(.disabled):active:focus, +.btn-outline-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-info { + color: #17a2b8; + background-color: transparent; + background-image: none; + border-color: #17a2b8; +} + +.btn-outline-info:hover { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:focus, +.btn-outline-info.focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-info.disabled, +.btn-outline-info:disabled { + color: #17a2b8; + background-color: transparent; +} + +.btn-outline-info:not(:disabled):not(.disabled):active, +.btn-outline-info:not(:disabled):not(.disabled).active, +.show > .btn-outline-info.dropdown-toggle { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:not(:disabled):not(.disabled):active:focus, +.btn-outline-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-warning { + color: #ffc107; + background-color: transparent; + background-image: none; + border-color: #ffc107; +} + +.btn-outline-warning:hover { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:focus, +.btn-outline-warning.focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-warning.disabled, +.btn-outline-warning:disabled { + color: #ffc107; + background-color: transparent; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active, +.btn-outline-warning:not(:disabled):not(.disabled).active, +.show > .btn-outline-warning.dropdown-toggle { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, +.btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-danger { + color: #dc3545; + background-color: transparent; + background-image: none; + border-color: #dc3545; +} + +.btn-outline-danger:hover { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:focus, +.btn-outline-danger.focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-danger.disabled, +.btn-outline-danger:disabled { + color: #dc3545; + background-color: transparent; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active, +.btn-outline-danger:not(:disabled):not(.disabled).active, +.show > .btn-outline-danger.dropdown-toggle { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, +.btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-light { + color: #f8f9fa; + background-color: transparent; + background-image: none; + border-color: #f8f9fa; +} + +.btn-outline-light:hover { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:focus, +.btn-outline-light.focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-light.disabled, +.btn-outline-light:disabled { + color: #f8f9fa; + background-color: transparent; +} + +.btn-outline-light:not(:disabled):not(.disabled):active, +.btn-outline-light:not(:disabled):not(.disabled).active, +.show > .btn-outline-light.dropdown-toggle { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:not(:disabled):not(.disabled):active:focus, +.btn-outline-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-dark { + color: #343a40; + background-color: transparent; + background-image: none; + border-color: #343a40; +} + +.btn-outline-dark:hover { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:focus, +.btn-outline-dark.focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-outline-dark.disabled, +.btn-outline-dark:disabled { + color: #343a40; + background-color: transparent; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active, +.btn-outline-dark:not(:disabled):not(.disabled).active, +.show > .btn-outline-dark.dropdown-toggle { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, +.btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-link { + font-weight: 400; + color: #007bff; + background-color: transparent; +} + +.btn-link:hover { + color: #0056b3; + text-decoration: underline; + background-color: transparent; + border-color: transparent; +} + +.btn-link:focus, +.btn-link.focus { + text-decoration: underline; + border-color: transparent; + box-shadow: none; +} + +.btn-link:disabled, +.btn-link.disabled { + color: #6c757d; +} + +.btn-lg, +.btn-group-lg > .btn { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.btn-sm, +.btn-group-sm > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.btn-block { + display: block; + width: 100%; +} + +.btn-block + .btn-block { + margin-top: 0.5rem; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + transition: opacity 0.15s linear; +} + +.fade.show { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.show { + display: block; +} + +tr.collapse.show { + display: table-row; +} + +tbody.collapse.show { + display: table-row-group; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + transition: height 0.35s ease; +} + +.dropup, +.dropdown { + position: relative; +} + +.dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid; + border-right: 0.3em solid transparent; + border-bottom: 0; + border-left: 0.3em solid transparent; +} + +.dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 10rem; + padding: 0.5rem 0; + margin: 0.125rem 0 0; + font-size: 1rem; + color: #212529; + text-align: left; + list-style: none; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; +} + +.dropup .dropdown-menu { + margin-top: 0; + margin-bottom: 0.125rem; +} + +.dropup .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0; + border-right: 0.3em solid transparent; + border-bottom: 0.3em solid; + border-left: 0.3em solid transparent; +} + +.dropup .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-menu { + margin-top: 0; + margin-left: 0.125rem; +} + +.dropright .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; +} + +.dropright .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-toggle::after { + vertical-align: 0; +} + +.dropleft .dropdown-menu { + margin-top: 0; + margin-right: 0.125rem; +} + +.dropleft .dropdown-toggle::after { + display: inline-block; + width: 0; + height: 0; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; +} + +.dropleft .dropdown-toggle::after { + display: none; +} + +.dropleft .dropdown-toggle::before { + display: inline-block; + width: 0; + height: 0; + margin-right: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0.3em solid; + border-bottom: 0.3em solid transparent; +} + +.dropleft .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle::before { + vertical-align: 0; +} + +.dropdown-divider { + height: 0; + margin: 0.5rem 0; + overflow: hidden; + border-top: 1px solid #e9ecef; +} + +.dropdown-item { + display: block; + width: 100%; + padding: 0.25rem 1.5rem; + clear: both; + font-weight: 400; + color: #212529; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; +} + +.dropdown-item:hover, +.dropdown-item:focus { + color: #16181b; + text-decoration: none; + background-color: #f8f9fa; +} + +.dropdown-item.active, +.dropdown-item:active { + color: #fff; + text-decoration: none; + background-color: #007bff; +} + +.dropdown-item.disabled, +.dropdown-item:disabled { + color: #6c757d; + background-color: transparent; +} + +.dropdown-menu.show { + display: block; +} + +.dropdown-header { + display: block; + padding: 0.5rem 1.5rem; + margin-bottom: 0; + font-size: 0.875rem; + color: #6c757d; + white-space: nowrap; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + -webkit-box-flex: 0; + -ms-flex: 0 1 auto; + flex: 0 1 auto; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover { + z-index: 1; +} + +.btn-group > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 1; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group, +.btn-group-vertical .btn + .btn, +.btn-group-vertical .btn + .btn-group, +.btn-group-vertical .btn-group + .btn, +.btn-group-vertical .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.btn-toolbar .input-group { + width: auto; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.dropdown-toggle-split { + padding-right: 0.5625rem; + padding-left: 0.5625rem; +} + +.dropdown-toggle-split::after { + margin-left: 0; +} + +.btn-sm + .dropdown-toggle-split, +.btn-group-sm > .btn + .dropdown-toggle-split { + padding-right: 0.375rem; + padding-left: 0.375rem; +} + +.btn-lg + .dropdown-toggle-split, +.btn-group-lg > .btn + .dropdown-toggle-split { + padding-right: 0.75rem; + padding-left: 0.75rem; +} + +.btn-group-vertical { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +.btn-group-vertical .btn, +.btn-group-vertical .btn-group { + width: 100%; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn { + margin-bottom: 0; +} + +.btn-group-toggle > .btn input[type="radio"], +.btn-group-toggle > .btn input[type="checkbox"], +.btn-group-toggle > .btn-group > .btn input[type="radio"], +.btn-group-toggle > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} + +.input-group { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} + +.input-group > .form-control, +.input-group > .custom-select, +.input-group > .custom-file { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + margin-bottom: 0; +} + +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file:focus { + z-index: 3; +} + +.input-group > .form-control + .form-control, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .custom-file, +.input-group > .custom-select + .form-control, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .custom-file, +.input-group > .custom-file + .form-control, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .custom-file { + margin-left: -1px; +} + +.input-group > .form-control:not(:last-child), +.input-group > .custom-select:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .form-control:not(:first-child), +.input-group > .custom-select:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group > .custom-file { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::before { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .custom-file:not(:first-child) .custom-file-label, +.input-group > .custom-file:not(:first-child) .custom-file-label::before { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group-prepend, +.input-group-append { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + +.input-group-prepend .btn, +.input-group-append .btn { + position: relative; + z-index: 2; +} + +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .input-group-text, +.input-group-append .input-group-text + .btn { + margin-left: -1px; +} + +.input-group-prepend { + margin-right: -1px; +} + +.input-group-append { + margin-left: -1px; +} + +.input-group-text { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0.375rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + text-align: center; + white-space: nowrap; + background-color: #e9ecef; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.input-group-text input[type="radio"], +.input-group-text input[type="checkbox"] { + margin-top: 0; +} + +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text, +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group + > .input-group-append:last-child + > .btn:not(:last-child):not(.dropdown-toggle), +.input-group + > .input-group-append:last-child + > .input-group-text:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group + > .input-group-prepend:first-child + > .input-group-text:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.custom-control { + position: relative; + display: block; + min-height: 1.5rem; + padding-left: 1.5rem; +} + +.custom-control-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + margin-right: 1rem; +} + +.custom-control-input { + position: absolute; + z-index: -1; + opacity: 0; +} + +.custom-control-input:checked ~ .custom-control-label::before { + color: #fff; + background-color: #007bff; +} + +.custom-control-input:focus ~ .custom-control-label::before { + box-shadow: + 0 0 0 1px #fff, + 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-control-input:active ~ .custom-control-label::before { + color: #fff; + background-color: #b3d7ff; +} + +.custom-control-input:disabled ~ .custom-control-label { + color: #6c757d; +} + +.custom-control-input:disabled ~ .custom-control-label::before { + background-color: #e9ecef; +} + +.custom-control-label { + margin-bottom: 0; +} + +.custom-control-label::before { + position: absolute; + top: 0.25rem; + left: 0; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #dee2e6; +} + +.custom-control-label::after { + position: absolute; + top: 0.25rem; + left: 0; + display: block; + width: 1rem; + height: 1rem; + content: ""; + background-repeat: no-repeat; + background-position: center center; + background-size: 50% 50%; +} + +.custom-checkbox .custom-control-label::before { + border-radius: 0.25rem; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.custom-checkbox + .custom-control-input:indeterminate + ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-checkbox + .custom-control-input:indeterminate + ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E"); +} + +.custom-checkbox + .custom-control-input:disabled:checked + ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-checkbox + .custom-control-input:disabled:indeterminate + ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-radio .custom-control-label::before { + border-radius: 50%; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::before { + background-color: #007bff; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E"); +} + +.custom-radio + .custom-control-input:disabled:checked + ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-select { + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + padding: 0.375rem 1.75rem 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + vertical-align: middle; + background: #fff + url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") + no-repeat right 0.75rem center; + background-size: 8px 10px; + border: 1px solid #ced4da; + border-radius: 0.25rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-select:focus { + border-color: #80bdff; + outline: 0; + box-shadow: + inset 0 1px 2px rgba(0, 0, 0, 0.075), + 0 0 5px rgba(128, 189, 255, 0.5); +} + +.custom-select:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.custom-select[multiple], +.custom-select[size]:not([size="1"]) { + height: auto; + padding-right: 0.75rem; + background-image: none; +} + +.custom-select:disabled { + color: #6c757d; + background-color: #e9ecef; +} + +.custom-select::-ms-expand { + opacity: 0; +} + +.custom-select-sm { + height: calc(1.8125rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 75%; +} + +.custom-select-lg { + height: calc(2.875rem + 2px); + padding-top: 0.375rem; + padding-bottom: 0.375rem; + font-size: 125%; +} + +.custom-file { + position: relative; + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + margin-bottom: 0; +} + +.custom-file-input { + position: relative; + z-index: 2; + width: 100%; + height: calc(2.25rem + 2px); + margin: 0; + opacity: 0; +} + +.custom-file-input:focus ~ .custom-file-control { + border-color: #80bdff; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-file-input:focus ~ .custom-file-control::before { + border-color: #80bdff; +} + +.custom-file-input:lang(en) ~ .custom-file-label::after { + content: "Browse"; +} + +.custom-file-label { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 1; + height: calc(2.25rem + 2px); + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + background-color: #fff; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.custom-file-label::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 3; + display: block; + height: calc(calc(2.25rem + 2px) - 1px * 2); + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + content: "Browse"; + background-color: #e9ecef; + border-left: 1px solid #ced4da; + border-radius: 0 0.25rem 0.25rem 0; +} + +.nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav-link { + display: block; + padding: 0.5rem 1rem; +} + +.nav-link:hover, +.nav-link:focus { + text-decoration: none; +} + +.nav-link.disabled { + color: #6c757d; +} + +.nav-tabs { + border-bottom: 1px solid #dee2e6; +} + +.nav-tabs .nav-item { + margin-bottom: -1px; +} + +.nav-tabs .nav-link { + border: 1px solid transparent; + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.nav-tabs .nav-link:hover, +.nav-tabs .nav-link:focus { + border-color: #e9ecef #e9ecef #dee2e6; +} + +.nav-tabs .nav-link.disabled { + color: #6c757d; + background-color: transparent; + border-color: transparent; +} + +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link { + color: #495057; + background-color: #fff; + border-color: #dee2e6 #dee2e6 #fff; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.nav-pills .nav-link { + border-radius: 0.25rem; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: #fff; + background-color: #007bff; +} + +.nav-fill .nav-item { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} + +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.navbar { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 0.5rem 1rem; +} + +.navbar > .container, +.navbar > .container-fluid { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.navbar-brand { + display: inline-block; + padding-top: 0.3125rem; + padding-bottom: 0.3125rem; + margin-right: 1rem; + font-size: 1.25rem; + line-height: inherit; + white-space: nowrap; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +.navbar-nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.navbar-nav .nav-link { + padding-right: 0; + padding-left: 0; +} + +.navbar-nav .dropdown-menu { + position: static; + float: none; +} + +.navbar-text { + display: inline-block; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.25rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.navbar-toggler:hover, +.navbar-toggler:focus { + text-decoration: none; +} + +.navbar-toggler:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; +} + +@media (max-width: 575.98px) { + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 576px) { + .navbar-expand-sm { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } + .navbar-expand-sm .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +@media (max-width: 767.98px) { + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 768px) { + .navbar-expand-md { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } + .navbar-expand-md .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +@media (max-width: 991.98px) { + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 992px) { + .navbar-expand-lg { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } + .navbar-expand-lg .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +@media (max-width: 1199.98px) { + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 1200px) { + .navbar-expand-xl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } + .navbar-expand-xl .dropup .dropdown-menu { + top: auto; + bottom: 100%; + } +} + +.navbar-expand { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + padding-right: 0; + padding-left: 0; +} + +.navbar-expand .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} + +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} + +.navbar-expand .navbar-nav .dropdown-menu-right { + right: 0; + left: auto; +} + +.navbar-expand .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.navbar-expand .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.navbar-expand .navbar-toggler { + display: none; +} + +.navbar-expand .dropup .dropdown-menu { + top: auto; + bottom: 100%; +} + +.navbar-light .navbar-brand { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-brand:hover, +.navbar-light .navbar-brand:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-nav .nav-link { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-nav .nav-link:hover, +.navbar-light .navbar-nav .nav-link:focus { + color: rgba(0, 0, 0, 0.7); +} + +.navbar-light .navbar-nav .nav-link.disabled { + color: rgba(0, 0, 0, 0.3); +} + +.navbar-light .navbar-nav .show > .nav-link, +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .nav-link.active { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-toggler { + color: rgba(0, 0, 0, 0.5); + border-color: rgba(0, 0, 0, 0.1); +} + +.navbar-light .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-light .navbar-text { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-text a { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-text a:hover, +.navbar-light .navbar-text a:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-dark .navbar-brand { + color: #fff; +} + +.navbar-dark .navbar-brand:hover, +.navbar-dark .navbar-brand:focus { + color: #fff; +} + +.navbar-dark .navbar-nav .nav-link { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-nav .nav-link:hover, +.navbar-dark .navbar-nav .nav-link:focus { + color: rgba(255, 255, 255, 0.75); +} + +.navbar-dark .navbar-nav .nav-link.disabled { + color: rgba(255, 255, 255, 0.25); +} + +.navbar-dark .navbar-nav .show > .nav-link, +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .nav-link.active { + color: #fff; +} + +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 0.5); + border-color: rgba(255, 255, 255, 0.1); +} + +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-dark .navbar-text { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-text a { + color: #fff; +} + +.navbar-dark .navbar-text a:hover, +.navbar-dark .navbar-text a:focus { + color: #fff; +} + +.card { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid rgba(0, 0, 0, 0.125); + border-radius: 0.25rem; +} + +.card > hr { + margin-right: 0; + margin-left: 0; +} + +.card > .list-group:first-child .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.card > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.card-body { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} + +.card-title { + margin-bottom: 0.75rem; +} + +.card-subtitle { + margin-top: -0.375rem; + margin-bottom: 0; +} + +.card-text:last-child { + margin-bottom: 0; +} + +.card-link:hover { + text-decoration: none; +} + +.card-link + .card-link { + margin-left: 1.25rem; +} + +.card-header { + padding: 0.75rem 1.25rem; + margin-bottom: 0; + background-color: rgba(0, 0, 0, 0.03); + border-bottom: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-header:first-child { + border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; +} + +.card-header + .list-group .list-group-item:first-child { + border-top: 0; +} + +.card-footer { + padding: 0.75rem 1.25rem; + background-color: rgba(0, 0, 0, 0.03); + border-top: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-footer:last-child { + border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); +} + +.card-header-tabs { + margin-right: -0.625rem; + margin-bottom: -0.75rem; + margin-left: -0.625rem; + border-bottom: 0; +} + +.card-header-pills { + margin-right: -0.625rem; + margin-left: -0.625rem; +} + +.card-img-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + padding: 1.25rem; +} + +.card-img { + width: 100%; + border-radius: calc(0.25rem - 1px); +} + +.card-img-top { + width: 100%; + border-top-left-radius: calc(0.25rem - 1px); + border-top-right-radius: calc(0.25rem - 1px); +} + +.card-img-bottom { + width: 100%; + border-bottom-right-radius: calc(0.25rem - 1px); + border-bottom-left-radius: calc(0.25rem - 1px); +} + +.card-deck { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-deck .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-deck { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-right: -15px; + margin-left: -15px; + } + .card-deck .card { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + margin-right: 15px; + margin-bottom: 0; + margin-left: 15px; + } +} + +.card-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-group > .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-group { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-left: 0; + border-left: 0; + } + .card-group > .card:first-child { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:first-child .card-img-top, + .card-group > .card:first-child .card-header { + border-top-right-radius: 0; + } + .card-group > .card:first-child .card-img-bottom, + .card-group > .card:first-child .card-footer { + border-bottom-right-radius: 0; + } + .card-group > .card:last-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:last-child .card-img-top, + .card-group > .card:last-child .card-header { + border-top-left-radius: 0; + } + .card-group > .card:last-child .card-img-bottom, + .card-group > .card:last-child .card-footer { + border-bottom-left-radius: 0; + } + .card-group > .card:only-child { + border-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-top, + .card-group > .card:only-child .card-header { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; + } + .card-group > .card:only-child .card-img-bottom, + .card-group > .card:only-child .card-footer { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) { + border-radius: 0; + } + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-img-top, + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-img-bottom, + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-header, + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-footer { + border-radius: 0; + } +} + +.card-columns .card { + margin-bottom: 0.75rem; +} + +@media (min-width: 576px) { + .card-columns { + -webkit-column-count: 3; + -moz-column-count: 3; + column-count: 3; + -webkit-column-gap: 1.25rem; + -moz-column-gap: 1.25rem; + column-gap: 1.25rem; + } + .card-columns .card { + display: inline-block; + width: 100%; + } +} + +.breadcrumb { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1rem; + list-style: none; + background-color: #e9ecef; + border-radius: 0.25rem; +} + +.breadcrumb-item + .breadcrumb-item::before { + display: inline-block; + padding-right: 0.5rem; + padding-left: 0.5rem; + color: #6c757d; + content: "/"; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: underline; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: none; +} + +.breadcrumb-item.active { + color: #6c757d; +} + +.pagination { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + padding-left: 0; + list-style: none; + border-radius: 0.25rem; +} + +.page-link { + position: relative; + display: block; + padding: 0.5rem 0.75rem; + margin-left: -1px; + line-height: 1.25; + color: #007bff; + background-color: #fff; + border: 1px solid #dee2e6; +} + +.page-link:hover { + color: #0056b3; + text-decoration: none; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.page-link:focus { + z-index: 2; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.page-link:not(:disabled):not(.disabled) { + cursor: pointer; +} + +.page-item:first-child .page-link { + margin-left: 0; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.page-item:last-child .page-link { + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; +} + +.page-item.active .page-link { + z-index: 1; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.page-item.disabled .page-link { + color: #6c757d; + pointer-events: none; + cursor: auto; + background-color: #fff; + border-color: #dee2e6; +} + +.pagination-lg .page-link { + padding: 0.75rem 1.5rem; + font-size: 1.25rem; + line-height: 1.5; +} + +.pagination-lg .page-item:first-child .page-link { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.pagination-lg .page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.pagination-sm .page-link { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; +} + +/*submit button*/ + +.submit-button { + background-color: #000080; /* Bootstrap Primary Blue */ + color: white; + padding: 10px 20px; + font-size: 16px; + border: none; + border-radius: 4px; + cursor: pointer; + display: inline-block; + margin-top: 10px; + transition: background-color 0.3s ease; +} + +.submit-button:hover { + background-color: #0056b3; +} + +.submit-button:disabled { + background-color: #cccccc; + cursor: not-allowed; +} + +.summarize-button { + background-color: #007bff; /* Blue background */ + color: white; /* White text */ + padding: 10px 20px; + border: none; + border-radius: 6px; + font-size: 16px; + cursor: pointer; + opacity: 1 !important; + visibility: visible !important; + display: inline-block !important; + transition: background-color 0.3s ease; +} + +.summarize-button:hover { + background-color: #0056b3; /* Darker on hover */ +} + +.text-area-row { + display: flex; + justify-content: center; + gap: 40px; + width: 100%; + max-width: 1200px; + margin: 20px auto; + flex-wrap: wrap; +} + +/* ===== ParagraphChecker Styles ===== */ +.grammar-checker-container { + display: flex; + flex-direction: column; + align-items: center; + margin: 0 auto; + padding: 20px; + max-width: 1400px; +} + +.input-section-3, +.output-section-3 { + flex: 1; + min-width: 500px; + max-width: 100%; + margin: 10px; +} + +.input-textarea-3 { + width: 100%; + height: 450px; + padding: 18px; + font-size: 17px; + line-height: 1.6; + font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + border: 2px solid #d4d4d4; + border-radius: 10px; + resize: none; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); + box-sizing: border-box; + overflow-y: auto; +} + +.output-display-3 { + width: 100%; + height: 450px; + padding: 18px; + font-size: 17px; + border: 2px solid #d4d4d4; + border-radius: 10px; + background-color: #f4f9ff; + overflow-y: auto; + white-space: pre-wrap; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); +} + +/* ===== Summariser Styles (already defined but now renamed) ===== */ +.summariser-container { + display: flex; + flex-direction: column; + align-items: center; + margin: 0 auto; + padding: 20px; + max-width: 1400px; +} + +.text-box { + flex: 1; + display: flex; + flex-direction: column; + min-width: 500px; +} + +.input-textarea-3.summariser-textarea { + background-color: #fefefe; + border: 1px solid #ccc; +} + +.output-display-3.summariser-output { + background-color: #f4f9ff; + border: 1px solid #ccc; +} + +/* Optional: .summary-result, .bullet-point, etc., can stay as is */ + +/* ===== Responsive ===== */ +@media (max-width: 768px) { + .text-area-row { + flex-direction: column; + align-items: center; + } + + .text-box, + .input-section-3, + .output-section-3 { + width: 100%; + } +} + +/* button row and adjustment for paragragh checker*/ +.checker-button-row { + display: flex; + justify-content: center; + align-items: center; + gap: 15px; + margin-top: 20px; +} + +.checker-correct-button { + background-color: #007bff; + color: white; + padding: 10px 20px; + border-radius: 8px; + border: none; + cursor: pointer; +} + +.checker-clear-button { + background-color: white; + color: black; + border: 2px solid black; + padding: 10px 20px; + border-radius: 8px; + cursor: pointer; +} diff --git a/src/assets/img/11.jpeg b/src/assets/img/11.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..0d913ec287ea9716f9c5c9f92aa35c88c505009b Binary files /dev/null and b/src/assets/img/11.jpeg differ diff --git a/src/assets/img/4.jpeg b/src/assets/img/4.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..cb8cdc06b4ac653fe954d6f59ca9192517b59cf3 Binary files /dev/null and b/src/assets/img/4.jpeg differ diff --git a/src/assets/img/5.jpeg b/src/assets/img/5.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..8cfd0c312bc16a48873b7a7ed5de97d0255fefdf Binary files /dev/null and b/src/assets/img/5.jpeg differ diff --git a/src/assets/img/6.jpeg b/src/assets/img/6.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..7dab762844b34a51773d695330e47e4884a3f08d Binary files /dev/null and b/src/assets/img/6.jpeg differ diff --git a/src/assets/img/7.png b/src/assets/img/7.png new file mode 100644 index 0000000000000000000000000000000000000000..fcb391fe5d9dd66bcc920eff9482ba69cfe36840 --- /dev/null +++ b/src/assets/img/7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:552f4d354eeedb1f5adb002abf11dc78bd56bc3ee95315c5f9d4fb3bd3a859b9 +size 144123 diff --git a/src/assets/img/8.jpg b/src/assets/img/8.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5a185a4ee7914caf4a0fdb75643bca3e2a1d93e5 --- /dev/null +++ b/src/assets/img/8.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfb76b1da2ade62dd4cc4f60f17d2ff19ef1ac4f87bb55b1c6a1b007dbba5e8e +size 100399 diff --git a/src/assets/img/8.png b/src/assets/img/8.png new file mode 100644 index 0000000000000000000000000000000000000000..131478236e9ab283821a74ee8e2c836a610ee466 Binary files /dev/null and b/src/assets/img/8.png differ diff --git a/src/assets/img/about-img.jpeg b/src/assets/img/about-img.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..4f9fa9fe35019707ba39af4e8c41a3c71f25ac17 Binary files /dev/null and b/src/assets/img/about-img.jpeg differ diff --git a/src/assets/img/intro-carousel/1.jpg b/src/assets/img/intro-carousel/1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5a185a4ee7914caf4a0fdb75643bca3e2a1d93e5 --- /dev/null +++ b/src/assets/img/intro-carousel/1.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfb76b1da2ade62dd4cc4f60f17d2ff19ef1ac4f87bb55b1c6a1b007dbba5e8e +size 100399 diff --git a/src/assets/img/intro-carousel/2.jpeg b/src/assets/img/intro-carousel/2.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..f49ec0c981bf4b26a96e05baa556de3a5ef04641 Binary files /dev/null and b/src/assets/img/intro-carousel/2.jpeg differ diff --git a/src/assets/img/intro-carousel/3.1.jpeg b/src/assets/img/intro-carousel/3.1.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..b8f1a597025c6bcb5cff733828b11158248842cb Binary files /dev/null and b/src/assets/img/intro-carousel/3.1.jpeg differ diff --git a/src/assets/img/intro-carousel/3.jpeg b/src/assets/img/intro-carousel/3.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..a253fe5d58f3129f77aba66dbfb2c92e8542e057 Binary files /dev/null and b/src/assets/img/intro-carousel/3.jpeg differ diff --git a/src/assets/img/intro-carousel/bg1.jpg b/src/assets/img/intro-carousel/bg1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dcea696e485c8a88757187d2490170c0d44e7cc2 --- /dev/null +++ b/src/assets/img/intro-carousel/bg1.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2728fcd5ec0340ef8560c83cee698e04e9e96e2496fdd85fb4a4fb7ca05795f1 +size 297678 diff --git a/src/assets/img/team-1.jpeg b/src/assets/img/team-1.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..3c14c6b26ee6e5c47d4b3858839fc7d7cf1d4343 Binary files /dev/null and b/src/assets/img/team-1.jpeg differ diff --git a/src/assets/img/team-2.jpeg b/src/assets/img/team-2.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..aae031d88339eccd13f24835272f636f56aa019f --- /dev/null +++ b/src/assets/img/team-2.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fc33b4cf46e4f0525e67cd80b4230552a83084176afbd85ade8405e060f284a +size 194983 diff --git a/src/assets/img/team-3.jpeg b/src/assets/img/team-3.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..e33e59b5d27aa155879a11a3275c307e01959d6c --- /dev/null +++ b/src/assets/img/team-3.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14706d912164489abf19efb54437e80d2e2f4e720166dea47c2f47ee6ddc5f81 +size 164967 diff --git a/src/assets/img/team-4.jpeg b/src/assets/img/team-4.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..dd497b5ec13152b1c4a4777d9103eef681b836f7 --- /dev/null +++ b/src/assets/img/team-4.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d413a156c7cb1bff024c67d824237b6120779779eb678c3903ca7db76c02525d +size 222280 diff --git a/src/components/Layout/Footer.jsx b/src/components/Layout/Footer.jsx new file mode 100644 index 0000000000000000000000000000000000000000..a1c96effe587246b35927d8d7354c6af08e35542 --- /dev/null +++ b/src/components/Layout/Footer.jsx @@ -0,0 +1,19 @@ +// src/components/Layout/Footer.jsx +import React from "react"; +import "../../assets/css/style.css"; + +const Footer = () => { + return ( + + ); +}; + +export default Footer; diff --git a/src/components/Layout/Header.jsx b/src/components/Layout/Header.jsx new file mode 100644 index 0000000000000000000000000000000000000000..51a9079c1d9898f604b776114198318549cdc571 --- /dev/null +++ b/src/components/Layout/Header.jsx @@ -0,0 +1,65 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import { useAuth } from "../../context/AuthContext"; // Import useAuth + +const Header = () => { + const { authenticated, logout, authKey } = useAuth(); // Use authentication state and logout function + + return ( + + ); +}; + +export default Header; diff --git a/src/components/Layout/Layout.jsx b/src/components/Layout/Layout.jsx new file mode 100644 index 0000000000000000000000000000000000000000..3c606c6163e2edf764e47370e72930de09dee9d4 --- /dev/null +++ b/src/components/Layout/Layout.jsx @@ -0,0 +1,17 @@ +import React from "react"; +import Header from "./Header"; +import Footer from "./Footer"; +import TopBar from "./TopBar"; + +const Layout = ({ children }) => { + return ( +
+ +
+
{children}
+
+ ); +}; + +export default Layout; diff --git a/src/components/Layout/TopBar.jsx b/src/components/Layout/TopBar.jsx new file mode 100644 index 0000000000000000000000000000000000000000..6a6242c2f6b2f0d61f17fb847c47d42a061ef9fa --- /dev/null +++ b/src/components/Layout/TopBar.jsx @@ -0,0 +1,37 @@ +import React from "react"; +import "font-awesome/css/font-awesome.min.css"; + +const TopBar = () => { + return ( +
+
+
+ + + convomate.contact@gmail.com + + 9359782454 +
+
+ + + + + + + + + + + + +
+
+
+ ); +}; + +export default TopBar; diff --git a/src/components/Sections/AboutSection.jsx b/src/components/Sections/AboutSection.jsx new file mode 100644 index 0000000000000000000000000000000000000000..2fe409d3c45be7d47812ecad7b678b5ee2c3753e --- /dev/null +++ b/src/components/Sections/AboutSection.jsx @@ -0,0 +1,42 @@ +import React from "react"; +import "../../assets/css/style.css"; +import aboutImg from "../../assets/img/about-img.jpeg"; // Correct import for Webpack + +const AboutSection = () => { + return ( +
+
+
+
+ About {/* Use the imported image */} +
+ +
+

+ "Communication – the human connection – is the key to personal and + career success." +

+ +
    +
  • + + At Convomate, we believe in the power of meaningful + conversations to uplift your skills and enrich your journey of + self-improvement. +
  • +
  • + + Convomate is not just a platform; it's your companion in skill + development, ensuring that every conversation adds value to your + personal and professional journey. +
  • +
+
+
+
+
+
+ ); +}; + +export default AboutSection; diff --git a/src/components/Sections/ChatbotSection.jsx b/src/components/Sections/ChatbotSection.jsx new file mode 100644 index 0000000000000000000000000000000000000000..06aacb16aee13c8e09123226ed29ce8c2e96c5b6 --- /dev/null +++ b/src/components/Sections/ChatbotSection.jsx @@ -0,0 +1,365 @@ +import React, { useState, useEffect, useRef } from "react"; +import "font-awesome/css/font-awesome.min.css"; +import "../../assets/css/style.css"; +import api from "../../api"; +import VoiceInput from "./VoiceInput"; +import { loadVoices, getDefaultVoice } from "./voiceUtils"; +import ErrorPopup from "./ErrorPopup"; + +const ChatbotSection = () => { + const [messages, setMessages] = useState([]); + const [inputText, setInputText] = useState(""); + const [voices, setVoices] = useState([]); + const [selectedVoice, setSelectedVoice] = useState(null); + const [conversationStarted, setConversationStarted] = useState(false); + const [isLoading, setIsLoading] = useState(false); + const [error, setError] = useState(""); + const conversationRef = useRef(null); + + useEffect(() => { + const initializeVoices = async () => { + const loadedVoices = await loadVoices(); + setVoices(loadedVoices); + setSelectedVoice(getDefaultVoice(loadedVoices)); + }; + initializeVoices(); + }, []); + + useEffect(() => { + if (conversationRef.current) { + conversationRef.current.scrollTop = conversationRef.current.scrollHeight; + } + }, [messages]); + + const handleVoiceResult = (transcript) => { + setInputText((prevText) => prevText + (prevText ? " " : "") + transcript); + }; + + const handleClearInput = () => { + setInputText(""); + }; + + const startConversation = async () => { + setIsLoading(true); + try { + const response = await api.startChat( + {}, + { + headers: { + Authorization: `Bearer ${localStorage.getItem("jwtToken")}`, + }, + }, + ); + + if (response && response.next_question) { + setMessages([{ text: response.next_question, sender: "bot" }]); + setConversationStarted(true); + } + } catch (error) { + console.error("Error starting conversation:", error); + setError("Failed to start conversation. Please try again."); + } finally { + setIsLoading(false); + } + }; + + const handleSubmit = async (e) => { + e.preventDefault(); + if (!inputText.trim()) return; + + const userMessage = { text: inputText, sender: "user" }; + setMessages((prev) => [...prev, userMessage]); + setInputText(""); + setIsLoading(true); + + try { + const response = await api.chatWithBot( + { message: inputText }, + { + headers: { + Authorization: `Bearer ${localStorage.getItem("jwtToken")}`, + }, + }, + ); + + if (response) { + if (response.is_corrected) { + setMessages((prev) => [ + ...prev, + { + text: `Correction: ${response.corrected_text}`, + sender: "bot", + isCorrection: true, + }, + ]); + } + + if (response.compliment) { + setMessages((prev) => [ + ...prev, + { text: response.compliment, sender: "bot", isCompliment: true }, + ]); + } + + if (response.next_question) { + setMessages((prev) => [ + ...prev, + { text: response.next_question, sender: "bot" }, + ]); + } + } + } catch (error) { + console.error("Error in chat:", error); + setMessages((prev) => [ + ...prev, + { + text: "Sorry, there was an error processing your message.", + sender: "bot", + isError: true, + }, + ]); + setError("An error occurred while sending your message."); + } finally { + setIsLoading(false); + } + }; + + const handleTextToSpeech = (text) => { + if (!selectedVoice) return; + + const synth = window.speechSynthesis; + synth.cancel(); + + const utterance = new SpeechSynthesisUtterance(text); + utterance.voice = selectedVoice; + utterance.lang = "en-US"; + synth.speak(utterance); + }; + + const handleClosePopup = () => { + setError(""); + }; + + return ( +
+

Chat-bot Chat

+ + {error && } + +
+
+ {!conversationStarted && messages.length === 0 && ( +
+

Click "Start Conversation" to begin chatting with the bot

+
+ )} + + {messages.map((message, index) => ( +
+
+

+ {Array.isArray(message.text) + ? message.text.join("") + : String(message.text)} +

+ + {message.sender === "bot" && ( + + )} +
+
+ ))} + + {isLoading && ( +
+
+ Loading... +
+
+ )} +
+ + {!conversationStarted ? ( +
+ +
+ ) : ( +
+ setInputText(e.target.value)} + style={{ + flexGrow: 1, + padding: "10px", + borderRadius: "20px", + border: "1px solid #ccc", + outline: "none", + }} + /> + + + + + + + + + + )} +
+
+ ); +}; + +export default ChatbotSection; diff --git a/src/components/Sections/ContactSection.jsx b/src/components/Sections/ContactSection.jsx new file mode 100644 index 0000000000000000000000000000000000000000..495b7a26b714ab3490a139f660a0689135d2396d --- /dev/null +++ b/src/components/Sections/ContactSection.jsx @@ -0,0 +1,41 @@ +import React from "react"; + +import "../../assets/css/style.css"; +const ContactSection = () => { + return ( +
+
+
+

Contact Us

+
+
+
+
+ +

Address

+
+ NCER, Talegaon Dabhade +
+
+
+
+
+ +

Phone Number

+ 9359782454 +
+
+
+
+ +

Email

+ convomate@star.com +
+
+
+
+
+ ); +}; + +export default ContactSection; diff --git a/src/components/Sections/ErrorPopup.jsx b/src/components/Sections/ErrorPopup.jsx new file mode 100644 index 0000000000000000000000000000000000000000..c102119d68d64a2b711bc82cde466242109db33c --- /dev/null +++ b/src/components/Sections/ErrorPopup.jsx @@ -0,0 +1,57 @@ +import React from "react"; + +const ErrorPopup = ({ message, onClose }) => { + if (!message) return null; + + return ( + <> + + +
+
+

⚠️ Something went wrong

+

{message}

+ +
+
+ + ); +}; + +export default ErrorPopup; diff --git a/src/components/Sections/IntroSection.jsx b/src/components/Sections/IntroSection.jsx new file mode 100644 index 0000000000000000000000000000000000000000..0e035a520112ea278f1e8001098090c61514a23a --- /dev/null +++ b/src/components/Sections/IntroSection.jsx @@ -0,0 +1,34 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import "../../assets/css/style.css"; +import introImage from "../../assets/img/4.jpeg"; // Import the image + +const IntroSection = () => { + return ( +
+ {/* Image Section (Moved to Left) */} +
+ AI Voice Bot +
+ + {/* Text Content (Moved to Right) */} +
+

+ An AI for, +
+ Better Communication +

+
+ + Get Started + + + Our Models + +
+
+
+ ); +}; + +export default IntroSection; diff --git a/src/components/Sections/LoginSection.jsx b/src/components/Sections/LoginSection.jsx new file mode 100644 index 0000000000000000000000000000000000000000..22e0505e91d39ec3f2a166b18a2aa91a62ebc104 --- /dev/null +++ b/src/components/Sections/LoginSection.jsx @@ -0,0 +1,211 @@ +import React from "react"; +import bgImage from "../../assets/img/intro-carousel/bg1.jpg"; + +const LoginSection = ({ + email, + setEmail, + otp, + setOtp, + otpSent, + timer, + error, + loading, + handleGenerateOtp, + handleResendOtp, + handleSubmit, +}) => { + return ( +
+ {/* Central Error Popup */} + {error && ( +
+

{error}

+
+ )} + +
+
+

Login

+
+ +
+ {/* Email Input */} +
+ + setEmail(e.target.value)} + required + disabled={loading} + style={styles.input} + /> +
+ + {/* Send OTP Button */} + {!otpSent && ( + + )} + + {/* OTP Input and Buttons */} + {otpSent && ( + <> +
+ + setOtp(e.target.value)} + required + disabled={loading} + style={styles.input} + /> +
+ + + + + + )} + +

+ Not registered?{" "} + + Register/Signup here + +

+
+
+
+ ); +}; + +/* Styles */ +const styles = { + container: { + display: "flex", + justifyContent: "center", + alignItems: "center", + height: "100vh", + backgroundImage: `url(${bgImage})`, + backgroundSize: "cover", + backgroundPosition: "center", + backgroundRepeat: "no-repeat", + position: "relative", + }, + popup: { + position: "absolute", + top: "20px", + left: "50%", + transform: "translateX(-50%)", + backgroundColor: "#f44336", //Default red color, will be overridden by condition + color: "white", + padding: "10px 20px", + borderRadius: "8px", + zIndex: 1000, + boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.2)", + fontWeight: "bold", + }, + popupText: { + margin: 0, + }, + formContainer: { + backgroundColor: "white", + padding: "30px", + borderRadius: "10px", + boxShadow: "0 4px 8px rgba(0, 0, 0, 0.1)", + width: "400px", + display: "flex", + flexDirection: "column", + }, + headingContainer: { + display: "flex", + justifyContent: "flex-start", + marginBottom: "20px", + }, + heading: { + fontSize: "24px", + fontWeight: "bold", + color: "#5DDAB4", + }, + form: { + display: "flex", + flexDirection: "column", + }, + inputGroup: { + marginBottom: "20px", + }, + label: { + fontSize: "14px", + fontWeight: "bold", + marginBottom: "8px", + display: "block", + }, + input: { + width: "100%", + padding: "12px", + fontSize: "16px", + border: "1px solid #ddd", + borderRadius: "5px", + marginTop: "5px", + }, + button: { + padding: "12px", + backgroundColor: "#033452", + color: "white", + border: "none", + borderRadius: "5px", + cursor: "pointer", + marginTop: "15px", + }, + registerText: { + textAlign: "center", + marginTop: "20px", + }, + link: { + color: "#007bff", + textDecoration: "none", + fontWeight: "bold", + }, +}; + +export default LoginSection; diff --git a/src/components/Sections/ModelSection.jsx b/src/components/Sections/ModelSection.jsx new file mode 100644 index 0000000000000000000000000000000000000000..4a7ed1ae0e355d285e5fe2743d6e7c1e7d8258d2 --- /dev/null +++ b/src/components/Sections/ModelSection.jsx @@ -0,0 +1,85 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import Image6 from "../../assets/img/6.jpeg"; +import Image7 from "../../assets/img/7.png"; +import Image8 from "../../assets/img/8.png"; +import Image11 from "../../assets/img/11.jpeg"; +import bgImage from "../../assets/img/intro-carousel/bg1.jpg"; // Adjust the path as per your folder structure + +const ModelSection = () => { + return ( +
+
+
+
+ {/* First Image Column */} +
+ Second Image +
+
+ +
+ + {/* Second Image Column */} +
+ First Image +
+
+ +
+ + {/* Third Image Column */} +
+ Third Image +
+
+ +
+ + {/* Fourth Image Column */} +
+ Fourth Image +
+
+ +
+
+
+
+
+ ); +}; + +export default ModelSection; diff --git a/src/components/Sections/ParagraphChecker.jsx b/src/components/Sections/ParagraphChecker.jsx new file mode 100644 index 0000000000000000000000000000000000000000..60017bf04ef6286bece7bc02e1819f97adf8c226 --- /dev/null +++ b/src/components/Sections/ParagraphChecker.jsx @@ -0,0 +1,156 @@ +import React, { useState } from "react"; +import api from "../../api"; +import { diffWords } from "diff"; +import "../../assets/css/style.css"; +import VoiceInput from "./VoiceInput"; +import ErrorPopup from "./ErrorPopup"; + +const ParagraphChecker = () => { + const [inputText, setInputText] = useState(""); + const [correctedText, setCorrectedText] = useState(""); + const [loading, setLoading] = useState(false); + const [error, setError] = useState(""); + const [highlightedOriginal, setHighlightedOriginal] = useState(""); + const [highlightedCorrected, setHighlightedCorrected] = useState(""); + + const token = localStorage.getItem("jwtToken"); + + const handleGrammarCheck = async () => { + if (!inputText.trim()) { + setError("Please enter text to check."); + return; + } + setError(""); + setLoading(true); + setCorrectedText(""); + setHighlightedOriginal(""); + setHighlightedCorrected(""); + + try { + const response = await api.grammarCheck( + { paragraph: inputText }, + { headers: { Authorization: `Bearer ${token}` } }, + ); + + if (response && response.grammar_corrected) { + setCorrectedText(response.grammar_corrected); + highlightDifferences(inputText, response.grammar_corrected); + } else { + setError("No corrected text found."); + } + } catch (err) { + setError(err.message || "Something went wrong."); + } finally { + setLoading(false); + } + }; + + const highlightDifferences = (original, corrected) => { + if (!original || !corrected) return; + + const differences = diffWords(original, corrected); + + const originalHighlighted = differences.map((part, index) => { + if (part.removed) { + return ( + + {part.value} + + ); + } + return part.added ? null : ( + + {part.value} + + ); + }); + + const correctedHighlighted = differences.map((part, index) => { + if (part.added) { + return ( + + {part.value} + + ); + } + return part.removed ? null : ( + + {part.value} + + ); + }); + + setHighlightedOriginal(originalHighlighted); + setHighlightedCorrected(correctedHighlighted); + }; + + const handleClearText = () => { + setInputText(""); + setCorrectedText(""); + setHighlightedOriginal(""); + setHighlightedCorrected(""); + setError(""); + }; + + const handleVoiceResult = (transcript) => { + setInputText(transcript); + }; + + const handleClosePopup = () => { + setError(""); + }; + + return ( +
+

Paragraph Grammar Checker

+
+
+

Input Text

+ +
+
+ lang.label === fromLanguage)?.code || + "en-US" + } + buttonStyle={{ marginLeft: "8px" }} + /> + + + +
+ {/* Error Popup */} + {error && ( +
+
+

⚠️ Something went wrong

+

{error}

+ +
+
+ )} + + +
+ +
+
+ +
+ + + + +
+ ); +}; + +export default TranslationModule; diff --git a/src/components/Sections/VoiceInput.jsx b/src/components/Sections/VoiceInput.jsx new file mode 100644 index 0000000000000000000000000000000000000000..20ae482b8ce0a53dfc91320efc8dfb65d2b56746 --- /dev/null +++ b/src/components/Sections/VoiceInput.jsx @@ -0,0 +1,116 @@ +// convomate/src/components/Sections/VoiceInput.jsx +import React, { useState, useEffect } from "react"; +import "font-awesome/css/font-awesome.min.css"; + +const VoiceInput = ({ + onResult, + language = "en-US", + buttonStyle = {}, + disabled = false, +}) => { + const [isListening, setIsListening] = useState(false); + const [recognition, setRecognition] = useState(null); + + useEffect(() => { + const SpeechRecognition = + window.SpeechRecognition || window.webkitSpeechRecognition; + if (SpeechRecognition) { + const recognizer = new SpeechRecognition(); + recognizer.continuous = false; + recognizer.interimResults = false; + recognizer.lang = language; + setRecognition(recognizer); + + recognizer.onresult = (event) => { + const transcript = event.results[0][0].transcript; + onResult(transcript); + setIsListening(false); + }; + + recognizer.onerror = (event) => { + console.error("Voice input error:", event.error); + setIsListening(false); + }; + + recognizer.onend = () => { + if (isListening) setIsListening(false); + }; + } + + return () => { + if (recognition) { + recognition.stop(); + } + }; + }, [language, onResult]); + + const startListening = () => { + if (!recognition || disabled) return; + recognition.start(); + setIsListening(true); + }; + + const stopListening = () => { + if (recognition && isListening) { + recognition.stop(); + setIsListening(false); + } + }; + + return ( +
+ {!isListening ? ( + + ) : ( + + )} + {isListening && ( + + )} +
+ ); +}; + +export default VoiceInput; diff --git a/src/components/Sections/voiceUtils.js b/src/components/Sections/voiceUtils.js new file mode 100644 index 0000000000000000000000000000000000000000..8ebf2da7754a65fd3c3358ccac35c88a61207066 --- /dev/null +++ b/src/components/Sections/voiceUtils.js @@ -0,0 +1,29 @@ +// convomate/src/components/Sections/voiceUtils.js +export const loadVoices = () => { + return new Promise((resolve) => { + const voices = window.speechSynthesis.getVoices(); + if (voices.length > 0) { + resolve(voices); + } else { + window.speechSynthesis.onvoiceschanged = () => { + resolve(window.speechSynthesis.getVoices()); + }; + } + }); +}; + +export const getDefaultVoice = (voices) => { + // Try to find Google US English first + const googleUS = voices.find( + (voice) => + voice.name.includes("Google US English") || + voice.name.includes("English United States"), + ); + + // Fallback to first English voice + const englishVoice = voices.find( + (voice) => voice.lang.includes("en-US") || voice.lang.includes("en_GB"), + ); + + return googleUS || englishVoice || voices[0]; +}; diff --git a/src/components/Shared/ErrorBoundary.jsx b/src/components/Shared/ErrorBoundary.jsx new file mode 100644 index 0000000000000000000000000000000000000000..d3fbe017eab287d2b1c90e2eb38c830fa1cc4d7c --- /dev/null +++ b/src/components/Shared/ErrorBoundary.jsx @@ -0,0 +1,26 @@ +import React, { Component } from "react"; + +class ErrorBoundary extends Component { + constructor(props) { + super(props); + this.state = { hasError: false }; + } + + static getDerivedStateFromError(error) { + return { hasError: true }; + } + + componentDidCatch(error, errorInfo) { + console.error("Error caught by ErrorBoundary:", error, errorInfo); + } + + render() { + if (this.state.hasError) { + return

Something went wrong. Please try again later.

; + } + + return this.props.children; + } +} + +export default ErrorBoundary; diff --git a/src/components/Shared/ProtectedRoute.jsx b/src/components/Shared/ProtectedRoute.jsx new file mode 100644 index 0000000000000000000000000000000000000000..cf4cdb0901d6d78bfd6948103d40367ba61ee06d --- /dev/null +++ b/src/components/Shared/ProtectedRoute.jsx @@ -0,0 +1,19 @@ +import React from "react"; +import { Navigate } from "react-router-dom"; +import { useAuth } from "../../context/AuthContext"; + +const ProtectedRoute = ({ children }) => { + const { authenticated, loading } = useAuth(); + + if (loading) { + return
Loading...
; // ✅ Wait until token check completes + } + + if (!authenticated) { + return ; + } + + return children; +}; + +export default ProtectedRoute; diff --git a/src/components/Shared/PublicRoute.jsx b/src/components/Shared/PublicRoute.jsx new file mode 100644 index 0000000000000000000000000000000000000000..e4ad058346fff262198434642246fc334b60318b --- /dev/null +++ b/src/components/Shared/PublicRoute.jsx @@ -0,0 +1,16 @@ +import React from "react"; +import { Navigate } from "react-router-dom"; +import { useAuth } from "../../context/AuthContext"; + +const PublicRoute = ({ children }) => { + const { authenticated } = useAuth(); + + // Redirect authenticated users away from public routes + if (authenticated) { + return ; + } + + return children; +}; + +export default PublicRoute; diff --git a/src/context/AuthContext.js b/src/context/AuthContext.js new file mode 100644 index 0000000000000000000000000000000000000000..dd30cc80d787aa7cd3fd220844a1d6294742439a --- /dev/null +++ b/src/context/AuthContext.js @@ -0,0 +1,99 @@ +import React, { createContext, useState, useEffect, useContext } from "react"; +import api from "../api"; + +const AuthContext = createContext(); + +const AuthProvider = ({ children }) => { + const [authenticated, setAuthenticated] = useState(false); + const [error, setError] = useState(null); + const [loading, setLoading] = useState(false); + + // Keep user logged in on page refresh + useEffect(() => { + setLoading(true); + const token = localStorage.getItem("token"); + if (token) setAuthenticated(true); + setLoading(false); + }, []); + + const generateOtp = async (email) => { + try { + setLoading(true); + setError(null); + await api.generateOtp(email); + return true; + } catch (err) { + setError(err.message || "Failed to generate OTP"); + throw err; + } finally { + setLoading(false); + } + }; + + const [authKey, setAuthKey] = useState(0); + + const login = async (email, otp) => { + try { + setLoading(true); + setError(null); + const response = await api.login(email, otp); + const token = response.token; + if (!token) throw new Error("Token missing in response"); + + localStorage.setItem("token", token); + setAuthenticated(true); + window.location.reload(); + } catch (err) { + setError(err.message || "Login failed"); + throw err; + } finally { + setLoading(false); + } + }; + + const logout = () => { + localStorage.removeItem("token"); + setAuthenticated(false); + window.location.reload(); + }; + + const register = async (username, name, email) => { + try { + setLoading(true); + setError(null); + const response = await api.register({ username, name, email }); + + if (response.message?.includes("success")) { + // Registration succeeded, optionally show a toast or redirect + return; + } + + throw new Error(response.message || "Registration failed"); + } catch (err) { + setError(err.message || "Registration failed"); + throw err; + } finally { + setLoading(false); + } + }; + + return ( + + {children} + + ); +}; + +const useAuth = () => useContext(AuthContext); + +export { AuthProvider, useAuth }; diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000000000000000000000000000000000000..7cc323415bb241de1897253c9b4d92f4fb78e67c --- /dev/null +++ b/src/index.html @@ -0,0 +1,12 @@ + + + + + Convomate + + + + +
+ + diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000000000000000000000000000000000000..5a68fc6f0bd4c2280fb288d4e414a0aabb0025ec --- /dev/null +++ b/src/index.js @@ -0,0 +1,16 @@ +import React from "react"; +import { createRoot } from "react-dom/client"; +import App from "./App"; +import "./assets/css/style.css"; // Updated to use consolidated Main.css +import { AuthProvider } from "./context/AuthContext"; + +const container = document.getElementById("root"); +const root = createRoot(container); + +root.render( + + + + + , +); diff --git a/src/pages/ChatbotPage.jsx b/src/pages/ChatbotPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..370513ec07a8f1fdc7b7c10512bfea6f1ff9edaa --- /dev/null +++ b/src/pages/ChatbotPage.jsx @@ -0,0 +1,9 @@ +import React from "react"; +import Layout from "../components/Layout/Layout"; +import ChatbotSection from "../components/Sections/ChatbotSection"; + +const ChatbotPage = () => { + return ; +}; + +export default ChatbotPage; diff --git a/src/pages/HomePage.jsx b/src/pages/HomePage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..887e4d12c1002f17cd0483904fdac21fb632cb35 --- /dev/null +++ b/src/pages/HomePage.jsx @@ -0,0 +1,20 @@ +import React from "react"; +import IntroSection from "../components/Sections/IntroSection"; +import AboutSection from "../components/Sections/AboutSection"; +import ServicesSection from "../components/Sections/ServicesSection"; +import ContactSection from "../components/Sections/ContactSection"; +import ReviewSection from "../components/Sections/ReviewSection"; + +const HomePage = () => { + return ( +
+ + + + + +
+ ); +}; + +export default HomePage; diff --git a/src/pages/LoginPage.jsx b/src/pages/LoginPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..8e9a5221a650460b299d6076933a2e07095c68d4 --- /dev/null +++ b/src/pages/LoginPage.jsx @@ -0,0 +1,71 @@ +import React, { useState, useEffect } from "react"; +import { useNavigate } from "react-router-dom"; +import { useAuth } from "../context/AuthContext"; +import LoginSection from "../components/Sections/LoginSection"; + +const LoginPage = () => { + const [email, setEmail] = useState(""); + const [otp, setOtp] = useState(""); + const [otpSent, setOtpSent] = useState(false); + const [timer, setTimer] = useState(30); + const { generateOtp, login, error, loading } = useAuth(); + const navigate = useNavigate(); + + const handleGenerateOtp = async (e) => { + e.preventDefault(); + try { + const response = await generateOtp(email); + console.log("OTP generated:", response); + setOtpSent(true); + setTimer(30); + } catch (err) { + console.error("OTP generation failed:", err); + } + }; + + const handleSubmit = async (e) => { + e.preventDefault(); + if (!otp) return; + try { + const response = await login(email, otp); + console.log("Login successful:", response); + navigate("/"); + } catch (err) { + console.error("Login failed:", err); + } + }; + + const handleResendOtp = async () => { + try { + await generateOtp(email); + setTimer(30); + } catch (err) { + console.error("OTP resend failed:", err); + } + }; + + useEffect(() => { + if (otpSent && timer > 0) { + const interval = setInterval(() => setTimer((prev) => prev - 1), 1000); + return () => clearInterval(interval); + } + }, [otpSent, timer]); + + return ( + + ); +}; + +export default LoginPage; diff --git a/src/pages/ModelPage.jsx b/src/pages/ModelPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..6dbf4ecae75864b86f3b2fa665e2a305060f6bca --- /dev/null +++ b/src/pages/ModelPage.jsx @@ -0,0 +1,9 @@ +import React from "react"; +import Layout from "../components/Layout/Layout"; +import ModelSection from "../components/Sections/ModelSection"; + +const ModelPage = () => { + return ; +}; + +export default ModelPage; diff --git a/src/pages/NotFoundPage.jsx b/src/pages/NotFoundPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..9a20766a45bce25ac051b19cf75b8d51771aa0c0 --- /dev/null +++ b/src/pages/NotFoundPage.jsx @@ -0,0 +1,12 @@ +import React from "react"; + +const NotFoundPage = () => { + return ( +
+

404 - Page Not Found

+

The page you are looking for does not exist.

+
+ ); +}; + +export default NotFoundPage; diff --git a/src/pages/ParagraphCheckerPage.jsx b/src/pages/ParagraphCheckerPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..6e41b62f8901b7f19c228735ad0fcee7c19e297f --- /dev/null +++ b/src/pages/ParagraphCheckerPage.jsx @@ -0,0 +1,17 @@ +import React from "react"; +import ParagraphChecker from "../components/Sections/ParagraphChecker"; +import "../assets/css/style.css"; +import "bootstrap/dist/css/bootstrap.css"; + +const ParagraphCheckerPage = () => { + return ( +
+
+

+ +
+
+ ); +}; + +export default ParagraphCheckerPage; diff --git a/src/pages/RegisterPage.jsx b/src/pages/RegisterPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..5de4b4b98080da81eab153e81b7b429bfec96652 --- /dev/null +++ b/src/pages/RegisterPage.jsx @@ -0,0 +1,203 @@ +import React, { useState } from "react"; +import { useNavigate } from "react-router-dom"; +import { useAuth } from "../context/AuthContext"; +import bgImage from "../assets/img/intro-carousel/bg1.jpg"; + +const RegisterPage = () => { + const [username, setUsername] = useState(""); + const [name, setName] = useState(""); + const [email, setEmail] = useState(""); + const [popupMessage, setPopupMessage] = useState(""); + const { register, error, loading } = useAuth(); + const navigate = useNavigate(); + + const handleSubmit = async (e) => { + e.preventDefault(); + if (!username || !name || !email) { + setPopupMessage("All fields are required."); + return; + } + + try { + await register(username, name, email); + setPopupMessage("Successfully registered! Redirecting to login..."); + setTimeout(() => { + navigate("/login"); + }, 2000); // wait 2 seconds before redirect + } catch (err) { + console.error("Registration failed:", err); + setPopupMessage(error || "Registration failed."); + } + }; + + return ( +
+ {/* Central popup message */} + {popupMessage && ( +
+

{popupMessage}

+
+ )} + +
+

Registration

+ +
+ {/* Username Field */} +
+ + setUsername(e.target.value)} + required + disabled={loading} + style={styles.input} + /> +
+ + {/* Name Field */} +
+ + setName(e.target.value)} + required + disabled={loading} + style={styles.input} + /> +
+ + {/* Email Field */} +
+ + setEmail(e.target.value)} + required + disabled={loading} + style={styles.input} + /> +
+ + {/* Register Button */} + + +

+ Already registered?{" "} + + Login here + +

+
+
+
+ ); +}; + +/* Styles */ +const styles = { + container: { + display: "flex", + justifyContent: "center", + alignItems: "center", + height: "100vh", + backgroundImage: `url(${bgImage})`, + backgroundSize: "cover", + backgroundPosition: "center", + backgroundRepeat: "no-repeat", + position: "relative", + }, + popup: { + position: "absolute", + top: "20px", + left: "50%", + transform: "translateX(-50%)", + backgroundColor: "#f44336", + color: "white", + padding: "10px 20px", + borderRadius: "8px", + zIndex: 1000, + boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.2)", + fontWeight: "bold", + }, + popupText: { + margin: 0, + }, + formContainer: { + backgroundColor: "white", + padding: "30px", + borderRadius: "10px", + boxShadow: "0 4px 8px rgba(0, 0, 0, 0.1)", + width: "400px", + display: "flex", + flexDirection: "column", + }, + heading: { + fontSize: "24px", + fontWeight: "bold", + textAlign: "center", + marginBottom: "20px", + color: "#5DDAB4", + }, + form: { + display: "flex", + flexDirection: "column", + }, + inputGroup: { + marginBottom: "20px", + }, + label: { + fontSize: "14px", + fontWeight: "bold", + marginBottom: "8px", + display: "block", + }, + input: { + width: "100%", + padding: "12px", + fontSize: "16px", + border: "1px solid #ddd", + borderRadius: "5px", + marginTop: "5px", + }, + button: { + padding: "12px", + backgroundColor: "#033452", + color: "white", + border: "none", + borderRadius: "5px", + cursor: "pointer", + marginTop: "15px", + }, + registerText: { + textAlign: "center", + marginTop: "20px", + }, + link: { + color: "#007bff", + textDecoration: "none", + fontWeight: "bold", + }, +}; + +export default RegisterPage; diff --git a/src/pages/SummariserPage.jsx b/src/pages/SummariserPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..0ead510b78c92bfcfbf683c8ac6e1080a718fb5c --- /dev/null +++ b/src/pages/SummariserPage.jsx @@ -0,0 +1,15 @@ +import React from "react"; +import Summariser from "../components/Sections/Summariser"; +import "../assets/css/style.css"; + +const SummariserPage = () => { + return ( +
+
+ +
+
+ ); +}; + +export default SummariserPage; diff --git a/src/pages/TeamPage.jsx b/src/pages/TeamPage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..efee2120678a25eae608f6fe00a3a125e1b68a0b --- /dev/null +++ b/src/pages/TeamPage.jsx @@ -0,0 +1,9 @@ +import React from "react"; +import Layout from "../components/Layout/Layout"; +import TeamSection from "../components/Sections/TeamSection"; + +const TeamPage = () => { + return ; +}; + +export default TeamPage; diff --git a/src/pages/TranslationModulePage.jsx b/src/pages/TranslationModulePage.jsx new file mode 100644 index 0000000000000000000000000000000000000000..0cbe1acede89a5d36b4bfdf2bb91d12618e51d58 --- /dev/null +++ b/src/pages/TranslationModulePage.jsx @@ -0,0 +1,9 @@ +import React from "react"; +import Layout from "../components/Layout/Layout"; +import TranslationModule from "../components/Sections/TranslationModule"; + +const TranslationModulePage = () => { + return ; +}; + +export default TranslationModulePage;