/* Import fonts */
@import url("http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,800italic,700,600,800,400");

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
/* Reset Styles */

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%;
  vertical-align: baseline; }

html {
  line-height: 1; }

ol, ul {
  list-style: none; }

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

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle; }

q, blockquote {
  quotes: none; }

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

a img {
  border: none; }

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

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

/* Base Styles */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

html {
  height: auto;
}

body  {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 160%;
  *zoom: 1;
  vertical-align: middle;
  padding-bottom: 10px;
}



@media all and (max-width: 400px) {
  main {
    width: 100%;
     border-radius: 0;
  }
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold; /*normal;*/
  /* color: #475b62; */
  text-shadow: 1px 1px rgb(255,255,255, 1);
}

a {
  color: #145266;
  font-family: 'Open Sans', sans-serif;
}

header {
  margin-bottom: 20px;
}

h1{
  color: #145266;
  font-size: 2rem;
  line-height: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

h2{ 
  color: #145266;
  font-size: 1.75rem;
  line-height: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

h3{ 
  color: #145266;
  font-size: 1.5rem;
  line-height: 100%;
  margin-top: 40px;
  margin-bottom: 0px;
}

h4{ 
  color: #145266;
  font-size: 1.25rem;
  line-height: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
}

h5{ 
  color: #145266;
  font-size: 1rem;
  line-height: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
}

a.small {
  line-height: 100%;
  font-size: .9rem;
}


/* Form Styles */

input {
  width: 100%;
  display: inline-block;
  padding: 10px 0 10px 15px;
  font-size: 1rem;
  color: #475B62;
  background: rgba(255,255,255,0.4);
  border: 1px solid white;
  border-radius: 10px;
  outline: 0;
}

input[type=radio] {
  width: auto;
}


.ng-enter.ng-enter-active,
.ng-leave {
  opacity: 1;
  height: 80px;
  overflow: hidden;
}

.ng-leave.ng-leave-active,
.ng-enter {
  opacity: 0;
  height: 0;
  overflow: hidden;
}
*/

p.error {
  color: #C61C6F;
  font-size: .8em;
  padding-top: 5px;
}

/*buttons*/
.ng-invalid .btn {
  background: gray;
}


@media all and (max-width: 700px) {
  .search .formgroup {
    width: 50%;
  }

  .search .buttons {
    width: 100%;
    float: right;
  }
}

@media all and (max-width: 550px) {
  .search .formgroup {
    width: 100%;
  }
}

.title-underline
{
  border-bottom: 3px solid #6ac200;
  margin-top: 5px;
  margin-bottom: 5px;
}

footer .navbar-nav > li{
  padding-left:30px;
  padding-right:30px;
}

footer {
  padding-top: 50px;
  padding-bottom: 0px;
}