/*! Theme Name: Skill Newspaper Theme Theme URI: https://skillsurface.com/newspaper-wordpress-theme-urdu-english Author: SkillSurface Author URI: https://stylothemes.com Description: Urdu Newspaper Theme for WordPress Version: 1.2 License: GPL Text Domain: skill-newspaper-theme Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Margins & Paddings # Header ## Links ## Menus # Accessibility # Alignments # Clearings # Widgets # Content ## Posts and pages ## Comments # Infinite scroll # Media ## Captions ## Galleries #Footer --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Normalize --------------------------------------------------------------*/ /* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* 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; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * 1. Remove the bottom border in Chrome 57- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ text-decoration: underline dotted; /* 2 */ } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* 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; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ [type="checkbox"], [type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } /** * Add the correct display in IE 10. */ [hidden] { display: none; } /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ body, button, input, select, optgroup, textarea { color: #404040; font-family: sans-serif; font-size: 20px; font-size: 2rem; line-height: 1.5; font-family: 'Lateef', cursive; direction: rtl; } h1, h2, h3, h4, h5, h6 { clear: both; font-family: 'Mirza', cursive; font-weight: normal; direction: rtl; } p { margin-bottom: 1.5em; direction: rtl; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ html { box-sizing: border-box; direction: rtl; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #ededed; direction: rtl; /* Fallback for when there is no custom background color defined. */ } .site { margin: 20px; background: transparent; } .akhbaar-box { background: #fff; box-shadow: 0px 0px 3px #f0f0f0; padding: 1.2em 1.5em; } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 0 1.5em 3em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } figure { margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ } table { margin: 0 0 1.5em; width: 100%; } @media screen and (max-width: 500px) { .site { margin: 5px; } .akhbaar-box { padding: 10px; } } @media screen and (max-width: 768px) { body { padding-top: 60px; } } @media screen and (max-width: 1200px) { .container { width: 100%; } } @media (min-width: 1300px) { .container { width: 1270px; } .main-navigation.stickynav { max-width: 1240px; } } @media (min-width: 1400px) { .container { width: 1370px; } .main-navigation.stickynav { max-width: 1340px; } } @media (min-width: 1500px) { .container { width: 1470px; } .main-navigation.stickynav { max-width: 1440px; } } @media (min-width: 1600px) { .container { width: 1570px; } .main-navigation.stickynav { max-width: 1540px; } } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #222222; background: #333333; color: #fff; padding: 10px 20px; font-size: 22px; border-radius: 10px; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border: none; } button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus { border: none; outline: none; } 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; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { color: #111; outline: none; } select { border: 1px solid #ccc; } textarea { width: 100%; } /*-------------------------------------------------------------- # Margins and Paddings --------------------------------------------------------------*/ .pl-0 {padding-left: 0 !important} .pr-0 {padding-right: 0 !important} .pt-0 {padding-top: 0 !important} .pb-0 {padding-bottom: 0 !important} .pl-5 {padding-left: 5px !important} .pr-5 {padding-right: 5px !important} .pt-5 {padding-top: 5px !important} .pb-5 {padding-bottom: 5px !important} .pl-10 {padding-left: 10px !important} .pr-10 {padding-right: 10px !important} .pt-10 {padding-top: 10px !important} .pb-10 {padding-bottom: 10px !important} .pl-15 {padding-left: 15px !important} .pr-15 {padding-right: 15px !important} .pt-15 {padding-top: 15px !important} .pb-15 {padding-bottom: 15px !important} .pl-20 {padding-left: 20px !important} .pr-20 {padding-right: 20px !important} .pt-20 {padding-top: 20px !important} .pb-20 {padding-bottom: 20px !important} .ml-0 {margin-left: 0 !important} .mr-0 {margin-right: 0 !important} .mt-0 {margin-top: 0 !important} .mb-0 {margin-bottom: 0 !important} .ml-5 {margin-left: 5px !important} .mr-5 {margin-right: 5px !important} .mt-5 {margin-top: 5px !important} .mb-5 {margin-bottom: 5px !important} .ml-10 {margin-left: 10px !important} .mr-10 {margin-right: 10px !important} .mt-10 {margin-top: 10px !important} .mb-10 {margin-bottom: 10px !important} .ml-20 {margin-left: 20px !important} .mr-20 {margin-right: 20px !important} .mt-20 {margin-top: 20px !important} .mb-20 {margin-bottom: 20px !important} @media all and (max-width: 990px) { .pl-sm-0 {padding-left: 0 !important} .pr-sm-0 {padding-right: 0 !important} .pt-sm-0 {padding-top: 0 !important} .pb-sm-0 {padding-bottom: 0 !important} } @media all and (max-width: 768px) { .pl-xs-0 {padding-left: 0 !important} .pr-xs-0 {padding-right: 0 !important} .pt-xs-0 {padding-top: 0 !important} .pb-xs-0 {padding-bottom: 0 !important} } /*-------------------------------------------------------------- # Header --------------------------------------------------------------*/ .site-header { padding: 0; } .header-meta-row { background-color: #c62633; } .header-mobile .header-meta-row { margin-bottom: 10px; } .site-branding, .site-branding-mobile { text-align: center; padding: 15px 5px; } .site-branding-mobile { position: fixed; top: 0; right: 0; width: 100%; height: 60px; background: #fff; z-index: 9999999; overflow: hidden; } .site-branding .header-logo a, .site-branding-mobile .header-logo a { display: inline-block; max-width: 300px; } .site-branding a img, .site-branding-mobile img { width: 100%; } .site-branding-mobile img { max-width: 120px; } .openSideBar, .openShare, .openSearch { position: relative; padding: 15px 20px; font-size: 28px; cursor: pointer; background: rgba(255, 255, 255, 0.7); line-height: 1.5; z-index: 9999; color: #666666; max-width: 65px; transition: 0.5s all; } .mobile-nav-btoggle a { font-size: 28px; color: #333333; } .openSideBar { position: relative; display: none; } .openSearch { position: absolute; left: 0; top: 0; height: 100%; background: #222222; color: #fff; line-height: 1.5; } .site-branding-mobile .openSearch { position: relative; left: auto; right: 0; background: transparent; color: #333333; } .openSideBar:hover, .openShare:hover { color: #000000; } .openSearch:hover { color: #fff; background-color: #c8232e; } .shareBox { position: fixed; top: 90px; left: 35px; padding: 5px; display: none; z-index: 999; } .sharing-box, .upress-social-icons { margin: 0; padding: 0; list-style: none; direction: ltr; } .upress-sharing { margin: 10px 0; } .upress-social-sharing { margin: 0; padding: 0; list-style: none; direction: rtl; display: flex; flex-wrap: wrap; } .upress-social-sharing li { flex: 1; min-width: 250px; text-align: center; margin-bottom: 10px; } .upress-social-sharing li a { display: inline-block; width: 97%; height: 50px; line-height: 50px; position: relative; background-color: #f0f0f0; color: #fff; transition: 0.5s all; } .upress-social-sharing li a:hover { transform: scale(1.1,1.1); z-index: 99; } .upress-social-sharing li a .btn-icon, .upress-social-sharing li a .btn-txt { height: 100%; display: inline-block; } .upress-social-sharing li a .btn-icon { width: 55px; text-align: center; position: absolute; right: 0; top: 0; } .upress-social-sharing li a .btn-icon i { position: relative; top: 3px; } .upress-social-sharing li a .btn-txt { width: 100%; font-size: 24px; } .sharing-box li { margin-bottom: 5px; } .upress-social-sharing li a.fb { background-color: #4469b0; } .upress-social-sharing li a.fb .btn-icon { background-color: #365896; } .upress-social-sharing li a.tw { background-color: #55acee; } .upress-social-sharing li a.tw .btn-icon { background-color: #438ec7; } .upress-social-sharing li a.gp { background-color: #dc4e41; } .upress-social-sharing li a.gp .btn-icon { background-color: #b34238; } .upress-social-sharing li a.wa { background-color: #00ab6b; } .upress-social-sharing li a.wa .btn-icon { background-color: #048b5a; } .sharing-box li a { display: inline-block; width: 40px; height: 40px; font-size: 24px; line-height: 43px; border: 2px solid #666666; color: #666666; text-align: center; border-radius: 10px; } .upress-social-icons { text-align: center; } .upress-social-icons li { display: inline-block; margin: 0 10px; } .upress-social-icons li a { display: inline-block; width: 30px; height: 30px; font-size: 16px; line-height: 34px; color: #666666; text-align: center; } .upress-social-icons li .fb:hover {color:#3c5a96; border-color: #3c5a96} .upress-social-icons li .tw:hover {color:#59adeb; border-color: #59adeb} .upress-social-icons li .gp:hover {color:#e54d42; border-color: #e54d42} .upress-social-icons li .pt:hover {color:#c8232e; border-color: #c8232e} .upress-social-icons li .yt:hover {color:#a82716; border-color: #a82716} .upress-social-icons li .insta:hover {color:#80522d; border-color: #80522d} .sidenav-inner { padding: 20px; } .sidenav .closebtn { position: absolute; top: 15px; left: 25px; font-size: 36px; } .search-box { position: relative; top: 0; left: 0; width: 100%; background: #f8f8f8; padding: 10px; z-index: 999999; display: none; } .mobile-search-box { position: fixed; top: 60px; right: 0; width: 100%; height: 100%; background: #ededed; padding: 30px; display: none; z-index: 999999; } #closeSearchBox { width: 50px; height: 52px; background: #cd0e17; color: #fff; display: inline-block; text-align: center; line-height: 64px; font-size: 35px; border-radius: 10px; } .search-container { width: 92%; } .search-container .search-form { width: 100%; } .search-container .search-form label { width: 80%; } .search-container .search-form label input { width: 100%; padding: 10px 15px !important; border: 1px solid #ccc; background: #ddd; color: #333333 !important; font-family: 'Lateef', cursive !important; font-size: 20px !important; } .search-container .search-form label img { display: none; } .search-container-mobile, .search-container-mobile .search-form label { width: 100%; } .search-container .search-submit { width: 19%; } .ajax-search-results { padding: 0px 20px; } .ajax-search-results a { font-size: 28px; display: inline-block; width: 100%; margin-bottom: 5px; clear: both; padding-right: 50px; } .ajax-search-results a:first-child { margin-top: 15px; } .header-meta-container { display: flex; } .header-meta-container .english-date, .header-meta-container .hijri-date, .header-meta-container .social-icons { flex: 1; padding: 10px 20px; color: #ffffff; } .header-meta-container .hijri-date { font-family: "Nastaleeq", Lateef; font-size: 18px; word-spacing: 5px; } .header-meta-container .hijri-date span { display: inline-block; } .header-meta-row .english-date { font-family: "Roboto", sans-serif; font-size: 15px; text-align: left; line-height: 2; } .header-meta-container .news-ticker { flex: 2; padding: 10px 20px; } .ticker_list { margin: 0; padding: 0; list-style: none; text-align: center; position: relative; display: block; width: 100%; height: 100%; } .ticker_list .ticker-icon { font-size: 40px; width: 40px; height: 40px; text-align: center; position: absolute; top: 50%; margin-top: -20px; line-height: 0; color: orange; animation: blinker 1s linear infinite; } @keyframes blinker { 50% { opacity: 0; } } .ticker_list .ticker-icon-before { left: -10px; } .ticker_list .ticker-icon-after { right: -10px; } .ticker_list li { display: none; } .ticker_list li a { font-size: 20px; color: #ffffff; line-height: 1; font-family: "Nastaleeq", Lateef; position: relative; top: 5px; } .actiavtion-notice { direction: ltr; text-align: center; padding: 10px; background-color: #c62633; margin-top: 10px; color: #fff; font-family: "Roboto", sans-serif; } @media screen and (max-width: 768px) { .openSideBar { display: inline-block; } .search-container-mobile, .search-container-mobile .search-form label { width: 100%; } .search-container .search-submit { width: 100%; } .openShare { display: none; } .upress-social-icons li { margin: 0 5px; } .header-meta-container { text-align: center; } .upress-social-sharing li { min-width: auto; } .upress-social-sharing li a .btn-txt { display: none; } .upress-social-sharing li a .btn-icon { width: 100%; position: relative; top: auto; right: auto; } .upress-social-sharing li a .btn-icon i { position: relative; top: 3px; } } @media screen and (max-width: 468px) { .header-meta-container { display: block; } .header-meta-container .english-date, .header-meta-container .hijri-date, .header-meta-container .social-icons { display: block; width: 100%; text-align: center; } } @media screen and (min-width: 1300px) { .upress-social-sharing li { min-width: 190px; } .upress-social-sharing li a { padding-right: 50px; } } /*-------------------------------------------------------------- ## Links --------------------------------------------------------------*/ a { color: #555555; transition: 0.5s all; } a:visited { color: #333333; } a:hover, a:focus, a:active { color: #000000; text-decoration: none; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ .main-navigation { clear: both; display: block; float: none; width: 100%; margin: 0; padding: 0; position: relative; background-color: #333333; } .main-navigation.stickynav { position: fixed; left: 50%; top: 0%; transform: translateX(-50%); z-index: 9999; } .main-navigation ul { display: none; list-style: none; margin: 0; padding: 0; text-align: right; } .main-navigation ul li { float: none; display: inline-block; position: relative; } .main-navigation ul .menu-item-has-children a::after { content: "\f0d7"; font-family: FontAwesome; margin: 0 10px 0 0; font-size: 16px; line-height: 1; position: relative; top: 3px; color: #999999; } .main-navigation ul .menu-item-has-children ul a::after { display: none; } .main-navigation ul li a { display: inline-block; text-decoration: none; font-size: 20px; margin: 0; padding: 15px 20px; color: #fff; } .main-navigation ul li:first-child a { margin-right: 0; } .main-navigation ul li a i { color: #fff; font-size: 20px !important; margin-left: 8px; position: relative; top: 1px; } .main-navigation ul li a .fa { top: 4px; } .main-navigation ul li a:hover, .main-navigation ul li a:hover i, .main-navigation ul .current-menu-item a { color: #fff; background-color: #c8232e; } .main-navigation ul li a:hover i { background: transparent; } .main-navigation ul ul { box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); border-top: 1px solid #ccc; background: #fff; float: right; position: absolute; top: 100%; right: -999em; z-index: 99999; padding: 0; margin-top: 0px; } .main-navigation ul ul li { padding: 5px 0; border-bottom: 1px dashed #f0f0f0; } .main-navigation ul ul li:last-child { border: none; } .main-navigation ul ul li a { color: #333333; padding: 10px 20px; } .main-navigation ul ul ul { right: -999em; top: 0; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { right: 100%; } .main-navigation ul ul a { width: 200px; } .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { right: auto; } /* Small menu. */ .menu-toggle, .main-navigation.toggled ul { display: block; } .menu-toggle { margin: 0; width: 100%; padding: 5px 10px; } /* The side navigation menu */ .sidenav { width: 0%; /* 0 width - change this with JavaScript */ height: 100%; position: fixed; /* Stay in place */ z-index: 999999; /* Stay on top */ top: 60px; /* Stay at the top */ right: 0; background-color: #ededed; /* Black*/ overflow-x: hidden; /* Disable horizontal scroll */ padding-top: 0px; /* Place content 60px from the top */ transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */ } .sidenav.active { width: 100%; padding: 30px; } .sidenav ul { margin: 0; padding: 0; list-style: none; } .sidenav ul .sub-menu { padding-right: 50px; border-right: 1px solid #ccc; } .sidenav ul li { display: inline-block; width: 100%; } .sidenav ul li a { padding: 10px; border-bottom: 1px solid #ccc; width: 100%; min-height: 40px; display: inline-block; } .sidenav ul ul li a { margin-right: -50px; padding-right: 50px; } .sidenav ul li a span { margin-right: 10px; font-size: 26px; } @media screen and (min-width: 37.5em) { .menu-toggle { display: none; } .main-navigation ul { display: block; padding-left: 60px; } } @media screen and (max-width: 768px) { } @media screen and (max-width: 500px) { .main-navigation { border: none; } .main-navigation ul { padding: 0; width: 100%; } .main-navigation ul li { display: block; width: 50%; float: right; text-align: right; padding: 5px; border-bottom: 1px solid #f0f0f0; } .main-navigation ul li a { width: 100%; text-align: center; color: #333; padding: 5px; font-size: 18px; } .main-navigation ul li a i { font-size: 20px !important; } .main-navigation ul .sub-menu { display: none; } .main-navigation ul .menu-item-has-children a::after { display: none; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 50%; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 50%; } /*-------------------------------------------------------------- # 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ } .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: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- # Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ *, :after, :before { box-sizing: border-box; text-decoration: inherit; vertical-align: inherit; font-family: inherit; font-size: inherit; font-style: inherit; line-height: inherit; margin: 0; padding: 0; } .widget { margin: 0 0 1.5em; /* Make sure select elements fit in widgets. */ } .header-banner .widget, .header-banner .widget p { margin: 0 !important; } .widget-title { padding-bottom: 10px; margin: 0; position: relative; } .widget-title:before { position: absolute; background-color: #999999; content: ""; height: 2px; bottom: 0; right: 15px; left: 0; z-index: 1; } .widget-title:after { background-color: #999999; bottom: 12px; content: ""; height: 2px; right: -2px; position: absolute; transform-origin: bottom; transform: rotate(120deg); width: 25px; z-index: 1; } .widget-title span { margin-right: 20px; } .widget .widget-content { padding: 10px; border-left: 2px solid #999999; } .widget select { max-width: 100%; } .widget ul, .widget ol { margin: 0; padding: 0; list-style: none; } .widget ul li, .widget ol li { font-size: 24px; } .widget_media_image img { width: 100%; } .home-sidebar .widget_search label, .home-sidebar .widget_search .search-field, .home-sidebar .widget_search .search-submit, .page-sidebar .widget_search label, .page-sidebar .widget_search .search-field, .page-sidebar .widget_search .search-submit { width: 100%; } .home-sidebar .widget_search .search-field, .page-sidebar .widget_search .search-field { padding: 10px; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ .home-posts-inner { padding: 10px 0; } .home-banner-col { padding-top: 50px; } .embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .featured-post { position: relative; height: 290px; overflow: hidden; } .featured-post .post-info, .featured-post .post-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; text-align: center; } .featured-post .post-info { z-index: 999; } .featured-post .post-background { z-index: 99; background-position: center center; background-size: cover; background-repeat: no-repeat; transition: 1s all; } .featured-post:hover .post-background { transform: scale(1.5); -moz-transform: scale(1.5); -webkit-transform: scale(1.5); -o-transform: scale(1.5); -ms-transform: scale(1.5); /* IE 9 */ -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1.5, M12=0, M21=0, M22=1.5, SizingMethod='auto expand')"; /* IE8 */ filter: progid:DXImageTransform.Microsoft.Matrix(M11=1.5, M12=0, M21=0, M22=1.5, SizingMethod='auto expand'); /* IE6 and 7 */ } .featured-post .post-info { background: rgba(0,0,0,0.3); } .featured-post .post-info:hover { background: rgba(0,0,0,0.6); } .featured-post .post-info .post-title { position: absolute; bottom: 60px; left: 0; width: 100%; display: inline-block; padding: 15px; color: #fff; font-size: 30px; text-shadow: 0px 0px 5px #000000; transition: 0.5s all; } .featured-post:hover .post-info .post-title { font-size: 38px; } .featured-post .post-info .post-meta { position: absolute; bottom: 30px; left: 0; width: 100%; color: #fff; text-shadow: 0px 0px 5px #000000; transition: 0.5s all; font-size: 20px; } .featured-post .post-info .post-meta i { font-size: 0px; position: relative; top: 1px; } .featured-post:hover .post-info .post-meta { font-size: 24px; } .featured-post:hover .post-info .post-meta i { font-size: 14px; } .featured-post:nth-child(5) { display: none; } @media screen and (max-width: 768px) { .featured-post .post-info .post-meta { font-size: 22px; } .featured-post .post-info .post-meta i { font-size: 14px; } .grid-post-col, .home-posts-col, .single-post-content { padding-left: 0; } .single-sidebar { padding-right: 0 !important; width: 100%; } } @media screen and (min-width: 1300px) { .featured-post:nth-child(5){ display: block; } .featured-post.col-lg-3 { width: 20%; } } @media screen and (min-width: 1400px) { .home-sidebar.col-lg-4, .page-sidebar.col-lg-4, .single-sidebar.col-lg-4 { width: 24.4%; } .home-posts-col.col-lg-8, .site-main.col-lg-8, .single-post-content.col-lg-8 { width: 75.5%; } } /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .hentry { margin: 0 0 1.5em; } .updated:not(.published) { display: none; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; font-size: 24px; } .entry-featured-image { text-align: center; } .entry-featured-image img { width: 100%; } .entry-title { font-size: 42px; margin-top: 30px; } .page-title { font-size: 42px; margin-top: 0; } .entry-title .far { font-size: 36px; } .entry-excerpt { font-size: 20px; } .entry-meta { font-size: 20px; direction: rtl; text-align: right; margin-top: 15px; color: #777777; } .entry-meta .fas { font-size: 16px; color: #666666; position: relative; top: 3px; } .page-links { clear: both; margin: 0 0 1.5em; } .read-more-btn { margin-top: 50px; } .read-more-btn-small { text-align: center; } .read-more-btn a, .read-more-btn-small a { padding: 5px 30px; color: #666666; font-size: 24px; border: 2px solid #666666; border-radius: 10px; font-family: 'Amiri', serif; } .read-more-btn-small a { font-size: 18px; padding: 5px 20px; margin-left: 10px; } .read-more-btn a .fas, .read-more-btn-small a .fas { position: relative; top: 5px; } .read-more-btn a:hover, .read-more-btn-small a:hover { color: #fff; background: #333333; border: 2px solid #222222; } .sepDiv { width: 90%; height: 3px; background: #ededed; margin: 80px auto; position: relative; } .sepDiv:before { content: ""; position: absolute; left: 0; height: 13px; width: 13px; background: #ededed; top: -5px; -webkit-transform: rotateZ(45deg); -moz-transform: rotateZ(45deg); -ms-transform: rotateZ(45deg); -o-transform: rotateZ(45deg); transform: rotateZ(45deg); } .sepDiv:after { content: ""; position: absolute; right: 0; height: 13px; width: 13px; background: #ededed; top: -5px; -webkit-transform: rotateZ(45deg); -moz-transform: rotateZ(45deg); -ms-transform: rotateZ(45deg); -o-transform: rotateZ(45deg); transform: rotateZ(45deg); } .cat-block-head { height: 60px; background-color: #333333; } .block-head-title, .block-head-more { height: 100%; line-height: 60px; color: #ffffff; font-size: 30px; font-family: "Amiri", serif; padding: 0 15px; } .block-head-more { background-color: #c42837; } .block-head-more a { display: inline-block; height: 98%; width: auto; color: #fff; font-size: 24px; } .block-head-more a span { display: inline-block; } .block-head-more a .more-text { position: relative; top: -5px; } .cat-block-body { padding: 15px; background-color: #f8f8f8; } .cat-block-body .post-content-row { padding: 10px; background-color: #ffffff; border: 1px solid #f0f0ff; } .cat-block-body .post-content-row .post-title h2 { margin: 10px 0 0 0; text-align: center; } .cat-block-body .post-content-row .post-title h3 { font-size: 18px !important; } .cat-block-body .post-content-row .post-thumbail img { width: 100%; } .cat-block-body .post-content-row .entry-meta { text-align: center; padding: 5px; border: 1px solid #f0f0f0; } .cat-block-body .post-content-row .entry-meta .posted-on { float: none !important; } .cat-block-body .post-content-row .post-excerpt { font-family: "Nastaleeq", Lateef, serif; font-size: 18px; line-height: 2; text-align: center; padding: 10px 0; } .post-navigation .next-post, .post-navigation .prev-post { position: relative; height: 250px; background-size: cover; background-repeat: no-repeat; background-position: center center; } .post-navigation .overlay { width: 100%; height: 100%; display: block; background: rgba(255,255,255,0.6); text-align: center; position: absolute; top: 0; left: 0; } .post-navigation .overlay:hover { background: rgba(255,255,255,0.3); } .post-navigation .prev-post .overlay { border-left: 2px solid #333333; } .post-navigation .next-post .overlay { border-right: 2px solid #333333; } .post-navigation .navigation-label { margin-top: 30px; display: inline-block; padding: 5px 20px; background: #333333; color: #fff; border-radius: 10px; font-size: 26px; } .post-navigation .navigation-label i { position: relative; top: 6px; } .post-navigation .navigation-title { display: inline-block; width: 80%; margin: 20px auto 0 auto; clear: both; padding: 10px 20px; background-color: rgba(205, 14, 23, 0.8); border-radius: 10px; font-size: 26px; color: #fff; } .wpac-buttons-container, .wpac-reactions-container, .wpac-vs-bar-container { direction: ltr; } .wpac-vs-bar-container { padding: 0 10px; } .english-page .site-main, .english-page .entry-content, .english-page .entry-content p, .english-page .entry-content h1, .english-page .entry-content h2, .english-page .entry-content h3, .english-page .entry-content h4, .english-page .entry-content h5, .english-page .entry-content h6 { direction: ltr !important; font-family: "Roboto", serif !important; } .english-page .entry-content p { font-size: 16px !important; } .en-full-width .entry-title, .ur-full-width .entry-title { text-align: center !important; } @media screen and (min-width: 1400px) { .more-post-col .post-content-row:last-child { display: none; } .cat-block-body .post-content-row .post-title h3 { font-size: 24px !important; } } @media screen and (max-width: 1399px) { .cat-block-body .post-content-row .post-title h3 { margin-top: 0px; } } @media screen and (max-width: 1200px) { .more-post-col { padding-right: 0 !important; } .firs-post-col { margin-bottom: 10px; } .cat-block-body .post-content-row .post-title h3 { font-size: 28px !important; margin-top: 10px; } } @media screen and (max-width: 768px) { .cat-block-body .post-content-row .post-title h3 { font-size: 20px !important; margin: 5px 0 0 0; } } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comments-area { max-width: 768px; margin: 0 auto; } .comment-content a { word-wrap: break-word; } .comment-list { padding: 0; list-style: none; margin-left: 0; } .comment-list .children { margin-left: 0; list-style: none; margin-right: 50px; } .comment-list li { margin-bottom: 10px; } .comment-list li article { padding: 15px; border:2px solid #f0f0f0; margin-bottom: 10px; border-radius: 10px; position: relative; } .comment-reply-link { position: absolute; top: 10px; left: 20px; } .comment-reply-link i { font-size: 13px; position: relative; top: 3px; } .comment-author.vcard { margin-right: -45px; } .comment-author img { border-radius: 50%; border: 2px solid #f0f0f0; padding: 5px; background: #fff; } .comment-author .says { display: none; } .comment-metadata { font-size: 16px; position: absolute; top: 15px; left: 120px; } .comment-content { margin-top: 10px; } .comment-content p { margin-bottom: 10px; } .comment-metadata { font-size: 16px; } .bypostauthor { display: block; } .comment-form { margin-top: 30px; } .comment-form-field { margin-bottom: 10px; } .comment-form-field img { display: none; } .comment-form-field label, .comment-form-field input, .comment-form .submit { width: 100%; clear: both; } .comment-form-field input, .comment-form-field textarea, .comment-form .submit { padding: 10px; font-size: 22px !important; background: #ededed; } .email-field { direction: ltr; } .comment-form .submit { background: #333333; color: #fff; padding: 10px; } /*-------------------------------------------------------------- # Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { display: block; } .pagination { padding: 10px; background: #fff; border-radius: 10px; text-align: center; width: 100%; } .pagination ul { margin:0; padding: 0; list-style: none; text-align: center; } .pagination ul li { display: inline-block; margin:0 5px; } .pagination ul li a, .pagination ul li .current { display: inline-block; padding: 5px; width: 45px; height: 45px; text-align: center; font-size: 18px; line-height: 33px; color: #333333; background: transparent; border: 2px solid #333333; border-radius: 5px; font-family: "Roboto", sans-serif; } .pagination ul li .current, .pagination ul li a:hover { background: #222; color: #fff; } .pagination ul li a.next, .pagination ul li a.prev { width: auto; padding-left: 15px; padding-right: 15px; } @media screen and (max-width: 768px){ .pagination ul li { margin: 0 2px; } .pagination ul li a, .pagination ul li .current { width: 25px; height: 25px; font-size: 14px; line-height: 13px; } } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /* Make sure logo link wraps around logo image. */ .custom-logo-link { display: inline-block; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; } /*-------------------------------------------------------------- # Footer --------------------------------------------------------------*/ .site-footer { margin-top: 50px; } .site-info { font-size: 22px; } .footer-nav { margin-bottom: 30px; } .footer-nav ul { display: block; width: 100%; list-style: none; margin: 0; padding: 0; } .footer-nav ul li { display: inline-block; padding: 0 15px; border-left: 1px dashed #ccc; line-height: 1; } .footer-nav ul li:last-child { border: none; } #scrollup{ width: 50px; height: 45px; position: fixed; bottom: 35px; right: 35px; z-index: 999999; background: rgba(0,0,0,0.8); color: #fff; text-align: center; font-size: 25px; border-radius: 5px; line-height: 50px; cursor: pointer; display: none; }