
/* Colors  **********
color: #0157AE; -- blue
color: #f7612e; -- orange
*********************/




body {
	padding: 0;
	margin: 0;
	overflow-x: hidden;
	font-family: 'Noto Sans HK', sans-serif;
}


/* Navbar */
.navbar {
	padding-left: 2%;
	padding-right: 2%;
	vertical-align: middle;
}

.navbar-light .navbar-nav .active {
	color: #dc3545;
}

.nav-item .dropdown-menu {
	text-align: right;
}

.navbar-collapse {
	margin-right: 5%;
}

.navbar-collapse ul {
	text-align: right;
}

.navbar-collapse li {
    color: #0157AE;
    font-weight: bold;
}

#return.nav-item {
    background-color: #00b033;
    background-size:contain;
    border: 1px solid white;
    border-radius: 7px;
    padding: 4px 8px;
    color: white;
}

#return.nav-link li a {
    color:white;
}

#hero {
	background-image: url('images/flag.png');
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 1;
	height: 100%;
	padding: 4% 2%;
}

#hero .row {
	margin-top: 2%;
	color: white;
}

#hero h2 {
	font-size: 20px;
}

#hero h3 {
    font-size: 18px;
}

@media screen and (max-width: 768px) {
	#hero .masthead {
		padding: 2%;
	}
	
	#hero .masthead h1 {
	    font-size: 1em;
	}
	
	#hero .masthead h2 {
	    font-size: 1em;
	}
}

/*Button*/
.button button {
	font-size: 18px;
	font-weight: bold;
	padding: 2%;
	font-family: 'Montserrat', sans-serif;
}

/*Features*/
#feature-home {
	padding: 0 3%;
	margin: 2% 0;
	height: 100%;
}

#feature-home img {
	width: 20%;
	border: 2px dashed blue;
	border-radius: 100px;
	padding: 3%;
}

#feature-home p {
	padding: 10px 10px;
}

#feature-home strong {
    color: blue;
}

@media screen and (max-width: 786px) {
    #feature-home {
        font-size: .8em;
    }
    
    #feature-home img {
        width: 15%;
    }
}

/* About */
#about-home {
	background: url('images/placeholder.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100%;
	padding: 7%;
}

.darken-overlay div {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.darken-pseudo {
  position: relative;
}

.darken-pseudo:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  background-color: rgba(0, 0, 0, 0.6);
}

.darken-with-text p {
  margin: 0;
  font-size: 1em;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.darken-with-text h3 {
  margin: 0;
  font-size: 2em;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  margin-bottom: 1%;
}

@media screen and (max-width: 786px) {
    #about-home {
        font-size: .8em;
    }
}


/*Services*/
#service-home {
	background-image: url('images/bg-service.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100%;
	padding: 3%;
	color: #0157AE;
}

#service-home img {
	width: 80%;
	vertical-align: middle;
	padding-top: 2%;
	border-radius: 20px;
	
}

@media screen and (max-width: 786px) {
    #service-home {
        font-size: .8em;
    }
    
    .money img {
        width: 30%;
    }
}

/*Footer*/
footer {
	background-color: #0157AE;
	background-size: cover;
	color: white;
	padding: 1%;
}

footer p {
    margin: 1% 0;
    text-align: center;
}

.footer-address a {
    text-decoration: none;
    color: #f7612e;
    font-weight: 700;
}

.footer-address a:hover {
    text-decoration: none;
    color: black;
}

.footer-links {
    padding-bottom: 2%;
    text-align: center;
}

.footer-links a {
	text-align: center;
	color: white;
	text-decoration: none;
}

.footer-links a:hover {
	color: #f7612e;
	text-decoration: none;
}

footer p {
	font-size: 12px;
}

@media screen and (max-width: 786px) {
	footer p {
	    font-size: .6em;
	}
}


/***********
Application
***********/

#title {
	padding: 2%;
}

#title h2 {
    font-weight: bold;
}

#title.application-section img {
	width: 100%;
}

#payday h2 {
    font-weight: bold;
    text-align: center;
}

#payday.application-section {
	padding: 4%;
}

#payday.application-section p {
	color: #0157AE;
	font-weight: bold;
}

#payday.application-section img {
	width: 100%;
}

.col-lg-6.col-md-6.col-sm-12 {
    padding-top: 2%;
}

@media screen and (max-width: 768px) {
	#payday {
	    font-size: .8em;
	    padding: 5%;
	}
	
	#payday h2 {
	    font-size: 1.3em;
	}
	
	#payday.application-section img {
        width: 60%;
	}
	
	#title {
	    padding: 5%;
	}
		
	#title h2 {
	    font-size: 1.3em;
	}
	
	#title.application-section {
		padding-top: 4%;
		font-size: .8em;
	}
	
	#title.application-section img {
    	width: 60%;
    }
}

/***********
All Services
***********/

#bottom {
	margin-bottom: 1%;
	padding-bottom: 1%;
}

#info {
	padding-top: 2%;
	padding-bottom: 2%;
}

#info .button {
	padding-bottom: 3%;
}

.col-lg-6.col-md-12.col-sm-12 .button {
	padding: 3%;
}

#services {
	background-color: #d6d6d6;
	background-repeat: no-repeat;
	background-position: cover;
	padding-top: 2%;
	padding-bottom: 2%;
}

#services h4 {
    color: white;
}

.col-lg-2.col-md-12.col-sm-12 {
	    height: 46px;
	}
	
button.btn.btn-success {
    font-size: .8em;
}

@media screen and (max-width:786px){
    .hero-services-page {
        font-size: .8em;
        padding: 2% 0;
    }
    
    #info {
		padding: 2% 2%;
	}
    
    #cards {
        width: 80%;
        padding: 2% auto;
    }
    
	button.btn.btn-success {
    font-size: .8em;
	}
	
    #bottom {
		padding-bottom: 2%;
	}
}


/***********
Loans for Bills Page
***********/
@media screen and (max-width: 786px) {
    #hero p {
        font-size: .8em;
    }
    
    #top {
        font-size: .8em;
        padding: 5% 5% 0 5%;
    }
    
    #bottom {
        font-size: .8em;
        padding: 5%;
    }
}


/***********
Location
***********/

#maps {
	padding: 2%;
}

#maps h5 {
    font-weight: bold;
}

.mapouter {
	padding-right: 1%;
	padding-left: 1%;
}

.toggle-desktop {
	display: none;
}

@media screen and (max-width: 768px) {
    #hero h3{
        font-size: .8em;    
    }
    
	#maps {
	    font-size: .8em;
	}
	
	#maps h4 {
	    font-size: 1.2em;
	}

	#maps h5 {
		padding-top: 2%;
		font-size: 1em;
	}

	.toggle-desktop {
		display: all;
	}

	.toggle-mobile {
		display: none;
	}

	.map {
		padding-bottom: 2%;
	}
}

/***********
Terms
***********/

#terms {
	margin-top: 2%;
	margin-bottom: 2%;
}

/***********
Contact Us
***********/

#contact {
	padding: 3%;
}


#contact h4 {
	font-size: 1.2em;
	text-align: center;
}

#contact p {
	text-align: center;
	color: #f7612e;
}


/* Scroll to Top Button */
#myBtn {
  display: none;
  position: fixed;
  
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

@media screen and (max-width: 786px) {e
	#myBtn {
		bottom: 60px;
		padding: 10px;
	}
}








