@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@900&family=Roboto:wght@400;700&display=swap');

/* 
* Variables 
*/
:root {
    --color-accent: #0073ff;
    --color-accent-hover: #0061d8;
    --color-accent-transparent: rgba(0, 115, 255, 0.3);
    --color-dark: #00171f;
    --color-light: #122938;
    --color-light-hover: #11354d;
    --color-bright: #03c4f7;
    --color-white: #ffffff;
    --color-green: #128a35;
    --color-green-hover: #1a6a31;
    --color-red: #f04770;
    --color-red-hover: #c72950;
    --dialog-gray: #b0bfc9;

    --font-family: 'Roboto', sans-serif;
    --font-family-headings: 'Poppins', sans-serif;

    --icon-size: 20px;
    --icon-margin: 5px;
}

/*
* Base
*/
body {
    background-color: #00171f;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    padding-top: 50px;
    padding-bottom: 20px;
}

.body-content {
    padding: 40px 15px;
    padding-bottom: 0;
}

button, .btn, input, .form-control {
    border: 0;
    border-radius: 0;
}

/*
* Typography
*/
a {
    transition: color 0.2s;
}

table h5 {
    font-family: 'Poppins', sans-serif;
}

/* 
* Top bar 
*/
.navbar {
    background-color: #0073ff;
    border: none;
    color: #ffffff;
}

.navbar-brand, 
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus,
.navbar a:hover, .navbar a:focus, .navbar a:active {
    text-decoration: underline;
}

/* Icons for navbar links */
.navbar-right li a:before {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: inline-block;
    height: 20px;
    margin: 0 5px;
    vertical-align: middle;
    width: 20px;
}

.navbar-right li:nth-child(2n) a:before {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M16 14a5 5 0 0 1 5 5v2a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5zM12 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cuse fill='%23000' fill-rule='nonzero' xlink:href='%23a'/%3E%3Cg mask='url(%23b)' fill='%23FFF'%3E%3Cpath d='M0 0h24v24H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.navbar-right li a#registerLink:before {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M12 14a5 5 0 0 1 5 5v2a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5zm8-7a1 1 0 0 1 1 1v2h2a1 1 0 0 1 .993.883L24 11a1 1 0 0 1-1 1h-2v2a1 1 0 0 1-.883.993L20 15a1 1 0 0 1-1-1v-2h-2a1 1 0 0 1-.993-.883L16 11a1 1 0 0 1 1-1h2V8a1 1 0 0 1 .883-.993zM8.5 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cuse fill='%23000' fill-rule='nonzero' xlink:href='%23a'/%3E%3Cg mask='url(%23b)' fill='%23FFF'%3E%3Cpath d='M0 0h24v24H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


/*
* Table columns
*/
#Pohja .table-responsive {
    border: 0;
}

#Pohja .table-responsive .table {
    background-color: transparent;
}

#Pohja .table-responsive .table td,
#Pohja table td {
    border: 0;
    padding: 0;
    padding-right: 15px;
}

#Pohja .table-responsive .table td:nth-child(2n) {
    padding: 0 40px;
}

#Pohja .files-header {
    display: flex;
}

#Pohja .files-buttons {
    display: flex;
    margin-left: auto;
    margin-right: 0;
}

/*
* Bottom options
*/
.table-bottom-options {
    align-items: center;
    border-top: 1px solid #0073ff;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding-top: 15px;
    width: 100%;
}

.table-bottom-save {
    display: flex;
    flex-direction: column-reverse;
}

.table-bottom-saved-info {
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: center;
}

.table-bottom-saved-info p {
    margin-bottom: 0;
}

@media (min-width: 770px) {
    .table-bottom-options,
    .table-bottom-save {
        flex-direction: row;
    }

    .table-bottom-saved-info {
        margin-bottom: 0;
        margin-top: 0;
        text-align: right;
    }
}

/*
* Footer
*/
footer .body-content {
    align-items: center;
    display: flex;
}
footer .body-content p {
    margin-bottom: 0;
}
footer .body-content .footer-logo {
    border: 0;
    margin-right: 40px;
    width: 80px;
}
footer a {
    color: #ffffff;
}
footer a:hover,
footer a:focus,
footer a:active {
    color: #ffffff;
}
footer .footer-links {
   margin-left: auto;
}
footer .footer-links a {
    margin-right: 40px;
}
footer .footer-links a:last-child {
    margin-right: 0;
}
footer a#tuki:before,
footer a#ohjeet:before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  margin: 0 5px;
  vertical-align: middle;
  height: 20px;
  width: 20px;
}
footer a#tuki:before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M20.625 3.75a.375.375 0 0 0-.375.375V6h-1.5V4.125a.375.375 0 0 0-.75 0v2.25c0 .207.168.375.375.375h1.875v1.875a.375.375 0 0 0 .75 0v-4.5a.375.375 0 0 0-.375-.375m-4.757 3.356.082-.027a1.9 1.9 0 0 0 1.3-1.804c0-.821-.665-1.537-1.529-1.525a1.507 1.507 0 0 0-1.471 1.5.375.375 0 0 0 .75 0c0-.406.33-.742.735-.75.42-.01.765.355.765.775 0 .496-.316.935-.787 1.092l-.082.027a2.018 2.018 0 0 0-1.381 1.917v.314c0 .207.168.375.375.375h2.25a.375.375 0 0 0 0-.75H15a1.27 1.27 0 0 1 .867-1.144zm-.56 4.396a.375.375 0 0 0-.224-.026c-2.96.565-2.71.52-2.773.524a.296.296 0 0 1-.311-.295c0-.052-.045.15.614-2.575a.375.375 0 0 0-.029-.255c-1.86-3.736.908-8.173 5.11-8.125a5.594 5.594 0 0 1 5.554 5.537c.063 4.077-4.171 6.923-7.94 5.215zM24 6.276A6.373 6.373 0 0 0 17.703 0c-4.708-.054-7.84 4.861-5.85 9.085l-.574 2.374a1.05 1.05 0 0 0 1.23 1.272l2.6-.497c4.227 1.82 8.96-1.35 8.89-5.958zM19.32 20.59l-.53.53-3.977-3.978.53-.53a.75.75 0 0 1 1.06 0l2.917 2.917a.75.75 0 0 1 0 1.06zm-2.166 2.166c-.384.384-.934.56-1.47.471-1.306-.217-2.472-.652-3.591-1.473a38.047 38.047 0 0 1-4.39-3.766c-1.989-1.99-3.508-3.423-5.457-6.08-.801-1.093-1.25-2.25-1.473-3.592a1.691 1.691 0 0 1 .471-1.47L2.35 5.74l3.977 3.978-.795.795a.375.375 0 0 0-.057.458l.434.723a18.655 18.655 0 0 0 6.397 6.397l.723.434a.375.375 0 0 0 .458-.057l.795-.795 3.978 3.977-1.106 1.106zM3.41 4.68a.75.75 0 0 1 1.061 0l2.917 2.916a.75.75 0 0 1 0 1.061l-.53.53L2.88 5.21l.53-.53zm13.524 11.402a1.5 1.5 0 0 0-2.121 0l-1.65 1.649-.47-.283a17.904 17.904 0 0 1-6.141-6.14l-.283-.471 1.65-1.65a1.5 1.5 0 0 0 0-2.121L5 4.149a1.502 1.502 0 0 0-2.12 0L.713 6.316a2.442 2.442 0 0 0-.68 2.124c.236 1.418.716 2.694 1.608 3.91 1.966 2.681 3.493 4.13 5.532 6.169a38.794 38.794 0 0 0 4.476 3.84 8.832 8.832 0 0 0 3.753 1.582c.196.032.331.059.557.059.641 0 1.265-.254 1.725-.714l2.167-2.166a1.5 1.5 0 0 0 0-2.121l-2.917-2.917z' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cuse fill='%23000' fill-rule='nonzero' xlink:href='%23a'/%3E%3Cg mask='url(%23b)' fill='%23FFF'%3E%3Cpath d='M0 0h24v24H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
footer a#ohjeet:before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M12.447 2c1.049 0 2.021.548 2.568 1.449l8.478 14.154a3 3 0 0 1-2.576 4.5H3.966a3 3 0 0 1-2.557-4.514l8.47-14.14A3.002 3.002 0 0 1 12.447 2zm0 2a1 1 0 0 0-.854.48l-8.46 14.123a1 1 0 0 0 .844 1.5h16.929a1 1 0 0 0 .863-1.486L13.302 4.48a1 1 0 0 0-.855-.48zm-.707 11.396a1 1 0 1 1 1.414 1.414 1 1 0 0 1-1.414-1.414zm.707-7.293a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1z' id='a'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cuse fill='%23000' fill-rule='nonzero' xlink:href='%23a'/%3E%3Cg mask='url(%23b)' fill='%23FFF'%3E%3Cpath d='M0 0h24v24H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/*
* Forms & inputs
*/
form input,
form select,
form textarea {
    max-width: 280px;
}

form .button {
    height: 25px;
    width: 450px;
    margin-left: -10px;
    margin-top: 2px;
    margin-bottom: 2px;
}

form .checkbox {
    height: 20px;
}

/* 
* Validation helpers
*/
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


/*
* Login & register page
*/
.form-horizontal .form-group .btn-default {
    background-color: #0073ff;
    color: #ffffff;
    height: 50px;
    transition: background-color 0.2s;
    width: 100%;
}

.form-horizontal .form-group .btn-default:hover {
    background-color: #0061d8;
}

.form-horizontal .form-group input.form-control {
    background-color: #122938;
    color: #ffffff;
}

.form-horizontal hr {
    border-color: #0073ff;
}