/**
 * Primary color: #1F4D98
**/

::selection {
    background: #3B9FD8;
    color: #FFF;
}

::-moz-selection {
    background: #3B9FD8;
    color: #FFF;
}

body {
    font-family: "Calibri", sans-serif;
}

h1, h2 {
    font-family: "Arca Majora 2", sans-serif;
    letter-spacing: 1px;
}

h2 {
    margin-bottom: 30px;
}

h3 {
    font-family: "Calibri", sans-serif;
    font-weight: 600;
    color: #1F4D98;
}

p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

a {
    color: #3b9fd8;
}

a:focus, a:hover {
    color: #2179be;
    text-decoration: underline;
}

header {
    padding-bottom: 190px;
    padding-top: 210px;
    color: #FFF;
    background: #1F4D98 url(../img/header.jpg) center bottom;
    background-size: cover;
}

header .subtitle {
    font-size: 24px;
    font-weight: 300;
    font-family: "Calibri", sans-serif;
    font-style: italic;
}

.navbar {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    height: 100px;
    color: #FFF;
    font-family: "Arca Majora 2", sans-serif;
    letter-spacing: 1px;
    -webkit-transition: all .3s ease !important;
    transition: all .3s ease !important;
}

.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFF;
}

.navbar-default .navbar-toggle.light .icon-bar {
    background-color: #333;
}

.navbar-collapse {
    -webkit-transition: all .3s ease !important;
    transition: all .3s ease !important;
}

.navbar-brand > img {
    height: 100px;
    margin-top: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.navbar-brand > img.logo-default {
    margin-top: -120px;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    position: absolute;
    -webkit-transition: margin-top .3s ease, opacity .1s ease;
    transition: margin-top .3s ease, opacity .2s ease;
}

.navbar-brand > img.logo-default.visible {
    margin-top: 0;
    z-index: 100;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=1);
}

.navbar-brand > img.logo-default,
.navbar-brand > img.logo-default.visible {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.navbar-brand > img.logo-scrolled {
    height: 53px;
    margin-top: -80px;
    position: absolute;
    z-index: 100;
    -webkit-transition: margin-top .3s ease, opacity .2s ease;
    transition: margin-top .3s ease, opacity .2s ease;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=1);
}

.navbar-brand > img.logo-scrolled.visible {
    margin-top: -3.5px;
}

.navbar-brand > .logo-text {
    color: #1F4D98;
    font-size: 14px;
    margin-left: 80px;
    margin-top: -80px;
    -webkit-transition: margin-top .3s ease, opacity .2s ease;
    transition: margin-top .3s ease, opacity .2s ease;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.navbar-brand > .logo-text.visible {
    margin-top: 0;

    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=1);
}

.navbar-default .navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 30px;
    margin-left: 30px;
    padding: 0;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
    color: #FFF;
}

.navbar-default .navbar-brand {
    color: inherit;
    margin-top: -20px;
    position: relative;
}

.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:hover {
    color: inherit;
}

.navbar.light {
    background: #FFF;
    color: #333;
    height: 51px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2);
}

.navbar.light .navbar-nav > li > a {
    color: #333;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
}

.navbar.light .navbar-nav > li > a:focus,
.navbar.light .navbar-nav > li > a:hover {
    color: #1F4D98;
}

.navbar-toggle {
    border: 0;
    position: absolute;
    right: 0;
    cursor: pointer;
    z-index: 1000;
}

.navbar-toggle:focus,
.navbar-toggle:hover {
    background-color: inherit;
}

section {
    padding: 50px 0 50px 0;
}

main section:last-child {
    /* extra space for brand */
    padding-bottom: 90px;
}

.card {
    background: #F5F5F5;
    border-bottom: 2px solid #EEE;
    border-radius: 2px;
    padding: 20px;
    text-align: center;
    color: #999;
    margin-bottom: 30px;
}

img.portfolio {
    width: 100%;
    height: 200px;
    margin: 20px 0;
    object-position: center;
    object-fit: none;
}

.pdf-link {
    display: inline-block;
    color: #666;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 27px;
}

a:hover .pdf-link {
    text-decoration: underline;

}

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

footer {
    color: #FFF;
    background-color: #22222A;
}

footer section {
    padding: 0 0 30px 0;
}

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

.logo-img-center > img {
    width: 78px;
    height: auto;
    margin-top: -34px;
}

.light-gray {
    background: #F5F5F5;
}

.center-cropped {
    width: 100%;
    height: 220px;
    background: no-repeat center center;
    background-size: contain;
    overflow: hidden;
    margin-bottom: 10px;
}

.center-cropped img {
    min-height: 100%;
    min-width: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}

.container {
    position: relative;
}

.container.simple > p {
    margin-bottom: 30px;
}

.max-height-150 {
    max-height: 150px;
}

/**
 * Swiper
**/

.swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23CCC'%2F%3E%3C%2Fsvg%3E");
    right: -50px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.swiper-button-next:hover {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%231F4D98'%2F%3E%3C%2Fsvg%3E");
    right: -50px;
}

.swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23CCC'%2F%3E%3C%2Fsvg%3E");
    left: -50px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.swiper-button-prev:hover {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%231F4D98'%2F%3E%3C%2Fsvg%3E");
    left: -50px;
}

.swiper-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin: 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    padding: 0 20px;
}

.swiper-slide .desktop-wrapper {
    height: 500px;
}

.swiper-pagination-bullet-active {
    background: #1F4D98;
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0;
    left: 0;
    width: 100%;
}

/** Hide element if no extra pages available **/
.swiper-pagination-bullet-active:first-of-type:last-of-type {
    display: none
}