@import url("reset.css");

body {
    color: #555;
    background: #f2f2f2;
    font: 11px/1.8 Tahoma, sans-serif;
}

input, button, select, textarea {
    font: 11px/15px Tahoma, sans-serif;
}

a {
    color: #0d8b9b;
    color: #507E40;
    text-decoration: none;
}

a:hover {
    color: #EA6464;
}

p {
    margin-bottom: 20px;
}

p:last-child {
    margin-bottom: 0;
}

h1, h2 {
    font-weight: normal;
    font-family: Arial, sans-serif;
}

h1 {
    font-size: 18px;
}

h2 {
    font-size: 17px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 15px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

h3, h4, h5, h6 {
    margin-bottom: .7em;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.alignright {
    text-align: right;
}

img[align="left"], img.alignleft {
    float: left;
    margin: 6px 15px 15px 0;
}

img[align="right"], img.alignright {
    float: right;
    margin: 6px 0 15px 15px;
}


/* LAYOUT
------------------------------------------------------------------------- */
#wrapper {
    width: 100%;
    margin: 10px auto;
    background: #fff;
    border: 1px solid #ddd;
}

header {
    height: 70px;
    background: #f9f9f9;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#d8d8d8));
    background: -moz-linear-gradient(#fff, #d8d8d8);
    background: linear-gradient(#fff, #d8d8d8);
    border-bottom: 1px solid #f9f9f9;
    position: relative;
}

header h1 {
    float: left;
    margin: 20px 20px 0;
}

header h1 a {
    color: #555;
}

header h1 a:hover {
    color: #555;
}

header h2 {
    float: left;
    font-family: Georgia, sans-serif;
    font-style: italic;
    font-size: 15px;
    color: #999;
    margin: 23px 0 0;
}

header #link {
    position: absolute;
    top: 25px;
    right: 20px;
}

#content {
    border-top: 1px solid #e9e9e9;
    padding: 20px;
}

/*#main {*/
/*	float: left;*/
/*	width: 80%;*/
/*}*/
aside {
    float: right;
    width: 250px;
}

footer {
    text-align: right;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

/* BUTTONS
------------------------------------------------------------------------- */
.button {
    font: 11px Tahoma, sans-serif;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: baseline;
    margin: 0 3px 0 1px;
    outline: none;
    cursor: pointer;
    text-align: center;
    padding: 5px 6px;
    width: auto;
    overflow: visible;
    -webkit-box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 1px 1px 1px #eee;
    -moz-box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 1px 1px 1px #eee;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 1px 1px 1px #eee;
}

.button:hover {
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90);
}

button.button[disabled] {
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
}

a.button:hover {
    color: #fff;
}

.button:active {
    opacity: 0.7;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
}

.button.small {
    font-weight: normal;
    padding: 4px 5px;
    text-shadow: none;
}

.button.red {
    border: 1px solid #9c0606;
    background: #e85353;
}

.button.green {
    border: 1px solid #3b6e22;
    background: #75ae5c;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#75ae5c), to(#649552));
    background: -moz-linear-gradient(#75ae5c, #649552);
    background: linear-gradient(#75ae5c, #649552);
}

.button.white {
    color: #444;
    text-shadow: 1px 1px 0 #fff;
    border: 1px solid #999;
    background: #d8d8d8;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#eee));
    background: -moz-linear-gradient(#fff, #eee);
    background: linear-gradient(#fff, #eee);
}

.button.white:hover {
    color: #444;
}

/* BOXES
------------------------------------------------------------------------- */
.box {
    border: 1px solid #e5e5e5;
    background: #fafafa;
    margin-bottom: 10px;
    margin-top: 8px;
}

.box h2 {
    margin: 0;
    font: 15px Tahoma, sans-serif;
    color: #3276B1;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-feature-settings: normal;
}

.box > div {
    padding: 10px;
    font-size: medium;
    margin-bottom: 5px;
}

/* FORMS
------------------------------------------------------------------------- */
form p {
    clear: left;
    margin-bottom: 0;
    padding: 3px 0;
    width: 100%;
}

form p label {
    display: block;
    cursor: pointer;
    font: 11px Tahoma, sans-serif;
    font-weight: bold;
    color: #555;
    vertical-align: middle;
    padding: 4px 2px;
    margin-right: 10px;
}

form p small {
    display: block;
    font-size: 10px;
    padding: 0 2px;
    color: #aaa;
}

form.inline p label {
    float: left;
    text-align: right;
    width: 45px;
    padding: 4px 0;
}

form.inline p.buttons {
    margin-left: 55px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
    border: 1px solid #ddd;
    padding: 5px 4px;
}

form select {
    padding: 3px;
}

#menu-title, #menu-url, #menu-class {
    width: 90%;
}

#edit-menu-title, #edit-menu-url, #edit-menu-class {
    width: 70%;
}

#menu-group-title {
    width: 70%;
}


/* menu group
------------------------------------------------------------------------- */
ul#menu-group {
    float: left;
    font-weight: bold;
    margin-bottom: 20px;
    background: #fff;
    width: 100%;
    border-bottom: 5px solid #666;
}

ul#menu-group li {
    float: left;
}

ul#menu-group li#add-group {
    float: right;
}

ul#menu-group li#add-group a {
    margin-right: 0;
}

ul#menu-group li a {
    display: block;
    padding: 5px 10px;
    margin: 5px 5px 0 0;
    color: #888;
    background: #eee;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#eee), to(#e4e4e4));
    background: -moz-linear-gradient(#eee, #e4e4e4);
    background: linear-gradient(#eee, #e4e4e4);
}

ul#menu-group li a:hover {
    color: #555;
    background: #eee;
    text-decoration: unset;
}

ul#menu-group li.current a {
    color: #fff;
    background: #616161;

}

/*Edit Form*/
#edit-form {
    display: none;
    border: 1px solid #ccc;
    background: #fcfcfc;
    border-top: none;
    padding: 10px 0;
}

#menu-group-add {
    display: none;
}

/* nested sortable
------------------------------------------------------------------------- */
.ns-helper {
    border: 1px dashed #e3e3e3;
    background: #e6e6e6;
    border-radius: 5px;
}

.sortable {
    margin: 5px 0;
    clear: both;
}

.sortable img {
    vertical-align: bottom;
}

#ns-header {
    padding: 8px 10px;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    background: #616161 !important;
    border-radius: unset !important;
}

#ns-header div {
    border: none;
}

#ns-footer {
    text-align: right;
    margin-top: 10px;
}

.ns-row {
    font: 11px Tahoma, sans-serif;
    line-height: 18px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #cfcfcf;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f9f9f9), to(#f5f5f5));
    background: -moz-linear-gradient(#f9f9f9, #f5f5f5);
    background: linear-gradient(#f9f9f9, #f5f5f5);

    position: relative;
}

.ns-row div {
    border-left: 1px solid #d5d5d5;
    height: 18px;
    overflow: hidden;
    position: absolute;
    top: 6px;
    padding-left: 10px;
}

div.ns-title {
    position: static;
    border: none;
    font-weight: bold;
    padding-left: 0;
    cursor: move;
}

.actions {
    width: 70px;
    right: 12px;

}

.ns-class {
    width: 100px;
    right: 60px;
}

.ns-url {
    width: 150px;
    right: 300px;
}

.actions a {
    margin-left: 10px;
    alignment: center;
}

/* error
------------------------------------------------------------------------- */
span.error {
    color: red;
}

/* loading
------------------------------------------------------------------------- */
#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 44%;
    width: 120px;
    text-align: center;
    background: #444;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    padding: 3px 10px;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    z-index: 10003;
}

#loading img {
    vertical-align: text-bottom;
    margin-right: 2px;
}

/* modal box
------------------------------------------------------------------------- */
#gbox {
    position: absolute;
    position: fixed;
    display: none;
    z-index: 10002;
    width: 370px;
    border: 1px solid #acacac;
    border-radius: 5px;
    color: #222;
    background: #fff;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
. well;
}

#gbox_header {
    padding: 5px 10px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

#gbox h2 {
    font: 15px Arial, sans-serif;
    font-weight: bold;
    color: #333;
    border-bottom: 1px dashed #eaeaea;
    margin: 0 0 10px;
    padding: 0 0 8px;
}

#gbox_content {
    padding: 15px 12px;
    overflow: auto;
    max-height: 400px;
}

#gbox_footer {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    text-align: right;
    border-radius: 5px;
}

#gbox_form input[type="text"] {
    width: 95%;
. group-control;
}

#gbox_bg {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
    z-index: 10001;
    cursor: pointer;
}

#gbox_loading {
    font-size: 18px;
    color: #aaa;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

#gbox input[type="text"] {
    width: 100%;
    border-radius: 5px;
}


/* new library update
-------------------------- */
#easymm ul {
    margin-left: 30px;
}

.ns-helper {
    margin: 5px 0;
}

.ns-row div {
    top: 7px;
}

/*Top Header*/
header {
    background: #616161;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

}

.top-header-text {
    margin-top: 15px;
    color: #ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;

}

/*Current menu*/
.edit-group-buttons{
    margin-top: 5px;
}

