/*!
 * Start Bootstrap - Resume v5.0.5 (https://startbootstrap.com/template-overviews/resume)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-resume/blob/master/LICENSE)
 */

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  padding-top: 54px;
  color: #3c3c3c;
  background-color: #f9f9f9;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  font-weight: 400;
  color: #3c3c3c;
}

h1 {
  font-size: 3rem;
  line-height: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-size: 1.05rem;
  font-weight: 400;
}

.subheading {
  font-weight: 400;
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  font-size: 1.25rem;
}

.social-icons a {
  display: inline-block;
  height: 3.5rem;
  width: 3.5rem;
  background-color: #495057;
  color: #fff !important;
  border-radius: 100%;
  text-align: center;
  font-size: 1.5rem;
  line-height: 3.5rem;
  margin-right: 1rem;
}

.social-icons a:last-child {
  margin-right: 0;
}

.social-icons a:hover {
  background-color: #993366;
}

.dev-icons {
  font-size: 3rem;
}

.dev-icons .list-inline-item i:hover {
  color: #993366;
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 400;
  letter-spacing: 0.05rem;
}

#sideNav .navbar-toggler:focus {
  outline-color: #d48a6e;
}

@media (min-width: 992px) {
  #sideNav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
  }
  #sideNav .navbar-brand {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }
  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    border: 0.3rem solid rgba(255, 255, 255, 0.2);
  }
  #sideNav .navbar-collapse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }
  #sideNav .navbar-collapse .navbar-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }
}

section.resume-section {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  max-width: 75rem;
}

section.resume-section .resume-item .resume-date {
  min-width: none;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: none;
  }
  section.satavh {
    min-height: 100vh;
  }
  section.resume-section .resume-item .resume-date {
    min-width: 18rem;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

.bg-primary {
  background-color: #993366 !important;
}

.text-primary {
  color: #993366 !important;
}

a {
  color: #00A6A6;
}

a:visited {
  color: #993366;
}

a:hover, a:focus, a:active {
  color: #6c2448;
}



#sideNav a {
  color: #f9f9f9;
}

#sideNav a:hover {
  color: #d2d2d2;
}

.indexkuva {
	margin: 0 1.5rem 1rem 0;
}

.linjakuva {
	max-height: 7.5rem;
}

.frikuva {
	max-height: 10rem;
}

.sukukuva {
	max-height: 7.5rem;
}

.listakuva {
}

.alateksti {
	font-size: 90%;
}

.img-thumbnail {
  border: 1px solid #e9bed3;
}

a .img-thumbnail:hover {
  border: 1px solid #993366;
}

.hidelink {
	color: #3c3c3c;
}

.sukutaulu {
	min-width: 50rem;
	color: #9B9B9B;
}

.sukutaulu span {
	color: #3c3c3c;
}

.sukutaulu td {
	border-top: none;
}

.bb-1 {
	border-bottom: 1px solid #B7B7B7;
}
.br-1 {
	border-right: 1px solid #B7B7B7;
}
.bl-1 {
	border-left: 1px solid #B7B7B7;
}

.card a {
  color: #00A6A6;
}

.card a:visited {
  color: #993366;
}

.card a:hover, a:focus, a:active {
  color: #6c2448;
}

.suku { margin: 0 auto; }
.suku tr { background-color: #fdfdfd !important; }
.sukutausta { background-color: #f4f4f4; }
.suku td { vertical-align: middle; font-size: 80%; border: 1px solid #B7B7B7; padding: 0.5em; }
.suku td span { font-size: 125%; }

table.suku tbody tr td:first-child { border-left-width: 0px !important; }
table.suku tbody tr td:first-child.vasenborder { border-left-width: 1px !important; }

.green {
	color: #00a400;
}
.red {
	color: #ff0000;
}

.myynti {
}
.myynti1 {
	margin-bottom: 2em;
	padding: 2em 2em 1em 2em;
	border-radius: 0.5em;
	border: 2px solid #00a400;
}
.myynti1 p {
	margin-bottom: 1em;
}
.myynti1 a {
	color: #00a400;
}
.myynti1 a:hover {
	color: #00a400;
}

.myynti2 {
	margin-bottom: 2em;
	padding: 2em 2em 1em 2em;
	border-radius: 0.5em;
	border: 2px solid #ff0000;
}
.myynti2 p {
	margin-bottom: 1em;
}
.myynti2 a {
	color: #ff0000;
}
.myynti2 a:hover {
	color: #ff0000;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  margin: 1.5em auto;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  border: none;
}
.hide {
	display: none;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}