/* gpc input general elements css stylesheet*/

input, textarea, select {
    margin: 0.2em 0.2em;
    padding: 0.2em 0.5em;
}

input[type=text], input[type=password], input[type=tel], input[type=email],
input[type=url], input[type=week], input[type=search], input[type=number],
input[type=month], input[type=datetime-local], input[type=date], input[type=time] {
    border-radius: 0.5em;
    min-width: 200px;
    font-weight: normal;
    background: #f5f5f5;
    border: thin solid #ccc;
    width: auto;
}

input[type=text]:disabled, input[type=password]:disabled, input[type=tel]:disabled, input[type=email]:disabled,
input[type=url]:disabled, input[type=week]:disabled, input[type=search]:disabled, input[type=number]:disabled,
input[type=month]:disabled, input[type=datetime-local]:disabled, input[type=date]:disabled, input[type=time]:disabled,
textarea:disabled, select:disabled {
    border: none;
    background: inherit;
    min-width: 0;
    min-height: 0;
    padding-left: 0px;
}

input.required:disabled, textarea.required:disabled, select.required:disabled {
    background: inherit !important;
}

select:disabled option:not(:checked) {
    display: none;
}

.inputIcon {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0.2em;
    padding: 0.2em 0.2em;
    border-radius: 0.5em 0 0 0.5em;
    border-left: thin solid #ccc;
    border-top: thin solid #ccc;
    border-bottom: thin solid #ccc;
    height: calc(100% - 2*0.2em);
}

.inputIcon + input {
    padding-left: calc(1em + 2*0.2em + 2px);
}

input[type=text].wide {
    width: 100%;
}

input[type=time] {
    min-width: 8em;
}

textarea {
    border-radius: 0.5em;
    background: #f5f5f5;
    border: thin solid #ccc;
    resize: vertical;
    width: 100%;
    min-height: 7em;
    box-sizing: border-box;         /* For IE and modern versions of Chrome */
    -moz-box-sizing: border-box;    /* For Firefox                          */
    -webkit-box-sizing: border-box; /* For Safari                           */
}

input::-webkit-input-placeholder {
    color:#777;
}

input::-moz-placeholder {
    color:#777;
}

input:-moz-placeholder {
    color:#777;
}

input:-ms-input-placeholder {
    color:#777;
}

td input.valuePairEntry {
    width: 48%;
}

/*----------------------------------------------------------------------------*/
/*SELECT*/
select, .autocomplete-select-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    background: #f5f5f5 url("new_arrow.svg") no-repeat scroll right center;
    border: thin solid #ccc;
    border-radius: 0.5em;
    cursor: pointer;
    overflow: hidden;
    width: 10em;
    padding-right: 31px;
    /*pro stejne dlouha pole: textInput + 10px nebo textInput + 3% */
    /*
    margin-right: 1em;
    margin-left:0.1em;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    */
    height: 1.85em;
    min-width: 200px;
}

.autocomplete-select-toggle {
    border: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    width: 31px;
    margin-left: -31px;
    padding-bottom: 2px; /* adjust for 1px border (top + bottom = 2px) */
}

select[multiple="multiple"] {
    height: 20em;
    width: auto;
    background: #f5f5f5;
    padding-right: 0.5em;
    overflow-y: scroll;
}

select[multiple="multiple"]:disabled {
    height: auto;
}

select::-ms-expand{
    display:none;
}

.roleSelect {
    min-width: 135px;
    margin: 0;
}

select.gpcCalendar {
    margin-right: 0;
    margin-left: 0em;
    margin-bottom: 0.2em;
    padding-right: 2.5em;
    border: thin solid #ccc;
    background: #f5f5f5 url("calendar.svg") no-repeat scroll right center;
}

/*go panel*/
.gpcInputB, input.gpcInputB {
    -moz-appearance: none;
    background: #fff none repeat scroll 0 0;
    border: thin solid transparent;
    font-size: 1.2em;
    overflow: hidden;
    padding: 0em 0.5em;
    margin: 0px;
    width: 100%;
}


/*----------------------------------------------------------------------------*/
/*BUTTONS*/

button {
    position: relative;
    border-radius:0.5em;
    height:1.8em; /*TODO - as necessary*/
    width: 120px; /*TODO - as necessary*/
    font-weight: bold;
    font-size:1.2em;
    cursor: pointer;
    margin: 0.2em;
    padding: 0;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #365373;
    border: thin solid #2b425c;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.note-editor button { /* Reset width/height for summernote rich editor */
    width:auto;
    height:auto;
}

input[type=submit],input[type=button], input[type=reset] {
    background: #365373;
    border: thin solid #2b425c;
    color: #f9f9f9;
    border-radius: 0.5em;
    padding: 0.2em 1em;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    margin: 5px 10px;
    width: auto;
}

.logout-button input[type=submit]{
    font-weight: normal;
}

button:hover {
    background-color:#2b425c;
    -webkit-box-shadow: inset 2px 4px 82px -30px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 2px 4px 82px -30px rgba(0,0,0,0.75);
    box-shadow: inset 2px 4px 82px -30px rgba(0,0,0,0.75);
}

input[type=submit]:hover,input[type=button]:hover {
    background-color:#2b425c;
    border-radius: 0.5em;
    cursor: pointer;
    -webkit-box-shadow: inset 2px 4px 82px -30px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 2px 4px 82px -30px rgba(0,0,0,0.75);
    box-shadow: inset 2px 4px 82px -30px rgba(0,0,0,0.75);
}

.gpcButtonB {
    background: #f9f9f9;
    border: thin solid #0D0335;
    color: #0d0335;
    border-radius: 0.5em;
    height: 60px;
    width: 55px;
    font-weight: bold;
    font-size: 7pt;
    cursor: pointer;
    line-height: 1;
    margin: 4px;
    padding: 5px;
}

.gpcButtonB:hover {
    background: #e9e9e9;;

}

.gpcButtonB.icon {
    background-image:url(delete.png); /*25px x 25px*/
    background-repeat: no-repeat;
    background-position: 8px 5px; /*icon position*/
    padding-top: 30px; /*text padding*/
    text-align:center;
}

.gpcButtonB.icon:hover {
    background-image:url(delete.png); /*25px x 25px*/
    background-repeat: no-repeat;
    background-position: 8px 5px; /*icon position*/
    padding-top: 30px; /*text padding*/
    text-align:center;
}

.HorizontalButtons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.HorizontalButtons ul li {
    display: inline-block;
    float: none;
    padding: 0;
    margin: 0 -10px 0 0;

}

.HorizontalButtons ul li a {
    display: block;
    padding-top: 0.3em;
    padding-right: 1.5em;
    padding-left: 1.5em;
    padding-bottom: 0.3em;
    color: #0057a5;
    text-decoration: none;
    text-align: center;
    background: #cfd6de;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: inset 0px 0px 2px -1px rgba(0,0,0,0.9);
    -webkit-box-shadow: inset 0px 0px 4px -1px rgba(0,0,0,0.9);
}

.HorizontalButtons ul li:last-child a {
    border-radius: 0 0.5em 0.5em 0;
}

.HorizontalButtons ul li:first-child a {
    border-radius: 0.5em 0 0 0.5em;
}


.HorizontalButtons ul li a:active {
    background: -webkit-radial-gradient(300% 250%,rgb(53,82,114), black);
    background: -o-radial-gradient(300% 250%,rgb(53,82,114), black);
    background: -moz-radial-gradient(300% 250%,rgb(53,82,114), black);
    background: radial-gradient(300% 250%,rgb(53,82,114), black);
    color: #ffffff;
}

.HorizontalButtons ul li a.buttonActive {
    background: -webkit-radial-gradient(300% 250%,rgb(53,82,114), black);
    background: -o-radial-gradient(300% 250%,rgb(53,82,114), black);
    background: -moz-radial-gradient(300% 250%,rgb(53,82,114), black);
    background: radial-gradient(300% 250%,rgb(53,82,114), black);
    color: #ffffff;
}

.HorizontalButtons ul li a:hover {
    color: #0d0335;
}

.HorizontalButtons ul li:active a:hover {
    color: #ffffff;
}

/*----------------------------------------------------------------------------*/
/*RANGE*/
.gpcInput[type=range] {
    -webkit-appearance: none;
    margin: 20px 0;
    width: 20%;
}
.gpcInput[type=range]:focus {
    outline: none;
}
.gpcInput[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #4d4d4d;
    border-radius: 5px;
}

.gpcInput[type=range]::-webkit-slider-thumb {
    height:24px;
    width: 24px;
    border-radius: 15px;
    background: #365373;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -9px;
}

.gpcInput[type=range]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #4d4d4d;
    border-radius: 5px;
}
.gpcInput[type=range]::-moz-range-thumb {
    height:24px;
    width: 24px;
    border-radius: 15px;
    border: none;
    background: #365373;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -9px;
}

.gpcInput[type=range]::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
    border-color: transparent;
    color: transparent;
    border-width: 12px 0;
}
.gpcInput[type=range]::-ms-fill-lower {
    background:  #4d4d4d;
    border-radius:5px;
    border:none;

}
.gpcInput[type=range]::-ms-fill-upper {
    background:  #4d4d4d;
    border-radius: 5px;
    border:none;
}

.gpcInput[type=range]::-ms-thumb {
    height:24px;
    width:24px;
    border-radius: 15px;
    border: none;
    background: #365373;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -1px;
}

/*----------------------------------------------------------------------------*/
/*Check box, Radio button*/
.gpcInput[type=checkbox], .gpcInput[type=radio] {
    margin:0px;
    padding: 0px;
    opacity : 0;
    display:none;
}

.gpcInput[type=checkbox] + label {
    padding-left : 22px;
    background   : url('check-box-modry-bez-fajfky.svg') no-repeat 0 0px;
    line-height  : 18px;
    vertical-align: bottom;
    display:inline-block;
}

.gpcInput[type=radio] + label {
    padding-left : 22px;
    background   : url('kolecko-modre-bez-cudliku.svg') no-repeat 0 0;
    line-height  : 18px;
    display:inline-block;
}


.gpcInput[type=checkbox]:checked + label{
    padding-left : 22px;
    background   : url('check-box-modry-fajfka.svg') no-repeat 0 0;
    line-height  : 18px;
    display:inline-block;
}

.gpcInput[type=radio]:checked + label{
    padding-left : 22px;
    background   : url('kolecko-modre-s-cudlikem.svg') no-repeat 0 0;
    line-height  : 18px;
    display:inline-block;
}

.gpcInput[type=checkbox].rememberMe + label {
    padding-left : 22px;
    background   : url('bez_fajfky2.svg') no-repeat 0 0px;
    line-height  : 18px;
    vertical-align: bottom;
    display:inline-block;
}

.gpcInput[type=checkbox]:checked.rememberMe + label {
    padding-left : 22px;
    background   : url('s_fajfkou2.svg') no-repeat 0 0px;
    line-height  : 18px;
    vertical-align: bottom;
    display:inline-block;
}

/*----------------------------------------------------------------------------*/
/*Switch ON-OFF*/
.gpcOnOffSwitch {
    position: relative;
    width: 60px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
    user-select:none;
}
.gpcOnOffSwitch-checkbox {
    display: none;
}
.gpcOnOffSwitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 1em;
}
.gpcOnOffSwitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
}
.gpcOnOffSwitch-inner:before, .gpcOnOffSwitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 1.5em;
    padding: 0;
    line-height: 1.5;
    font-size: 1em;
    color: white;
    font-weight: bold;
    box-sizing: border-box;
}
.gpcOnOffSwitch-inner:before {
    content: "ON";
    background-color: #365373;
    color: #ffffff;
    text-align: left;
    padding-left: 8px;
}
.gpcOnOffSwitch-inner:after {
    content: "OFF";
    background-color: #dddddd;
    color: #1a1a1a;
    text-align: right;
    padding-right: 8px;
}
.gpcOnOffSwitch-switch {
    display: block;
    width: 15px;
    height: 15px;
    margin: 3px;
    background: #999999;
    position: absolute;
    bottom: 0px;
    border-radius: 20px;
    transition: all 0.4s ease-in 0s;
}
.gpcOnOffSwitch-checkbox:checked + .gpcOnOffSwitch-label .gpcOnOffSwitch-inner {
    margin-left: 0;
}
.gpcOnOffSwitch-checkbox:checked + .gpcOnOffSwitch-label .gpcOnOffSwitch-switch {
    right: 0px;
    background-color: #cfd6de;
}
