/*----------------------------------------------------------
The base color for this template is #6c757d. If you'd like
to use a different color start by replacing all instances of
#6c757d with your new color.
----------------------------------------------------------*/
html, body {
    color: #696969;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    /*background-color: #6c757d;*/
    font-size: .85em;
    margin: 0;
    padding: 0;
}

.form-control {
    margin-bottom: 3px;
}


a:link {
    color: inherit;
}

a:visited {
    color: inherit;
}

a:hover {
    color: #555;
    text-decoration: none;
}

a:active {
    color: #54c5b0;
}

p, ul {
    font-size: 1em;
    line-height: 1.6em;
    margin-bottom: 20px;
}

header,
footer,
nav,
section {
    display: block;
}

/*
.footer {

	position:relative;
  
	  height:16px;
	 background-image:url("master_images/footer.jpg");
	 background-repeat:no-repeat;
	
	   z-index:3;
	 width:1020px;
	  margin: 0 auto 0 auto;
	text-align: left;
}

/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-size: 1.5em;
}

h1 {
    font-size: 2em;
    margin-bottom: 0;
    padding-bottom: 0;
}

h2 {
    font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'ralewaythin', 'Helvetica Neue', "Calibri Light", "Calibri", Helvetica, Arial, sans-serif;
    font-size: 3em;
    font-weight: 100;
    letter-spacing: 1px;
    line-height: 1.2em;
    overflow: hidden;
    padding: 0 0 10px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

#joblisttable th, td {
    max-width: 400px;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */

.page {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 98%;
    padding-left: 20px;
    padding-right: 20px;
    PADDING-TOP: 20px;
}

header, #header {
    background: white;
    border-bottom-color: black;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #000;
    margin-bottom: 0px;
    padding: 0;
    position: relative;
}

.company-icon {
    float: left;
    margin-top: -11px;
    padding-right: 14px;
}

header h1, #header h1 {
    font-weight: bold;
    line-height: 2em;
    margin: 0;
    padding: 55px;
    /*
    color: #fff;
    border: none;
    
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;*/
}

.page-header {
    font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'ralewaythin', 'Helvetica Neue', "Calibri Light", "Calibri", Helvetica, Arial, sans-serif;
    font-size: 2em;
    font-weight: 100;
    letter-spacing: 1px;
    line-height: 1.2em;
    padding: 0 0 10px 0;
}

.panel panel-dash-col-left {
    width: 25%
}

.panel panel-dash-col-left {
    width: 75%
}

/*
#header_search {
position: relative;
float: right;

margin-right: 20px;
font-size:20px;
color:#00A3EF;
}
/*
#header_search input{
width:210px;
height:22px;
}
    */

/*
#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
    border-radius: 4px 0 0 0;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}
.center 
{
    margin-left:auto;
    margin-right:auto;
}

/* TAB MENU   
----------------------------------------------------------
ul#menu {
   
    padding: 0 0 3px;
    position: relative;
    margin: 0;
 
}

ul#menu li {
    display: inline;
    list-style: none;
    padding-left: 2px;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #444;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #c8eac8;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}


ul#menu_sub {
  
    padding: 0 0 3px;
    position: relative;
    margin: 0;
    
}

ul#menu_sub li {
    display: inline;
    list-style: none;
    padding-left: 2px;
}

ul#menu_sub li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu_sub li a {
    padding: 5px 15px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #EEEEEE;
    color: #000000;
    -webkit-border-radius: 0 0 4px 4px ;
    -moz-border-radius: 0 0 4px 4px ;
    border-radius: 0 0 4px 4px ;
}

ul#menu_sub li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu_sub li a:active {
    background-color: #c8eac8;
    text-decoration: none;
}

ul#menu_sub li.selected a {
    background-color: #fff;
    color: #000;
}
*/

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    margin: 0 0 1.5em 0;
    padding: 0 1.4em 1.4em 1.4em;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input {
    margin-bottom: 2px;
}

    input[type="text"],
    input[type="password"] {
        border: 1px solid #ccc;
        color: #444;
        font-size: 1.2em;
        padding: 2px;
        width: 200px;
    }

select {
    border: 1px solid #ccc;
    color: #444;
    font-size: 1.2em;
    margin-bottom: 2px;
    padding: 2px;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

label.field {
    float: left;
    padding-bottom: 1px;
    text-align: left;
    width: 100px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.85em;
}

    table td {
        border: solid 1px #e8eef4;
        padding: 0px;
        word-wrap: break-word;
        vertical-align: middle;
    }

    table th {
        background-color: #f8f9fa;
        border: solid 1px #e8eef4;
        color: #212529;
        font-size: 1.1em;
        font-weight: 400;
        padding: 6px 5px;
        text-align: left;
    }

tr {
    background-color: inherit
}

    tr:hover {
        background-color: rgb(255, 255, 218)
    }

td a:visited,
td a:link {
    color: inherit;
    text-decoration: inherit;
}

td a:hover {
    text-decoration: underline;
}

td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

tr:nth-child(even) {
    background: #FFF
}

tr:nth-child(odd) {
    background: #f0f0f6
}

/* MISC  
----------------------------------------------------------*/


.clear {
    clear: both;
}

.error {
    color: Red;
}

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*
nav, 
#menucontainer {
    margin-top: -25px;
}
    */

div#title {
    display: -webkit-box;
}

/*
#logindisplay {
    
    padding-top: 5px;

font-size: 1.1em;
display: block;
text-align: right;
position: relative;

float: right;


}

#logindisplay a:link {
    color: black;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: black;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: black;
    text-decoration: none;
}
    */

#categories {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 920px;
}

.categories {
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px solid #D2D2D2;
    box-sizing: border-box;
    float: left;
    height: 200px;
    list-style: none;
    margin: 5px 2% 7px 0;
    padding: 8px 0 12px 0;
    text-align: center;
    vertical-align: bottom;
    width: 200px;
}

    .categories a {
        color: #333;
        font-size: 14px;
        text-align: center;
        text-decoration: none;
        vertical-align: bottom;
    }

    .categories:hover {
        border: 1px solid #6fa8dc;
    }

    .categories img {
        display: block;
        margin: auto;
    }

.cat_img {
    display: block;
    height: 150px;
    margin: auto auto auto auto;
    margin-bottom: auto;
    margin-top: auto;
    text-align: center;
    vertical-align: central;
    width: 150px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/

.field-validation-error {
    color: #cc6666;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    background-color: #ffeeee;
    border: 1px solid #cc6666;
}

.validation-summary-errors {
    color: #cc6666;
    font-weight: bold;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/

.display-label,
.editor-label {
    margin: 1em 0 0 0;
}

.display-field,
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

    .text-box.multi-line {
        height: 6.5em;
    }

.tri-state {
    width: 6em;
}

#groups {
    font-size: larger;
}

    #groups a {
        color: black;
        text-decoration: none;
    }

        #groups a:hover {
            color: gray;
            text-decoration: underline;
        }

#prod_img {
    height: auto;
    max-width: 60px;
}

.appTableLeft {
    font-weight: 600;
}



/* tables */

table.tablesorter {
    background-color: #CDCDCD;
    font-family: arial;
    font-size: 8pt;
    margin: 10px 0pt 15px;
    text-align: left;
    width: 100%;
}

    table.tablesorter thead tr th, table.tablesorter tfoot tr th {
        background-color: #e6EEEE;
        border: 1px solid #FFF;
        font-size: 8pt;
        padding: 4px;
        padding-right: 19px;
    }

    table.tablesorter thead tr .header {
        background-image: url(bg.gif);
        background-position: center right;
        background-repeat: no-repeat;
        cursor: pointer;
    }

    table.tablesorter tbody td {
        background-color: #FFF;
        color: #3D3D3D;
        padding: 4px;
        vertical-align: top;
    }

    table.tablesorter tbody tr.odd td {
        background-color: #F0F0F6;
    }

    table.tablesorter thead tr .headerSortUp {
        background-image: url(asc.gif);
    }

    table.tablesorter thead tr .headerSortDown {
        background-image: url(desc.gif);
    }

    table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
        background-color: #8dbdd8;
    }


/*#search_box .wrapper {

    background:#fff;

    border:1px solid #d28703;

    -moz-border-radius:2px;

    -webkit-border-radius:2px;

    -moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.3), 0 1px #ff0;

    -webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.3), 0 1px #ff0;

    padding:2px 0 2px 3px;

    position:relative;

}*/

#search_box input {
    border: none;
    color: #333;
    font: bold 16px Helvetica, Arial, sans-serif;
    width: 510px;
}

#search_box button {
    -moz-border-radius: 2px;
    -moz-box-shadow: inset 0 -2px 3px #193544, inset 0 1px #907817, 0 1px 1px rgba(0, 0, 0, 4);
    -webkit-border-radius: 2px;
    -webkit-box-shadow: inset 0 -2px 3px #193544, inset 0 1px #907817, 0 1px 1px rgba(0, 0, 0, .4);
    background: -moz-linear-gradient(top, #453e26, #000);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#453e26), to(#000));
    border: 1px solid #000;
    cursor: pointer;
    height: 29px;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 45px;
}


#search_box {
    -moz-border-radius: 5px;
    -moz-box-shadow: inset 0 1px #ffff90, inset 0 -2px 5px #ffd05d, 0 0 0 4px rgba(255, 255, 255, 0.65);
    -webkit-border-radius: 5px;
    -webkit-box-shadow: inset 0 1px #ffff90, inset 0 -2px 5px #ffd05d, 0 0 0 4px rgba(255, 255, 255, 0.65);
    background: -moz-linear-gradient(top, #ffd73a, #ffa500);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffd73a), to(#ffa500));
    border: 1px solid #d28703;
    border-radius: 5px;
    padding: 5px;
    width: 530px;
}

    #search_box .wrapper {
        -moz-border-radius: 2px;
        -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), 0 1px #ff0;
        -webkit-border-radius: 2px;
        -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), 0 1px #84A7FF;
        background: #fff;
        border: 1px solid #034ED2;
        padding: 2px 0 2px 3px;
        position: relative;
    }

#search_box {
    -moz-border-radius: 5px;
    -moz-box-shadow: inset 0 1px #ffff90, inset 0 -2px 5px #ffd05d, 0 0 0 4px rgba(255, 255, 255, 0.65);
    -webkit-border-radius: 5px;
    -webkit-box-shadow: inset 0 1px #E2F3FF, inset 0 -2px 5px #3AB8FF, 0 0 0 4px rgba(255, 255, 255, 0.65);
    background: -moz-linear-gradient(top, #3AB8FF, #005CFF);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#3AB8FF), to(#005CFF));
    border: 1px solid #005CFF;
    border-radius: 5px;
    padding: 5px;
    width: 530px;
}

.large_link {
    clear: right;
    float: left;
    font-size: 18px;
    padding-right: 25px;
    position: relative;
}

    .large_link img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.large_link_wrapper {
    float: left;
}

.img_delete_job {
    background-image: url(./Pics/SA_date_trash_small.png);
    background-position: 0px 0px;
    border: 0px;
    height: 32px;
    width: 32px;
}

    .img_delete_job:hover {
        background-position: 1px 1px;
    }

.img_edit_job {
    background-image: url(./Pics/SA_date_edit_small.png);
    background-position: 0px 0px;
    border: 0px;
    height: 32px;
    width: 32px;
}



    .img_edit_job:hover {
        position: relative;
    }

.img_button_icon:hover {
    position: relative;
    top: -1px;
}

.img_button_icon:hover {
    background-position: 1px 1px;
}


.training_example:hover {
    cursor: pointer;
    margin-bottom: -4px;
}

.training_example_false:hover {
    cursor: pointer;
    margin-bottom: -4px;
}

.training_example_all:hover {
    cursor: pointer;
    margin-bottom: -4px;
}

.training_example_false_all:hover {
    cursor: pointer;
    margin-bottom: -4px;
}

attr_examples {
    display: -webkit-box;
}

.attribute_examples {
    float: left;
    padding-left: 6px;
}

    .attribute_examples:hover {
        background-color: gray;
        cursor: pointer;
    }

.multi_app_selector {
    cursor: pointer;
    float: left;
    height: 100px;
    margin-right: 6px;
    text-align: center;
    width: 100px;
}

.multi_app_selector_single {
    cursor: pointer;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100px;
}

#top5 {
}

.remove_flag {
    float: right;
    height: 40px;
    width: 40px;
}

    .remove_flag:hover {
        cursor: pointer;
        margin-bottom: -4px;
    }


.feature_attr_select_shortkey {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    height: 120px;
    padding: 3px;
    width: 120px;
}

.recommendedAttributeId {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-color: rgb(187, 229, 248);
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    float: left;
    margin-bottom: 5px;
    margin-left: 10px;
    padding: 3px;
    padding-bottom: 5px;
    width: 200px;
}

.recommend_input {
    border: 0px none white;
}


Hide CSS
#tabs-min {
    background: transparent;
    border: none;
}

#tabs-min .ui-widget-header {
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #c0c0c0;
    border-radius: 0px;
}

#tabs-min .ui-tabs-nav .ui-state-default {
    background: transparent;
    border: none;
}

#tabs-min .ui-tabs-nav .ui-state-active {
    background: transparent url(/Content/Pics/uiTabsArrow.png) no-repeat bottom center;
    border: none;
}

#tabs-min .ui-tabs-nav .ui-state-default a {
    border: none;
    color: #c0c0c0;
}

#tabs-min .ui-tabs-nav .ui-state-active a {
    border: none;
    color: #459e00;
}

a:focus, a:active {
    border: 0px none;
    outline: none;
}

/*
    Vertical tabs
    */

.ui-tabs.ui-tabs-vertical {
    padding: 0;
    width: 42em;
}

    .ui-tabs.ui-tabs-vertical .ui-widget-header {
        border: none;
    }

    .ui-tabs.ui-tabs-vertical .ui-tabs-nav {
        background: #ffffff;
        border-radius: 4px 0 0 4px;
        border-right: 1px solid gray;
        float: left;
        width: 10em;
    }

        .ui-tabs.ui-tabs-vertical .ui-tabs-nav li {
            background: whitesmoke;
            border: 1px solid gray;
            border-radius: 4px 0 0 4px;
            border-width: 1px 1px 1px 1px;
            clear: left;
            margin: 0.2em 0;
            overflow: hidden;
            position: relative;
            width: 100%;
        }

            .ui-tabs.ui-tabs-vertical .ui-tabs-nav li a {
                display: block;
                /*width: 100%;*/
                padding: 0.6em 1em;
            }

                .ui-tabs.ui-tabs-vertical .ui-tabs-nav li a:hover {
                    cursor: pointer;
                }

            .ui-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
                background: white;
                border-radius: 4px 0 0 4px;
                border-width: 1px 0 1px 1px;
                margin-bottom: 0.2em;
                overflow: hidden;
                padding-bottom: 0;
                right: -3px;
                z-index: 2;
            }

            .ui-tabs.ui-tabs-vertical .ui-tabs-nav li:last-child {
                margin-bottom: 10px;
            }

    .ui-tabs.ui-tabs-vertical .ui-tabs-panel {
        border-left: 1px solid gray;
        border-radius: 0;
        float: left;
        left: -1px;
        position: relative;
        width: 28em;
    }




/**
 * jQuery AppMenu v1.0 - http://www.josscrowcroft.com/jquery-appmenu/
 *
 * Copyright (c) 2010 Joss Crowcroft - joss[at]josscrowcroft[dot]com | http://josscrowcroft.com
 * Date: 10/10/2010
 * 
 * Contains essential plugin styles.
 * 
 * see http://josscrowcroft.com/jquery-appmenu/ for docs and demos
**/




#appMenu * {
    border: 0;
    line-height: 1;
    margin: 0;
    outline: 0;
    padding: 0
}

div#appMenu {
    display: none;
    position: fixed;
    text-align: center;
    top: 15%;
    width: 80%;
    z-index: 9999
}

#appMenu ul {
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    display: inline-block;
    list-style: none;
    padding: 6px 26px 5px;
    position: relative;
}

    #appMenu ul li {
        float: left;
        margin: 0 5px;
        width: 126px;
    }

        #appMenu ul li a {
            display: block;
            padding: 16px 0 0;
            text-decoration: none;
            width: 100%;
        }

            #appMenu ul li a img {
                display: block;
                height: 120px;
                margin: 0 auto;
                padding: 6px;
                width: 120px;
            }

            #appMenu ul li a.selected img {
                -moz-border-radius: 10px;
                -webkit-border-radius: 10px;
                background: rgba(0, 0, 0, 0.44);
                border: 3px solid #fafafa;
                border-radius: 10px;
                padding: 3px
            }

            /*Kaspers addition*/

            #appMenu ul li a div {
                display: block;
                height: 120px;
                margin: 0 auto;
                padding: 6px;
                width: 120px;
            }

            #appMenu ul li a.selected div {
                -moz-border-radius: 10px;
                -webkit-border-radius: 10px;
                background: rgba(0, 0, 0, 0.44);
                border: 3px solid #fafafa;
                border-radius: 10px;
                padding: 3px
            }

        #appMenu ul li p {
            min-height: 20px;
            padding-top: 5px;
            text-align: center;
        }

        #appMenu ul li span {
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 10px;
            color: #f7f7f7;
            display: inline-block;
            font: bold 14px/1.0 Arial, sans-serif;
            letter-spacing: 0.03em;
            min-height: 17px;
            padding: 3px 10px 0;
            text-shadow: 0 1px 1px #000;
            visibility: hidden;
        }

        #appMenu ul li a.selected span {
            visibility: visible
        }

#appMenu #appMenuControl {
    color: #fff;
    font: normal 13px Arial, sans-serif;
    margin-right: 20px;
    position: absolute;
    right: 0;
    text-align: right;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
    top: 5px;
    width: 100%;
}


#recipeTable td {
    max-width: 300px;
}

/* New bootsnip menu*/

:focus {
    outline: none;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* 
    Sometimes the sub menus get too large for the page and prevent the menu from scrolling, limiting functionality
    A quick fix is to change .side-menu to 

    -> position:absolute
    
    and uncomment the code below.
    You also need to uncomment 
    
    -> <div class="absolute-wrapper"> </div> in the html file

    you also need to tweek the animation. Just uncomment the code in that section
    --------------------------------------------------------------------------------------------------------------------
    If you want to make it really neat i suggest you look into an alternative like http://areaaperta.com/nicescroll/
    This will allow the menu to say fixed on body scoll and scoll on the side bar if it get to large
*/

/*.absolute-wrapper{
    position: fixed;
    width: 300px;
    height: 100%;
    background-color: #f8f8f8;
    border-right: 1px solid #e7e7e7;
}*/

.side-menu {
    background-color: #e3f2fd;
    border-right: 1px solid #e7e7e7;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    height: 100%;
    position: fixed;
    width: 190px;
}

    .side-menu .navbar {
        border: none;
    }

    .side-menu .navbar-header {
        border-bottom: 1px solid #e3f2fd;
        width: 100%;
    }

    .side-menu .navbar-nav .active a {
        background-color: transparent;
        border-right: 5px solid #e3f2fd;
        margin-right: -1px;
    }

    .side-menu .navbar-nav li {
        border-bottom: 1px solid #e3f2fd;
        display: block;
        width: 100%;
    }

        .side-menu .navbar-nav li a {
            padding: 15px;
        }

            .side-menu .navbar-nav li a .glyphicon {
                padding-right: 10px;
            }

    .side-menu #dropdown {
        background-color: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 0;
    }

        .side-menu #dropdown .caret {
            float: right;
            margin: 9px 5px 0;
        }

        .side-menu #dropdown .indicator {
            float: right;
        }

        .side-menu #dropdown > a {
            border-bottom: 1px solid #e7e7e7;
        }

        .side-menu #dropdown .panel-body {
            background-color: #f3f3f3;
            padding: 0;
        }

            .side-menu #dropdown .panel-body .navbar-nav {
                width: 100%;
            }

                .side-menu #dropdown .panel-body .navbar-nav li {
                    border-bottom: 1px solid #e7e7e7;
                    padding-left: 15px;
                }

                    .side-menu #dropdown .panel-body .navbar-nav li:last-child {
                        border-bottom: none;
                    }

            .side-menu #dropdown .panel-body .panel > a {
                margin-left: -20px;
                padding-left: 35px;
            }

            .side-menu #dropdown .panel-body .panel-body {
                margin-left: -15px;
            }

                .side-menu #dropdown .panel-body .panel-body li {
                    padding-left: 30px;
                }

                    .side-menu #dropdown .panel-body .panel-body li:last-child {
                        border-bottom: 1px solid #e7e7e7;
                    }

    .side-menu #search-trigger {
        background-color: #f3f3f3;
        border: 0;
        border-radius: 0;
        padding: 15px 18px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .side-menu .brand-name-wrapper {
        min-height: 50px;
    }

        .side-menu .brand-name-wrapper .navbar-brand {
            display: block;
        }

    .side-menu #search {
        position: relative;
        z-index: 1000;
    }

        .side-menu #search .panel-body {
            padding: 0;
        }

            .side-menu #search .panel-body .navbar-form {
                border-top: 1px solid #e7e7e7;
                margin: 0;
                padding: 0;
                padding-right: 50px;
                position: relative;
                width: 100%;
            }

                .side-menu #search .panel-body .navbar-form .form-group {
                    position: relative;
                    width: 100%;
                }

                .side-menu #search .panel-body .navbar-form input {
                    border: 0;
                    border-radius: 0;
                    box-shadow: none;
                    height: 50px;
                    width: 100%;
                }

                .side-menu #search .panel-body .navbar-form .btn {
                    background-color: #f3f3f3;
                    border: 0;
                    border-radius: 0;
                    padding: 15px 18px;
                    position: absolute;
                    right: 0;
                    top: 0;
                }

/* Main body section */

.side-body {
    margin-left: 210px;
}

/* small screen */

@media (max-width: 768px) {
    .side-menu {
        border-bottom: 1px solid #e7e7e7;
        border-right: 0;
        height: 0;
        position: relative;
        width: 100%;
    }

        .side-menu .brand-name-wrapper .navbar-brand {
            display: inline-block;
        }

    /* Slide in animation */
    @-moz-keyframes slidein {
        0% {
            left: -300px;
        }

        100% {
            left: 10px;
        }
    }

    @-webkit-keyframes slidein {
        0% {
            left: -300px;
        }

        100% {
            left: 10px;
        }
    }

    @keyframes slidein {
        0% {
            left: -300px;
        }

        100% {
            left: 10px;
        }
    }

    @-moz-keyframes slideout {
        0% {
            left: 0;
        }

        100% {
            left: -300px;
        }
    }

    @-webkit-keyframes slideout {
        0% {
            left: 0;
        }

        100% {
            left: -300px;
        }
    }

    @keyframes slideout {
        0% {
            left: 0;
        }

        100% {
            left: -300px;
        }
    }

    /* Slide side menu*/
    /* Add .absolute-wrapper.slide-in for scrollable menu -> see top comment */
    .side-menu-container > .navbar-nav.slide-in {
        -moz-animation: slidein 300ms forwards;
        -o-animation: slidein 300ms forwards;
        -webkit-animation: slidein 300ms forwards;
        -webkit-transform-style: preserve-3d;
        animation: slidein 300ms forwards;
        transform-style: preserve-3d;
    }

    .side-menu-container > .navbar-nav {
        -moz-animation: slideout 300ms forwards;
        -o-animation: slideout 300ms forwards;
        -webkit-animation: slideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        animation: slideout 300ms forwards;
        background-color: #f8f8f8;
        border-right: 1px solid #e7e7e7;
        height: 100%;
        left: -300px;
        /* Add position:absolute for scrollable menu -> see top comment */
        position: fixed;
        top: 43px;
        transform-style: preserve-3d;
        width: 300px;
    }

    /* Uncomment for scrollable menu -> see top comment */
    /*.absolute-wrapper{
        width:285px;
        -moz-animation: slideout 300ms forwards;
        -o-animation: slideout 300ms forwards;
        -webkit-animation: slideout 300ms forwards;
        animation: slideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }*/
    @-moz-keyframes bodyslidein {
        0% {
            left: 0;
        }

        100% {
            left: 300px;
        }
    }

    @-webkit-keyframes bodyslidein {
        0% {
            left: 0;
        }

        100% {
            left: 300px;
        }
    }

    @keyframes bodyslidein {
        0% {
            left: 0;
        }

        100% {
            left: 300px;
        }
    }

    @-moz-keyframes bodyslideout {
        0% {
            left: 300px;
        }

        100% {
            left: 0;
        }
    }

    @-webkit-keyframes bodyslideout {
        0% {
            left: 300px;
        }

        100% {
            left: 0;
        }
    }

    @keyframes bodyslideout {
        0% {
            left: 300px;
        }

        100% {
            left: 0;
        }
    }

    /* Slide side body*/
    .side-body {
        -moz-animation: bodyslideout 300ms forwards;
        -o-animation: bodyslideout 300ms forwards;
        -webkit-animation: bodyslideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        animation: bodyslideout 300ms forwards;
        margin-left: 5px;
        margin-top: 70px;
        position: relative;
        transform-style: preserve-3d;
    }

    .body-slide-in {
        -moz-animation: bodyslidein 300ms forwards;
        -o-animation: bodyslidein 300ms forwards;
        -webkit-animation: bodyslidein 300ms forwards;
        -webkit-transform-style: preserve-3d;
        animation: bodyslidein 300ms forwards;
        transform-style: preserve-3d;
    }

    /* Hamburger */
.navbar-toggler {
    background-color: #f3f3f3;
    border: 0;
    border-radius: 0;
    float: left;
    margin: 0;
    padding: 18px;
}

    /* Search */
    #search .panel-body .navbar-form {
        border-bottom: 0;
    }

        #search .panel-body .navbar-form .form-group {
            margin: 0;
        }

    .navbar-header {
        background-color: #f8f8f8;
        /* this is probably redundant */
        position: fixed;
        z-index: 3;
    }

    /* Dropdown tweek */
    #dropdown .panel-body .navbar-nav {
        margin: 0;
    }
}

.spinner { border:4px solid rgba(0,0,0,0.1); border-left-color:#09f; border-radius:50%; width:36px; height:36px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.word-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 600px;
}

.word-box {
    border: 1px solid #ccc;
    padding: 4px 8px;
    margin: 2px;
    background-color: #f9f9f9;
    border-radius: 3px;
}

.token-box {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 4px;
    background-color: #eef;
    border-radius: 4px;
    border: 1px solid #99c;
}

/* Pale button overrides to reduce harsh colors */

/* Softer shades for buttons */
.btn-primary {
    background-color: #dee9ff;
    border-color: #dee9ff;
    color: #000;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #cfe0ff;
    border-color: #cfe0ff;
    color: #000;
}

.btn-info {
    background-color: #e3f2fa;
    border-color: #e3f2fa;
    color: #000;
}

.btn-info:hover,
.btn-info:focus {
    background-color: #d6eef7;
    border-color: #d6eef7;
    color: #000;
}

.btn-danger {
    background-color: #f8d7da;
    border-color: #f8d7da;
    color: #000;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #f1b0b7;
    border-color: #f1b0b7;
    color: #000;
}

.btn-success {
    background-color: #e6f6e6;
    border-color: #e6f6e6;
    color: #000;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #d2ebd2;
    border-color: #d2ebd2;
    color: #000;
}

.btn-warning {
    background-color: #fff4e1;
    border-color: #fff4e1;
    color: #000;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #ffe9c5;
    border-color: #ffe9c5;
    color: #000;
}

.btn-secondary {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: #000;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #e6e6e6;
    border-color: #e6e6e6;
    color: #000;
}
