/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #987651;
}


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden; 
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/* this is where da shota's epic css comeback of the year begins */
#mainbgcolor {
    background-color: #ecebe4;
}
#masthead {
    width:100%;
    background-color:#222427;
    height:80px;
   
}
.centerhead {
    
    width:1200px;    
    margin: 0 auto;
}
.mastalign {
    width:1000px;
    float; left;
    display:inline-block;
    
}

.headimage img {
    float: left;
    max-width: 75px;
    max-height: 75px;
    padding-top: 10px
}
.headlinks {
    float:right;
}
.headlinks ul {
    position: relative;
    list-style: none;
}
.headlinks ul:after {
    content:"";
    clear:both;
    display:block;
}
.headlinks ul li {
    font-size:11px;
    font-weight: bold;
    display: inline-block;
}
.headlinks ul li:hover {
    background:black;
}
.headlinks ul li:hover > ul {
    display:block;
    z-index: 2;

}
.headlinks ul ul {
    display: none;

}
.headlinks ul ul {
      position: absolute;
    top:100%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color:black;
}
.headlinks ul ul li {
    float: none;
    position:relative;
    display:block;
    
    padding-top:5px;
    padding-bottom:5px;

}
.headlinks ul li a{
    text-decoration: none;
    color:white;
    line-height: 80px;
    padding-left: 30px;
    padding-right: 30px;
}
.headlinks ul ul li a {
    line-height:20px;
}
.headbodylinks {
    width: 750px;
    height:80px;
    top:100%;
    position:absolute;
    right:0;
    z-index: 1;
}
.headbodymenu { 
height:100%;
}
.headbodymenu ul{
    list-style: none;
    text-align: center;
}
.headbodymenu ul li img {
    width:15px;
    height:15px;
    padding-left:10px;
}
.headbodymenu li {
    width:250px;
    height:100%;
    float:left;
    color: black;
    background: rgba(255, 255, 255, .25);
    line-height: 80px;
    text-decoration: none;
    display:inline-block;
    font-size: 25px;
    font-weight: bold;
}
.headbmenudrop {
    top:100%;
    left:0;
    width:750px;
    height:100%;
    
}
.headdropstructure {
   display:none;
    position:absolute;
    width:750px;
    top:100%;
    z-index: 1;
    background-color: black;
    left:0;
}


.headbodymenu li:hover > div {
    display:block;

}
.headbodymenu li:hover > div ul {
    display:block;

}
.headbodymenu ul li:hover img {
    visibility: hidden;
}
.headbodymenu ul li:hover {
    background:black;
    color: white;
}
.headbodymenu ul ul {
    display:none;
}
.headdropstructure ul {
    padding-top:20px;
    padding-bottom: 20px;
   
}
.headdropstructure ul li {
    float: none;
    position:relative;
    display:block;
    line-height: 25px;
    background:black;

    text-align: left;
    text-indent: 1.3em;
    width:100%;

}
.headdropstructure ul li a {
    text-decoration: none;
    color:white;
    font-size: 14px;
}

.headsearch {
    float:right;
    background-color: #222427;
    top:0;
    right:0;
    position:absolute;
    width:200px;
    height:80px;
  }
.headsalign {
    width:100px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    float:right;
    background-color: #ecebe4;

}
.headsalign:hover {
    background-color:white;
}
.headsalign:hover~form input{
    display:block;
}
.headsearch form input{
    display:none;
    position:absolute;
    border: none;
        width: 950px;
        right:0;
        top:80px;
        z-index: 2;
        height:80px;
}

.headsearch img {
       vertical-align: middle
    }
.mastbodycenter {
    width:1200px;
    margin:0 auto;
}
#mastbody {
    width:1000px;
    float:left;
    
}
.topbodyback {
    overflow:visible;
    position:relative;
    height:560px;
    width:1000px;
    
}

.bodymask {
    overflow:hidden;
    height:560px;
}
.topbodyback ul {
    list-style:none;
    position:relative;
}
.bodymask li {
    width: 1000px;
    height:560px;
    position:absolute;
    right:1000px;
}

.topbodyback img {
    width:100%;
}
.topbodyback li.animation1 {
    -webkit-animation: slideone 50s infinite;
}
.topbodyback li.animation2 {
    -webkit-animation: slidetwo 50s infinite;
}
.topbodyback li.animation3 {
    -webkit-animation: slidethree 50s infinite;
}
.topbodyback li.animation4 {
    -webkit-animation: slidefour 50s infinite;
}
.topbodyback li.animation5 {
    -webkit-animation: slidefive 50s infinite;
}

@-webkit-keyframes slideone {
    0%  { right: 0px; } /* When you start the slide, the first image is already visible */
   4%  { right: 0px; } 
   16% { right: 0px; opacity:1; z-index:0; } 
   20% { right: 1000px; opacity: 0; z-index: 0; } 
   21% { right: -1000px; opacity: 0; z-index: -1; } 
   92% { right: -1000px; opacity: 0; z-index: 0; }
   96% { right: -1000px; opacity: 0; } 
   100%{ right: 0px; opacity: 1; }
}
@-webkit-keyframes slidetwo  {
   0%  { right: -1000px; opacity: 0; } 
   16% { right: -1000px; opacity: 0; }
   20% { right: 0px; opacity: 1; }
   24% { right: 0px; opacity: 1; }  
   36% { right: 0px; opacity: 1; z-index: 0; }   
   40% { right: 1000px; opacity: 0; z-index: 0; } 
   41% { right: -1000px; opacity: 0; z-index: -1; }   /* Return to Original Position */
   100%{ right: -1000px; opacity: 0; z-index: -1; }
}
@-webkit-keyframes slidethree {
   0%  { right: -1000px; opacity: 0; }
   36% { right: -1000px; opacity: 0; }
   40% { right: 0px; opacity: 1; }
   44% { right: 0px; opacity: 1; }
   56% { right: 0px; opacity: 1; }
   60% { right: 1000px; opacity: 0; z-index: 0; }
   61% { right: -1000px; opacity: 0; z-index: -1; }
   100%{ right: -1000px; opacity: 0; z-index: -1; }
}
@-webkit-keyframes slidefour {
   0%  { right: -1000px; opacity: 0; }
   56% { right: -1000px; opacity: 0; }
   60% { right: 0px; opacity: 1; }
   64% { right: 0px; opacity: 1; }
   76% { right: 0px; opacity: 1; z-index: 0; }
   80% { right: 1000px; opacity: 0; z-index: 0; }
   81% { right: -1000px; opacity: 0; z-index: -1; }
   100%{ right: -1000px; opacity: 0; z-index: -1; }
}
@-webkit-keyframes slidefive {
   0%  { right: -1000px; opacity: 0; }
   76% { right: -1000px; opacity: 0; }
   80% { right: 0px; opacity: 1; }
   84% { right: 0px; opacity: 1; }
   96% { right: 0px; opacity: 1; z-index: 0; }
   100%{ right: 1000px; opacity: 0; z-index: 0; }
} 
.bodymask div {
    position: absolute;
    z-index: 2;
    left:100px;
    top:150px;
    width: 325px;
    height: 250px;
    
}

.bodymask li div {
color:white;
}
.bodymask li div h1 {
border-bottom: 2px solid white;
padding-top:10px;
padding-bottom:20px;
margin:0;
}
.bodymask li div h3 {
border-bottom: 2px solid white;
padding-bottom: 5px;
margin:0;

}
.bodymask li div h6 {
    margin:0;
border-bottom: 2px solid white;
padding-top:10px;
padding-bottom:10px;
}
.bodymask li div img {
    padding-top:3px;
    height:5px; 
    width:8px;
    vertical-align: middle;
    float:right;
}


.topbodyright ul ul li a{
font-size:12px;
text-decoration: none;
    color:white;
    line-height: 20px;      
}
.topbodyright ul ul div.tbr1 li {
    background:black;
    width:730px;
}
#botbody {
    width:1000px;
    height: 350px;

}
.botbodyleft {
    width:500px;
    float:left;
}
.botbodyleft li {
    float:left;
    background:white; 
    display:inline-block;
    height:150px;
    width:200px;
    padding-left:50px;
    padding-top:80px;
    padding-bottom:130px;
    color:black;
}

.botbodyleft li h3 {
    margin:0;
}
.botbodyleft li h4 {
    font-weight: normal;
    height: 80px;
}
.botbodyright {
    width:500px;
    float:left;
      border-bottom:20px solid #222427;  
}
.botbodyright li h3 {
    margin:0;
}
.botbodyright li {
    position:relative;
    float:left;
    background: #cacaca;
    display:inline-block;
    height:130px;
    width:200px;
    padding-left:50px;
    padding-top:80px;
    padding-bottom:130px;
    color:black;
}
.botbodyright li h4 {
    font-weight: normal;
    height: 80px;
}
#mastbodyextension {
    width:200px;
    height:100%;
    float:right;
}
.bodyexttop {
    width:200px;
    height:80px;
}
.bodyexttop1 p{
    margin:0;
    float:left;
    text-align:center;
    width:100px;
    height:80px;
    line-height:80px;
    background: rgba(255, 255, 255, .25);
}
.bodyexttop2 {
    width:100px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    float:right;
    background: rgba(255, 255, 255, .25);

}
.bodyexttop2 img {
       vertical-align: middle

}
/*margin 0 auto for center */