/* Theme */

:root {
    --color-lightest: #DCE5EA;
    --color-light: #91B7E5;
    --color-normal: #1D5291;
    --color-dark: #1D5291;
    --color-darkest: #173961;
	--color-pop: #EF7E22;
	--color-pop-lt: #FF9648;
	--gradient: linear-gradient(20deg, rgba(214,114,27,1) 0%, rgba(13,76,164,1) 77%);
}

/* Layout */

html {
    overflow-x: hidden;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
}

#wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
}

header,
#hero,
main,
footer {
    display: block;
    position: relative;
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: var(--color-darkest);
}

#brand {
    float: left;
    width: 70px;
    margin: 20px 0;
}

#main-nav {
    position: absolute;
    top: 90px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

@media only screen and (max-width: 576px) {
    #contact-form {
        height: 100vh;
    }
}

main {
    background-color: var(--color-dark);
    margin-top: 88px;
}

#about, #call-me {
	background: url("../img/mountain-background.jpg") no-repeat center center/60px, var(--color-dark);
	background-size: cover;
}

#call-me a {
	color: var(--color-lightest);
}

#call-me a:hover {
	color: var(--color-pop);
}

.page-header {
    text-align: center;
    display: block;
    margin: 0 auto 40px auto;
}

.page-header .line-spacer {
    margin: auto;
}

#media {
    background: url("../img/pin-stripe.svg") center center/60px, var(--color-light);
    color: var(--color-darkest);
    margin-top: 0;
}

footer {
    background-color: var(--color-darkest);
    color: #fff
}

#hero {
    background: url("../img/Cody_Headshot-web-optimized.jpg") 65% center/cover no-repeat, var(--color-dark);
    color: #fff;
    height: calc(100vh - 90px);
    margin-top: 89px;
    text-shadow: 0 2px 3px #1B2B33;
}

@media only screen and (min-width: 768px) {
    #hero {
        background: url("../img/Cody_Headshot-web-optimized.jpg") 68% center/cover no-repeat, var(--color-dark);
    }
}

@media only screen and (min-width: 992px) {
    #hero {
        background: url("../img/Cody_Headshot-web-optimized.jpg") 55% center/cover no-repeat, var(--color-dark);
    }
}

@media only screen and (min-width: 1200px) {
    #hero {
        background: url("../img/Cody_Headshot-web-optimized.jpg") 50% center/cover no-repeat, var(--color-dark);
    }
}

@media only screen and (min-width: 1600px) {
    #hero {
        background: url("../img/Cody_Headshot-web-optimized.jpg") 50% center/cover no-repeat, var(--color-dark);
    }
}

/* Typography */

h1,
h3,
h4 {
    color: #fff;
    font-weight: 900;
    letter-spacing: 1px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-top: 60px;
    margin-bottom: 10px;
}

.ck-logo {
	width: 350px;
	max-width: 55%;
	margin-top: 80px;
}

#hero h1 {
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: normal;
}

#hero h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

#hero p.subheading {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.2em;
	letter-spacing: 0.05em;
	
}

@media only screen and (min-width: 768px) {
    #hero h1 {
        font-size: 4rem;
        margin-bottom: 0;
        line-height: normal;
    }

    #hero h2 {
        font-size: 2rem;
        font-weight: 700;
    }

    #hero p.subheading {
        font-size: 1.5rem;
        margin-bottom: 12px;
        line-height: 1;
    }
}

/*
#hero a {
    color: var(--color-lightest);
}
*/

h3 {
    font-size: 2.5rem;
}

h4 {
    margin-bottom: 24px;
}

p,
a,
address,
span {
    font-weight: 300;
}

p {
    color: #fff;
}

a:hover {
    text-decoration: none;
}

.txt-light {
    font-weight: 300;
}

.txt-normal {
    font-weight: 400;
}

.txt-bold {
    font-weight: 700;
}

.txt-black {
    font-weight: 900;
}

.line-spacer {
    display: block;
    border-bottom: 2px solid #fff;
    width: 35px;
    -webkit-box-shadow: 0 2px 3px #1B2B33;
    box-shadow: 0 2px 3px #1B2B33;
}

.page-header .line-spacer {
    display: block;
    border-bottom: 2px solid #fff;
    width: 35px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.line-spacer-award {
    display: block;
    margin: auto;
    border-bottom: 2px solid #fff;
    width: 35px;
    -webkit-box-shadow: 0 2px 3px #1B2B33;
    box-shadow: 0 2px 3px #1B2B33;
}

@media only screen and (min-width: 576px) {
    .line-spacer-award {
        margin: 0;
    }
}

/* Navigation */

.primary-nav {
    background-color: rgba(27, 43, 51, .9);
    height: calc(100vh - 90px);
    width: auto;
    top: 90px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-nav li a {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 3px #1B2B33;
}


@media only screen and (min-width: 768px) {
    #main-nav {
        display: inline-block;
        visibility: visible;
        position: relative;
        width: 300px;
        top: 0;
        float: right;
    }

    .primary-nav {
        background-color: transparent;
        height: 70px;
    }

    .primary-nav li {
        height: 70px;
    }

    .primary-nav li.active {
        border-bottom: 6px solid var(--color-light);
    }

    .primary-nav li:hover {
        border-bottom: 6px solid var(--color-pop);
    }

    .primary-nav li a {
        font-size: 1em;
        line-height: 70px;
        color: #fff;
        text-shadow: none;
    }
}

/* Lists */

.site-map {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-map li {
    margin-bottom: 20px;
}

.site-map li:nth-child(3) {
    margin-bottom: 0;
}

/* Links */

.social-icons {
    margin-top: 30px;
}

@media only screen and (min-width: 576px) {
    .social-icons {
        margin-top: 0;
    }
}

.social-icons a {
    margin-right: 30px;
    display: inline-block;
}



footer a,
.social-icons a {
    color: var(--color-light);
    font-weight: 400;
	transition: 0.23s ease-in-out color;
}

#hero .social-icons a {
	color: var(--color-pop);
}

#hero .social-icons a:hover {
	color: var(--color-pop-lt);
}

footer a:hover,
footer a:focus,
.social-icons a:hover,
.social-icons a:focus {
    color: var(--color-pop-lt);
    text-decoration: none;
}

/* Buttons */

#hero .btn-lg,
#hero a.btn-lg {
    padding: 5px;
    font-size: 1em;
}

@media only screen and (min-width: 768px) {

    #hero .btn-lg,
    #hero a.btn-lg {
        padding: 10px;
        font-size: 1.25em;
    }
}

a.btn-primary,
.btn-primary {
    background-color: var(--color-darkest);
	color: #fff;
    border: 0px;
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    background-color: var(--color-normal);
    border: 0px;
    text-shadow: none;
    outline: none;
}

a.btn-primary:hover,
a.btn-primary:focus {
    color: #fff !important;
    background-color: var(--color-normal);
    border: 0px;
    text-shadow: none;
    outline: none;
}

/* Forms */

#contact-form {}

form label {
    color: #fff;
}

input.form-control,
textarea.form-control {
    border-radius: 0;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

input.form-control:focus,
textarea.form-control:focus {
    background-color: transparent;
    color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 2px solid #fff;
    outline: none;
}

input.form-control::-webkit-input-placeholder,
textarea.form-control::-webkit-input-placeholder {
    color: #fff;
    background-color: transparent;
}

input.form-control:-ms-input-placeholder,
textarea.form-control:-ms-input-placeholder {
    color: #fff;
    background-color: transparent;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #fff;
    background-color: transparent;
}

form .form-group input {
    background-color: transparent;
    border: 2px solid #fff;
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* media */

.embed-responsive {
    -webkit-box-shadow: 0 2px 3px #1B2B33;
    box-shadow: 0 2px 3px #1B2B33;
}

.video-cover {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: rgba(220, 229, 234, .9);
}

.embed-responsive:hover > .video-cover,
.embed-responsive:focus > .video-cover {
    display: none;
    visibility: hidden;
}

.video-cover-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.video-cover p {
    color: var(--color-darkest);
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 0;
}

/* Bootstrap Class Overrides */

.container {
    padding: 0 30px;
}

.navbar-toggler {
    color: var(--color-lightest);
    margin: 30px 0;
    border: none;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    outline: none;
}

@media only screen and (min-width: 768px) {
    .navbar-toggler {
        display: none;
        visibility: hidden;
    }
}

.invisible {
    display: none !important;
    visibility: hidden !important;

}

/* Utilities */

.visible-xs {
    visibility: visible;
}

@media only screen and (min-width: 576px) {
    .visible-xs {
        visibility: hidden;
        display: none;
    }
}

.visible-sm {
    visibility: visible;
}

@media only screen and (max-width: 576px) {
    .visible-sm {
        visibility: hidden;
        display: none;
    }
}
