html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}
* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif, verdana;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    width: 100%;
    margin: auto;
    font-size: 1em;
    background-color: #e7e7e7;
}
/* -ms-@viewport {
    width: device-width;
    initial-scale: 1;
    zoom: 1;
    min-zoom: 1;
    max-zoom: 3;
    user-zoom: fixed;
} */
@viewport {
    width: device-width;
    initial-scale: 1;
    zoom: 1;
    min-zoom: 1;
    max-zoom: 3;
    user-zoom: fixed;
}
.fa{
    font-size: 16px;
}
object{
    height: auto;
    display: inherit;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ccc;
  font-size: 12px;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #ccc;
  font-size: 12px;
}
::-ms-input-placeholder { /* IE 10+ */
  color: #ccc;
  font-size: 12px;
}
::-moz-placeholder { /* Firefox 18- */
  color: #ccc;
  font-size: 12px;
}
input:focus:invalid:not(#none), textarea:focus:invalid:not(#none){
    box-shadow: 0 0 2px 2px rgba(50,50,50,0.1);
    -webkit-box-shadow: 0 0 2px 2px rgba(50,50,50,0.1);
    -moz-box-shadow: 0 0 2px 2px rgba(50,50,50,0.1);  
}

/* input:focus:valid:not(#none), textarea:focus:valid:not(#none){
    border-bottom: 1px solid rgba(0,0,0,0);
}

input#search:focus:invalid {
    background-color: rgba(0,0,0,0.2);
} */

input:focus:not(#search_query), textarea:focus, keygen:focus, select:focus {
    outline-offset: 0;
    box-shadow: 0 0 3px 1px #ccc;
    -webkit-box-shadow: 0 0 3px 1px #ccc;
    -moz-box-shadow: 0 0 3px 1px #ccc;  
    transition: outline 0.25s ease-in;
    -webkit-transition: outline 0.25s ease-in;
    -moz-transition: outline 0.25s ease-in;
}

.main-container {
    box-shadow: 0.05em 0.05em 0.5em rgba(0,0,0,0.2);
    max-width: 1280px;
    background-color: #f9f9f9;
}

.input-group {
    flex-direction: row;
    flex-wrap: inherit;
    align-items: stretch;
    width: 100%;
    flex: auto;   
}
.input-group input,
.input-group select,
.input-group textarea {
    flex-grow: 1;
    width: 100%;
}

/*------------Navigation----------------*/

nav {
    display: -ms-grid;
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    height: auto;
    position: absolute !important;
    left: 0;
    right: 0;
}

nav .nav-item{
    margin: 0 0.5em;
}
nav .nav-item > * {
    font-family: Roboto, "Helvetica Neue", sans-serif;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 0.05em;
}
nav .show li, nav .show .dropdown-menu{
    text-align: center !important;
}

nav .show .dropdown-menu{
    text-transform: capitalize;
    letter-spacing: 0;
}
.dropdown-menu {
    padding: 0;
}

/* -----------extras--------- */

.spacer {
    padding: 2em 0;
}


/*-----------Footer-----------*/

footer {
    position: relative;
    bottom: 0;
    z-index: 1;
    text-align: center;
}


