/*
Theme Name: IPAC19
Author: Javan Eskander
Text Domain: ipac19
*/

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html, body {
    height: 100%;
    font-size: 11pt;
}

body {
    background-color: white;
    display: flex;
    flex-direction: column;
    font-family: 'Libre Franklin', sans-serif;
}

header {
	background-image: url('navbar-cropped.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (max-width: 991px) {
    header {
        background-size: auto 100vh;
        background-position: top;
    }
}

header nav {
	background-color: rgba(255, 255, 255, 0.8);
}

header nav .navbar-brand img {
    height: 100px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Fjalla One', sans-serif;
}

.body {
    margin-top: 15px;
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    background-color: #222;
    color: white;
    padding: 15px 0;
    font-weight: 300;
}

.footer p:last-child {
    margin-bottom: 0;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5 {
    color: white;
}

.cover-image {
    position: relative;
    width: 100%;
    min-height: 65vh;
    height: 65vh;
    color: white;
    background-size: cover;
    background-repeat: no-repeat;
}

.cover-image .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
    font-size: 25px;
}

.cover-image .container {
    padding: 20px 15px;
}

.cover-image .container h1 {
    font-size: 50px;
}

.carousel, .carousel-inner, .carousel-item {
	height: 100%;
}

.carousel-item {
	background-size: cover;
	background-position: center;
}

nav li {
    font-family: 'Fjalla One', sans-serif;
    font-size: 20px;
}

.dropdown-menu {
    margin: 0;
    background-color: #fdfeff;
    /*border: 1px solid #dbddde;*/
    border: none;
    box-shadow: 0 4px 10px rgba(80, 80, 80, 0.7);
}

.dropdown-item.active, .dropdown-item:active {
    /*background-color: #1831a3;*/
    background-color: #222;
}

.btn {
    border-radius: 2px;
}

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

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

p {
    line-height: 24px;
}

a {
    color: #52c2c8;
}

h1.header {
    padding-left: 10px;
}

.dropdown-menu-subitem::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255rem;
    vertical-align: .255rem;
    content: "";
    border-left: .3em solid;
    border-right: 0;
    border-top: .3em solid transparent;
    border-bottom: .3em solid transparent;
    position: absolute;
    right: 1.5rem;
    top: .75rem;
}

@media (max-width: 991px) {
    .dropdown-menu-subitem::after {
        border-top: .3em solid;
        border-bottom: 0;
        border-left: .3em solid transparent;
        border-right: .3em solid transparent;
    }
}

.navbar-nav li ul li ul {
    position: absolute;
    top: -8px;
    left: 100%;
}

.navbar-nav .submenu-open {
    background-color: #333;
    color: #FFF;
    text-decoration: none;
}
