/*!
Theme Name: MerlinCRM Spring
Theme URI: https://www.merlincrm.com/
Author: MerlinCRM
Theme URI: https://www.merlincrm.com/
Description: A WordPress theme by MerlinCRM.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: merlincrm
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

MerlinCRM Spring is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

#top-nav {
  background-color: white;
  border-color: transparent;
}
#top-nav-language {
  height: 36px;
  display: flex;
  align-items: center;
  color: white;
  background-color: #413737;
}
#top-nav-language .glyphicon-phone-alt {
  margin: 0 8px 0 16px;
}
#top-nav-language a {
  color: white;
}
#top-nav-menu {
  display: flex;
  align-items: center;
  min-height: 80px;
}
.brand-logo {
  max-height: 48px;
  max-width: 192px;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
  background-color: transparent;
}
.site-content {
  padding-top: 116px;
  padding-bottom: 24px;
}
.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.6);
  background-color: #2e3e77;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.6);
}
.site-footer a:focus, .site-footer a:hover {
  color: #f9a134;
}
.site-footer .row {
  line-height: 28px;
}
.site-footer .footer-column {
  padding: 16px;
}
.site-footer .column-header {
  font-size: 18px;
  color: white;
}
.contact-info {
  display: flex;
  align-items: center;
}
.contact-info:not(:last-child) {
  margin-bottom: 16px;
}
.contact-info-icon {
  margin-right: 16px;
  font-size: 18px;
}
.site-footer .copyright {
  margin-top: 16px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  line-height: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.copyright .powered-by {
  color: #f9a134;
}
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 76px;
  right: 30px;
  cursor: pointer;
  z-index: 100;
}
#scrollToTop .chevron-up {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  background-color: #ff3115;
}

.page-header {
  margin: 48px 0 0 0;
  padding-bottom: 0;
  border-bottom: none;
}
.page-header h2 {
  margin-bottom: 0;
  padding-bottom: 16px;
  text-align: center;
  color: #334686;
}
.page-header h2:before {
  background: #ff3102;
  width: 10%;
  z-index: 1;
  -webkit-transform: skew(-45deg) translateX(-50%);
  transform: skew(-45deg) translateX(-50%);
}
.page-header h2:after {
  background: #0b3ab2;
  width: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.page-header h2:before, .page-header h2:after {
  position: absolute;
  content: '';
  height: 6px;
  left: 50%;
  bottom: 0;
}
.page-banner {
  height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-banner:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .36);
}
.page-banner h2 {
  margin: 20px 0;
  text-align: center;
  color: white;
  z-index: 100;
}
.page-content {
  margin-top: 32px;
}

@media (min-width: 768px) {
  #top-nav-menu .container {
    display: flex;
    align-items: center;
  }
  .brand-logo {
    margin-right: 48px;
  }
  #top-nav .navbar-nav>li>a {
    display: flex;
    align-items: center;
    color: #2c2d2f;
    font-size: 16px;
  }
  #top-nav .navbar-nav>li>a:focus, #top-nav .navbar-nav>li>a:hover {
    color: #199ed9;
  }
  #navbar-nav-primary {
    height: 80px;
    display: flex;
  }
  #navbar-nav-primary li {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
  }
  .dropdown-menu>li>a {
    width: 100%;
  }
  .site-footer .column-header {
    min-height: 64px;
  }
}

@media (max-width: 767px) {
  #top-nav-menu .container {
    width: 100%;
  }
  #top-nav-menu .navbar-wrapper {
    margin-left: -15px;
    margin-right: -15px;
  }
  #top-nav .navbar-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #top-nav .navbar-header .navbar-toggle {
    margin: 0;
    position: absolute;
    right: 8px;
    border-color: transparent;
  }
  #top-nav .navbar-header .navbar-toggle:focus, #top-nav .navbar-header .navbar-toggle:hover {
    background-color: transparent;
  }
  #navbar-primary {
    max-height: none;
    height: calc(100vh - 116px);
  }
  #navbar-primary .menu-item {
    padding: 4px 12px;
  }
  .site-footer .column-header {
    margin-bottom: 8px;
  }
  .site-footer .copyright {
    flex-direction: column;
    text-align: center;
  }
}

.aspect-ratio-1-1 {
  padding-bottom: 100%;
}
.aspect-ratio-2-1 {
  padding-bottom: 50%;
}
.aspect-ratio-4-3 {
  padding-bottom: 75%;
}
.aspect-ratio-16-9 {
  padding-bottom: 56.25%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
