/* Normalize */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

html,
body { height: 100%; }
img { max-width: 100%; height: auto; vertical-align: top;}

input:focus,
select:focus,
textarea:focus,
button:focus { outline: none; }

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

::-webkit-input-placeholder { color: #AFAEAE;}
:-moz-placeholder { color: #AFAEAE; }
::-moz-placeholder { color: #AFAEAE; }
:-ms-input-placeholder {  color: #AFAEAE; }

/********** 
  KO GRID
**********/

*,
*:before,
*:after {box-sizing: border-box;}

.row { width: 100%; margin: 0 auto; max-width: 1160px; padding:0 10px;}
.row:after {content: ""; display: table; clear: both;}

.flex { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 0; -ms-flex: 0 1 auto; flex: 0 1 auto; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row;}
.columns { margin-right: -.5rem; margin-left: -.5rem;}
.wrap {-ms-flex-wrap: wrap;flex-wrap: wrap;}

.direction-column {-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}
.direction-row {-webkit-box-orient: horizontal;-webkit-box-direction: normal;-ms-flex-direction: row;flex-direction: row;}

.justify-between {-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between}
.justify-around { -ms-flex-pack: distribute; justify-content: space-around}
.justify-center { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center}
.justify-start { -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start}
.justify-end { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end}

.align-baseline {-webkit-box-align:baseline;-ms-flex-align:baseline;-ms-grid-row-align:baseline;align-items:baseline}
.align-center {-webkit-box-align:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center}
.align-start {-webkit-box-align:start;-ms-flex-align:start;-ms-grid-row-align:flex-start;align-items:flex-start}
.align-end {-webkit-box-align:end;-ms-flex-align:end;-ms-grid-row-align:flex-end;align-items:flex-end}
.align-stretch {-webkit-box-align:stretch;-ms-flex-align:stretch;-ms-grid-row-align:stretch;align-items:stretch}
