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;
}

.cms-editable:after{
    content: '';
    display: table;
    clear: both;
}
/* ----------------------------------------------------------------------------------------------------------------------
Nav STYLES
-------------------------------------------------------------------------------------------------------------------------*/
.header-container header nav{
    display: none;
}

article{
    margin-bottom: 20px;
}

.navbar-toggle {
    display: none;

    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    float: right;
    margin-bottom: 8px;
    margin-right: 15px;
    margin-top: 8px;
    padding: 9px 10px;
    position: relative;
}
.sr-only {
    border: 0 none;
    clip: rect(0px, 0px, 0px, 0px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.navbar-toggle .icon-bar {
    border-radius: 1px;
    display: block;
    height: 2px;
    width: 22px;
    background-color: #ccc;
}
.navbar-toggle:hover .icon-bar{
    background-color: #4BB6E4;
}
.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}
/* ----------------------------------------------------------------------------------------------------------------------
SIDE MENU STYLES
-------------------------------------------------------------------------------------------------------------------------*/
aside ul{
    padding: 0;
    margin: 0;
    background-color: #f0f5f8;
    border: 1px solid #cccccc;
}
article aside ul{
    border: none;
}
aside ul ul{
    border: none;
}

aside .menu-body-wrapper > ul > .subsection {
    padding: 0 15px;
    margin: 0 -15px;
}
aside .subsection ul{
    display: none;
}
.subsection > ul > li{
    padding-left: 12px;
}
aside .subsection .subsection ul{
    display: inline;
}
.main aside .menu-body-wrapper .subsection > a{
    padding: 3px 15px;
    margin: 0 -15px;
    background-image: url('../images/iconPlus.png');
    background-position: right 5px center;
    background-repeat: no-repeat;
}
aside .subsection.expanded{
    background-color: #eafaff;
}
.main aside .menu-body-wrapper .subsection.expanded .subsection a{
    background-image: none;
}
.main aside .menu-body-wrapper .subsection.expanded > a {
    background-color: #ccf3ff;
    background-image: url('../images/iconMinus.png');
}
aside .subsection.expanded > ul{
    display: inline;
}
aside .subsection.expanded .subsection li {
    background-image: url('../images/iconIndent.png');
    background-position: 3px top;
    background-repeat: no-repeat;
    padding-left: 20px;
}

/* ===================
    ALL: Green Theme
   =================== */
.wrapper {
    margin: 0 1%;
}
.header-container .wrapper{
    margin-left: 1%;
    margin-right: 1%;
}

.main-container {
    background-color: White;
}

.main aside .menu-body-wrapper {
    padding: 10px 15px;
}
.main aside .menu-body-wrapper.goback-section {
    padding: 5px 20px;
    background-color: #66C130;
}
.main aside .menu-body-wrapper a {
    display: block;
    padding: 3px 0px;
}
.main aside .menu-body-wrapper.goback-section a {
    color: white;
}
.main aside .menu-body-wrapper .section-header {
    color: #369;
    padding: 0px;
    font-size: 1.3em;
}
.main aside .menu-body-wrapper .section-header:hover,
.main aside .menu-body-wrapper.expanded > .section-header{
    color: #639;
}
.main aside .section-divider {
    height: 1px;
    background: #cccccc;
}
.title {
    color: white;
}
#logo {
    float:left; 
}
#search {
    border: medium none;
    box-sizing: border-box;
    color: #333;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 33px;
    font-size: .8em;
    width: 230px;
    background-color: #eee;
    background-image: url("../images/searchBackground.png");
    background-position: right 5px center;
    background-repeat: no-repeat;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#footerWrapper div.footerCol 
{
    vertical-align: top;
    display: inline-block;
	box-sizing: border-box;
    width:25%;       
}
/* ==============
    MOBILE: Menu
   ============== */
#searhContainer {
    display: inline-block;
    height: 45px;
    text-align: center;
    width: 100%;
}
#search{
    display: inline;
    float: none;
    margin: 6px auto 0;
    vertical-align: middle;
    border: medium none;
    box-sizing: border-box;
    font-size: 0.8em;
    line-height: 33px;
    padding-left: 15px;
    padding-right: 15px;
    width: 95%;
}
nav{
    width: 100%;
}
header > nav > ul {
    background-color: #544737;
    z-index: 1;
}
nav ul {
    margin: 0;
    padding: 0;
}
nav > ul > li {
    width: 100%;
    display: inline-block;
}
nav ul li ul li a{
    font-size: 1.2em;
}

nav a {
    color: white;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    font-size: 1.2em;
    line-height: 2.3em;
    font-weight: normal;
    vertical-align: top;
    text-decoration: none;
}
nav a:visited{
    color: white;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 15px 0;
}

.main aside li{
    list-style: none;
}
.main aside a{
    text-decoration: none;
}
.main aside a, .main aside a:visited{
    color: #369;
}
.main aside a:hover,
.main aside a.selected, 
.main aside a.selected:visited,
.main aside a.selected:hover{
    color: #639;
}

.main aside a:hover{
    text-decoration: underline;
}
.footer-container footer {
    color: white;
    padding: 20px 0;
}
#footerWrapper div.footerCol 
{
    width:100%;       
}
aside figure 
{
    max-width: none;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}
.header-border{
    background-color: White;
    border-bottom: 6px solid #4BB6E4;
} 

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
    #footerWrapper div.footerCol 
    {
        width:50%;       
    }
    .oldie nav a {
        margin: 0 0.7%;
    }
    .wrapper{
        margin: 0 5%
    }
    .header-container .wrapper{
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media only screen and (min-width: 768px) {
    figure.floatLeft, figure.floatRight{
        max-width: 50%;
    }
    .header-container header nav{
        display: table!important;
    }
    .header-container header nav{
        display: block;
    }
    .navbar-toggle{
        display: none;
    }
    header > nav > ul{
        background-color: transparent;
    }
    nav>ul{
        position: relative;
    }
    nav a{
        display: block;
        box-sizing: border-box;
        font-size: 1.3em;
        font-weight: bold;
        text-decoration: none;
        margin: 0 auto;
        width: 100%;
    }

    nav li ul li{
        display: block;
        float: none;
        position: relative;
    }

    nav ul li ul li a {
        height: auto;
        padding-top: 5px;
        padding-bottom: 5px;
        line-height: 1.2em;
    }
    nav ul li ul li ul{
        top: 0px;
        left: 100%;
        min-width: 100%;
        position: absolute;
        background-color: White;
        padding: 10px 0;
        border: 1px solid #eeeeee;
        border-image-outset: 0px;
        border-image-repeat: stretch;
        border-image-slice: 100%;
        border-image-source: none;
        border-image-width: 1;
    }     
    nav ul li a:hover + .hidden, 
    .hidden:hover{
        display: block;
        box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 5px 0px;
    }
    .hidden .nav-group:after,
    .hidden .nav-group.hover:after{
        content: ">";
    }
    
    #searhContainer{
        background-color: transparent;
        height: 97.9px;
    }
    #search{
        background-color: white;
        display: block;
        margin: 24px auto 0;
        width: 230px;
        float: right;
    }
    #logo{
        /*position: absolute;*/
        width: auto;
        margin-top: 25px;
    }
    nav > ul > li {
        width: 20%;
        float: left;
        height: 52px;
        box-sizing: border-box;
        padding: 0 2px;
    }
    
    /*nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }*/
    .header-border{
        background-image: url('../images/headerImage.jpg');
        background-position: center top;
        background-size: auto 145px;
        background-repeat: repeat-x;
        height: 145px;
    } 
/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        margin-top: 0px;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 74%;
    }

    .main aside {
        float: right;
        width: 20%;
        margin-top: 0px;
    }
    
    #footerWrapper div.footerCol 
    {
        width:25%;       
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    .header-container .wrapper {
        width: 1026px;
        margin-left: auto;
        margin-right: 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;
}

.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;
    }
}

.lt-ie9 #search{
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: normal;
    font-family: Arial;
    font-size: 1em;
}
.gt-ie8 #search{
    height: 33px;
    line-height: normal;
    font-size: 1em;
}
.gt-ie8 #search::-ms-clear {
    display: none;
}
.breadcrumb-arrow{
    background-image: url("../images/breadcrumbArrow.png");
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 8px;
    margin: 0 8px;
}

.cms-overlay{
    position: fixed;
    top:0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}
.cms-overlay-background{
    background-color: Black;
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0.6;
    z-index: -1;
}
.cms-overlay iframe{
    display: block;
    margin: 20% auto;
}

.ui.box{
    box-sizing: border-box;
    box-shadow: 0 0 5px #ccc;
}

.k-edit-field .k-checkbox{
    display: inline !important;
}

article form input, article form select{
    border: 1px solid #ccc;
    height: auto!important;
    padding: 4px 5px;
    border-radius: 2px;
}
article form input:focus, article form select:focus{
    border-color: #4BB6E4;
    box-shadow: 0 0 4px #4BB6E4;
}


.tablesaw-advance-dots li:before {
    content: none;
}

.dialog-table-coltoggle.tablesaw-columntoggle-popup{
    text-align: left;
}

.table .header, .table .rowheader{
    font-family: Open Sans Condensed;
    font-size: 0.9rem;
    padding: 0.2em;
}
.table .header{   
    background-color: #F0F0F0;
    color: rgba(0, 0, 0, 0.8);
}
.table .rowheader{
    background-color: White;
    color: #252525;
}

.table {
    background: none repeat scroll 0 0 #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0.25rem;
    border-spacing: 0;
    box-shadow: none;
    color: rgba(0, 0, 0, 0.8);
}
.table td, .table th{
    font-family: Arial;
    font-size: 0.8rem;
    padding: 0.2em;
    border: 1px solid #ccc;
    line-height: 0.9em;
}

.table tr{
    border: 1px solid #ccc;
}

.table td.data {
    text-align: center;
    vertical-align: middle;
    line-height: 1em;
}
.table td.data.l {
    text-align: left;    
}
.table td.data.r {
    text-align: right;
}
.table td, .ui.table th {
    transition: background 0.2s ease 0s, border-color 0.2s ease 0s, color 0.2s ease 0s;
}

.table thead .th{
     background: none repeat scroll 0 0 #f0f0f0;
    border-bottom: 1px solid #d4d4d5;
    border-left: medium none;
    color: rgba(0, 0, 0, 0.8);
    cursor: auto;
    font-weight: 700;
    padding: 0.2em;
    text-align: left;
    text-transform: none;
    vertical-align: middle;
}

.systitleandfootercontainer .c
{
    text-align: center;
}

.systemtitle, .systemtitle1, .systemtitle2, .systemtitle3, .systemtitle4, .systemtitle5, .systemtitle6, .systemtitle7, .systemtitle8  {
    background-color: #FFF;
    color: #039;
    font-family: Verdana,Arial,Helvetica;
    font-size: xx-small;
    font-style: italic;
    font-weight: bold;
}