/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/********** Global **********/

body {
	padding-bottom: 0px;
	color:#333;
}

ul li {
	list-style: none;
}

a, a:visited, a:link {
	color: #11385d;
}

a:hover {
	color: #3398cc;
	text-decoration: none;
}

.anchor {
  padding-top: 85px;
  margin-top: -85px;
}

section {
  padding-top: 25px;
  padding-bottom: 25px;
}

section:nth-child(odd) {
	background: #dddddd;
}

/********** Nav Bar**********/

nav.navbar {
  padding: 0px;
}

nav.navbar .navbar-brand {
	padding:10px 15px;
}

nav.navbar .navbar-brand img {
	width:100px;
}

nav.navbar ul {
	font-size: 18px;	
}

nav.navbar ul li.nav-item.active {
	color: #3398cc;
}

nav.navbar ul li a, nav ul li a:visited, nav ul li a:link {
	color: #ddd;
}

nav.navbar ul li a:hover {
	color: #3398cc;
}

nav.navbar #social {
	display:none;	
}

nav.navbar .social li {
	padding-left: 10px;
  padding-right: 10px;
}

nav.navbar .social li:last-child {
  padding-right: 15px;
}

nav.navbar .social li a {
	opacity:0.6;
}

nav.navbar .social li a:hover {
	opacity:1;	
}

nav.navbar .social li a img {
  width:30px;	
}

/********** Banner **********/

.banner {
  padding: 0px;
  background: #00375e; 
}

.social-ad {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/********** Home Page **********/

.jumbotron {
	margin-bottom: 0px;
  padding: 15px;
  background: #00375e; /* Old browsers */
  background: -moz-linear-gradient(top,  #00375e 50%, #00283d 60%, #000f26 90%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #00375e 50%,#00283d 60%,#000f26 90%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #00375e 50%,#00283d 60%,#000f26 90%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00375e', endColorstr='#000f26',GradientType=0 ); /* IE6-9 */
	color: #eee;
  border-radius: 0px;
	overflow: hidden;
}

.jumbotron h2 {	
	color:#999;	
}

.jumbotron a {
	color:#eee;
	text-decoration:underline;	
}

.jumbotron p {
	line-height:1.2;	
}

.jumbotron #carousel {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}


.jumbotron #jumbotron-menu img {
  max-width: 125px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.jumbotron #jumbotron-menu img:hover {
  transform: scale(0.95);
}

/*#home-page section .mrr-icon {
	max-width: 85px;
	margin-bottom: 10px;
}*/

/********** Projects**********/

.breadcrumb {
  background-color: #ddd;
  margin-bottom: 0px;
  padding-left: 5%;
}

#projects .card {
  border-radius: 20px;
  margin-bottom: 20px;
}

#projects .card .card-body {
  background-color: #12385e;
  color: #eee;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

#projects .card .card-body img {
  margin-left: 5px;
  margin-right: 5px;
  max-width: 60px;
  opacity: 0.1;
}

#projects .card .card-body img.active {
  opacity: 1;
}

/********** Services **********/

#services .media img {
  display: none;
}

#services-request-form p{
  margin-bottom: 0px;
}

#services-request-form .rq-quote-btn{
  margin-top: 25px;
}

#services-request-form #rq-quote-modal {
  /*position: relative;*/
}

#services-request-form #rq-quote-modal #spinner {
  display: none;
  position: absolute;
  z-index: 1031;
  top: 50%;
  right: 50%;
  margin-top: -2.2rem;
  margin-right: -1.5rem;
}

/********** About Us **********/

#about-us .au-titles {
  text-align: center;
  margin-bottom: 15px;
  color: #12385e;
}

#about-us #au-profile-photo {
  text-align: center;
}

#about-us #au-profile-photo img {
  width:200px;
  height:200px;;
  border-radius:50%;
  border:3px solid #fff;
  margin-bottom: 20px;
}

#about-us #au-profile-info{
  text-align:center;
  margin-bottom: 20px;
}

#about-us #au-profile-info p{
  margin-bottom: 5px;
}

#about-us #au-profile-info ul {
  margin-top: 10px;
  padding-left: 0px;
}

#about-us #au-profile-info ul li {
  display: inline;
  margin-left: 5px;
  margin-right: 5px;
}

#about-us #au-profile-info ul li a img {
  max-width: 30px;
}

#about-us #mission, #about-us #skills #software, #about-us #skills #languages {
  text-align: center;
}

#about-us #skills #languages {
  margin-top: 20px;
}

#about-us #skills p {
  margin-bottom: 5px;
}

#about-us #skills .progress {
  background-color: #fff;  
  margin-bottom: 10px;
}

#about-us #skills .progress .pro-80 {
  background-color: #12385e !important;
}

#about-us #skills .progress .pro-60  {
  background-color: #3399cc !important;
}

#about-us #skills .progress .pro-40  {
  background-color: #9fc9eb !important;
}

#about-us #skills .progress .pro-20  {
  background-color: #d2edf3 !important;
}

#about-us #skills .progress .pro-00  {
  background-color: #ffffff !important;
}

/********** Proposals **********/

#proposal .au-titles {
  text-align: center;
  margin-bottom: 15px;
  color: #12385e;
}

#proposal #au-profile-photo {
  text-align: center;
}

#proposal #au-profile-photo img {
  width:200px;
  height:200px;;
  border-radius:50%;
  border:3px solid #fff;
  margin-bottom: 20px;
}

#proposal #au-profile-info{
  text-align:center;
  margin-bottom: 20px;
}

#proposal #au-profile-info p{
  margin-bottom: 5px;
}

#proposal #au-profile-info ul {
  margin-top: 10px;
  padding-left: 0px;
}

#proposal #au-profile-info ul li {
  display: inline;
  margin-left: 5px;
  margin-right: 5px;
}

#proposal #au-profile-info ul li a img {
  max-width: 30px;
}

#proposal .card {
  border-radius: 20px;
  margin-bottom: 20px;
}

/*#proposal .card a:hover img {
	border-bottom: .5px solid white;
}*/

#proposal .card .card-body {
  background-color: #12385e;
  color: #eee;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

#proposal .card .card-body img {
  margin-left: 4px;
  margin-right: 4px;
  max-width: 60px;
  opacity: 0.1;
}

#proposal .card .card-body img.active {
  opacity: 1;
}

#proposal #costs ul li {
	font-weight: normal;
}

/********** Footer **********/

footer {
  background: #343a40;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #eee;
}

footer ul {
	padding:0px 0px 0px 0px;	
}

footer a, footer a:visited, footer a:link {
	color:#eee;	
}

footer a:hover {
  color: #3398cc;
	text-decoration:none;	
}

.footer-social img {
  width: 20px;
}

.footer-legal {
  text-align: center;
}

@media (min-width: 375px) {
  section .home-page-info img {
    display: block;	
  }
}

@media (min-width: 576px) {
  nav.navbar #social {
    display: block;	
  }
  
  #services .media img {
    display: block;
    max-width: 75px;
  }
  
  #services-request-form .rq-quote-btn{
    margin-top: 35px;
  }
  
  #about-us #skills #software, #about-us #skills #languages {
    text-align: left;
  }
  
  #about-us #skills #languages {
    margin-top: 0px;
  }
	
	#proposal .card .card-body img {
		margin-left: 3px;
		margin-right: 3px;
		max-width: 45px;
	}
  
  .footer-legal li {
    display: inline-block;
  }
  
  
}

@media (min-width: 768px) {
  
  #home-page section:nth-child(even) .container > .row {
    display: flex;
    flex-direction: row-reverse;
  }
  
  #services .media img {
    max-width: 100px;
  }
  
  #services .nested-media img {
    max-width: 75px;
  }
  
  #services-request-form .rq-quote-btn{
    margin-top: 25px;
  }
  
  #about-us #au-profile-photo, #proposal #au-profile-photo {
    text-align: right;
  }

  #about-us #au-profile-info, #proposal #au-profile-info{
    text-align: left;
  }
	
		#proposal .card .card-body img {
		margin-left: 4px;
		margin-right: 4px;
		max-width: 60px;
	}
  
}

@media (min-width: 992px) {
  #services-request-form .rq-quote-btn{
    margin-top: 12px;
  }
}

@media (min-width: 1200px) {}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

