/*
Theme Name: Matt Johnson
Version: 1.0
Text Domain: mattjohnson
*/

body {
    margin: 0;
    padding: 0;
    font-size: 12pt;
    font-family: 'Open Sans', 'Georgia', 'Source Sans Pro', sans-serif;
}

a, a:hover {
    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;
	color:#008747;
}

.footer a.copyright, .footer a.copyright:hover{
	color:#ddd;
}

h3 {
    font-size: 2em;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
}

h3:after {
    left: 50%;
    bottom: -5px;
    height: 2px;
    width: 50px;
    content: ' ';
    display: block;
    position: absolute;
    background-color: #000;
    transform: translate(-50%, 0);
}

p.sub-header {
    color: #666666;
    font-size: 1.33em;
}

.margin-top-1x { margin-top: 1em; }
.margin-top-2x { margin-top: 2em; }
.margin-top-3x { margin-top: 3em; }
.margin-top-4x { margin-top: 4em; }
.margin-top-5x { margin-top: 5em; }

.margin-bottom-1x { margin-bottom: 1em; }
.margin-bottom-2x { margin-bottom: 2em; }
.margin-bottom-3x { margin-bottom: 3em; }
.margin-bottom-4x { margin-bottom: 4em; }
.margin-bottom-5x { margin-bottom: 5em; }

.header {
    width: 100%;
    height: 100vh;
    position: relative;
    background: white url('images/chilling-regan-bail-vancouver-wa-1200x750.jpg') bottom no-repeat;
    background-size: cover;
}

.header-center {
    top: 50%;
    left: 50%;
    z-index: 100;
    position: absolute;
    text-align: center;
    transform: translate(-50%, -50%);
}

.header-center h1,
.header-center h2,
.header-center{
    color: #fff;
}

.header-center h1 {
    font-size: 2.75em;
    font-weight: 700;
    text-transform: uppercase;
}

.header-center h2 {
    font-weight: 300;
}

#YT_audio{
	position: absolute;
	right: 30px;
	top: 30px;
	font-size: 20px;
	color:#FFF;
	z-index: 100000;
	display:none;
	cursor: pointer;
}

.navbar-light #YT_audio{
	color:	rgba(0,0,0,.7);
}

#YT_audio.ready{
	display: block;
}

a .fa-volume-up, a.active .fa-volume-off{
	display:none;
}

a.active .fa-volume-up, a .fa-volume-off{
	display:block;
}	

.main-logo{
	width: 150px;
    margin-top: 15px;
}

.sticky{
	display: none;	
}

.navbar-light .no-sticky{
	display: none;
}

.navbar-light .sticky{
	display: block;
}

.brand-contact-number {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 100;
    color: #FFF;
    font-size: 18px;
	font-family: Roboto;
	font-weight: 300;
}

#navbarSupportedContent{
		margin-bottom: 29px;
}

.navbar-light .brand-contact-number {
	color:	rgba(0,0,0,.7);
}

.brand-contact-number span{
	padding: 0 10px;
}

.overlay {
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
}
#nav-header > .container{
	position: relative;
}

.navbar .menu {
    top: 2em;
    z-index: 100;
    position: relative;
}

.navbar .menu ul {
    display: inline;
    list-style: none;
	font-family: Roboto;
}

.navbar .menu ul > li {
    display: inline-block;
}

.navbar .menu ul > li > a {
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 400;
    padding: 1em 1em;
    display: inline-block;
    text-transform: uppercase;
}

.navbar .menu ul > li > a:hover {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.container-background {
    z-index: 80;
    padding: 5em 3em;
    position: relative;
    background: url('https://images.unsplash.com/photo-1440558547120-1c1cae0397a1') center no-repeat;
    background-size: cover;
}

.container-background h3:after {
    display: none;
}

.container-background > .container {
    color: #fff;
    z-index: 100;
    position: relative;
}

.container-background > .container .sub-header {
    color: #fff;
}

.container-background.container-background-video {
    padding: 2em 3em;
    text-align: center;
}

.container-background.container-background-video iframe {
    width: 100%;
    height: auto;
    max-width: 980px;
    min-height: 350px;
}

.team-members .col > .team-member-image {
    padding: 2em;
    position: relative;
    min-height: 250px;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.team-members .col h3,
.team-members .col .overlay {
    transition: all 0.25s;
    opacity: 0;
}

.team-members .col h3 {
    color: #fff;
    font-size: 1.25em;
    z-index: 1100 !important;
}

.team-members .col h3:after {
    display: none;
}

.team-members .col > .team-member-image:hover h3,
.team-members .col > .team-member-image:hover h4,
.team-members .col > .team-member-image:hover .overlay {
    opacity: 1;
}

.footer {
    color: #fff;
    padding: 3em 0;
    background-color: #1c1c1c;
}

.footer h5 {
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
	margin-top:30px;
}

.footer .social-media a:hover {
    text-decoration: none;
}

.footer a i.fa {
    font-size: 1.5em;
    margin-right: 0.5em;
	color:#fff;
}

.footer .social-media a:last-child i {
    margin-right: 0;
}

.fa.fa-bars {
    display: none;
}

/**
 * Page
 */

h2.team{
	    margin-top: 0px;
} 

h3.team{
	    margin-bottom: 35px;
}

h3.team:after{
	left: 30px;
    bottom: -15px;
}

.agents > .row > .text-center{
	text-align:left!important;
}

/**
 * Service (From old themes)
 */
.service {
    margin-bottom: 40px;
    padding: 30px;
    text-align: center;
    border: 1px solid transparent;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

.service:hover {
    border-color: #eee;
    -webkit-box-shadow: 0 10px 10px -5px rgba(0,0,0,0.1);
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.1);
}

.service h4{
    font-family: Raleway;
    font-weight: normal;
    font-style: normal;
    color: #444;
    font-size: 21px;
	min-height: 100px;
}

.service ul li {
    text-align: left;
    list-style: initial;
}

.service .service-title .title {
    height: 80px;
    width: 80px;
    margin: 0 auto;
    color: #fff;
    font-size: 1.5em;
    border-radius: 6px;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

.service .service-title .title .fa{
	font-size: 30px;
    line-height: 80px;
}

.service .service-title .title, .service .btn:hover{
    background: #008000;
	color:#FFFFFF;
}

.service a.btn{
    padding: 6px 18px;
    font-size: .9em;
    line-height: 2;
    text-transform: none;
    background-color: #666;
	color:#FFFFFF;
}

.arrow-up, .arrow-right, .arrow-down, .arrow-left {
    position: relative;
    width: 0;
    height: 0;
    border: 20px solid transparent;
}

.arrow-down{
    border-top-color: #008000;
}


.service .service-title .arrow-down {
    top: -1px;
    left: 50%;
    border-width: 10px;
    margin-left: -10px;
}

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

.baseline-wrapper h1 {
    background-color: #008747;
    font-size: 2.10em;
    padding: 15px;
    line-height: 1.50em;
	max-width: 600px;
    margin: 0 auto;
	font-family: 'Open Sans';
    font-weight: 400;
}
.baseline-wrapper p{
	color:#FFF;
	margin-top: 20px;
	font-family: 'Open Sans';
}


/**
 * Timeline (From old themes)
 */
#timelinr {
    position: relative;
    width: 100%;
    min-height: 100px;
    text-align: center;
    /*overflow: hidden;*/
}

#timelinr #dates {
    overflow: hidden;
    margin-bottom: 40px;
    padding: 0;
}

#timelinr #dates li {
    list-style: none;
    float: left;
    width: 33.3333%;
    line-height: 50px;
}

#timelinr #dates li {
    width: 158px;
}

#timelinr #dates a {
    position: relative;
    display: block;
    z-index: 1;
    font-weight: normal;
    color: #808080;
    border-right: 1px solid #eee;
}

#timelinr #dates a:hover {
    color: #008640;
}

#timelinr #dates a:hover {
    color: #ffcd00;
}

#timelinr #dates .selected {
    font-size: 1.5em;
    font-weight: bold;
    cursor: default;
}

#timelinr #events {
    width: 100%;
    overflow: hidden;
    padding: 0;
    text-align: left;
}

#timelinr #events li {
    width: 100%;
    list-style: none;
    display: none;
}
#timelinr #events li.selected, #timelinr #events > li:first-child {
    display: block;
}
#timelinr #events li .fa{
	color: #008747;
	font-size: 26px;
	
}

.contact h3{
	margin-top: 30px;
	font-weight: 300;
}
.contact h3:after{
	display:none;
	
}



code {
    background-color: transparent;
    color: #444;
    text-align: center;
    font-size: 21px;
    text-transform: uppercase;
    padding: 0;
	display: block;
}

.stretch {
    display: block;
}

.servicearea{
	border: #333 1px solid;
    padding: 2px 10px;
    display: inline-block;
    margin: 0 5px 5px;
    border-radius: 5px;
}

@media only screen and (max-width : 991px) {
	.brand-contact-number {
		top: 30px;
		right: 60px;
	}
	
	#YT_audio {
		top: 40px;
	}
}

@media only screen and (max-width : 768px) {
    .fa.fa-bars {
        display: block;
    }
	
	.brand-contact-number {
		font-size: 16px;
	}

    .navbar .menu {
        top: 2em;
        z-index: 500;
        position: relative;
    }

    .navbar .menu > ul {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .navbar .menu > ul > li {
        display: block;
        text-align: center !important;
    }

    .navbar .menu > ul > li > a {
        color: rgba(255, 255, 255, 1);
        font-size: 0.9em;
        font-weight: 700;
        padding: 1em 0;
        display: inline-block;
        text-transform: uppercase;
    }

    .navbar .menu > ul > li > a:hover {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
    }
	
	#timelinr #dates li {
		width: 150px;
		font-size: 1.5em;
	}
	
	.header-center {
		top: 55%;
	}
	.container{
		text-align:center;
	}
	
	.service h4 {
		min-height: 0;
		margin-bottom: 20px;
	}
	
	.margin-top-5x {
		margin-top: 3em;
	}
	
	h3.team:after{
		left: 50%;
	}
}

@media only screen and (max-width : 680px) {
	.header-center {
		top: 200px;
	}
	
	#YT_audio {
		top: 5px;
		right: 10px;
	}
}


@media only screen and (max-width : 480px) {
	#timelinr #dates li{
		width: 100%;
	}
	#timelinr #dates li a{
		border: none;
	}
	
	.brand-contact-number {
		top: 0px;
	}
	
	.baseline-wrapper h1{
		font-size: 1.4em;
		padding: 5px;
	}
	.baseline-wrapper p{
		margin-top: 0px;
		font-size: 14px;
	}
	.header-center {
		top: 157px;
	}
	
	.brand-contact-number {
		right: 0;
		width: 100%;
		text-align: center;
	}
}

@media only screen and (max-width : 375px) {
	.baseline-wrapper h1{
		font-size: 1.0em;
		padding: 5px;
	}
	.baseline-wrapper p{
		margin-top: 0px;
		font-size: 12px;
	}
	.header-center {
		top: 140px;
	}
}