/* ==========================================================================
   Colors

   blue: #002d62
   orange: #f7a11a
   ========================================================================== */

img {max-width: 100%;}
a {transition: all .3s;}
html {
  overflow-x: hidden; 
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  }
body {
  padding: 1em 0;
  letter-spacing: 1.5px;
  overflow-x: hidden;
}
article {margin: 2em 0 5em 0;}
h3 {
  text-transform: uppercase;
}
p {margin-bottom: 1em;}
q {color: #002d62; font-style: italic;}
strong {font-weight: bolder; font-style: italic;}
footer {
  background-color: #002d62;
  color: #fff;
  padding: 2em 0;
}
footer h3 {
  color: #f7a11a;
  font-size: 1.25em;
}
footer li {
  margin: .5em 0 0 0;
}
footer ul ul li {
  margin: 0 0 .1em 1.25em;
}
header {
  position: fixed; 
  top: 0; 
  z-index: 999; 
  background-color: #fff; 
  padding-top:1rem; 
  padding-bottom: .8rem; 
  box-shadow: 0 1px 9px #dddddd;
}
header i {
  color: #f7a11a;
  position: relative;
  bottom: 50%;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
#desktop-nav, #footer-nav {
        display:none;
}

@media screen and (min-width: 800px) {
  #desktop-nav, #footer-nav {
        display: block;
    }
    nav#mobile {display: none;}
}


@media screen and (max-width: 799px) {
    /*#content {margin-top: 70px;}*/
 
    nav#mobile {
        background-color:#fff;
        box-shadow: 0 0 3px 2px rgba(0,0,0,0.3);
        display:block;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999999;
    }
 
    /*
    Top black bar that holds the toggle button
    */
 
    nav#mobile #toggle-bar {
        line-height:70px;
        height:70px;
    }
 
    /*
    Logo
    */
 
    nav#mobile img {
        height: 60px;
        padding: 5px 10px;
    }
 
    /*
    Toggle button ("Navicon")
    */
 
    nav#mobile .navicon {
        float: right;
        color: #002d62;
        padding-right: 10px;
    }
 
    /*
    The dropdown menu
    */
    #mmenu {margin: 0 10px;}
    
    nav#mobile ul li {
        clear:both;
        list-style:none;
        max-width: 100%;
    }
 
    nav#mobile ul li a {
        display:block;
        background-color:#eee;
        letter-spacing:.2em;
        margin:2px 0;
        padding:6px 0 6px 8px;
    }
 
    nav#mobile ul ul {
        font-size:small;
    }
 
    nav#mobile ul ul li {
        margin-left:30px;
    }
 
    nav#mobile ul ul a {
        background-color:#333;
        padding-left:8px;
    }
 
    nav#mobile ul ul a:before {
        content: "2192";
        padding-right:8px;
    }
}




/* ==========================================================================
   Other Stuff
   ========================================================================== */

.sunshot img {margin-bottom: 1em;}
.headline {position: relative; width: 100%; text-align: center;}
.headline h2 {font-size: 20px; width: 100%;}
.headline img {max-width: none; width: 100%;}

@media only screen and (max-width: 600px) {
  header div {margin-bottom:1em;}
  header .button {margin-bottom: 1.5em;}
}
@media only screen and (min-width: 600px) {
  .links a {float: right;}
  .headline-copy {
    position: absolute; 
    top: 10%;
    width: 100%;
  }
  .headline h2 {
    font-size: 34px; 
    margin: 1em 0;  
    text-shadow: 0 0 4px #fff;
    }
  .sunshot img {float: right; margin: 0 0 2em 2em;}
}

@media only screen and (min-width: 1000px) {
  .headline-copy {top: 20%;}
  .headline h2 {padding: 0 1em;}
  .headline h2 span {font-size: 1.25em;}
}
@media only screen and (min-width: 1200px) {
  .headline h2 {
    font-size: 38px;}
}
@media only screen and (min-width: 1600px) {
  .headline h2 {font-size: 42px;}
}
#drop2 a {float: none;}
#drop3 p {font-size: 12px; letter-spacing: normal; text-align: left;}
#drop3 a {text-decoration: underline;}
#drop3 a:hover {color: #f7a11a;}

.copyright {margin-top: 2em;}
.copyright span {font-size: 12px;}

.featured-logos a {width: 31%; float: left; margin-right: 2%; margin-bottom: 5px;}
@media only screen and (min-width: 600px) {
  .featured-logos a {width: 15%;}
  .featured-logos a:last-child {margin-right: 0;}
}

#content {position: relative; margin-bottom: 5em; padding-top: 60px;}
#home #content {width: 100%;}
#home h1 {display: none;}
#force-iframe iframe {width: 100% !important; overflow: visible; border: none;}

#terms-of-use-and-privacy-policy p, #terms-of-use-and-privacy-policy h3 {font-size: 80%;}

.wrapper, #content {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (min-width: 600px) {
  .wrapper, #content {width: 75%;}
}

a {
  color: #002d62;
  text-decoration: none;
  line-height: inherit; }
  a:hover, a:focus {
    color: #002754; }
  a img {
    border: none; }

footer .row a {
  color: #fff;
  text-decoration: none;
  line-height: inherit; }
  footer .row a:hover, footer .row a:focus {
    color: #f7a11a; }

.standout-text {padding: 1em; font-weight: bold; color:#002d62; font-style: italic; font-size: 130%;}

.round-photo {
  border-radius: 100%;
  box-shadow: 0 0 7px 1px #c5c5c5;
}

.philosophy h4 {margin: .75em 0 .75em 0;}

.icon-group {margin: 3em 0; text-align: center;}
.icon-group h3 {margin-bottom: .5em;}
.icon-group h4 {margin-top: 11px;}
.icon-group p {font-size: 1.4em; margin-top: 11px;}
.icon-group .round-photo {width: 50%; max-width: 200px;}

.leadership .round-photo {
  width: 80%;
  max-width: 300px;
}
.leadership h3 {margin: .5em 0 0 0;}
.leadership h4 {margin: 0 0 1.5em 0;}

#contact form {max-width: 700px;}
#contact input, #contact textarea {margin: 0; border-radius: 3px;}
#subscribe input, #subscribe button, #subscribe textarea {margin: 0; border-radius: 3px;}

#who-we-serve #address-form {margin: 2em auto 3em auto;}

#register-with-us .fancybox-wrap {position: fixed !important;}

#pace-lease .c25 {
  width: 22%;
  margin-right: 4%;
}
#pace-lease .c25:last-child {
  margin-right: 0;
}
#pace-lease .c33 {
  width: 22%;
  margin: 0 5%;
}
#pace-lease .icon-group p {font-size: 14px; line-height: 19px; text-align: justify;}
#pace-lease .icon-group strong {font-size: 21px;}

#demeter-my-building #content {width: 100%;}
#demeter-my-building h1 {display: none;}
#demeter-my-building iframe {height: 420px;}
@media only screen and (min-width: 900px) {
  #demeter-my-building iframe {height: 550px;}
}
@media only screen and (min-width: 1200px) {
  #demeter-my-building iframe {height: 700px;}
}
@media only screen and (min-width: 1600px) {
  #demeter-my-building iframe {height: 850px;}
}

@media only screen and (min-width: 800px) {
  .extend {
    padding: 2em 3000px;
    margin-left: -3000px;
    margin-right: -3000px;
    background-color: #e5e5e5;
  }
}
.c25 {
  float: left;
  width: 25%;
  margin: 0;
}
.c75 {
  float: left;
  width: 75%;
  padding-left: 4%;
  margin: 0;
}
@media only screen and (min-width: 800px) {
  .c33 {
  width: 31%;
  margin-right: 3%;
  float: left;
  }
  .c33:first-child {
    margin-left: 0;
  }
  .c33:last-child {
  margin-right: 0;
  border-right: none;
  }
  .c50 {
  float: left;
  width: 50%;
  padding-right: 50px;
  }
  .c50:last-child {padding-right:0;}
}
@media only screen and (min-width: 1000px) {
  .c25 {width: 20%;}
  .c75 {width: 80%;}
}

a.orange {
  background-color: #f7a11a;
}
a.orange:hover {
  background-color: #002d62;
}
a.title {color: #f7a11a; text-transform: uppercase; font-size: 1.25em;}



/* ==========================================================================
   Address Search Bar
   ========================================================================== */

.home-photo {position: relative;}

#address-form {
  position: relative;
  text-align: center;
  margin: 0 auto;
  background-size: 100%;
  width: 600px;
  height: 109px;
  background: transparent url(../img/address-input-600x109.png) no-repeat center center;
}
#address-form .button {
  position: relative;
  letter-spacing: 1px;
  top: 50px;
}
#address-input {
  background-color: transparent;
  font-style: italic;
  border: none;
  width: 90%;
  margin: 0 auto;
  position: relative;
  box-shadow: none;
  font-size: 1.3em;
  top: 30px;
}
.address-buttons {text-align: center;}

@media only screen and (min-width: 850px) {
  
  .home-photo #address-form {
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -300px;
    margin-bottom: -62px;
  }
}

@media only screen and (min-width: 1000px) {
  .home-photo #address-form {
    width: 900px;
    height: 122px;
    margin-left: -450px;
    background: transparent url(../img/address-input-900x122.png) no-repeat center center;
  }
  .home-photo #address-input {
    font-size: 1.5em;
    top: 40px;
  }
}

@media only screen and (min-width: 1200px) {
  .home-photo #address-form {
    top: 200px;
  }

/* ==========================================================================
   MityMo Styles
   ========================================================================== */

body {
  font-family: sans-serif;
  font-size: 15px;
  background-color: #eee;
}
body#tinymce {background-image: none !important; background: #fff none !important;}

h1 {font-size: 24px; margin: 0 0 1em 0;}
h2 {font-size: 22px; margin: 2em 0 1em 0; font-weight: normal;}
h3 {font-size: 18px; margin: 1em 0 .25em 0;}
h4 {font-size: 15px; margin: 1em 0 0 0;}

p {margin: 0 0 1em 0;}

ul.menu  {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.menu li {float: left;}
.menu a {
  display: block;
  text-decoration: none;
  padding: 4px;
}

#container {
  width: 960px;
  margin: 0 auto;
  background-color: #fff;
}

header .menu {padding: 10px}

#navigation {
  position: absolute;
  bottom: 0;
  left: 0;
}

#navigation .menu a {color: #fff;}

#search-box {
  float: right;
  padding: 10px;
}

#contents {
  float: left;
  width: 660px;
  padding: 10px 0 20px 20px;
}
body.no-sidebar #contents {width: 920px;}

#sidebar {
  float: right;
  width: 230px;
  padding-right: 20px;
}

#sidebar h2 {
  font-size: 16px;
  font-weight: bold;
}

ul.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sidebar-links {
  font-size: 18px;
}

.sidebar-links a {
  text-decoration: none;
  color: #333;
  padding: 5px 0;
  display: block;
  border-bottom: 1px solid #ccc;
}
.sidebar-links a:hover {
  background-color: #eee;
}

footer {
  clear: both;
  text-align: left;
}

footer ul.menu {display: inline-block;}

#copyright {
  text-align: center;
  padding: 20px 0;
}