/* ------------------------------------------------------------

* Filename:             global.css
* Description:          Global CSS
* Version:              0.0.1 (02.04.2015) DD-MM-YYYY
* Website:              
* Author:               Marcel Block

==STRUCTURE:===================================================

* Page width:           100%
* Number of columns:    1

==CONTENTS:====================================================

* Html/Body

------------------------------------------------------------ */

/* Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  font-variant: small-caps;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1;
  -webkit-text-size-adjust: none;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
button,
select,
textarea {
  font-variant:       small-caps;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* Box Model */

@font-face {
	font-family: 'SourceSansPro';
	src: url('../fonts/source-sans-pro/SourceSansPro-Regular.ttf');
}

@font-face {
	font-family: 'FontAwesome';
	src: url('../fonts/fonts-awesome/fontawesome-webfont.ttf');
}

*,
*:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 auto;
}

html,
body {
  background-color: #262626;
  color: #cccccc;
  font-family: 'SourceSansPro', Fallback, Verdana, sans-serif;
  font-size: 1.1em;
  width: 100%;
}

header {
  clear: both;
}

/* LEGEND
------------------------------------------------------------ */
legend {
  color:        #33ccff;
/*  font-size:    2em;*/
  font-variant: small-caps;
  font-weight:  bolder;
  margin:       auto;
}

/* LINKS
------------------------------------------------------------ */
a {
	color: #cccccc;
/*	text-decoration: none;*/
}

a:hover {
	color: #33ccff;
}

a[id^="edit-row-"] {
  display:          inline-block;
  height:           100%;
  padding-bottom:   2px;
  text-decoration:  none;
  width:            100%;
}

/* INPUT
------------------------------------------------------------ */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #4d4d4d;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:   #4d4d4d;
   opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:   #4d4d4d;
   opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #4d4d4d;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color: #4d4d4d;
}

input,
input[type="file"]::-webkit-file-upload-button,
select,
textarea {
  background-color: transparent;
  border-top:       0;
  border-left:      0;
  border-right:     0;
  border-bottom:    1px;
  border-style:     solid;
  border-color:     #33ccff;
  border-radius: 	0;
  color:            #999999 !important;
  font-family:      'SourceSansPro', Fallback, Verdana, sans-serif;
  font-size:        1.1em;
  font-variant:     small-caps;
  outline:          0;
  padding: 			0;
  width:            100%;
}

select:active,
select:hover {
  outline-color: #33ccff;
}

option:active,
option:hover {
  background-color: #33ccff;
}

option:not(:checked) {
  background-color: #262626;
}

option:checked {
  background-color: #33ccff;
  color:            #262626;
}

input[type="radio"] {
  -webkit-appearance: checkbox;
  -moz-appearance:    checkbox;
  -ms-appearance:     checkbox;
  height:             20px;
  margin-right:       16px;
  width:              20px;
}

input:not([type="radio"]):required:invalid,
textarea:required:invalid {
  border-color:	#ff6666;
}

/*
input:required:invalid {
  background: #ffd6cc
    url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAOElEQVQoU2P8b8zwn4GBgYHxLAMjiIYBuDiMgawIRQwkgSyAbArIVLix6IpgVhKnAK8VBB1JyJsAUPkgzRoLIBoAAAAASUVORK5CYII=') 94% no-repeat;
    color: #666666;
}

select:required:invalid {
  background: #ffd6cc
    url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAOElEQVQoU2P8b8zwn4GBgYHxLAMjiIYBuDiMgawIRQwkgSyAbArIVLix6IpgVhKnAK8VBB1JyJsAUPkgzRoLIBoAAAAASUVORK5CYII=') 94% no-repeat;
    color: #666666;
}

datalist:required:invalid {
  background: #ffd6cc
    url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAOElEQVQoU2P8b8zwn4GBgYHxLAMjiIYBuDiMgawIRQwkgSyAbArIVLix6IpgVhKnAK8VBB1JyJsAUPkgzRoLIBoAAAAASUVORK5CYII=') 94% no-repeat;
    color: #666666;
}

input[type="radio"]:required:valid {
  background: #ddffcc;
  color: #666666;
}

input:required:valid {
  background: #ddffcc
    url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAICAYAAAArzdW1AAAARklEQVQYV2NkIACWHHH+z4hPDUgBSB6nIpgCsCIQJ8ZmL4piZAUgObAikGqYQnQFcJOwuQvZdLA1yLqRTYVphrsF3Vpk0wGSoCQHZQJl8QAAAABJRU5ErkJggg==') 94% no-repeat;
    color: #666666;
}
*/

input:not([type="radio"]):required:valid,
datalist:required:valid,
select:required:valid,
textarea:required:valid {
  border-color: #77b300;
}

/* BUTTON
------------------------------------------------------------ */

button {
  background-color: transparent;
  border-color: #33ccff;
  border-style: solid;
  border-width: 1px;
  color: #cccccc;
  font-family: FiraSansExtraLight, Verdana, Geneva, sans-serif;
  padding: 6px;
  outline: 0;
}

/* FORM
------------------------------------------------------------ */
form {
  display:      table;
  margin-top:   32px;
  margin-left:  auto;
  margin-right: auto;
}

.menu_bars:before {
  color:        #33ccff;
  content:      "\f0c9";
  font-family:  'FontAwesome';
}

.fa-refresh:before {
  content: "\f021";
  font-family:  'FontAwesome';
}

.info_msg,
.success_msg,
.error_msg {
  background-color: #262626;
  border-style:     solid;
  border-width:     1px;
  display:          inline-block;
  padding:          16px;
  margin-top:       16px;
  text-align:       center;
}

.error_msg {
  border-color: #ff6666;
  color:        #ff6666;
}

.info_msg {
  border-color: #33ccff;
  color:        #33ccff;
}

.success_msg {
  border-color: #77b300;
}

.required,
.required_information {
  color: #ff6666;
}

/*
.required_information {
  float:      right;
  font-size:  0.715em;
  display:    block;
  margin-top: 8px;
}
*/

.required_information {
  font-size:  0.715em;
  display:    block;
  margin-top: 8px;
  text-align: right;
  width:      100%;
}

.pointer {
  cursor: pointer;
}

.disable {
  pointer-events: none;
  cursor:         default;
}

.float_right {
  float: right;
}

.float_left {
  float: left;
}

.align_right {
  text-align: right;
}

.align_center {
  text-align: center;
}

.align_left {
  text-align: left;
}

.font_08em {
/*  font-size: 0.8em;*/
}

.font_1em {
  font-size: 1em;
}

.font_2em {
  font-size: 2em;
}

.double_border_top {
  border-style: double;
  border-color: #33ccff;
  border-top-width: 3px;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
}

.double_border_right {
  border-style: double;
  border-color: #33ccff;
  border-top-width: 0;
  border-right-width: 3px;
  border-bottom-width: 0;
  border-left-width: 0;
}

.double_border_bottom {
  border-style: double;
  border-color: #33ccff;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 3px;
  border-left-width: 0;
}

.double_border_left {
  border-style: double;
  border-color: #33ccff;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 3px;
}

.solid_border_top {
  border-style: solid;
  border-color: #33ccff;
  border-top-width: 3px;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
}

.solid_border_right {
  border-style: solid;
  border-color: #33ccff;
  border-top-width: 0;
  border-right-width: 3px;
  border-bottom-width: 0;
  border-left-width: 0;
}

.solid_border_bottom {
  border-style: solid;
  border-color: #33ccff;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 3px;
  border-left-width: 0;
}

.solid_border_bottom_1px {
  border-style: solid;
  border-color: #33ccff;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 1px;
  border-left-width: 0;
}

.solid_border_left {
  border-style: solid;
  border-color: #33ccff;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 3px;
}

.solid_border_1px {
  border-style: solid;
  border-color: #33ccff;
  border-width: 1px;
}

.width_100 {
  width: 100%;
}

.no-padding {
  padding: 0 !important;
}

.underline {
  text-decoration: underline;
}

.line_height_1_5 {
  line-height: 1.5em;
}

@media only screen and (max-width: 980px) {
  button {
    font-size: 0.8em;
    /*padding: 0 16px;*/
  }
  
  form {
    /*margin-left:  16px;
    margin-right: 16px;
    margin: 0 auto;*/
  }
  
  .required_information {
    margin-top: 24px;
  }

  .no-padding {
    /*padding: 0 30% !important;*/
    text-align: center;
  }
}