﻿input[type=text], input[type=password], textarea,
.form .editor-field input[type=text],
.form .editor-field input[type=password],
select,
.form .editor-field select, 
button.ms-choice,
.form .editor-field button.ms-choice
{
    border: 1px solid #aaa;
    border-radius: 3px !important;
    padding-left: 5px;
    padding-right: 5px;
}

.form .editor-field input[type=text],
.form .editor-field input[type=password] {
    width: 293px;
}

select,
.form .editor-field select {
    height: 28px; padding: 5px;
}

input[type=text],input[type=password],
.form .editor-field input[type=text],
.form .editor-field input[type=password] {
    height: 24px;
}

input[type=checkbox],
.form .editor-field input[type=checkbox] {
    margin-right: 10px;
    width: 15px;
    height: 15px;
}

input[type=text].date_input,
input[type=text].date_input_short,
.form .editor-field input[type=text].date_input,
.form .editor-field input[type=text].date_input_short {
    background-position-y: 3px;
}

input[type=password].date_input,
input[type=password].date_input_short,
.form .editor-field input[type=password].date_input,
.form .editor-field input[type=password].date_input_short {
    background-position-y: 3px;
}

input[type=text].date_input_short,
.form .editor-field input[type=text].date_input_short {
    width: 100px;
    background-position-x: 89px;
}

input[type=password].date_input_short,
.form .editor-field input[type=password].date_input_short {
    width: 100px;
    background-position-x: 89px;
}

input[type=text].date_input,
.form .editor-field input[type=text].date_input {
    width: 165px;
    background-position-x: 154px;
}

input[type=password].date_input,
.form .editor-field input[type=password].date_input {
    width: 165px;
    background-position-x: 154px;
}

.button-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.button-group > :first-child:not(.dropdown-toggle):not(:last-child).button {
    border-top-right-radius: 0px;
    border-bottom-right-radius:0px;
}

.button-group > :not(:first-child):not(.dropdown-toggle):not(:last-child).button {
    border-radius: 0;
}

.button-group .button + .button, .button-group .button + .button-group, .button-group .button-group + .button, .button-group .button-group + .button-group {
    margin-left: -1px;
}

.button-group > :last-child:not(:first-child).button, .button-group > :not(:first-child).dropdown-toggle {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.button-group > .button.active, .button-group > .button:active, .button-group > .button:focus, .button-group > .button:hover {
    z-index: 2;
}

.button-group > .button {
    position: relative;
    float: left;
}

.button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4285;
    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;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    overflow: visible;
    text-decoration: none;
}

.button-toolbar {
    margin-left: -5px;
    clear: none;
    display: inline-block;
}

.button-toolbar > .button, .button-toolbar > .button-group, .button-toolbar > .input-group {
    margin-left: 5px;
}

.button-toolbar .button, .button-toolbar .button-group, .button-toolbar .input-group {
    float: left;
}

.button-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.button-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.button-default.focus, .button-default:focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}

.button-old-style {
    color: #fff;
    background: #68b8d3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    border: none;
    padding-top: 7px;
    padding-bottom: 7px;
}

.button-old-style:hover,
.button-old-style.focus:not(.without-focus-styling), .button-old-style:focus:not(.without-focus-styling) {
    background: #0193c4; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAxOTNjNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwZTcwYTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #0193c4 0%, #0e70a4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0193c4), color-stop(100%,#0e70a4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #0193c4 0%,#0e70a4 100%); /* Chrome10+,Safari5.1+ */
    background-image: -webkit-linear-gradient(top,  #0193c4 0%,#0e70a4 100%); /*Safary*/
    background: -o-linear-gradient(top,  #0193c4 0%,#0e70a4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #0193c4 0%,#0e70a4 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #0193c4 0%,#0e70a4 100%); /* W3C */
}

.button-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.button-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.button-primary.focus, .button-primary:focus {
    color: #fff;
    background-color: #286090;
    border-color: #122b40;
}

.button-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.button-success:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #255625;
}

.button-success.focus, .button-success:focus {
    color: #fff;
    background-color: #449d44;
    border-color: #255625;
}

.button-bisque {
    color: #333;
    background-color: #ffe4c4;
    border-color: #efcca2;
}

.button-bisque:hover {
    color: #333;
    background-color: #f3cc9f;
    border-color: #e6b780;
}

.button-bisque.focus, .button-bisque:focus {
    color: #333;
    background-color: #f3cc9f;
    border-color: #e6b780;
}

.button[disabled] {
    color: gray;
    font-style:italic;
    cursor: not-allowed;
}

.button-primary[disabled], .button-primary.disabled,
.button-primary[disabled]:hover, .button-primary.disabled:hover,
.button-success[disabled], .button-success.disabled,
.button-success[disabled]:hover, .button-success.disabled:hover,
.button-bisque[disabled], .button-bisque.disabled,
.button-bisque[disabled]:hover, .button-bisque.disabled:hover {
    color: lightgray;
    background-color: gray;
    border-color: gray;
}

.button-default[disabled], .button-default.disabled,
.button-default[disabled]:hover, .button-default.disabled:hover {
    color: lightgray;
    background-color: #fff;
    border-color: #ccc;
}

 .overlay, .fileOverlay
{
	bottom: 0;
	display: none;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 100;
}

.blanket
{
	background-color: black;
	bottom: 0;
	display: block;
	opacity: 0.8;
	position: fixed;
	top: 0;
	left: 0;
	width:100%;
}

.dialog
{
	background: white;
	border-radius: 10px;
	display: none;
	margin: 100px auto;
	position: relative;
	width: 70%;
	padding: 40px;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0px 1px 1px rgba(0,0,0,0.05);
}

.panel-body {
    padding: 15px;
}

.panel-default {
    border-color: #ddd;
}

.block_foredit input,
.block_edit input
{
    border:0px;
    background-color:inherit;
    padding-left: 0px;
    padding-right: 0px;
}
.block_foredit select,
.block_edit select
{
    border:0px;
    background-color:inherit;
    width:100%;
    margin-left:-22px;
    padding-left:22px;
    color:#333D43;
}
.block_foredit [class^="icon-"],
.block_edit [class^="icon-"] 
{
    float:right;
    margin-top:2px;
    z-index:5;
    position:relative;
    margin-right:0px;
    cursor:pointer;
}

.select2-custom-button {
}

.select2-custom-button button {
    padding-bottom: 10px;
    background: white;
    color: #008080;
    width: 100%;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    border: none;
}

input.button.resource-group-ctrl-button.hvr-grow-shadow.link-button {
            background: none;
            width: auto !important;
            border: none;
            color: #007bff;
            text-decoration: underline;
            cursor: pointer;
            padding: 0;
            font-size: inherit;
        }

/*.select2-custom-button button:hover {
    background: #ccc;
}*/