/**
 * Custome BS&T, USA definitions
 */

/**
 * Overwrite foundation definitions
 */

.fixed {
  width: 100%;
  position: relative;
  top: 0;
  z-index: 99;
  left: 0;
}

body {
  font-family: 'Bell MT', 'Georgia', 'Crimson Text', serif;
  font-size: 16px;
  font-weight: 100;
  line-height: 1.5;
  color: #1d1d1d;
  background: #fbb040;
  margin : 0;
  padding : 0;
  min-height: 480px;
}

h1 {
  font-family: 'Bell MT', 'Georgia', 'Crimson Text', serif;
  font-size: 2.2em;
  font-weight: 300;
  padding: 1em 0 0 0;
}

p {
  font-family: 'Bell MT', 'Georgia', 'Crimson Text', serif;
  margin-bottom: 1.25em;
  font-weight: 300;
  color: #1d1d1d;
}

img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;

  /* Set up proportionate scaling */
  width: 100%;
  height: auto;

  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;

  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bell MT', 'Georgia', 'Crimson Text', serif;
  font-weight: 500;
  color: #1d1d1d;
}

.biz-name {
  font-size: 1.35em;
  font-weight: 800;
  padding-top: 0;
  margin-top: -.25em;
}

.container {
  background: white;
  margin: 2em;
  padding: 1em;
}

@media screen and (max-width: 1024px){
  .container  {
    margin: .5em;
    padding: 1em;
  }
}
.top-bar {
  font-weight: 500;
  background-color: white;
  height: 40px;
  color: #1d1d1d;
  margin-bottom: 0em;
}
.top-bar .name h1 a {
  font-weight: bold;
  color: black;
  width: 50%;
  display: block;
  padding: 0 15px;
}
.top-bar .toggle-topbar a {
  color: black;
}

.top-bar.expanded {
  background-color: white;
}
.top-bar.expanded .title-area {
  background-color: white;
}
.top-bar.expanded .toggle-topbar a {
  color: #1d1d1d;
}
.top-bar.expanded .toggle-topbar a span {
  -webkit-box-shadow: 0 10px 0 1px #3d3d3d, 0 16px 0 1px #3d3d3d, 0 22px 0 1px #3d3d3d;
  box-shadow: 0 10px 0 1px #3d3d3d, 0 16px 0 1px #3d3d3d, 0 22px 0 1px #3d3d3d;
}

.top-bar-section {
  left: auto;
}
.top-bar-section ul {
  background: white;
  font-size: 1.25em;
}
.top-bar-section ul li > a {
  color: black;
}
.top-bar-section ul li.active > a {
  background: #ededed;
  color: #1d1d1d;
}
.top-bar-section li a:not(.button) {
  background-color: white;
}
.top-bar-section li a:not(.button):hover {
  background: #ededed;
  color: #6d6d6d;
}
.top-bar-section .dropdown li a {
  background: #b9b9b9;
}
.top-bar-section .dropdown li a:hover {
  background: #b9b9b9;
}
.top-bar-section .dropdown li label {
  background: #b9b9b9;
  color: #1d1d1d;
}
.top-bar-section .has-dropdown > a:hover:after {
    border-color: transparent transparent transparent rgba(30, 30, 30, 1);
}

.content {
  margin-top: 0em;
}
@media only screen and (min-width: 48em) {
  .content {
    margin-top: 1em;
  }
  .top-bar {
    margin-bottom: 1.5em;
  }
  .top-bar-section .has-dropdown > a:hover:after {
      border-color: rgba(30, 30, 30, 1) transparent transparent transparent;
  }
}

.top-bar .name h1 a {
  font-weight: 500;
}
.top-bar .toggle-topbar a {
  font-weight: 500;
}
.top-bar-section ul li > a {
  font-weight: 500;
}
.top-bar-section .dropdown label {
  font-weight: 500;
}
.top-bar .toggle-topbar.menu-icon {
  right: 15px;
  top: 25%;
  margin-top: -16px;
  padding-left: 40px;
}
.top-bar .toggle-topbar.menu-icon a span {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0;
  display: block;
  width: 16px;
  height: 0;
  -webkit-box-shadow: 0 10px 0 1px black, 0 16px 0 1px black, 0 22px 0 1px black;
  box-shadow: 0 10px 0 1px black, 0 16px 0 1px black, 0 22px 0 1px black;
}


.alert-box {
  padding-left: .5em;
  font-weight: 500;
  font-size: 1em;
}
.alert-box h3 {
  color: white;
}

.reveal-modal.alert {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
 }

 .reveal-modal-bg {
  background: rgba(0, 0, 0, 0.85);
}

@media only screen and (min-width: 48em) {
  .reveal-modal {
    padding: 0em;
    top: 2em;
  }
}

.orbit-container {
  height:250px;
  width: 250px;
  background-color: rgba(0, 0, 0, 0);
}
.orbit-container .orbit-prev,
  .orbit-container .orbit-next {
    background-color: rgba(0, 0, 0, 0);
    color: rgba(0, 0, 0, 0.6);
}
.orbit-container .orbit-slide-number {
  color: rgba(0, 0, 0, 0.0);
}
.orbit-container .orbit-timer .orbit-progress {
  height: 100%;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.0);
}
.orbit-container .orbit-prev > span {
  border-right-color: rgba(255, 255, 255, 0.0);
}
.orbit-container .orbit-next > span {
  border-left-color: rgba(255, 255, 255, 0.0);
}
.orbit-container .orbit-prev:hover > span {
  border-right-color: rgba(255, 255, 255, 0.7);
}
.orbit-container .orbit-next:hover > span {
  border-left-color: rgba(255, 255, 255, 0.7);
}
.orbit-bullets {
  margin-bottom: 10px;
}
.orbit-bullets li {
  border: solid 1px #6d6d6d;
  width: 12px;
  height: 12px;
}
.orbit-bullets li.active {
  background: #fbb040;
}

@media only screen and (min-width: 48em) {
  .orbit-container {
    height: 480px;
    width:100%;
  }
}
@media only screen and (max-width: 1024px) {
    .orbit-container {
      margin-left: auto;
      margin-right: auto;
    }
}
.table {
  border: solid 1px #bbbbbb;
}
table tr.even, table tr.alt, table tr:nth-of-type(even) {
  background: #e8e8e8;
}
table tr.clickable {
  cursor: pointer;
}

button, .button {
  background: #0d0d0d;
  font-weight: 500;
  border: none;
}

button:hover, button:focus, .button:hover, .button:focus {
  background-color: #3d3d3d;
}

@media only screen {
  .button {
    -webkit-box-shadow: none;
    box-shadow: none;
    .button:active {
      -webkit-box-shadow: none;
      box-shadow: none; }
  }
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
  background-color: white;
  border: 1px solid #cccccc;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-size: 1em;
  margin: 0 0 1em 0;
  padding: 0.5em;
  height: 2.5em;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0px;
}
select {
  -webkit-gradient: none;
  border-radius: 0px;
  border: 1px solid #cccccc;
}
select option { color: black; }
select option:first-child { color: grey; }
select.empty { color: grey; }
/* Hidden placeholder */
select option[disabled]:first-child { display: none; }
#exp_mo { color: grey; }

/**
 * Custome Dnote definitions
 */

img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;

  /* Set up proportionate scaling */
  width: 100%;
  height: auto;

  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;

  z-index: -1;
}

@media screen and (max-width: 1024px){
  img.bg {
    left: 50%;
    margin-left: -512px;
  }
}

.footnote {
  color: #6d6d6d;
  font-size: .8em;
  margin-top: 3em;
}

.screen-name {
  font-weight: 500;
  background-color: white;
}
@media screen and (max-width: 767px){
  .screen {
    line-height: 1.5em;
  }
  .screen-name h4 {
    line-height: 1.5em;
    font-size: 1em;
    font-weight: 500;
  }
}

#email_phone,
#fname,
#lname {
  font-size: 1em;
}
@media only screen and (max-width: 48em) {
    .reveal-modal.xlarge {
      top: 5em;
      padding:0;
      margin-left: -49%;
      width: 98%;
      height: 100%;
    }
}

.error small,
small.error {
  font-weight: 500;
}

.button.disabled.secondary.filter {
    background-color: #1680c3;
    border-color: #116295;
    color: white;
    opacity: 1.0;
}

  .grid {
    border: none;
    border-bottom: none;
    border-right: none;
    overflow: hidden;
    background-color: white;
  }
  .grid li {
    border-bottom: none;
    border-right: none;
    float: left;
    overflow: hidden;
    position: relative;
    width: 33.333%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    padding-left:10px !important;
  }

  .ie7 .grid li {
    width: 26.5%;
    padding-left:10px !important;
  }

  .grid li a {
    display: block;
  }
  .grid img {
    display: block;
    height: auto;
    border:0px !important;
    width: 60%;
    opacity: 1;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=65)";
    filter: alpha(opacity=65);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
  }
  .grid li:hover img {
    opacity: 1;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
  }

  .grid-sm {
    border: none;
    border-bottom: none;
    border-right: none;
    overflow: hidden;
    background-color: white;
  }
  .grid-sm li {
    border-bottom: none;
    border-right: none;
    float: left;
    overflow: hidden;
    position: relative;
    width: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    padding-left:10px !important;
  }
  .ie7 .grid-sm li {
    width: 48.5%;
    padding-left:10px !important;
  }
  .grid-sm li a {
    display: block;
  }
  .grid-sm img {
    display: block;
    height: auto;
    border:0px !important;
    width: 100%;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=65)";
    filter: alpha(opacity=65);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
  }
  .grid-sm li:hover img {
    opacity: 1;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
  }

  #services li:hover .original_img,  .ie7 #services li:hover a img, .ie8 #services li:hover a img {
    opacity: 1;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
  }
  #services li:hover .grayscale_img {
    opacity: 1;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
  #services .tile:hover, #services .tile.active {
    background: white;
  }
