@font-face {
    font-family: 'Abel';
    src: url(../fonts/Abel-Regular.ttf);
}

body {
	background-color: #f1f1f1!important;
	overflow-x: hidden;
}

/* Header Nav */
@media (min-width: 768px){
    .navbar-nav{
        float:none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
    }
}
body {
	font-family: Abel;
}
header {
	background-image: url(../img/banner.png);
	padding-top: 20px;
	padding-bottom: 20px;
}
.welcome h1 span.first {
	position: relative;
	display: inline-block;
}
.welcome h1 span.first:before {
	display: block;
	height: 5px;
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
	position: absolute;
	content: " ";
	left: 0;
	bottom: 5px;
	background: #fff;

}
.navbar-default {
	border-color: transparent;
	background-color: transparent;
}
.navbar-default .navbar-nav > li > a {
	color: #fff;
	font-size: 2rem;
	font-weight: bold;
	transition: color .2s ease-in-out;
	font-family: Abel;
}
.navbar-default .navbar-nav > li > a:hover {
	color: #FFFF00;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	background-color: transparent;
	color: #FFf;
}
.welcome {
	padding-top: 40px;
	padding-bottom: 40px;
}
.welcome h1 {
	position: relative;
	color: #fff;
	font-size: 10rem;
	font-weight: bold;
	margin-bottom: 0;
	margin-top: 0;
	font-family: Abel;
}
.welcome h3 {
	color: #fff;
	font-size: 2.5rem;
	margin-bottom: 0;
	margin-top: 0;
	font-family: Abel;
	margin-top: 10px;
}
.images {
	margin-bottom: 20px;
	position: relative;
	cursor: pointer;
}
.images img {
  width: 100%;
  height: auto;
  opacity: 1;
  transition: opacity .2s ease-in-out;
}
.images:hover img {
	opacity: .5;
}
.images::before {
	opacity: 0;
	content: "Click To See More Info";
	text-align: center;
	width: 100%;
	height: 50px;
	position: absolute;
	bottom: 50%;
	left: 0;
	color: #000;
	font-size: 2.5rem;
	font-weight: bold;
	transition: opacity .2s ease-in-out;
}
.images:hover::before {
	opacity: 1;
}
.work h4 {
	text-align: center;
	font-size: 3rem;
	font-weight: bold;
	color: #666;
	margin-bottom: 20px;
	font-family: Abel;
}
.work {
	padding-top: 50px;
	padding-bottom: 50px;
}
.info {
	background-color: #DFE2DB;
	padding-top: 50px;
	padding-bottom: 50px;
}
.info h5 {
	text-align: left;
	font-size: 3rem;
	font-weight: bold;
	color: #666;
	margin-bottom: 20px;
	font-family: Abel;
}
.contact {
	padding-top: 50px;
	padding-bottom: 50px;
}
.form-control {
	background: #DFE2DB;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #000;
	margin-bottom: 10px;
}
.form-control:focus {
	box-shadow: none;
}
.form-group input {
	position: relative;
	z-index: 5;
}
.form-group label {
	font-size: 1.5rem;
	color: #666;
}
.contact h4 {
	text-align: center;
	font-size: 3rem;
	font-weight: bold;
	color: #666;
}
.btn-default {
	background-color: #DFE2DB;
	border: 0;
	border-radius: 0;
}
.backToTop {
	margin-left: auto;
	margin-right: auto;
	display: block;
	font-weight: bold;
	background-color: #DFE2DB;
	width: 200px;
}
.backToTop a span {
	text-align: center;
	width: 100%;
	display: block;
		font-size: 2rem;
	color: #666;
	padding-top: 5px;
	padding-bottom: 5px;
}
.backToTop a:hover {
	text-decoration: none;
}
.backToTop:hover {
	background-color: #e6e6e6;
}

.postOffice, .DT, .fish {
	height: 0;
	overflow: hidden;
	transition: height .2s ease-in-out;
}
.postOffice.open {
	height: 140px;
}
.DT.open {
	height: 140px;
}
.fish.open {
	height: 140px;
}



/* My Work */
.myWorkHeader {
	padding-top: 50px;
	padding-bottom: 50px;
	padding-left: 10%;
	padding-right: 10%;
}
.myWorkHeader h2.first {
	font-weight: bold;
}
.myWorkHeader h2 {
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
	font-size: 5rem;
	font-weight: 100;
	color: #43444c;
}
.myWorkHeader .workText {
	margin-top: 20px;
}
.myWorkHeader .workText p {
	margin-top: 0;
	font-size: 2rem;
	text-align: center;
	color: #43444c;
	margin-bottom: 15px;
}
.myWorkHeader .workText p.seefull {
	font-weight: bold;
}

.box {
	height: 565px;
    background-size: auto 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    background-position: center;
    max-height: 50vh;
    min-height: 384px;
    border: 2px solid white;
    border-bottom: none;
    border-right: none;
}
.box .overlay {
    padding: 0px;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    background-color: rgba(0,0,0,0.4);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.box .overlay .border {
    opacity: 0;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}
.box .overlay .border {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border: 2px solid white;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}
.box .overlay .case_study_text, .box .overlay .btn_con {
    opacity: 0;
    -webkit-transition: all 0.25s 0.1s;
    -o-transition: all 0.25s 0.1s;
    transition: all 0.25s 0.1s;
}
.box .overlay .case_study_text {
	webkit-transform: translate(-50%, -100%);
    -ms-transform: translate(-50%, -100%);
    -o-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
}
.box .overlay .btn_con {
	position: absolute;
    bottom: 21%;
    left: 50%;
}
.box .overlay .case_study_text {
	color: white;
    text-align: center;
    display: block;
    top: 21%;
    position: absolute;
    left: 50%;
    font-weight: bold;
}
.btn-sm, .btn-group-sm>.btn {
    padding: 6px 35px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 3px;
}
.btn-light {
    color: #fff;
    background-color: #fff;
    border-color: #ccc;
    background-color: transparent;
}
.btn {
	text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 0px;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.btn:hover {
	text-decoration: underline;
	color: #fff;
}
.box .client_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1);
    transform: translate3d(-50%, -50%, 0) scale(1);
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    max-width: 180px;
    max-height: 130px;
}
.box a:hover .overlay {
	padding: 15px;
    background-color: rgba(0,0,0,0.85);
}
.box a:hover .overlay .case_study_text, .box a:hover .overlay .border, .box a:hover .overlay .btn_con {
    opacity: 1
}
.box a:hover .overlay .border {
	border: 2px solid white;
}
.box a:hover .overlay .btn_con, .box a:hover .overlay .case_study_text {
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
}
.bgPO {
	display: block;
	background-image: url(../img/primary.PNG);
}
.bgDT{
	background-image: url(../img/dt.PNG);
	display: block;
}
.bgRIAS{
	display: block;
}
.bgbrock{
	background-image: url(../img/broker.PNG);
	display: block;
}

#postOfficeMain, #directTravelMain, #RIASMain, #brokersureMain {
	height: 0;
	overflow: hidden;
	transition: height .2s ease-in-out;
}
#postOfficeMain.open, #directTravelMain.open, #RIASMain.open, #brokersureMain.open {
	height: 600px;
}


/* CS */
.myCS {
	clear: both;
	display: block;
}
.myCS .title {
	margin-bottom: 40px;
}
.myCS .title h2 {
	padding-top: 0;
	padding-bottom: 0;
	text-align: center;
	font-size: 5rem;
	font-weight: 100;
	color: #43444c;
	margin-bottom: 0;
	margin-top: 50px;
}
.myCS .title h2.bold {
	font-weight: bold;
	margin-top: 0;
}
.myCS img {
	width: 100%;
	height: auto;
	display: block;
}
.myCS .CStext strong {
	font-size: 2rem;
	font-weight: bold;
}
.myCS .CStext p {
	font-size: 2rem;
}
.myCS .CStext a {
	color: #43444c;
	text-decoration: underline;
	font-size: 2rem;
}
.myCS .CStext a:hover {
	color: #43444c;
}
.myWork {
	margin-top: 50px;
	margin-bottom: 50px;
}
.myWork h2 {
	text-align: center;
    font-size: 3rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 0px;
    font-family: Abel;
    margin-top: 0;
}
.myWork small {
	text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 20px;
    display: block;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.mainWork {
	max-width: 900px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.mainWork p {
	text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    font-family: Abel;
}
.lifeInfo p {
	font-size: 1.5rem;
}
@media (max-width: 768px){
	.myCS img {
		margin-bottom: 20px;
	}
	#postOfficeMain.open, #directTravelMain.open, #RIASMain.open, #brokersureMain.open {
		height: auto;
	}
	.box a .overlay {
		padding: 15px;
	    background-color: rgba(0,0,0,0.85);
	}
	.box a .overlay .case_study_text, .box a .overlay .border, .box a .overlay .btn_con {
	    opacity: 1
	}
	.box a .overlay .border {
		border: 2px solid white;
	}
	.box a .overlay .btn_con, .box a .overlay .case_study_text {
	    -webkit-transform: translate(-50%, 0%);
	    -ms-transform: translate(-50%, 0%);
	    -o-transform: translate(-50%, 0%);
	    transform: translate(-50%, 0%);
	}
    .images img {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	width: 70%;
    }
    .navbar-default .navbar-nav > li > a {
    	font-size: 2.5rem;
    }
    .welcome h3 {
    	font-size: 3rem;
    }
    .work h4 {
    	font-size: 4rem;
    }
    .info h5 {
    	font-size: 4rem;
    	text-indent: 15px
    }
    .lifeInfo p {
    	font-size: 2.2rem;
    	padding-left: 20px;
    	padding-right: 20px;
    }
    .workInfo li {
    	font-size: 2.2rem;
    }
    .postOffice.open {
		height: auto;
	}
	.DT.open {
		height: auto;
	}
	.fish.open {
		height: auto;
	}
	.images img {
		opacity: .5;
	}
	.images::before {
		opacity: 1;
		content: "Click To See More Info";
		text-align: center;
		width: 100%;
		height: 50px;
		position: absolute;
		bottom: 50%;
		left: 0;
		color: #000;
		font-size: 2rem;
		font-weight: bold;
		transition: opacity .2s ease-in-out;
	}
	.navbar-default .navbar-toggle {
		background-color: #fff;
	}
	.navbar-default .navbar-nav > li > a {
		text-align: center;
	}
}
@media (max-width: 414px){
    .emailForm {
    	padding-left: 15px;
    	padding-right: 15px;
    }
    .lifeInfo p {
    	font-size: 2rem;
    	padding-left: 20px;
    	padding-right: 20px;
    }
    .workInfo li {
    	font-size: 2rem;
    }
}
/* Contact Info */
.contact_info {
	background: #DFE2DB;
	padding-bottom: 40px;
	padding-top: 40px;
}
.contact_info p {
	text-align: center;
	margin-bottom: 0;
	margin-top: 0;
	font-size: 18px;
	color: #666;
}
.contact_info p strong {
	font-size: 20px;
}
.backToTop {
	margin-top: 20px;
	background-color: #f1f1f1;
}
.backToTop a span {
	transition: color .2s ease-in-out;
}
.backToTop:hover {
	background-color: #f1f1f1;
	color: gold;
}
.backToTop:hover span {
	color: gold;
}
/*
	Skills
*/
.skills p{
  color:#525252;
  font-size:12px;
}

.skills .skillbar {
	position:relative;
	display:block;
	margin-bottom:15px;
	width:100%;
	background:#eee;
	height:35px;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-webkit-transition:0.4s linear;
	-moz-transition:0.4s linear;
	-ms-transition:0.4s linear;
	-o-transition:0.4s linear;
	transition:0.4s linear;
	-webkit-transition-property:width, background-color;
	-moz-transition-property:width, background-color;
	-ms-transition-property:width, background-color;
	-o-transition-property:width, background-color;
	transition-property:width, background-color;
}

.skills .skillbar-title {
	position:absolute;
	top:0;
	left:0;
width:110px;
	font-weight:bold;
	font-size:13px;
	color:#ffffff;
	background:#6adcfa;
	-webkit-border-top-left-radius:3px;
	-webkit-border-bottom-left-radius:4px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-bottomleft:3px;
	border-top-left-radius:3px;
	border-bottom-left-radius:3px;
}

.skills .skillbar-title span {
	display:block;
	background:rgba(0, 0, 0, 0.1);
	padding:0 20px;
	height:35px;
	line-height:35px;
	-webkit-border-top-left-radius:3px;
	-webkit-border-bottom-left-radius:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-bottomleft:3px;
	border-top-left-radius:3px;
	border-bottom-left-radius:3px;
}

.skills .skillbar-bar {
	height:35px;
	width:0px;
	background:#6adcfa;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.skills .skill-bar-percent {
	position:absolute;
	right:10px;
	top:0;
	font-size:11px;
	height:35px;
	line-height:35px;
	color:#ffffff;
	color:rgba(0, 0, 0, 0.4);
}
@media only screen and (max-width: 900px) {
    .welcome h1 {
    	font-size: 70px;
    }
}
@media only screen and (max-width: 500px) {
    .welcome h1 {
    	font-size: 50px;
    }
    .welcome h1 span.first:before {
    	height: 2px;
    }
    .welcome h3 {
    	font-size: 20px;
    }
}