File: /www/wwwroot/njmuedu.com/wp-content/themes/blogrank-pro/scss/style.scss
/*
Theme Name: BlogRank Pro
Theme URI: https://wpenjoy.com/themes/blogrank-pro
Author: WPEnjoy
Author URI: https://wpenjoy.com
Description: BlogRank Pro is a responsive & mobile friendly WordPress theme for content-based blogs and websites. It provides a magnificent showcase for your content, perfect for personal bloggers and content creators. Theme Demo: https://demo.wpenjoy.com/blogrank-pro
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 6.2
Requires at least: 4.9
Requires PHP: 5.6
Text Domain: blogrank-pro
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, sticky-post, theme-options, threaded-comments, translation-ready
*/
/*--------------------------------------------------------------
0. Reset
--------------------------------------------------------------*/
$accent-1: #0099e5;
$bg-color: #e6ecfe;
$border-color: #9eb4db;
$primary-color: #1d3994;
.one-line,
.two-lines,
.three-lines,
.four-lines {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.one-line {
-webkit-line-clamp: 1;
}
.two-lines {
-webkit-line-clamp: 2;
}
.three-lines {
-webkit-line-clamp: 3;
}
.four-lines {
-webkit-line-clamp: 4;
}
html {
-webkit-text-size-adjust: 100%;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
word-wrap: break-word;
}
body {
line-height: 1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section,main {
display: block;
}
nav ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
a {
margin: 0;
padding: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
ins {
color: #333;
text-decoration: none;
}
mark {
background-color: #ff9;
color: #333;
font-style: italic;
font-weight: bold;
}
del {
text-decoration: line-through;
}
abbr[title], dfn[title] {
border-bottom: 1px dotted;
cursor: help;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #eee;
margin: 1em 0;
padding: 0;
}
input, select {
vertical-align: middle;
}
sup {
top: -.5em;
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
.no-list-style {
list-style: none;
margin: 0;
padding: 0;
}
figure > img {
display: block;
}
img {
height: auto;
max-width: 100%;
}
img[class*="align"],
img[class*="attachment-"] {
height: auto;
}
embed,
iframe,
object {
max-width: 100%;
width: 100%;
}
/*--------------------------------------------------------------
# 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;
right: 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;
}
/* Skip Link --------------------------------- */
.skip-link {
left: -9999rem;
top: 2.5rem;
z-index: 999999999;
text-decoration: underline;
}
.skip-link:focus {
display: block;
left: 6px;
top: 7px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
line-height: normal;
padding: 15px 23px 14px;
z-index: 100000;
right: auto;
}
/*--------------------------------------------------------------
# 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%;
}
/*--------------------------------------------------------------
## 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.5075em 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;
}
/*--------------------------------------------------------------
1. Defaults
--------------------------------------------------------------*/
h1,h2,h3,h4,h5,h6 {
color: #333;
font-weight: bold;
}
strong,
b {
font-weight: bold;
}
input,
textarea,
select {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
input,
textarea {
-webkit-appearance: none;
}
input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="tel"],
textarea {
font-size: 15px;
font-weight: normal;
background-color: #fff;
border: 1px solid #e9e9e9;
color: #333;
&:focus {
border-color: #bfbfbf;
}
}
input[type="file"] {
-webkit-box-shadow: none;
box-shadow: none;
}
textarea {
padding: 10px 15px;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="tel"] {
height: 42px;
line-height: 42px;
padding: 0 15px;
}
button,
.btn,
input[type="submit"],
input[type="reset"],
input[type="button"] {
border: none;
padding: 0 15px;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
color: #fff;
font-size: 16px;
font-weight: bold;
height: 42px;
line-height: 42px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-appearance: none;
-webkit-backface-visibility: hidden;
}
button:hover,
.btn:hover,
.btn:visited,
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
color: #fff;
opacity: 0.85;
text-decoration: none;
}
button:focus,
textarea:focus {
}
table {
color: #333333;
border-width: 1px;
border-color: #e9e9e9;
border-collapse: collapse;
width: 100%;
}
table th {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #e6e6e6;
background-color: #f0f0f0;
}
table tr:hover td {
background-color: #f9f9f9;
}
table td {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #e6e6e6;
background-color: #ffffff;
}
.alignleft {
float: left;
margin: 0 20px 20px 0;
}
.alignright {
float: right;
margin: 0 0 20px 20px;
}
.aligncenter {
display: block;
margin: 0 auto;
text-align: center;
clear: both;
}
.alignnone {
display: block;
}
/* Clear Floats */
.clear:before,
.clear:after {
content: "";
display: table;
}
.clear:after {
clear: both;
}
.clear {
clear: both;
}
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute;
}
.sticky,
.bypostauthor {
background: inherit;
color: inherit;
}
/* CSS3 Effects */
.box-shadow {
box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px;
-webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px;
}
body {
background: #fff;
color: #333;
font-style: normal;
font-size: 16px;
font-weight: 400;
line-height: 1.7em;
}
a {
text-decoration: none;
&:hover {
text-decoration: none;
}
&:visited {
color: #333;
}
&:active,
&:focus {
}
}
.container {
margin: 0 auto;
width: 1200px;
}
/* =Genericons, thanks to FontSquirrel.com for conversion!
-------------------------------------------------------------- */
@font-face {
font-family: 'Genericons';
src: url('genericons/font/genericons-regular-webfont.eot');
src: url('genericons/font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('genericons/font/genericons-regular-webfont.woff') format('woff'),
url('genericons/font/genericons-regular-webfont.ttf') format('truetype'),
url('genericons/font/genericons-regular-webfont.svg#genericonsregular') format('svg');
font-weight: normal;
font-style: normal;
}
/* Genericons */
.bypostauthor > article .fn:before,
.comment-edit-link:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.comment-list .children li:before,
.contributor-posts-link:before,
.menu-toggle:before,
.search-toggle:before,
.slider-direction-nav a:before,
.widget_wpenjoy_ephemera .widget-title:before {
-webkit-font-smoothing: antialiased;
display: inline-block;
font: normal 16px/1 Genericons;
text-decoration: inherit;
vertical-align: text-bottom;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#masthead {
.container {
position: relative;
}
}
.wp-custom-header {
position: absolute;
top: 0;
height: 66px;
width: 100%;
overflow: hidden;
text-align: center;
img {
margin: 0 auto;
width: 100%;
height: auto;
}
}
.site-header {
background-color: #fff;
border-bottom: 1px solid #f0f0f0;
width: 100%;
top: 0;
z-index: 999;
margin-bottom: 20px;
}
/*--------------------------------------------------------------
2.1 Logo
--------------------------------------------------------------*/
.site-branding {
float: left;
text-align: left;
margin-right: 10px;
#logo {
float: left;
height: 60px;
line-height: 60px;
margin-right: 10px;
}
img {
max-height: 60px;
width: auto;
transition: none;
}
}
.site-title-desc {
float: left;
margin-right: 10px;
}
.site-title {
font-size: 28px;
font-weight: bold;
line-height: 60px;
a {
color: #333;
display: block;
&:visited {
color: #333;
}
&:hover {
text-decoration: none;
}
}
&.no-desc {
margin: 0;
line-height: 75px;
}
}
.site-description {
display: none;
color: #999;
font-size: 12px;
}
.admin-bar .site-header {
top: 32px;
}
@media (max-width: 782px) {
.admin-bar .site-header {
top: 46px;
}
}
.search-icon {
display: none;
position: absolute;
top: 0;
right: 0;
z-index: 999;
&:hover {
cursor: pointer;
}
span {
color: #333;
font-size: 22px;
font-weight: bold;
vertical-align: middle;
}
.genericon-search.active {
display: none;
}
.genericon-close {
display: none;
}
.genericon-close.active {
display: inline-block;
}
}
.search-input {
background: #fff;
border: 1px solid #ddd;
height: 38px;
line-height: 38px;
color: #333;
text-indent: 5px;
&:focus {
background-color: #fff;
border-color: #bfbfbf;
}
}
.search-submit {
border-left: none;
color: #999;
font-size: 15px;
font-weight: 700;
height: 38px;
line-height: 1;
cursor: pointer;
text-align: center;
vertical-align: middle;
}
/* Header Search */
.header-search {
border: 1px solid #e9e9e9;
line-height: 1;
width: 200px;
height: 34px;
position: absolute;
top: 13px;
right: 0;
z-index: 2;
&:hover {
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
.search-submit {
background-color: #f5f5f5;
}
}
.search-input {
background: transparent;
border: none;
color: #333;
font-size: 14px;
width: 90%;
height: 32px;
line-height: 32px;
padding: 0 15px 0 10px;
&:focus {
outline: none;
}
}
.search-submit {
background-color: #f7f8f9;
border-left: 1px solid #e9e9e9;
box-shadow: none;
color: #333;
width: 34px;
height: 32px;
padding: 0;
position: absolute;
top: 0;
right: 0;
text-align: center;
-webkit-backface-visibility: hidden;
.genericon {
font-size: 18px;
}
&:hover {
opacity: 1;
}
}
}
.site-start {
display: block;
width: 100%;
}
/*--------------------------------------------------------------
2.1 Navigation Menu
--------------------------------------------------------------*/
/* Essential Styles */
.sf-menu * {
margin: 0;
padding: 0;
list-style: none;
}
.sf-menu {
margin: 0;
padding: 0;
list-style: none;
li {
position: relative;
&:hover > ul,
&.sfHover > ul {
display: block;
}
}
ul {
position: absolute;
display: none;
top: 100%;
left: 0;
z-index: 99;
ul {
top: 1px;
left: 225px;
}
}
> li {
float: left;
}
a {
display: block;
position: relative;
}
}
/* Theme Navigation Skin */
.sf-menu {
float: left;
ul {
background-color: #fff;
box-shadow: rgba(190, 190, 190, 0.45882) 0px 0 5px;
-webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px;
position: absolute;
z-index: 999;
width: 240px;
padding: 0 15px;
&:before {
content:' ';
display: block;
position: absolute;
width: 7px;
height: 7px;
left: 30px;
top: -7px;
transform: translate(-50%,50%) rotate(45deg);
background-color: #fff;
box-shadow: 0 1px 6px rgba(0,0,0,0.2);
z-index: 1;
}
ul:before {
content: none;
}
}
a {
text-decoration: none;
zoom: 1; /* IE7 */
}
li {
//white-space: nowrap; /* no need for Supersubs plugin */
margin-left: 4px;
line-height: 60px;
a {
color: #333;
font-size: 14px;
font-weight: 700;
transition: 0.3s all;
.menu-text {
border-radius: 3px;
display: inline-block;
height: 34px;
line-height: 34px;
padding: 0 12px;
}
&:hover .menu-text {
background-color: $accent-1;
color: #fff;
}
&:hover {
&.sf-with-ul:after {
color: #fff;
}
}
}
//&.sfHover a,
&.current-menu-item a,
&.current-menu-item a:hover {
.menu-text {
//background-color: $accent-1;
//color: #fff;
}
&.sf-with-ul:after {
//color: #fff;
}
}
.sub-menu li {
.menu-text {
background: none !important;
color: #333;
}
&.sf-with-ul:after {
color: #333 !important;
}
}
li {
height: auto;
line-height: 1.5;
border-bottom: 1px solid #f0f0f0;
margin: 0;
&:first-child {
background-color: #fff;
z-index: 9;
}
&:last-child {
border-bottom: none;
}
a {
background: none !important;
color: #333;
font-size: 14px;
font-weight: normal;
padding: 10px 0;
text-transform: none;
.menu-text {
border-radius: 0;
display: inline;
height: auto;
line-height: 1.5;
padding: 0;
}
&:hover .menu-text {
background-color: transparent;
color: $accent-1 !important;
.menu-text {
}
}
&:before {
content: none;
}
}
ul {
margin-top: -1px;
}
}
}
li:hover,
li.sfHover {
li a {
color: #222;
display: block;
}
}
}
.sf-arrows ul .sf-with-ul:after {
color: #333 !important;
}
.sf-arrows ul li a.sf-with-ul:hover {
&:after {
color: $accent-1 !important;
}
}
/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
//margin-right: 2px;
.menu-text {
padding-right: 23px;
}
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
//content: '';
position: absolute;
top: 50%;
right: 20px;
margin-top: -7px;
height: 0;
width: 0;
content: '\f431';
font: normal 14px/1 'Genericons';
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
//border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
right: 5px;
margin-top: -5px;
margin-right: 0;
content: '\f501';
font: normal 9px/1 'Genericons';
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
//border-left-color: white;
}
/* Primary Menu */
#primary-menu {
float: left;
}
#left-menu {
background-color: $accent-1;
float: none;
z-index: 999;
position: relative;
padding: 10px 0;
&.sf-arrows .sf-with-ul:after {
content: none;
}
&.sf-arrows li li .sf-with-ul {
margin-right: 0;
padding-right: 0;
&:after {
content: '\f501';
top: 19px;
right: 5px;
}
}
li {
float: none;
margin: 0;
padding: 0;
line-height: 1.5;
ul {
left: 100%;
margin-top: -36px;
&:before {
content: none;
display: none;
}
ul {
margin-top: -1px;
left: 225px;
}
}
a {
background-color: $accent-1;
color: #fff;
font-weight: normal;
padding: 8px 15px;
i {
margin-right: 2px;
min-width: 20px;
text-align: center;
}
}
&.current-cat a,
&.current-menu-item a {
&:hover {
}
}
&.sfHover a,
a:hover {
background-image: url('assets/img/overlay.png');
background-repeat: repeat;
color: #fff;
}
li {
a {
background: none !important;
border: none;
color: #111 !important;
display: block;
font-size: 15px;
font-weight: normal;
line-height: 1.5;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
text-transform: none;
}
a:hover {
background: none !important;
color: $accent-1 !important;
}
}
}
}
/*--------------------------------------------------------------
3. Homepage
--------------------------------------------------------------*/
.notice {
background-color: #f0f0f0;
padding: 30px;
text-align: center;
}
.gradient {
background: linear-gradient(to bottom, transparent 0, rgba(0,0,0,0.65) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
bottom: 0;
content: "";
height: 60%;
left: 0;
position: absolute;
width: 100%;
z-index: 2;
}
.entry-title {
font-weight: bold;
line-height: 1.3;
a,
a:visited {
color: #333;
}
a:hover {
text-decoration: none;
}
}
#page {
}
.left-sidebar {
float: left;
width: 200px;
height: 100%;
z-index: 99;
}
.content-wrap {
float: right;
width: 980px;
}
/* Site Content */
.site-content {
position: relative;
padding-bottom: 20px;
}
.page-template-full-width {
.site-content {
&:after {
display: none;
}
}
}
#primary {
float: left;
width: 660px;
}
.site-main {
&:after {
clear: both;
content: " ";
display: block;
}
}
/*--------------------------------------------------------------
3.1 Recent Content
--------------------------------------------------------------*/
#recent-content {
position: relative;
.thumbnail-link {
line-height: 0.8;
}
.widget_media_image,
.widget_custom_html {
line-height: 1;
margin-bottom: 20px;
text-align: center;
.widget-title {
border-bottom: none;
color: #aaa;
font-size: 11px;
font-weight: normal;
margin-bottom: 7px;
padding-bottom: 0;
text-align: center;
}
}
}
.breadcrumbs {
border-bottom: 1px solid #f0f0f0;
position: relative;
margin-bottom: 20px;
padding-bottom: 10px;
h1 {
display: inline-block;
font-size: 1.3em;
line-height: 1;
a,
a:visited {
color: #999;
}
a:hover {
color: #333;
text-decoration: none;
}
}
.taxonomy-description {
color: #999;
display: block;
font-size: 0.95em;
}
}
.breadcrumbs-nav {
color: #999;
font-size: 13px;
line-height: 1.2;
margin-bottom: 10px;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
a,
a:visited {
background: url('assets/img/arrow-right.png') no-repeat right center;
background-size: 7px 7px;
color: #999;
padding-right: 14px;
margin-right: 2px;
&:hover {
color: #333;
}
}
}
.single .breadcrumbs-nav {
border-bottom: 1px solid #f0f0f0;
margin-bottom: 20px;
padding: 0 0 15px 0;
}
.content-loop {
&:after {
clear: both;
content: " ";
display: block;
}
.widget_media_image,
.widget_custom_html {
margin-bottom: 0;
padding: 20px 0;
}
.hentry {
border-bottom: 1px solid #e9e9e9;
position: relative;
margin-bottom: 20px;
padding-bottom: 20px;
&:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
&:after {
clear: both;
content: " ";
display: block;
}
}
.entry-header {
margin-bottom: 10px;
}
.thumbnail-link {
display: block;
float: left;
position: relative;
line-height: 0.5;
text-align: center;
margin: 0 20px 0 0;
width: 220px;
img {
width: 100%;
}
}
.entry-title {
@extend .two-lines;
font-size: 1.4em;
line-height: 1.25;
margin-bottom: 5px;
a {
color: #333;
&:hover {
color: $accent-1;
}
}
}
.entry-meta {
font-size: 13px;
line-height: 1;
}
.entry-category {
margin-right: 10px;
a {
color: #0099e5;
&:hover {
color: #333;
}
}
}
.entry-summary {
//@extend .three-lines;
}
.entry-tags {
margin-top: 20px;
}
.read-more {
a,
a:visited {
color: #999;
font-size: 15px;
text-decoration: underline;
}
a:hover {
color: $accent-1;
}
}
}
.byline {
color: #999;
font-size: 13px;
margin-bottom: 5px;
.entry-author {
font-weight: bold;
margin-right: 8px;
a {
color: #333;
&:hover {
color: $accent-1;
}
}
img {
border-radius: 50%;
display: inline-block;
width: 16px;
margin: 0 4px 0 0;
position: relative;
top: 3px;
}
}
.entry-date {
font-size: 0.95em;
margin-right: 8px;
}
.entry-comment {
font-size: 0.95em;
a {
color: #999;
&:hover {
color: $accent-1;
}
}
i {
font-size: 0.9em;
}
}
}
.entry-meta {
color: #999;
font-size: 13px;
position: relative;
.entry-category {
font-weight: bold;
a {
&:hover {
}
}
}
.entry-author {
a {
color: #999;
}
.avatar {
border-radius: 50%;
float: left;
width: 24px;
height: auto;
margin: 0 8px 0 0;
}
}
.entry-comment {
a,
a:visited {
color: #999;
}
}
.sep {
margin: 0 4px;
}
}
.content-loop {
.hentry {
transition: 0.3s all;
&:hover {
.icon-play {
visibility: visible;
opacity: 1;
}
}
}
}
/*--------------------------------------------------------------
3.3 Pagination
--------------------------------------------------------------*/
.pagination {
border-top: 1px solid #e9e9e9;
width: 100%;
margin-top: 20px;
padding: 30px 0 10px;
text-align: center;
.page-numbers {
background-color: #f0f0f0;
border-radius: 3px;
color: #333;
display: inline-block;
font-size: 0.95em;
height: 34px;
line-height: 34px;
padding: 0 13px;
&.current:hover,
&:hover {
background-color: #e6e6e6;
color: #111;
text-decoration: none;
}
&.dots {
background-color: transparent;
padding: 0;
&:hover {
color: #333;
}
}
}
.prev,
.next {
background-color: #f0f0f0;
padding: 0 17px;
&:hover {
background-color: #e6e6e6;
color: #111;
}
}
.prev {
}
.next {
}
}
/*--------------------------------------------------------------
4. Single Post/Page
--------------------------------------------------------------*/
.page-title {
font-size: 1.6em;
margin-bottom: 25px;
line-height: 1.2;
}
.error404 .site-main {
}
.no-results,
.search-no-results {
.page-content {
}
}
.single #primary article {
.entry-header {
margin: 0 0 15px 0;
.entry-category {
margin-right: 10px;
a {
color: #0099e5;
&:hover {
color: #333;
}
}
}
.entry-share-link {
display: inline-block;
margin-left: 10px;
position: absolute;
cursor: pointer;
top: -1px;
right: 0;
i {
font-size: 12px;
margin-right: 2px;
}
&:hover .entry-share-wrap {
visibility: visible;
opacity: 1;
}
}
.entry-share-text:hover {
color: #333;
}
.entry-share-wrap {
visibility: hidden;
opacity: 0;
position: absolute;
top: 29px;
right: 0;
box-shadow: rgba(190, 190, 190, 0.5) 0px 1px 5px;
-webkit-box-shadow: rgba(190, 190, 190, 0.5) 0px 1px 5px;
transition: 0.3s all;
z-index: 999;
&:before {
content:' ';
display: block;
position: absolute;
width: 8px;
height: 8px;
right: 14px;
top: -8px;
transform: translate(-50%,50%) rotate(45deg);
background-color: #fff;
box-shadow: 0 0 6px rgba(0,0,0,0.2);
z-index: 1;
}
.entry-share-content {
background-color: #fff;
line-height: 1.5;
width: 201px;
padding: 15px 0 15px 15px;
position: relative;
z-index: 99;
}
}
.entry-share {
li a,
li a:hover {
color: #fff;
border-radius: 50%;
text-align: center;
display: inline-block;
vertical-align: middle;
width: 30px;
height: 30px;
line-height: 28px;
margin: 0 1px;
text-decoration: none;
}
.genericon {
font-size: 14px;
vertical-align: middle;
}
ul {
display: inline-block;
}
li {
display: inline-block;
}
li.twitter {
padding-left: 0;
a {
background-color: #55acee;
}
}
li.facebook {
a {
background-color: #3b5998;
}
}
li.linkedin {
a {
background-color: #0077b5;
}
}
li.pinterest {
a {
background-color: #bd081c;
}
}
li.email {
padding-right: 0;
a {
background-color: #4285f4;
}
}
}
}
.entry-footer {
margin: 20px 0;
}
.entry-content {
iframe,
object,
embed,
.wp-video-shortcode {
overflow: hidden;
}
}
}
.error404,
.single,
.page {
.site-main {
position: relative;
.entry-thumbnail {
margin-bottom: 10px;
}
}
h1.entry-title {
font-size: 1.8em;
line-height: 1.16;
display: block;
margin-bottom: 10px;
}
}
.error404 {
.entry-content,
.page-content {
label {
display: inline-block;
}
}
}
.entry-content,
.page-content {
iframe,
video {
aspect-ratio: 16/9;
}
}
/* Author Box */
.author-box {
background-color: #f0f0f0;
border-radius: 3px;
margin-bottom: 20px;
padding: 20px;
.avatar {
border-radius: 50%;
float: left;
width: 72px;
height: auto;
line-height: 0.8;
margin: 0 15px 0 0;
}
.author-meta {
display: table;
.author-name {
font-size: 0.95em;
margin-bottom: 2px;
span {
}
}
.author-desc {
color: #666;
font-size: 0.95em;
a {
text-decoration: underline;
&:hover {
color: #333;
}
}
}
}
}
/* Related Posts */
.entry-related {
h3 {
border-bottom: 1px solid #e9e9e9;
font-size: 1.1em;
margin-bottom: 20px;
padding-bottom: 4px;
padding-left: 15px;
position: relative;
&:before {
background-color: $accent-1;
border-radius: 3px;
content: " ";
width: 5px;
height: 15px;
position: absolute;
left: 0;
top: 6px;
}
}
}
/* Entry Tags */
.entry-tags {
span {
font-size: 13px;
margin-right: 10px;
}
.tag-links a {
background-color: #f0f0f0;
border-radius: 3px;
display: inline-block;
color: #333;
font-size: 13px;
font-weight: bold;
height: 30px;
line-height: 30px;
margin: 0 5px 5px 0;
padding: 0 10px;
position: relative;
&:hover {
background-color: #e6e6e6;
color: #111;
text-decoration: none;
}
}
}
/* Entry Content */
.page-content,
.entry-content {
.wp-post-image {
margin-bottom: 10px;
width: 100%;
}
a {
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 25px;
line-height: 1.35;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 26px;
}
h3 {
font-size: 22px;
}
h4 {
font-size: 18px;
}
h5,h6 {
font-size: 16px;
}
p {
line-height: 1.7;
margin-bottom: 25px;
br {
}
}
ul,
ol {
margin: 0 0 25px 0;
ul,
ol {
margin: 8px 0 0 25px;
}
}
ul li {
list-style: disc inside;
margin: 0 0 10px 0;
position: relative;
ul li {
}
}
ol li {
list-style: inside decimal;
margin: 0 0 10px 0;
}
select {
padding: 0 5px;
&:focus,
&:active {
}
}
dl {
margin-bottom: 20px;
}
fieldset {
border: 1px solid #e9e9e9;
margin: 0 2px 20px 2px;
padding: 0.35em 0.625em 0.75em;
}
input[type="radio"] {
-webkit-appearance: radio;
}
input[type="checkbox"] {
-webkit-appearance: checkbox;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
label {
display: inline-block;
font-weight: bold;
}
table {
margin-bottom: 20px;
}
select {
border: 1px solid #e9e9e9;
font-size: 1em;
height: 2em;
max-width: 100%;
-webkit-appearance: menulist;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"] {
width: 300px;
}
input[type="file"] {
border: none;
}
textarea {
width: 100%;
height: 200px;
}
.wp-caption {
background-color: #f7f7f7;
padding: 0 0 1px 0;
}
.wp-caption-text {
font-size: 13px;
font-style: italic;
color: #999;
}
pre,
.wp-block-preformatted {
background: #222;
color: #fff;
padding: 10px 15px;
margin: 0 0 25px 0;
white-space: pre-wrap;
}
}
blockquote {
color: #999999;
font-size: 18px;
font-style: italic;
padding: 0.25em 50px;
line-height: 1.45;
position: relative;
cite {
color: #333333;
display: block;
margin-top: 10px;
&:before {
content: "\2014 \2009";
}
}
p:last-child {
margin-bottom: 0;
}
}
#primary p,
.widget p {
line-height: 1.7em;
}
/*--------------------------------------------------------------
5. Archive/Search Page
--------------------------------------------------------------*/
.search-no-results {
.content-wrap {
}
.content-loop {
margin-left: 0;
margin-right: 0;
}
.page-title {
font-size: 24px;
margin-bottom: 10px;
}
.no-results {
}
.page-content label,
.entry-content label {
display: inline-block;
}
}
.archive {
.no-results {
.page-content label,
.entry-content label {
display: inline-block;
}
}
}
/*--------------------------------------------------------------
6. Comments
--------------------------------------------------------------*/
.comments-area {
border-top: 1px solid #e9e9e9;
margin-top: 20px;
padding-top: 20px;
}
.comments-title {
font-size: 20px;
margin-bottom: 15px;
}
.comment-reply-title {
font-size: 20px;
margin-bottom: 15px;
}
.comment-list {
border-bottom: 1px solid #f0f0f0;
list-style: none;
margin: 0 0 25px 0;
}
.comment-author {
font-size: 14px;
}
.comment-meta {
margin-bottom: 4px;
}
.comment-list .reply,
.comment-metadata {
font-size: 13px;
}
.comment-list .reply {
margin-top: 10px;
}
.comment-author .fn {
font-weight: bold;
}
.comment-author a {
color: #2b2b2b;
}
.comment-list .trackback,
.comment-list .pingback,
.comment-metadata,
.comment-list .reply {
a,
a:visited {
color: #767676;
}
}
.comment-list .trackback a:hover,
.comment-list .pingback a:hover,
.comment-metadata a:hover,
.comment-list .reply a:hover {
color: #333;
}
.comment-author a {
&:hover {
color: #333;
}
}
.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
margin: 0 0 20px 0;
}
.comment-list > li:first-child > article,
.comment-list > .pingback:first-child,
.comment-list > .trackback:first-child {
border-top: 0;
}
.comment-author {
position: relative;
}
.comment-author .avatar {
border-radius: 50%;
position: absolute;
top: 0;
left: 0;
width: 48px;
height: auto;
}
.bypostauthor > article .fn:before {
color: #fbb034;
content: "\f408";
margin: 0 2px 0 -2px;
position: relative;
top: -1px;
}
.says {
display: none;
}
.comment-author,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply {
padding-left: 64px;
}
.comment-author {
display: inline;
}
.comment-metadata {
display: inline;
margin-left: 7px;
}
.comment-edit-link {
margin-left: 10px;
&:hover {
text-decoration: none;
}
}
#cancel-comment-reply-link:hover {
text-decoration: none;
}
.comment-edit-link:before {
content: "\f411";
}
.comment-reply-link:hover {
text-decoration: none;
}
.comment-reply-link:before,
.comment-reply-login:before {
content: '\f467';
color: #aaa;
margin-right: 2px;
}
.comment-content {
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
word-wrap: break-word;
a {
&:hover {
text-decoration: underline;
}
}
}
.comment-content ul,
.comment-content ol {
margin: 0 0 24px 22px;
}
.comment-content li > ul,
.comment-content li > ol {
margin-bottom: 0;
}
.comment-content > :last-child {
margin-bottom: 0;
}
.comment-list .children {
list-style: none;
margin-left: 64px;
}
.comment-respond {
&:after {
clear: both;
content: " ";
display: block;
}
}
.comment .comment-respond {
margin: 25px 0;
}
.comment-respond h3 {
margin-top: 0;
}
.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.no-comments,
.form-allowed-tags,
.form-allowed-tags code {
color: #767676;
a,
a:visited {
color: #767676;
&:hover {
color: #333;
}
}
}
.comment-notes,
.comment-awaiting-moderation,
.logged-in-as {
font-size: 14px;
margin-bottom: 10px;
}
.comments-area .no-comments {
font-size: 16px;
font-weight: 900;
line-height: 1.5;
margin-top: 24px;
text-transform: uppercase;
}
.comment-form {
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
margin-bottom: 20px;
}
textarea {
width: 100%;
}
.comment-form-author {
float: left;
width: 48.5%;
}
.comment-form-email {
float: right;
width: 48.5%;
}
.comment-form-url {
width: 100%;
clear: left;
}
&:after {
content: '';
display: block;
clear: both;
}
.submit {
font-size: 14px;
padding: 0 25px;
margin-bottom: 10px;
}
}
.comment-form-cookies-consent {
margin: 0 0 20px 0;
}
.comment-form-cookies-consent label {
font-weight: normal !important;
}
.comment-form label {
font-size: 14px;
font-weight: bold;
}
input[type="checkbox"] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
-ms-appearance: checkbox;
-o-appearance: checkbox;
appearance: checkbox;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
width: 100%;
}
.form-allowed-tags,
.form-allowed-tags code {
font-size: 12px;
line-height: 1.5;
}
.required {
color: #c0392b;
}
.comment-reply-title small a {
color: #2b2b2b;
float: right;
height: 24px;
overflow: hidden;
width: 24px;
}
.comment-reply-title small a:before {
content: "\f405";
font-size: 20px;
}
.comment-navigation {
font-size: 12px;
line-height: 2;
margin-bottom: 48px;
text-transform: uppercase;
}
.comment-navigation .nav-next,
.comment-navigation .nav-previous {
display: inline-block;
}
.comment-navigation .nav-previous a {
margin-right: 10px;
}
#comment-nav-above {
margin-top: 36px;
margin-bottom: 0;
}
/*--------------------------------------------------------------
7. Sidebar
--------------------------------------------------------------*/
.sidebar {
float: right;
width: 300px;
&.left-widget-area {
float: none;
width: auto;
margin-top: 20px;
.widget_tabs ul.horizontal li {
width: 50%;
padding: 10px 0;
}
.widget-posts-thumbnail {
.entry-wrap {
color: #333;
font-weight: normal;
position: static;
padding: 10px 0 0 0;
}
.gradient {
display: none;
}
ul > li.post-list {
padding-left: 0;
span {
display: none;
}
}
ul > li {
border-bottom: 1px solid #f0f0f0;
margin-bottom: 10px;
padding-bottom: 10px;
&:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
a:hover .entry-wrap {
color: $accent-1;
}
}
}
}
.widget {
margin-bottom: 20px;
&:last-child {
//margin-bottom: 0;
}
h2,
.widget-title {
border-bottom: 1px solid #e9e9e9;
font-size: 1.1em;
margin-bottom: 15px;
padding-bottom: 4px;
padding-left: 15px;
position: relative;
&:before {
background-color: $accent-1;
border-radius: 3px;
content: " ";
width: 5px;
height: 15px;
position: absolute;
left: 0;
top: 6px;
}
a,
a:visited,
span {
color: #333;
display: inline-block;
}
a:hover {
color: $accent-1;
text-decoration: none;
}
}
a {
color: #333;
&:hover {
color: $accent-1;
}
}
ul {
.children,
.sub-menu {
margin-top: 10px;
}
}
ul > li {
line-height: 1.45;
list-style: none;
margin-bottom: 10px;
a,
a:visited {
color: #333;
}
}
ul li:last-child {
margin-bottom: 0;
}
p {
margin-bottom: 15px;
}
select {
border: 1px solid #e9e9e9;
}
}
.widget_text .textwidget {
a {
text-decoration: underline;
&:hover {
}
}
}
.wp-block-search {
.wp-block-search__inside-wrapper {
display: block;
position: relative;
}
label {
display: none;
}
.wp-block-search__input {
max-width: 100%;
width: 100%;
}
.wp-block-search__button {
line-height: 1;
background-color: $accent-1;
border: none;
box-shadow: none;
color: #fff;
font-size: 0.9em;
height: 42px;
padding: 0 15px;
position: absolute;
top: 0;
right: 0;
-webkit-backface-visibility: hidden;
}
}
.widget_search {
line-height: 1;
width: 100%;
z-index: 2;
position: relative;
&:hover {
border-color: #ddd;
}
&.no-top-menu {
}
input[type="search"] {
background: #fff;
color: #333;
font-size: 14px;
width: 100%;
max-width: 100%;
height: 42px;
line-height: 42px;
padding: 0 15px 0 10px;
&:focus {
}
}
input[type="submit"] {
background-color: $accent-1;
border: none;
box-shadow: none;
color: #fff;
font-size: 0.9em;
height: 42px;
padding: 0 15px;
position: absolute;
top: 20px;
right: 20px;
text-align: center;
-webkit-backface-visibility: hidden;
.genericon {
font-size: 18px;
}
&:hover {
opacity: 1;
}
}
}
.widget_media_image,
.widget_custom_html {
background-color: transparent;
line-height: 1;
padding: 0;
.widget-title {
background-color: transparent;
border-bottom: none;
color: #aaa;
font-size: 11px;
font-weight: normal;
margin-bottom: 7px;
padding-bottom: 0;
text-align: center;
text-transform: none;
span {
border: none;
color: #aaa;
padding: 0;
background-color: transparent;
}
}
img {
}
}
}
/* calendar widget */
#wp-calendar {
width: 100%;
font-size: 12px;
thead th {
background: #f5f5f5;
border: 1px solid #e9e9e9;
border-top: none;
font-size: 12px;
padding: 0;
}
tbody td {
text-align: center;
border: 1px solid #e9e9e9;
line-height: 2.5em;
padding: 0;
transition: background 0.15s ease;
-webkit-transition: background 0.15s ease;
-o-transition: background 0.15s ease;
-moz-transition: background 0.15s ease;
&:hover {
background: #f1f1f1;
color: #333;
a {
background: #4d4d4d;
color: #fff;
}
}
a {
display: block;
text-decoration: none;
background: #f1f1f1;
color: #333;
}
}
tfoot td {
padding-top: 1px;
padding: 4px;
}
caption {
cursor: pointer;
font-size: 13px;
text-transform: uppercase;
margin: 0;
padding: 2px 0;
outline: 0 none ;
background: $accent-1;
color: #fff;
}
tbody a {
display: block;
text-decoration: underline;
}
th {
text-align: center;
border: 1px solid transparent;
border-top: none;
padding: 7px 0;
color: #a7a7a7;
}
}
.wp-calendar-nav {
font-size: 12px;
text-transform: uppercase;
&:after {
content: " ";
clear: both;
display: block;
}
}
.wp-calendar-nav-next {
float: right;
}
/*#footer #wp-calendar thead th {
background: #222;
}
#footer #wp-calendar tbody td {
border-color: #222;
}
*/
/* Posts with Thumbnail Widget */
.site-footer,
.sidebar {
.widget-posts-thumbnail {
ul li {
margin: 0 0 20px 0;
&:after {
content: "";
display: block;
clear: both;
}
}
ul > li {
&:first-child {
line-height: 0.5;
margin-bottom: 12px;
position: relative;
}
&.post-list {
font-size: 15px;
line-height: 1.3;
padding-left: 28px;
position: relative;
&.no-number {
padding-left: 0;
}
&.post-list-0 {
display: none;
}
&:nth-of-type(2) span {
background-color: #ff4c4c;
color: #fff;
}
&:nth-of-type(3) span {
background-color: #ff9900;
color: #fff;
}
&:nth-of-type(4) span {
background-color: $accent-1;
color: #fff;
}
span {
background-color: #f0f0f0;
border-radius: 2px;
display: inline-block;
font-size: 11px;
width: 18px;
height: 18px;
line-height: 18px;
color: #999;
text-align: center;
position: absolute;
left: 0;
top: 2px;
}
}
}
.entry-wrap {
color: #fff;
position: absolute;
bottom: 0;
left: 0;
font-size: 14px;
font-weight: bold;
line-height: 1.3;
width: 100%;
padding: 10px 10px 10px;
z-index: 99;
}
.thumbnail-wrap img {
width: 100%;
}
.entry-meta {
color: #999;
font-size: 13px;
margin-top: 5px;
}
}
}
/* Tag Cloud Widget */
.widget_tag_cloud {
.tagcloud a {
background-color: transparent;
border: 1px solid $accent-1;
border-radius: 2px;
display: inline-block;
color: $accent-1 !important;
font-size: 12px !important;
height: 26px;
line-height: 24px;
margin: 0 3px 5px 0;
padding: 0 10px;
position: relative;
text-decoration: none;
&:hover {
color: #fff !important;
text-decoration: none;
}
}
}
/* Recent Posts Widget */
.widget_recent_entries {
.post-date {
font-size: 13px;
color: #999;
margin-left: 5px;
}
}
/* Categories Widget */
.widget_categories {
ul li {
}
}
/*--------------------------------------------------------------
7. Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
7. Footer
--------------------------------------------------------------*/
.footer-columns {
background: #222;
padding: 30px 0 10px 0;
.section-header {
font-size: 32px;
margin-bottom: 20px;
}
.widget {
margin-bottom: 20px;
padding: 0 10px;
}
}
.grid-wrap {
margin-left: -10px;
margin-right: -10px;
}
.site-footer {
.widget {
color: #fff;
font-size: 0.95em;
line-height: 1.5;
margin-bottom: 20px;
a {
color: $accent-1;
text-decoration: underline;
&:hover {
color: #ff9900;
}
}
.widget-title {
color: #fff;
font-size: 16px;
margin-bottom: 10px;
a {
color: #fff;
text-decoration: none;
&:hover {
color: $accent-1;
}
}
}
p {
color: #fff;
margin-bottom: 15px;
}
ul {
.children,
.sub-menu {
margin-top: 10px;
}
}
ul > li {
line-height: 1.4;
list-style: none;
padding: 0;
margin-bottom: 10px;
a {
color: #fff;
text-decoration: none;
&:hover {
color: $accent-1;
}
}
}
ul li:first-child {
border-top: none;
padding-top: 0;
}
ul li:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
select {
width: 100%;
max-width: 100%;
}
}
.widget-posts-thumbnail {
ul li {
margin-bottom: 15px;
a {
font-size: 14px;
}
}
}
.widget_search {
input[type='search'] {
width: 100%;
margin-bottom: 10px;
}
input[type='submit'] {
width: 100%;
}
}
}
.sidebar,
.site-footer {
.widget_media_gallery {
.gallery {
margin-bottom: 0;
}
.gallery-item {
line-height: 0.5;
}
.wp-caption-text {
line-height: 1.3;
font-size: 0.9em;
margin: 10px 0;
}
}
select {
-webkit-appearance: select;
width: 100%;
max-width: 100%;
padding: 7px 5px;
}
.widget_tabs {
background-color: transparent;
border: none;
padding: 0;
.tabs {
}
ul.horizontal {
background-color: #f0f0f0;
&:after {
clear: both;
content: " ";
display: block;
}
li {
float: left;
margin-bottom: 0;
padding: 8px 13px;
text-align: center;
&:before {
content: none;
}
&.active {
background-color: #e6e6e6;
a {
color: $accent-1;
}
.fa {
color: $accent-1;
}
}
&:last-child {
border-right: none;
}
a {
color: #555;
cursor: pointer;
font-size: 0.7em;
font-weight: normal;
display: block;
text-transform: uppercase;
.fa {
display: block;
font-size: 12px;
margin-bottom: 2px;
}
&:hover {
text-decoration: none;
}
}
}
}
.tab-content {
background-color: #fff;
&:after {
clear: both;
content: " ";
display: block;
}
&.widget-posts-thumbnail {
padding: 15px 0 0 0;
}
li {
display: block;
list-style: none;
margin: 0 0 20px 0;
&:before {
content: none;
}
&:after {
content: "";
display: block;
clear: both;
}
}
.tab-comments {
padding: 15px 0 0 0;
li {
font-size: 13px;
line-height: 1.45;
}
strong {
display: block;
margin-bottom: 5px;
}
span {
color: #999;
display: block;
}
}
.avatar {
float: left;
margin: 0 12px 0 0;
width: 56px;
}
.entry-meta {
margin-top: 5px;
color: #8E99A9;
font-size: 13px;
a {
color: #8E99A9;
&:hover {
color: #333;
}
}
em {
font-style: normal;
padding-left: 1px;
}
}
.tags-wrap {
padding: 15px 0 0 0;
}
.tag-cloud-link {
background-color: #f0f0f0;
border-radius: 3px;
display: inline-block;
color: #333;
font-size: 11px !important;
font-weight: bold;
margin: 0 2px 2px 0;
padding: 4px 8px 4px 8px;
line-height: 1.4;
position: relative;
&:hover {
background-color: #e6e6e6;
color: #111;
text-decoration: none;
}
}
}
}
}
.sidebar {
.widget_media_gallery {
.gallery {
margin-bottom: 0;
}
.gallery-item {
line-height: 0.5;
}
.wp-caption-text {
line-height: 1.3;
font-size: 0.9em;
margin: 10px 0;
}
}
select {
-webkit-appearance: select;
width: 100%;
max-width: 100%;
padding: 7px 5px;
}
}
/* Back to top button */
#back-top {
display: none;
}
#back-top a {
span {
border-radius: 2px;
color: #fff;
display: inline-block;
line-height: 30px;
width: 30px;
position: fixed;
right: 5px;
bottom: 45px;
z-index: 25;
background: #333;
font-size: 20px;
text-align: center;
-webkit-backface-visibility: hidden;
transition: 0.3s all;
z-index: 100;
&:hover {
background-color: $accent-1;
text-decoration: none;
}
}
}
/* Site Bottom */
#site-bottom {
background-color: #222;
border-top: 1px solid #333;
color: rgba(255,255,255,0.6);
font-size: 13px;
padding: 20px 0;
text-align: center;
&.no-footer-widgets {
border-top: none;
}
.site-info {
a {
color: rgba(255,255,255,0.6);
&:hover {
color: $accent-1;
}
}
}
.footer-nav {
margin-bottom: 5px;
li {
display: inline-block;
list-style: none;
line-height: 1;
margin: 0 10px;
&:last-child {
border-right: none;
padding-right: 0;
}
a {
color: rgba(255,255,255,0.6);
&:hover {
color: $accent-1;
}
}
li {
display: none;
}
}
}
}
/*--------------------------------------------------------------
9. Misc.
--------------------------------------------------------------*/
.entry-meta .entry-author,
.entry-meta .entry-comment,
.entry-footer .edit-link,
.entry-tags .edit-link,
.author-box .author-meta .author-name {
a:hover {
color: #333;
text-decoration: underline;
}
}
.full-width {
float: none;
width: 100% !important;
}
/*
Safari Fixes
*/
_::-webkit-full-page-media, _:future, :root {
}
/* Carousel */
/**
* Owl Carousel v2.3.4
* Copyright 2013-2018 David Deutsch
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
*/
/*
* Owl Carousel - Core
*/
.owl-carousel {
//display: none;
width: 100%;
-webkit-tap-highlight-color: transparent;
/* position relative and z-index fix webkit rendering fonts issue */
position: relative;
z-index: 1; }
.owl-carousel .owl-stage {
position: relative;
-ms-touch-action: pan-Y;
touch-action: manipulation;
-moz-backface-visibility: hidden;
/* fix firefox animation glitch */ }
.owl-carousel .owl-stage:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0; }
.owl-carousel .owl-stage-outer {
position: relative;
overflow: hidden;
/* fix for flashing background */
-webkit-transform: translate3d(0px, 0px, 0px); }
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0); }
.owl-carousel .owl-item {
position: relative;
min-height: 1px;
float: left;
-webkit-backface-visibility: hidden;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none; }
.owl-carousel .owl-item img {
display: block;
width: 100%; }
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
display: none; }
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
cursor: pointer;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
background: none;
color: inherit;
border: none;
padding: 0 !important;
font: inherit; }
.owl-carousel.owl-loaded {
display: block; }
.owl-carousel.owl-loading {
opacity: 0;
display: block; }
.owl-carousel.owl-hidden {
opacity: 0; }
.owl-carousel.owl-refresh .owl-item {
visibility: hidden; }
.owl-carousel.owl-drag .owl-item {
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.owl-carousel.owl-grab {
cursor: move;
cursor: grab; }
.owl-carousel.owl-rtl {
direction: rtl; }
.owl-carousel.owl-rtl .owl-item {
float: right; }
/* No Js */
.no-js .owl-carousel {
display: block; }
/*
* Owl Carousel - Animate Plugin
*/
.owl-carousel .animated {
animation-duration: 1000ms;
animation-fill-mode: both; }
.owl-carousel .owl-animated-in {
z-index: 0; }
.owl-carousel .owl-animated-out {
z-index: 1; }
.owl-carousel .fadeOut {
animation-name: fadeOut; }
@keyframes fadeOut {
0% {
opacity: 1; }
100% {
opacity: 0; } }
/*
* Owl Carousel - Auto Height Plugin
*/
.owl-height {
transition: height 500ms ease-in-out; }
/*
* Owl Carousel - Lazy Load Plugin
*/
.owl-carousel .owl-item {
/**
This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
calculation of the height of the owl-item that breaks page layouts
*/ }
.owl-carousel .owl-item .owl-lazy {
opacity: 0;
transition: opacity 400ms ease; }
.owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) {
max-height: 0; }
.owl-carousel .owl-item img.owl-lazy {
transform-style: preserve-3d; }
/*
* Owl Carousel - Video Plugin
*/
.owl-carousel .owl-video-wrapper {
position: relative;
height: 100%;
background: #000; }
.owl-carousel .owl-video-play-icon {
position: absolute;
height: 80px;
width: 80px;
left: 50%;
top: 50%;
margin-left: -40px;
margin-top: -40px;
background: url("assets/img/owl.video.play.png") no-repeat;
cursor: pointer;
z-index: 1;
-webkit-backface-visibility: hidden;
transition: transform 100ms ease; }
.owl-carousel .owl-video-play-icon:hover {
-ms-transform: scale(1.3, 1.3);
transform: scale(1.3, 1.3); }
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
display: none; }
.owl-carousel .owl-video-tn {
opacity: 0;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
transition: opacity 400ms ease; }
.owl-carousel .owl-video-frame {
position: relative;
z-index: 1;
height: 100%;
width: 100%; }
#featured-content {
float: left;
width: 675px;
margin-bottom: 20px;
position: relative;
overflow: hidden;
.owl-carousel {
line-height: 0.5;
overflow: hidden;
li {
display: none;
&:first-child {
display: block;
}
img {
width: 100%;
height: auto;
}
}
}
.owl-carousel,
.thumbnail-link {
overflow: hidden;
}
.entry-category {
position: absolute;
top: 10px;
left: 10px;
}
.owl-carousel {
transition: .3s all;
&:hover {
.owl-nav {
display: block;
}
}
}
.owl-carousel .owl-nav {
position: absolute;
top: 50%;
width: 100%;
margin-top: -16px;
display: none;
button.owl-prev,
button.owl-next {
background-color: rgba(50,50,50, 0.5);
background-size: 12px 12px;
background-position: center center;
background-repeat: no-repeat;
color: #fff;
height: 32px;
width: 24px;
line-height: 32px;
position: absolute;
transition: .3s all;
span {
display: none;
}
&:hover {
background-color: rgba(0,0,0,0.7);
}
&:before {
font-size: 24px;
}
}
button.owl-prev {
background-image: url('assets/img/arrow-left-white.png');
left: 0;
}
button.owl-next {
background-image: url('assets/img/arrow-right-white.png');
right: 0;
}
}
.owl-theme .owl-dots {
text-align: center;
-webkit-tap-highlight-color: transparent;
position: absolute;
right: 14px;
top: -3px;
z-index: 99;
}
.owl-theme .owl-dots .owl-dot {
display: inline-block;
zoom: 1;
*display: inline;
}
.owl-theme .owl-dots .owl-dot span {
width: 6px;
height: 6px;
margin: 0 0 0 4px;
background: rgba(255,255,255,0.4);
display: block;
-webkit-backface-visibility: visible;
transition: opacity 200ms ease;
border-radius: 50%;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
background: #fff;
}
.featured-slide {
position: relative;
&:hover {
box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
img {
width: 100%;
}
.thumbnail-link {
display: block;
}
.entry-header {
position: absolute;
bottom: 15px;
left: 0;
z-index: 99;
width: 100%;
overflow: hidden;
}
.entry-title {
line-height: 1.2;
font-size: 1.4em;
padding: 0 15px;
a {
color: #fff;
display: block;
&:hover {
text-decoration: none;
}
}
}
}
.link-block {
display: block;
width: 100%;
height: 100%;
position: absolute;
z-index: 200;
top: 0;
left: 0;
}
.entry-category {
position: absolute;
top: 10px;
left: 10px;
a {
background-color: #ff9900;
color: #fff;
display: inline-block;
font-size: 11px;
height: 22px;
line-height: 22px;
padding: 0 8px;
-webkit-backface-visibility: hidden;
z-index: 999;
&:hover {
color: #fff;
opacity: 0.8;
text-decoration: none;
}
}
}
}
#featured-grid {
float: left;
width: 300px;
margin-bottom: 20px;
margin-left: 5px;
.hentry {
line-height: 0.5;
position: relative;
margin-bottom: 5px;
&:last-child {
margin-bottom: 0;
}
&:nth-of-type(1) .entry-category a {
background-color: $accent-1;
}
&:nth-of-type(2) .entry-category a {
background-color: #34bf49;
}
}
.thumbnail-link {
display: block;
height: 100%;
img {
width: 100%;
}
}
.entry-header {
position: absolute;
bottom: 0;
padding: 0 15px 10px 15px;
z-index: 99;
}
.entry-title a {
color: #fff;
}
.entry-category {
position: absolute;
top: 10px;
left: 10px;
a {
background-color: $accent-1;
color: #fff;
display: inline-block;
font-size: 11px;
height: 22px;
line-height: 22px;
padding: 0 8px;
-webkit-backface-visibility: hidden;
z-index: 999;
&:hover {
color: #fff;
opacity: 0.8;
text-decoration: none;
}
}
}
}
/* Responsive Menu */
.header-toggles {
display: none;
position: absolute;
top: 0;
left: 5px;
z-index: 999;
.toggle-icon {
position: relative;
padding: 1px 0;
svg {
fill: #333;
height: 0.5rem;
padding: 1px 0;
}
}
.toggle-text {
color: #333;
font-size: 0.85em;
text-transform: uppercase;
}
}
button.toggle {
background: none;
border: none;
box-shadow: none;
border-radius: 0;
color: #333;
font-size: inherit;
font-weight: 400;
letter-spacing: inherit;
padding: 0;
text-transform: none;
}
button.toggle:hover {
background: none;
color: #333;
}
/* Header Toggles ---------------------------- */
.header-inner .toggle:focus .toggle-text,
.header-inner .toggle:hover .toggle-text {
text-decoration: underline;
}
.menu-modal {
background: #fff;
display: none;
opacity: 0;
overflow-y: auto;
overflow-x: hidden;
position: fixed;
bottom: 0;
left: -99999rem;
right: 99999rem;
top: 0;
transition: opacity 0.25s ease-in, left 0s 0.25s, right 0s 0.25s;
z-index: 99;
}
.admin-bar .menu-modal {
top: 32px;
}
@media (max-width: 782px) {
.admin-bar .menu-modal {
top: 46px;
}
}
.menu-modal.show-modal {
display: flex;
}
.menu-modal.active {
left: 0;
opacity: 1;
right: 0;
transition: opacity 0.25s ease-out;
z-index: 999;
}
.menu-modal-inner {
background: #fff;
display: flex;
justify-content: stretch;
overflow: auto;
-ms-overflow-style: auto;
width: 100%;
}
.menu-wrapper {
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
}
button.close-nav-toggle {
//align-items: center;
//display: flex;
display: block;
font-size: 1rem;
justify-content: flex-end;
padding: 0.6rem 1.5rem;
width: 100%;
height: auto;
text-align: right;
}
button.close-nav-toggle svg {
height: 1rem;
width: 1rem;
position: relative;
top: 3px;
}
button.close-nav-toggle .toggle-text {
margin-right: 0.6rem;
}
.menu-modal .menu-top {
flex-shrink: 0;
}
/* Main Menu --------------------------------- */
.modal-menu {
/*
position: relative;
left: calc(50% - 50vw);
width: 100vw;
*/
}
.modal-menu li {
border-color: #dedfdf;
border-style: solid;
border-width: 0.1rem 0 0 0;
display: flex;
flex-wrap: wrap;
line-height: 1;
justify-content: flex-start;
margin: 0;
}
.modal-menu > li > a,
.modal-menu > li > .ancestor-wrapper > a {
font-size: 1rem;
font-weight: 700;
}
.modal-menu > li:last-child {
border-bottom-width: 0.1rem;
}
.modal-menu .ancestor-wrapper {
display: flex;
justify-content: space-between;
width: 100%;
}
.modal-menu a {
display: block;
padding: 1rem 2.5rem 1rem 1.5rem;
line-height: 30px;
text-decoration: none;
width: 100%;
color: #333;
&:visited {
color: #333;
}
i {
margin-right: 4px;
}
}
.modal-menu a:focus,
.modal-menu a:hover,
.modal-menu li.current-menu-item > .ancestor-wrapper > a,
.modal-menu li.current_page_ancestor > .ancestor-wrapper > a {
text-decoration: none;
}
button.sub-menu-toggle {
border-left: 0.1rem solid #dedfdf;
flex-shrink: 0;
margin: 1rem 0;
padding: 0 1.5rem;
height: 30px;
line-height: 30px;
}
button.sub-menu-toggle svg {
height: 0.8rem;
transition: transform 0.15s linear;
width: 1rem;
}
button.sub-menu-toggle.active svg {
transform: rotate(180deg);
}
.modal-menu ul {
display: none;
margin: 0;
width: 100%;
}
.modal-menu ul li {
border-left-width: 1rem;
border-left-color: #fff;
}
.modal-menu ul li a {
color: #333;
font-weight: 500;
}
/* Main menu animation ----------------------- */
.menu-wrapper {
width: 100%;
}
.menu-wrapper .menu-item {
position: relative;
}
.menu-wrapper .active {
display: block;
}
.menu-wrapper.is-toggling {
pointer-events: none;
}
.menu-wrapper.is-toggling .menu-item {
position: absolute;
top: 0;
left: 0;
margin: 0;
width: 100%;
}
.menu-wrapper.is-toggling .menu-bottom .social-menu .menu-item {
width: auto;
}
.menu-wrapper.is-animating .menu-item,
.menu-wrapper.is-animating .toggling-target {
transition-duration: 250ms;
}
.menu-wrapper.is-animating .menu-item {
transition-property: transform;
}
.menu-wrapper.is-toggling .toggling-target {
display: block;
position: absolute;
top: 0;
left: 0;
opacity: 1;
}
.menu-wrapper.is-toggling .toggling-target.active {
opacity: 0;
}
.menu-wrapper.is-animating.is-toggling .toggling-target {
display: block;
transition-property: opacity;
opacity: 0;
}
.menu-wrapper.is-animating.is-toggling .toggling-target.active {
opacity: 1;
}
.menu-wrapper.is-toggling .modal-menu > li:last-child li {
border-top-color: transparent;
border-bottom-width: 0.1rem;
}
@media (prefers-reduced-motion: reduce) {
.menu-wrapper.is-animating .menu-item,
.menu-wrapper.is-animating .toggling-target {
transition-duration: 1ms !important;
}
}
/* Expanded Menu ----------------------------- */
.mobile-menu {
display: block;
}
/* Ads */
.single-top-ad {
margin: 0 0 20px 0;
}
.single-bottom-ad {
margin: 0 0 20px 0;
}
.custom-ad {
line-height: 1;
}
.content-ad,
.single-top-ad,
.single-bottom-ad {
img {
line-height: 0.5;
max-width: 100%;
}
}
/* Grid System */
.ht_grid_1_2 {
float: left;
width: 49%;
margin-right: 2%;
&:nth-of-type(2n+1) {
clear: left;
}
&:nth-of-type(2n+0) {
margin-right: 0;
clear: right;
}
}
.ht_grid_1_3 {
float: left;
width: 33.33333%;
&:nth-of-type(3n) {
margin-right: 0;
}
&:nth-of-type(3n+1) {
clear: left;
}
}
.ht_grid_1_4 {
float: left;
width: 25%;
&:nth-of-type(4n+0) {
margin-right: 0;
clear: right;
}
&:nth-of-type(4n+1) {
clear: left;
}
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
.ht_grid_1_4 {
width: 50%;
&:nth-of-type(4n+0) {
margin-right: 0;
clear: right;
}
&:nth-of-type(4n+1) {
clear: left;
}
&:nth-of-type(2n) {
margin-right: 0;
}
&:nth-of-type(2n+1) {
clear: left;
}
}
}
@media only screen and (max-width: 767px) {
.ht_grid_1_2,
.ht_grid_1_3,
.ht_grid_1_4 {
float: none;
width: 100%;
margin-right: 0;
&:after {
clear: both;
content: " ";
display: block;
}
}
.ht_grid_m_1_2 {
float: left;
width: 49%;
margin-right: 2%;
&:nth-of-type(3n) {
margin-right: 2%;
}
&:nth-of-type(2n) {
margin-right: 0;
clear: right;
}
&:nth-of-type(2n+1) {
clear: left;
}
}
.grid-wrap {
margin-left: 0;
margin-right: 0;
}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
.ht_grid_1_4 {
float: left;
width: 50%;
&:nth-of-type(3n) {
}
&:nth-of-type(2n) {
margin-right: 0;
clear: right;
}
&:nth-of-type(2n+1) {
clear: left;
}
}
}
/* Responsive Grid */
@media only screen and (max-width: 480px) {
.ht_grid_mo_1_1 {
float: none;
width: 100%;
margin-right: 0;
}
}
/* Upgrade to Pro */
#wp-admin-bar-blogrank-pro a.ab-item {
color: #72aee6;
}