@import "https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900|Roboto+Mono:100,400|Caveat";
@import url(../ionicons.min.css);
@import url(../font-awesome.min.css);
@import url(../animate.min.css);

:root {
    --ive-primary: #022179;
    --ive-secondary: #3772bf;
    --ive-tertiary: #f7f7f7;
    --ive-dark: #000000;
    --ive-light: #ffffff;
    --ive-twilight: #d3d2d2;
}

/* Base structure */
html {
    width: 100% !important;
    height: 100% !important;
}

body {
    width: 100% !important;
    height: 100% !important;
    font: normal 15px/1.8 Raleway, sans-serif;
    letter-spacing: 0.03em;
    color: var(--ive-dark);
    background-color: var(--ive-light);
    -webkit-font-smoothing: antialiased;
}

h1,
h3,
h4,
h5,
h6 {
    margin: 0 0 35px;
    letter-spacing: 0.1em;
    line-height: 1.7;
    font-weight: 800;
}

h1,
h3,
h4,
h6 {
    text-transform: uppercase;
}

h4,
h5,
h6 {
    font-weight: 700;
}

.no-transform {
    text-transform: none;
}

p {
    margin: 0 0 35px;
}

a {
    text-decoration: none;
    color: var(--ive-dark);
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

a img {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

img {
    -webkit-filter: blur(0);
    filter: blur(0);
}

a,
img,
:focus,
input {
    outline: none !important;
}

a:hover,
a:focus {
    text-decoration: none;
}

a img:hover {
    opacity: .85;
}

section {
    position: relative;
    z-index: 992;
    padding-top: 140px;
    padding-bottom: 140px;
    background-color: var(--ive-light);
}

.no-pad {
    padding: 0 !important;
    margin: 0 !important;
}

.no-pad-btm {
    padding-bottom: 0 !important;
}

.overlay {
    background: rgba(7, 9, 21, 0.7);
}

.overlay-white {
    background: rgba(255, 255, 255, 0.8);
}

.overlay,
.overlay-white {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

.section-small {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.list-inline>li {
    padding-bottom: 10px;
    vertical-align: bottom;
}

.label,
.btn,
input,
textarea {
    border-radius: 0 !important;
}

.label {
    padding: 0.2em 0.7em 0.3em 0.7em;
}

.nav .label {
    padding: 0.4em 0.7em 0.3em 0.7em;
}

a .fa,
a .icon {
    text-decoration: none;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.icon-big {
    font-size: 80px;
    line-height: 120px;
    display: block;
}

::-moz-selection,
::selection {
    color: var(--ive-light);
    background: var(--ive-dark);
}

ul,
ol {
    margin-bottom: 1.5em;
}

/* IVE */
.text-ive {
    color: var(--ive-primary);
    font-weight: bold;
}

a.text-ive:hover,
a.text-ive:focus {
    color: var(--ive-primary);
    opacity: 0.65 !important;
}

.btn-ive {
    border: 2px solid var(--ive-primary);
    background-color: var(--ive-primary);
    color: var(--ive-light); !important;
    font-size: 12px !important;
    letter-spacing: 2px;
    outline: 0;
    text-transform: uppercase;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-shadow: none;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px 6px 15px;
}

.btn-ive:hover {
    opacity: 0.65;
}

/* NavBar */
.navbar-ive {
    margin-bottom: 0;
    border-bottom: transparent;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.9);
    -webkit-transition: all .8s ease;
    -moz-transition: all .8s ease;
    transition: all .8s ease;
}

.navbar-ive .navbar-brand {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: none;
    padding: 17px 5px 12px 15px;
}

.navbar-ive img {
    display: inline-block;
}

.navbar-ive.top-nav-collapse {
    background-color: var(--ive-light);
    border-bottom: 1px solid var(--ive-twilight);
}

.navbar-ive.top-nav-collapse a {
    color: var(--ive-dark);
}

.navbar-ive.top-nav-collapse .navbar-brand {
    font-size: 22px;
    padding-top: 16px;
}

.navbar-fixed-top .container {
    width: auto;
}

@media (min-width: 1200px) {
    .top-nav-collapse .container {
        width: 1170px !important;
    }
}

.navbar-ive .navbar-brand .logo {
    max-height: 40px;
    display: inline-block;
}

.navbar-ive .navbar-brand .logo-dark {
    display: none;
}

.navbar-ive.top-nav-collapse .navbar-brand .logo-dark {
    display: inline-block;
}

.navbar-ive .navbar-brand .logo {
    display: inline-block;
}

.navbar-ive.top-nav-collapse .navbar-brand .logo {
    display: none;
}

.navbar-ive.top-nav-collapse .navbar-brand .logo-dark {
    max-width: 110px;
    max-height: 80px;
}

.navbar-ive .navbar-brand i {
    vertical-align: middle;
}

.navbar-ive .navbar-brand:focus {
    outline: 0;
}

.navbar-ive .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: var(--ive-light);
}

.navbar-ive .navbar-brand .navbar-toggle:focus,
.navbar-ive .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.nav>li>a {
    padding: 21px 13px 15px;
}

.navbar-ive a {
    color: var(--ive-light);
    font-family: "Raleway", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar-ive .nav li a {
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.navbar-ive .nav li a:hover {
    outline: 0;
    opacity: 0.65;
    background-color: transparent;
}

.navbar-ive .nav li a:focus,
.navbar-ive .nav li a:active {
    outline: 0;
    background-color: transparent;
}

.navbar-ive .nav li.active {
    outline: 0;
    background-color: transparent !important;
}

.navbar-ive .nav>li.active:not(.dropdown)>a {
    color: var(--ive-primary) !important;
}

.navbar-ive .nav>li.active:not(.dropdown)>a:hover {
    color: var(--ive-primary);
}

.navbar-ive .nav>.dropdown>ul>li>a {
    background-color: transparent;
    color: var(--ive-dark);
}

.navbar-ive .nav>.dropdown>ul>li:hover>a {
    background-color: var(--ive-primary);
    color: var(--ive-light);
}

.navbar-toggle {
    padding: 10px 0;
}

.navbar-toggle .icon-bar {
    width: 30px;
    border-radius: 0;
    background: var(--ive-light);
}

.nav .active {
    height: auto !important;
}

.navbar-nav ul .caret {
    position: absolute;
    right: 0;
    margin-top: 6px;
    margin-right: 15px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px dashed;
}

.navbar-ive .dropdown-menu {
    display: none;
}

.navbar-ive .dropdown:hover .dropdown-menu {
    display: block;
}

@media (min-width: 991px) {
    .navbar-ive {
        padding: 30px;
        border-bottom: 0;
        letter-spacing: 1px;
        background: 0 0;
        background: transparent;
    }

    @-webkit-keyframes fadeInUniversal {
        0% {
            opacity: 0;
            transform: translate(0, -40px);
        }

        100% {
            opacity: 1;
            transform: translate(0, 0);
        }
    }

    @keyframes fadeInUniversal {
        0% {
            opacity: 0;
            transform: translate(0, -40px);
        }

        100% {
            opacity: 1;
            transform: translate(0, 0);
        }
    }

    .navbar-fixed-top .caret {
        display: none;
    }

    .angle-right:after {
        float: right;
        font-family: 'fontawesome';
        content: "\f105";
        color: inherit;
        position: absolute;
        right: 20px;
    }
}

@media (max-width: 990px) {
    p.empty {
        display: none;
    }

    .nav a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        color: var(--ive-dark) !important;
    }

    .nav a:focus {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .navbar-header {
        float: none;
    }

    .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .top-nav-collapse .navbar-toggle .icon-bar {
        background: var(--ive-primary);
    }

    .navbar-toggle:hover .icon-bar {
        opacity: 0.65;
    }

    .navbar-collapse {
        background-color: var(--ive-twilight) !important;
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7px;
    }

    .navbar-nav>li {
        float: none;
    }

    .navbar-nav>li>a {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .collapse.in {
        display: block !important;
    }

    .navbar-collapse.in {
        overflow-y: auto !important;
    }
}

.navbar-fixed-top .navbar-collapse {
    max-height: 400px;
}

/* Backgrounds and font color */
.section-contact {
    background-color: var(--ive-tertiary);
}

@media (max-width: 991px) {
    .section-contact {
        text-align: center;
    }
}

.contact-logo {
    max-height: 60px;
}

.section-services,
.section-subscribe {
    color: var(--ive-light); !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.section-services {
    background: url(../../img/banner/services.jpg);
}

.section-subscribe {
    background: url(../../img/banner/email.jpg);
    color: var(--ive-dark) !important;
    text-shadow: none;
}

.section-services,
.section-subscribe {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

.section-services a,
.section-subscribe a {
    color: var(--ive-dark) !important;
}

.section-services a:hover,
.section-subscribe a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* banner */
.banner {
    display: table;
    text-align: center;
    width: 100%;
    color: var(--ive-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100% !important;
    z-index: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

.banner .banner-body {
    display: table-cell;
    vertical-align: middle;
    padding: 150px 0 50px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.banner-body:before {
    background: rgba(7, 9, 21, 0.5);
    content: "";
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -9;
}

.banner h1 {
    font-size: 60px;
    font-weight: 900;
    line-height: 80px;
}

@media (min-width: 768px) {
    .banner {
        padding: 0;
    }
}

/* Forms */
.form-control {
    border: 1px solid var(--ive-twilight);
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .3s, -webkit-box-shadow ease-in-out .3s;
    transition: border-color ease-in-out .3s, box-shadow ease-in-out .3s;
}

.form-control:focus {
    border-color: var(--ive-primary);
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.input-group-btn:last-child>.btn,
.input-group-btn:last-child>.btn-group {
    margin-left: 0;
}

/* Map */
#map,
#mapdark {
    width: 100%;
    height: 430px;
    border-top: 1px solid var(--ive-twilight);
    border-bottom: 1px solid var(--ive-twilight);
}

#mapdark {
    border: 0 !important;
}

.mapsmall {
    margin-bottom: 30px;
    border: 0 !important;
}

/* Media Queries */
@media (max-width: 768px) {
    body {
        letter-spacing: 0;
    }

    .h4,
    h4 {
        font-size: 16px;
    }

    .h2,
    h2 {
        font-size: 24px;
    }

    .h3,
    h3 {
        font-size: 20px;
    }

    .banner h1 {
        font-size: 48px;
        line-height: 48px;
    }

    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-small {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 991px) {
    .footer .text-right {
        text-align: left;
    }

    section {
        background-attachment: scroll !important;
        background-position: 50% 50% !important;
    }

    .nav li a {
        -webkit-transition: all .0s ease-in-out !important;
        -moz-transition: all .0s ease-in-out !important;
        transition: all .0s ease-in-out !important;
    }
}

@media (max-width: 1200px) {
    .section-about {
        text-align: center;
    }
}

/* Footer */
.footer {
    color: var(--ive-dark);
    font-size: 14px;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    text-decoration: none;
}

/* preloader */
.preloader {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: var(--ive-light);
    z-index: 99999;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.preloader-inner {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999999999;
    background: transparent;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.loader {
    box-sizing: border-box;
    display: inline-block;
    width: 50px;
    height: 80px;
    border-top: 5px solid var(--ive-secondary);
    border-bottom: 5px solid var(--ive-secondary);
    position: relative;
    background: linear-gradient(var(--ive-primary) 30px, transparent 0) no-repeat;
    background-size: 2px 40px;
    background-position: 50% 0px;
    animation: spinx 5s linear infinite;
}

.loader:before,
.loader:after {
    content: "";
    width: 40px;
    left: 50%;
    height: 35px;
    position: absolute;
    top: 0;
    transform: translatex(-50%);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 0 20px 20px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: 0 0px;
    animation: lqt 5s linear infinite;
}

.loader:after {
    top: auto;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    animation: lqb 5s linear infinite;
}

@keyframes lqt {
    0%,
    100% {
        background-image: linear-gradient(var(--ive-primary) 40px, transparent 0);
        background-position: 0% 0px;
    }

    50% {
        background-image: linear-gradient(var(--ive-primary) 40px, transparent 0);
        background-position: 0% 40px;
    }

    50.1% {
        background-image: linear-gradient(var(--ive-primary) 40px, transparent 0);
        background-position: 0% -40px;
    }
}

@keyframes lqb {
    0% {
        background-image: linear-gradient(var(--ive-primary) 40px, transparent 0);
        background-position: 0 40px;
    }

    100% {
        background-image: linear-gradient(var(--ive-primary) 40px, transparent 0);
        background-position: 0 -40px;
    }
}

@keyframes spinx {
    0%,
    49% {
        transform: rotate(0deg);
        background-position: 50% 36px;
    }

    51%,
    98% {
        transform: rotate(180deg);
        background-position: 50% 4px;
    }

    100% {
        transform: rotate(360deg);
        background-position: 50% 36px;
    }
}