/*
vim:fileencoding=utf-8:ts=2:sw=2:expandtab
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:600|Work+Sans:300,500');

/* Margin to allow space between bottom of content and top of footer */

#Footer{
  font-family: 'Work Sans';
  font-weight: 300;
  font-size: 12pt;
}

/* Prevents text from wrapping on mobile screens */

@media (max-width: 480px){
  #Footer .copyright{
    font-size: 10pt;
  }
}

#Primary {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #e7e7e7;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#Primary_Menu{
  margin-top: 0.5rem;
}

@media (min-width: 992px){
  #Primary_Menu{
    margin-top: 0;
  }
}

/* Override layout default because it was adding extra height to the menu */
#Primary_Menu .navbar-nav > li > a > span{
	vertical-align: top;
}

/* Header bar styles */

div.header-bar{
  box-shadow: none;
  display: block;
  background-color: #607D4D;
	padding: 15px 0;
}

div.header-bar .header-wrapper .box:first-child{
  flex: 1;
}

div.header-bar .header-wrapper .box:last-child{
  flex: 2;
}

div.header-bar .header-wrapper .box:first-child a img{
  height: 75px; 
  width: auto; 
  z-index: 99; 
  position: relative; 
  margin-bottom: -32px;
}

div.header-bar .header-wrapper .box:last-child{
  align-self: flex-end; 
  text-align: right;
}

div.header-bar .header-wrapper .box:last-child img{
  height: 14px; 
  width: auto;
  margin-bottom: 5px;
}

@media (max-width: 767px){
  div.header-bar .header-wrapper .box:last-child img{
    height: 12px;
  }
}

div.header-bar .header-wrapper .box:last-child p{
  margin-bottom: 0;
  font-size: 12pt;
}

div.header-bar .header-wrapper .box:last-child p:first-child span{
  font-family: 'Montserrat'; 
  font-weight: 600; 
  color: white;
	font-style: italic;
}

div.header-bar .header-wrapper .box:last-child p:last-child span:first-child{
  font-family: 'Montserrat'; 
  font-weight: 600; 
  color: white;
}

div.header-bar .header-wrapper .box:last-child p:last-child span.phone{
  color: white;
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid white;
}

@media (max-width: 480px){
  div.header-bar .header-wrapper .box:last-child p:last-child span.phone{
    display: none;
  }
}

/* Navbar styles */

.navbar-default{
  background-color: white;
}

.navbar-default .navbar-brand{
	display: inline-block;
}

.navbar-default .navbar-brand > img{
  height: 40px;
  width: auto;
  margin-top: 5px;
}

.navbar-default .navbar-brand{
	color: #46B038;
	font-weight: 600;
	font-size: 12pt;
	font-family: 'Montserrat';
}

.navbar .navbar-nav li a{
  font-family: 'Montserrat';
  font-weight: 600;
  color: #46B038;
  background-color: white;
  font-size: 12pt;
  margin-top: 0 !important; 
  margin-right: 0;
  padding: 10px !important;
  display: block;
}

@media (min-width: 992px){
  .navbar .navbar-nav li a{
    display: inline-block;
  }
}

@media (min-width: 1200px){
  .navbar .navbar-nav li a{
    padding-top: 15px;
    padding-bottom: 15px;
  }
	.navbar-default .navbar-brand{
		padding-top: 15px;
		padding-bottom: 15px;
	}
}

@media (max-width: 767px){
  .navbar-default .navbar-brand{
  	font-size: 2.25vw;
  }
}

/* Hover styles on menu items */

.navbar .navbar-nav li a:focus,
.navbar .navbar-nav li a:hover,
.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>.active>a:hover{
  background-color: #46B038;
  color: white;
}

/* Use SMART green on collapsed menu button */

.navbar-default .navbar-toggle .icon-bar{
  background-color: #46B038;
}

/* User tools menu isn't being utilized */

li.user-tools{
	display: none;
}

/*********************************************************************************************************************/ 

/* Default font to be used across the site */

p{
  font-family: 'Work Sans';
  font-size: 13pt;
  font-weight: 300;
}

div.width-md{
  width: 75%;
  margin: 0 auto;
}

@media (max-width: 767px){
  div.width-md{
    width: 100%;
  }
}

div.width-sm{
  width: 50%;
  margin: 0 auto;
}

@media (max-width: 1200px){
  div.width-sm{
    width: 75%;
  }
}

@media (max-width: 992px){
  div.width-sm{
    width: 100%;
  }
}

/* Custom gradient button */

.btn.smartplanz{
  background-image: linear-gradient(to right, #46B038 0%, #84C986 51%, #84C986 100%);
  color: white;
  border: 1px solid #84C986;
}

.btn.smartplanz-xl{
  background-image: linear-gradient(to right, #46B038 0%, #84C986 51%, #84C986 100%);
  color: white;
  border: 1px solid #84C986;
  padding: 20px 25px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}

.btn.smartplanz-lg{
  background-image: linear-gradient(to right, #46B038 0%, #84C986 51%, #84C986 100%);
  color: white;
  border: 1px solid #84C986;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}

.btn.smartplanz-sm{
  background-image: linear-gradient(to right, #46B038 0%, #84C986 51%, #84C986 100%);
  color: white;
  border: 1px solid #84C986;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

/* Subheader image with title overlay */

div.sub-hdr-img{
  height: 25em;
  position: relative;
  margin-bottom: 20px;
}

div.sub-hdr-img > div > div > h1{
  font-size: 32pt;
  color: white;
  text-shadow: 2px 2px 2px #222;
  margin: 0;
  position: absolute;
  bottom: 15px;
  font-family: 'Work Sans';
  font-weight: 300;
  transform: scale(1, .90);
}

div.line{
  border-top: 1px solid #eee;
  margin-bottom: 20px;
}

p.intro{
  font-size: 15pt;
  font-weight: 500;
}

/*********************************************************************************************************************/ 
/* Default flexbox styles */

div.quad-box, div.trio-box, div.duo-box, div.header-wrapper{
  display: flex;
}

div.quad-box div.box,
div.trio-box div.box,
div.duo-box div.box,
div.header-wrapper div.box{
  flex: 1;
}

/********************************************************Added Style*************************************************************/

#Primary .navbar-brand {
  display: block;
  padding: 0.3125rem 0 !important;
  color: #46B038;
  font-weight: 600;
  font-size: 12pt;
  font-family: 'Montserrat';
  text-decoration: none;
  white-space: normal !important;
}

#Primary .navbar-brand:hover {
  color: #454545;
}

p.mb-0.lh-sm {
  font-weight: 700;
}

.nav-link {
  display: inline-flex;
  padding: 5px 5px;
  text-decoration: none !important;
  transition: color 0.3s;
}

.nav-item.active .nav-link {
  background-color: #46B038;
  color: white;
}

.navbar-collapse {
  justify-content: flex-end;
}

.navbar-header {
  width: 100%;
}
