/*
 * -- NOTICE --
 * This stylesheet is a modified version of a purecss (https://purecss.io/) layout under the Zlib licence (http://www.zlib.net/zlib_license.html)
 */



* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* outline for debugging */
    /* outline: 1px solid red;
	outline-offset: -1px; */
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.5em;
    color: #484f4f;
    font-size: 18px;
    font-family: "Kanit";
}


h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

h2,
h4 {
    margin-bottom: -0.1em;
    margin-top: 0.3em;
}

th, td {
    padding-left: 15px;
    padding-bottom: 15px;
  }

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

.icons {
    float: left;
    width: 3.5em;
    padding-right: 0.5em;
}

/*
 * -- MY STYLES --
 */
.margin {
    margin-top: 0%;
    margin-bottom: 0%;
    margin-left: 10%;
    margin-right: 10%;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;

}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.is-center {
    text-align: center;
}

/* Adjust text for smaller screens */
@media (max-width: 35.5em) {
    .bigger {
        font-size: 18px;
    }
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
    margin-top: 1em;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.10);
    background: #a1d5ef;

}

.home-menu a {
    color: #0c5e94;
}

.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #010101;
}

.pure-menu .pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    /* color: white; */
}


@media (min-width: 48em) {
    .home-menu {
        border: 2px;
        border-color: rgb(247, 247, 247);
    }
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background: url("sakura.jpg");
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 88%;
    top: 0;
    left: 0;
    position: fixed !important;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    /* height: 50%; */
    margin: auto;
    position: absolute;
    top: 100px;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: left;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 40px;
    font-weight: bold;
    color: #277b17;
    /* border: 3px solid #76e8a1; */
    /* padding: 1em 1.6em 0.5em; */
    padding: 20px;
    font-weight: 500;
    line-height: 1em;
    line-height: 1;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: #374A5D;
    padding: 20px;
    letter-spacing: 0.05em;
    font-size: x-large;
    line-height: 1;
    /* text-shadow: 2px 2px #49fff0; */
    background-color: rgba(211, 245, 214, 0.5);
    border-radius: 25px;
}

.splash-links {

    a:link,
    a:visited {
        text-decoration: none;
        color: #374A5D;
    }
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 87%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}

.container {
	max-width: 60em; 	
	margin: 0 auto;
}


/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    /* text-transform: uppercase; */
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    /* color: #1f8dd6; */
}

.content-subhead i {
    margin-right: 7px;
}

/* This is the class used for the footer */
.footer {
    background: #111;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* For mobile width */
@media (max-width: 47.999em) {

    .custom-menu-3 {
        text-align: left;
    }

    .custom-toggle {
        display: block;
    }

    .content-head {
        text-align: center;
    }

}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }

    .home-menu ul {
        float: right;
    }

    /* We increase the height of the splash-container */
    /*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
        margin-top: 2em;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {

    /* We increase the header font size even more */
    .splash-head {
        font-size: 500%;
    }
}

/* For new menu */

.custom-wrapper {
    margin-bottom: 1em;
    -webkit-font-smoothing: antialiased;
    height: 3em;
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
}

.custom-wrapper.open {
    height: 15.5em;
}

.custom-menu-3 {
    text-align: right;
    padding-right: 30px;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.custom-toggle .bar {
    background-color: black;
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 100px;
    position: absolute;
    top: 20px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}