body {
    -moz-user-select: none;
    padding-top: 40px;
}

#pad * {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.editor {
    min-width: 1170px;
}

body:not(.editor) {
    width: 1170px;
    margin: 0 auto;
}

* {
    font-family: 'Oxygen', sans-serif !important;
}

.nav.top-nav li {
    margin-left: 15px;
    margin-right: 15px;
}

.navbar-inner {
    width: 1170px;
    margin: 0 auto;
}

.navbar-fixed-top {
    position: absolute;
}

#schema {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

table.sel-entity {
    border-color: #9ecaed;
    box-shadow: 0 0 10px 2px #9ecaed;
    background-color: rgba(255, 255, 255, 1);
}

table.entity .entity-caption.sel-entity {
    border-color: #9ecaed;
    box-shadow: 0 0 10px 2px #9ecaed;
    background-color: rgba(255, 255, 255, 1);
}

.entities__description {
    max-height: 44px;
    overflow: hidden;
}

.center {
    text-align: center !important;
}

.padding-and-center {
    padding: 5px;
    margin: 5px;
    text-align: center;
}

.entity .entity-caption:hover {
    cursor: move;
}

.entity tr {
    cursor: pointer;
}

.entity td {
    padding: 1px 3px 1px 3px;
    height: 1.3em;
}

td.no-padding {
    padding: 0
}

.entity tr.sel-attr {
    background-color: #9ecaed;
}

.entity tr.highlighted-attr {
    background-color: #CFE5F6;
}

.entity tr.sel-attr.highlighted-attr {
    background-color: #9ecaed;
}

.entity tr:nth-last-child(1) td {
    cursor: pointer;
}

.entity td.empty-last-row {
    height: 0;
    padding: 0;
    min-width: 120px;
}

#control {
    position: absolute;
    left: 0;
    top: 0;
}

.entity-buttons {
    text-align: center;
    margin: 15px;
    padding: 2px !important;
    min-width: 160px;
}

#select-all {
    margin-left: calc(50% - 44px);
    margin-top: 5px;
    margin-bottom: 5px;
}

#first-tab {
    margin-left: 120px;
    width: 120px;
    text-align: center;
}

#second-tab {
    width: 120px;
    text-align: center;
}

#third-tab, #fourth-tab {
    width: 90px;
    text-align: center;
}

#pad {
    width: auto;
    overflow: hidden;
    position: relative;
    margin-right: 300px;
}

#diagram {
    font-size: 12px;
    color: black;
    position: relative;
}

#python-code {
    overflow: auto;
}

.tooltip {
    z-index: 3000 !important;
    font-size: 100% !important;
}

.error .attr-name-input {
    margin-bottom: 0 !important;
}

.align-right {
    text-align: right;
}

#add-entity-last {
    margin-bottom: 30px;
}

.control-label-adjusted {
    width: 260px !important;
    padding-top: 0 !important;
    padding-right: 10px !important;
}

.width120 {
    width: 120px;
}

.nomargin-bottom {
    margin-bottom: 0 !important;
}

.italic {
    font-style: italic;
}

.bold15 {
    font-weight: bold;
    font-size: 15px;
}

.caption-wrapper {
    position: relative;
}

.expand-entity-button {
    position: absolute;
    top: 3px;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 14px;
}

.icon-switch3 {
    background-image: url("/static/img/myglyphs.png");
    background-position: -72px 0;
}

.icon-switch3:hover {
    background-position: -48px 0;
}

.icon-switch2 {
    background-image: url("/static/img/myglyphs.png");
    background-position: -24px 0;
}

.icon-switch2:hover {
    background-position: 0 0;
}

.entity-name {
    margin-right: 20px;
}

.entity-caption {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.entity-attr {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.entity-attr td {
    min-width: 65px;
}

#code-wrapper {
    font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    font-size: 14px;
    margin: 0 8px 8px 8px;
    padding: 16px 8px 8px 32px;
    background-color: rgba(244, 240, 249, 0.1) !important;
    background: url('/static/img/pony-standing2.png') no-repeat bottom right;
    overflow: auto;
    border: 0;
}

.sql-wrapper {
    font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    font-size: 14px;
    margin: 0 8px 8px 8px;
    padding: 16px 8px 8px 32px;
    background-color: rgba(244, 240, 249, 0.1) !important;
    background: url('/static/img/pony-standing2.png') no-repeat bottom right;
    overflow: auto;
    border: 0;
}

.tab-instruments {
    margin: 0 auto;
    text-align: center;
    padding: 5px 300px 5px 0;
    border-bottom: 1px solid #CCC;
}

.tab-instruments .btn-group {
    margin: 0 auto;
}

.tab-instruments > .btn-group > .btn {
    margin-top: 0 !important;
}

.tab-instruments-inner {
    margin-top: 0;
    position: relative;
    padding: 2px;
    min-height: 0;
}

#diagram-tabs {
    margin-bottom: 0;
    margin-top: 12px;
}
#diagram-tabs li:first-child {
    margin-left: 40px;
}

.btn-mini {
    line-height: 15px;
    margin: 0 !important;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 0 !important;
    width: calc(50% - 1px);
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-mini:first-child {
    margin-right: 2px !important;
}

.text {
    color: green;
}

.code-entity-name {
    font-weight: bold;
    color: #3c88b7;
    font-size: 16px;
}

.kind {
    font-weight: bold;
    color: #254559;
}

.modal-backdrop, .modal-backdrop.fade.in {
    opacity: .55 !important;
    filter: alpha(opacity=55);
}

.erd-btn {
    height: 70px;
    width: 100px;
    padding: 0;
    margin: 3px;
}

#erd-diagrams-menu {
    margin-left: auto;
    margin-right: auto;
}

#status {
    width: 300px;
    position: absolute;
    top: 46px;
    z-index: 10;
    right: 1%;
}

.width700 {
    width: 640px;
    margin: 50px 0 0 -320px;
}

.error-field {
    background-color: rgb(253, 194, 194) !important;
}

.gray-color {
    color: #999;
}

.keyword {
    font-weight: bold;
}

.top-nav-diagram-name {
    color: #254559;
    margin-top: 10px;
}

#mini-view {
    position: fixed;
    bottom: 0;
    background-color: #FFF;
    border: 1px solid #AAA;
    width: 298px;
    z-index: 4;
    cursor: move;
}

.width130 {
    width: 130px;
}

.margin-top-3 {
    margin-top: 3px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px !important;
}

#signup-form p {
    margin: 0;
}

#signup-form .control-group {
    margin: 0;
}

#signup-form input {
    margin-bottom: 0;
    margin-top: 9px;
}

.free-signup-block {
    border-radius: 8px;
    background-color: rgb(250, 250, 250);
    padding: 5px 0;
    margin-top: 15px;
}

.upgraded-plan-block {
    border-radius: 8px;
    background-color: rgb(250, 250, 250);
    padding: 15px 25px;
    margin-top: 10px;
    font-size: 22px;
    line-height: 28px;
    font-weight: bold;
}

.diagram-snapshots {
    margin: 5px 0;
}

.signup-left {
    margin-top: 20px;
    margin-bottom: 30px;
    margin-left: -30px;
}

.after-er-ready {
    margin: 10px 0;
    padding: 15px;
    font-size: 18px;
    line-height: 26px;
}


.diagram-name {
    left: 90px !important;
}

tr.diagram-line {
    padding-bottom: 5px;
    min-height: 93px;
}
tr.diagram-line td {
    border: 0;
}

.diagram-name {
    margin: 10px 0 5px 0;
}

.diagram-thumbnail {
    float: left;
    height: 100%;
    display: inline;
    margin-right: 4px;
    min-width: 120px;
}

.diagram-line .diagram-descr {
    margin: 0;
}

.diagram-author {
    font-style: italic;
}

.help-block {
    margin-top: 0 !important;
}

.brand {
    padding: 2px 0 1px 35px !important;
}

.mini-diagram {
    width: 275px;
    height: 275px;
    background-size: 275px 275px;
    background-repeat: no-repeat;
    border: 2px solid #DDD;
    border-radius: 5px;
}

.mini-diagram:hover {
    border: 2px solid;
    border-color: #9ecaed;
    box-shadow: 0 0 10px 2px #9ecaed;
}

.mini-diagram-1 {
    background: url("/static/img/mini-diagram1.png");
}

.mini-diagram-2 {
    background: url("/static/img/mini-diagram2.png");
}

#sidebar-prop-holder {
    min-height: 230px;
}

.form-text {
    line-height: 2.5;
    margin: 12px 0;
}

.plan {
    border: 1px solid #DDD;
    border-radius: 5px;
    list-style-type: none;
    float: left;
    padding: 10px;
    margin: 10px;
}

.diagram-username {
    padding: 2px 5px 2px 5px;
    width: 200px;
}

.diagram-rights {
    padding: 2px 5px 2px 5px;
    width: 150px;
    text-align: center !important;
}

.diagram-remove {
    padding: 2px;
    text-align: center !important;
    width: 70px;
}

.diagram-users-table {
    width: 400px !important;
    margin-bottom: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.shift-right-20 {
    padding-left: 20px;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

#plan-message {
    display: none;
    padding: 10px 10px 10px 20px;
    background-color: #D5F8C6;
    width: 360px;
    border-radius: 18px;
}

/* settings */

.op-status {
    opacity: 0;
    padding: 2px 10px;
    background-color: #37E925;
    border-radius: 12px;
}

.can-edit-status {
    position: absolute;
}

/* owner's home */

#current-user-name {
    padding: 8px 20px;
    font-weight: bold;
}

#settings-security {
    margin-bottom: 100px;
}

.tabs-left {
    height: 80%;
}

.tabs-left .nav-tabs {
    margin-right: 0;
    border-right: 0;
}

.tabs-left .tab-content {
    min-height: 80%;
    padding-left: 30px;
    border-left: 1px solid #ddd;
}

#diagram-settings-form .control-group {
    margin-top: 10px;
}

#diagram-settings-form legend {
    margin-bottom: 10px;
}

#change-pass-message {
    display: inline-block;
}

#change-email-message {
    display: inline-block;
}

.error {
    color: #b94a48;
}

.success {
    padding: 2px 10px;
    background-color: #37E925;
    border-radius: 12px;
}

#account-email {
    margin-top: 40px !important;
}

#diagram-settings-form {
    margin-top: 10px;
}

.home-table {
    width: 100%;
    margin-top: 35px;
}

.home-table-divider {
    font-size: 14px;
    font-weight: bold;
    margin-top: 3px;
    display: inline-block;
}

.padding-left-20 {
    padding-left: 20px;
}

.home-table-total {
    margin-top: 3px;
    display: inline-block;
}

.org-table {
    width: 250px;
    margin-top: 30px;
}

#payment-form legend {
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 10px;
}

#plans-table {
    width: 800px;
}

.middle {
    vertical-align: middle !important;
}

.form-row-float {
    float: left;
}

.success-font {
    color: #239417;
}

.margin-20 {
    margin: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.org-home-table {
    margin-top: 30px;
    width: 330px;
}

/* org home*/

#members, #diagrams, #billing {
    min-height: 400px;
}

.margin-left-20 {
    margin-left: 20px;
}

.green-button {
    display: block;
    background-color: #5bb75b;
    background-image: -moz-linear-gradient(top, #62c462, #51a351);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
    background-image: -webkit-linear-gradient(top, #62c462, #51a351);
    background-image: -o-linear-gradient(top, #62c462, #51a351);
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    color: #fff !important;
    padding: 5px 15px 5px !important;
    margin: 5px !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.btn-signup {
    padding: 5px 15px 5px !important;
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
    border-radius: 8px;
}

.btn-signup:hover {
    background-color: #51a351 !important;
}

.gray-button {
    display: block;
    border: 1px solid #AAA;
    padding: 5px 25px !important;
    margin: 5px !important;
    text-shadow: 0 0 0 !important;
    border-radius: 8px;
}

.gray-button:hover {
    background-color: #5bb75b;
    background-image: -moz-linear-gradient(top, #62c462, #51a351);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
    background-image: -webkit-linear-gradient(top, #62c462, #51a351);
    background-image: -o-linear-gradient(top, #62c462, #51a351);
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    color: #fff !important;
}

.signup-center {
    margin-left: 50px;
}

.steps {
    list-style: none;
    display: block;
    height: 70px;
    text-align: center;
    padding-left: 20px;
    padding-top: 20px;
}

.steps li {
    float: left;
    border-radius: 5px;
    margin: 0 1px;
    padding: 5px;
    border: 1px solid #ccc;
    /*width: 290px;*/
    background-color: #fcfcfc;
    color: #999;
}

.steps li.current {
    background-color: #FFF !important;
    color: #000;
}

#signup-form-title {
    margin: 20px 40px !important;
}

.fa {
    font-size: 20px;
    font-family: FontAwesome !important;
}

small {
    font-size: 90% !important;
}

.small {
    font-size: 90% !important;
}

.current-icon {
    color: #2370b0;
}

.completed-icon {
    color: #5fc25f;
}

.grey-out {
    color: #999 !important;
    display: inline-block;
}

.grey-out a {
    text-decoration: underline;
}

.h45 {
    font-weight: bold;
    line-height: 28px;
    font-size: 22px;
}

.notification {
    display: inline-block;
    padding: 2px 10px;
    margin-top: 3px;
    background-color: rgba(55, 216, 41, 0.54);
    border-radius: 12px;
    font-size: 16px;
}

.margin-left-40 {
    margin-left: 40px;
}

.medium-font {
    font-size: 16px;
}

.btn-rounded {
    border-radius: 15px;
}

.btn-rounded:focus {
    outline: 0;
}

.bold {
    font-weight: bold;
}

.plans1 {
    width: 90px;
}

.plans2 {
    width: 90px;
}

.size-28 {
    font-size: 28px;
}

#chosen-plan-icon {
    display: none;
    position: absolute;
}

.table tbody tr.plan-highlight > td {
    background-color: rgba(190, 240, 189, 0.58);
}

.alert-success {
    background-color: rgba(190, 240, 189, 0.58);
}

.tr-plans {
    height: 35px;
}

.up-down-button {
    width: 110px;
}

.select-plan-button {
    width: 70px;
}

#feedback-button {
    padding: 5px 15px 5px;
    border-radius: 8px;
    color: white;
    outline: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

#feedback-button:hover {
    background-color: #2f96b4;
}

#feedback-button:focus {
    background-position: inherit;
}

#feedback-text {
    width: 100%;
    height: 150px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 10px;
}

#feedback-status {
    display: none;
    background-color: #3ed529;
    position: relative;
    left: -50%;
    text-align: center;
    padding: 25px 60px;
    font-size: 22px;
    border-radius: 28px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.5) 3px 5px 20px, inset rgba(0, 0, 0, 0.2) 0px -3px 5px;
    -khtml-box-shadow: rgba(0, 0, 0, 0.5) 3px 5px 20px, inset rgba(0, 0, 0, 0.2) 0px -3px 5px;
    -moz-box-shadow: rgba(0, 0, 0, 0.5) 3px 5px 20px, inset rgba(0, 0, 0, 0.2) 0px -3px 5px;
    -ms-box-shadow: rgba(0, 0, 0, 0.5) 3px 5px 20px, inset rgba(0, 0, 0, 0.2) 0px -3px 5px;
    -o-box-shadow: rgba(0, 0, 0, 0.5) 3px 5px 20px, inset rgba(0, 0, 0, 0.2) 0px -3px 5px;
    box-shadow: rgba(0, 0, 0, 0.5) 3px 5px 20px, inset rgba(0, 0, 0, 0.2) 0px -3px 5px;
}

#feedback-status-wrapper {
    position: absolute;
    left: 50%;
    top: 30%;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}



.plan-name {
    color: #254559;
    font-size: 24px;
    font-weight: bold;
    padding: 30px 10px !important;
}

.signup-plan-button {
    border-radius: 14px;
    outline: 0;
    margin: 15px 10px;
}

.plan-item {
    padding: 10px 20px !important;
}

.plan-feature {
    padding: 10px 20px !important;
    text-align: right;
}

#confirmation-text, #notification-text {
    min-height: 30px;
}

.alert-margin {
    margin: 5px 0 !important;
}

#payment-errors {
    margin-bottom: 5px;
    height: 20px;
}

.font-h4 {
    font-size: 17.5px;
    margin: 10px 0;
    font-family: inherit;
    font-weight: bold;
    line-height: 20px;
    color: inherit;
    text-rendering: optimizelegibility;
}

.credit-card-info {
    border: 1px solid #ddd;
    width: 480px;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ccard1 {
    width: 98px !important;
    margin-left: 0;
    padding-top: 5px;
    text-align: right;
    padding-right: 10px;
}

.card-expiration {
    width: 65px !important;
    margin-left: 15px !important;
    padding-top: 5px;
    text-align: right;
    padding-right: 10px;
}

.card-slash {
    width: 10px;
    margin-left: 5px !important;
    padding-top: 5px;
}

.no-left-margin {
    margin-left: 0 !important;
}

.card-number {
    margin-left: 0 !important;
    width: 245px !important;
}

.two-digits {
    margin-left: 0 !important;
    width: 25px !important;
}

.four-digits {
    margin-left: 0 !important;
    width: 40px !important;
    margin-bottom: 15px;
}

.blue-background {
    background-color: #2e9fff;
}

.billing-email-label {
    width: 95px !important;
    padding-right: 10px;
}

.margin-left-m30 {
    margin-left: -30px;
}

.footer-links {
    margin: 50px 0 30px 0;
    float: left;
    list-style: none;
    display: block;
    font-size: 13px;
    color: #777;
}

.footer-links li {
    display: inline-block;
    padding: 0 5px;
}

#spin {
    display: none;
    position: absolute;
}

.cplan {
    background-color: #006dcc;
}

.price1 {
    font-size: 22px;
    color: #24480f;
}

.price2 {
    font-size: 16px;
    color: #24480f;
}

.vertical-top {
    vertical-align: top;
}

.align-left {
    text-align: left;
    vertical-align: middle !important;
}

#plans-faq {
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: left;
    padding: 0 20px;
    width: 610px;
}

#plans-and-pricing {
    width: 650px;
}

dt {
    margin-top: 10px;
}

#fast-signup-button {
    width: 220px;
}

h1 {
    line-height: 45px;
}

#save-button {
    width: 130px;
}

.modal-container {
    background-color: #fefefe;
    border-radius: 5px;
    width: 660px;
    margin-left: -330px;
    margin-top: 50px;
    top: 10%;
    left: 50%;
    position: fixed;
    z-index: 1032;
    display: none;
}

.modal-entity {
    display: none;
    position: fixed;
    z-index: 1031;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-entity--show {
    display: block;
}

.modal-entity input {
    box-sizing: content-box;
}

.modal-entity .tname-lock {
    margin-left: 261px;
    user-select: none;
}

.modal-body {
    text-align: center;
}
