/* Globals */

.left, .alignleft {
	float: left;
}
.right, .alignright {
	float: right;
}

/* Globals */

body {
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	color: #555;
	background: #aaa;
	margin: 0;
	padding: 0;
}



#navbar, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-family: "Oswald", sans-serif;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	margin-top: 0px;
	margin-bottom: 15px;
	font-weight: normal;
	color: #333;
}

p { margin: 0 0 15px; }

a:hover { text-decoration: none; }

ul.nobullet {
	display: block;
	list-style-type: none;
	padding-left: 2em;
}
ul.nobullet li {
	position: relative;
}
ul.nobullet span.glyphicon {
/*	display: block;
*/
	position: absolute;
	top: 2px;
	left: -2em;
}

.fa { margin-right: 0.25em; }

/* Buttons */
.btn { border-radius: 30px; }
.btn-primary {
	background-color: #428bca;
	border-color: #337ab7;
}
.nav-pills>li>a { border-radius: 30px; }

.img-fluid {
	width: 100%;
	padding-bottom: 10px;
}

/* Override Bootstrap's default container width */
@media (min-width: 1200px) {
    .container {
	width: 970px;
    }
}

/*
 * Masthead for nav
 */

.header {
	position: relative;
	height: 100%;
	width: 100%;
	padding-left: 20px;
	background: rgba(0,0,0,0.5);
}
.header .logo {
	height: 200px;
	float: left;
	padding: 20px;
}
.header .brand {
/*
	position: relative;
	top: 50%;
*/
	height: 100%;
	font-family: "Oswald", sans-serif;
	font-size: 42px;
	padding: 37px;
}
.header a, .header a:hover { color: #fff; }
.navbar-ph { height: 50px; }
#navbar.affix {
	top: 0px;
	left: 0px;
	width: 100%;
}
#navbar .container { margin: 0px; }
#navbar .logo {
	width: 3em;
	height: 50px;
	float: left;
}
#navbar .logo img { height: 40px; }
#navbar .navbar-brand {
	overflow: hidden;
	padding: 5px 15px;
	height: 50px;
}

.navbar-brand .brand {
	float: left;
	padding: 8px;
	font-size: 24px;
	color: #fff;
	/*
	height: 50px;
	*/
}

section {
	padding-top: 70px;
}

section>.container {
	padding-top: 15px;
	padding-bottom: 30px;
	background: #fff;
	border-radius: 10px;
}

.navbar-inverse { border: 0; }

.navbar-inverse .navbar-toggle {
  /*
  border-color: #cdddeb;
  */
}
.navbar-inverse .navbar-toggle .icon-bar {
  /*
  background-color: #cdddeb;
  */
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
  /*
  background-color: #65A2D6;
  */
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav>li>a {
/*  color: #cdddeb; */
	font-weight: 500;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
/*  border-color: #cdddeb; */
}

.navbar-inverse .navbar-nav>li>a.active {
	color: #fff;
}

@media (min-width: 768px) {
    .navbar {
	border-radius: 0;
	min-height: 40px;
    }

    /** The following may need modification depending on
	the size of your `navbar-brand` (if enabled) */
    #main-menu-navbar {
	margin-left: -30px;
    }
    .navbar-nav>li>a {
	/*
	padding-top: 10px;
	padding-bottom: 10px;
	*/
    }
  /** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */

    .navbar-inverse .navbar-nav>li>a.active:after {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 0;
	margin-left: -5px;
	vertical-align: middle;
	content: " ";
	border-right: 5px solid transparent;
	border-bottom: 5px solid;
	border-left: 5px solid transparent;
    }
}

/*
 * Footer
 */

footer {
  margin-top: 50px;
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
    body {
	font-size: 14px;
    }
    .header-bg {
	height: 300px;
	background: url("/images/accountant-768.jpg") no-repeat center center;
    }
    .header .logo {
	height: 100px;
	padding: 20px;
    }
    .header .brand { font-size: 18px; padding: 24px; }
    .h1, h1 { font-size: 30px; }
    .clouds { display: none; }
}
@media (min-width: 769px) {
    .header-bg {
	height: 500px;
	background: url("/images/accountant-1280.jpg") no-repeat center center, #000;
    }

    .clouds {
	width: 200x;
	height: 300px;
	position: absolute;
    }

    .cloud1 {
	top: 60px;
	z-index: 100;
	fill: #eee;
	/* Animation shorthand syntax order: name, duration, timing-function, delay,
	 * iteration-count, direction, fill-mode */
	-webkit-animation: move 20s linear infinite;
	-moz-animation: move 20s linear infinite;
	-o-animation: move 20s linear infinite;
	animation: move 20s linear infinite;
    }

    .cloud2 {
	top: 240px;
	z-index: 200;
	fill: #eee;
	-webkit-animation: move 35s linear 10s infinite backwards;
	-moz-animation: move 35s linear 10s infinite backwards;
	-o-animation: move 35s linear 10s infinite backwards;
	animation: move 35s linear 10s infinite backwards;
    }

    .cloud3 {
	top: 420px;
	z-index: 300;
	fill: #eee;
	-webkit-animation: move 45s linear 10s infinite backwards;
	-moz-animation: move 45s linear 10s infinite backwards;
	-o-animation: move 45s linear 10s infinite backwards;
	animation: move 45s linear 10s infinite backwards;
    }

    @-webkit-keyframes move {
	from {-webkit-transform: translateX(-400px);}
	to {-webkit-transform: translateX(1350px);}
    }
}

.background {
	width: 100%;
	height: 2000px;
	position: fixed;
	top: 0px;
	background: -webkit-linear-gradient(top, rgb(161,219,255) 0%,rgb(203,235,255) 53%,rgb(240,249,255) 100%); /* Chrome10+,Safari5.1+ */
	background-size: 100% 100%;
	z-index: -100;
}

#about p {
	text-align: justify;
	hyphens: manual;
}
