@charset "UTF-8";
/* CSS Document */

html, body {
  height: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 1.12rem; /* == 16px */
}

body.ohjeisto-body {
  /*background-color: rgb(10, 58, 107);*/
    background-color: rgb(14, 36, 77) !important;
   /* background-color: rgb(85, 86, 87) !important;*/

}

.bg-dark {
  /*background-color: rgb(10, 58, 107);*/
    background-color: rgb(14, 36, 77) !important;
    /* background-color: rgb(85, 86, 87) !important;*/
}

.bg-dark a {
  color: #ffffff;
  text-decoration: none;
  background-color: transparent;
}

.ohjeisto-body > .container-fluid {
}
.img-fluid {
width: 100%;
max-width: 100%;
height: auto;
}

a {
  color: #275a90;
  text-decoration: underline;
  background-color: transparent;
}

a:hover, a:active { 
  color: #275a90;
  text-decoration: none;
}

.nav-container {
  clear: both;
  display: block;
  flex: none;
 /* min-height: 56px;*/
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  width: 100%;
}

.navbar-toggler {
padding-top: 0;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

.navbar {
  padding: 0rem 1rem;
  position: relative;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1rem;
  margin-left: 0;
  font-size: 1.05rem;
  line-height: inherit;
  white-space: normal;
}

.navbar-brand>img.img-fluid {
width: 150px;
padding: 20px 0;
}

@media(min-width:768px){
    .navbar-brand {
    margin-left: 1rem;
    } 
}

.nav-container {
  position: relative;
  top: 0;
  left: 0;
}

.navbar-collapse{
    padding: 0.5rem 1rem; 
}

@media (min-width:768px) {
  .nav-container {
position: relative;
top: 0;
left: 0;
max-width: 100%;
  }
}

.navbar ul {
}

.navbar ul a.nav-link {
  display: block;
  padding: 0.25rem 0;
  letter-spacing: .1rem;
}
.navbar ul a.nav-link.act{
 color:#82CFFF;
}
.navbar ul a.nav-link.act:before{
 /*   color: rgb(255, 255, 255);
content: '•';
display: inline-block;
margin-right: 5px;
transform: translateX(-75%);*/
}

.navbar ul li {
  color: #ffffff;
  margin-bottom: 2.2rem;
}

.navbar ul li ul {
   list-style: none;
    margin-top: 8px;
    padding: 0;
}

.navbar ul li ul li{
  padding-left: 0.5rem; 
  margin-bottom: .65rem;
}

.navbar ul li ul li a.nav-link {
	line-height: 1.2;
  letter-spacing: .1rem;
	 padding: 0rem 1rem;
}

.navbar ul a:hover{
  text-decoration: underline;   
}

.bg-light {
  background-color: #ebebeb !important;
}

.z1 {
  position: relative;
  z-index: 1;
}

.z2 {
  position: relative;
  z-index: 2;
}

.main-content{
    padding: 30px 20px;
}

h1 {
  font-weight: 600;
  border-bottom:solid 4px #D8DEE4;
  margin-bottom: 30px;
  padding-bottom: 20px;   
}

/*section{
    border-bottom:solid 1px #000000;
    margin-top: 30px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    
}*/

section {
    border-bottom:solid 1px #D8DEE4;
    margin-top: 30px;
    margin-bottom: 50px;
    padding-bottom: 50px;   
}

section h2 {
  font-weight: 600;
  font-size: 1.8rem;
  margin-top: 15px;
  padding-top: 20px;
}

section h3 {
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 4px;
  padding-top: 20px;
}

section h4 {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 35px;
  margin-bottom: 5px;
}

section p{
  max-width: 900px;    
}

section p.nolimit{
  max-width:none;
}

ul.subnavi{
    background-color: #ffffff;
    color: rgb(10, 58, 107);
    display: block;
    margin-bottom: 0;
    left: 0;
    list-style: none;   
    padding:5px 0px;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    top: 15px;
    width: 100%;
    
    /* ns. nollataan parent alueen padding */
    padding-top: 30px;
    transform: translateY(-30px);
}

ul.subnavi a{
    color: rgb(10, 58, 107);
}

ul.subnavi li{
    display: inline-block;
    padding: 3px 8px;
}

.intro {
  font-weight: 500;
  color: #275A90;
  font-size: 1.3rem;
  line-height: 1.85rem;
  letter-spacing: 0.55px;
  margin-bottom: 1.5rem;  
}

.sininen-laatikko {
  display: block;
  background-color: #f7fcff;
  color: #353535;
  font-family: 'Raleway', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8rem;
  padding: 25px;
  margin-bottom: 1rem;
}

.sininen-laatikko>p:last-of-type{
    margin-bottom: 0;
}


code {
    color:#000000;
    display: block;
    font-family: monospace;
    font-size: 1.25rem;
    background-color: #F6F8F8;
    padding: 15px;
    line-height: 2rem;
    white-space: pre-line;
}
pre {
    /*font-size: 1.25rem;*/
    
}
p code{
    background-color: initial;
    display: inline-block;
    padding: initial;  
}
pre code{
    line-height: 1rem;
}

.card{
  margin-bottom: 20px;   
}

.kuvan-pyoristetyt-kulmat {
  border-radius: 18px;
}

/* esimerkit tästä eteenpäin */
.esimerkki a{color: #275a90;text-decoration:underline;}
.esimerkki a:hover, .esimerkki a:active{
text-decoration: none;    
}

.esimerkki h3 a {
  color: #00013d;
}

.esimerkki .btnlinkki {
  border-radius: 1.75em;
  display: inline-block;
  margin-top: 1em;
  padding: .75em 1.5em;
    text-decoration:none!important;
}
.esimerkki .btnlinkki:hover, .esimerkki .btnlinkki:active{
    text-decoration:underline!important;
}
.esimerkki .btnlinkki-blue, .esimerkki .btnlinkki-blue:hover, .esimerkki .btnlinkki-blue:active, .esimerkki .btnlinkki-blue:visited, .sidebar .block .btnlinkki-blue {
  background-color: #275a90;
  color: #fff;
}

.esimerkki .btnlinkki-white {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .36);
    display: inline-block;
    font-size: .92rem;
    line-height: 1rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-decoration: none !important;
    width: 100%;
    margin-left: 3px;
    margin-right: 3px;
    background-color:#fff
}
.esimerkki .btnlinkki-smaller {
  font-size: .92rem;
  line-height: 1rem;
  margin-top: 20px;
  margin-bottom: 20px;
  text-decoration: none!important;
}
.esimerkki .btnlinkki-smaller:hover, .esimerkki .btnlinkki-smaller:active{
    text-decoration: underline!important;
}

.esimerkki .ukk-nosto {
  display: block;
  border-radius: 18px;
  box-shadow: 0px 0px 5px rgba(0,0,0,.36);
  font-size: .9rem;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px !important;
  padding: 10px 20px;
}
.esimerkki .ukk-title {
    margin: .5rem 0;
    padding: 0 !important;
    position: relative;
    font-size:1.15rem
}

.esimerkki .ukk-title a {
    display: block;
    padding-right: 30px !important;
    position: relative;
    z-index:1
}

.esimerkki .ukk-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index:10
}

.esimerkki .ukk-title-link .ukk-icon .svgiconst0 {
    fill: #1ba2e1;
    animation:ukkiconbg .5s linear
}

.esimerkki .ukk-title-link.collapsed .ukk-icon .svgiconst0 {
    fill: #285a90;
    animation:ukkiconbg1 .5s linear
}

.esimerkki .ukk-title .ukk-icon .svgiconst1 {
    fill: #fff;
    transition-property: all;
    transition-timing-function: ease-in-out;
    transition-duration: .1s;
    transition-delay: .1s;
    transform-origin:center center
}

.esimerkki .ukk-title-link.collapsed .ukk-icon .svgiconst1 {
    transform: rotate(0deg);
    transition-duration:.3s
}

.esimerkki .ukk-title-link .ukk-icon .svgiconst1 {
    transform:rotate(-45deg)
}

@keyframes ukkiconbg {
    from {
        fill:#285a90
    }

    to {
        fill:#1ba2e1
    }
}

@keyframes ukkiconbg1 {
    from {
        fill:#1ba2e1
    }

    to {
        fill:#285a90
    }
}

.esimerkki .ukk-content {
    padding: 1em;
    padding-top: 1.5em;
    line-height:1.4
}

.esimerkki .ukk-content ul {
    padding-left:.8em
}

.esimerkki .ukk-content li {
    line-height: 1.4;
    margin-bottom:.75em
}

.esimerkki .ukk-content img {
    margin-top: .5em;
    margin-bottom:.5em
}
.esimerkki .form-control {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.esimerkki .form-control:focus {
color: #495057;
background-color: #fff;
border-color: #80bdff;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.esimerkki textarea.form-control {
height: auto;
}
.form-check-input {
margin-top: 0.5rem;
}
.form-check-inline .form-check-input {
transform: translateY(-2px);
}
.esimerkki button[type="submit"]{
    -webkit-appearance: none;
    appearance: none;
    border: solid 2px #275a90;
    border-radius: 1.5em!important;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    letter-spacing: .8px;
    margin: 0 5px;
    background-color: #275a90;
    color: #fff;
    margin:0;
    padding-bottom: .2em!important;
    padding-top: .2em!important;
    /*padding-left: 1.5em!important;
    padding-right: 1.5em!important;*/
}
.esimerkki button[type="reset"]{
     -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    border: solid 2px #275a90;
    border-radius: 1.5em!important;
    color: #275a90;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    letter-spacing: .8px;
    margin: 0 5px;
    margin:0;
    padding-bottom: .2em!important;
    padding-top: .2em!important;
   /* padding-left: 1.5em!important;
    padding-right: 1.5em!important;*/
}
.esimerkki table {
    margin: 20px;
max-width: 800px;
}
.esimerkki table {
font-size: 90%;
padding: 5px;
border: solid 1px #c1c1c1;
border-collapse: collapse;
}
.esimerkki table tr:nth-child(odd) {
    background:rgba(200, 200, 200, .2)
}

.esimerkki table td {
    padding: 5px;
    border:solid 1px #c1c1c1
}

.esimerkki table td p {
    margin:0
}
.esimerkki table.styled-table{
font-family: 'Noto Sans','Trebuchet MS','Helvetica Neue',Arial,sans-serif;
 
margin: 20px 0px;
max-width: none;
min-width: 668px;
       letter-spacing: 0.5px;
width: 100%;
}
.esimerkki .styled-table thead tr {
background-color: #EFF9FF;
color: #275A90;
text-align: left;
/* border: solid 1px #00f7ff; */
}

.esimerkki table.styled-table tbody>tr:nth-child(odd) {
    background:rgba(200, 200, 200, .2)
}
.esimerkki table.styled-table thead+tbody>tr:nth-child(odd) {
    background:rgba(255, 255, 255, 0.2)
}
.esimerkki table.styled-table thead+tbody>tr:nth-child(even) {
    background:rgba(200, 200, 200, .2)
}

.esimerkki table.styled-table td, .esimerkki .styled-table thead td, .esimerkki .styled-table thead th {
    padding: 9px 15px;
    border:solid 1px #c1c1c1
}
.esimerkki table.styled-table{
    border-bottom: solid 3px #275a90;
}
.esimerkki table.styled-table td {
padding: 5px 5px;
border: solid 0px #c1c1c1;
border-bottom: solid 1px #c1c1c1;
}
.esimerkki table.styled-table thead tr{
    background-color: #275a90;
    color:#ffffff;
}
.esimerkki table.styled-table thead tr td, .esimerkki table.styled-table thead tr th{
    padding: 5px 5px;
}
@media(min-width:768px){
    .esimerkki table.styled-table td {
        padding: 10px 15px;
    }
    .esimerkki table.styled-table thead tr td, .esimerkki table.styled-table thead tr th{
       padding: 12px 15px;
    }
}
