/*
Theme Name: Glaston
Theme URI: http://wp-intra.com
Author: eeedo inc
Description: eeedo for Glaston wp-intra
Version: 0.1.0
Template: wpeeedo

fonts:
headings: font-family:'Helvetica Rounded LT W01 Bold';
plain:
font-family:'HelveticaNeueETW01-65Md';
font-family:'HelveticaNeueETW01-55Rg';
font-family:'HelveticaNeueETW01-75Bd';
*/

@import url('https://fonts.googleapis.com/css?family=Muli');
body {
  background: #f3f3f3 !important;
  font-family: 'HelveticaNeueETW01-55Rg', sans-serif !important;
}

div.clear {
  clear: both;
}

body>.container {
  margin: 30px auto 10px auto
}

body>header.header {
  background-color: white !important;
}

footer {
  margin: 10px auto 20px auto;
}

section.main-body {
  margin-top: 25px;
}

input {
  max-width: 100%;
}


/*#maintitle {border-bottom: 1px solid #e7e5df}*/

#maintitle .header_logo {
  max-height: 42px;
  margin: 25px 0px;
}

#maintitle #title-img {
  max-width: 100%;
  height: auto;
  max-height: 30px;
  margin: 0;
}

.vehicleSelectWrap label, #serviceadvice_form label, #maintenance_form label, .closeable-form label {
  color: #212121;
}

#serviceadvice_form .eeedo-customform input[type="submit"], #maintenance_form .eeedo-customform input[type="submit"] {
  background-color: #00A7C0;
  color: white;
}

#maintitle #header-intratxt {
  position: absolute;
  top: 7px;
  left: 170px;
  color: black;
  font-family: 'Helvetica Rounded LT W01 Bold', sans-serif;
}

#maintitle .loginMenu {
  min-width: 333px;
  max-height: 42px;
  margin: 19px 0px 0;
  float: right;
  text-align: right;
}

#maintitle .loginMenu .userInfo {
  display: inline-block;
  text-transform: uppercase;
  color: black;
  vertical-align: middle;
}

#maintitle .loginMenu .userInfo .fa {
  display: inline-block;
  text-transform: uppercase;
}

#maintitle .loginMenu .userInfo .userName {
  padding-left: 5px;
}

.selectedVehicle {
  color: rgb(17, 160, 164);
}

#maintitle .loginMenu .logoutLink {
  color: #fff;
  font-size: 1em;
  margin: 0 0 0 20px;
  vertical-align: middle;
  text-align: center;
  border-radius: 6px;
  height: 40px;
  display: inline-block;
  background-color: #00B0C7;
  padding: 10px;
}

#maintitle .loginMenu .logoutLink:hover, #maintitle .loginMenu .logoutLink:focus {
  background: #b8b181;
  text-decoration: none;
}

.links {
  padding: 0 10px;
}

.links a {
  font-family: 'HelveticaNeueETW01-55Rg', sans-serif;
  font-size: 16px;
  color: #000;
  display: block;
  line-height: 1.9em
}

.links a:hover {
  color: #000;
  text-decoration: underline;
}

.links a:visited, .links a:active {
  color: #000;
}

.links .menu-paavalikko-container {
  background-color: #fff;
  padding: 10px 20px;
  border: #e7e5df 1px solid;
}

.dropdown.open .fa {
  transform: rotate(180deg);
}

.dropdown .fa {
  margin-left: 5px;
}

.neutral-icon {
  color: #212121;
}

#menu-icon {
  float: right;
  margin-top: 19px;
  display: none;
  cursor: pointer;
  background-color: transparent;
  color: #fff;
  padding: 10px 8px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

#menu-icon.active {
  background-color: #a7a174;
}

#menu-icon .menu-icon-line {
  width: 24px;
  height: 4px;
  margin-bottom: 4px;
  background-color: black;
  overflow: hidden;
  border-radius: 1px;
}

#logoutMobile {
  display: none;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
  background: transparent;
  color: #666;
}

ul#menu-paavalikko>li {
  border-top: 1px solid #dadada;
  padding: 10px 0;
}

ul#menu-paavalikko>li:first-child {
  border-top: 0
}

ul#menu-paavalikko>li:first-child {
  border-top: 0
}

ul#menu-paavalikko>li>a>i {
  display: none;
}

ul#menu-paavalikko>li>.submenu>li>a {
  font-size: 14px;
  padding-left: 14px;
}

.menu ul.submenu {
  padding-left: 0;
}

.mainmenu-select {
  position: absolute;
  background-color: #f2f2f2;
  z-index: 2;
  width: 100%;
  border: #e7e5df 1px solid;
}

.mainmenu-select.active {}

.mainmenu-select div.menucars {
  overflow-y: hidden;
  overflow-x: hidden;
  max-height: 240px;
}

#mainmenu-carSelect.active div.menucars {
  overflow-y: auto;
}

.mainmenu-select li {
  padding: 8px;
  cursor: pointer;
}

.mainmenu-select li.placeholder>i {
  float: right;
  margin: 5px;
}

.mainmenu-select li.placeholder>.menufilter {
  background: transparent;
  border: none;
  width: 80%;
}

.intrapage {
  padding: 0 15px;
  min-height: 250px !important;
}

.intrapage p {
  font-family: 'Muli', sans-serif;
  color: #4d4d4d;
  margin: 12px;
}

.intrapage .block {
  background-color: #fff;
  padding: 10px 20px;
  margin: 20px 0;
  border: 1px solid #efefef;
}

.intrapage h1, .intrapage h2 {
  color: #212121;
  padding: 0;
  font-family: 'Helvetica Rounded LT W01 Bold', sans-serif;
  font-weight: normal;
}

.intrapage h3, .intrapage h4 {
  color: #333;
  padding: 0;
  font-family: 'Helvetica Rounded LT W01 Bold', sans-serif;
  font-weight: normal;
}

.intrapage h2 {
  margin: 0 0 20px 0;
  font-size: 30px;
}

.intrapage h3 {
  margin: 16px 0 7px 0;
  font-size: 18px;
}

.intrapage h4 {
  margin: 10px 0 5px 0;
  font-size: 15px;
}

.intrapage .content {
  background-color: transparent;
  padding: 0;
}

.intrapage a {
  color: #000;
  text-decoration: none;
}

.intrapage a:hover {
  color: #a60000;
  text-decoration: none;
}

.intrapage a:visited, .intrapage a:active, .intrapage a:focus {
  text-decoration: none;
}


/* viat ja kunnossapito */

h2.hanurTitle {
  margin-top: 10px !important;
  font-size: 22px
}

.add_new_task_btn {
  background-color: #00A7C0;
  color: white;
}

.add_new_task_btn:hover {
  background-color: #07c7e4;
  transition: background-color 0.5s
}

.add_new_kunnossapito_btn {
  background-color: #00A7C0;
  color: white !important;
  font-size: 17px;
  max-width: 250px;
  text-align: center;
  margin: 15px 15px 0 15px !important;
  padding: 10px !important;
}

#alt_list_result {
  padding-left: 15px;
}

#alt_list_result .eeedo-taskduedate {
  font-size: 0.8em;
}

.add_new_vikailmoitus_btn {
  background-color: #00A7C0;
  color: black !important;
  font-size: 17px;
  max-width: 250px;
  text-align: center;
  margin: 15px 15px 0 15px !important;
  padding: 10px !important;
}

.kunnossapito-label {
  color: #333 !important;
  font-weight: normal;
  cursor: pointer;
}

#carSelect {
  height: 40px;
  font-size: 18px;
}

#vikailmoitukset .add_new_vikailmoitus_btn {
  background-color: #00A7C0;
  color: white;
  font-size: 17px;
  max-width: 250px;
  text-align: center;
  margin: 15px 15px 0 15px !important;
  padding: 10px !important;
}

.showAllTasks {
  cursor: pointer;
  margin-left: 15px;
}


/* työvuorot */

#tyovuorokorttihaku {
  margin: 15px 0;
  max-width: 200px;
}

#tyovuoro-paikkakunta {
  max-width: 200px;
}

.autosijoitukset>div {
  margin: 0 10px;
}

input.vuorosub {
  background: none!important;
  border: none;
  padding: 0!important;
  font: inherit;
  cursor: pointer;
  color: #f00;
}

input:hover.vuorosub {
  color: #a60000;
}

ul#tyovuorokortit {
  list-style: none;
  padding: 0;
}

ul#tyovuorokortit>li {
  font-size: 1.2em;
  margin: 6px 0;
}

ul#tyovuorokortit>li>a {
  display: block;
  border: 1px #f3f3f3 solid;
  padding: 7px;
  background-color: #f9f9f9
}

#lataavuoropdf {
  white-space: normal;
  text-align: left;
}


/* autosijoitukset */

#autosijoitukset-table {
  width: 100%;
}

#autosijoitukset-table thead {
  font-weight: bold;
}

#autosijoitukset-table td {
  padding: 2px 5px
}

#autosijoitukset-table tbody tr:nth-child(odd) {
  background-color: #fafafa
}

#autosijoitus-valinta label {
  margin: 11px;
}

#autosijoitus-valinta label input {
  margin-right: 5px;
}

#autosijoitus-valinta .paivitetty {
  float: right;
  margin: 10px;
  font-size: 0.85em;
  color: #888;
  padding: 5px;
}

#autosijoitus-valinta .paivitetty.outdated {
  background: #f00;
  color: #fff;
}


/* ohjeet */

.ohje-box h4 a {
  display: block;
}

#ohje-pdf-link {
  margin: 0 0 15px 15px;
}

select#ohje-dropdown {
  margin: 0 0 15px 0;
}


/* tiedotteet */

.tiedote_box {
  padding: 1em;
  border: #e7e5df 1px solid;
  float: left;
  width: 100%;
  background-color: #fff;
}

.tiedote {
  width: 265px;
  height: auto;
  display: block;
  border: 0px solid #f2f2f2;
  margin-bottom: 20px;
  overflow: hidden;
}

.tiedote_img {
  margin: -1em;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 1px solid #e7e5df;
}

.tiedote_img img {
  max-width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.tiedoteTags {
  display: none;
}

.tiedoteTags, .tiedoteText {
  padding-bottom: 5px;
}

.tiedoteTag {
  display: inline-block;
  font-size: 0.8em;
  color: #fff;
  background-color: #f00;
  padding: 2px 10px;
  margin-right: 10px;
  margin-bottom: 5px;
}

h3.tiedoteTitle {
  margin-bottom: 10px;
  margin-top: 0;
}

.tiedoteLightBox .tiedoteTags {
  display: block;
  padding: 10px 0;
}


/* tiedotteiden työvuorot */

.tiedote_kortit {
  background-color: #fff;
  padding: 10px 20px;
  border: #e7e5df 1px solid;
}


/* aspatehtävät */

#aspaTehtForm label {
  line-height: 1;
}

#aspaTehtForm input, #aspaTehtForm textarea, #aspaTehtForm select {
  max-width: 100% !important;
  width: 100%;
  padding: 5px;
}

#aspaTehtForm input[type="checkbox"] {
  max-width: 20px;
  width: 20px;
  height: 20px;
  display: inline-block;
  min-width: 20px;
  vertical-align: middle;
  margin-top: 0;
  margin-right: 10px;
}

#aspaTehtForm input[type="submit"] {
  max-width: 300px;
  background-color: #ff0000;
  position: relative;
}

#aspaTehtForm input[type="submit"].loading {
  background-color: #ccc;
  color: #ddd;
  cursor: default;
}

#aspaTehtForm textarea {
  min-height: 134px;
}

#aspaTehtForm p {
  margin: 10px 0;
}

#aspaTehtForm .delegateToWrap {
  display: none;
}

.ui-state-focus {
  background: #fafafa !important;
}

#aspatehtavat .eeedo-tags, #aspatehtavat .eeedo-taskduedate {
  display: inline-block;
  font-weight: normal;
  width: auto;
  color: #6d6d6d;
}

#aspatehtavat .eeedo-tasktitle {
  display: block;
  font-size: 1.5em;
}

#aspatehtavat .eeedo-task {
  background-color: #f1ecec;
  padding: 10px;
  margin-bottom: 2px;
}

#aspatehtavat .eeedo-taskstatustitle {
  background: transparent;
  color: #000;
  font-family: inherit;
  margin-bottom: 0;
}

#aspatehtavat h2.hanurTitle, #extendedEeedoTaskList h2.hanurTitle {
  margin: 0 0 20px 0;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  color: #ff0000;
}

#aspatehtavat h2.hanurTitle:before, #extendedEeedoTaskList h2.hanurTitle:before {
  content: " ";
  transform: rotate(0deg);
  border-style: solid;
  width: 10px;
  display: inline-block;
  margin-right: 10px;
  border-width: 10px 10px 0 10px;
  border-color: #ff0000 transparent transparent transparent;
}

#aspatehtavat h2.hanurTitle.collapsed:before {
  transform: rotate(270deg);
}


/* omat tehtävät */

.ownTasks .todoTasks {
  display: none;
}

.ownTasks .eeedo-tags, #aspatehtavat .eeedo-taskduedate {
  display: inline-block;
  font-weight: normal;
  width: auto;
  color: #6d6d6d;
}

.ownTasks .eeedo-tasktitle {
  display: block;
  font-size: 1em;
}

.ownTasks .eeedo-task {
  background-color: #f1ecec;
  padding: 10px;
  margin-bottom: 2px;
}

.ownTasks .eeedo-taskstatustitle {
  background: transparent;
  font-family: inherit;
  margin: 20px 0;
}

.ownTasks .eeedo-taskstatustitle {
  cursor: pointer;
  padding: 0;
  line-height: 1;
  color: #ff0000;
}

.ownTasks .eeedo-taskstatustitle:before {
  content: " ";
  transform: rotate(0deg);
  border-style: solid;
  width: 10px;
  display: inline-block;
  margin-right: 10px;
  border-width: 10px 10px 0 10px;
  border-color: #ff0000 transparent transparent transparent;
}


/* login page */

.loginpage {
  float: none !important;
  margin: auto;
}

.loginpage .eeedo-loginform {
  width: 100%;
  margin: 0 auto;
  font-family: 'Muli', sans-serif;
  border: #e7e5df 1px solid;
  background-color: #fff
}

.loginpage .eeedo-loginform form {
  margin: auto;
  max-width: 80%;
  padding-top: 30px;
}

.loginpage .eeedo-loginform input[type="text"], .eeedo-loginform input[type="password"] {
  width: 100%;
  padding: 10px 5px;
}

.loginpage .eeedo-loginform button, .eeedo-customform input[type="submit"] {
  width: 100%;
  background-color: #00A7C0;
  color: white;
  font-size: 17px;
  text-transform: uppercase;
}

.loginpage ul.error-list {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  color: #f00;
  font-size: 1.4em;
  font-weight: 900;
}

.loginpage ul.error-list>li {
  margin: 5px 0;
}

.loginpage input.error {
  border: 1px solid red;
}

.loginpage .logoutButton {
  color: #fff;
  background-color: #f00;
  padding: 20px 40px;
  display: block;
  width: 200px;
  margin: 0 auto;
}

.loginpage .logoutButton:hover {
  color: #fff;
}


/* modals/lightbox */

#vikailmoitusForm button.close, #kunnossapitotyoForm button.close {
  float: right !important;
}

#eeedoAddUserForm button {
  background-color: #e31600;
}

.eeedo-adduserform, #eeedoUserlist {
  padding: 20px 20px 30px;
  background: #fff;
}


/* for kunnossapito changes */

.options-flex {
  display: flex;
  flex-wrap: nowrap;
}

.option-flex, .meta-flex {
  flex-basis: 50%;
}
