@font-face {
    font-family: 'Roboto Condensed';
    src: url('../assets/fonts/Roboto_Condensed/RobotoCondensed-Light.ttf');
    font-weight: 300;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('../assets/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf');
    font-weight: Normal;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('../assets/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf');
    font-weight: Bold;
}

@font-face {
    font-family: 'Averia Libre';
    src: url('../assets/fonts/Averia_Libre/AveriaLibre-Light.ttf');
    font-weight: 300;
}

@font-face {
    font-family: 'Averia Libre';
    src: url('../assets/fonts/Averia_Libre/AveriaLibre-Regular.ttf');
    font-weight: Normal;
}

@font-face {
    font-family: 'Averia Libre';
    src: url('../assets/fonts/Averia_Libre/AveriaLibre-Bold.ttf');
    font-weight: Bold;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Light.ttf');
    font-weight: 300;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Regular.ttf');
    font-weight: Normal;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Bold.ttf');
    font-weight: Bold;
}

*, *:before, *:before {
    box-sizing: border-box;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

html, body, .joint-app {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    user-select: none;
    font-family: sans-serif, Arial;
    overflow: hidden;
}

.app-header {
    position: relative;
    width: 100%;
}

.full-screen .app-header {
    display: none;
    height: 0px;
}

.app-body {
    position: relative;
    height: -moz-calc(100% - 60px);
    height: -webkit-calc(100% - 60px);
    height: calc(100% - 60px);
}

.full-screen .app-body {
    width: 100vw;
    height: 100vh;
}

.app-body:before,
.app-body:after {
    display: table;
    content: '';
    clear: both;
}

.app-title {
    display: inline-block;
    width: 240px;
    height: 100%;
    padding: 0;
}

.app-title > h1 {
    color: #fff;
    font-size: 20px;
    line-height: 60px;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
    padding: 0 0 0 30px;
    letter-spacing: .05em;
    text-shadow: 1px 1px 8px rgba(60, 74, 82, 0.6);
}

/*  Paper  */
.paper-container {
    float: left;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    width: calc(100vw - 240px);
}

.full-screen .paper-container {
    width: 100vw;
    height: 100vh;
}

/*  Inspector  */
.inspector-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 120px; /* navigator height */
    width: 240px;
    box-sizing: border-box;
}

.field[data-field$="/fill"],
.field[data-field$="/stroke"] {
    display: inline-block;
    vertical-align: top;
    width: 50%;
}

.joint-select-box.joint-color-palette .select-box-option:nth-child(2):not(.hover) {
    border: inset;
    border-width: 1px;
}

.joint-inspector-select-box-options {
    width: 190px;
}

/*  Navigator  */
.navigator-container {

    width: 240px;
    height: 120px;
}

/*  Stencil  */
.stencil-container {
    float: left;
    width: 240px;
    height: 100%;
}

.full-screen .stencil-container {
    display: none;
    width: 0px;
}

.joint-stencil .joint-element[data-type="basic.Image"] text,
.joint-stencil .joint-element[data-type="devs.Atomic"] .inPorts text,
.joint-stencil .joint-element[data-type="devs.Atomic"] .outPorts text,
.joint-stencil .joint-element[data-type="pn.Transition"] text,
.joint-stencil .joint-element .joint-port text {
    display: none;
}

.joint-stencil .joint-element.joint-type-uml rect,
.joint-stencil .joint-element.joint-type-uml path {
    stroke: #4a4d6e;
}

/*  Toolbar  */
.toolbar-container {
    display: inline-block;
    position: absolute;
    height: 100%;
    left: 240px;
    right: 0;
    box-sizing: border-box;
}

.toolbar-container .joint-toolbar {
    width: 100%;
    height: 100%;
}

.toolbar-container label {
    white-space: nowrap;
}

.radio-inline input[type="radio"] {
    margin: 2px 0 0 -20px;
}

.toolbar-container button:not(:empty) {
    padding: 0 10px;
}

.toolbar-container button.joint-widget[data-type="zoomIn"],
.toolbar-container button.joint-widget[data-type="zoomOut"] {
    display: none;
}

.joint-dialog.joint-lightbox .fg {
    background-color: #F6F6F6;
}

.joint-app.joint-theme-modern .app-title {
    background: #468cde;
}

.joint-viewport {
    padding: 15px 0;
}

.joint-stencil.joint-theme-modern {
    background: #f4f6f9;
    box-shadow: inset 0 2px 10px rgba(118, 130, 138, 0.15);
}

.joint-toolbar.joint-theme-modern {
    background: #fbfcff;
}

.joint-stencil.joint-theme-modern.searchable.collapsible > .content {
    overflow-y: auto;
    top: inherit;
    height: calc(100vh - 60px)
}

.joint-stencil.joint-theme-modern {
    color: #56687d;
}

.joint-stencil.joint-theme-modern .group .field {
    box-sizing: border-box;
    display: block;
    padding: 0 18px;
    margin-top: 12px;
}

.joint-stencil.joint-theme-modern label {
    font-size: 12px;
    display: block;
    padding-right: 4px;
    margin-top: 5px;
    margin-bottom: 6px;
}

.joint-stencil.joint-theme-modern label:after {
    content: ':';
}

.joint-stencil.joint-theme-modern .content-editable, .joint-stencil.joint-theme-modern input[type=text], .joint-stencil.joint-theme-modern input[type=number], .joint-stencil.joint-theme-modern select, .joint-stencil.joint-theme-modern textarea {
    width: 100%;
    height: auto;
    font-size: 14px;
    line-height: 16px;
    text-shadow: none;
    background: 0 0;
    border: 2px solid #8fa5bf;
    box-shadow: none;
    box-sizing: border-box;
    outline: 0;
    padding: 6px;
    overflow: auto
}

.joint-stencil.joint-theme-modern input[type=text] {
    padding: 0 6px;
}

.joint-stencil.joint-theme-modern .group > .group-label, .joint-stencil.joint-theme-modern .group > .group-label:hover {
    background: #c8d2e0;
    color: #337ab7;
    height: auto;
    padding: 5px 20px;
    font-size: 14px;
    text-transform: capitalize;
    display: block;
    text-decoration: none;
}

.joint-stencil.joint-theme-modern .group > .group-label:before, .joint-stencil.joint-theme-modern .group > .group-label:hover:before {
    background-image: none;
}

.group-label a, .group-label a:hover {
    text-decoration: none;
}

.content .panel {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.button {
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    border-right: 1px solid #bdbdbd;
    border-bottom: 1px solid #bdbdbd;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    display: block;

    float: left;
    margin-right: 3px;
    margin-bottom: 4px;
}

.button {
    width: 52px;
    height: 52px;
    margin: 5px 8px 7px 13px;
}

.button img {
    width: 50px;
    height: 50px;
}

.button.active {
    border-left: 1px solid #bdbdbd;
    border-top: 1px solid #bdbdbd;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    /*background-color:rgba(69,113,213,0.2)*/
}

.joint-widget.joint-theme-modern[data-type=separator] {
    border-right: 1px solid #dfdfdf;
    line-height: 26px;
}

.set-date {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    width: 300px;
    height: 46px;
    top: 6px;
    right: 210px;
    padding: 7px;
    /* border-radius: 23px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5; */
}

.full-screen .set-date {
    top: 20px;
}

.set-date .form-control,
.set-date span,
.set-date a {
    display: block;
    float: left;
}

.set-date .form-control.input-sm {
    height: 30px;
    width: 110px;
    border-radius: 15px;
    text-align: center;

}

.set-date span {
    line-height: 30px;
    padding: 0 8px;
    color: #999;
}

.set-date a {
    width: 30px;
    height: 30px;
    border-radius: 14px;
    background-color: #007aff;
    color: #fff;
    text-align: center;
    line-height: 30px;
    float: right;
}

.set-date a:hover {
    text-decoration: none;
}

.btn-accept {
    background: #8fa5c0;
    color: #fff;
    font-weight: 700;
    display: block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all .2s;
}

.btn-accept:hover, .btn-accept:focus, .btn-accept.focus {
    color: #333;
    text-decoration: none;
}

.more-less {
    float: right;
    color: #585858;
    position: relative;
    right: 0;
    top: 8px;
}

[aria-expanded=true] .glyphicon:after {
    content: "\e252";
}

[aria-expanded=false] .glyphicon:after {
    content: "\e250";
}

.has-error .content-editable {
    border-color: #d44e4c !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}

canvas {
    overflow: hidden;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJ2LTYiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzIGlkPSJ2LTUiPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuXzAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHJlY3QgaWQ9InYtNyIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0iI0FBQUFBQSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgaWQ9InYtOSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuXzApIi8+PC9zdmc+");
}

.tip {
    width: 200px;
    height: 80px;
    display: none;
    background-color: #f6f7f7;
    color: #333333;
    line-height: 18px;
    border: 1px solid #e1e3e2;
    padding: 5px;
}

.alert-custom {
    position: fixed;
    z-index: 111111;
    width: 500px;
    text-align: center;
    top: 70px;
    left: 50%;
    margin-left: -250px;
    margin-bottom: 0px;
}

.alert-custom h4 {
    margin-bottom: 0px;
}