/*!
Theme Name: Factum
Theme URI: https://www.cssigniter.com/themes/factum/
Author: cssigniter.com
Author URI: https://www.cssigniter.com/
Description: Law/Business theme for WordPress
Version: 1.7.0
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ci_theme
Domain Path: /lang
*/

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

.. General
.. Header
.. Homepage Specific Styles
.. Footer
.. Widgets Styling
.. Helpers, WordPress defaults, Generic Items
.. Mobile Menu
.. External Plugins

*/

/* -----------------------------------------
	General
----------------------------------------- */

h1,
.home-testimonial,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  line-height: normal;
  margin: 0 0 15px 0;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: #464646;
  letter-spacing: -0.05em;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

h1,
.home-testimonial {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 12px;
}

p {
  margin: 0 0 15px 0;
}

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

table {
  width: 100%;
  margin-bottom: 20px;
}

a,
a:visited,
a:focus {
  -webkit-transition: color 0.18s ease, background-color 0.18s ease, border-color 0s;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0s;
  outline: none;
}

a:active {
  outline: none;
}

body {
  font-family: "Roboto Slab", sans-serif;
  font-size: 14px;
  color: #1e1e1e;
  background: #F1F0F0;
  line-height: 1.785;
}

#page {
  padding-top: 100px;
}

/* -----------------------------------------
	Header
----------------------------------------- */

.alt-nav {
  display: none;
}

#nav {
  position: relative;
}

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

#navigation {
  position: absolute;
  right: 0;
  top: 15px;
  /* Navigation functional styles  ---------------------- */
}

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

#navigation > li {
  float: left;
}

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

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

#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,
#navigation a:visited {
  padding: 0;
  color: #000;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 10px;
  border-color: #C2C2C2;
  /* Global Menu Link Styles */
}

#navigation > li:last-child a {
  margin-right: 0;
}

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

#navigation > li > a,
#navigation > li > a:visited {
  /* First Level Menu Link Styles */
}

#navigation > li ul a,
#navigation > li ul a:visited {
  padding: 5px 15px;
  border-bottom: 1px solid #ebebeb;
  /* All Other Menu Level Link Styles */
}

#navigation > li ul a:hover,
#navigation > li ul .sfHover > a,
#navigation > li ul .sfHover > a:visited {
  /* All Other Level Menu Link Hover Styles */
}

#navigation > li.current_page_item > a,
#navigation > li.current-menu-item > a,
#navigation > li.current-menu-ancestor > a,
#navigation > li.current-menu-parent > a {
  border-bottom: 1px solid #C2C2C2;
  /* WordPress First Level Current/Ancestor Hover Page Styles */
}

.home #navigation > li.current_page_item > a,
.home
#navigation > li.current-menu-item > a,
.home
#navigation > li.current-menu-ancestor > a,
.home
#navigation > li.current-menu-parent > a {
  color: #000;
  border-bottom-color: transparent;
}

.home #navigation > li.current_page_item > a:hover,
.home
#navigation > li.current-menu-item > a:hover,
.home
#navigation > li.current-menu-ancestor > a:hover,
.home
#navigation > li.current-menu-parent > a:hover {
  border-bottom-color: #C2C2C2;
}

#navigation > li > a:hover,
#navigation > li.sfHover > a,
#navigation > li.sfHover > a:active {
  border-bottom: 1px solid #C2C2C2;
}

#navigation > li.current > a {
  border-bottom: 1px solid #C2C2C2;
}

#navigation ul {
  background: #FFF;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  /* All Lower Level Menu Container Styles */
}

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

#navigation.sf-arrows .sf-with-ul:after {
  content: '';
  position: absolute;
  top: 45%;
  right: 10px;
  height: 0;
  width: 0;
  margin-top: 0;
  border: 3px solid transparent;
  border-top-color: #000;
}

#navigation.sf-arrows ul .sf-with-ul:after {
  margin-top: -2px;
  right: 8px;
  border-color: transparent;
  border-left-color: #000;
  /* Styling for right facing arrows  ---------- */
}

/* Mobile Menu */

.slicknav_menu {
  display: none;
  background: transparent;
}

.slicknav_menu .slicknav_menutxt {
  text-shadow: none;
  color: #333;
}

.slicknav_menu .slicknav_btn {
  text-shadow: none;
  background: #F1F0F0;
  border-radius: 0;
  color: #333;
}

.slicknav_menu .slicknav_nav {
  background: #F1F0F0;
}

.slicknav_menu .slicknav_nav a {
  color: #000;
}

#header {
  background: #FFF;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

#logo {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.05em;
  width: 200px;
}

/* -----------------------------------------
	Homepage
----------------------------------------- */

#main {
  padding: 60px 0 30px 0;
}

.section {
  margin-bottom: 50px;
}

.section-title {
  font-weight: 300;
  font-size: 30px;
  position: relative;
  font-style: normal;
  text-align: center;
  letter-spacing: 0;
  padding: 0 0 15px;
  margin: 0 0 50px;
}

.section-title:after {
  content: "";
  width: 120px;
  height: 0;
  border-bottom: 1px solid #C2C2C2;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -60px;
}

/* 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,
.flex-direction-nav a:focus {
  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;
}

.flex-control-paging li {
  margin: 0 3px;
}

.flex-control-paging li a {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 2px;
}

.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 */
}

/* Home Slider */

.home-slider {
  margin: 0 0 50px;
}

/* Section: Hero */

.hero {
  position: relative;
}

.hero-content {
  position: absolute;
  top: 40%;
  width: 100%;
  text-align: center;
}

.hero-title {
  color: #FFF;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-size: 48px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 30px;
}

/* Attorney Profiles */

.profile {
  position: absolute;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: -0.06em;
  height: 24px;
  bottom: -23px;
  left: 10px;
}

.profile a {
  display: inline-block;
  position: relative;
  top: 6px;
}

.profile a:hover {
  text-decoration: none;
}

.profile .badge {
  height: 20px;
  width: 14px;
  display: inline-block;
  margin: 4px 5px 0 0;
  vertical-align: middle;
  border-top: 3px solid #30a0e3;
  position: relative;
}

.profile .badge:after {
  content: "";
  position: absolute;
  border: 8px solid transparent;
  border-bottom-width: 4px;
  width: 0;
  height: 0;
  bottom: -4px;
}

.profile .badge:before {
  content: "";
  position: absolute;
  border: 8px solid transparent;
  border-bottom-width: 4px;
  width: 0;
  height: 0;
  bottom: -4px;
  right: 0;
}

/* Section: Testimonials */

.home-testimonial {
  text-align: center;
  margin-bottom: 60px;
  text-rendering: optimizeLegibility;
}

.home-testimonial:before {
  content: "\201C";
  font-family: Georgia, serif;
  font-style: normal;
  font-size: 80px;
  line-height: 0.5;
}

.home-testimonial > p:first-of-type {
  margin-top: -20px;
}

.home-testimonial > p:last-of-type {
  margin-bottom: 30px;
}

.home-testimonial cite {
  font-style: normal;
}

.home-testimonial .avatar img {
  border-radius: 50%;
  border: 4px solid #FFF;
  margin-bottom: 20px;
  max-width: 120px;
  height: auto;
}

/* -----------------------------------------
	Entry styles
----------------------------------------- */

.entry {
  margin-bottom: 53px;
  padding-bottom: 50px;
  position: relative;
  border-bottom: 1px solid #FDFDFD;
}

.entry:after,
.entry:before {
  content: "";
  width: 100%;
  border-bottom: 1px solid #DBDBDB;
  bottom: -2px;
  position: absolute;
}

.entry-title {
  margin-top: -7px;
  font-size: 24px;
}

.entry-title a:hover {
  text-decoration: none;
}

.entry-subtitle,
.home-testimonial cite,
.entry-meta {
  margin: -15px 0 15px;
  color: #464646;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.09em;
}

.entry-thumb,
.notice {
  padding: 10px;
  background: #FFF;
  box-shadow: 0 0 5px rgba(227, 227, 227, 0.75);
  position: relative;
}

.entry-thumb + .entry-content,
.notice + .entry-content {
  margin-top: 25px;
}

.client .entry-thumb,
.client .notice {
  margin: 0 0 30px;
}

.entry-thumb:after,
.notice:after,
.entry-thumb:before,
.notice:before {
  content: "";
  width: 98%;
  left: 50%;
  margin-left: -49%;
  position: absolute;
  bottom: -3px;
  height: 2px;
  background: #FFF;
  border-bottom: 1px solid #F5f5f5;
  z-index: -1;
  box-shadow: 0 0 5px rgba(227, 227, 227, 0.75);
}

.entry-thumb:before,
.notice:before {
  width: 96%;
  margin-left: -48%;
  bottom: -5px;
  z-index: -2;
}

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

.entry-content blockquote {
  border-left: 5px solid #CCC;
  margin: 30px 0;
  padding-left: 20px;
  font-size: 1.2em;
  font-style: italic;
}

.entry-list .entry {
  text-align: center;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.entry-meta {
  display: inline-block;
  margin-bottom: 5px;
}

#paging {
  margin-bottom: 30px;
}

#paging a,
#paging a:visited,
#paging span {
  background: #FFF;
  display: inline-block;
  line-height: normal;
  margin-right: 2px;
  border: 1px solid #dddddd;
  color: #000;
  padding: 5px 10px;
  font-size: 14px;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}

#paging a:hover,
#paging span.current {
  color: #FFF;
  text-decoration: none;
}

.notice {
  margin-bottom: 50px;
  padding: 20px 20px 20px;
}

.notice > p {
  margin-bottom: 5px;
}

.notice .searchform input {
  border: 1px solid #eeeeee;
}

.error404 .notice {
  padding: 40px 150px;
  text-align: center;
  width: 80%;
  margin: 0 auto 50px;
}

/* -----------------------------------------
	Footer
----------------------------------------- */

#footer {
  background: #FFF;
  padding: 20px;
  font-size: 12px;
  text-transform: uppercase;
}

#footer p {
  margin: 0;
  color: #b3b3b3;
}

.bottom-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bottom-nav li {
  display: inline-block;
  margin: 0 7px;
}

.bottom-nav li:first-child {
  margin-left: 0;
}

.bottom-nav li a,
.bottom-nav li a:active {
  color: #1e1e1e;
}

.text-right {
  text-align: right;
}

/* -----------------------------------------
   Comments
----------------------------------------- */

#comments {
  margin: 50px 0 30px 0;
}

#comments h3 {
  margin: 0 0 30px;
}

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

.comment-meta {
  padding-bottom: 0;
  margin-bottom: 0;
  display: block;
}

.comment-meta a,
.comment-meta a:visited {
  font-weight: bold;
}

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

.post-comments ol,
.post-comments ul {
  list-style: none;
  font-size: inherit;
}

.post-comments > ol {
  margin-left: 0;
  margin-bottom: 0;
}

.post-comments li {
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

.post-comments .avatar {
  float: left;
  top: 0;
  left: 0;
  margin: 0 15px 5px 0;
  text-align: center;
}

.post-comments .comment-text {
  padding: 30px;
}

#comment-list > li {
  border-bottom: 1px solid #e2e1db;
}

#comment-list > li:first-child {
  border-top: 1px solid #e2e1db;
}

.post-comments > .comment-text:last-child {
  margin-bottom: 0;
}

.post-comments .comment-copy {
  margin-left: 80px;
  padding: 0;
  font-size: 13px;
}

.post-comments .comment-copy p {
  margin-bottom: 10px;
}

#cancel-comment-reply-link {
  display: block;
  font-size: 12px;
  margin: -30px 0 10px;
}

#comments a.comment-reply-link {
  font-size: 12px;
  margin-top: 5px;
  display: inline-block;
}

#comment-list #respond {
  margin-bottom: 30px;
}

.pp_inline label {
  display: inline;
}

/* -----------------------------------------
   Comment Form
----------------------------------------- */

#form-wrapper {
  margin: 40px 0 0 0;
}

#form-wrapper form {
  margin-bottom: 0;
}

.post-form label {
  display: block;
  padding-bottom: 5px;
}

.post-form input[type=text] {
  width: 50%;
}

.post-form input[type=submit] {
  margin-bottom: 0;
}

.post-form textarea {
  width: 90%;
  height: 200px;
}

#post-action {
  margin-bottom: 0;
}

/* -----------------------------------------
	Widgets
----------------------------------------- */

.widget {
  margin-bottom: 35px;
}

#sidebar .widget:last-child {
  margin-bottom: 0;
}

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

.widget ul li {
  padding: 5px 0;
  border-bottom: 1px dotted #d8d8d8;
  display: block;
  margin: 0;
}

.widget ul ul.children li:first-child {
  border-top: 1px dotted #d8d8d8;
}

.widget ul ul.children li:last-child {
  border-bottom: none;
}

.widget ul.children {
  margin-top: 5px;
}

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

/* WIDGET: #Address
========================================= */

.widget_ci_address_widget p {
  margin: 0;
}

.widget_ci_address_widget ul li {
  padding: 0;
  margin: 0;
  border: none;
}

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

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

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

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

.searchform {
  line-height: 1;
  position: relative;
}

.searchform > div {
  position: relative;
  line-height: 1;
}

.searchform .screen-reader-text {
  display: none;
}

.searchform input[type=text] {
  border-radius: 0;
  margin: 0;
  width: 100%;
  font: inherit;
  line-height: 1;
  height: 40px;
}

.searchsubmit {
  font-size: 14px;
  line-height: 0;
  padding: 3px 15px 2px !important;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border: none;
  background: #CCC;
}

/* 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_ci_about .alignleft {
  float: left;
  margin: 5px 10px 6px 0;
}

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

/* 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 .twitter-time {
  display: block;
  font-size: 0.85em;
}

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

#wp-calendar {
  width: 100%;
}

#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;
}

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

/* WIDGET: #Social Icons
========================================= */

.social-icon i {
  width: 36px;
  height: 36px;
  line-height: 36px;
  background-color: #333;
  color: #FFF;
  border: 1px solid #333;
  font-size: 24px;
  border-radius: 36px;
  text-align: center;
  display: inline-block;
}

.social-icon:hover i {
  background-color: #575757;
}

/* ----------------------------------------------
	Helpers, WordPress Defaults, Generic Items
---------------------------------------------- */

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

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

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

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

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

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

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.entry-thumb a img.alignnone,
.notice a img.alignnone,
.entry-thumb a img.aligncenter,
.notice a img.aligncenter,
.entry-thumb a img.alingleft,
.notice a img.alingleft {
  margin: 0;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

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

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.gallery {
  margin-bottom: 20px;
  overflow: hidden;
}

.gallery-item {
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
  position: relative;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 48%;
  max-width: calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
  max-width: 32%;
  max-width: calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
  max-width: 23%;
  max-width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
  max-width: 19%;
  max-width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
  max-width: 15%;
  max-width: calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
  max-width: 13%;
  max-width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
  max-width: 11%;
  max-width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
  max-width: 9%;
  max-width: calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
  margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
  clear: left;
}

.gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-height: 50%;
  opacity: 0;
  padding: 6px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  width: 100%;
}

.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-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

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

label {
  display: block;
  font-size: 90%;
  margin-bottom: 2px;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
  border-radius: 0;
  box-shadow: none;
  width: auto;
  font: inherit;
  padding: 11px 10px;
  height: auto;
  border: 2px solid transparent;
  line-height: normal;
  -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;
  min-width: 80%;
}

textarea {
  width: 100%;
  height: auto;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
textarea:focus {
  background: #fafafa;
  border: 2px solid #1E95DB;
  outline: none;
}

fieldset {
  padding: 15px 15px 0 15px;
}

fieldset legend {
  font-weight: bold;
  padding: 0 3px;
  margin: 0;
  margin-left: -3px;
}

input.highlight {
  border-color: #ff4a4a;
}

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

a.btn,
a.btn:visited,
input[type=submit],
button[type=submit] {
  line-height: normal;
  padding: 12px 45px;
  text-transform: uppercase;
  color: #FFF;
  border: none;
  border-radius: 0;
  font-size: 14px;
}

a.btn:focus,
a.btn:visited:focus,
input[type=submit]:focus,
button[type=submit]:focus {
  color: #FFF;
  text-decoration: none;
}

a.btn:hover,
input[type=submit]:hover,
button:hover {
  text-decoration: none;
  color: #FFF;
}

/* -----------------------------------------
	External Plugins
----------------------------------------- */

/* WP Instagram */

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

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

.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;
  color: #1E95DB;
}

@media (max-width: 991px) {
  .error404 .notice {
    padding: 40px 20px;
    width: 100%;
  }
}