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

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

::-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: 16px/26px Helvetica, Helvetica Neue, Arial;
    background:url(../img/back.jpg) center 0 repeat-x;
}

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

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

.footer-container{
    background: #18408f;
}

.title {
    color: white;
}

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

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

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,
nav a:visited {
    color: white;
}

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

/* ==============
    MOBILE: Main
   ============== */
#btn_pc{
	display:none;
}
.main {
    padding: 0 0 20px 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
   ========================================================================== */


h1 {
    margin:0;
    padding:0;
}
p {
    margin:0;
    padding:0;
    font-size:90%;
    line-height:140%;
}
h2{
    background:url(../img/back_title.png) 0 0 no-repeat;
    margin:0 0 10px 0;
    padding:28px 10px 20px 80px;
    color:#ffffff;
    font-size:110%;
    width:auto;
}
h2.short{
    background:url(../img/back_title.png) 0 0 no-repeat;
    margin:0 0 10px 0;
    padding:20px 10px 15px 80px;
    color:#ffffff;
    font-size:110%;
    width:auto;
    line-height:110%;
}
.main-container h3{
    border-left:#18408f 8px solid; 
    margin:0 0 10px 0;
    padding:0 10px 0 10px;
    color:#18408f;
    font-size:100%;
    width:auto;
    background:#ffffff;
}
.footer-container h3{
    margin:0 0 10px 0;
    padding:0 10px 0 0;
    color:#ffffff;
    font-size:100%;
    width:auto;
    border-bottom:#ffffff 1px solid;
    
}
.fit{
	width:100%;
}
.btn{
	width:100%;
	max-width:612px;
}

.mgT10{
	margin-top:10px !important;
}
.mgT20{
	margin-top:20px !important;
}
.mgT30{
	margin-top:30px !important;
}
.mgT40{
	margin-top:40px !important;
}
.center{
	text-align:center !important;
}
.contWrap{
	margin:0;
}


.headTxt{
	color:#ffffff;
	text-align:center;
	font-size:80%;
	line-height:120%;
	padding:20px 0 0 0;
}

p.copy{
	text-align:center;
}
.mesBox{
	width:100%;
	margin:0 0 30px 0;
}
.mesBox p img{
	margin:0 auto;
	display:block;
}

.profile{
	margin:0;
	padding:10px;
	border:#18408f 1px solid;
}

.couBox{
	width:100%;
	margin:0 0 30px 0;
}
.couBox p img{
	margin:0 auto;
	display:block;
}
.couBox .target{
	padding:1%;
	border-radius: 5px;
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px;
    background:#18408f;
    display: table;
    width:98%;
    min-height:70px;
}
.couBox .target p{
	display: table-cell;
	vertical-align: middle;
	width:30%;
	*zoom: 1; /* for IE6-7 */
	*display: inline; /* for IE6-7 */
	color:#ffffff;
	font-size:90%;
	text-align:center;
}
.couBox .target ul{
	display: table-cell;
	vertical-align: middle;
	width:70%;
	*zoom: 1; /* for IE6-7 */
	*display: inline; /* for IE6-7 */
	margin:0;
	padding:0;
}
.couBox .target ul li{
	list-style-type:none;
	color:#ffffff;
	font-size:80%;
	line-height:130%;
	margin:0;
	padding:0;
}

.fotBox{
	width:100%;
	margin:0 0 30px 0;
}

.fotBox ul{
	margin:0;
	padding:0;
}
.fotBox li{
	margin:0 auto 10px auto;
	padding:0;
	list-style-type:none;
	font-size:90%;
	width:80%;
}
.fotBox li img{
	width:100%;
}	
.fotBox a,.fotBox a:hover,.fotBox a:link,.fotBox a:visited{
	color:#ffffff;
}	
p.copywrite{
    margin:0;
    padding:5px;
    color:#ffffff;
    font-size:100%;
    text-align:center;
    background:#ff0000;
}

.form table{
	border-collapse: collapse;
	border: 1px solid #cccccc;
	margin: 20px 0;
}
.form table th,.form table td {
	border: 1px solid #cccccc;
	padding:10px;
}

.form table th {
	background:#18408f;
	color:#ffffff;
	font-weight:bold;
}

.form table td {
	background:#ffffff;
}

.form table td textarea{
	width:90%;
}



@media only screen and (min-width: 570px) {
#btn_pc{
	display:block;
}
#btn_sp{
	display:none;
}
	#home .main-container header{
		position:relative;
		height:580px;
		width:960px;
	}
	#home .main-container header h1{
		width:480px;
		position:absolute;
		z-index:3;
		left:0;
		top:0;
	}
	#home .main-container header p.mainImg{
		position:absolute;
		z-index:2;
		left:0;
		top:0;
	}
	#home .main-container header p.copy{
		position:absolute;
		z-index:1;
		right:0;
		bottom:0;
	}
	h2{
   		width:100%;
	}
	h2.short{
    	background:url(../img/back_title.png) 0 0 no-repeat;
    	margin:0 0 10px 0;
    	padding:28px 10px 20px 80px;
    	color:#ffffff;
    	font-size:110%;
    	width:auto;
   	   line-height:140%;
	}
	h3{
   		width:100%;
	}	
	.mesBox p img{
		margin:0 10px 10px 0;
		display:inline;
		float:left;
	}
	.couBox{
		width:290px;
		float:left;
		margin:0 25px 0 0;
	}
	.leftBox{
		margin-left:20px !important;
	}
	.rightBox{
		margin-right:0px !important;
	}	
	.couBox p.mainTxt img{
		margin:0 0 10px 10px;
		display:inline;
		float:right;
	}
	.contWrap{
		margin:0 20px;
	}
	.fotBox{
		width:440px;
		float:left;
		margin:0 20px;
	}	
	
	.fotBox li{
		width:215px;
		float:left;
	}
	.fotBox li.left{
		margin:0 10px 10px 0;
	}
	.fotBox li.right{
		margin:0 0 10px 0;
	}			
}







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

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

/* ====================
    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;
    }
	.wrapper {
        width: 960px;
    }

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



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

    .title {
        float: left;
    }

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

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

}

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

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

    .wrapper {
        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;
    }
}