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

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    text-shadow: none;
}

::selection {
    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 {#1A1816
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {

}


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

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    background-color: #1A1816;
    color:#ffffff;
}

.wrapper {
   width: 90%;
    margin: 0 5%;
//    border:1px solid red;
}

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

.header-container {
 background-color: #ffffff;
 color:#ffffff;
 //height: calc(100% - 200px);
// background:url('../img/banner_bg3.jpg') center bottom no-repeat;  
 background:url('../img/saciHonlapBg.jpg') repeat-x;  
 background-size: contain; 
}

.header-container img{width: 40%;}

.menu a:hover{
  text-decoration: underline;
}

.footer-container{
    text-align: center;
    font-size:12px;
    padding: 2em 0em 2em 0em;
}

.footer-container a{ 
  text-decoration: underline; 
  color: #ffffff
}


.title {
    color: white;
}

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

nav{
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 100%;

}

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

 nav ul li {
   // font-family: 'MyFont';
    font-family: 'Kalam', cursive;
    display: inline-block;
    font-size:1.5em;
    padding:1em;
 }

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

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
 //   background: #e44d26;
}

nav a:hover{
    font-weight: bold;

}
nav a:visited {
}

nav a:hover {
    text-decoration: none;
   // text-shadow: 2px 2px #ffffff;

}

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


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

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

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

@font-face {
  font-family: 'MyFont';
  src: url('fonts/AnkeCalligraphicFG.eot'); 
  src: url('fonts/AnkeCalligraphicFG.eot?#iefix') format('embedded-opentype'), 
       url('fonts/AnkeCalligraphicFG.woff2') format('woff2'),
       url('fonts/AnkeCalligraphicFG.woff') format('woff'),
       url('fonts/AnkeCalligraphicFG.ttf')  format('truetype'); 
}

   
section{
    padding-top: 2em;
    padding-bottom: 2em;
}

section img{
  padding:5px;
}

h1{
  //  font-family: 'MyFont';
     font-family: 'Kalam', cursive;
    font-size: 2em;
    color:#ffffff;
    margin-top:3px;
}  

b{

}
   
.menu{
	width: 100%;
	color:white;
  display: table;
}

.menu img{
	display: table-cell;
  max-width:200px;
 //   float:left;
  
}


.header-container-content {
   //border: 1px solid red;
   width: 50%; 
   float: right;
   //font-family: 'MyFont';
   font-family: 'Kalam', cursive;
   font-size:2.5em;
   line-height: 1.5em;
   text-align: center;
   //display: inline-block;
   background-color:black;
   text-align:center;
   margin-top:5%;
}

.header-container img{
  //    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  //  filter: grayscale(100%);
}


.bg-white{
    background-color: #ffffff;
    color:#000000;
}

.bg-black{
    background-color: #000000;
    color:#ffffff;
    padding:0px 15px 0px 15px;

}


.bg-white h1{
   // text-align: right;
    color:#000000;
}

.bg-white .content {
    width: 50%; 
    float: right;
}


.bg-white .content p{
  text-align: justify;
}


.img{
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.img_w20{
    max-width: 20em;
}

.img_hidden{
    max-width: 30em;
}

.img_w30{
  float:left;
  width:50%;
}

.black{
    color:#000000;
}

#gmap_canvas{
    width:90%;
    min-height:300px;
    border:3px solid #000000;
}

.media_img{
  // width: 50%;
  //  float: right;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;

}

.media_img img{
    border:2px solid #ffffff;
    width: 300px;
    height: 300px;
    margin:10px;
    // -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
   // filter: grayscale(100%);
}


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


 /* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
   nav ul li {display: block;padding: 0em;font-size: 1em}
  .header-container img{width: 50%;} 
  .header-container-content { font-size:0.7em; width:auto}
  .img_w20{ max-width: 10em;}
  .content p{text-align: justify;}
  .bg-white .content {width: 100%; float:left;}
  .bg-white .content p{text-align: left}
  .bg-white .img_hidden{ display: none; }
  .bg-white .img_w30{ display: none}
  .bg-white .img_w320{display: block;}
  #gmap_canvas{width:100%; border:1px solid #000000;}
  .media_img img{border:2px solid #ffffff;width: 130px;height: 130px;margin:5px;}
  .footer-container{text-align: justify;padding: 1em 0em 1em 0em;}
  .menu img{max-width: 130px; padding: 5px;}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 601px) {
  
   nav ul li {padding: 5px;font-size: 20px;}
  .header-container img{width: 50%;} 
  .header-container-content { font-size:1.5em; width:auto}
  .img_w20{ max-width: 15em;}
  .content p{text-align: justify;}
  //.bg-white .content {width: 100%; float:left;}
  .bg-white .content p{text-align: left}
  //.bg-white .img_hidden{ display: none; }
  .bg-white .img_hidden{ width:45% }
  //.bg-white .img_w30{ display: none}
  .bg-white .img_w320{display: none;}
  #gmap_canvas{width:90%; border:1px solid #000000;}
  .media_img img{border:2px solid #ffffff;width: 150px;height: 150px;margin:5px;}
  .footer-container{text-align: justify;padding: 1em 0em 1em 0em;}
  .menu img{max-width: 130px; padding: 5px;}

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  nav ul li {font-size:1.5em;padding:1em;}
  .header-container img{width: 50%;} 
  .header-container-content { font-size:2.5em;}
  .img_w20{ max-width: 20em;}
  .content p{text-align: justify;}
  //.bg-white .content {width: 100%; float:left;}
  .bg-white .content p{text-align: left}
  //.bg-white .img_hidden{ display: none; }
  .bg-white .img_hidden{ width:45% }
  //.bg-white .img_w30{ display: none}
  .bg-white .img_w320{display: none;}
  #gmap_canvas{width:90%; border:2px solid #000000;}
  .media_img img{border:2px solid #ffffff;width: 300px;height: 300px;margin:10px;}
  .footer-container{text-align: justify;padding: 1em 0em 1em 0em;}
  .menu img{max-width: 130px; padding: 20px;}
} 

/* ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- */


@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;
    }

*/

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */
/*
    nav ul li {
        font-family: 'MyFont';
       // display: inline;
       // padding: 20px;
        display: inline-block;
    }
*/

}

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

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

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

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

    .title {
        float: left;
    }

/*
    nav {
        float: right;
        width: 50%;
    }

*/

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

}

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

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

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   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;
    }
}