body {
    overflow-y: scroll;
}

.popover {
    max-width: none;
}

.popover-img {
    max-width: 640px;
    max-height: 360px;
}

.page-menu {
    margin-top: 8px;
    margin-bottom: 8px;
}
.page-menu > div {
    margin: 8px 0;
}

.page-title {
     margin: 0;
}

.height-margins {
    margin: 16px 0;
}

.dont-wrap {
    white-space: nowrap;
}

.drop-list {
    display: inline-block;
    width: 150px;
}

.nav-tabs a:focus {
  outline: none;
}

.panel-heading.sub-heading {
    border-top: 1px solid #DDD;
}

.panel.panel-collapsible .panel-heading:hover {
    background-color: #e8e8e8;
}

.radio-img label {
    cursor: pointer;
    text-align: center;
}

/* Database table entries */
.entry-state-create {
    background: #f5f5f5;
}
.entry-state-new {
    background: #d9edf7;
}
.entry-state-changed {
    background: #d29cd6;
}
.entry-state-destroy {
    display: none;
}


/* Login form */
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Register form */
.form-register {
    max-width: 330px;
    padding: 15px;
}


/* section drag n drop */
.drag1 {
	cursor: pointer;
}
.section-builder-container {
    height: 65vh;
    overflow-y: scroll;
    border-bottom: 1px solid #e3e3e3;
}
.section-builder-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-bottom: 5px;
}
.section-builder-menu > div {
    margin: 5px 2px;
}
.sb-components-header {
    margin: 18px 0;
}
.sb-drawing-header {
    margin: 0;
    margin-bottom: 15px;
}

/* Open file drop */
.file-drop-area {
    height: 100px;
    line-height: 100px;
    border: 2px dashed #ccc;
    color: #ccc;
    text-align: center;
}
.file-drop-area.drop {
    color: #337AB7;
    border-color: #337AB7; /*#204D74*/
}
