/*!
Theme Name: El Greco
Theme URI: https://www.cssigniter.com/themes/elgreco/
Author: CSSIgniter
Author URI: https://www.cssigniter.com/
Description: Travel guide theme for WordPress
Version: 1.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ci_theme
Domain Path: /lang
*/

/* -----------------------------------------
	Table of Contents
--------------------------------------------

.. 01. General
.. 02. Main Navigation
.. 03. Header
.. 04. Modules
.. 05. Footer
.. 06. Comments
.. 07. Widgets Styling
.. 08. WordPress defaults
.. 09. Mobile Menu
.. 10. External Plugins
.. 11. Global Mediaqueries

*/

.item p,
.entry-time,
.widget {
  font-size: 14px;
  line-height: 1.566666666666667;
}

.entry-categories a,
.item-title a,
.entry-content a {
  border-bottom: 4px solid transparent;
}

.entry-categories a:hover,
.item-title a:hover,
.entry-content a:hover {
  border-bottom-color: #a5cf79;
}

.main,
.home-slider-wrap,
.section-category {
  background-color: #FFF;
  border-bottom: 2px solid #e6e6e6;
  padding: 45px 0;
}

/* -----------------------------------------
	01. General
----------------------------------------- */

/* Basic Typography
=================================== */

body {
  line-height: 1.4541176;
  font-size: 16px;
  color: #444444;
  font-family: Lato, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #efefef;
}

h1,
h2,
h3,
.widget-title,
h4,
h5,
h6 {
  line-height: normal;
  margin: 0 0 15px 0;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  font-family: Tinos, serif;
  font-weight: 700;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 32px;
}

h3,
.widget-title {
  font-size: 26px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  margin: 0 0 15px 0;
}

img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a {
  -webkit-transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  outline: none;
  color: #2999e3;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #56aee9;
  outline: none;
  text-decoration: none;
}

a:active {
  outline: none;
}

.group:before,
.group:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.group:after {
  clear: both;
}

/* General Element Styling
=================================== */

/* Reset figure margin from normalize.css */

figure {
  margin: 0;
}

/* Lists */

ul,
ol {
  padding-left: 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

dl {
  margin: 0 0 20px;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 0 15px;
}

/* Blockquotes */

blockquote {
  margin: 20px 0;
  padding-left: 15px;
  border-left: 3px solid #ccc;
  font-size: 17px;
  font-weight: 300;
}

blockquote cite {
  display: block;
  font-weight: bold;
  font-style: italic;
  margin: 10px 0 0;
  color: rgba(68, 68, 68, 0.8);
  font-size: 14px;
}

/* Tables */

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.entry-content table {
  border-width: 1px 0 0 1px;
  margin-bottom: 24px;
}

.entry-content th:first-child,
.entry-content td:first-child {
  padding-left: 0;
}

.entry-content th,
.entry-content td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.entry-content caption,
.entry-content th,
.entry-content td {
  font-weight: normal;
  text-align: left;
  padding: 5px;
  vertical-align: middle;
}

.entry-content th {
  border-width: 0 1px 1px 0;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 85%;
}

.entry-content td {
  border-width: 0 1px 1px 0;
}

/* Code */

code,
kbd,
tt,
var,
samp,
pre {
  font-family: monospace, serif;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  font-style: normal;
}

pre {
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Various */

address {
  margin: 0 0 15px;
}

.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Embeds and iframes
=================================== */

embed,
iframe,
object,
video,
audio {
  margin-bottom: 15px;
  max-width: 100%;
}

p > embed,
p > iframe,
p > object,
p > audio,
span > embed,
span > iframe,
span > object,
span > audio {
  margin-bottom: 0;
}

#map * {
  max-width: none !important;
}

/* General Form Styling
=================================== */

label {
  display: block;
  margin: 0 0 2px;
  font-weight: normal;
}

input,
textarea {
  display: inline-block;
  font-size: inherit;
  width: 100%;
  max-width: 100%;
  height: 44px;
  color: #444444;
  padding: 6px 12px;
  box-shadow: none;
  line-height: normal;
  border: 1px solid #e4e4e4;
  background-color: #FFF;
  background-image: none;
  border-radius: 0;
}

input:focus,
textarea:focus {
  outline: none;
}

input[type="search"] {
  /* Restoring box-sizing */
  box-sizing: border-box;
}

textarea {
  height: auto;
}

select {
  max-width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  line-height: normal;
  width: auto;
  height: auto;
}

fieldset {
  margin: 0 0 15px;
  padding: 0;
  border: none;
  min-width: 0;
}

/* Placeholder text color */

::-webkit-input-placeholder {
  color: rgba(68, 68, 68, 0.5);
  font-weight: normal;
  opacity: 1;
}

:-moz-placeholder {
  color: rgba(68, 68, 68, 0.5);
  font-weight: normal;
  opacity: 1;
}

::-moz-placeholder {
  color: rgba(68, 68, 68, 0.5);
  font-weight: normal;
  opacity: 1;
}

:-ms-input-placeholder {
  color: rgba(68, 68, 68, 0.5);
  font-weight: normal;
  opacity: 1;
}

/* Buttons
=================================== */

.btn,
.comment-reply-link,
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
  display: inline-block;
  font-weight: normal;
  font-size: 14px;
  margin: 0;
  width: auto;
  min-width: 180px;
  height: 50px;
  line-height: normal;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;
  padding: 14px 22px;
  background-color: #a5cf79;
  color: #FFF;
  text-transform: uppercase;
  -webkit-transition: 0.18s background-color ease, color 0.18s ease,  0.18s border-color ease;
  transition: 0.18s background-color ease, color 0.18s ease,  0.18s border-color ease;
  -webkit-user-selsect: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 2px solid #a5cf79;
}

.btn:active,
.comment-reply-link:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active {
  outline: none;
}

.btn:hover,
.comment-reply-link:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
  background-color: #8cc253;
  color: #FFF;
  text-decoration: none;
}

.btn:focus,
.comment-reply-link:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
button:focus {
  outline: none;
}

.btn.white,
.white.comment-reply-link,
input[type="button"].white,
input[type="submit"].white,
input[type="reset"].white,
button.white {
  background-color: #FFF;
  border-color: #FFF;
  color: #444444;
}

.btn.white.transparent,
.white.transparent.comment-reply-link,
input[type="button"].white.transparent,
input[type="submit"].white.transparent,
input[type="reset"].white.transparent,
button.white.transparent {
  color: #FFF;
}

.btn.transparent,
.transparent.comment-reply-link,
input[type="button"].transparent,
input[type="submit"].transparent,
input[type="reset"].transparent,
button.transparent {
  background-color: transparent;
  color: #a5cf79;
}

.btn.transparent:hover,
.transparent.comment-reply-link:hover,
input[type="button"].transparent:hover,
input[type="submit"].transparent:hover,
input[type="reset"].transparent:hover,
button.transparent:hover {
  background-color: #a5cf79;
  color: #FFF;
  border-color: #a5cf79;
}

/* Flexslider Overrides
=================================== */

.flexslider {
  margin: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  border: 0;
}

.flexslider.loading:before {
  width: 40px;
  height: 40px;
  background-color: #FFF;
  border-radius: 100%;
  -webkit-animation: scaleout 1.0s infinite ease-in-out;
  animation: scaleout 1.0s infinite ease-in-out;
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1000;
}

.flexslider .slides li:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1000;
}

@-webkit-keyframes scaleout {
  0% {
    -webkit-transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

@keyframes scaleout {
  0% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

.flex-direction-nav a {
  width: 40px;
  height: 40px;
  top: 50%;
  margin: -20px 0 0 0;
  opacity: 0.7;
  color: #FFF;
  line-height: normal;
}

.flex-direction-nav a:hover {
  color: #FFF;
  opacity: 1;
}

.flex-direction-nav a:before {
  font-family: FontAwesome;
  content: '\f053';
  font-size: 34px;
}

.flex-direction-nav a.flex-next:before {
  content: '\f054';
}

.flex-direction-nav a.flex-next {
  right: 10px;
}

.flex-direction-nav a.flex-prev {
  left: 10px;
}

.flexslider .slides > li:first-child {
  display: block;
  /* Display flexslider's first item no matter if its loading or not */
  -webkit-backface-visibility: visible;
}

.flexslider.loading .slides > li:first-child {
  opacity: 1 !important;
  /* Remove the fade in/out animation when the slider loads */
}

/* -----------------------------------------
	02. Main Navigation
----------------------------------------- */

#nav {
  margin: 9px 0 0;
}

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#navigation {
  text-align: right;
}

#navigation:before,
#navigation:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

#navigation:after {
  clear: both;
}

#navigation li {
  position: relative;
  z-index: 100;
  text-align: left;
}

#navigation > li {
  display: inline-block;
}

#navigation ul {
  position: absolute;
  z-index: 300;
  top: -999em;
}

#navigation li:hover > ul,
#navigation .sfHover > ul {
  top: auto;
  left: 14px;
}

#navigation li li:hover > ul,
#navigation li .sfHover > ul {
  top: 0;
  left: 100%;
}

#navigation li li li:hover > ul,
#navigation li li .sfHover > ul {
  top: 0;
  left: 100%;
}

#navigation a,
#navigation #navigation a:visited {
  display: block;
  white-space: nowrap;
}

#navigation a {
  color: #FFF;
  text-transform: uppercase;
  font-size: 14px;
  /* Global Menu Link Styles */
}

#navigation a:hover,
#navigation .sfHover > a {
  text-decoration: none;
  /* First Level & Global Menu Link Hover Styles */
}

#navigation > li > a {
  border-bottom: 4px solid transparent;
  line-height: 1;
  margin-left: 15px;
  padding: 0;
  /* First Level Menu Link Styles */
}

#navigation > li li {
  border: 1px solid transparent;
  border-bottom: none;
}

#navigation > li ul > li:last-child {
  border-bottom: 1px solid transparent;
}

#navigation > li ul a {
  color: #444444;
  background: rgba(250, 250, 250, 0.9);
  padding: 8px 12px;
  font-size: 12px;
  margin: 0;
  text-transform: uppercase;
  /* All Other Menu Level Link Styles */
}

#navigation > li ul a:hover,
#navigation > li ul .sfHover > a {
  color: #FFF;
  background: #a5cf79;
  /* All Other Level Menu Link Hover Styles */
}

#navigation > li > a:hover,
#navigation > li.sfHover > a,
#navigation > li.sfHover > a:active,
#navigation > li.current_page_item > a,
#navigation > li.current-menu-item > a,
#navigation > li.current-menu-ancestor > a,
#navigation > li.current-menu-parent > a,
#navigation > li.current > a {
  border-bottom-color: #a5cf79;
  /* WordPress First Level Current/Ancestor Hover Page Styles */
}

#navigation ul {
  border: 1px solid #C2C2C2;
  background: transparent;
  min-width: 180px;
  z-index: 50;
  /* All Lower Level Menu Container Styles */
}

#navigation a.sf-with-ul {
  padding-right: 13px;
  position: relative;
  /* Styling for navigation arrows  ---------- */
}

#navigation.sf-arrows .sf-with-ul:after {
  content: '\f078';
  font-family: FontAwesome;
  position: absolute;
  top: 50%;
  right: 2px;
  margin-top: -7px;
  font-size: 8px;
  font-weight: normal;
}

#navigation.sf-arrows ul .sf-with-ul:after {
  right: 8px;
  content: "\f054";
  margin-top: -5px;
  /* Styling for right facing arrows  ---------- */
}

/* -----------------------------------------
	03. Header
----------------------------------------- */

.header-pre {
  background-color: #2f2f2f;
  color: #9c9c9c;
  font-size: 12px;
  padding: 8px 0 5px;
}

.header-pre a {
  color: #9c9c9c;
}

.header-pre a:hover {
  color: #FFF;
}

.header-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.header-menu li {
  display: inline-block;
  margin-left: 7px;
}

.header-socials .widget {
  margin: 0;
}

.header-socials .widget-title,
.header-socials h3,
.header-socials .widget-title {
  display: none;
}

.header-socials .ci-socials i {
  font-size: 17px;
  margin-right: 2px;
}

.header-socials .ci-socials-ignited-fa a {
  margin: 1px 5px 5px 0;
}

.header-main {
  background-color: #2999e3;
  color: #FFF;
  padding: 24px 0 28px;
}

.logo {
  word-wrap: break-word;
  font-family: Tinos, serif;
  font-weight: 700;
  font-size: 26px;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}

.logo a,
.logo a:hover {
  color: #FFF;
}

.site-tagline {
  margin: -2px 0 0;
  line-height: 1;
  font-size: 14px;
}

/* -----------------------------------------
	04. Modules
----------------------------------------- */

.main {
  margin: 0 0 -2px;
}

/* Background home slider
=================================== */

.background-slider {
  background: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: -1;
}

.background-slider .slides li {
  height: 785px;
  background-position: 50% 0;
}

/* Home Slider
=================================== */

.home-slider-wrap {
  margin: 0 0 30px;
}

.home-slider .slides li {
  max-height: 570px;
  overflow: hidden;
  position: relative;
}

.home-slider .slide-content {
  position: absolute;
  padding: 220px 25px 0;
  top: 0;
  width: 100%;
  text-align: center;
  color: #FFF;
}

.home-slider .slide-title {
  font-family: Tinos, serif;
  font-size: 48px;
  line-height: normal;
  margin: 0;
}

.home-slider .slide-subtitle {
  line-height: normal;
  margin: 0 0 30px;
}

.home-slider .flex-control-nav {
  width: 20px;
  z-index: 20;
  top: 50%;
  right: 30px;
  margin-top: -30px;
}

.home-slider .flex-control-paging li {
  display: block;
  margin: 10px 0;
}

.home-slider .flex-control-paging li a {
  background-color: #FFF;
  box-shadow: none;
  width: 8px;
  height: 8px;
  position: relative;
}

.home-slider .flex-control-paging li a:before {
  content: "";
  border-radius: 50%;
  width: 30px;
  height: 30px;
  left: -10px;
  top: -10px;
  -webkit-transition: all 0.28s ease;
  transition: all 0.28s ease;
  border: 2px solid transparent;
}

.home-slider .flex-control-paging li a.flex-active {
  background-color: #FFF;
  position: relative;
}

.home-slider .flex-control-paging li a.flex-active:before {
  content: "";
  background-color: transparent;
  position: absolute;
  border-radius: 50%;
  border: 2px solid #2999e3;
  width: 18px;
  height: 18px;
  top: -5px;
  left: -5px;
}

/* Item Boxes
=================================== */

.section-category {
  padding: 0 0 5px;
  margin: 0 0 30px;
}

.section-category:last-of-type {
  margin: 30px 0 0;
  border: 0;
}

.section-title {
  font-size: 36px;
  line-height: normal;
}

.section-title i {
  font-size: 30px;
  color: #a5cf79;
  position: relative;
  top: -2px;
}

.section-title + .entry-categories {
  margin: -20px 0 40px;
  display: block;
}

.section-category .section-title {
  display: inline-block;
  border-top: 5px solid #2999e3;
  padding-top: 25px;
}

.entry-categories {
  text-transform: uppercase;
  color: #cacaca;
  margin: 0 0 30px;
}

.entry-categories a {
  color: #2999e3;
  font-size: 14px;
}

/* Items
=================================== */

.item {
  margin: 0 0 40px;
}

.item p {
  color: #777777;
}

.item-thumb {
  padding: 4px;
  border: 1px solid #b7b7b7;
  margin: 0 0 10px;
  -webkit-transition: all 0.18s ease;
  transition: all 0.18s ease;
  position: relative;
  z-index: 1;
}

.item-thumb:hover {
  border-color: #2999e3;
}

.item-time {
  font-size: 12px;
  color: #777777;
  display: block;
  margin: 0 0 10px;
}

.item-title {
  font-size: 23px;
  margin: 0 0 8px;
  line-height: normal;
}

.item-title a {
  color: #2f2f2f;
}

.item-rating {
  font-weight: bold;
  position: absolute;
  right: -6px;
  top: 10px;
  padding: 5px 7px;
  line-height: normal;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2);
  color: #FFF;
  background-color: #a5cf79;
  font-weight: bold;
  font-size: 16px;
  box-shadow: -2px 2px 0 rgba(0, 0, 0, 0.1);
}

.item-rating:after {
  content: "";
  border: 6px solid transparent;
  border-left-color: #7fb942;
  width: 0;
  height: 0;
  position: absolute;
  right: -6px;
  bottom: -5px;
  z-index: -1;
}

/* Entry Styles (Single)
=================================== */

.entry-header {
  text-align: center;
  margin: 0 0 40px;
}

.entry-header .entry-title {
  font-size: 48px;
  line-height: 1;
}

.entry-time {
  font-size: 15px;
  color: #777777;
}

.entry-thumb {
  margin: 20px 0 30px;
}

.entry-header + .entry-thumb {
  margin-bottom: 60px;
}

.entry-content:before,
.entry-content:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.entry-content:after {
  clear: both;
}

.entry-content p {
  margin: 0 0 20px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content .widget-title,
.entry-content h4,
.entry-content h5 {
  margin-top: 30px;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content .widget-title:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child {
  margin-top: 0;
}

/* Paging styles
========================================= */

#paging a,
#paging a:visited,
#paging > span {
  background-color: #ebebeb;
  font-family: Lato, sans-serif;
  display: inline-block;
  line-height: normal;
  margin-right: 2px;
  color: #444444;
  padding: 11px 17px;
  font-size: 13px;
  border: 0;
}

#paging a:hover {
  color: #FFF;
  background-color: #a5cf79;
  text-decoration: none;
}

#paging span.current {
  color: #FFF;
  background-color: #2999e3;
}

/* -----------------------------------------
	05. Footer
----------------------------------------- */

.footer {
  background-color: #2999e3;
  color: #FFF;
}

.footer .widget {
  color: rgba(255, 255, 255, 0.8);
}

.footer .widget .widget-title {
  color: #FFF;
}

.footer-widgets {
  padding: 45px 0 25px;
}

.footer-widgets a {
  color: #FFF;
}

.footer-widgets .ci-socials i {
  font-size: 32px;
  margin-right: 3px;
}

.copy {
  text-align: right;
  padding: 6px 0;
  background-color: #2f2f2f;
  color: #9c9c9c;
  font-size: 12px;
}

.copy p {
  margin: 0;
}

.copy a {
  color: #9c9c9c;
}

.copy a:hover {
  color: #FFF;
}

/* -----------------------------------------
   06. Comments
----------------------------------------- */

#comments {
  margin: 60px 0 0;
}

#comment-list {
  margin: 0;
  list-style: none;
  padding: 0;
}

#comment-list ol {
  list-style: none;
}

#comment-list .comment-body {
  margin-bottom: 20px;
  padding-top: 20px;
}

#comment-list > .comment:first-child > .comment-body {
  border-top: none;
  padding-top: 0;
}

.post-comments {
  margin: 0 0 45px;
}

.comment-author .avatar {
  width: 64px;
  height: 64px;
  float: left;
  margin: 0 15px 15px 0;
  overflow: visible;
}

.comment-content {
  overflow: hidden;
  zoom: 1;
  font-size: 13px;
  line-height: 1.7;
}

.comment-metadata {
  font-size: 12px;
  margin: 0 0 5px;
}

.comment-reply-link {
  font-size: 10px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-left: 80px;
  min-width: 0;
  height: auto;
}

.bypostauthor > article .fn:before {
  font-family: FontAwesome;
  content: "\f005";
  margin: 0 2px 0 -2px;
  position: relative;
  top: -1px;
  font-size: 11px;
}

#cancel-comment-reply-link {
  font-size: 13px;
  font-weight: normal;
  margin-left: 5px;
}

.form-allowed-tags,
.comment-notes {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(68, 68, 68, 0.8);
}

/* -----------------------------------------
	07. Widgets Styling
----------------------------------------- */

.widget {
  margin: 0 0 25px;
}

.sidebar .widget {
  margin: 0 0 40px;
}

.sidebar .widget:last-child,
.widget p:last-child {
  /* Nullify bottom margin for last elements in widgets and sidebars */
  margin-bottom: 0;
}

.footer .widget-title {
  font-size: 23px;
}

/* WIDGET: #List Widgets
========================================= */

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid #e4e4e4;
  display: block;
  margin: 0;
}

.widget ul ul.children li:first-child {
  border-top: 1px solid #e4e4e4;
  margin-top: 6px;
}

.widget ul li:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.widget ul.children li {
  padding-left: 15px;
}

.widget .current-cat > a,
.widget .current-cat-parent > a {
  font-weight: bold;
}

/* WIDGET: #List Widgets
========================================= */

.widget.widget_categories ul li,
.widget.widget_meta ul li,
.widget.widget_pages ul li,
.widget.widget_recent_entries ul li {
  -webkit-transition: border-color 0.18s ease;
  transition: border-color 0.18s ease;
}

.widget.widget_categories ul li:hover,
.widget.widget_meta ul li:hover,
.widget.widget_pages ul li:hover,
.widget.widget_recent_entries ul li:hover {
  padding-bottom: 6px;
  border-bottom: 3px solid #a5cf79;
}

.widget_categories .postform {
  width: 100%;
  padding: 5px 10px;
}

/* WIDGET: #Newsletter
========================================= */

.ci-newsletter > p {
  position: relative;
}

.ci-newsletter button[type=submit] {
  min-width: 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  line-height: 1;
}

/* WIDGET: #Ads125
========================================= */

#ads125,
.ads125 {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ads125 li,
.ads125 li {
  background: none;
  border: none;
  float: left;
  margin: 0 15px 10px 0;
  padding: 0;
  max-width: 125px;
  height: auto;
}

/* WIDGET: #Search
========================================= */

.searchform > div {
  position: relative;
}

.searchform .searchsubmit {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  min-width: 0;
  padding: 5px 22px;
}

/* WIDGET: #Flickr
========================================= */

.flickr_badge_image {
  float: left;
  margin: 0 15px 15px 0;
}

.flickr_badge_image a {
  display: block;
  line-height: 0;
}

/* WIDGET: #About
========================================= */

.widget_about {
  margin-top: -5px;
}

.widget_about img {
  max-width: 100px;
  height: auto;
}

.widget_about .alignleft {
  float: left;
  margin: 5px 15px 6px 0;
}

.widget_about .alignright {
  float: right;
  margin: 5px 0 6px 15px;
}

/* WIDGET: #Text Widget
========================================= */

.widget_text p:last-child {
  margin-bottom: 0;
}

/* WIDGET: #Twitter
========================================= */

.widget_ci_twitter_widget ul li {
  margin-bottom: 12px;
}

.widget_ci_twitter_widget ul li:first-child {
  padding-top: 0;
}

.widget_ci_twitter_widget .twitter-time {
  display: block;
  font-size: 0.85em;
}

/* WIDGET: #Calendar
================================================== */

#wp-calendar {
  width: 100%;
}

#wp-calendar a {
  font-weight: bold;
  font-style: italic;
}

#wp-calendar caption {
  text-align: left;
  margin-top: 10px;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.03);
  padding: 9px;
}

#wp-calendar thead {
  font-size: 10px;
}

#wp-calendar thead th {
  background: rgba(0, 0, 0, 0.1);
  font-weight: bold;
  padding: 8px;
}

#wp-calendar tbody td {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 3px;
}

#wp-calendar tbody td:hover {
  background: rgba(0, 0, 0, 0.1);
}

#wp-calendar tbody .pad {
  background: none;
}

#wp-calendar tfoot #next {
  font-size: 10px;
  text-transform: uppercase;
  text-align: right;
}

#wp-calendar tfoot #prev {
  font-size: 10px;
  text-transform: uppercase;
  padding-top: 10px;
}

/* -----------------------------------------
	08. WordPress Defaults
----------------------------------------- */

/* WordPress Galleries
=================================== */

.gallery {
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 15px;
}

.gallery:before,
.gallery:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.gallery:after {
  clear: both;
}

.gallery-item {
  margin-bottom: 10px;
}

.gallery-item img {
  width: 100%;
}

.gallery-columns-1 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-2 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-3 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-4 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-5 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-6 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-7 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-8 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-columns-9 .gallery-item {
  position: relative;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  float: left;
  min-height: 1px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50%;
}

.gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 0 5px;
  max-height: 50%;
  opacity: 0;
  padding: 6px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  width: calc(100% - 10px);
  -webkit-transition: opacity 0.18s ease;
  transition: opacity 0.18s ease;
}

.gallery-caption:before {
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/* WordPress Classes
=================================== */

/* Alignment */

.alignnone {
  margin: 5px 0 20px 0;
}

p .alignnone {
  margin-bottom: 0;
}

.aligncenter {
  display: block;
  margin: 7px auto 7px auto;
}

.alignright {
  float: right;
  margin: 7px 0 7px 24px;
}

.alignleft {
  float: left;
  margin: 7px 24px 7px 0;
}

/* Captions */

.wp-caption {
  max-width: 100%;
  margin-bottom: 15px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text {
  font-size: 12px;
  line-height: 17px;
  margin: 3px 0 5px;
  padding: 5px 0 0 0;
  text-align: left;
  font-style: italic;
}

/* -----------------------------------------
  09.  MOBILE MENU
----------------------------------------- */

#mobilemenu {
  display: none;
}

#mobile-bar {
  display: none;
  text-align: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #FFF;
  padding: 15px 10px 0 10px;
  height: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.menu-trigger,
.menu-trigger:focus {
  width: 24px;
  height: 21px;
  background: none;
  cursor: pointer;
  opacity: 0.85;
  margin: 0;
  outline: none;
  position: absolute;
  left: 10px;
  top: 9px;
  color: #333;
  font-size: 30px;
  line-height: 1;
}

.menu-trigger:hover {
  opacity: 0.95;
  color: #333;
}

.menu-trigger:active {
  opacity: 1;
}

.mob-title {
  color: #222;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* -----------------------------------------
	10. External Plugins
----------------------------------------- */

/* Jetpack Sharing */

.sharedaddy {
  margin-top: 30px;
}

/* WP Instagram */

.null-instagram-feed p {
  padding-top: 10px;
}

.widget .instagram-pics:before,
.widget .instagram-pics:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.widget .instagram-pics:after {
  clear: both;
}

.widget .instagram-pics li {
  border-bottom: 0;
  padding: 0;
  float: left;
  width: 33.33333333333%;
}

.widget .instagram-pics li a {
  display: block;
}

/* -----------------------------------------
	11. Global Mediaqueries
----------------------------------------- */

@media (min-width: 768px) {
  .gallery-columns-1 .gallery-item {
    float: left;
    width: 100%;
  }

  .gallery-columns-2 .gallery-item {
    float: left;
    width: 50%;
  }

  .gallery-columns-3 .gallery-item {
    float: left;
    width: 33.33333%;
  }

  .gallery-columns-4 .gallery-item {
    float: left;
    width: 25%;
  }

  .gallery-columns-5 .gallery-item {
    float: left;
    width: 20%;
  }

  .gallery-columns-6 .gallery-item {
    float: left;
    width: 16.66667%;
  }

  .gallery-columns-7 .gallery-item {
    float: left;
    width: 14.28571%;
  }

  .gallery-columns-8 .gallery-item {
    float: left;
    width: 12.5%;
  }

  .gallery-columns-9 .gallery-item {
    float: left;
    width: 11.11111%;
  }
}

@media (max-width: 1199px) {
  .col-xs-1,
  .col-sm-1,
  .col-md-1,
  .col-lg-1,
  .col-xs-2,
  .col-sm-2,
  .col-md-2,
  .col-lg-2,
  .col-xs-3,
  .col-sm-3,
  .col-md-3,
  .col-lg-3,
  .col-xs-4,
  .col-sm-4,
  .col-md-4,
  .col-lg-4,
  .col-xs-5,
  .col-sm-5,
  .col-md-5,
  .col-lg-5,
  .col-xs-6,
  .col-sm-6,
  .col-md-6,
  .col-lg-6,
  .col-xs-7,
  .col-sm-7,
  .col-md-7,
  .col-lg-7,
  .col-xs-8,
  .col-sm-8,
  .col-md-8,
  .col-lg-8,
  .col-xs-9,
  .col-sm-9,
  .col-md-9,
  .col-lg-9,
  .col-xs-10,
  .col-sm-10,
  .col-md-10,
  .col-lg-10,
  .col-xs-11,
  .col-sm-11,
  .col-md-11,
  .col-lg-11,
  .col-xs-12,
  .col-sm-12,
  .col-md-12,
  .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .home-slider .slide-content {
    padding-top: 170px;
  }

  .background-slider .slides li {
    height: 685px;
  }
}

@media (max-width: 991px) {
  .row > .col-md-offset-1 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-slider .slide-content {
    padding-top: 140px;
  }

  .background-slider .slides li {
    height: 655px;
  }
}

@media (max-width: 767px) {
  input,
  textarea {
    width: 100%;
  }

  #comment-list ol {
    margin: 0;
    padding: 0;
  }

  .comment-author .avatar {
    display: none;
  }

  .comment-reply-link {
    margin: 0;
  }

  #mobilemenu {
    display: block;
  }

  #mobile-bar {
    display: block;
  }

  #page {
    padding-top: 48px;
    /* For mobile bar */
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header-pre {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
  }

  .header-menu {
    text-align: center;
  }

  .header-menu li {
    display: block;
    margin: 0;
  }

  .header-menu li a {
    margin: 0;
  }

  #nav {
    display: none;
  }

  .background-slider {
    display: none;
  }

  .logo,
  .site-tagline {
    text-align: center;
  }

  .home-slider .slide-content {
    position: static;
    background-color: #2999e3;
    padding: 25px;
  }

  .home-slider .slide-title {
    font-size: 28px;
  }

  .home-slider .flex-control-nav {
    top: 10px;
    right: 5px;
    margin: 0;
  }

  .section-title {
    font-size: 30px;
  }

  .entry-header {
    margin: 0 0 25px;
  }

  .entry-header .entry-title {
    font-size: 38px;
  }

  .entry-thumb {
    margin: 0 0 25px;
  }
}