@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(http://fonts.googleapis.com/css?family=Lato:400,300,700);
html,
body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #444;
    background-color: #fff;
    margin: 0 auto;
    margin-top:50px;
}

a {
    text-decoration: none;
    color: #4a4a4a;
}

a:hover {
    color: #111;
}

img {
    max-width: 100%;
}

p {
    line-height: 160%;
    padding: 0 0 10px 0;
    color: #4a4a4a;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: -1px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #009ECE;
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    border-bottom: 1px solid #009ECE;
    padding-bottom: 8px;
    color: #111;
    text-transform: uppercase;
}

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


/* Layout Elements */

header {
    width: 100%;
    z-index: 9;
    background: #fff;
    min-height: 0px;
    border-bottom: 2px solid #009ECE;
    position: fixed;
    top: 0; 
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 5%;
}

.containercenter {
    max-width: 1200px;
    margin: 0 auto;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}


/* Columns */

.onehalf {
    width: 44%;
    margin: 0 2%;
    padding: 1%;
    float: left;
}

.onethird {
    width: 29.333%;
    padding: 20px 2%;
    float: left;
}

.twothirds {
    width: 60%;
    margin: 20px 1%;
    padding: 0 2%;
    float: left;
}

.twothirds2 {
    width: 60%;
    padding: 0 2%;
    margin-bottom: 30px;
}

.onefourth {
    width: 21%;
    margin: 1%;
    padding: 1%;
    float: left;
}

.threefourths {
    width: 73%;
    margin: 1%;
    float: left;
}

.container ul {
    line-height: 160%;
}

.container li {
    margin-bottom: 10px;
}


/* Positioning */

.left {
    float: left;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.right {
    text-align: right;
    margin-top: -20px;
}


/* Buttons */

.btn {
    display: inline-block;
    padding: 10px 15px;
    background: #FF9E00;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', Sans-Serif;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
    text-align: center;
}

.btn:hover {
    background-color: #111;
}


/* Typography */

.bold {
    font-weight: 700;
}

.light {
    font-weight: 300;
}

.center {
    text-align: center;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: #000;
    background: #369a37;
    width: 100%;
    padding: 8px 0;
    text-align: center;
}

.smaller {
    font-size: 0.8em;
}


/* Parallax Section */

.parallax {
    background: url('../img/bg.jpg') no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    padding: 40px 0;
}

.parallax h1 {
    color: #FF9E00;
    font-size: 2.5em;
    margin-top: 50px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 130%;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 0 #0F0F0F;
}

.parallax p {
    font-size: 18px;
    margin-top: 20px;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #fff;
}

#owl-demo .item {
    display: block;
    cursor: pointer;
    margin: 5px;
    color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}


/* Form */

form {
    margin: 0 auto;
    max-width: 100%;
}

input,
textarea,
file {
    width: 80%;
    height: 10px;
    background-color: #dedede;
    padding: 20px;
    margin: 5px 0;
    font-size: 0.9em;
    color: #111;
    font-family: 'Lato', sans-serif;
    max-width: 90%;
    border: none;
}


.first {
    margin: 0 0 5px 0;
}

textarea {
    height: 80px;
    background-color: #dedede;
    font-family: 'Lato', sans-serif;
}

form .radio{
		width: 5%;
		box-shadow: none;
		height:15px;

		}
form .checkbox{
		width: 5%;
		box-shadow: none;
		height:15px;

		}
form select{
    width: 87%;
    background-color: #dedede;
    padding: 17px;
    margin: 5px 0;
    font-size: 0.9em;
    color: #111;
    font-family: 'Lato', sans-serif;
    max-width: 90%;
    border: none;
}

#submit {
    display: inline-block;
    padding: 12px 10px 30px 10px;
    width: 130px;
    margin-top: .9em;
    margin-bottom: 20px;
    background-color: #FF9E00;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    border: none;
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

#submit:hover {
    color: #fff;
    background-color: #111;
}


/*Navigation*/

.header a {
    color: #000;
}

.headerNavButton {
    float: right;
    display: inline-block;
    height: 100%;
    position: absolute;
    right: 1em;
    top: 0;
    font-family: 'Lato', sans-serif;
}

.headerNavButton a {
    text-decoration: none;
    color: #111;
    margin-left: 0.5em;
    line-height: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#hamburger-icon {
    position: relative;
    top: 9%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-65%);
}

#hamburgerMenu {
    position: relative;
    top: 8%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#hamburger-icon {
    width: 25px;
    height: 12px;
    position: relative;
    display: block;
    /*margin: 25px auto 12px auto;*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#hamburger-icon .line {
    display: block;
    background: #111;
    width: 25px;
    height: 2px;
    position: absolute;
    left: 0;
    border-radius: 4px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

#hamburger-icon .line.line-1 {
    top: 0;
}

#hamburger-icon .line.line-2 {
    top: 50%;
}

#hamburger-icon .line.line-3 {
    top: 100%;
}

#hamburger-icon:hover .line-1,
#hamburger-icon:focus .line-1 {
    transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
}

#hamburger-icon:hover .line-3,
#hamburger-icon:focus .line-3 {
    transform: translateY(4px);
    -webkit-transform: translateY(4px);
    -moz-transform: translateY(4px);
}

#hamburger-icon.active .line-1 {
    transform: translateY(6px) translateX(0) rotate(45deg);
    -webkit-transform: translateY(6px) translateX(0) rotate(45deg);
    -moz-transform: translateY(6px) translateX(0) rotate(45deg);
}

#hamburger-icon.active .line-2 {
    opacity: 0;
}

#hamburger-icon.active .line-3 {
    transform: translateY(-6px) translateX(0) rotate(-45deg);
    -webkit-transform: translateY(-6px) translateX(0) rotate(-45deg);
    -moz-transform: translateY(-6px) translateX(0) rotate(-45deg);
}

.headerNav {
    display: none;
    font-family: 'Lato', sans-serif;
}

.headerNav.active {
    display: block;
}

.headerNav a {
    text-decoration: none;
    color: #fff;
    width: 100%;
    display: block;
    padding: 1em 0;
    font-weight: 400;
}

.headerNav ul {
    list-style: none;
}

.headerNav>ul {
    margin: 0;
    padding: 0;
}

.headerNav ul li {
    padding-right: 20px;
}

.headerNav ul li ul li {
    border-right: none;
}

#apply {
    background: #fff;
    border: 1px solid #369a37;
    margin-left: 35%;
}

.aboutLinks a {
    color: blue;
}

.aboutLinks a:hover {
    color: blue;
    text-decoration: underline;
}

.logo {
    float:left;
}

.feature {
    margin-bottom: 20px;
}

/* Footer */

.footer {
    max-width: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 0.8em;
    background-color: #2a2a2a;
    letter-spacing: 1px;
    text-align: left;
    color: #aaa;
    padding: 5px;
}

.footer a {
    color: #fff;
    font-weight: 400;
}

.footer a:hover {
    color: #dedede;
}


/*Social Links */

.facebook {
    padding: 0 5px;
    font-size: 1.5em;
}

.facebook:hover {
    color: #3b5998;
}

.twitter {
    padding: 0 5px;
    font-size: 1.5em;
}

.twitter:hover {
    color: #00aced;
}

.instagram {
    padding: 0px 5px;
    font-size: 1.5em;
}

.instagram:hover {
    color: #517fa4;
}

.mail {
    padding: 0 5px;
    font-size: 1.5em;
}

.mail:hover {
    color: #087845;
}


/* Back to Top */

.cd-top {
    display: inline-block;
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 30px;
    right: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(255, 158, 0, 0.9) url(../img/top-arrow.png) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
    z-index: 1;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-fade-out {
    opacity: .7;
}

.cd-top:hover {
    background-color: #111;
    opacity: 1;
}


/* Slider Styles */

.flexslider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: none;
    z-index: 1;
}

.flexslider li {
    position: relative;
}

.flexslider li .meta {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    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;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    font-family: 'Montserrat', sans-serif;
}

.flexslider li h1 {
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 18px 12px;
    margin-bottom: 0;
    letter-spacing: 1px;
    font-size: 1.8em;
    font-weight: 400;
}

.flexslider li h2 {
    background: rgba(0, 0, 0, 0.8);
    padding: 13px 18px 11px;
    font-size: 1.2em;
    margin-bottom: 0;
    font-weight: 400;
    text-transform: none;
}

.flexslider li h1,
.flexslider li h2,
.flexslider li .category p,
.flexslider li .category span {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}

.flexslider li.flex-active-slide .meta h1,
.flexslider li.flex-active-slide .meta h2,
.flexslider li.flex-active-slide .meta .category p,
.flexslider li.flex-active-slide .meta .category span {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.flexslider li.flex-active-slide .meta h2 {
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}

.flexslider li.flex-active-slide .meta .category p {
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
}

.flexslider li.flex-active-slide .meta .category span {
    -webkit-animation-delay: .8s;
    animation-delay: .8s;
}

.flex-direction-nav {
    position: absolute;
    top: 50px;
    left: 30px;
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 30px;
    height: 30px;
    background-color: #333;
    margin: -20px 0 0;
    position: absolute;
    top: 50px;
    z-index: 10;
    overflow: hidden;
    opacity: 1;
    cursor: pointer;
    color: #fff;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.flex-direction-nav .flex-prev {
    text-align: left;
    left: -10px;
}

.flex-direction-nav .flex-next {
    text-align: right;
    left: 30px;
}

.flexslider:hover .flex-prev {
    left: -10px;
    opacity: 1;
}

.flexslider:hover .flex-next {
    left: 30px;
    opacity: 1;
}

.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
    opacity: 0.8;
}

.flex-direction-nav a:before {
    font-family: FontAwesome;
    content: '\f104';
    font-size: 25px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    top: 1px;
    padding: 2px;
}

.flex-direction-nav a.flex-next:before {
    content: '\f105';
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes fadeOutLeft {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes fadeOutLeft {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}


/* Media Queries */

@media only screen and (max-width: 900px) {
    .headerNav {
        position: absolute;
        right: 16px;
        width: 80%;
        z-index: 1337;
        padding: 0 2em;
        border-bottom: solid 2px #333;
        background-color: #111;
        min-height: 620px;
    }
    .headerNav a {
        border-top: solid 1px #444;
        color: #fff;
        font-weight: 300;
        background-color: #111;
    }
    .headerNav a:hover {
        color: #999;
    }
    .headerNav ul li ul li a {
        border-top: solid 1px #333;
    }
}

@media only screen and (max-width: 1200px) {
    .headerNav {
        padding-top: 30px;
        height: 50px;
    }
}

@media only screen and (min-width: 900px) {
    .headerNavButton {
        display: none;
    }
    .headerNav {
        display: block;
       margin-top: 10px; 
        height: 50px;
    }
    .headerNav .subnav {
        display: none;
    }
    .headerNav>a {
        text-align: center;
        font-weight: 300;
        padding: 0;
        color: #009ECE;
        font-size: 1.2em;
    }
    .headerNav>ul {
        float: right;
    }
    .headerNav>ul>li {
        display: inline-block;
        font-size: 1em;
    }
    .headerNav ul li a {
        padding: 0.1em 1px;
        color: #009ECE;
        font-weight: 700;
    }
    .headerNav>ul>li:hover>a {
        color: #333;
    }
    .headerNav>ul>li:last-child >a {
        border-bottom: none;
    }
    .headerNav ul li:hover ul {
        display: block;
        position: absolute;
        z-index: 1337;
        background-color: rgba(0, 0, 0, .8);
        padding: 0;
        margin-left: -5px;
    }
    .headerNav ul li ul li {
        display: block;
        margin: 0 1em;
    }
    .headerNav ul li ul li a {
        padding: 1em 0;
        color: #fff;
        font-size: 0.9em;
    }
    .headerNav ul li ul li a:hover {
        color: #ccc;
    }
}

@media only screen and (max-width: 900px) {
    .onefourth {
        width: 45%;
        max-width: 50%;
    }
    #apply {
        margin-left: 0;
    }
    .onethird {
        width: 100%;
        max-width: 100%;
    }
    .twothirds {
        width: 100%;
    }
    .meta {
        font-size: 0.7em;
    }
    .onehalf {
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 650px) {
    .onefourth {
        width: 100%;
        max-width: 100%;
    }
    .flexslider {
        display: none;
    }
    .onethird {
        margin-top: 50px;
    }
}

@media only screen and (max-width: 480px) {
    .right {
        margin-top: 20px;
    }
}