/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  appearance: textfield;
  -webkit-appearance: textfield;
    /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

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

/* == tingle v0.13.2 */

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

#menuprincipal {
  font-family: "Lato";
}

html,
body {
  height: 100%;
  font-size: 15px;
}

div,
header,
nav,
footer,
section,
aside,
ul,
li,
a,
span {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

hr {
  border: none;
  border-bottom: 1px solid #dfdfdf;
}

.lead {
  font-size: 18px;
}

.no-scroll {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible !important;
}

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

.mt-8 {
  margin-top: 8px !important;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.ml-8 {
  margin-left: 8px !important;
}

.ml-4 {
  margin-left: 4px !important;
}

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

.hide {
  display: none;
}

.content {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  min-width: 280px;
  margin: 0 auto;
}

.img-center {
  display: block;
  margin: 0 auto;
}

.img-responsive {
  max-width: 100%;
}

.text-big {
  font-size: 22px !important;
}

.text-sm {
  font-size: 12px;
}

.text-xs {
  font-size: 10px;
}

.text-muted {
  color: #6c757d;
}

.text-primary {
  color: cornflowerblue;
}

.text-second {
  color: cornflowerblue;
}

.text-info {
  color: #2c3e50;
}

.text-success {
  color: #2ab27b;
}

.text-warning {
  color: #ff9800;
}

.text-danger {
  color: #d33636;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

.truncate {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-0 {
  margin: 0 !important;
}

.pull-right {
  float: right;
}

.bg-primary {
  background: cornflowerblue;
  color: #fefefe;
}

.link {
  color: cornflowerblue;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.unlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.unlist li {
  padding: 4px 0;
}

.block-center {
  margin: 0 auto !important;
}

.alert-messages,
.csrfToker-error {
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  padding: 16px !important;
  text-align: center !important;
}

.inline {
  display: inline;
}

.header {
  width: 100%;
  background: cornflowerblue;
  color: #fefefe;
}

.header .header-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-width: 280px;
  margin: 0 auto;
}

.header .menu-btn-container {
  display: none;
  padding: 0 8px;
  font-size: 24px;
}

@media only screen and (max-width: 1119px) {
  .header .menu-btn-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

.header .menu-btn-container .menu-btn {
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
  padding: 8px;
  line-height: 1;
  cursor: pointer;
  color: white;
}

.nav-bar {
  width: 100%;
  background: cornflowerblue;
  color: white;
  position: relative;
}

@media only screen and (max-width: 1119px) {
  .nav-bar {
    display: none;
  }

  .nav-bar.active {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: transparent;
    z-index: 9999;
  }
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-bar-background {
    width: 70%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0);
  }
}

@media only screen and (max-width: 939px) {
  .nav-bar .nav-bar-background {
    width: 60%;
  }
}

@media only screen and (max-width: 719px) {
  .nav-bar .nav-bar-background {
    width: 50%;
  }
}

@media only screen and (max-width: 519px) {
  .nav-bar .nav-bar-background {
    width: 40%;
  }
}

@media only screen and (max-width: 399px) {
  .nav-bar .nav-bar-background {
    width: 20%;
  }
}

.nav-bar .nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-container {
    width: 30%;
    height: 100%;
    margin: 0;
    background: cornflowerblue;
    overflow: auto;
  }

  .nav-bar .nav-container::-webkit-scrollbar {
    display: none;
  }
}

@media only screen and (max-width: 939px) {
  .nav-bar .nav-container {
    width: 40%;
  }
}

@media only screen and (max-width: 719px) {
  .nav-bar .nav-container {
    width: 50%;
  }
}

@media only screen and (max-width: 519px) {
  .nav-bar .nav-container {
    width: 60%;
  }
}

@media only screen and (max-width: 399px) {
  .nav-bar .nav-container {
    width: 80%;
  }
}

.nav-bar .nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-list {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.nav-bar .nav-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  white-space: nowrap;
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-item {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.nav-bar .nav-item.active > a {
  background: white;
  color: cornflowerblue;
  font-weight: bold;
}

.nav-bar .nav-item.active > a:after {
  border-top: 3px solid white;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}

@media only screen and (min-width: 1120px) {
  /* Style for the permanently highlighted current page item (Desktop only) */
  .nav-bar .nav-item.current-page > a {
    background: white;
    color: cornflowerblue;
    font-weight: bold;
  }
}

.nav-bar .nav-item a {
  display: block;
  padding: 10px;
  text-align: center;
  color: white;
  text-decoration: none;
  position: relative;
  width: 100%;
  position: relative;
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-item a {
    width: 100%;
    padding: 12px;
    position: relative;
  }
}

.nav-bar .nav-item a:after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 3px solid white;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  position: absolute;
  top: 17px;
}

.nav-bar .nav-item.princ a:after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0;
  border: none;
  position: absolute;
  top: 0;
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-item a:after {
    position: absolute;
    right: 6px;
    border-top: 3px solid transparent;
    border-left: 3px solid white;
    border-bottom: 3px solid transparent;
  }
}

.nav-bar .nav-item a:hover {
  background: white;
  color: cornflowerblue;
}

.nav-bar .nav-item .submenu {
  display: none;
  position: absolute;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  top: 41px;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  list-style: none;
  padding: 0;
  background: white;
  -webkit-box-shadow: 0 0.4px 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.4px 0 0 rgba(0, 0, 0, 0.2);

  padding: 8px;
  z-index: 7000;
}

/* Show submenu when parent nav-item is active */
.nav-bar .nav-item.active > .submenu {
  display: block;
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-item .submenu {
    position: relative;
    top: 0;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

.nav-bar .nav-item .submenu .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-bar .nav-item .submenu .submenu-item {
  width: 17.66666667%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 8px;
}

@media only screen and (max-width: 1119px) {
  .nav-bar .nav-item .submenu .submenu-item {
    width: 100%;
  }
}

.nav-bar .nav-item .submenu .submenu-title {
  padding-bottom: -50%;
  font-weight: bold;
  color: #242424;
  font-size: 13px;
}

.nav-bar .nav-item .submenu .submenu-title:hover {
  background: transparent;
  color: cornflowerblue;
}

.nav-bar .nav-item .submenu .submenu-title:after {
  margin: 0;
  border: none;
}

.nav-bar .nav-item .submenu-lvl2 {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-bar .nav-item .submenu-lvl2 .submenu-lvl2-item a {
  color: #2c3e50;
  padding: 6px 12px;
  font-size: 11px;
}

.nav-bar .nav-item .submenu-lvl2 .submenu-lvl2-item a:hover {
  background: cornflowerblue;
  color: white;
}

.nav-bar .nav-item .submenu-lvl2 .submenu-lvl2-item a:after {
  margin: 0;
  border: none;
}
