
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

@import url(http://fonts.googleapis.com/css?family=Homemade+Apple);
/*@import url(http://fonts.googleapis.com/css?family=League+Script);
@import url(http://fonts.googleapis.com/css?family=La+Belle+Aurore);*/


html {
    color: #fefefe;
    font-size: 1.3em;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased !important;
     text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

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

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

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

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

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

textarea {
    resize: vertical;
}

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 19px/26px 'BradleyHandITC-Regular',Helvetica, Arial;
    background-color: #192B4E;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

/*.header-container {
    border-bottom: 20px solid #fdfdfd;
}*/

.footer-container,
.main aside {
    /* border-top: 20px solid #fdfdfd; */
}

.header-container,
.footer-container,
.main aside {
    background: #192B4E;
}

.title {
    color: white;
}
footer {margin-bottom: 50px;}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    font-family: 'BradleyHandITC-Regular';
    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: #192B4E;
    background: #fdfdfd;
}

nav a:hover,
nav a:visited {
    color: #555;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

h4 {display:inline;}

.logo {margin: 0 auto; padding: 100px 0; display: block;position: relative; width: 200px;    -webkit-transition: width 1s ease;
            -moz-transition: width 1s ease;
            -ms-transition: width 1s ease;
            -o-transition: width 1s ease;
            transition: width 1s ease;}


/*@font-face {
  font-family: 'Gibson-Regular';
  src: url('Gibson-Regular.eot?#iefix') format('embedded-opentype'),  url('Gibson-Regular.otf')  format('opentype'),
         url('Gibson-Regular.woff') format('woff'), url('Gibson-Regular.ttf')  format('truetype'), url('Gibson-Regular.svg#Gibson-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}*/
@font-face {
    font-family:'BradleyHandITC-Regular';
    src: url('BradleyHandITC_gdi.eot');
    src: url('BradleyHandITC_gdi.eot?#iefix') format('embedded-opentype'),
        url('BradleyHandITC_gdi.woff') format('woff'),
        url('BradleyHandITC_gdi.ttf') format('truetype'),
        url('BradleyHandITC_gdi.otf') format('opentype'),
        url('BradleyHandITC_gdi.svg#BradleyHandITC-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-25CA;
}
h1,h2,h3,h4,h5,h6 {font-family: 'BradleyHandITC-Regular', serif; }

footer h3 {margin: 7px 0;}


/*h1.script {font-family: 'League Script', cursive;font-size: 2em; text-align: center; margin-bottom: 1em; }
h1.script2 {font-family: 'La Belle Aurore', cursive;font-size: 2em; text-align: center; margin-bottom: 1em; }*/
/*h1.script3 {font-family: 'Homemade Apple', cursive;font-size: 1.5em; text-align: center; margin-bottom: 2.5em; text-shadow: 1px 1px 1px rgba(0,0,0,0.004); -moz-text-shadow: 1px 1px 1px rgba(0,0,0,0.004);-webkit-text-shadow: 1px 1px 1px rgba(0,0,0,0.004); }*/
h1.script3 {font-family: 'BradleyHandITC-Regular', cursive;font-size: 1.5em; text-align: center; margin-bottom: 2.5em; text-shadow: 1px 1px 1px rgba(0,0,0,0.004); -moz-text-shadow: 1px 1px 1px rgba(0,0,0,0.004);-webkit-text-shadow: 1px 1px 1px rgba(0,0,0,0.004); }



 .onehalf {display: block;width: 100%;padding: 20px 0px;}

.footerlogo {margin: 80px auto 100px auto; width: 250px;position: relative;}

a:active, a:link, a:visited, a {color: #ddd;  text-shadow: 1px 1px 1px rgba(0,0,0,0.04); font-weight: 800; text-decoration: underline;}
a:hover {color: 111; text-decoration:none;}

iframe {width: 100%;}

img.sig {margin: -14px 0px 0px 93px; position: absolute;}

/*footer.active { position: fixed; overflow: hidden; }
*/
button {color:#111; background-color: #dedede; font-weight: bolder;border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;}

button:hover {color:#000;}


#modal-background {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #192B4E;
        opacity: .50;
        -webkit-opacity: .5;
        -moz-opacity: .5;
        filter: alpha(opacity=50);
        z-index: 1000;
    }
    
    #modal-content {
        position: relative;
        left: 0;
          display: none;
          background-color: #192B4E;
        height: auto;
       
        top: 50%;
        color: #fff;
        min-width: 15em;
        z-index: 1001; 
    }


    #modal-background.active, #modal-content.active {
        display: block;
         color: #fefefe;
    }


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }
     .logo {width: 300px; 
            -webkit-transition: width 1s ease;
            -moz-transition: width 1s ease;
            -ms-transition: width 1s ease;
            -o-transition: width 1s ease;
            transition: width 1s ease;
        }
     /*   h1.script {font-size: 1.5em;}*/

    .footerlogo {width:300px;}

 .onehalf {display: block;
width: 50%;
padding: 20px 0px;
float: left;}


#modal-content {
        background-color: #192B4E;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        box-shadow: 0 0 12px 0 #000;
        -webkit-box-shadow: 0 0 12px 0 #000;
        -moz-box-shadow: 0 0 12px 0 #000;
        display: none;
        height: auto;
        left: 50%;
        padding: 15px;
        position: absolute;
        top: 50%;
        width: 40vw;
        z-index: 1000;
        margin-left:-45vh;
        margin-top:41vh;
    }
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

/*    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #000;
           -moz-box-shadow: 0 5px 10px #000;
                box-shadow: 0 5px 10px #000;
    }*/

          .logo {width: 350px; 
            -webkit-transition: width 1s ease;
            -moz-transition: width 1s ease;
            -ms-transition: width 1s ease;
            -o-transition: width 1s ease;
            transition: width 1s ease;
        }
              /*h1.script {font-size: 2em; margin-bottom: 3.5em;}*/
          .footerlogo {width:150px;             -webkit-transition: width 1s ease;
            -moz-transition: width 1s ease;
            -ms-transition: width 1s ease;
            -o-transition: width 1s ease;
            transition: width 1s ease;}
            .onehalf {display: block;
                        width: 50%;
                        padding: 20px 0px;
                        float: left;}

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 100%;
    }

    .main aside, footer aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
          .logo {width: 350px; 
            -webkit-transition: width 1s ease;
            -moz-transition: width 1s ease;
            -ms-transition: width 1s ease;
            -o-transition: width 1s ease;
            transition: width 1s ease;
        }
             /* h1.script {font-size: 3em; margin-bottom: 5em;}*/

              
              .onehalf {float: left;width: 50%;} 
      .footerlogo {
        width:220px;          
          -webkit-transition: width 1s ease;
            -moz-transition: width 1s ease;
            -ms-transition: width 1s ease;
            -o-transition: width 1s ease;
            transition: width 1s ease;
        }



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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

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

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}