/*
 * Globals
 */


/* Links */

a,
a:focus,
a:hover {
    color: #fff;
}


/* Custom default button */

.btn-default {
    color: #fff;
    margin-top:20px;
    text-shadow: none;
    /* Prevent inheritence from `body` */
    background-color: #CD5C5C;
    /*#40729B #F2A564  #64B1F2 #233658 */
    border: 1px solid #CD5C5C;
    /* #40729B #F2A564  #64B1F2 #233658 */
}

.btn-default:hover,
.btn-default:focus {
    color: #fff;
    ;
    text-shadow: none;
    /* Prevent inheritence from `body` 
    background-color: #F2A564;
    border: 1px solid #F2A564; */
    background-color: tomato;
    border: 1px solid tomato;
}


/*
 * Base structure
 */

html,
body {
    height: 100%;
    /*background-color: #333;*/
}

body {
    color: #070a11;
    /* #233658 #425370 #64B1F2  #4a4a50 */
    text-align: center;
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 20px;
    /*text-shadow: 0 1px 3px rgba(0,0,0,.5);*/
}


/* Extra markup and styles for table-esque vertical and horizontal centering */

.site-wrapper {
    display: table;
    width: 100%;
    height: 100%;
    /* For at least Firefox */
    min-height: 100%;
    /*-webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);*/
}

.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

.cover-container {
    margin-right: auto;
    margin-left: auto;
    width:80%;
}


.cover-heading {
  color:#40729B;
  font-size:380%;
  letter-spacing:2px;
  word-spacing:2px;
  font-weight:200;
  text-shadow: 0px 0px 1px rgba(0,0,0,1);
  margin-top:-10px;
  margin-bottom:10px;
}

.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.025); }

div.cover-heading:hover {

}


div.cover-heading:after {
    display: block;
    height: 2px;
    /* background-color: #e67e22; */
     background-color: #b22222;
    content: " ";
    width: 100px;
    margin: 0 auto;
}


p.lead {
  margin-top:20px;
}

.lttr-sp1 {
    letter-spacing: 3px;
}

#backgroundImage {
    z-index: 1;
}

#backgroundImage:before {
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*background-image:url("../images/macwork-fb9.jpg");*/
    background-image: -webkit-linear-gradient(rgba(100, 177, 242, 0.45), rgba(100, 177, 242, 0.45)), url("../images/macwork-fb9.jpg");
    background-image: linear-gradient(rgba(100, 177, 242, 0.45), rgba(100, 177, 242, 0.45)), url("../images/macwork-fb9.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.40;
    filter: alpha(opacity=40);
    height: 100%;
    width: 100%;
}


/* Padding for spacing */

.inner {
    padding: 30px;
}


/*
 * Header
 */

.masthead-brand {
    margin-top: -5px;
    margin-bottom: 10px;
}

.masthead-nav > li {
    display: inline-block;
}

.masthead-nav > li + li {
    margin-left: 20px;
}

.masthead-nav > li > a {
    padding-right: 0;
    padding-left: 0;
    font-size: 16px;
    font-weight: 300;
   /* color: #40729B;*/
     color: #CD5C5C;
    /* IE8 proofing */
    /*color: rgba(255,255,255,.75);*/
    border-bottom: 2px solid transparent;
}

.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
    background-color: transparent;
    border-bottom-color: #fff;
    border-bottom-color: rgba(255, 255, 255, .25);
    border-bottom: 2px solid #F2A564;
    color: #F2A564;
}

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
    color: #F2A564;
    border-bottom-color: #F2A564;
}



/*
 * Cover
 */

.cover {
    padding: 0 20px;
}

.cover .btn-lg {
    padding: 10px 20px;
    font-weight: bold;
}


/*
 * Footer
 */

.mastfoot {
    color: #325879;
    /* IE8 proofing */
    color: rgba(37, 66, 90, .4);
    font-size:    16px;
}


/*
 * Affix and center
 */

@media (min-width: 320px) and (max-width: 767px) {
  /*.grow { transition: none;}*/
  .cover-heading {
    font-size:200%;
    color: #b22222;
    margin-bottom: 20px;
    margin-left: -15px;
    margin-right: -15px;
  }
  
  div.cover-heading:after {
    margin: 20px auto 30px auto;
    }

   .cover-container {
        width: 80%;
    }
    
  .masthead-nav > li > a {
      font-size: 12px;
      color: #b22222;
  }
  
  .inner {
      padding-bottom: 30px;
      padding-left: 0;
      padding-right: 0;
  }
}

@media (min-width: 768px) {
    
    .masthead-brand {
        float: left;
    }
    .masthead-nav {
        /*float: right;*/
    }
    
    /* Pull out the header and footer */
    .masthead {
       /* position: fixed;
        top: 0; */
    }
    .mastfoot {
        /* position: fixed;
        bottom: 0; */
    }
    /* Start the vertical centering */
    .site-wrapper-inner {
        vertical-align: middle;
    }
    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 80%;
        /* Must be percentage or pixels for horizontal alignment */
        margin-right:auto;
        margin-left:auto;
    }
}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 700px;
    }
}
