/*!
 * jQuery contextMenu - Plugin for simple contextMenu handling
 *
 * Version: 1.6.5
 *
 * Authors: Rodney Rehm, Addy Osmani (patches for FF)
 * Web: http://medialize.github.com/jQuery-contextMenu/
 *
 * Licensed under
 *   MIT License http://www.opensource.org/licenses/mit-license
 *   GPL v3 http://opensource.org/licenses/GPL-3.0
 *
 */

.context-menu-list {
    margin:0; 
    padding:0;
    
    min-width: 120px;
    max-width: 250px;
    display: inline-block;
    position: absolute;
    list-style-type: none;
    
    border: 1px solid #DDD;
    background: #EEE;
    
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
       -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        -ms-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
         -o-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
	color: #000000;
}

.context-menu-item {
    padding: 10px 10px 10px 35px;
	margin: 0px;
    /*background-color: #EEE;*/
	background-color: #FFFFFF;
    position: relative;
	list-style-type: none;
    -webkit-user-select: none;
       -moz-user-select: -moz-none;
        -ms-user-select: none;
            user-select: none;
}

.context-menu-separator {
    padding-bottom:0;
    border-bottom: 1px solid #DDD;
}

.context-menu-item > label > input,
.context-menu-item > label > textarea {
    -webkit-user-select: text;
       -moz-user-select: text;
        -ms-user-select: text;
            user-select: text;
}

.context-menu-item.hover {
    cursor: pointer;
    background-color: #f0f0f0;
}

.context-menu-item.disabled {
    color: #666;
}

.context-menu-input.hover,
.context-menu-item.disabled.hover {
    cursor: default;
    background-color: #EEE;
}

.context-menu-submenu:after {
    content: ">";
    color: #666;
    position: absolute;
    top: 0;
    right: 3px;
    z-index: 1;
}

/* icons
    #protip:
    In case you want to use sprites for icons (which I would suggest you do) have a look at
    http://css-tricks.com/13224-pseudo-spriting/ to get an idea of how to implement 
    .context-menu-item.icon:before {}
 */
.context-menu-item.icon { min-height: 15px; /*background-repeat: no-repeat; background-position: 4px 2px;*/ }
.context-menu-item.icon-edit { background-image: url(images/page_white_edit.png); }
.context-menu-item.icon-cut { background-image: url(images/cut.png); }
.context-menu-item.icon-copy { background-image: url(images/page_white_copy.png); }
.context-menu-item.icon-paste { background-image: url(images/page_white_paste.png); }
.context-menu-item.icon-delete { background-image: url(images/page_white_delete.png); }
.context-menu-item.icon-add { background-image: url(images/page_white_add.png); }
.context-menu-item.icon-quit { background-image: url(images/door.png); }

/* vertically align inside labels */
.context-menu-input > label > * { vertical-align: top; }

/* position checkboxes and radios as icons */
.context-menu-input > label > input[type="checkbox"],
.context-menu-input > label > input[type="radio"] {
    margin-left: -17px;
}
.context-menu-input > label > span {
    margin-left: 5px;
}

.context-menu-input > label,
.context-menu-input > label > input[type="text"],
.context-menu-input > label > textarea,
.context-menu-input > label > select {
    display: block;
    width: 100%;
    
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

.context-menu-input > label > textarea {
    height: 100px;
}
.context-menu-item > .context-menu-list {
    display: none;
    /* re-positioned by js */
    right: -5px;
    top: 5px;
}

.context-menu-item.hover > .context-menu-list {
    display: block;
}

.context-menu-accesskey {
    text-decoration: underline;
}

/*
#container {
    margin: 0 auto;
    width: 700px;
    padding: 20px;
    background-color: #FFFFFF;
    border-left: 1px solid #999999;
    border-right: 1px solid #999999;
}
*/

.description { 
    font-size: 1.2em; 
    margin-bottom: 30px; 
    margin-top: 30px; 
    font-style: italic;
}

hr { 
    border: 0; 
    width: 80%; 
    border-bottom: 1px solid #aaa;
}

ul.plain-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.context-menu-list, ul.context-menu-item, ul.context-menu-root, ul.context-menu-root, ul.context-menu-list:hover, ul.context-menu-item:hover {
	background-image: none;
	list-style-type: none;
	list-style: none;
}
li.context-menu-list, li.context-menu-item, li.context-menu-root, li.context-menu-root, li.context-menu-list:hover, /*li.context-menu-item:hover*/ {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #103642;
	background-image: none;
	list-style-type: none;
	list-style: none;
}
ul li.context-menu-list:before, ul li.context-menu-item:before, ul li.context-menu-root:before {
	content: "";
	background-image: none;
	list-style-type: none;
	list-style: none;
}

ul.plain-list > li {
    list-style-type: none;
	background-image: none;
    margin: 0;
    padding: 0;
}

#download { 
    float: right; 
}

#github-forkme {
    position: absolute; 
    top: 0; 
    right: 0;
}

#github-watch {
    position: fixed; 
    bottom: 10px; 
    right: 10px;
}

#container .footer { text-align:center; padding-top:30px; font-style: italic; }

/*
	Styles below sometimes triggered the total page to become too wide,
	causing the horizontal scrollbar to appear without it being neccesary
*/
/*
.menu { font-size: 0; }
.menu > li {
    list-style-type: none;
    display: inline-block;
    font-size: 15px;
}
.menu > li + li {
    margin-left: 5px;
}
.menu > li > a {
    color: white;
    font-weight: bold;
    background-color: #666;
    text-decoration: none;
    display: block;
    padding: 2px 4px 2px 4px;
}

.menu > li.active > a {
    background-color: #2C879B;
}

.menu > li > a:hover {
    background-color: #111;
}
*/

#demo-list > li.current {
    font-style: italic;
}
#demo-list > li.current:after {
    content: "« currently viewing";
    color: #AAA;
    display: inline-block;
    margin-left: 20px;
}

/* hide whitespace between inline-block elements */
.inline-spaces { font-size: 0; }
.inline-spaces > * { font-size: 11px; }
