* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    position: relative;
    font-size: 16px;
}

@font-face {
    font-family: 'Glyphicons Regular';
    src: url("../../../../Client/fonts/glyphicons-regular.eot");
    src: url("../../../../Client/fonts/glyphicons-regular.eot?#iefix") format("embedded-opentype"),
        url("../../../../Client/fonts/glyphicons-regular.woff2") format("woff2"),
        url("../../../../Client/fonts/glyphicons-regular.woff") format("woff"),
        url("../../../../Client/fonts/glyphicons-regular.ttf") format("truetype"),
        url("../../../../Client/fonts/glyphicons-regular.svg#glyphiconsregular") format("svg")
}

.tool-container {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
}

.tool-form-100 {
    width: 100%;
    flex-direction: column;
    margin: 0 20px;
}

.form-overflow {
    overflow-y: auto;
    max-height: 700px;
    margin-left: 15px;
    /*padding-right: 30px;*/
}

.tool-form {
    flex-direction: column;
    min-width: 300px;
    max-width: 400px;
    margin: 0 20px;
    margin-bottom: 10px;
}

.full-width-form {
    max-width: initial;
    width: 100%;
    white-space: nowrap;
    margin: 0;
}

.tool-form-header {
    margin: 0;
    font-weight: 300;
}

.form-field-wrapper {
    margin: 1em 0;
    position: relative;
    white-space: nowrap;
}

.form-field-inline {
    display: inline-block;
    margin: 0.3em 0;
}

.form-no-wrap {
    white-space: nowrap;
}

.form-field-wrapper input[type=number],
.form-field-wrapper input[type=text],
.form-field-wrapper select,
.form-field-wrapper textarea {
    display: block;
    width: 100%;
}

.form-field-wrapper.error:after {
    font-family: "Glyphicons Regular";
    content: "\e197" !important;
    position: absolute;
    bottom: 2px;
    font-size: 21px;
    right: 0.5em;
    color: #EC098C;
}

.unit-form-field {
    display: inline-block !important;
    width: 70% !important;
}

.form-field-unit {
    display: inline-block;
    /*width: 30%;*/
}

.form-field-label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0.3em;
    color: #555555;
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1;
    margin-right: 0.5em;
}

.form-field-wrapper.has-select select {
    background: #ebebeb url(images/form-select-arrow-down.png) center right no-repeat;
    padding: 5px 15px 5px 5px;
    background-size: 15px;
    background-position: 97% center;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
}

input[type=number],
input[type=text],
.form-field-wrapper select,
.form-field-wrapper md-select {
    transition: border-color 0.5s ease;
    font-weight: 400;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 0.3em;
    font-size: 16px;
    line-height: inherit;
    outline: none;
    color: #707070;
}

.form-field-wrapper.has-timepicker.error:after {
    top: 50%;
}

.form-field-wrapper.has-timepicker.error .tooltip-message {
    top: 50%;
}

.tool-records {
    width: 100%;
    flex-direction: column;
    max-width: 400px;
    margin: 0 20px;
}

.tools-back-btn {
    float: left;
    display: block;
    margin-right: 10px;
    color: #00adef;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

.tools-back-btn:focus,
.tools-back-btn:hover {
    color: #109bd0;
}

.record-limit-met {
    border-radius: 5px;
    border: 3px dotted #2cbcf1;
    margin-top: 2em;
    overflow: hidden;
    text-align: center;
}

.record-limit-met h4 {
    color: #2cbcf1;
    padding: 1em;
}

.record-limit-met p {
    padding: 0 1em;
}

.record-limit-met img {
    width: 100%;
    position: relative;
    bottom: -5px;
}

.tools-delete-btn {
    color: #ee2b7a !important;
    font-size: 0.9em;
    font-weight: 600;
    outline: none;
}

.tools-delete-btn md-icon {
    color: #ee2b7a !important;
    width: 24px;
    height: 24px;
}
