/* Fonts 
/* ================================================================================================================== */
@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-LIGHT.TTF') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-LIGHTITALIC.TTF') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-REGULAR.TTF') format('truetype');
    font-weight: normal; /* 400 */
    font-style: normal;
}

@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-ITALIC.TTF') format('truetype');
    font-weight: normal; /* 400 */
    font-style: italic;
}

@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-BOLD.TTF') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-BOLDITALIC.TTF') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-BLACK.TTF') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'SkodaNext';
    src: url('../../../common/font/SKODANEXT-BLACKITALIC.TTF') format('truetype');
    font-weight: 800;
    font-style: italic;
}

/* Environment 
/* ================================================================================================================== */
header #environment {
    position: relative;
    z-index: 50;
    top: 0;
}

header #environment {
    height: 25px;
}

header #environment.PROD {
	display: none;
}

header #environment.TEST .line {
    background: #e00;
    background: rgba(0, 0, 0, 0) repeating-linear-gradient(45deg, #ee0000, #cc0000 70px, #cccc00 70px, #eeee00 140px) repeat
        scroll 0 0;
    border-bottom: 1px solid #c00;
    box-shadow: 0 0 3px 2px #c00;
    height: 20px;
}

header #environment.DEVEL .line {
    background: rgba(0, 0, 0, 0) repeating-linear-gradient(45deg, #00137f, #0000cc 70px, #eeeeee 70px, #cccccc 140px) repeat
        scroll 0 0;
    border-bottom: 1px solid #00137f;
    box-shadow: 0 0 3px 2px #00137f;
    height: 20px;
}

header #environment.LOCAL .line {
    background: rgba(0, 0, 0, 0) repeating-linear-gradient(45deg, #aa0066, #660044 70px, #cccccc 70px, #aaaaaa 140px) repeat
        scroll 0 0;
    border-bottom: 1px solid #000;
    box-shadow: 0 0 3px 2px #000;
    height: 20px;
}

header #environment .line label {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: -1px;
    padding-left: 10px;
}

/* Global 
/* ================================================================================================================== */
* {
    outline: 0 !important;
}

*::-ms-clear {
    display: none;
}

*[disabled],
.disabled {
    pointer-events: auto !important;
    border: 1px solid #cdcdcd !important;
    box-shadow: 0 0 6px #cdcdcd inset !important;
    background-color: #e6e6e6 !important;
    color: #888 !important;
}

*[disabled]:hover,
.disabled:hover {
    cursor: not-allowed !important;
    border: 1px solid #cdcdcd !important;
    box-shadow: 0 0 6px #cdcdcd inset !important;
    background-color: #e6e6e6 !important;
}

body {
	font-family: Arial, sans-serif; /*hack for IE, where SkodaNext not work and next line is than ignored.*/
    font-family: "SkodaNext", Arial, sans-serif;
    color: #000;
}

p {
    margin: 0;
    padding: 0;
}

input, select {
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #b4b4b4;
    height: 40px;
    width: 100%;
    padding: 7px 13px 7px 13px;
    margin-bottom: 17px;
    letter-spacing: 0.1px;
    color: #000;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSdibGFjaycgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyB3aWR0aD0nMjQnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz48cGF0aCBkPSdNMCAwaDI0djI0SDB6JyBmaWxsPSdub25lJy8+PC9zdmc+);
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 50%;
}

select::-ms-expand { 
    display: none; 
}

input:focus,
textarea:focus, select:focus {
    box-shadow: 0 0 4px #b4b4b4;
}

input::placeholder, select::placeholder {
    color: #666;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
}

input::-webkit-input-placeholder, select::-webkit-input-placeholder {
    color: #a4a4a4;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
}

input:-ms-input-placeholder, select:-ms-input-placeholder {
    color: #a4a4a4;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
}

input[type="password"] {
	font-family: Arial, sans-serif;
}

input[type="password"]::placeholder {
	font-family: "SkodaNext", Arial, sans-serif;
}

input[type="password"]::-webkit-input-placeholder {
	font-family: "SkodaNext", Arial, sans-serif;
}

input[type="password"]:-ms-input-placeholder {
	font-family: "SkodaNext", Arial, sans-serif;
}

a,
a:active,
a:focus {
    color: #4ba82e;
}

a:hover {
    color: #187500;
}

/* Message (info/error) 
/* ================================================================================================================== */
.messages .message {
    border-radius: 4px;
    letter-spacing: 0.2px;
    font-size: 14px;
    padding: 15px;
    margin-bottom: 30px;
    color: #fff;
}

.messages .message a,
.messages .message a:active,
.messages .message a:focus,
.messages .message a:hover {
	color: #fff;
	text-decoration: underline;
}

.messages .message svg {
    position: absolute;
    fill: #fff;
}

.messages .message p {
    margin-left: 30px;
}

.messages .message p.small {
    font-size: 10px;
    letter-spacing: 0.1px;
    padding-top: 5px;
}

.messages .message.errorMsg {
    background-color: #e62336;
    border: 1px solid #b30003;
}

.messages .message.infoMsg {
    background-color: #0090d7;
    border: 1px solid #005da4;
}

/* Styles
/* ================================================================================================================== */
.primaryColor {
    color: #4ba82e;
}

.btn {
	border-radius: 20px;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    border: 1px solid #328f15;
    background-color: #4ba82e;
    height: 40px;
    box-shadow: 0 0 8px 0 rgba(75, 168, 46, 0.6);
    font-size: 14px;
    color: #fff;
    transition: none;
}

.btn-primary:hover {
    background-color: #328f15;
    border-color: #328f15;
}

a.btn-link {
    font-size: 14px;
}

a.btn-link {
    color: #b4b4b4 !important;
    text-decoration: underline;
}

a.btn-link:hover {
    color: #9b9b9b !important;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

/* Checkbox / Radio
/* ================================================================================================================== */
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    margin-left: -21px;
    margin-top: 0;
    width: 24px;
    height: 24px;
}

.radio input[type="radio"],
.radio-inline input[type="radio"] {
    margin-left: -19px;
    margin-top: 0;
    width: 24px;
    height: 24px;
}

.checkbox > label,
.radio > label {
    padding-left: 15px;
    line-height: 24px;
}

.checkbox > label,
.radio > label {
    padding-left: 15px;
    line-height: 24px;
}

.checkbox > label::before,
.radio > label::before {
    width: 24px;
    height: 24px;
    border: 1px solid #c8cbcd;
    outline: 0 !important;
}

.checkbox > label::after,
.radio > label::after {
    color: #4ba82e;
    line-height: 24px;
    font-weight: normal;
    font-size: 24px;
    left: 2px;
    top: -1px;
}

.checkbox > label::before {
    border-radius: 2px;
}

.radio > label::before {
    border-radius: 50%;
}

.radio > label::after {
    background-color: transparent;
}

.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="radio"]:checked + label::after {
    font-family: "Glyphicons Skoda";
    content: "\f056"; /* check */
}

.checkbox input[type="checkbox"][indeterminate="true"] + label::after,
.checkbox input[type="radio"][indeterminate="true"] + label::after {
    font-family: "Glyphicons Skoda";
    content: "\f015"; /* square */
    font-size: 24px;
    left: -1px;
    top: -2px;
}

.radio input[type="radio"]:checked + label::after {
    font-family: "Glyphicons Skoda";
    content: "\f016"; /* circle */
}

.checkbox input[type="checkbox"]:disabled + label::before,
.checkbox input[type="radio"]:disabled + label::before,
.radio input[type="radio"]:disabled + label::before {
    border: 1px solid #b5b5b5;
    background-color: #f0f0f0;
}

.checkbox input[type="checkbox"]:disabled + label::after,
.checkbox input[type="radio"]:disabled + label::after,
.radio input[type="radio"]:disabled + label::after {
    color: #b5b5b5;
}

.checkbox input[type="checkbox"]:disabled + label,
.checkbox input[type="radio"]:disabled + label,
.radio input[type="radio"]:disabled + label {
    color: #b5b5b5;
}
