/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    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,
img,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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

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

/* ===================
    ALL: Blue Theme
   =================== */

.header-container {
    border-bottom: 20px solid #0424c2;
}

.footer-container,
.main aside {
    border-top: 0.5em solid #0424c2;
}

.header-container,
.footer-container,
.main aside {
    background: #054dab;
}

.title {
    color: white;
    float: left;
}

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

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    padding: 1em 0;

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

    color: white;
    background: #0488c2;
    
    font-size: 0.7em;
    border-left: 1px solid #1504b8;
    border-top: 1px solid #1504b8;
    border-right: 1px solid #1504b8;
}

nav a:hover {
    color: white;
    background: #1504b8;
    text-decoration: underline;

    border-left: 1px solid #0488c2;
    border-top: 1px solid #0488c2;
    border-right: 1px solid #0488c2;
}

.nav-mobile {
  display:none; /* Hide from browsers that don't support media queries */
  cursor:pointer;
  position:absolute;
  top:0;
  right:0;
  background:#0488c2 url(../img/nav.svg) no-repeat center center;
  height:40px;
  width:40px;
}

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

.main {
    padding: 30px 0.5em 0 0.25em;
    background-color:rgba(255,255,255,0.75);
}

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

.main aside {
    color: white;
    padding: 0 0.5em 0.5em 0.5em;
}

.footer-container footer {
    color: white;
    padding: 0.5em 0;
    text-align: center;
    font-size: 0.7em;
}

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

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

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

.hours {
    width: 20%;
}

.instructor {
    width: 45%;
}

#course {
    float: left;
    width: 45%;
}

#supplies {
    float: right;
    width: 45%;
}

#coreAbilities {
  float: left;  
  width: 48%;
  margin-right: 0.5em;
}

#courseGrades {
    float: left;
    width: 48%;
}

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

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

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

    
    nav a {
        float: left;
        margin: 0 1%;
        padding: 0.25em 1%;
        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 {
        display: inline;
    }

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

@media only screen and (min-width: 320px) and (max-width: 768px) {
	.nav-mobile {
		display:block;
	}
	.nav {
		width:100%;
		padding:40px 0 0;
	}
	.nav-list {
		display:none;
	}
	.nav-item {
		width:100%;
		float:none;
	}
	.nav-item a {
		padding:10px;
	}
	.nav-item:first-child a {
		border-radius:5px 0 0;
	}
	.nav-item:last-child a {
		border-radius:0 0 5px 5px;
	}
	.nav-active {
		display:block;
	}
    .hours {
        width: 100%;
    }
    .instructor {
        width: 100%;
    }
    #course {
        float: none;
        width: 100%;
    }
    #supplies {
        float: none;
        width: 100%;
    }
    #coreAbilities {
        float: none;  
        width: 100%;
    }
    #courseGrades {
        float: none;
        width: 100%;
    }
}

@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: 100%;
    }

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

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

    .main aside {
        float: right;
        width: 40%;
    }
}

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

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

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

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.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 {
    * {
        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) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]: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;
    }

    @page {
        margin: 0.5cm;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}
#logo {
    float: left;
    margin: 0.5em 0.5em 0.5em 0;
}

.clearFlt {
    clear: both;
}

table {
    width: 50%;
    text-align: left;
    font-size: 0.7em;
}

th, td {
    padding: 0 0.25em;
    vertical-align: top;
}

.main-container {
    background: url(../img/shattered-ntc.jpg) repeat;
}



ul#competencies li:before {
    content: "• ";
}

.course {
   width: 90%; 
}

aside h3 {
    margin: 0;
}

#studentBehavior {
    float: left;
    width: 33%;
}

#studentAcademic {
   float: left; 
   width: 33%;
}

#generalInformation {
    float: left;
    width: 33%;
}

/*
Back to top button 
*/
#back-top {
	position: fixed;
	bottom: 35px;
    right: 10px;
}
#back-top a {
	width: 108px;
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #ccc;
    text-shadow: rgb(3, 3, 3) 3px 3px 4px;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover {
	color: #000;
}
/* arrow icon (span tag) */
#back-top span#backToTopBackground {
	width: 108px;
	height: 108px;
	display: block;
	margin-bottom: 7px;
	background: rgba(221, 221, 221, 0.75) url(../img/up-arrow.png) no-repeat center center;
	/* rounded corners */
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover span#backToTopBackground  {
	background-color: rgba(119, 119, 119, 0.75);
}

#back-top #backToTopText {
    position: relative;
    bottom: 25px;
}

#gradeTable {
    width: 100%
}

.tableBorder, .tableBorder th, .tableBorder td {
    border: 1px solid #333;
}

.main.wrapper {
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    -webkit-box-shadow: 0 5px 10px #aaa;
    -moz-box-shadow: 0 5px 10px #aaa;
    box-shadow: 0 5px 10px #aaa;
}

#classSchedule {
    margin-top: 1em;
}

#classSchedule table {
    width: 100%;
}

th {
    background-color: rgba(5, 77, 171, 0.5);
    color: white;
}

#assessment {
    width: 100%;
}
