/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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


a {
    color: #8ec63f;
    text-decoration:none;
}
a:hover {
    text-decoration:underline;
}
h1, h2, h3, h4 {
    color: #8ec63f;
    font-family: Tahoma, Geneva, sans-serif;
    font-weight:normal;
}

html, body {
    height:100%;
}
body {
    margin:0 auto;
    width:935px;
    background-color:#fff;
    color:#333333;
    font-size:12px;
}
#main {
    min-height: 100%;
    margin-bottom: -50px;
    position: relative;
}
header {
    height:115px;
    position:relative;
}
#logo {
    position:absolute;
    top:25px;
    left:75px;
}
nav#header-links {
    position:absolute;
    right:90px;
    bottom:20px;
}
nav#header-links ul {
    list-style-type:none;
    padding:0; margin:0;

}
nav#header-links ul li {
    margin-left:15px;
    display:inline;
}
nav#header-links ul li a {
    font-size:11px;
    text-transform:uppercase;
}

.clearfooter {
    height: 40px;
    clear: both;
}
footer {
    background-color:#0078bf;
    height: 35px;
    position: relative;
}
footer ul {
    text-align:center;
    padding:10px 0 0 0;
}
footer ul li {
    margin-right:10px;
}
footer ul li a {
    color:#fff;
}





/***************************************************************************
// LISTS
***************************************************************************/

ul {}
ul li { margin-bottom:2px; list-style-type:none;}



/***************************************************************************
// Slideshow
***************************************************************************/

#banner-homepage {
    width:935px;
    height:266px;
    background: url( ../img/homepage-banner.jpg ) no-repeat 0 0;
    position:relative;
}

#ss-wrap {
    position: absolute;
    top: -21px;
    left: 480px;
    z-index: 101;
    width: 239px;
    height: 287px;
}
#slideshow {}
#slideshow img {
    display:none;
}
#slideshow img:first-child {
    display:block;
}

#slide-pager {
    left: 0;
    position: absolute;
    top: 0;
    width: 480px;
    height:265px;
    text-align:center;
}
#pager-items-wrap {
    position:relative;
    z-index:1000;
}
#slide-pager ul {
    margin:0 auto; padding:0;
    list-style-type:none;
    text-align:center;
    width:480px;
}
#slide-pager ul li {
    width:480px;
    font-size:24px;
    color:#7ab1e8;
    list-style-type:none;
    margin:0 auto;
    text-align:center;
    display:none;
}
#slide-pager ul li:first-child {
    display:block;
}
#slide-pager ul li.activeSlide {
    color:#cca540;
}
#slide-pager ul li img {
    vertical-align:middle;
}
#slide-pager ul li > div {
    display:table;
    overflow:hidden;
    height:265px;
    width:480px;
    margin:0; auto;
}
#slide-pager ul li > div span {
    display: table-cell; vertical-align: middle;
    font-family: Tahoma, Geneva, sans-serif;

}



#btn-bar {
    width:934px;
    height:122px;
    background: url( ../img/green-soft.png ) no-repeat 0 0;
    position:relative;
    margin-top:2px;
}
#btn-bar.short {
    height:84px;
}
#btn-text {
    display:table;
    width:320px;
    height:122px;
    overflow:hidden;
    margin-left:76px;
}
#btn-text-wrap {
    display:table-cell;
    vertical-align:middle;
}
#btn-bar h2 {
    font-size:17px;
    color:#7ab1e8;
    margin:0; padding:0;
    font-weight:normal;

}
#btn-bar p {
    font-size:13px;
    margin:0; padding:0;
}
#icon-arrows {
    position:absolute;
    top:50px; left:410px;
    background:url( ../img/icon-arrows.png) no-repeat 0 0;
    width:43px; height:26px;
}
#homepage-buttons {
    position:absolute;
    left:480px;
    top:15px;
}
#btn-login {
    background:url( ../img/btn-login.png) no-repeat 0 0;
}
#btn-register {
    background:url( ../img/btn-register.png) no-repeat 0 0;
    margin-top:5px;
}
#homepage-buttons a {
    width:241px; height:45px;
    background-position:0 0;
    display:block;
}
#homepage-buttons a:hover {
    background-position:0 -45px;
}



section#homepage {
    margin-top:15px;
}
#intro-text {
    width:320px;
    margin-left:76px;
    float:left;
}
#intro-text h3 {
    font-size:14px;
    font-style:italic;
    margin:0; padding:0;
    font-weight:bold;
    width:210px;
    float:left;

}
#intro-text .btn {
    width:100px;
    margin-left:10px;
    margin:5px 0 0 10px;
    float:left;
}
#intro-text p {
    margin-top:5px; margin-bottom:5px;
    padding:0;
}
#btn-group {
    margin-left:65px;
}
#btn-group ul {
    margin:0; padding:0;
}
#btn-group ul li {
    float:left;
    margin-right:20px;
    text-align:center;
    width:110px;
}
#btn-group ul li h4 {
    color:#cfda25;
    font-size:16px;
    margin:10px 0 0 0; padding:0;
}
#btn-group ul li p {
    margin-top:5px;
}


/***************************************************************************
// INNER
***************************************************************************/


#banner-inside {
    width:934px;
    height:271px;
    background: url( ../img/banner-inside.jpg ) no-repeat 0 0;
    position:relative;
}
.col-icon {
    float:left;
    width:140px;
}
.col-icon-item{
    text-align:center;
    width:110px;
}
.col-icon-item h4 {
    color:#cfda25;
    font-size:16px;
    margin:10px 0 0 0; padding:0;
}
.col-content {
    width:500px;
    float:left;
}
.col-content h2 {
    margin-top:0;
}


/***************************************************************************
// INNER NAV
***************************************************************************/

section#inside {
    margin-top:15px;
}
#inner-nav {
    position:absolute;
    bottom:10px;
}
#banner-nav {
    padding-top:20px;
}
#inner-nav h1, #banner-nav h1 {
    text-transform:uppercase;
    margin:0; padding:0;
    font-size:19px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight:100;
	color: #006a9e;
}
nav#sub-nav ul {
    list-style-type:none;
    margin:0; padding:2px 0 0 0;
}
nav#sub-nav ul li {
    display:inline;
    border-left: 1px solid #666766;
    padding:0 8px 0 10px;
}
nav#sub-nav ul li:first-child {
    border:none;
    padding-left:0;
}
nav#sub-nav ul li a {
    color:#666766;
    font-size:13px;
}

nav#icon-nav {
    margin-top:30px;
}
nav#icon-nav {
    margin-left:65px;
}
nav#icon-nav ul {
    margin:0; padding:0;
}
nav#icon-nav ul li {
    float:left;
    margin-right:20px;
    text-align:center;
    width:110px;
}
nav#icon-nav ul li a { text-decoration:none; }
nav#icon-nav ul li a:hover { text-decoration:none; }
nav#icon-nav ul li a:hover h4 { text-decoration:underline; }
nav#icon-nav ul li h4 {
    color:#cfda25;
    font-size:16px;
    margin:10px 0 0 0; padding:0;
}
nav#icon-nav ul li p {
    margin-top:5px;
}
nav#icon-nav { width: 100%; overflow: hidden; }
nav#icon-nav ul { list-style: none; position: relative; float: left; display: block; left: 45%; }
nav#icon-nav ul li { position: relative; float: left; display: block; right: 50%; }



/***************************************************************************
// FORMS
***************************************************************************/

.control-group {
    margin-bottom:15px;
}
input[type="text"], input[type="password"] {
    border: 1px dotted #ccc;
    font-size:13px;
    color:#666766;
    padding:6px 8px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
label {
    display:block;
    color:#666766;
    font-size:13px;
    color:#666766;
}
.form-utils {
    font-size:12px;
    color:#666766;
    float:left;
    padding:14px 0 0 10px;
}



/***************************************************************************
// MISC
***************************************************************************/

.pull-left { float:left; }
.pull-right { float:right; }
.block { display:block;}
.m-left { margin-left:76px; }













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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

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



#termBox {
	padding: 10px;
	border: 1px solid #bbb;
	height: 450px;
	overflow: scroll;
	color: #000;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}


.tr { display:table-row; }
.td {
    display:table-cell;
}
