@font-face {
    font-family: GentiumPlus;
    src: url(../fonts/GentiumPlus-5.000-web/web/GentiumPlus-R.woff);
}
@font-face {
    font-family: GentiumPlus;
    font-style: italic;
    src: url(../fonts/GentiumPlus-5.000-web/web/GentiumPlus-I.woff);
}

/* General elements */
body { 
  font-family: 'GentiumPlus', serif; 
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-family: 'GentiumPlus', serif; 
  font-weight: 300;
  line-height: 1.2;
}

.tooltip, .popover, #mainNav {
  font-family: 'GentiumPlus', serif;   
}

/* Colors */

a {
    color: #329e73;
}

.bg-primary {
	background-color: #90c9ab !important;
}

.bg-secondary {
    background-color: #ec681c!important;
}

.bg-tridary {
  background-color: #CDA700 !important;
}

.bg-border {
  border: 2px solid #329e73;
  background-color: #fff;
}

.bg-border:hover {
  background-color: #eee;
} 

.bg-grey {
  background-color: #4C4C4A;
}

.bg-demo {
  background-color: #eee;
}

.text-primary {
    color: #329e73 !important;
}

.text-secondary {
    color: #dc153d !important;
}

.text-tridary {
  color: #CDA700 !important;
}

.text-highlight {
    color: #ec681c !important;
}

.text-grey {
  color: #4C4C4A !important;
}

.display-4 {
  font-size: 2.5em;
  font-weight: normal;
  margin-left: 0.5em;
  margin-top: 0.15em;
}

/* Main navigation */

#mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: padding-top 0.3s, padding-bottom 0.3s;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
    color: #fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
    color: #329e73;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #49B488;
}

.navbar-brand img {
    height: 48px;
    width: 48px;
}

/* Master heading */

.masthead {
    padding-top: calc(6rem + 104px);
    padding-bottom: 6rem;
}

.masthead .masthead-subheading {
    font-size: 1.5rem;
}

/* Buttons */

.btn {
    -webkit-transition:background-color .25s ease-in;  
    -moz-transition:background-color .25s ease-in;  
    -o-transition:background-color .25s ease-in;  
    transition:background-color .25s ease-in;
}

.btn-primary {
    color: #fff;
    background-color: #7FC4A1;
    border-color: transparent;
}

.btn-primary:hover {
  color: #fff;
  background-color: #297F54;
  border-color: transparent;
}

.btn-secondary {
    color: #fff;
    background-color: #dc153d;
    border-color: transparent;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #8F0722;
  border-color: transparent;
}

.btn-tridary {
    color: #fff;
    background-color: #CDA700;
    border-color: transparent;
}

.btn-tridary:hover {
  color: #fff;
  background-color: #856C00;
  border-color: transparent;
}

.btn-highlight {
  color: #fff;
  background-color: #ec681c;
  border-color: transparent;
}

.btn-highlight:hover {
  color: #fff;
  background-color: #993D09;
  border-color: transparent;
}

.btn-xl {
    padding: 1rem 1.75rem;
    font-size: 1.25rem;
}

/* Divider */

.divider-custom {
    margin: 1.25rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-custom .divider-custom-line {
    width: 100%;
    max-width: 7rem;
    height: 0.25rem;
    background-color: #212529;
    border-radius: 1rem;
    border-color: #fff !important;
}

.divider-custom .divider-custom-line:first-child {
    margin-right: 1rem;
}

.divider-custom .divider-custom-line:last-child {
    margin-left: 1rem;
}

.divider-custom .divider-custom-icon {
    color: #212529;
    font-size: 2rem;
}

.divider-custom.divider-light .divider-custom-line {
    background-color: #fff !important;
}

.divider-custom.divider-light .divider-custom-icon {
    color: #fff !important;
}

/* Masterheading */

.masthead-avatar {
  max-width: 280px;
  height: auto;
}

.custom-select {
  width: inherit;
}

.navbar-nav form {
  margin-top: 0.5em;
}

/* Page sections */

.page-section {
    padding: 6rem 0;
}

.page-section .page-section-heading {
    font-size: 2.25rem;
    line-height: 2rem;
}

@media (min-width: 992px) {
	.page-section .page-section-heading {
	    font-size: 3rem;
	    line-height: 2.5rem;
	}
}

.centering-text text {
	text-anchor: middle; 
}

/* Portfolio */

.portfolio {
  margin-bottom: -30px;
}

.portfolio .portfolio-item {
  cursor: pointer;
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 30px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-item-caption {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  background-color: rgba(26, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

.portfolio-modal .portfolio-modal-title {
  font-size: 2.25rem;
  line-height: 2rem;
}

@media (min-width: 992px) {
  .portfolio-modal .portfolio-modal-title {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}

.portfolio-modal .close {
    position: absolute;
    z-index: 1;
    right: 1.5rem;
    top: 1rem;
    font-size: 3rem;
    line-height: 3rem;
    color: #329e73;
    opacity: 1;
}

/* Forms */

.floating-label-form-group {
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.floating-label-form-group input, .floating-label-form-group textarea {
    font-size: 1.5em;
    position: relative;
    z-index: 1;
    padding-right: 0;
    padding-left: 0;
    resize: none;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none !important;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 0.25rem);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 0.125rem solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.control-group label {
	display: none;
}
/* Modal */

.topidApi .modal-content {
  background-color: transparent;
}

.topidApi .modal-body {
  min-height: 600px !important;
  padding: 0em 0em !important;
}

/* Footer */

.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #dc153d;
  color: #4C4C4A;
}

.copyright {
  background-color: #4C4C4A;
}

/* Resultpage */
.fullscreen-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -100;
}

.fullscreen-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Media */

svg {
  overflow: hidden;
  vertical-align: middle;
}

.centering-text text {
  text-anchor: middle;
}

#video1 {
  background: url('../img/logo-header.png') no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
}

@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    height: 400%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: 400%;
    left: -150%;
  }
}
        
        .pyro > .before, .pyro > .after {
            position: absolute;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            box-shadow: -120px -218.66667px blue, 248px -16.66667px #00ff84, 190px 16.33333px #002bff, -113px -308.66667px #ff009d, -109px -287.66667px #ffb300, -50px -313.66667px #ff006e, 226px -31.66667px #ff4000, 180px -351.66667px #ff00d0, -12px -338.66667px #00f6ff, 220px -388.66667px #99ff00, -69px -27.66667px #ff0400, -111px -339.66667px #6200ff, 155px -237.66667px #00ddff, -152px -380.66667px #00ffd0, -50px -37.66667px #00ffdd, -95px -175.66667px #a6ff00, -88px 10.33333px #0d00ff, 112px -309.66667px #005eff, 69px -415.66667px #ff00a6, 168px -100.66667px #ff004c, -244px 24.33333px #ff6600, 97px -325.66667px #ff0066, -211px -182.66667px #00ffa2, 236px -126.66667px #b700ff, 140px -196.66667px #9000ff, 125px -175.66667px #00bbff, 118px -381.66667px #ff002f, 144px -111.66667px #ffae00, 36px -78.66667px #f600ff, -63px -196.66667px #c800ff, -218px -227.66667px #d4ff00, -134px -377.66667px #ea00ff, -36px -412.66667px #ff00d4, 209px -106.66667px #00fff2, 91px -278.66667px #000dff, -22px -191.66667px #9dff00, 139px -392.66667px #a6ff00, 56px -2.66667px #0099ff, -156px -276.66667px #ea00ff, -163px -233.66667px #00fffb, -238px -346.66667px #00ff73, 62px -363.66667px #0088ff, 244px -170.66667px #0062ff, 224px -142.66667px #b300ff, 141px -208.66667px #9000ff, 211px -285.66667px #ff6600, 181px -128.66667px #1e00ff, 90px -123.66667px #c800ff, 189px 70.33333px #00ffc8, -18px -383.66667px #00ff33, 100px -6.66667px #ff008c;
            -moz-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
            -webkit-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
            -o-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
            -ms-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
            animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards; }

        .pyro > .after {
            -moz-animation-delay: 1.25s, 1.25s, 1.25s;
            -webkit-animation-delay: 1.25s, 1.25s, 1.25s;
            -o-animation-delay: 1.25s, 1.25s, 1.25s;
            -ms-animation-delay: 1.25s, 1.25s, 1.25s;
            animation-delay: 1.25s, 1.25s, 1.25s;
            -moz-animation-duration: 1.25s, 1.25s, 6.25s;
            -webkit-animation-duration: 1.25s, 1.25s, 6.25s;
            -o-animation-duration: 1.25s, 1.25s, 6.25s;
            -ms-animation-duration: 1.25s, 1.25s, 6.25s;
            animation-duration: 1.25s, 1.25s, 6.25s; }

        @-webkit-keyframes bang {
            from {
                box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
        @-moz-keyframes bang {
            from {
                box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
        @-o-keyframes bang {
            from {
                box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
        @-ms-keyframes bang {
            from {
                box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
        @keyframes bang {
            from {
                box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }
        @-webkit-keyframes gravity {
            to {
                transform: translateY(200px);
                -moz-transform: translateY(200px);
                -webkit-transform: translateY(200px);
                -o-transform: translateY(200px);
                -ms-transform: translateY(200px);
                opacity: 0; } }
        @-moz-keyframes gravity {
            to {
                transform: translateY(200px);
                -moz-transform: translateY(200px);
                -webkit-transform: translateY(200px);
                -o-transform: translateY(200px);
                -ms-transform: translateY(200px);
                opacity: 0; } }
        @-o-keyframes gravity {
            to {
                transform: translateY(200px);
                -moz-transform: translateY(200px);
                -webkit-transform: translateY(200px);
                -o-transform: translateY(200px);
                -ms-transform: translateY(200px);
                opacity: 0; } }
        @-ms-keyframes gravity {
            to {
                transform: translateY(200px);
                -moz-transform: translateY(200px);
                -webkit-transform: translateY(200px);
                -o-transform: translateY(200px);
                -ms-transform: translateY(200px);
                opacity: 0; } }
        @keyframes gravity {
            to {
                transform: translateY(200px);
                -moz-transform: translateY(200px);
                -webkit-transform: translateY(200px);
                -o-transform: translateY(200px);
                -ms-transform: translateY(200px);
                opacity: 0; } }
        @-webkit-keyframes position {
            0%, 19.9% {
                margin-top: 10%;
                margin-left: 40%; }

            20%, 39.9% {
                margin-top: 40%;
                margin-left: 30%; }

            40%, 59.9% {
                margin-top: 20%;
                margin-left: 70%; }

            60%, 79.9% {
                margin-top: 30%;
                margin-left: 20%; }

            80%, 99.9% {
                margin-top: 30%;
                margin-left: 80%; } }
        @-moz-keyframes position {
            0%, 19.9% {
                margin-top: 10%;
                margin-left: 40%; }

            20%, 39.9% {
                margin-top: 40%;
                margin-left: 30%; }

            40%, 59.9% {
                margin-top: 20%;
                margin-left: 70%; }

            60%, 79.9% {
                margin-top: 30%;
                margin-left: 20%; }

            80%, 99.9% {
                margin-top: 30%;
                margin-left: 80%; } }
        @-o-keyframes position {
            0%, 19.9% {
                margin-top: 10%;
                margin-left: 40%; }

            20%, 39.9% {
                margin-top: 40%;
                margin-left: 30%; }

            40%, 59.9% {
                margin-top: 20%;
                margin-left: 70%; }

            60%, 79.9% {
                margin-top: 30%;
                margin-left: 20%; }

            80%, 99.9% {
                margin-top: 30%;
                margin-left: 80%; } }
        @-ms-keyframes position {
            0%, 19.9% {
                margin-top: 10%;
                margin-left: 40%; }

            20%, 39.9% {
                margin-top: 40%;
                margin-left: 30%; }

            40%, 59.9% {
                margin-top: 20%;
                margin-left: 70%; }

            60%, 79.9% {
                margin-top: 30%;
                margin-left: 20%; }

            80%, 99.9% {
                margin-top: 30%;
                margin-left: 80%; } }
        @keyframes position {
            0%, 19.9% {
                margin-top: 10%;
                margin-left: 40%; }

            20%, 39.9% {
                margin-top: 40%;
                margin-left: 30%; }

            40%, 59.9% {
                margin-top: 20%;
                margin-left: 70%; }

            60%, 79.9% {
                margin-top: 30%;
                margin-left: 20%; }

            80%, 99.9% {
                margin-top: 30%;
                margin-left: 80%; } }
