html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

.header { z-index:99; background:linear-gradient(0deg, #0c263b, #0d0e0e); box-shadow: 0px -2px 4px 3px #000; }
.nav { position:relative; z-index:2; }
.maincontent { position:relative; background:#fff; z-index:1;}

.bg-primary {
    background-color: #005e9a!important;
}
.bg-primary h4 {
    color:#fff;
}
a {
    color: #0068b3;
}

a:hover {
    color: #00b0e0;
}

.anchor {
    content: '';
    display: block;
    height:      85px;
    margin-top: -85px;
    visibility: hidden;
}

.footer {
    /* Set the fixed height of the footer here */
    /* Vertically center the text there */
    background: #0c1822;
    color:#fff;
    padding: 15px 0;
}

.footer .float-left a,
.footer a.footerlink {
        line-height:32px;
}

.footer a, a.intro {
    color:#ffe691;
    text-decoration: none;
}

.nav-tabs {
    border-bottom: 0px;
}
.nav-tabs .nav-link {
    margin-bottom: -3px;
    border:none !important;
}
.nav a.active {
    background: #0d4367 !important;
    color: #fff !important;
    font-weight: bold;
    border:none !important;
}
.tab-content {
    position: relative;
    padding: 15px 15px 0;
    border-radius: 3px;
    border: 3px solid #0d4367;
}

@media (max-width: 767) {
    .nav .d-flex { display:block !important; }
    .nav a {
        display:block;
        margin-top:0;
        border-radius:0;
    }
}

.btn-secondary {
    background: transparent;
    border-width: 2px;
    color: #ffeec7;
}

.bs {
    display: none;
}

hr {
    border-top: 1px solid #0008;
}

.footer hr {
    border-top: 1px solid #fff;
    margin: 2rem 0;
}
body,
.btn {
    font-size: 1rem;
}

body {
    background: #fff;
    background-size: cover;
    color: #333;
    font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif;
    transition: background 0.5s linear;
}


.fullwidth {
    width: 100%;
    padding: 0 15px;
}

.card-header {
    background: #0003;
}

.card-header h2,
.card-header h3,
.card-header h4 {
    margin-bottom: 0;
}

.text-secondary {
    color: #fcf7d788!important;
    font-size: 0.9rem;
}


.raised {
    box-shadow: 0 2px 3px -1px #000a;
}

.raised2 {
    box-shadow: 0 3px 6px -2px #000b;
}

.raised3 {
    box-shadow: 0 4px 11px -3px #000d;
}

.raised4 {
    border: 5px solid #000;
    box-shadow: 0 7px 30px 2px #000d;
}


.btn.raised:hover {
    box-shadow: none !important;
}

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

.form-control {
    color: #444;
    background:#eee;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #003456;
}

h3, h4, h5, h6 {
    margin-top:1.5rem;
}
h1 {
    font-size:3.5rem;
    line-height: 1.5;
}
h2 {
    font-size:2.5rem;
    line-height: 1.5;
}
h3 {
    font-size:1.5rem;
    line-height: 1.5;
}

h1,h2 {
    font-family: 'Griffy';
    text-shadow: 2px 2px 0 #fff, 0 0 12px #000;
    color:#000;
}

.bluebox h1, .bluebox h2, .bluebox h3,
.footer h1, .footer h2, .footer h3 {
        font-family: 'Griffy';
    text-shadow: 2px 2px 0 #000, 0 0 12px #fff;
    color:#fff;
}


.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #440;
    -webkit-box-shadow: 0 0 0px 1000px #fbd75b14 inset;
    transition: background-color 5000s ease-in-out 0s;
    border: 0;
    border-bottom: 1px solid #f39200;
}

.form-control:focus {
    background: #eee8;
    color: #000000;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #f39200;
    box-shadow: none !important;
}

#search-top {
    min-width: 50%;
}

#search-top .form-control {
    width: 100%;
    height: 40px;
}

#search-top .material-icons {
    margin-left: -28px;
}

.bb {
    border-bottom:3px solid #fff;
}
.bt {
    border-top:3px solid #fff;
}
.navbar {
    padding: 0;
    z-index:999;
}

.avatar {
    width: 48px;
    border-radius: 50%;
}

.avatar.large {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    float: left;
    margin-right: 10px;
}

.dropdown-item {
    padding: 0.5rem 5rem 0.5rem 1rem;
    color: #004182;
}

.dropdown-divider {
    border-color: #444;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background: transparent;
    color: inherit;
}

a.dropdown-item:focus,
a.dropdown-item:hover {
    background: transparent;
    color: #00b0e0;
}

.card {
    background-color: #fff;
    margin-bottom:30px;
}

.card h3 {
    margin-top:0;
}

.nav-link {
    padding: 5px 20px !important;
    color: #d3d6d9 !important;
}

.btn {
    min-width: 1.2rem;
    text-transform: none;
    border-radius:50px;
    white-space: nowrap;
}

.btn-group-xs>.btn,
.btn-xs {
    padding: .5rem .5rem;
    font-size: .675rem;
    line-height: .5;
    border-radius: .2rem;
}

.navbar-light .navbar-toggler {
    border:none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.fixed-bottom .btn {
    border-radius: 0 !important;
    border-left: 1px solid #fff2 !important;
    border-right: 1px solid #000a !important;
    text-transform: none;
    background: #20303e;
    margin-left: 0 !important;
}

.fixed-bottom .btn:first-child {
    border-left: 0 !important;
}

.fixed-bottom .btn:last-child {
    border-right: 0 !important;
}

.fixed-bottom .btn i {
    margin-bottom: 5px;
}

.btn-bordered {
    border: 1px solid #ccc;
}

.alert ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.hidden {
    display: none !important;
}

.flashalert {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
}

.flashalert .alert {
    padding-top: 70px;
    border-radius: 0;
}


/** MODAL LEFT / RIGHT **/

.modal.left .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.show .modal-dialog {
    left: 0;
}

.popover {
    box-shadow: 2px 2px 12px 1px rgba(0, 0, 0, 0.7)
}

.popover-header {
    color: #000b;
    background: #f4f4d0;
}

.popover-body {
    color: #000b;
    background: #f8f8ed;
}

.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    right: 0;
    width: 500px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
    right: 0;
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
    margin-top: 0;
    border-radius: 0;
    border: 0;
}

.modal.left .modal-header,
.modal.right .modal-header {
    background: #20303322;
    box-shadow: 0 0 2px 1px #0008;
    border-radius: 0;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

.tracker-card {
    border: 0;
}

.btn-group {
    margin: 0;
}

.btn-group .btn {
    margin: 0;
}

.fixed-top .navbar-brand,
.fixed-bottom .btn {
    color: #004182 !important;
}

.subproject:last-child {
    margin-bottom: 0 !important;
}

input::placeholder {
    /* Chrome/Opera/Safari */
    color: #888 !important;
}

input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #888 !important;
}

input::-moz-placeholder {
    /* Firefox 19+ */
    color: #888 !important;
}

input::-ms-input-placeholder {
    /* IE 10+ */
    color: #888 !important;
}

input::-moz-placeholder {
    /* Firefox 18- */
    color: #888 !important;
}

.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    z-index: 10;
    padding-top: 10px;
    padding-bottom: 40px;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.7);
}

.carousel-indicators {
    bottom:0;
    margin-bottom:0.3rem;
}

.carousel-indicators li {
    width: 8px;
    height: 8px;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 50%;
}

.navbar-brand {
    padding: 10px 0 0;
}

/** ENDE MODAL LEFT / RIGHT **/

@media (max-width: 576px) {
    h1 {
        font-size:1.5rem;
    }
    h2 {
        font-size:1.35rem;
    }
    h3 {
        font-size:1.2rem;
    }
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .modal.right .modal-dialog {
        width: 100% !important;
    }
    
    .btn,
    .form-control {
        font-size: 0.8rem;
    }
    nav .container {
        padding: 0;
    }
    img.xs-full {
        width: 100% !important;
        margin: 15px 0 !important;
    }
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (max-width: 767px) {
    body { margin-top:50px; }
    .navbar-collapse {
        margin: 0 -15px;
    }
    .navbar-nav {
        background: #0c2133;
    }
    .nav-link {
        padding: 10px 10px !important;
        font-size: 0.85em;
        border-top: 1px solid #000;
        color: #fff !important;
    }
    .nav-item .flaticon:before {
        font-size: 24px !important;
        margin: 0px 5px 0px 0 !important;
        bottom: -4px;
        position: relative;
    }    
    
}

@media (min-width: 768px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
    body { margin-top:70px; }
    .nav-link {
        border-right: 1px solid #444;
        border-left: 1px solid #000;
        text-align: center;
    }
    .nav-link:hover {
        color: #fff !important;
    }
    .nav-item:first-child .nav-link {
        border-left:none;
    }
    .nav-item:last-child .nav-link {
        border-right:none;
    }
}

@media (min-width: 992px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
    .w-md-50 {
        width:50%;
    }
    .large { font-size: 1.2em; }
}

@media (min-width: 1200px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
    display:none;
}
.hidden-xs,
.hidden-sm,
.hidden-md,
.hidden-lg {
    display:block;
}
@media (max-width: 576px) {
    .visible-xs { display:block !important; }
    .hidden-xs { display:none !important; }
    .w-xs-50 { width: 50% !important; }
    .w-xs-75 { width: 75% !important; }
}
@media (min-width: 576px) and (max-width: 768px) {
    .visible-sm { display:block !important; }
    .hidden-sm { display:none !important; }
    .w-sm-50 { width: 50% !important; }
    .w-sm-75 { width: 75% !important; }
}

.btn-primary {
    color: #fff;
    background-color: #004182;
    border-color: #004182;
}

.bluebox {
    background:#0c1822;
    color:#fff;
}
.text-blue {
    color:#004182;
}

.greybox {
    background:#333;
    color:#fff;
}

.lightgreybox {
    background:#e8e8e8;
}

.lightgreybox .form-control {
    background:#fff;
}
.responsive-video {
	position: relative;
	width:100%;
    padding-bottom: 56.25%;
    padding-top: 30px; 
    height: 0; 
    overflow: hidden;
}
.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
	border:0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}