.noselect, h3 {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.overlay {
    z-index: 50;
    background: rgba(255,255,255,0.7);
    border-radius: 3px;
    position: absolute;
    /* width: auto; */
    /* height: calc(100vh - 162px); */
    padding: 10px;
    top: 66px;
}

.overlay img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -55px;
    margin-top: -55px;
    color: #000;
    font-size: 30px;
}

* {font-family: 'Open Sans', sans-serif!important;outline: none;}

body {
    overflow: hidden;
    min-width: 720px;
	background-color: #eee;
}

#wrap > .container {
	/*padding: 5px 0 5px 25px;*/
    margin: 66px auto 71px auto;/*60px auto 71px auto;*/
    font: 14px 'Open Sans', sans-serif;
    line-height: 20px;
    color: #333;
	background: #fff;
	-webkit-box-shadow: 0 0 6px rgba(0,0,0,0.27);
	-moz-box-shadow: 0 0 6px rgba(0,0,0,0.27);
	box-shadow: 0 0 6px rgba(0,0,0,0.27);
	border-radius: 2px;
}

#wrap > .container > h3 {
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    text-align: center;
    line-height: 50px;
    font-size: 50px;
    width: 800px;
    height: 52px;
    left: calc(50% - 400px);
    top: calc(50% - 26px);
    color: #777;
}

a {
	text-decoration: none;
	color: #777;
}

a:hover {color: #333;}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.navbar-default {
    background: #eaeaea;
    background: -moz-linear-gradient(top, #eaeaea 0%, #f8f8f8 100%);
    background: -webkit-linear-gradient(top, #eaeaea 0%, #f8f8f8 100%);
    background: linear-gradient(to bottom, #eaeaea 0%, #f8f8f8 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#f8f8f8', GradientType=0);
    border-color: #e7e7e7;
    height: 50px;
}

.left {
    float:left!important;
    z-index: 1;
}

.center {
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    font-size:12px!important;
    position: absolute!important;
}

.right {
    float:right!important;
}

.navbar-brand {
    color: #777;
    height: 50px;
    line-height: 20px;
    padding: 15px 15px;
    position: relative;
    font: 15px 'Open Sans', sans-serif;
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}

.container {
    width: 786px;
    margin-right: auto;
    margin-left: auto;
}

.container .credit {
    margin: 20px 10px;
}

#footer {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    position: fixed;
    border-top: 1px solid #e2e2e2;
    background: #f8f8f8;
    background: -moz-linear-gradient(top, #f8f8f8 0%, #eaeaea 100%);
    background: -webkit-linear-gradient(top, #f8f8f8 0%, #eaeaea 100%);
    background: linear-gradient(to bottom, #f8f8f8 0%, #eaeaea 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#eaeaea', GradientType=0);
    z-index: 1001;
}

#footer > .container {
    padding-left: 15px;
    padding-right: 15px;
}

#footer > .container > a {
    position: relative;
    float: right;
    top: 15px;
}

.text-muted {
    color: #777;
}

.text-muted a {
    color: #005E81;
}

/* ========= Scrollbar ========= */
.scrollbar {
    overflow: auto;
    padding: 10px;
    height: calc(100vh - 162px);
}

.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
 
.scrollbar::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0.2);
    box-shadow: inset 0px 0px 0px 2px #ffffff;
    border-radius: 5px;
}
 
.scrollbar::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 5px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgb(117, 117, 117);
}

.scrollbar ::-webkit-scrollbar-corner {}

.groups {
    /*display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;*/
    display: block;
}

.groups a.btn {
    /* line-height: 49px; */
    height: 27px;
}

.groups a.btn span {
    position: relative;
    top: 5px;
}

.groups a p {
    -webkit-transition: all .15s linear;
    background: url(../images/icons.png);
    -o-transition: all .15s linear;
    transition: all .15s linear;
    position: relative;
    height: 24px;
    width: 24px;
    float: left;
    opacity: .7;
    margin: 0;
    left: 8px;
}

.groups img {
    -webkit-transition: all .15s linear;
    -o-transition: all .15s linear;
    transition: all .15s linear;
    position: relative;
    margin-right: 8px;
    opacity: .7;
    /* left: 5px; */
    top: 0;
}

.group {
    /* padding: 0 10px 10px 0; */
    display: -ms-inline-grid;
    display: inline-grid;
    margin: 5px;
}

label {
    /*display: block;
    font-weight:bold;*/
}

input {
    /*height: 16px;*/
    display: inline;
}

input[type=button] {
    height: 29px;
    cursor:pointer;
    font-weight: 600;
}

.typing label {
    color: orange;
}

.typing input,
.typing select {
    border-color: orange!important;
}

.danger label {
    color: #a20000;
}

.danger input,
.danger select {
    border-color: #a20000!important;
}

.successful input,
.successful select {
    border-color: #058e02!important;
}

.successful label {
    color: #058e02!important;
}

.btn {
    /* position: relative; */
    font-weight: normal!important;
    font: 14px 'Open Sans', sans-serif;
    -webkit-transition: all .15s linear;
    -o-transition: all .15s linear;
    transition: all .15s linear;
    background: #eaeaea;
    background: -moz-linear-gradient(top, #eaeaea 0%, #f8f8f8 100%);
    background: -webkit-linear-gradient(top, #eaeaea 0%, #f8f8f8 100%);
    background: linear-gradient(to bottom, #eaeaea 0%, #f8f8f8 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#f8f8f8', GradientType=0);
    border: 1px solid #cbcbcb;
    border-color: #e7e7e7;
    border-radius: 3px;
    text-align: center;
    /* top: 15px; */
    /* height: 47px; */
    width: 108px;
    color: #777;
}

.btn:hover {
    color: #333;
}

.btn-small {
    padding: .75em 1em;
    font-size: 0.8em;
}

.modal-box {
    display: none;
    position: absolute;
    z-index: 1031;
    width: 700px;
    min-width:700px;
    background: white;
    border-bottom: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
}

/* ========= Modal ========= */
.modal-box .x {
    background: url(../images/x.png);
    background-position-y: bottom;
    background-size: cover;
    opacity: .70;
    height: 13px;
    width: 13px;
}

.modal-box .x.h {
    cursor: pointer;
    opacity: 1;
}

.modal-box .h:hover {
    background-position-y: top;
}.modal-box header,
.modal-box .modal-header {
    padding: 1.25em 1.5em;
    border-bottom: 1px solid #ddd;
}

.modal-box header h3,
.modal-box header h4,
.modal-box .modal-header h3,
.modal-box .modal-header h4 { margin: 0; }

/*.modal-box .modal-body { padding: 0 1.5em; }*/
.modal-box .modal-body { padding: 5px; }

.modal-box footer,
.modal-box .modal-footer {
    padding: 1em;
    border-top: 1px solid #ddd;
    background: rgba(0, 0, 0, 0.02);
    text-align: right;
}

.modal-overlay {
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3) !important;
}

.modal-box a.close {
    line-height: 1;
    font-size: 1.5em;
    position: absolute;
    top: 21px;
    right: 21px;
    text-decoration: none;
    color: #bbb;
}

.modal-box a.close:hover {
    color: #222;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    transition: color 1s ease;
}

input,
input[type=text],
input[type=number],
select {
    margin: 0;
    vertical-align: top;
    color: #595959;
    border: 1px solid #cbcbcb;
    border-radius: 3px;
    width: 234px;
    text-decoration: none;
    background: none;
    padding: 5px;
    overflow: hidden;
    clear: both;
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    /* font-weight: bold; */
    word-break: break-all;
    -webkit-transition: all .25s linear;
    -moz-transition: all .25s linear;
    -o-transition: all .25s linear;
    transition: all .25s linear;
}

select {
    position: absolute;
    height: 29px;
    top: 101px;
}

select option:hover,
select option:first-child {
    /*background: #248DF9;*/
    color: #a0a0a0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    padding: 0; 
}

.recipe {
    border: 1px solid #eaeaea;
    margin-top:10px;
    padding: 5px;
    color: #777;
}

/* Table */
.recipe table th {
    /*text-align: left;*/
}

table,
th,
td {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
  border-collapse: separate;
  border-spacing: 0px;
  border-width: 1px 0 0 1px;
  width: 100%;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

th {
  border-width: 0 1px 1px 0;
  font-weight: bold;
  line-height: 24px;
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  padding: 10px;
}

td:last-child,
th:last-child {
    text-align: -webkit-center!important;
}

th:last-child {
    text-align: center;
    padding:0;
}

th:last-child p {
    opacity: .35;
    margin: 0;
}

th:last-child p,
td:last-child a {
    -webkit-transition: all .15s linear;
    background: url(../images/icons.png) right;
    -o-transition: all .15s linear;
    transition: all .15s linear;
    background-size: cover;
    position: relative;
    height: 16px;
    width: 16px;
}

td {
  border-width: 0 1px 1px 0;
  padding: 10px;
}

td:last-child {
    
}

td:last-child a {
    position: absolute;
    margin-left: -8px;
    margin-top: -8px;
    opacity: .7;
}

thead tr {
    background: #EEE;
}

tbody tr:nth-child(even) {
  background: #EEE;
}

.groups a:hover p,
.groups a:hover img,
td:last-child a:hover {
    opacity: 1;
}

@media (max-width:1562px) {
    .overlay {
        width: 102.66%;
    }

    #wrap > .container > h3 {
        left: calc(50% - 386px);
        font-size: 40px;
    }
}
