﻿body {
    font-size: 1.6rem;
    font-family: "Poppins", sans-serif;
    margin: 0;
}

p {
    color: #555555;
    line-height: 2;
}

.row.is-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.is-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/*
* And with max cross-browser enabled.
* Nobody should ever write this by hand. 
* Use a preprocesser with autoprefixing.
*/
.row.is-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row.is-flex > [class*='col-'] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.row.is-flex.centered {
    justify-content: center;
}

div.navbar {
    background-color: #1c295c;
}

.navbar ul.menu {
    display: block;
    height: 60px;
    padding: 0px;
    margin: 0px;
}

ul.right.menu {
    float: right;
}

ul.left.menu {
    float: left;
}

.navbar ul.menu > li {
    float: left;
    height: 100%;
    list-style-type: none;
    text-align: center;
    padding: 5px 20px;
}

.navbar ul.menu > li > a {
    line-height: 50px;
    font-size: 22px;
    font-weight: 100;
    color: #ffffff;
    text-decoration: none;
}

.brand {
    display: flex;
    margin-left: 25px;
}

.brand .brand-img {
    float: left;
    height: 150px;
    width: 150px;
    padding: 20px;
}

.brand .brand-title {
    float: left;
    align-self: center;
}

.brand .brand-title h1, .brand .brand-title h2, .brand .brand-title h4 {
    margin-top: 0px;
    margin-bottom: 0px;
    text-transform: uppercase;
    color: #1c295c;
}

.brand .brand-title :not(:first-child) {
    margin-top: -5px;
}

.brand .brand-title h1 {
    font-size: 25px;
}

.brand .brand-title h2 {
    font-size: 20px;
}

.brand .brand-title h1, .brand .brand-title h2 {
    font-weight: 700;
}

.brand .brand-title h4 {
    font-weight: 300;
}


div.navbar-2 {
    background-color: #ffffff;
    box-shadow: 0px 0px 15px -4px rgba(0,0,0,0.75);
}

div.navbar-2.inverted {
    background-color: #1c295c;
}

.navbar-2 nav {
    text-align: right;
}

.navbar-2 ul.menu {
    display: inline-block;
    padding: 0px;
    margin: 0px;
}

.navbar-2 ul.menu > li {
    float: left;
    height: 100%;
    list-style-type: none;
    text-align: center;
    padding: 5px 20px;
}

.navbar-2 ul.menu > li > a {
    line-height: 30px;
    font-size: 18px;
    font-weight: 100;
    color: rgb(28, 41, 92);
    text-decoration: none;
}

.navbar-2.inverted ul.menu > li > a {
    color: #ffffff;
}

.brand-wrapper .container {
    position: relative;
}

.brand-2 {
    display: flex;
    margin-left: 25px;
    float: left;
}

.brand-2 .brand-img {
    float: left;
    height: 125px;
    width: 125px;
    padding: 10px;
}

.brand-2 .brand-title {
    float: left;
    align-self: center;
}

.brand-2 .brand-title h1, .brand-2 .brand-title h2, .brand-2 .brand-title h4 {
    margin-top: 0px;
    margin-bottom: 0px;
    color: #1c295c;
}

.brand-2 .brand-title :not(:first-child) {
    margin-top: -5px;
}

.brand-2 .brand-title h1 {
    font-size: 20px;
}

.brand-2 .brand-title h2 {
    font-size: 18px;
}

.brand-2 .brand-title h1, .brand-2 .brand-title h2 {
    font-weight: 900;
    text-transform: uppercase;
}

.brand-2 .brand-title h4 {
    font-size: 16px;
    text-transform: none;
    font-weight: 300;
    margin-top: -3px;
}

.brand-wrapper {
    background-image: url("../Images/background.jpg");
    background-repeat: repeat-x;
    background-size: contain;
}

ul.social-media {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0px;
    list-style-type: none;
}

ul.social-media > li {
    float: left;
    height: 100%;
    list-style-type: none;
    text-align: center;
    padding: 5px 20px;
}

ul.social-media > li > a {
    font-size: 35px;
    text-decoration: none;
}



.banner {
    position: relative;
}

.banner.top {
    height: 700px;
    background-image: url("../Images/banner.jpg");
}

.parallax { 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner .inner {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(256, 256, 256, .5);
    color: #1c295c;
    text-align: center;
}

.banner .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #1c295c;
    opacity: .3;
    /*background: rgba(58, 44, 53, .6)*/
}

/*.resource-wrapper {
    padding: 40px;
    text-align: center;
}

.resource-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 55px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 55px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 55px 0px rgba(0,0,0,0.75);
}

.resource-wrapper p {
    font-weight: 900;
}*/

/*.resource-section {
    background: linear-gradient(to right, rgb(248, 156, 39), rgb(144, 91, 23));
}*/

.resource-section {
    background-color: rgb(220, 139, 35);
}

.resources.row .resource-wrapper, .resources.row .resource-wrapper p {
    border-color: #ffffff;
    color: #ffffff;
}

.resources.row .resource-link.disabled .resource-wrapper, .resources.row .resource-link.disabled .resource-wrapper p {
    border-color: #aaaaaaaa;
    color: #aaaaaaaa;
}

.resources.row .resource-wrapper .details {
    min-height: 170px;
}

.resources.row a.resource-link {
    text-decoration: none;
}

/*.resources.row > div:nth-child(1) .resource-wrapper, .resources.row > div:nth-child(1) .resource-wrapper p {
    border-color: #1d2a5e;
    color: #1d2a5e;
}

.resources.row > div:nth-child(2) .resource-wrapper, .resources.row > div:nth-child(2) .resource-wrapper p {
    border-color: #9a0101;
    color: #9a0101;
}

.resources.row > div:nth-child(3) .resource-wrapper, .resources.row > div:nth-child(3) .resource-wrapper p {
    border-color: #000000;
    color: #000000;
}*/

.resource-wrapper {
    padding: 25px;
    margin: 10px;
    height: 100%;
    text-align: center;
    border-width: 1px;
    border-radius: 10px;
    border-style: solid;
}

        
.resource-wrapper img {
    width: 50%;
    height: auto;
    /*
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 55px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 55px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 55px 0px rgba(0,0,0,0.75);
    */
}
       

.resource-wrapper h3 {
    text-transform: uppercase;
}

.resource-wrapper p, .resource-wrapper h3 {
    font-weight: 300;
}

div.section-header {
    text-align: center;
}

h1.section-title {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

h1.section-title:after {
    content: "";
    display: block;
    background: #f89c27;
    width: 60%;
    margin: 0 auto;
    height: 5px;
    margin-top: 10px;
}

footer .site-info {
    text-align: center;
    padding: 15px 0px;
    background-color: #1c295c;
    color: #ffffff;
}

footer .site-info a, footer .site-info a:active, footer .site-info a:focus {
    color: #ffffff;
    text-decoration: none;
}

footer .site-info > div {
    display: inline-block;
}

.ribbon-wrapper {
	width: 210px;
	height: 210px;
	overflow: hidden;
	position: absolute;
	top: -5px;
	left: -5px;
    z-index: 1000;
}

.ribbon-wrapper:after {
    content: "";
	display: block;
	width: 10px;
	height: 5px;
	background-color: #a12121;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}

.ribbon-wrapper:before {
    content: "";
	display: block;
	height: 10px;
	width: 5px;
	background-color: #a12121;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
}

.ribbon {
	width: 350px;
	padding: 10px;
	background-color: #db4343;
	color: #fff;
	text-align: center;
	transform: rotate(-45deg) translate(-28%, -35%);
	box-shadow: 0px 2px 5px rgba(0,0,0,0.4);
	text-transform: uppercase;
	text-shadow: 0 2px 2px rgba(0,0,0,0.4);
    font-size: 20px;
}