/*! 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: 20px solid #e44d26;
    margin: 1em 0;
    padding: 0;
}

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

fieldset {
    border:0.2em solid blue;
    -moz-border-radius:2em;
    -webkit-border-radius:2em;	
    border-radius:2em;
	margin-bottom: 1em;
}

fieldset.alt {
    border:0.2em solid red;
    -moz-border-radius:2em;
    -webkit-border-radius:2em;	
    border-radius:2em;
	margin-bottom: 1em;
}

legend {
	color: blue;
	background: transparent;
	font-style: italic;
	padding-right: 1em;
	padding-left: 1em;
}

fieldset.alt legend {
	color: red;
	background: transparent;
	font-style: italic;
	padding-right: 1em;
	padding-left: 1em;
}

textarea {
    resize: vertical;
}

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

td.choix {
	padding: 1em;
}


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

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

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

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

.header-container {
    border-bottom: 20px solid #3498db ;
}

.footer-container {
    border-top: 20px solid #3498db ;
}

.header-container,
.footer-container {
    background: #2e86c1 ;
}

.title {
    color: white;
}

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

nav {
	background-color: #2e86c1 ;
	overflow: hidden;
	padding: 1em;
}

nav	a {
	color: #fff;
}

nav a:hover {
	font-weight: 700;
}

nav	a:visited {
	color: #fff;
}

nav .navWide {
	display: none;
	margin: 0 auto;
}

nav .navWide .wideDiv {
	text-align: center;
}

nav .navWide .wideDiv a {
	text-decoration: none;
	display: inline-block;
	/*Adjust padding to increase/decrease the space between links.*/
	padding: 0 1em;
}
	
/*Navbar is set to default with the "hamburger" and links on the left
side of the screen. To move to the right of the screen, simply
change the three "float: Left;" references to read "float: right;".*/
nav	.navNarrow i {
	float: right;
	cursor: pointer;
	color: #fff;
}

nav .navNarrow .narrowLinks a {
	text-decoration: none;
	display: block;
	float: left;
	clear: left;
	padding: 0.5em 0;
	text-align: center;
	width: 100%;
}

.hidden {
  display: none;
}

/*Adjust breakpoint as desired to select when the "hamburger" menu is
replaced by just the links.*/
@media (min-width: 1500px) {
	
	nav .navWide {
		display: block;
	}

	nav .navNarrow {
		display: none;
	}
}

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

.main {
    padding: 30px 0;
}

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

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

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

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

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

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.alert {
    padding: 1em;
    margin-bottom: 2em;
    border: 1px solid transparent;
    border-radius: .25em
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d0e9c6;
    color: #3c763d
}

.alert-info {
    background-color: #d9edf7;
    border-color: #bcdff1;
    color: #31708f
}

.alert-warning {
    background-color: #fcf8e3;
    border-color: #faf2cc;
    color: #8a6d3b
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442
}

input[type=text], input[type=number], input[type=file], input[type=tel], input[type=email], select {
	margin-bottom: 20px;
	margin-top: 10px;
	width:100%;
	padding: 15px;
	border-radius:5px;
	border:1px solid #7ac9b7;
}

input[type=submit], button {
	margin-bottom: 20px;
	width:100%;
	padding: 15px;
	border-radius:5px;
	border:1px solid #7ac9b7;
	background-color: #4180C5;
	color: aliceblue;
	font-size:15px;
	cursor:pointer;
	text-transform: uppercase;
	font-weight:700;
}

#submit:hover, button:hover {
	background-color: black;
}

table.stats {
	width: 100%;
	text-align: center;
	border:1px solid #7ac9b7;
}

table.stats thead tr {
	background-color: #ccc;
}

table.stats tr.final {
	background-color: #d9edf7;
}

textarea {
	width:100%;
	padding: 15px;
	margin-top: 10px;
	border:1px solid #7ac9b7;
	border-radius:5px;
	margin-bottom: 20px;
	resize:none;
}

label {
	font-weight: 700;
}

label em {
	font-weight: 400;
}

input[type=text]:focus, input[type=number]:focus, input[type=file]:focus, input[type=tel]:focus, input[type=email]:focus, select:focus, textarea:focus {
	border-color: #4697e4;
}

@media only screen and (min-width: 351px) and (max-width: 600px) {
	label {
		font-size:12px;
	}
	
	input[type=submit], button {
		padding:5px;
	}
	
	input[type=text], input[type=number], input[type=file], input[type=tel], input[type=email], select {
		padding: 8px;
	}
}

@media only screen and (max-width: 350px) {
	label {
		font-size:12px;
	}
	
	input[type=submit], button {
		padding:4px;
		font-size:12px;
	}
	
	input[type=text], input[type=number], input[type=file], input[type=tel], input[type=email], select {
		padding: 8px;
	}
}

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

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

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

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

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

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

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