/*
Theme Name: Pismenost
Theme URI: https://afterimagedesigns.com/wp-bootstrap-starter/
Author: Krabat d.o.o.
Author URI: https://www.krabatmedia.com/
Description:  The best WordPress starter theme based on the most powerful frameworks in the world: "_s" (by Automattic, the main people behind WordPress development), Twitter Bootstrap (the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web) and Font Awesome (or Fontawesome, a full suite of 675+ pictographic icons for easy scalable vector graphics on websites). This theme, like WordPress, is licensed under the GPL. You can use this theme as base for your next WordPress theme project and you are allowed to remove the link at the footer or do whatever you want. Your feedback on how we can continuously improve this WordPress Starter Theme Bootstrap will be highly appreciated. Page templates includes Right-sidebar (default page template), Left-Sidebar, Full-Width, Blank with container, Blank without container Page. Other features - Currently using Bootstrap v4.0.0-alpha.6, Widgetized footer area, WooCommerce ready, Compatible with Contact Form 7, Compatible with Visual Composer, Compatible with Elementor Page Builder. This theme will be an active project which we will update from time to time. Check this page regularly for the updates.
Version: 2.5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pismenost
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
  ## Links
  ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
  ## Posts and pages
  ## Comments
# Infinite scroll
# Media
  ## Captions
  ## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

.container {
  max-width: 1180px;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1rem;
  outline: medium none;
  text-decoration: none;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

.navbar-expand-lg>.container {
  padding: 0 20px;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
nav {
  padding: 0;
}

.navbar {
  padding: 5px 0;
}

.navbar-nav > li > a {  
  color: #343434 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0;
  position: relative;
}

.navbar-nav > li > a:hover {
  color: #6ec66f !important;  
}

.navbar-nav > li.active > a:after {
  position: absolute;
  content: '';
  left: 0;
  bottom: -42px;
  width: 100%;
  height: 4px;
  background: #6ec66f;
}

.navbar-brand {
  height: auto;
  margin-right: 0;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu {
  font-size: .9rem;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #343434;  
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #343434 none repeat scroll 0 0;
  color: #fff;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  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;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  /*margin: 0 0 1.5em;*/
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {  
  color: #023c63;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {  
  padding-top: 1.5rem;  
  min-height: calc(100vh - 248px);
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: fontawesome;
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 1rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# 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 {    
  text-align: center;  
}

.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text {
  font-size: 14px;
  line-height: 1.2; 
  margin-top: 5px; 
}

.wp-caption-text {
  text-align: center;
}

.psgal figure figcaption {
	font-size: 14px !important;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  background: #fff;
  color: #99979c;
  margin-top: 1.5rem;
}

footer#colophon img {
  margin: 5px 0;
}

.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}


/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/
* {
  outline: none;
}

body {  
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9;
  color: #343434;  
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600 !important;
  color: #023c63;
}

a, 
a:hover {
  color: #343434;
  transition: all .5s;
}

.margin-left-15 {
  margin-left: 15px !important; 
}

.topbar {
  background: #023c63;    
  min-height: 40px;  
  padding: 10px 0;
  color: #fff;
}

.navbar-light {
  background: #fff;  
  border-bottom: 4px solid #023c63;
}

.strong {
  font-weight: 600;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.4rem;
}

.section-head {
  position: relative;
  background: #fff;
}

.section-head:after {  
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;  
  position: absolute;
  color: #023c63;
  font-size: 20px;
  top: 10px;
  right: 15px;    
}

.section-head.news-icon:after {
  content: "\f1ea"; 
}

.section-head .archive {  
  font-size: 14px;    
  margin-left: -50px;
  padding-top: 14px;  
  color: #023c63;
}

.entry-meta {
  font-size: 14px;
}

.meta {
  margin-top: 10px;
}

.section-title,
.entry-title,
.category-title {
  margin: 0;  
  padding: 7px 15px 7px 10px;
  background: #fff;  
  border-left: 6px solid #023c63;
}

.single-post .entry-title {
  padding: 4px 15px 4px 10px;
}

.home-article {  
  min-height: 285px;
}

.home-article-thumbnail img {
  width: 100%;
  max-height: 285px;
  min-height: 285px;
  object-fit: cover;
}

.home-article-container {
  min-height: 285px;
  background: #023c63;   
  padding: 15px !important;    
}

.home-article-container,
.home-article-container a {
  color: #fff !important;
}

.home-even {
  background: #6ec66f;  
}

.home-even,
.home-even a {
  color: #023c63;
}

.post-thumbnail {
  margin-bottom: 20px;
  text-align: center;
}

.home-publish-info {
  font-size: 13px;
  margin-bottom: 10px;
}

.home-article-content p {
  margin-bottom: 5px;
}

.read-more {
    font-weight: 600;
    font-size: 16px;    
    padding: 6px 10px;  
    transition: background .5s;
}

.read-more:hover {
  background: #fff;  
}

.read-more:hover a {
  color: #343434 !important;
  text-decoration: none;
}

.home-even .read-more {
  border-color: #023c63;
}

.home-even .read-more:hover {
  background: #023c63;  
}

.home-even .read-more:hover a {
  color: #fff !important;
}

ul.social-share-icons {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  position: absolute;
  bottom: 10px;
  right: 20px;
}

.bottom-category ul.social-share-icons,
#books ul.social-share-icons  {
  right: 0px;
}

ul.social-share-icons li {
  display: inline-block;
  margin-right: 5px;
}

ul.social-share-icons li:last-child {
  margin-right: 0 !important;
}

ul.social-share-icons li i {
  font-size: 18px;
}

.page-numbers {
  padding: 5px 10px;
  background: #fff;
  color: #343434;
  font-weight: 700;
}

.page-numbers.current {
  background: #023c63;
  color: #fff;
}

.page-numbers:hover {
  background: #023c63;
  color: #fff !important;
}

.dropdown-menu {
  margin: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.05);
}

ul.dropdown-menu .dropdown-toggle,
.dropdown-item {  
  padding: 0.6rem 0.8rem !important;
  color: #343434 !important;
}

.dropdown-item:focus, .dropdown-item:hover,
ul.dropdown-menu .dropdown-toggle:focus, ul.dropdown-menu  .dropdown-toggle:hover {
  background: #343434; 
  color: #fff !important;
}

blockquote {
  padding: 40px 12px 30px 12px;
  margin: 30px 0px 30px 0;
  border: 0;
  font-size: 1.3rem;
  line-height: 1.7;
  text-align: center;
  font-style: italic;
  position: relative;
  color: #888;
}

blockquote::before{
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 20px;
  font-style: normal;
  color: #ddd;
  text-align: left;  
  width: 100%;
  float: left;
}

blockquote::after{
  content: "\201D";
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 20px;
  font-style: normal;
  color: #ddd;
  text-align: right;  
  width: 100%;
  float: left;
  padding: 20px 0 0 0;
}

.form-control {
  border-radius: 0;  
  color: #343434;
}

[type="search"]:focus {
  border-color: #000;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.6);  
}

.nav-link {
  padding: .2rem .8rem;
}

.pswp__caption__center {
  max-width: 100%;
}

.psgal figure figcaption {  
  margin-top: 4px;
  line-height: 1.2;
}

.pagination, 
.nav-links {
  margin-top: 10px;
}

ul.social-share-icons-lg {
  position: relative;
  bottom: 0;
  right: 0; 
}

ul.social-share-icons-lg li i {
  font-size: 24px;
  color: #023c63;
}

h3.widget-title {
  background: #fff;
  position: relative;
  padding: 10px 15px 10px 10px;
  border-left: 6px solid #023c63;
  margin-bottom: 0;
}

h3.widget-title:after {  
  content: "\f05a"; 
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;  
  position: absolute;
  color: #023c63;
  font-size: 20px;
  top: 13px;
  right: 15px;    
}

.post a {
  text-decoration: underline;
}

.contact {
  background: #fff;
  padding: 10px;
  margin-bottom: 25px;
}

.contact p {
  font-size: 14px;
  margin-bottom: 1rem;
}

.contact p:last-child {
  margin-bottom: 0;
}

#primary .contact:last-child {
  margin-bottom: 0;
}

#content a {
  color: #023c63;
}

ul {
  margin-bottom: 20px;
}

ul ul {
  margin-top: 10px;
}

.partner {
  background: #fff;
  padding: 20px 0;  
}

.btn-partner {
  border-radius: 0;
  min-width: 200px;
  margin: 15px 0;
  background: #023c63;  
  color: #fff !important;
  border: none;  
}

.btn-partner:last-child {
  margin: 0;
}

.btn-partner:focus,.btn-partner:active {
   outline: none !important;
   box-shadow: none !important;
   background: #023c63 !important;
}

.btn-partner:hover {
  background: #6ec66f !important;   
} 

table {
  background: #cfe1eb;
  color: #343434;  
}

table tr td {
  padding: 5px;
}

table tr:first-child {
  background: #023c63;
  color: #fff;
}

table tr:nth-child(2n) {
  background: #fff;
  color: #343434;
}

.card {
  border: none;
  background: transparent;
}

.card,
.card-header:first-child {
  border-radius: 0;
}

.card-header {
  padding: 0;
  border: none;
  background: #fff;
  border-left: 6px solid #023c63;
  margin-bottom: 20px;
}

.card-header .btn {
  color: #023c63;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0px 15px 0px 10px;
  height: 40px;
  line-height: 10px;
}

.card-body {
  padding: 0;
}

.press-downloads i {
  color: #023c63;
  margin-right: 5px;
}

.press-downloads a {
  display: inline-block;
  margin: 5px 0;
}

.wpcf7-form {
  margin: 50px 0 0 0;
}

.wpcf7-form p {
  margin-bottom: 0px;  
}

.wpcf7-form-control {
  height: 35px;
  padding: 0 10px;
  border: 1px solid #023c63;
  border-radius: 0;
  background: transparent;
  float: left;
}

.wpcf7-form-control[type="email"] {
  max-width: 270px;    
}

.wpcf7-form-control[type="submit"] {
  margin: -24px 0 0 10px;
  background: #023c63;
  color: #fff;
  transition: background .5s;
}

.wpcf7-form-control[type="submit"]:hover {
  background: #6ec66f;
  border-color: #6ec66f;
}

div.wpcf7 .ajax-loader {
  margin-top: -40px;
}

div.wpcf7-response-output {
  margin: 10px 0 0 0;
  border-color: #023c63;
  background: #023c63;
  color: #fff;
  font-size: 14px;
  padding: 2px 4px;
}

span.wpcf7-not-valid-tip {
  display: none;
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media (min-width: 990px) {
  .navbar {
    min-height: 104px;
  }  
}

@media (min-width: 1024px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li ul.dropdown-menu {
    top: 0;
    right: -50px;
    margin-left: 99.5%;
  }

  .dropdown-menu li ul.dropdown-menu {
    display: none !important;
  }

  .dropdown-menu li:hover ul.dropdown-menu {
    display: block !important;
  }
}  

@media (max-width: 1280px) {
  html {
    font-size: 95%;
  }

  .navbar-nav > li.active > a::after {
    bottom: -43px;
  }
}

@media (max-width: 1023px) {
  html {
    font-size: 93%;
  }

  .dropdown-menu {
    min-width: 12.500rem;
  }

  .dropdown .open .dropdown-menu {
    display: block;
    left: 12.250em;
    top: 0;
  }
}

@media (max-width: 1091px) {   
  html {
    font-size: 90%;
  }

  .navbar img {
    max-height: 60px;
  }
}

@media (max-width: 991px) {
  .navbar-nav > li.active > a::after {
    display: none;
  }

  .navbar-nav > li.active > a {
    color: #6ec66f !important;
  }

  aside#secondary {
    margin: 20px auto 0 auto;
    max-width: 370px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 88%;
  }

  ul.social-share-icons-lg {
    top: 8px;
  }

  ul.social-share-icons-lg li i {
    font-size: 20px;
   }

  .home-article-thumbnail img {
    object-fit: unset;
    min-height: unset;
    max-height: unset;
  }
}

@media (max-width: 575px) {
  .contact .col-md-7 {
    margin-top: 20px;
  }
}

@media (max-width: 430px) {
	.files {
		display: block;
	}
}

@media (max-width: 415px) {
  .navbar-brand {
    width: 100%;
  }

  .navbar-brand img {
    display: block;
    margin: 0 auto;
  }

  .wpcf7-form-control[type="email"] {
    max-width: 100%;
  }

  .wpcf7-form-control[type="submit"] {
    margin: 10px 0px 20px 0px;
  }

  div.wpcf7 .ajax-loader {
    margin-top: 20px;
  }

  div.wpcf7-response-output {
    margin-top: 25px;
  }
}