/*! Theme Name: Magcity Theme URI: Author: Ditya Themes Author URI: https://profiles.wordpress.org/dityathemes/ Description: Magcity is a clean, modern, elegant and fully responsive WordPress Theme. You can use it for your blog, News, Magazine, business, portfolio, fashion, fitness, GYM, Travels or any type of site and also support for woocommerce. Version: 1.0.3 Tested up to: 6.6 Requires PHP: 5.6 License: GNU General Public License version 3 License URI: http://www.gnu.org/licenses/gpl-3.0.html Tags: portfolio, blog, right-sidebar, featured-images, custom-logo, custom-menu, footer-widgets, threaded-comments Text Domain: magcity This theme, like WordPress, is licensed under the GPLv2. Use it to make something cool, have fun, and share what you've learned. magcity is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ html { line-height: 1.15; -webkit-text-size-adjust: 100%; } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; outline-offset: -2px; } /* Box sizing --------------------------------------------- */ /* Inherit box-sizing to more easily change it's value on a component level. @link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ *, *::before, *::after { box-sizing: inherit; } html { box-sizing: border-box; } /*-------------------------------------------------------------- # Base --------------------------------------------------------------*/ /* Typography --------------------------------------------- */ body, button, input, select, optgroup, textarea { color: #404040; font-family: 'Montserrat', sans-serif; font-size: 1rem; line-height: 1.5; } h1, h2, h3, h4, h5, h6 { clear: both; } h1, h2, h3, h4, h5, h6 { color: #232323; font-family: 'Montserrat', sans-serif; font-weight: 700; margin-bottom: 15px; } p { margin-bottom: 1.5em; } dfn, cite, em, i { font-style: italic; } /* Elements --------------------------------------------- */ body { background: #f9f9f9; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 0.5em; } img { height: auto; max-width: 100%; } figure { margin: 1em 0; } /* Links --------------------------------------------- */ a { color: #4169e1; } a:hover, a:focus, a:active { color: #281090; text-decoration: underline; } a:focus { outline:1px thin dotted; } .footer-section a:focus, .wp-main-section a:focus{ text-decoration: underline; } a:hover, a:active { outline: 0; } /* Forms --------------------------------------------- */ button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; background: #000; color: #fff; line-height: 1; padding: 0.75em 1.5em; } .dropdown-toggle{ display: none; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #ccc #bbb #aaa; background-color: #281090; color: #fff; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { color: #666; border: 1px solid #ccc; border-radius: 3px; /*padding: 3px;*/ padding: 0.5rem 0.625rem; } textarea { width: 100%; } /* Posts and pages --------------------------------------------- */ .updated:not(.published) { display: none; } /* Comments --------------------------------------------- */ /* Widgets --------------------------------------------- */ .widget { margin: 0 0 1.5em; } /* Media --------------------------------------------- */ /* Captions --------------------------------------------- */ .wp-caption { margin-bottom: 1.5em; max-width: 100%; border: 1px solid #cccccc; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { /*margin: 0.8075em 0;*/ padding: 1.25rem; } .wp-caption-text { text-align: center; } /* Galleries --------------------------------------------- */ .gallery { margin-top: 3em; margin-bottom: 1em; display: grid; grid-gap: 1em; } .gallery-item { display: inline-block; text-align: center; width: 100%; } .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); } .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); } .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); } .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); } .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); } .gallery-columns-7 { grid-template-columns: repeat(7, 1fr); } .gallery-columns-8 { grid-template-columns: repeat(8, 1fr); } .gallery-columns-9 { grid-template-columns: repeat(9, 1fr); } .gallery-caption { display: block; } /*-------------------------------------------------------------- # Plugins --------------------------------------------------------------*/ /* Jetpack infinite scroll --------------------------------------------- */ /*-------------------------------------------------------------- # Utilities --------------------------------------------------------------*/ /* Accessibility --------------------------------------------- */ /* Text meant only for screen readers. */ .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; } /* Accessibility --------------------------------------------- */ /* Text meant only for screen readers. */ .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; } /* Do not show the outline on the skip link target. */ #primary[tabindex="-1"]:focus { outline: 0; } /* Alignments --------------------------------------------- */ .alignleft { /*rtl:ignore*/ float: left; /*rtl:ignore*/ margin-right: 1.5em; margin-bottom: 1.5em; } .alignright { float: right; margin: auto; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; } /* ================== theme custom css start ===================*/ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap'); html{ scroll-behavior: smooth; } *{ margin: 0; padding: 0; box-sizing: border-box; } body{ font-family: 'Montserrat', sans-serif; } a{ text-decoration: none; color: #000; } li{ list-style: none; } .mppt-100{ padding-top: 100px; padding-bottom: 100px; } .mb-25{ margin-bottom: 25px; } .mb-20{ margin-bottom: 20px; } .wp-main-header{ position: relative; } .wp-main-header .wp-topbar-menu { width: 100%; padding: 10px 0; } .wp-main-header .wp-topbar-menu ul{ margin-bottom: 0; padding-left: 0; } .wp-main-header .wp-topbar-menu ul li{ display: inline-block; margin-right: 20px; font-weight: 500; } .wp-main-header .wp-topbar-menu ul li a{ position: relative; font-size: 15px; color: #383838; transition: all 0.3s; } .wp-main-header .wp-topbar-menu ul li span { font-size: 15px; color: #383838; transition: all 0.3s; } .wp-main-header .wp-topbar-menu ul.menu li a:after{ content: ''; position: absolute; height: 15px; width: 2px; margin-right: -10px; background-color: #281090; top: 3px; right: 0; margin-right: -12px; } .wp-main-header .wp-topbar-menu .topbar-right ul li{ width: 30px; height: 30px; margin-right: 5px; line-height: 29px; text-align: center; } .wp-main-header .wp-topbar-menu .topbar-right ul li a{ display: block; color: #fff; background-color: #281090; transition: all 0.5s; border-radius: 50%; } .wp-main-header .navbar-area{ position: relative; width: 100% !important; background: #281090; } .wp-main-header .magcity-site-naming-wrapper{ width: 100%; padding: 20px 0; margin-bottom: 10px; } .wp-main-header .magcity-site-naming-wrapper p{ color: #4d4d4d; font-size: 16px; font-weight: 700; line-height: 1.3; margin: 0; padding: 0; transition: all .25s ease-out; } .wp-main-header .magcity-site-naming-wrapper a{ font-size: 48px; color: #000; font-weight: 700; } .wp-main-header .navbar{ padding: 10px 0; } @media screen and (min-width: 991px) { .wp-main-header .navbar-nav .page_item, .wp-main-header .navbar-nav .menu-item{ margin: 0 15px; transition: all 0.5s; } } .wp-main-header .navbar-nav .page_item a, .wp-main-header .navbar-nav .menu-item a{ position: relative; font-size: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: all 0.5s; font-family: 'Montserrat', sans-serif; } .wp-main-header .navbar-nav .current_page_item a, .wp-main-header .navbar-nav .current-menu-item a { color: #c1a0a0 !important; } .wp-main-header .navbar-nav .page_item .children, .wp-main-header .navbar-nav .menu-item .sub-menu { margin: 10px auto; background-color: #fff; border-radius: 0; border:none; padding: 0; box-shadow: 0 0 25px rgba(24,24,24,.3); transition: all 0.5s; } @media screen and (min-width: 991px) { .wp-main-header .navbar-nav .page_item:hover .children, .wp-main-header .navbar-nav .menu-item:hover .sub-menu{ display: block; } .wp-main-header .navbar-nav .page_item .children, .wp-main-header .navbar-nav .menu-item .sub-menu { width: 200px; } } /*================================= Navbar Area ====================================*/ .navbar-area { position: relative; } /* Main nav */ .main-nav { position: inherit; background: linear-gradient(to right, #5856d5 0%, #ff1d5b 100%) !important; z-index: inherit; padding: 0; width: 100%; height: auto; } .main-nav nav .navbar-nav .page_item:hover a, .main-nav nav .navbar-nav .menu-item:hover a { color: #fff !important; } .main-nav nav .navbar-nav .page_item a, .main-nav nav .navbar-nav .menu-item a { text-transform: capitalize; font-weight: 500; margin-left: 12px; margin-right: 12px; } .main-nav nav .navbar-nav .page_item a:hover, .main-nav nav .navbar-nav .page_item a :focus, .main-nav nav .navbar-nav .menu-item a:hover, .main-nav nav .navbar-nav .menu-item a :focus { color: #fff !important; } .main-nav nav .navbar-nav .page_item .children, .main-nav nav .navbar-nav .menu-item .sub-menu { border: none; padding: 0; border-radius: 0; background-color: #ffffff !important; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); } .main-nav nav .navbar-nav .page_item .children li, .main-nav nav .navbar-nav .menu-item .sub-menu li { border-bottom: 1px solid rgb(131 131 131 / 0.3); margin: 0 auto; width: 100%; } .main-nav nav .navbar-nav .page_item .children li:hover>a, .main-nav nav .navbar-nav .menu-item .sub-menu li:hover>a { background-color: #1f1f1f; color: #fff !important; } .main-nav nav .navbar-nav .page_item .children li:last-child, .main-nav nav .navbar-nav .menu-item .sub-menu li:last-child { border-bottom: none; width: 100%; } .main-nav nav .navbar-nav .page_item .children li a, .main-nav nav .navbar-nav .menu-item .sub-menu li a { text-transform: capitalize; color: #1f1f1f !important; position: relative; -webkit-transition:all 0.3s; transition: all 0.3s; font-size: 15px; font-weight: 600; padding: 15px 22px; } .main-nav nav .navbar-nav .page_item .children li a:hover, .main-nav nav .navbar-nav .page_item .children li a :focus, .main-nav nav .navbar-nav .page_item .children li a .active, .main-nav nav .navbar-nav .menu-item .sub-menu li a:hover, .main-nav nav .navbar-nav .menu-item .sub-menu li a :focus, .main-nav nav .navbar-nav .menu-item .sub-menu li a .active { color: #fff !important; background-color: #1f1f1f; } .main-nav nav .navbar-nav .page_item .children li .children, .main-nav nav .navbar-nav .menu-item .sub-menu li .sub-menu { left: 100%; margin-top: -58px !important; position: absolute; } @-webkit-keyframes stickyAnimate { 0% { opacity: 0; -webkit-transform: translateY(-2000px); transform: translateY(-2000px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } } @keyframes stickyAnimate { 0% { opacity: 0; -webkit-transform: translateY(-2000px); -ms-transform: translateY(-2000px); transform: translateY(-2000px); } 100% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } } .sticky-nav { top: 0; position: fixed; -webkit-animation: stickyAnimate; animation: stickyAnimate; -webkit-animation-duration: 0.6s; animation-duration: 0.6s; width: 100% !important; z-index: 999; } .sticky-nav .main-nav { top: 0; background-color: #000; position: fixed; z-index: 9999; padding: 0 !important; -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); } .sticky-nav .navbar { padding: 5px 0 !important; } .sticky-nav .sub-menu { margin: 5px 0 !important; } /*================================= Navbar Area End ====================================*/ .wp-main-section .blog-meta{ display: flex; align-items: center; padding-left: 0; } .wp-main-section .sidebar-left { padding: 30px 40px 15px 0px; } .wp-main-section .blog-meta li img{ margin-right: 10px; border-radius: 50px; box-shadow: 0 5px 15px 5px rgba(0, 33, 85, .1); } .wp-main-section .blog-meta li a{ font-size: 14px; font-family: 'Montserrat', sans-serif; transition: all 0.3s; } .wp-main-section .blog-meta li i{ margin-left: 15px; margin-right: 2px; color: #281090; font-size: 15px; } .wp-main-section .blog-wrap .image-part{ position: relative; } .wp-main-section .blog-wrap .image-part img{ width: 100%; height: auto; } .wp-main-section .blog-wrap .content-part { -ms-word-wrap: break-word; word-wrap: break-word; } .wp-main-section .blog-wrap .content { position: relative; } .wp-main-section .blog-wrap .content-part .category-name{ margin: 25px 0 10px 0; line-height: 3.3; } .wp-main-section .blog-wrap .content-part .category-name a{ margin-right: 4px; border: 1px solid #281090; width: 100px; text-align: center; padding: 10px; margin-bottom: 10px; background-color: #281090; color: #fff; } .wp-main-section .blog-wrap .content-part .title{ position: relative; } .wp-main-section .blog-wrap .content-part .title:after{ bottom: -57px; content: ""; display: inline-block; height: 85px; left: -39px; position: absolute; width: 3px; } .pagination .page-numbers a:hover{ text-decoration: none; } .wp-main-section .blog-wrap .content-part .read-more i{ transition: all 0.5s; font-size: 15px; position: relative; top: 0px; left: 2px; } .wp-main-section .blog-wrap .content-part .read-more{ color: #281090; letter-spacing: 1px; transition: all 0.5s; font-weight: 600; } .wp-main-section .blog-wrap .content-part .read-more:hover i{ margin-left: 6px; } .wp-main-section .blog-wrap .content-part .title a:hover{ text-decoration: underline; color: #281090; } .wp-main-section .blog-wrap .content-part h3 a{ font-size: 22px; color: #000; font-weight: 700; transition: all 0.5s; } .wp-main-section .widget-area .widget_search .wp-block-search__label, .wp-main-section .widget-area h2, .wp-main-section .sidebar .sidebar-title .title { position: relative; color: #1c1b1b; font-size: 22px; text-transform: uppercase; line-height: 26px; font-weight: 600; z-index: 1; margin: 0px; margin-bottom: 20px; font-size: 22px; border-left: 3px solid #281090; padding-left: 9px; } .wp-main-section .pagination { display: -ms-flexbox; display: flex; padding-left: 0; margin-top: 50px; list-style: none; border-radius: .25rem; justify-content: left; } .wp-main-section .pagination nav{ display: block; } .wp-main-section .pagination div.page-numbers { border: none; padding: 0; } .wp-main-section .pagination .page-numbers { position: relative; color: #14212b; display: flex; border: 1px solid #dddddd; padding: 8px 16px; margin-right: 15px; transition: all 0.5s; } .wp-main-section .pagination ul.page-numbers{ border:none; padding: 0; } .wp-main-section .pagination ul>.current { background: #281090; z-index: 1; color: #ffffff; border-color: #281090; } /* === footer css start ==== */ .footer-section { background: #101010; } .footer-section .footer-top { padding-top: 100px; } .footer-section .widget_block h2, .footer-section .widget_search .wp-block-search .wp-block-search__label, .footer-section .footer-top .widget-title { position: relative; font-size: 22px; font-weight: 600; position: relative; padding-left: 23px; margin-bottom: 40px; padding: 0; color: #ffffff; text-transform: uppercase; line-height: 26px; border-left: 3px solid #ab98fd; padding-left: 9px; } .footer-section .wp-block-audio audio { min-width: 200px; } .footer-section .footer-top ul { padding: 0; margin: 0; } .footer-section .wp-block-calendar caption, .footer-section .wp-block-calendar table th, .footer-section .wp-block-calendar table td{ color: #fff; } .footer-section .widget_recent_comments .wp-block-latest-comments li, .footer-section .footer-top ul li { list-style: none; color: #ffffff; font-size: 16px; } .footer-section .footer-top ul li a { position: relative; color: #fff; transition: all 0.4s; font-size: 15px; padding-left: 18px; margin-bottom: 10px; } .footer-section .copyright-footer { background-color: #1f1f1f; padding: 20px 0; margin-top: 50px; } .footer-section .copyright-footer p, .footer-section .copyright-footer a { color: #ffffff; margin-bottom: 0; display: contents; } .footer-section .copyright-text{ margin-left: 5px; } /*================================= 404 Error page css End ===================================*/ /*== comment-form css start ===*/ .comment-form { margin: 0 auto 0; } /*================================ comment-form css end =================================*/ .wp-main-section .blog-wrap .post-tags { clear: both; margin-top: 50px; margin-bottom: -15px; padding-bottom: 13px; } .wp-main-section .blog-wrap .post-tags a { display: inline-block; margin-right: 5px; margin-bottom: 8px; padding: 10px 12px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: #1f1f1f; -webkit-transition: .3s; -moz-transition: .3s; -ms-transition: .3s; -o-transition: .3s; transition: .3s; } .wp-main-section .blog-wrap .post-navigation { overflow: hidden; padding: 5px; } .wp-main-section .blog-wrap .post-navigation .post-prev { width: 50%; border-right: 1px solid #929292; float: left; } .wp-main-section .blog-wrap .post-navigation a i{ transition: all 0.5s; } .wp-main-section .blog-wrap .post-navigation .post-prev a:hover i{ transform: translateX(-5px); } .wp-main-section .blog-wrap .post-navigation .post-next a:hover i{ transform: translateX(5px); } .wp-main-section .blog-wrap .post-navigation .post-prev a, .post-navigation .post-next a{ transition: all 0.3s; } .wp-main-section .blog-wrap .post-navigation .post-prev a:hover, .post-navigation .post-next a:hover{ color: #281090; } .wp-main-section .blog-wrap .post-prev .postnav-image, .wp-main-section .blog-wrap .post-next .postnav-image { position: relative; float: left; overflow: hidden; width: 80px; height: 80px; border-radius: 100%; } .wp-main-section .blog-wrap .post-prev i{ position: absolute; z-index: 3; left: 34%; font-size: 28px; line-height: 80px; font-weight: 900; color: #fff; } .wp-main-section .blog-wrap .post-next i{ position: absolute; z-index: 3; left: 42%; font-size: 28px; line-height: 80px; font-weight: 900; color: #fff; } .wp-main-section .blog-wrap .postnav-image img { width: 100%; } .wp-main-section .blog-wrap .size-thumbnail { max-width: 100%; height: auto; vertical-align: middle; border: 0; } .wp-main-section .blog-wrap .prev-post-title { float: left; width: 160px; padding-left: 20px; } .wp-main-section .blog-wrap .post-navigation h6 { margin: 5px 0; font-weight: 600; } .wp-main-section .blog-wrap .post-next { float: right; } .next-post-title { float: left; width: 160px; padding-right: 20px; text-align: right; } .wp-main-section .blog-wrap .post-next .postnav-image { float: right; } .wp-main-section .blog-wrap .size-thumbnail { max-width: 100%; height: auto; vertical-align: middle; border: 0; } .wp-main-section .blog-wrap .overlay { position: absolute; z-index: 2; top: 0; width: 100%; height: 100%; background: #000000; opacity: .5; pointer-events: none; } .wp-main-section .blog-wrap .prev-post-title span, .wp-main-section .blog-wrap .next-post-title span{ color: #838383; } /* Go to top btn css start*/ #goToTopBtn { display: none; position: fixed; bottom: 20px; right: 30px; z-index: 99; border: none; outline: none; background-color: #281090; color: #fff; cursor: pointer; padding: 8px 15px; border-radius: 0px; font-size: 21px; transition: all 0.5s; } #goToTopBtn:hover { background-color: #000; } .navigation-top { background: #fff; border-bottom: 1px solid #eee; border-top: 1px solid #eee; font-size: 16px; font-size: 1rem; position: relative; } .navigation-top .wrap { max-width: 1000px; padding: 0; } .navigation-top a { color: #222; font-weight: 600; -webkit-transition: color 0.2s; transition: color 0.2s; } .navigation-top .current-menu-item > a, .navigation-top .current_page_item > a { color: #767676; } .main-navigation { display: flex; flex: auto; justify-content: flex-end; } .main-navigation ul.nav-menu > li > .submenu-toggle { top: 2px; color: #fff; } .main-navigation ul.nav-menu > li > a { padding-top: 2px; padding-bottom: 2px; text-decoration: none; color: #fff; font-size: 14px; } /*====================== MAIN NAVIGATION ======================*/ .site-header{ padding: 20px 0; } .site-header .nav-wrap { border-top: 1px solid #f2f2f2; } .main-navigation .toggle-button { display: none; } .main-navigation ul { margin: 0; padding: 0; list-style: none; text-align: center; } .main-navigation ul li { font-size: 0.95em; letter-spacing: 1px; display: inline-block; vertical-align: middle; position: relative; margin-bottom: 0; font-weight: 700; } .main-navigation ul li{ padding: 0 20px; } .main-navigation ul li a { color: #fff; padding: 15px 0px; display: inline-block; } /*.main-navigation ul li a:hover { color: #000; }*/ .main-navigation ul ul li.menu-item-has-children > a { padding-right: 30px; } /*.main-navigation ul li:hover > a, .main-navigation ul li:hover > .submenu-toggle,*/ .main-navigation ul li.current-menu-item > a, .main-navigation ul li.current_page_item > a, /*.main-navigation ul li.current-menu-item > .submenu-toggle, .main-navigation ul li.current_page_item > .submenu-toggle,*/ .main-navigation ul li.current_page_ancestor > a /*.main-navigation ul li.current_page_ancestor > .submenu-toggle*/ { border-bottom: 2px solid #FFFFFF; } .main-navigation ul li:focus > a, .main-navigation ul li.current-menu-item > a, .main-navigation ul li.current_page_item > a { border-bottom: 2px solid #FFFFFF; } /*.main-navigation ul li a:hover { color: #000; }*/ @media screen and (min-width: 1025px) { .main-navigation .primary-menu-list, .main-navigation ul ul { display: block !important; } .primary-menu-list .close { display: none; } .main-navigation ul li .submenu-toggle, .main-navigation ul li .submenu-toggle:focus { pointer-events: none; outline: none; } } .main-navigation ul ul { position: absolute; top: 110%; left: 0; text-align: left; width: 230px; z-index: 99; opacity: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-transition: all ease 0.35s; -moz-transition: all ease 0.35s; transition: all ease 0.35s; } .main-navigation ul li:hover > ul, .main-navigation ul li.focused > ul { top: 100%; opacity: 1; filter: alpha(opacity=100); clip: unset; box-shadow: 0px 10px 10px 0px #888888; } .main-navigation ul ul ul { left: 110%; top: 0; padding-left: 3px; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focused > ul { top: 0; left: 100%; } .main-navigation ul.nav-menu li ul:before, .main-navigation ul.nav-menu li ul:after { content: ""; border-bottom: 8px solid rgba(0,0,0,0.1); border-left: 8px solid transparent; border-right: 8px solid transparent; position: absolute; top: -9px; left: 20px; } .main-navigation .nav-menu ul li ul:before, .main-navigation .nav-menu ul li ul:after { content: ""; border-bottom: 8px solid rgba(0,0,0,0.1); border-left: 8px solid transparent; border-right: 8px solid transparent; position: absolute; top: -9px; left: 20px; } .main-navigation ul.nav-menu li ul:after { border-bottom-color: #fff; top: 0px; } .main-navigation .nav-menu ul li ul:after { border-bottom-color: #fff; top: -7px; } .main-navigation ul.nav-menu ul ul:before, .main-navigation ul.nav-menu ul ul:after { display: none; } .main-navigation .nav-menu ul ul ul:before, .main-navigation .nav-menu ul ul ul:after { display: none; } .main-navigation ul ul li { display: block; background: #ffffff; font-size: 14px; font-weight: 600; letter-spacing: 0; margin-left: -3px; } .main-navigation ul ul li a { /*border: 1px solid rgba(0,0,0,0.1);*/ width: 100%; color: #000; } .main-navigation ul ul li:hover > a, .main-navigation ul ul li.current-menu-item > a, .main-navigation ul ul li.current_page_item > a { color: #281090; } .main-navigation ul ul li:focus > a, .main-navigation ul ul li.current-menu-item > a, .main-navigation ul ul li.current_page_item > a { color: #281090; } .main-navigation ul li .submenu-toggle { font-size: 10px; position: absolute; top: 17px; right: 2px; cursor: pointer; display: block; width: 20px; height: 20px; line-height: 20px; text-align: center; background: none; color: inherit; padding: 0; border: none; } .main-navigation ul ul li .submenu-toggle { right: 10px; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); transform: rotate(-90deg); } .main-navigation { order: 2; display: flex; flex: auto; justify-content: center; } .main-navigation ul li a { text-decoration: none; } .main-navigation ul ul li a { padding-top: 15px; padding-bottom: 15px; text-decoration: none; } .main-navigation ul li .submenu-toggle { color: #fff; } .main-navigation ul ul li .submenu-toggle { top: 17px; color: #000; } @media screen and (max-width: 992px) { /*===================== MAIN NAVIGATION =====================*/ .main-navigation { position: relative; margin-left: -2%; margin-right: -2%; } .main-navigation .toggle-button { display: block; background: none; padding: 0 0 0 60px; width: auto; height: 50px; position: relative; border: none; color: #000; text-align: left; } .main-navigation .toggle-button:hover { color: #f15641; } .main-navigation .toggle-button .toggle-bar { background: #fff; height: 3px; width: 30px; position: absolute; top: 0; bottom: 0; left: 15px; margin: auto; -webkit-transition: all ease 0.35s; -moz-transition: all ease 0.35s; transition: all ease 0.35s; } .main-navigation .toggle-button .toggle-text + .toggle-bar { top: -15px; } .main-navigation .toggle-button .toggle-bar:last-child { top: 15px; } .main-navigation .toggle-button:hover .toggle-bar { background: #fff; } .main-navigation .close { color: inherit; position: absolute; top: 55px; right: 15px; width: 35px; border: none; height: 35px; background: #f5f5f5; z-index: 9999999; cursor: pointer; -webkit-transition: all ease 0.35s; -moz-transition: all ease 0.35s; transition: all ease 0.35s; } .main-navigation.menu-toggled .close { left: 20px; opacity: 1; filter: alpha(opacity=100); visibility: visible; } .main-navigation .close:hover { background: #281090; } .main-navigation .close::before, .main-navigation .close::after { content: ""; background: #000; width: 20px; height: 3px; position: absolute; top: 0; right: 0; left: 0; bottom: 0; margin: auto; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); transform: rotate(45deg); -webkit-transition: all ease 0.35s; -moz-transition: all ease 0.35s; transition: all ease 0.35s; } .main-navigation .close::after { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); transform: rotate(-45deg); } .main-navigation .close:hover::before, .main-navigation .close:hover::after { background: #fff; } .main-navigation .primary-menu-list { position: fixed; top: 0; left: 0; background: #fff; z-index: 999999; overflow: auto; padding-top: 80px; box-shadow: 0px 30px 40px -15px rgba(0,0,0,0.3); text-align: left; width: 320px; height: 100%; overflow: auto; display: none; } .main-navigation .mobile-menu { width: 100%; } .main-navigation .primary-menu-list ul { text-align: left; } .main-navigation .primary-menu-list ul li a { color: #000; } .main-navigation ul li { display: block; } .main-navigation ul li a { display: block; border-bottom: 1px solid rgba(0,0,0,0.1); color: #000; } .main-navigation ul li.menu-item-has-children > a { padding-right: 30px; } .main-navigation ul ul { display: none; position: static; width: 100%; opacity: 1; visibility: visible; padding-left: 0; padding-right: 0; background: rgba(0,0,0,0.03); -webkit-transition: none; -moz-transition: none; transition: none; } .main-navigation ul.nav-menu > li > ul::before, .main-navigation ul.nav-menu > li > ul::after { display: none; } .main-navigation .nav-menu ul > li > ul::before, .main-navigation .nav-menu ul > li > ul::after { display: none; } .main-navigation ul ul li { background: none; margin-top: 0; } .main-navigation ul li .submenu-toggle { right: 10px; color: #000; -webkit-transition: all ease 0.35s; -moz-transition: all ease 0.35s; transition: all ease 0.35s; } .main-navigation ul ul li .submenu-toggle { -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); transform: rotate(0deg); } .main-navigation ul li.active > .submenu-toggle { -webkit-transform: rotate(-180deg); -moz-transform: rotate(-180deg); transform: rotate(-180deg); } .main-navigation ul ul li a { border-width: 0 0 1px 0; color: #000; } /*========================== STICKY HEADER ==========================*/ .main-navigation .toggle-button::before { display: none; } .main-navigation ul.nav-menu > li > .submenu-toggle { top: 17px; color: #000; } .submenu-toggle .fa{ font-size: 14px; color: #281090; } .main-navigation ul.nav-menu > li > a { padding-top: 15px; padding-bottom: 15px; } /*========================= HEADER LAYOUT THREE =========================*/ .search-wrap { flex: initial; order: 2; } .main-navigation { order: 3; margin: 0; float: right; } .main-navigation .toggle-button::before { display: none; } /*========================== HEADER LAYOUT FOUR ==========================*/ .main-navigation .toggle-button::before { display: none; } .main-navigation ul li:hover > ul, .main-navigation ul li.focused > ul{ box-shadow: none; } } @media (max-width: 768px) { .main-navigation .toggle-button { position:relative !important; top: 0px !important; right: 0px !important; } } /* 404 Error page */ .error-page-section { background: #fff; height: auto; padding: 75px 0; } .error-page-section .container { height: 100%; } .error-page-inner { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; text-align: center; height: 100%; } .error-page-inner h1 { width: 100%; font-size: 195px; color: #281090; line-height: 245px; } .error-page-inner h3 { font-size: 50px; color: #1f1f1f; padding-bottom: 25px; margin: 0px; } .error-page-inner p { color: #1f1f1f; font-size: 20px; margin-top: 25px; letter-spacing: 1px; } .error-page-inner .btn-back{ position: relative; color: #fff; padding: 15px 35px; border: 2px solid #281090; transition: all 0.5s; background: #281090; border-radius: 0px; margin-top: 25px; margin-right: 15px; transition: all 0.5s; } .error-page-inner .btn-back:hover{ background: #000000; border: 2px solid #000000; color: #fff; } .error-page-inner .btn-back i{ position: relative; top: 3px; font-size: 19px; } /*custom*/ .blog-box { background-color: #ffffff; margin-bottom: 30px; } .blog-box .posts-thumb { overflow: hidden; position: relative; -ms-flex-preferred-size: 35%; flex-basis: 35%; max-width: 35%; } .blog-box .posts-content { -ms-flex-preferred-size: 65%; flex-basis: 65%; max-width: 65%; padding: 20px 30px; } .align-self-stretch { align-self: stretch!important; } .blog-box .posts-thumb a .fullimage { position: absolute; top: 0; left: 0; height: 100%; width: 100%; -webkit-transition: .5s ease; transition: .5s ease; overflow: hidden; background-size: cover; background-position: center center; background-repeat: no-repeat; } .blog-box .posts-thumb::after { content: ""; position: absolute; bottom: -200%; left: -200%; height: 200%; width: 200%; background-color: rgba(255, 255, 255, 0.1); -webkit-transition: .8s ease; transition: .8s ease; -webkit-transform: rotate(45deg); transform: rotate(45deg); z-index: 2; } .blog-box .posts-content .title { font-size: 22px; line-height: 1.5; margin-bottom: 15px; margin-top: 10px; } .blog-box .posts-content .posts-meta { margin-bottom: 15px; } .blog-box .posts-content p { margin-bottom: 20px; } .blog-box .posts-content .read-more-btn { display: inline-block; position: relative; color: #281090; } .blog-box .posts-content .read-more-btn span { opacity: 0; visibility: hidden; -webkit-transition: 0.5s; transition: 0.5s; } .blog-box .posts-content .read-more-btn i { position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); background-color: #281090; color: #ffffff; width: 30px; height: 30px; text-align: center; line-height: 30px; border-radius: 50%; -webkit-transition: 0.5s; transition: 0.5s; } .blog-box:hover .read-more-btn span, .blog-box:focus .read-more-btn span { opacity: 1; visibility: visible; padding-right: 7px; } .blog-box:hover .read-more-btn i, .blog-box:focus .read-more-btn i { left: 100%; width: 25px; height: 25px; line-height: 25px; } .blog-box:hover .posts-thumb::after, .blog-box:focus .posts-thumb::after { bottom: 160%; left: 160%; -webkit-transition: .9s ease; transition: .9s ease; } .blog-box .posts-thumb img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; -webkit-transition: .5s ease; transition: .5s ease; overflow: hidden; background-size: cover; background-position: center center; background-repeat: no-repeat; } .blog-box:hover .posts-thumb img, .blog-box:focus .posts-thumb img { -webkit-transform: scale(1.2) rotate(1deg); transform: scale(1.2) rotate(1deg); } /* 404 Error page css End */