﻿body {
    font-family: Myriad-pro, myriad, Helvetica Neue Light, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

#sortable {
    list-style-type: none;
    padding-inline-start: 0px;
}

.course-cardlist-item {
    float: left;
    /*flex-basis: 33%;*/
    margin-bottom: 40px;
}
/*
          .createNew:focus{
              box-shadow: none;
          }*/

tr {
    word-break: break-all;
}

*, *:focus, *:hover {
    outline: none;
}

.pagebody * {
    outline: none;
}

.group-button {
    float: right;
}


header {
    position: absolute;
    width: 100%;
    z-index: 1;
    padding-bottom: 6px;
    background: linear-gradient( to bottom, rgba(18,18,18,1) 0%, rgba(18,18,18,0.93) 31%, rgba(18,18,18,0.69) 68%, rgba(18,18,18,0) 100% );
}


.btn-secondary {
    background-color: #6c757d;
}

main::-webkit-scrollbar {
    display: none;
}

body {
    overflow: hidden;
}


main {
    color: #D2DAE2;
    height: 100vh;
    overflow: auto;
    -ms-overflow-style: none;
}

table {
    width: 100%;
    padding: 0.5rem;
}

.datacontainer {
    border-radius: 0px;
    /*min-height: 13em;*/
    width: 20rem;
    word-break: break-all;
    /*min-width: 11em;*/
    /*flex-grow: 1;*/
    color: black;
    cursor: pointer;
    transition: box-shadow 0.2s ease-in-out;
}

    .datacontainer:hover {
        box-shadow: 0 0 15px 0px rgba(0,0,0,0.15);
    }

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 10px;
    text-align: center;
}

.classnumber {
    font-size: 15px;
}

.buttonset {
    position: absolute;
    bottom: 2em;
}

.green {
    background-color: limegreen;
}

.yellow {
    background-color: yellow;
}

.red {
    background-color: orangered;
}

.gray {
    background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiM2NTY2Njg7ZmlsbC1ydWxlOmV2ZW5vZGQ7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5yaGZzaHhkbjwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTEsMnY5SDJ2Mmg5djloMlYxM2g5VjExSDEzVjJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMiAtMikiLz48L3N2Zz4=);
    background-color: darkgray;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}

#site-logo {
    display: block;
    width: 155px;
    height: 50px;
    position: relative;
}

    #site-logo:after {
        display: block;
        content: "";
        left: 5px;
        top: 2px;
        right: 5px;
        bottom: 2px;
        position: absolute;
        background: url(../img/EDUkustannus_NEGA.png) center center no-repeat;
        background-size: contain;
    }

.navbar {
    /*background: rgb(169,194,63) url(../img/banner_2019.jpg) center center no-repeat;*/
    background-color: #00a0e1 !important;
/*    background-image: url(../img/bannerssa.jpg);
    background-repeat: no-repeat;*/
    background-size: 100%;
    background-position-x: center;
    background-position-y: center;
}

/* Määritykset navbarin nappuloille alkaa */

.navbar .btn {
    padding: 8px 12px;
    margin: 5px;
    font-size: 14px !important;
}

/* Määritykset navbarin nappuloille loppuu */

.form-container {
    flex: 0 0 25%;
}

.lists-container {
    flex: 0 0 75%;
}


/* Logout / uloskirjautumisnappi alkaa */

#logout {
    border-radius: 5px !important;
    border: 1px solid #263453;
    background-color: #263453;
    font-family: 'Objektiv Mk1',sans-serif;
    outline: 1px solid #263453;
    transition: outline 0.2s ease 0s;
}

#logout:hover {
    background-color: #263453;
    outline: 2px solid #ffffff;
}

/* Logout / uloskirjautumisnappi loppuu */

/* Navbarin "kutsu opettaja" ja "syötä koodi"-napin ulkoasu alkaa */

.teacher-submit-code-button, .teacher-enter-code-button {
    border-radius: 5px !important;
    border: 1px solid #263453;
    background-color: #263453 !important;
    font-family: 'Objektiv Mk1',sans-serif;
    outline: 1px solid #263453;
    transition: outline 0.2s ease 0s;
}


    .teacher-submit-code-button:hover, .teacher-enter-code-button:hover {
        background-color: #263453 !important;
        outline: 2px solid #ffffff;
    }

/* Navbarin "kutsu opettaja"-napin ulkoasu loppuu */

/* Kutsu opettaja modalin "lähetä-nappi" alkaa */

#send-invite-submit-button {
    background-color: #00a0e1;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}
#send-invite-submit-button:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: inset 0 1px 2px 0px rgba(0, 160, 225, 1), inset 0 20px 20px -20px rgba(255,255,255,1);
    transition: all 0.2s ease-in-out;
}

/* Kutsu opettaja modalin "lähetä-nappi" loppuu */

/* Tooltip muotoilut (fontawesome) alkaa */

.tooltip-inner {
    background-color: white !important;
    color: black !important;
    border: 1px solid #ccc;
}

.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: white !important;
}

.tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: white !important;
}

.tooltip.bs-tooltip-left .arrow::before {
    border-left-color: white !important;
}

.tooltip.bs-tooltip-right .arrow::before {
    border-right-color: white !important;
}

/* Tooltip muotoilut (fontawesome) loppuu */

/* Submitgroup-sivun kortin (liittymiskoodi) muotoilu alkaa */

.invite-card {
    background-color: #00a0e1 !important; 
}

/* Submitgroup-sivun kortin (liittymiskoodi) muotoilu loppuu */

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .list-group-item span {
        flex-grow: 1;
    }

.btn-group {
    display: flex;
    gap: 10px; /* Lisää väli nappeihin */
}


/* Bootstrap tagsinput muotoilut alkaa */

.bootstrap-tagsinput {
    width: 100%;
   
}

    .bootstrap-tagsinput .tag {
        margin-right: 3px;
        margin-left: 3px;
        padding-left: 10px; /* Lisää vasemman reunan sisennystä */
        color: white;
        background-color: #00a0e1;
        padding: 2px;
        border-radius: 3px;
        display: inline-block;
        animation: bounceIn 0.5s ease forwards, fadeIn 1s ease 0.5s forwards; /* Animaatiot */
    }

/* Bounce-efekti animaation alussa */
@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Lopullinen tila kevyellä "fade-in" -efektillä */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bootstrap tagsinput muotoilut loppuu */

/* Modalin ryhmävalinta-dropdownin tyylit */
.modal-group-select {
    width: 50%;
    padding-left: 10px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background-color: #fff;
    font-size: 16px;
    color: #495057;
    margin-top: 10px;
    margin-bottom: 15px;
    appearance: none; /* Piilottaa oletusnuolen */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="gray" d="M7 10l5 5 5-5z"/></svg>'); /* Mukautettu nuoli */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px; /* Suurempi nuolen koko */
}


    /* Fokus-tila */
    .modal-group-select:focus {
        border-color: #00a0e1;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        outline: none;
    }

    /* Valittu tila */
    .modal-group-select option:checked {
        background-color: #00a0e1;
        color: #fff;
    }

/* Vahvistusmodalin yleinen tyyli */
#confirmationModalUnique .confirmation-modal-content {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    background-color: #e0f4fb;
    border: 2px solid #00a0e1;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#confirmationModalUnique .confirmation-modal-header {
    background-color: #00a0e1;
    color: white;
    border-bottom: 1px solid #00a0e1;
    padding: 1rem;
}

#confirmationModalUnique .modal-title {
    font-weight: bold;
}

#confirmationModalUnique .modal-body {
    font-size: 1.1rem;
    color: #004c70;
    text-align: center;
    padding: 1.5rem;
}

#confirmationModalUnique .modal-footer {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.modal-lg {
    max-width: 1200px;
    
}

.modal-body {
    display: flex;
}

.modal-body-code {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.form-container {
    flex: 0.6;
}

.lists-container {
    flex: 1;
    padding-left: 20px;
    border-left: 2px solid #ddd;
}

/* Skrollattava lista */
.list-scrollable {
    max-height: 295px; /* Rajoitettu korkeus, jotta lista pysyy hallittavana */
    overflow-y: auto;
    margin-top: 1rem;
}

.fa-info-circle { /* Tooltip opettajalle, joka on yksin ryhmässä */
    cursor: pointer !important;
    color: #dc3545; /* Red color */
    margin-left: 10px !important;
}

/* Vahvistusmodalin yleinen tyyli loppuu */

/*
			.container-joka-rajoittaa-sivun-leveyden?
			{
				max-width:1170px;
			}
		*/

ul.jaksot-container {
    margin: 0px;
    padding: 10px;
    padding-bottom: 0;
}

.jaksot-container > li {
    cursor: pointer;
    display: block;
    border: 1px solid #666;
    border-radius: 30px;
    width: 11px;
    height: 11px;
    position: relative;
    margin-left: 8px;
    overflow: visible;
}

    .jaksot-container > li:first-child {
        margin-left: 0;
    }

    .jaksot-container > li:after {
        display: block;
        content: "";
        position: absolute;
        left: -7px;
        top: 4px;
        height: 0px;
        width: 4px;
        border-top: 1px solid #aaa;
    }

    .jaksot-container > li:first-child:after {
        display: none;
    }

.card-info-text {
    margin-top: 5px;
    text-align: center;
    color: #a0a0a0;
    height: 15px;
    line-height: 15px;
}

.card-info-cover {
    background: url() center center no-repeat;
    background-size: cover;
    height: 20em;
}

.course-cardlist-item h5 {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
}

.course-cardlist-item h6 {
    color: #888;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

a.card-action-button {
    display: inline-block;
    color: #2798eb;
    background-color: #fff;
    border: 2px solid #2798eb;
    line-height: 36px;
    padding: 0 5px;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    width: 48%;
    margin-left: 2%;
    margin-top: 10px;
    margin-bottom: 5px;
    float: right;
}

    a.card-action-button:first-child {
        margin-left: 0;
        margin-right: 2%;
        float: left;
    }

    a.card-action-button:hover {
        background-color: rgba(39, 152, 235, 1);
        color: #fff;
    }


#sortable {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}




.ellipsis,
.card-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taulukkonappi {
    width: 100%;
    min-width: 4.5em;
}


/*body #modalDiv {
    border-radius: 50px;
    background-color: slategray;
    max-width: 50vw;
    max-height: 20vh;
    position: absolute;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    display: inline-block;
}
#modalDiv > p {
    padding: 5em*/
/*    transform: translate(-50%, -50%);*/
/*}*/


#refresh-button {
    display: none !important;
    height: auto !important;
    width: auto !important;
    font-size: initial !important;
    position: static;
    margin-right: 40px;
    top: 121px;
    left: 265px;
    margin-right: 40px !important;
    border: none;
    padding: 7px 14px 7px 14px;
    box-shadow: 1px 1px 2px #7a7a7a;
    font-family: 'objektiv-mk1';
    font-size: 14px !important;
}

.newdataavailable #refresh-button {
    display: block !important;
    position: absolute;
    top: 121px;
    left: 265px;
    /*position: relative;
    top: initial;
    left: initial;
    animation: mymove 1s infinite;*/
}

/*@keyframes mymove {
    0% {
        bottom: -200px;
        background-color: red;
    }

    25% {
        bottom: -100px;
        background-color: greenyellow;
    }

    50% {
        bottom: 0px;
        left: 100px;
        background-color: deepskyblue;
    }

    75% {
        bottom: -400px;
        background-color: yellow;
    }

    100% {
        bottom: -300px;
        background-color: ghostwhite;
    }
}*/
























/*



#sortable {
    list-style-type: none;
    padding-inline-start: 0px;
}

#sortable li {
    float: left;
    margin-bottom: 10px;
}

tr {
    word-break: break-all;
}


.group-button {
    float: right;
}

header {
    position: absolute;
    width: 100%;
    z-index: 1;
    padding-bottom: 50px;
    background: linear-gradient( to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.93) 31%, rgba(255,255,255,0.69) 68%, rgba(255,255,255,0) 100% );
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; 
    background: linear-gradient( to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.93) 31%, rgba(255,255,255,0.69) 68%, rgba(255,255,255,0) 100% );
    z-index: 1;
}


main::-webkit-scrollbar {
    display: none;
}

body {
    overflow: hidden;
    height: 100vh;
}

main {
    color: #D2DAE2;
    height: 100vh;
    overflow: auto;
    -ms-overflow-style: none;
}

table {
    width: 100%;
    padding: 0.5rem;
}

.datacontainer {
    border-radius: 15px;
    width: 15rem;
    word-break: break-word;
    color: black;
    cursor: pointer;
}

#datacontainer-tasks {
    border-radius: 15px;
    min-height: 15em;
    width: 15em;
    color: black;
    cursor: pointer;
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 10px;
    text-align: center;
}

.classnumber {
    font-size: 15px;
}

.buttonset {
    position: absolute;
    bottom: 2em;
}

.green {
    background-color: limegreen;
}

.yellow {
    background-color: yellow;
}

.red {
    background-color: orangered;
}

.gray {
    background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiM2NTY2Njg7ZmlsbC1ydWxlOmV2ZW5vZGQ7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5yaGZzaHhkbjwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTEsMnY5SDJ2Mmg5djloMlYxM2g5VjExSDEzVjJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMiAtMikiLz48L3N2Zz4=);
    background-color: darkgray;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}

.taulukkonappi {
    width: 100%;
    min-width: 4.5em;
}



*/



































































/*/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. * /

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background * /
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- * /
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- * /
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height * /
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there * /
}*/























/*20200513*/

body {
    margin: 0;
    padding: 0px;
    font-family: myriad-pro, arial, sans-serif;
    font-size: 16px;
}

    body * {
        box-sizing: border-box;
    }

.pagebody {
    /*padding: 20px;*/
    margin-top: 75px;
}


div.selectkirjasarja {
    background-image: url(../img/banner_v3_vaaleahko_vaalsin.jpg);
    background-repeat: repeat;
    background-size: 100%;
    /*background-position-x: left;*/
    background-position-y: center;
    background-color: #ffffff;
    margin: 0;
    width: 100%;
    height: 250px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.selectkirjasarja {
    margin-bottom: 20px;
    overflow: hidden;
    height: 200px;
}

.selectkirjasarja-img {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    padding-right: 30px;
    border: 7px solid white;
    box-shadow: 0px 1px 5px #888888;
}


.selectkirjasarja-actions {
    float: left;
}

.selectkirjasarja-title, .dialog-title {
    font-size: 40px;
    font-family: objektiv-mk1, sans-serif;
    color: #263453;
    margin: auto;
    padding-left: 30px;
}

.dialog-title {
    font-size: 18px  !important;
    font-family: objektiv-mk1, sans-serif;
    color: #fff;
    margin: auto;
    padding-left: 30px;
}

.select-title {
    font-size: 16px;
    
}

.selectkirjasarja-change {
    display: inline-block;
    font-size: 14px;
    padding-right: 15px;
    padding-left: 15px;
    height: 100px;
    border-top: 3px solid transparent;
}

.studentcontainer {
    width: 150px;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #00a0e1;
}

.studentcol {
    height: 26px;
    margin: auto;
    padding: 3px;
    color: #00a0e1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .studentcol:nth-child(odd) {
        background-color: #f3f3f3;
    }

.chaptercol {
    width: calc(100% - 150px);
    float: left;
    height: 500px;
    max-height: 80vh;
}

.chaptercol-scrollbar {
}

.chaptercolcontainer {
    overflow: hidden;
    width: 100%;
    /*background-color:rgba(0,24,100,0.1);*/
}

.chapterrow {
    height: 26px;
    overflow: hidden;
}

    .chapterrow:nth-child(odd) {
        background-color: #f3f3f3;
    }

.progresscol {
    height: 40px;
    overflow: hidden;
    line-height: 40px;
    float: left;
    font-size: 14px;
    position: relative;
    box-sizing: border-box;
    padding-left: 5px;
}
.chapterrow:not(.headerrow) .progresscol{
    padding-left: 2px;
}
/*.chapterrow:not(.headerrow) .progresscol:hover:after {
    display: block;
    content: "Napauta solua nähdäksesi tarkemmat tiedot.";
    text-align: center;
    position: fixed;
    right: 0;
    margin: auto;
    height: 40px;
    bottom: 0;
    width: 100%;
    background-color: #00a0e1;
    color: #fff;
    z-index: 66666;
    transition: all 0.8s ease-in-out;
    
}*/
#cell-info-footer {
    display: none;
    text-align: center;
    position: fixed;
    right: 0;
    margin: auto;
    height: 40px;
    bottom: 0;
    width: 100%;
    background-color: #00A0E1;
    color: #fff;
    z-index: 66666;
    line-height: 40px;
}

#cell-info-footer-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 7px;
    border-radius: 20px;
    background-color: white;
    border: none;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 14px;
    color: #00A0E1;
    width: 20px;
    height: 20px;
    outline: none;
}

    #cell-info-footer-button:active{
        border:none;
        outline:none;
    }
    #cell-info-footer-button:visited {
        border: none;
        outline: none;
    }

    .progresscol:hover > .progressbar {
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
    }

.chaptercolcontaineroffset {
    margin-left: 0;
}

.steppingcontainer {
    /*float: right;*/
    /*margin: auto;*/
    overflow: hidden;
    color: #00a0e1;
    font-size: 12px;
    font-family: objektiv-mk1, sans-serif;
    /*margin-top: 27px !important;*/
    line-height: 20px;
    width: 100%;
    height: 32px;
    display: flex;
    flex-direction: row;
    padding-right: 30px;
    justify-content: flex-end;
    align-items: center;
    align-self: flex-end;
}

    .steppingcontainer .step {
        font-size: 18px;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }

#progressTableContainer {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: -10px;
}

.selectjaksocontainer .selectstep{
    line-height: 24px;
}
.group-code-container .next-group-code-button{
    line-height: 24px;
}
.groupactionscontainer .add-group-button{
    line-height:24px;
}


.step, .selectstep, .add-group-button, .show-group-code-button, .next-group-code-button, .save-group-button, .save-new-code-button, .ok-button, .submit-code-button, #refresh-button {
    background-color: #00a0e1;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}


.steppingcontainermargin {
    height: 32px;
}


.add-group-button {
    margin-left: 5px !important;
    margin-right: 0px !important;
}

.save-group-button, .save-new-code-button, .ok-button {
    width: auto;
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-top: 20px;
}

#save-group-error {
    display: none;
    margin-top: 20px;
    background-color: #00a0e1 !important;
    color: #fff !important;
}

.next-group-code-button:after {
    display: inline-block;
    content: "";
    width: 15px;
    height: 15px;
    background: url(../img/redo.svg) center center no-repeat;
    background-size: contain;
}

body.outofgroupcodes .next-group-code-button {
    display: none !important;
}

.selectstep {
    float: left;
}

.show-group-code-button {
    display: none;
}

.add-group-button, /*.next-group-code-button,*/ .show-group-code-button {
    float: left;
    margin-left: 5px;
    line-height: 30px;
}

.group-name-container, .group-code-container {
    overflow: hidden;
}

    .group-name-container > div {
        float: left;
        margin-left: 5px;
    }

        .group-name-container > div:first-child {
            margin-left: 0;
        }

.group-code-container, .group-name-container {
    margin-top: 10px;
}

    .group-code-container > div:not(.next-group-code-button) {
        float: left;
        margin-left: 10px;
    }

        .group-code-container > div:first-child {
            margin-left: 0;
            padding: 4px;
            padding-left: 0;
        }

#codeInputField {
    width: 40%;
}

.group-code {
    background-color: #f0f0f0;
    padding: 4px;
    color: #808080;
    border-radius: 3px;
}


a.selectstep:hover, a.step:hover, .add-group-button:hover, .show-group-code-button:hover, .next-password-button, .submit-code-button, #refresh-button:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: inset 0 1px 2px 0px rgba(0, 160, 225, 1), inset 0 20px 20px -20px rgba(255,255,255,1);
    transition: all 0.2s ease-in-out;
}

a.step.disabled, a.selectstep.disabled {
    opacity: 0.5;
    box-shadow: none;
}


.progressbar {
    margin-top: 6px;
    /*width: 80%;*/
    height: 13.2px;
    border: 1px solid #c0c0c0;
    border-radius: 2px;
    background-color: #ffffff;
}
    .progressbar.notrated {
        width: 45%;
    }
    /*tapahtuu silloin, kun vain yhdentyyppisiä tehtäviä kappaleessa*/
    .progressbar.single {
        width: 80% !important;
        margin-left: 0 !important;
        text-align: center !important;
    }
    .progressbar.rated {
        width: 30%;
        margin-left: 5%;
        text-align: center;
    }
        .progressbar.rated > p {
            color: black;
            font-size: small;
            margin-top: -15px;
            font-weight: 600;
        }
    .progressbar > div {
        height: 12px;
        box-shadow: inset 0 3px 3px -3px rgba(255,255,255,1), inset 0 5px 5px -5px rgba(255,255,255,1), inset 0 1px 0px -1px rgba(255,255,255,1);
    }

        .progressbar > div:nth-child(1) {
            background-color:#89bff5;/* => jos progressbarit sinisiksi*/
            /*background-color: #a1cc20; => vihreä progressbar*/
            float: left;
        }
        /*tää oli väärin vastattujen tehtävien palkki*/
        .progressbar > div:nth-child(2) {
            background-color: #cc4444;
            float: left;
        }

.headerrow {
    background-color: #00a0e1;
    color: #fff;
    height: 40px;
    line-height: 40px;
}

.studentcontainer > .headerrow {
    padding: 0;
    padding-left: 5px;
}

.headerrow > .progresscol, .studentcol.headerrow {
    background-color: #00a0e1;
    color: #fff;
}

.headerrow > .progresscol {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapterrow:not(.headerrow) .progresscol .progressbar {
    cursor: pointer;
}



.dialog {
    position: fixed;
    background-color: rgba(0,0,0,0.7);
    left: 0;
    top: 67px;
    right: 0;
    bottom: 0;
    display: none;
    color: #404040;
    z-index: 2;
}

    .dialog.active {
        display: block;
    }

.dialog-container {
    position: absolute;
    left: 60px;
    top: 60px;
    right: 60px;
    bottom: 20px;
    background-color: #fff;
    padding: 20px;
    overflow: auto;
}

.dialog-title {
    font-size: 2em;
    position: absolute;
    left: 60px;
    top: 20px;
    right: 60px;
    height: 40px;
    background-color: #00a0e1;
    padding: 0 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 44px;
    color: #fff;
    font-size: 20px;
    border-radius: 5px 0px 0px 0px;
}

.dialog-close {
    background-color: #404040;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    display: block;
    position: absolute;
    right: 45px;
    top: 10px;
    z-index: 2;
    cursor: pointer;
}

    .dialog-close:after {
        content: "✖";
    }

.selectlabel, .select-title {
    color: #00a0e1;
    font-size: 14px;
    margin-top: 10px;
    font-family: objektiv-mk1, sans-serif;
    text-align: center;
    padding-bottom: 8px;
    border: 2px solid transparent;
    padding-top: 10px;
}

   /* .selectlabel:hover, .select-title:hover {
        border-top: 2px solid #00a0e1;
        border-radius: 3px;
        padding-top: 10px;
    }*/

.groupactionscontainer {
    /* float: left;
    overflow: hidden;*/
    display: inline-block;
    padding-right: 15px;
    padding-left: 15px;
    height: 100px;
    border-top: 3px solid transparent;
}


.selectjaksocontainer {
    display: inline-block;
    padding-right: 15px;
    padding-left: 15px;
    /*margin-left: 40px;
     float: left;
    overflow: hidden;*/
    height: 100px;
    border-top: 3px solid transparent;
}

.groupactionscontainer:hover, .selectjaksocontainer:hover, .selectkirjasarja-change:hover {
    border-top: 3px solid #00a0e1;
    transition: all 0.2s ease-in-out;
}

.groupandselectcontainer {
    overflow: hidden;
    /*box-shadow: 4px 0px 5px #888888;*/
    /*margin-bottom: 10px;*/
    min-width: 728px !important;
    max-width: 2100px !important;
    /*margin: auto;*/
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.groupandselectcontainer-footer {
    overflow: hidden;
    min-width: 728px !important;
    max-width: 2100px !important;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}

.groupandselectcontainer-footer.steppingcontainer{
    margin-top: 15px;
}


/*header*/




select {
    /* General styling */
    height: 30px;
    width: 200px;
    border-radius: 0;
    padding-left: 10px;
    padding-right: 25px;
    border: 2px solid #00a0e1;
    /* Removes the default <select> styling */
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    /*-ms-progress-appearance: none;*/
    /* Positions background arrow image */
    /*background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAh0lEQVQ4T93TMQrCUAzG8V9x8QziiYSuXdzFC7h4AcELOPQAdXYovZCHEATlgQV5GFTe1ozJlz/kS1IpjKqw3wQBVyy++JI0y1GTe7DCBbMAckeNIQKk/BanALBB+16LtnDELoMcsM/BESDlz2heDR3WePwKSLo5eoxz3z6NNcFD+vu3ij14Aqz/DxGbKB7CAAAAAElFTkSuQmCC');*/
    background-image: url(../img/select_arrowdown.png);
    background-repeat: no-repeat;
    background-position: 175px center;
}





/*YLIAJOT*/

.container {
    max-width: none;
    padding: 0;
}

.question-card {
    border-radius: 3px;
    width: 100%;
    max-width: 800px;
    background-color: #f0f0f0;
    overflow: hidden;
    padding: 20px;
    font-size: 12px;
    margin-bottom: 20px;
    box-shadow: 0 0 2px 0 black;
}

.question-ok {
    border-left: 10px #a1cc20 solid;
}

.question-failed {
    border-left: 10px #cc4444 solid;
}

.question-title {
    font-family: objektiv-mk1, sans-serif;
    font-size: 16px;
    color: #00a0e1;
    margin-bottom: 10px;
}

.question-prop {
    overflow: hidden;
}

.question-prop-name {
    float: left;
    width: 110px;
}

    .question-prop-name:after {
        content: ": ";
    }

.question-prop-value {
    float: left;
}

.info {
    background-color: #f0f0f0;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-right: 70px;
}

    .info:after {
        content: "";
        display: block;
        position: absolute;
        right: 10px;
        top: 50%;
        margin-top: -25px;
        height: 50px;
        width: 50px;
        background: url(../img/info.svg) center center no-repeat;
        background-size: contain;
        opacity: 1;
    }


.details-visibility {
    cursor: pointer;
}

.details-container.detailsvisible .details {
    display: block;
}

.details-container > .details-visibility {
    display: block;
    margin-top: 20px;
    color: #2798eb;
}

.details-container.detailsvisible > .details-visibility {
    margin-bottom: 10px;
}

.details-container > .details-visibility:after {
    content: "Näytä vastaukset";
}

.details-container.detailsvisible > .details-visibility:after {
    content: "Piilota vastaukset";
}

.details-container > .details-visibility-nocontent:after {
    content: "Ei näytettäviä vastauksia";
    color: black;
    display: block;
    margin-top: 20px;
}

.details {
    display: none;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

    .details > .question-prop {
        float: left;
    }

    .details:before {
        display: inline-block;
        float: left;
        margin-right: 10px;
        content: "";
        background: #a1cc20 url(../img/ico-thumb-up.svg?i) center center no-repeat;
        background-size: contain;
        width: 20px;
        height: 20px;
        border-radius: 23px;
    }



    .details.wrong:before {
        background: #cc4444 url(../img/ico-thumb-down.svg) center center no-repeat;
        background-size: contain;
    }

#username {
    font-size: 14px;
    margin-right: 15px;
    background-color: #00a0e1;
    color: white;
    border: 1px solid #00a0e1;
    border-radius: 5px;
}


.newcode {
    font-size: 30px;
    color: #808080;
    margin-top: 20px;
}

.step{
    padding-right:5px;
    padding-left:5px;
}

a.selectstep.disabled + div, a.step.disabled + span {
    opacity: 1;
}

.best-result {
    font-weight: bold;
}

.show-group-code-button {
    font-size: 1rem;
    font-weight: bold;
}

.save-new-code-button {
    display: none;
}

    .save-new-code-button.active {
        display: inline-block;
    }

.studentcol:not(.headerrow), .chapterrow:not(.headerrow) {
    border-top: 1px solid rgba(0,0,0,0);
    border-bottom: 1px solid rgba(0,0,0,0);
}

.highlight:not(.headerrow) {
    /*border-top: 1px solid #00a0e1;
    border-bottom: 1px solid #00a0e1;*/
    background-color: #dee2e3;
}

.headerrow > .progresscol:hover {
    overflow: visible !Important;
    position: relative;
    z-index: 66666;
}

    .headerrow > .progresscol:hover > span {
        background-color: #00a0e1;
        transition: background-color 0.3s;
       

    }

    .headerrow > .progresscol:hover > span {
        overflow: hidden;
        background-color: #fff;
        color: #00a0e1;
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        padding-left: 5px;
        padding-right: 5px;
        border: 1px solid #00a0e1;
    }

    .headerrow > .progresscol:last-child:hover > span {
        
        left: auto !important;
        right:0 !important;
        
    }
