
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #B6E7FC;
    text-shadow: none;
}

::selection {
    background: #B6E7FC;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt for legacy IE
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}



/* ==========================================================================
   Main structure
   ========================================================================== */

.mainArea{
    width: 984px;
    margin: 0 auto;
}
/*
 * Responsive UI for bigger/better/retina displays.  TODO! test it!
 * /
@media only screen and (min-width: 1310px) {
    .mainArea {
        width: 1300px;
        margin: 0 auto;
    }
}
*/

.headerWrapper {
    margin: 0;
    color: #ccc;
    background: rgb(62, 65, 69) url('../img/txture6.png') repeat-x left bottom;
    border-top: solid 1px #4a4b46;
}
.headerWrapper .inperson {
	padding-top: 40px;
}

.tara-container {
    margin-top: 10px;
}

.tara-container a.btn {
    display: inline-block;
    padding: 13px 20px;
    font-size: 18px;
    text-shadow: none;
    margin-bottom: 10px;
    background: #e6e6e6;
    color: #069;
    box-shadow: none;
    border: black;
}

.tara-info {
    margin-bottom: 25px;
}

.person-inperson {
	position: fixed;
	z-index:99;
	top:0;
	left:50%;
	margin-left: -400px;
	width:800px;
	text-align: center;
	border-width: 5px;
	border-top-width: 1px;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	border-top-right-radius: 0;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-topright: 0;
}

.mainWrapper {
    background-color: #eee;
    background-image: url('../img/txture4.jpg');
    color: #222;
    padding-bottom:2em;
}
.mainWrapper.popup {
	padding-bottom: 0;
}

.mainWrapper .mainArea {
    width: 984px;
    background-color: #fff;
    padding: 9px;
    padding-top:26px;
    padding-bottom:40px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    border-top: solid 4px #00698c;
    position: relative;
 /*   z-index:2; */
}
.mainWrapper.popup .mainArea {
	width: auto;
	padding: 2px;
	padding-top:16px;
	padding-bottom:16px;
}
/* -- põhiala ülaosa taga olev raam---

.mainWrapper .mainArea:before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: transparent;
    border-color: #00698c;
    border-image: none;
    border-style: solid;
    border-width: 8px 8px 0;
    content: " ";
    display: block;
    height: 80px;
    left: -8px;
    position: absolute;
    top: -10px;
    width: 1006px;
    z-index: -1;
}
--- * /

.mainWrapper .mainArea.with-sidebar:before {
    background-color: #eee;
    content: " ";
    display: block;
    height: 100%;
    right: 0px;
    position: absolute;
    top: 0;
    width: 256px;
    z-index: 1;
}
--- */


.adm .mainWrapper .mainArea {
    border-top: solid 6px #ffcc00;
}

.mainWrapper .sideArea {
    margin: 0 auto;
    width: 984px;
    background-color: #32332e;
    padding: 11px;
    padding-top:36px;
    padding-bottom:40px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    /*   z-index:2; */
}


.footerWrapper {
    margin: 0;
    background: transparent;
    padding:0.6em 2em;
    border-top: solid 2px #aaa;
    color: #666;
    text-shadow: 0px 1px 1px #fff;
    text-align: center;
}
.footerWrapper a {color: #555; text-decoration: none;}

/* ==========================================================================
   Header components
   ========================================================================== */


.siteLogo {
    width: auto;
    float:left;
    margin:8px 24px 9px 0;
    color: #ffcc00;
    line-height:1em;
}
/* old text based
.siteLogo span.logo,
 .siteLogo a.logo{
     color: #A8DA50;
     display:block;
     float:left;
     font-size:28px;
     font-family: 'Arial Black', Helvetica;

 }
*/
.siteLogo span.logo,
.siteLogo a.logo{
    display:block;
    float:left;
    width:32px;
    height:32px;
    font-size:0.01%;
    text-indent: -99999em;
    background: transparent url('../img/logo-2.png') no-repeat;

}
.siteLogo span.logotext {
    display:block;
    float:left;
    font-family: Museo-500;
    font-size:14px;
    line-height: 1.1em;
    margin-left:1em;
    width: 7em;
}
.siteLogo span.logotext.big {
    font-size:22px;
    line-height: 1.3em;
    width: auto;
}

.adm .siteLogo {
    color: #aaa;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.8);
}
.adm .siteLogo  span.logo,
.adm .siteLogo  a.logo{
    color: #aaa;
    background: transparent url('../img/logo-1.png') no-repeat;
}

.headerWrapper a {
    color: #f1f1f1;
    text-decoration:none;
}
.headerWrapper a:hover,
.headerWrapper a:active {
    color: #fff;
    text-decoration:none;
}
.headerWrapper .quiet {
    color: #bbb;
}
.headerWrapper .ui-button.ui-state-default {
    background-color: transparent;
    background-image: none;
    filter: none;
    border-width: 0px;
}

.headerWrapper .dropdown-menu.inverted {
    margin-top: 6px;
    margin-left: -4px;
    background: #5d5e58 url('../img/txture6-bg.png');
    border-radius: 0;
    border-width: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);

}
/* --- arrow on top --- */
.headerWrapper .dropdown-menu.inverted:before,
.headerWrapper .dropdown-menu.inverted:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    z-index:6;
    content: "";
    top: -11px;
    left: 40px;
    margin-left: -11px;
    border-width: 11px;
    border-bottom-color: #4a4b46;
    border-top-width: 0;
}
.headerWrapper .dropdown-menu.inverted:after {
    top: -20px;
    left: 40px;
    margin-left: -10px;
    border-width: 10px;
    border-bottom-color: #5d5e58;
}
/* ---- organization block ---- */

.organization {
    float:left;
    width:auto;
    margin: 4px 0 4px 0;
}
.adm .organization {
    margin: 8px 0 6px 0;
}


/* old version with bootstrap dropdown menu */
.organization .titleWrap {
    background-color: rgba(255,255,255,0.2);
    background-image: none;
    font-size:12px;
    color:#fafafa;
    padding:0.3em 1.5em 0.4em 1.5em;
    position:relative;
    display: inline-block;
  -webkit-border-bottom-left-radius: 3px;
          border-bottom-left-radius: 3px;
  -webkit-border-top-left-radius: 3px;
          border-top-left-radius: 3px;
  -moz-border-radius-bottomleft:3px;
  -moz-border-radius-topleft: 3px;
}

.organization .titleWrap h3,
.organization .titleWrap h4 {color:#ffcc00; font-weight: normal;}
.organization .titleWrap h3:empty,
.organization .titleWrap h4:empty {
    width:150px;
    height:18px;
}
.organization > .btn {
    vertical-align: top;
    background-color: transparent; /* ie8 */
    background-color: rgba(255,255,255,0.25);
    background-image: none;
    height:42px;
    border-color: #666;
}
.adm .organization > .btn {
    height:28px
}
.organization > .btn .caret {
    border-top: 4px solid #ffffff;
}
.organization.btn-group.open .btn.dropdown-toggle {
    background-color: #23252F; /* ie8 */
    background-color: rgba(0,0,0,0.3);
}

.organization .titleWrap h3,
.organization .titleWrap h4,
.organization .titleWrap p {
    line-height:1.3em;
}

/* new select2 component */
.organization .select2-container {
    margin-bottom:0;
}
.organization .select2-container .select2-choice {
    font-size:15px;
    font-family: Museo-500;
    color: #ffcc00;
}
.organization .select2-container .select2-choice .moredata {
    font-family: Tahoma, Arial, sans-serif;
    color: #bbb;
}




/* person name block */
.person {
    float:right;
    width:auto;
    margin: 0;
    margin-top:12px;
}

.person .titleWrap {
    position:relative;
    background-image: url('../img/person-32-50.png');
    background-position: 6px 50%;
    background-repeat: no-repeat;
    padding:0.2em 2.5em 0.3em 3.5em;
}

.person .titleWrap .exit {
    position: absolute;
    top:4px;
    right:0;
}

.person .titleWrap p,
.person .titleWrap h3{
    font-size:14px;
    color: #aaa;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.8);
}

.titleWrap h3,
.titleWrap h4,
.titleWrap p {
    margin:0;
 /*   font-weight:normal;*/
}

/* ==========================================================================
   Navigation   #44BEF0
   ========================================================================== */

.navWrapper {
    background: transparent;
    color: #00698c;
    padding-top:12px;
}
section.navWrapper {margin-bottom: 28px;}

.navWrapper > .navArea{
    width: 985px;
    margin: 0 auto;
}

.navWrapper.grey {
    background: rgb(241,241,241);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YxZjFmMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkMWQxZDEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgb(250,250,250) 0%, rgb(228,228,228) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(250,250,250)), color-stop(100%,rgb(228,228,228)));
    background: -webkit-linear-gradient(top,  rgb(250,250,250) 0%,rgb(228,228,228) 100%);
    background: -o-linear-gradient(top,  rgb(250,250,250) 0%,rgb(228,228,228) 100%);
    background: -ms-linear-gradient(top,  rgb(250,250,250) 0%,rgb(228,228,228) 100%);
    background: linear-gradient(to bottom,  rgb(250,250,250) 0%,rgb(228,228,228) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e3e3e3',GradientType=0 );

    color: #00698c;

}

.navWrapper.blue {
    border-top: solid 4px rgb(255,204,0);
    background: rgb(45,122,153);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJkN2E5OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDY5OGMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgb(45,122,153) 0%, rgb(0,105,140) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(45,122,153)), color-stop(100%,rgb(0,105,140)));
    background: -webkit-linear-gradient(top,  rgb(45,122,153) 0%,rgb(0,105,140) 100%);
    background: -o-linear-gradient(top,  rgb(45,122,153) 0%,rgb(0,105,140) 100%);
    background: -ms-linear-gradient(top,  rgb(45,122,153) 0%,rgb(0,105,140) 100%);
    background: linear-gradient(to bottom,  rgb(45,122,153) 0%,rgb(0,105,140) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d7a99', endColorstr='#00698c',GradientType=0 );

    color: #fafafa;
}
.navWrapper.blue h2,
.navWrapper.blue h3,
.navWrapper.blue { color: #fefefe;}

.navWrapper.yellow {

      background: rgb(255,204,0);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmY2MwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZGFkMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgb(255,204,0) 0%, rgb(237,173,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(255,204,0)), color-stop(100%,rgb(237,173,0)));
    background: -webkit-linear-gradient(top,  rgb(255,204,0) 0%,rgb(237,173,0) 100%);
    background: -o-linear-gradient(top,  rgb(255,204,0) 0%,rgb(237,173,0) 100%);
    background: -ms-linear-gradient(top,  rgb(255,204,0) 0%,rgb(237,173,0) 100%);
    background: linear-gradient(to bottom,  rgb(255,204,0) 0%,rgb(237,173,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffcc00', endColorstr='#edad00',GradientType=0 );
    color: #39434f;
}

.navWrapper.dark {

background: rgb(93,102,107);
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzVkNjY2YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MjQ4NGMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  rgb(93,102,107) 0%, rgb(66,72,76) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(93,102,107)), color-stop(100%,rgb(66,72,76)));
background: -webkit-linear-gradient(top,  rgb(93,102,107) 0%,rgb(66,72,76) 100%);
background: -o-linear-gradient(top,  rgb(93,102,107) 0%,rgb(66,72,76) 100%);
background: -ms-linear-gradient(top,  rgb(93,102,107) 0%,rgb(66,72,76) 100%);
background: linear-gradient(to bottom,  rgb(93,102,107) 0%,rgb(66,72,76) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d666b', endColorstr='#42484c',GradientType=0 );

    color: #fafafa;

}
nav .nav {
    margin:0;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style:none;
}
nav ul li.lvl1 {
    float: left;
    width: auto;
    background: transparent;
    position: relative;

}
nav ul li.pull-right {
	float:right;
}
nav .lvl1 > a {
/*    border-right: solid 1px rgba(0,0,0,0.1);*/
    float: left;
    font-family: Museo-500;
    font-size:17px;
    font-weight: normal;
    color: #666;
    margin: 0;
    margin-right:-1px;
    padding: 1em 1em 1em 2.5em;
    position:relative;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 1px rgb(255,255,255);
    width: auto;
    z-index:1;
}

nav.blue .lvl1 > a,
nav.dark .lvl1 > a {
    color: #fafafa;
    border-right: solid 1px rgba(0,0,0,0.2);
    text-shadow: 0 -1px 1px rgba(0,0,0,0.3);
}

nav li.lvl1:first-child > a {
    margin-left: 0;
 /*   border-left: solid 1px rgba(0,0,0,0.1);*/
}
nav li.lvl1:last-child > a {
    margin-right: 0;
}

nav .lvl1 > a:hover,
nav .lvl1 > a:active,
nav .lvl1.open > a {
    color: #111;
 /*   box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2) inset;*/
}
nav .lvl1 > a:hover { text-decoration: none;}
nav .lvl1 > a:focus { outline:0;}

nav .lvl1 > a.active,
nav .lvl1 > a.active:hover {
 /*    box-shadow: 0px -1px 4px 1px rgba(0, 0, 0, 0.2);*/
 /*    background-color: #d9e1da;  /* ie8 * /
 /*      background-color: rgba(255,255,255,0.4);*/
/*    background-color: #fff;*/
     color: #00698c;
}
nav.yellow .lvl1 > a.active,
nav.yellow .lvl1 > a.active:hover {
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2) inset;
    background-color: transparent;
    color: #000;

}

nav .lvl1 > a em {
    display:block;
    font-family: Tahoma, Helvetica, sans-serif;
    font-size:0.7em;
    font-weight:normal;
    font-style: normal;
    line-height:1.2em;
    color: #746e69;
}
nav.blue .lvl1 > a em,
nav.dark .lvl1 > a em{
    color: #b1b1b1;
}

.navWrapper .dropdown-menu.inverted {
    margin-top:4px;
    margin-left: 26px;  /* top level icon width */
  -webkit-border-top-left-radius: 0px;
          border-top-left-radius: 0px;
  -webkit-border-top-right-radius: 0px;
          border-top-right-radius: 0px;
  -moz-border-radius-topleft: 0px;
  -moz-border-radius-topright: 0px;
    background-color: #00698c;  /* ie8 */
    border: 1px solid #01587b;  /* ie8 */
    background-color: rgba(1, 88, 123, 0.89);
    border: 1px solid rgba(2, 67, 110, 0.77);
}

.navWrapper .dropdown-menu.inverted li > a:hover,
.navWrapper .dropdown-menu.inverted li > a:focus {
  color: #fff;
    background-color: #01587b;
    background-image: none;
    background-repeat: repeat-x;
    outline: 0;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}


nav .lvl1 > .arrow,
nav .lvl1 > .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    bottom:0;
    border-color: transparent;
    border-style: solid;
    z-index:5;
}

nav .lvl1 > .arrow {
    border-width: 11px;
}

nav .lvl1 > .arrow:after {
    border-width: 10px;
    content: "";
}

nav .lvl1 > .arrow {
    bottom: 0px;
    left: 50%;
    margin-left: 0px;
    border-bottom-color: #00698c;
/*    border-bottom-color: rgba(0, 0, 0, 0.25);*/
    border-top-width: 0;
}
nav .lvl1 > .arrow:after {
    top: 0px;
    margin-left: 1px;
    border-bottom-color: #666;
    border-top-width: 0;
}
nav .lvl1.pull-right > .arrow {
	margin-left: -20px;
}

.adm nav .lvl1 > .arrow {
    border-bottom-color: #ffcc00;
}
/* icons in navigation */
.iDesk,
.iVacation,
.iTravel,
.iAssets,
.iExpense,
.iEdu{
    background-repeat: no-repeat;
    background-position: 9px 50%;
}
.iDesk {
    background-image: url('../img/i-flag-y.png');
}
.iVacation {
    background-image: url('../img/i-sun-y.png');
}
.iTravel {
    background-image: url('../img/i-briefcase-y.png');
}
.iAssets {
    background-image: url('../img/i-asset-b.png');
}
.iEdu {
    background-image: url('../img/i-leaf-g.png');
}
.iExpense {
    background-image: url('../img/i-barchart-c.png');
}
.iHelp {
	background-repeat: no-repeat;
	background-position: 100% 50%;
}
.iHelp {
	background-image: url('../img/i-info-24.png');
}
.link.iHelp {
	display: inline-block;
	padding-right:25px;
}
nav .lvl1 > .iHelp {
	color: #999;
	font-size: 15px;
	padding: 1.1em 2em 1.1em 0;

}
/* ----------- log in ---------- */

.loginbox {
    margin: 1em 0 2em 0;
    padding: 1em 0;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.3) inset;
    background-color: rgba(255,255,255,0.4);
    color: #111;
}
.loginbox p {
    margin-bottom:5px;
}
.loginbox .btn {
    border-color: #696969;
}
.loginbox input[type="text"] {
    background: #fafafa;
    border-color: #696969;
    height:30px;
}

/* asutus select */
.alert .organization-select {
    margin: -4px -8px;
}
.organization-select .icon-chevron-right {
    float: right;
    margin-top: 12px;
    margin-right: 0px;
    opacity: .5;
}
.alert .organization-select.nav-stacked > li > a {
    background-color: #fff;
}
.alert .organization-select.nav-stacked > li > a:hover {
    background-color: #fffcbe;
}

/* submenu dropdown */

nav ul li > ul li {
    color: #333;
    width: 100%;
}

/* ==========================================================================
   Navigation  in admin header
   ========================================================================== */

.headerWrapper .navArea {
    background: transparent;
    color: #f0f0f0;
    margin: 11px 0 0 80px;
    min-height: 20px;
}

.headerWrapper .navArea > ul {
    margin: 0;
    padding: 0;
    list-style:none;
}
.headerWrapper .navArea ul li.lvl1 {
    float: left;
    width: auto;
    background: transparent;
    position: relative;

}
.headerWrapper .navArea .lvl1 > a {

    border-right: solid 1px rgba(0,0,0,0.35);
    float: left;
    font-family: Museo-500;
    font-size:15px;
    font-weight: normal;
    color: #f0f0f0;
    margin: 0;
    margin-right:-1px;
    padding: 0.5em 1em 0.6em 1em;
    position:relative;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.5);
    width: auto;
    z-index:1;
}


.headerWrapper .navArea li.lvl1:first-child > a {
    margin-left: 0;
    border-left: solid 1px rgba(0,0,0,0.35);
}
.headerWrapper .navArea li.lvl1:last-child > a {
    margin-right: 0;
}

.headerWrapper .navArea .lvl1 > a:hover,
.headerWrapper .navArea .lvl1 > a:active,
.headerWrapper .navArea .lvl1.open > a {
    color: #ffcc00;
    /*   box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2) inset;*/

}
.headerWrapper .navArea .lvl1 > a:hover { text-decoration: none;}
.headerWrapper .navArea .lvl1 > a:focus { outline:0;}

.headerWrapper .navArea .lvl1 > a.active,
.headerWrapper .navArea .lvl1 > a.active:hover {
    box-shadow: 0px -1px 3px 1px rgba(0, 0, 0, 0.4) inset;
    background-color: transparent;
/*    color: #ffcc00; */
    color: #ffcc00;
}

/* --- arrow on bottom --- */
.headerWrapper .navArea .lvl1 > a.active:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    z-index:6;
    content: "";
    bottom: -2px;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-bottom-color: #ffcc00;
    border-top-width: 0;
}

/* -------- */

.headerWrapper .navArea .dropdown-menu.inverted {
    margin-top: 4px;
    margin-left: 0px;
}


.docs-sidenav {
	width: 228px;
}
.docs-sidenav a {
	background-color: #eee;
}
.docs-sidenav .icon-chevron-right {
	float: right;
	margin-top: 2px;
	margin-right: -6px;
	margin-left: -3px;
	opacity: .6;
}
.docs-sidenav .active a .icon-chevron-right,
.docs-sidenav a:hover .icon-chevron-right {
	opacity: 1;
}
/* ==========================================================================
   ALL UI styles
   ========================================================================== */


/*  blocks */

.block {
    margin: 0 0 2em 0;

}
.sidebar {

}
.head {

    position:relative;
}
.h-title {
    background: #38434D;
    color: #fff;
    padding: 0 1em;
}
.content {
    background: transparent;
    padding: 9px;
}
.content.row {
    padding: 9px 0;
}
.content.list {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom:3px;
}
.sidebar .content {
    background: #eee;
}

.buttonbar {
    display: block;
    width: 100%;
    padding: 0;
    padding-top:14px;
    margin-top: 14px;
    border: 0;
    border-top: 1px solid #e5e5e5;
}
.search-box .navbar-inner{
	border-color: #006080;
}
.navbar.search-box .navbar-inner {
	padding-bottom: 8px;
}
.search-box .input-append,
.search-box .input-prepend{
	margin-top: 0px;
}

.navbar.search-box .buttonbar {
	padding-top:8px;
	margin-top:-0px;
	border-width: 0;
}
.navbar.search-box .buttonbar .btn{
	margin-top:0;
	border-color: #006080;
}


.table {
    padding: 0;
/*    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2); */
}
.content.table {
    width:auto;
    margin-bottom: 2px;
    border-bottom: 0;
}
.table table { margin:0;}

.head h2 {  margin-top:0;}
.head .moreinfo {
    position:absolute;
    top:1px;
    right: 8px;
	z-index:3;
}

/* various states */
.content.history {
    background-color: #f1f1f1;
    color: #888;
}
.content.history a { color: #888;}
.content.important {
    background-color: #f8ea9c;
    color: #35151c;
}


/* alert pointer on top right. Asutuse valik adminnis */
.alert.to-top-right {
    position: relative;
    margin-top:12px;
}
.alert.to-top-right > .arrow,
.alert.to-top-right > .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    top:0;
    left: auto;
    right: 40px;
    border-color: transparent;
    border-style: solid;
    z-index:5;
}

.alert.to-top-right > .arrow {
    border-width: 14px;
    top: -14px;
    right: 40px;
    border-bottom-color: #ffcc00;
    border-top-width: 0;
}
.alert.to-top-right > .arrow:after {
    border-width: 14px;
    content: " ";
    top: 0px;
    border-bottom-color: #666;
    border-top-width: 0;
    z-index:6;
}


/* -----------------------
  * tasklist, messages
 ----------------------------- */

.task,
.task-wide {
    border: solid 1px #ccc;
    padding: 5px 95px 5px 24px;
    margin-right:2px;
    margin-bottom:2px;
    background-color: #fff;
    position: relative;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.task-wide {
    padding: 8px 14px 6px 24px;
}
.task:before,
.task-wide:before{
    content: "";
    position: absolute;
    z-index:1;
    left: 0px;
    top: 0px;
    width: 11px;
    height: 100%;
    background-color: #e1e1e1;
-webkit-border-top-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
        border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
        border-bottom-left-radius: 3px;
}
.state-good:before { background-color: #369942;} /* #0a8906 */
.state-good .label-success { background-color: #369942;}
.state-important:before { background-color: #D03322;}
.state-warning:before { background-color: #ffd730;}
.state-info:before { background-color: #c6e4f3;}
.state-normal:before { background-color: #eaeaea;}
.state-history { background-color: #f1f1f1;}

.person-tasks .state-important a,
.person-tasks .state-normal a{
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, sans-serif;
}
.person-tasks .state-important a small,
.person-tasks .state-normal a small,
.person-tasks .state-important a span.due-date,
.person-tasks .state-normal a span.due-date{
	font-weight: normal;
	font-family: Tahoma, sans-serif;
}


/*.state-history {background-color: transparent;} */
.state-history a { color:#666;}

.alert > .state-warning { border-color: #e6dea8; }
.alert > .state-warning:before { background-color: #ffd730;}
.alert-info > .state-info:before { background-color: #3A87AD;}

.alert-block > .state-warning,
.task-wide.state-warning {
	border-color: #f89406;
}
.task-wide.state-important {
	border-color: #D03322;
}
.alert-block > .state-info,
.task-wide.state-info {
	border-color: #3A87AD;
}
.alert-block > .state-good {
	border-color: #0a8906;
}

.task-title {
	color: #666;
	line-height: 1em;
	margin-bottom: 7px;
}

.task .task-title,
.task-wide .task-title {
    position: relative;
    background-color: #eee;
    color: #888;
    margin-top: -0.4em;
    margin-left: -13px;
    margin-right: -80px;
    margin-bottom:5px;
    padding:2px 14px 3px 14px;
    line-height: 1em;
}
.task-wide .task-title {
    margin-right: -14px;
}
.task p {
    margin: 5px 0;
}
.task small {
    font-size: 1em;
    color: #666;
    display: block;
}
.task a:link,
.task a:hover,
.task a:active {
    text-decoration: none;
	color: inherit;
}

.task a > div { color:#333; }
.task a > div .mainData { color: #0687d4;}

.task .due-date {
    display:block;
    padding:0.3em 0.6em 0.3em 0.6em;
    position:absolute;
    top: 0px;
    right:0;
    width: auto;
    color:#777;
    background-color: #f5f5f5;
  -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
          border-top-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottompleft: 4px;
         border-bottom-left-radius: 4px;
          z-index:5;
}
.task .due-date i {
    margin-top:0px;
}

.person-notes .alert {
    background-color: #fff;
    border-width: 0;
	border-top-width: 1px;
	border-top-color: #ddd;
    color: #444;
    position:relative;
    padding: 6px 18px 30px 26px;
    margin-bottom:2px;
}
.person-notes .alert:before {
	display: block;
	content: " ";
	position: absolute;
	top: 8px;
	left: 4px;
	width:18px;
	height: 18px;
	background-image: url("../img/glyphicons-halflings-067-c.png");
	background-repeat: no-repeat;
	background-position: -240px -120px;
}
.person-notes .alert .close {
    right: -8px;
    top: -4px;
}


.task .label,
.task-wide .label,
.person-notes .alert .label,
.alert.wrap .label{
	 position:absolute;
	 top: 0;
	 right:0;
	 min-width:100px;
	*width:106px;
	 text-align: right;
	 -webkit-border-top-left-radius: 0px;
	 -moz-border-radius-topleft: 0px;
	 border-top-left-radius: 0px;
	 -webkit-border-bottom-right-radius: 0px;
	 -moz-border-radius-bottomright: 0px;
	 border-bottom-right-radius: 0px;
	 z-index:5;
}

.task .label.vacation,
.task-wide .label.vacation,
.person-notes .alert .label.vacation {
    background-color: #53b661;
    color: #264d27;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.task .label.travel,
.task-wide .label.travel,
.person-notes .alert .label.travel {
    background-color: #ffcc00;
    color: #7c4904;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.task .label.assets,
.task-wide .label.assets,
.person-notes .alert .label.assets {
    background-color: #97d0eb;
    color: #2b6181;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.task-moreinfo {
    background-color: #f1f1f1;
    border: solid 1px #ccc;
    margin-top: -4px;
    margin-right: 2px;
    padding: 5px 14px 5px 24px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
}
.task-moreinfo > .row {
    position:relative;
    margin: 0 -8px;
}
.task-moreinfo > .alert {
	margin: 8px -11px 0px -21px;
}

/* buttons position on top right corner */
.task-content {
	position: relative;
}
.task-buttonbar,
.task-nr {
    position: absolute;
    top: 2px;
    right: 3px;
}
.task-content > .task-buttonbar {
	top: -2px;
	right: -3px;
}
.alert-block .task-nr {
	top: auto;
	bottom: 4px;
	right: 8px;
	color: #888;
}

.alert > .task {
    margin: -4px -12px 6px -12px;
}
.alert > .task-wide {
    margin: 0px -8px 0px -8px;
}

.task-wide > .alert {
	margin: -4px -10px 10px -8px;
}


/* admin topmost control select */
.generalControlTop {
    position:relative;
    right: 0;
    left:0;
    top: -29px;
    height:0;
    z-index:2;
}
.organizationControl {
	position:absolute;
	right: 0px;
	top: 0px;
	background-color: #00698c; /*  #5d5e58 */
	padding:5px;
	padding-top:0;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	border-bottom-right-radius: 6px;
}
.inConfirmList .organizationControl {
	right: 340px;
}
.adm .organizationControl {
    position:absolute;
    right: 0px;
    top: -2px;
    background-color: #ffcc00; /*  #5d5e58 */

}
.organizationControl label {margin:0; color:#eee;}
.adm .organizationControl label {margin:0; color:#666;}
.organizationControl .select2-container { margin:0;}
.backControl {
    position:absolute;
    left: -12px;
    top: -1px;
    background-color: transparent; /*  #00698c  #5d5e58 */
    padding:3px;
 /*   padding-top:0; */
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
}
.adm .backControl {
    position:absolute;
    left: 6px;
    top: -2px;
    background-color: #ffcc00; /*  #5d5e58 */
    padding:5px;
    padding-top:0;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
}

/* ------------------------------
 * Table styles  (overwrite bootstrap default)
 */
td.table-wrap {
	padding:0!important;
}
td.table-wrap > table {
	margin:0!important;
}
td.table-wrap > table.table-bordered {
	border-width: 0!important;
}
td.table-wrap > table.table-bordered tr td:first-child {
	border-left-width: 0!important;
}
thead .inverted th,
thead .inverted td{
    background: #48535b;
    border-color: #526874;
    padding-top: 6px;
	padding-bottom: 6px;
    color: #dadada;
    text-shadow: 0 -1px 1px #323232;
}
thead .inverted th > table,
thead .inverted td > table {
	border-width:0px;
}

thead .l th,
thead .l td {
    background: #e6e6e6 url(jqui/images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
    padding: 0.5em;
    color: #00698c;
    font-weight: normal;
}
tbody th,
tbody td{
    background: transparent;
}

tbody
tbody tr.focused,
tfoot tr.focused{
    background-color: #e7eff6;
}


tbody tr.selected {
    background-color: #fffcdd;
}
.table-hover tbody tr.selected:hover td,
.table-hover tbody tr.selected:hover th {
    background-color: #fff9ce;
}


/* ----------- sorting with link elements -------------- */
.sortable,
.sortable:hover {
   display: block;
    color: #222;
    text-decoration: none;
    cursor: pointer;
    padding-right:18px;
    position: relative;
    z-index: 1;
}
.sortable.up:after,
.sortable.down:after {
    display:block;
    width:18px;
    height: 18px;
   position: absolute;
    bottom:0px;
    right:0px;
    z-index:5;
    content: "";
    background-image: url("../img/glyphicons-halflings-066.png");
}
 .sortable.up:after {
    background-position: -289px -94px;
}
.sortable.down:after {
    background-position: -312px -94px;
}

.inverted .sortable,
.inverted .sortable:hover {
    color: #fff;
}

.inverted .sortable.up:after,
.inverted .sortable.down:after {
    background-image: url("../img/glyphicons-halflings-white.png");
}

/* ----------- sorting with th elements -------------- */
/* includes dataTable component classes */

thead th.sorttable > span,
thead th.sorting > span,
thead th.sorting_asc > span,
thead th.sorting_desc > span {
    display: block;
    cursor: pointer;
    padding-right:18px;
    position: relative;
    z-index: 1;
}
thead th.sorttable.up > span:after,
thead th.sorttable.down > span:after,
thead th.sorting > span:after,
thead th.sorting_asc > span:after,
thead th.sorting_desc > span:after {
    display:block;
    width:18px;
    height: 16px;
    position: absolute;
    bottom:0px;
    right:0px;
    z-index:5;
    content: " ";
    background-image: url("../img/glyphicons-halflings-white.png");
    background-position: -432px -119px;
}
thead th.sorttable.up > span:after,
thead th.sorting_asc > span:after {
    background-position: -289px -94px;
}
thead th.sorttable.down > span:after,
thead th.sorting_desc > span:after {
    background-position: -312px -94px;
}

thead .inverted th.sorttable span,
thead .inverted th.sorting span,
thead .inverted th.sorting_asc span,
thead .inverted th.sorting_desc span {
    color: #fff;
}

thead .inverted th.sorttable.up span:after,
thead .inverted th.sorttable.down span:after,
thead .inverted th.sorting_asc span:after,
thead .inverted th.sorting_desc span:after {
    background-image: url("../img/glyphicons-halflings-white.png");
}

/* ==== data Table component ====== */
.dataTables_wrapper {
    margin:0;
    position: relative;
}
.dataTables_wrapper .ui-widget-header {
    border-width: 0;
}
.dataTables_wrapper .table-bordered {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.dataTables_wrapper .table-bordered thead:first-child tr:first-child > th:first-child,
.dataTables_wrapper .table-bordered colgroup + thead tr:first-child th:first-child{
    -webkit-border-top-left-radius: 0;
    border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
}
.dataTables_wrapper .table-bordered thead:first-child tr:first-child > th:last-child,
.dataTables_wrapper .table-bordered colgroup + thead tr:first-child th:last-child{
    -webkit-border-top-right-radius: 0;
    border-top-right-radius: 0;
    -moz-border-radius-topright: 0;
}
.dataTables_length {
    padding:1px 8px;
}
div.dataTables_length label {
    float: left;
    text-align: left;
    color: #222;
    margin:4px 6px;
}
div.dataTables_length select {
    width: 75px;
	padding:1px;
}
div.dataTables_filter label {
    float: right;
    margin: 3px 6px 5px 6px;
}
div.dataTables-moreinfo {
	float: right;
	position: relative;
	overflow:visible;
	height:1px;
}


.dataTable tbody td > table{
	margin: -5px -5px -3px -6px;
}

table.dataTable th:active {
    outline: none;
}

/* Scrolling table */
div.dataTables_scrollHead table {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

div.dataTables_scrollHead table thead tr:last-child th:first-child,
div.dataTables_scrollHead table thead tr:last-child td:first-child {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

div.dataTables_scrollBody table {
    border-top: none;
    margin-bottom: 0 !important;
}

div.dataTables_scrollBody tbody tr:first-child th,
div.dataTables_scrollBody tbody tr:first-child td {
    border-top: none;
}

div.dataTables_scrollFoot table {
    border-top: none;
}

.dataTables_info {
    padding:8px 0 0 12px;
    font-weight: normal;
}
.dataTables_paginate {
    float:right;
}


/* toolbar below table */

.table-toolbar {
    position: relative;
/*    margin-top: -20px;*/
    background-color: #f1f1f1;
    border: solid 1px #eee;
    min-height:20px;
    padding:2px;
}
.ui-toolbar .pagination,
.table-toolbar .pagination {
    margin:2px;
}
.table-toolbar.row-fluid {
    padding:0;
}

/* -- rtip own */

label {
    color: #666;  /* CVI #297099 */
    display: block;
    font-size:12px;
}

/* ============= */
.timeline-list-wrap {
    width:247px;
    float:left;
    border: solid 1px #bbb;
	margin-left:2px;
	background-color: #eee;
}
.timeline-list-wrap ul.list-condensed li {
    height:28px;
    white-space: nowrap;
    overflow: hidden;
	background-color: #fff;
}

.timeline-list-spacer {
	height:26px;
	padding:3px;
	background-color: #eee;
	border-top: solid 1px #bbb;
	border-bottom: solid 1px #bbb;
	position: relative;
}


.timeline-graph-wrap {
    width:728px;
    float:left;
    overflow:hidden;
/*    overflow-x: auto; */
	-webkit-box-shadow: 1px 0 5px rgba(0,0,0,.4) inset;
	-moz-box-shadow   : 1px 0 5px rgba(0,0,0,.4) inset;
	-o-box-shadow     : 1px 0 5px rgba(0,0,0,.4) inset;
	box-shadow        : 1px 0 5px rgba(0,0,0,.4) inset;
	padding:6px 0 4px 2px;
	border: solid 1px #aaa;
	border-bottom-width: 0;
}

.timeline-list-wrap .selectbox {
	position:absolute;
	bottom:-5px;
	left:0;
	z-index:99;
	padding:5px;
	background-color: #eee;
	border: solid 1px #c1c1c1;
	-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	-moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	-o-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}

/* =============
  Timeline  2x size, ca 3,5 months per page
================ */

.timeline-wrap {
    height: 70px;
    width:100%;
    overflow:hidden;
    overflow-x: auto;
}

.timeline-container {
    border-left: solid 1px #aaa;
    height: 30px;
    position:relative;
    width: 3651px;  /* 12 months,  365 x 10 = 3650  +1 */
   background-image: url('../img/week-2x-grid4.png');
   background-position: 0 15px;
   background-repeat: repeat-x;
}

.timeline-container:before {
    content: "";
    position: absolute;
    z-index:1;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 1px;
    background-color: transparent;
    border-bottom: solid 4px #aaa;
}

.timeline-legend {
    text-align: right;
    margin:0.6em 0.3em;
}
.timeline-legend span {
    display:inline-block;
    height:14px;
    width:10px;
    vertical-align: baseline;
	text-align: center;
}

.timeline-container .month {
    width: 298px;  /* number of def 30 days in month  10x  expander !minus border width */
    border-right: solid 2px #aaa;
    float:left;
    height: 55px;
    position:relative;
    z-index:3;
}
.month.m1, .month.m3, .month.m5, .month.m7, .month.m8, .month.m10, .month.m12 { width: 308px; }
.month.m2 { width: 278px; } /* veebruar 28p */
.month.m22 { width: 283px; } /* veebruar liigaastal 29p */
.month.m12 { border-color:#00698c; }  /* year end */

.timeline-container .month .name {
    margin:0;
    padding:0 3px;
	font-size:84.6%;
    line-height:1.4em;
    color:#777;
}

/* smaller in graph */

.timeline-graph-wrap .timeline-container {
    width: 1835px;  /* 12 months, 365 x 5 = 1825 + 10! */
    background-image: url('../img/week-grid4.png');
    height: 32px;
}
.timeline-graph-wrap .timeline-container .month {
    width: 148px;  /* number of def 30 days in month  5x  expander !minus border width . Define height inline! */
    height:28px;
	float:left;
    position:relative;
    z-index:3;
}
.timeline-graph-wrap .month.m1,
.timeline-graph-wrap .month.m3,
.timeline-graph-wrap .month.m5,
.timeline-graph-wrap .month.m7,
.timeline-graph-wrap .month.m8,
.timeline-graph-wrap .month.m10,
.timeline-graph-wrap .month.m12 { width: 153px; }
.timeline-graph-wrap .month.m2 { width: 138px; }
.timeline-graph-wrap .month.m22 { width: 143px; }

/* large 2x size timeline */

.timeline-container.single-wide {
	width: 3651px;
	background-image: url('../img/week-2x-grid-bw.png');
	background-repeat: repeat;
	height: 26px;
}

.timeline-container.single-wide:before {
	content: "";
	position: absolute;
	z-index:1;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 3px;
	background-color: transparent;
	border-bottom: 0px;
}

/* normal 1x size timeline */

.timeline-container.single {
    width: 1835px;
    background-image: url('../img/week-grid-bw.png');
	background-repeat: repeat;
    height: 37px;
}
.timeline-container.single:before {
    top: 0;
    height: 29px;
    border-top-width: 0;
    border-bottom: solid 8px #ddd;
}

.timeline-list-wrap ul.list-condensed li.focused,
.timeline-container.focused {
	background-color: #fcf5c5;
	border-color: #eec543;
}

/* blocks */

.timeline-container .today {
    position:absolute;
    top: 14px;
    background: #00698c;
    width: 9px;
    height: 16px;
    z-index:5;
}

.timeline-container .puhkus,
.timeline-container .lahetus,
.timeline-container .puudus,
.timeline-container .asendus,
.timeline-container .muu {
    position:absolute;
    left:0;
    top: 2px;
    height: 20px;
    background-color: #e1e1e1;
    z-index:5;
}

.timeline-container.single .puhkus,
.timeline-container.single .lahetus,
.timeline-container.single .puudus,
.timeline-container.single .asendus,
.timeline-container.single .muu {
    top: 1px;
	height: 26px;
}

.timeline-container .puhkus {   background-color: rgb(77, 180, 0); opacity: 0.7;filter: alpha(opacity=70);}
.timeline-container .lahetus {  background-color: rgb(249, 155, 0); opacity: 0.7;filter: alpha(opacity=70);}
.timeline-container .puudus { background-color: rgb(0, 125, 225); opacity: 0.7;filter: alpha(opacity=70);}
.timeline-container .asendus {  background-color: rgb(100,100,100); opacity: 0.2;filter: alpha(opacity=20);}
.timeline-container .muu {}

.timeline-legend span.puhkus {   background-color: rgb(77, 180, 0); }
.timeline-legend span.lahetus {  background-color: rgb(249, 155, 0); }
.timeline-legend span.puudus { background-color: rgb(0, 125, 225); }
.timeline-legend span.asendus {  background-color: rgb(174, 174, 174);}


.timeline-container .puhkus.not-confirmed,
.timeline-container .lahetus.not-confirmed {
	background-image: url('../img/bg-stripes.png');
}


#filter-puhkus,
#filter-lahetus,
#filter-puudus,
#filter-asendus,
.filter-puhkus,
.filter-lahetus,
.filter-puudus,
.filter-asendus{
	opacity: 0.7;
	filter: alpha(opacity=70);
	cursor: pointer;
}
#filter-puhkus:hover,
#filter-lahetus:hover,
#filter-puudus:hover,
#filter-asendus:hover,
.filter-puhkus:hover,
.filter-lahetus:hover,
.filter-puudus:hover,
.filter-asendus:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

/* Tiny Scrollbar plugin */
/* vertical */

#scrollbar1 {
	width: 705px; /* default, overwrite in html */
	margin: 0 15px 0 0;
}

#scrollbar1 .viewport {
	width: 1835px; /* + 10px room for bottom scrollbar */
	height: 380px;
	overflow: hidden;
	position: relative;
}
#scrollbar1 .sticky-wrap .sticky {
	width:247px;
}

#scrollbar1 .sticky-wrap {
	position:relative;
	overflow: hidden;
}

#scrollbar1 .overview,
#scrollbar1 .sticky{
	list-style: none;
	position: absolute;
	left: 0;
	top: 0;
	padding: 0;
	margin: 0;
}
#scrollbar1 .overflow-x {
	width:715px;
	height: 423px;
	overflow-x: auto;
	overflow-y: hidden;
}

#scrollbar1 .scrollbar{
	background: transparent url(../img/bg-scrollbar2-track-y.png) no-repeat 0 0;
	position: absolute;
	background-position: 0 0;
	width: 15px;
	right:0px;
	top:35px;
}

#scrollbar1 .track {
	background: transparent url(../img/bg-scrollbar2-trackend-y.png) no-repeat 0 100%;
	height: 100%;
	width:13px;
	position: relative;
	padding: 0 1px;
}

#scrollbar1 .thumb {
	background: transparent url(../img/bg-scrollbar2-thumb-y.png) no-repeat 50% 100%;
	height: 20px;
	width: 25px;
	cursor: pointer;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: -5px;
}

#scrollbar1 .thumb .end {
	background: transparent url(../img/bg-scrollbar2-thumb-y.png) no-repeat 50% 0;
	overflow: hidden;
	height: 5px;
	width: 25px;
}

#scrollbar1 .disable {
	display: none;
}

.noSelect {
	user-select: none;
	-o-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}



/* puhkused list */

.timeline-vertical-wrap {
    float: left;
    height: auto;
    width: 82px;
    overflow:visible;
}
.timeline-sidearea-graph {
     float:left;
     width: 630px;
     margin-top:20px;
 }
.timeline-sidearea {
    float:left;
    width: 720px;
    margin-top:20px;
}
/* statuses */

.status-inactive,
.status-inactive a {
    color: #888;
    font-style: italic;
}
.status-active,
.status-active a {}


/* = form appendises = */

.content.row-fluid {
    margin-bottom: 2px;
    width:auto;
}


/* Sortable */
ul.ui-sortable {
    margin-left: 0;
    list-style: none;
    padding:0;
}
ul.ui-sortable li {
    border: 1px solid #e1e1e1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom:3px;
    cursor: ns-resize;
}
ul.ui-sortable .ui-state-highlight {
    height:36px;
}
ul.ui-sortable li > div {
    padding: 6px;
}


/* ====================== */
.nav-pills.document-sections,
.nav-tabs.document-sections {
	position: relative;
	margin-left: -20px;
	padding-left:20px;
	margin-right: -20px;
	padding-right:20px;
}


.affix-top {
	width:228px;
}
.affix {
	width:228px;
	top:16px;
}



.guide {
	margin-bottom: 3em;
	padding-left: 20px;
}
.guide h3 {
	padding-top: 1em;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.placeholder {
    color: #999;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/* some general mesure classes */
.w25 {width:25px !important;}
.w40 {width:40px !important;}
.w50 {width:50px !important;}
.w60 {width:60px !important;}
.w70 {width:70px !important;}
.w75 {width:75px !important;}
.w80 {width:80px !important;}
.w90 {width:90px !important;}
.w100 {width:100px !important;}
.w120 {width:120px !important;}
.w125 {width:125px !important;}
.w130 {width:130px !important;}
.w140 {width:140px !important;}
.w150 {width:150px !important;}
.w175 {width:175px !important;}
.w200 {width:200px !important;}
.w225 {width:225px !important;}
.w250 {width:250px !important;}
.w300 {width:300px !important;}
.w350 {width:350px !important;}
.w400 {width:400px !important;}
.w450 {width:450px !important;}
.w500 {width:500px !important;}
.w600 {width:600px !important;}
.w700 {width:700px !important;}

/* inline edit plugin */

.inline-edit {
    position: relative;
    min-height: 16px;
    border: solid 1px transparent;
}
.inline-edit:hover {
    border: solid 1px #b5d6ff;
    background-color: #f5f5f5;
}
.inline-edit em {
    font-size:0.86em;
    color: #999;
}
.pop {
    display: block;
    position: absolute;
    left:-7px;
    top:-5px;
    z-index:2;
    background-color: #fef9c1;
    padding:4px;
    border: solid 1px #99978a;
}
.pop .inline-edit .hasDatePicker {
    width: 90px;
}


/*  loading messages: tablesorter & blockUI plugin */
.blockUI .blockOverlay { }

.blockMsg {
    width: 200px;
    height: auto;
    padding: 18px 24px 18px 60px;
    font-size:16px;
    color: #402c29;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf5c5;
    background-image: url('../img/alert-loader.gif');
    background-repeat: no-repeat;
    background-position: 28px 50%;
    border: 1px solid #f0d294;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    z-index:1001;
}
.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: auto;
    margin-left: -100px;
    margin-top: -12px;
    padding: 18px 24px 18px 60px;
    font-size:16px;
    color: #402c29;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf5c5;
    background-image: url('../img/alert-loader.gif');
    background-repeat: no-repeat;
    background-position: 28px 50%;
    border: 1px solid #f0d294;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    z-index:1001;
}

/*  large area like input */

.large-area {
    background-color: #f1f1f1;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3) inset;
    -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3) inset;
    -o-box-shadow     : 0 0 5px rgba(0,0,0,.3) inset;
    box-shadow        : 0 0 5px rgba(0,0,0,.3) inset;
    border: 1px solid #aaa;
    outline: none;
    padding:3px;
    color: #111;
}
.large-area.white {
	background-color: #fff;
	border-color: #ccc;
}

.large-area.btn-appended {
    position: relative;
    margin-right: 40px;
}

.large-area.btn-prepended{
    position: relative;
    margin-left: 40px;
}
.large-area.btn-appended .btn {
    position: absolute;
    right:-40px;
    top:-1px;
    border-radius: 0 4px 4px 0;
}
.large-area.btn-prepended .btn {
    position: absolute;
    left:-40px;
    top:-1px;
    border-radius: 4px 0 0 4px;
}
/* files upload component */

.file-uploaded .controls {
	margin-bottom:2px;
}
.file-uploaded .uneditable-input {
	 margin-left:-3px;
	border-radius: 0 0 0 0;
	padding: 4px 4px;
 }
.file-uploaded .btn {
	padding: 4px 6px;
}

.btn.fileinput-button {
	position: relative;
	overflow: hidden;
}
.fileinput-button input {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	transform: translate(-300px, 0) scale(4);
	font-size: 23px;
	direction: ltr;
	cursor: pointer;
}

.error-label, .error-label2 {
    color: #b94a48;
    font-weight: bold;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==================
    TEMPORARY DEMO CRAP
    ===== */
.b {border: solid 1px #F584FE;}
.demonotes {
     position: fixed;
     bottom:0;
     left:0;
    padding-top: 16px;
 }
.demonotes .cont{
    background-color: #e5ffd8;
    border: solid 1px #666;
    color: #180a44;
    padding:1em;
    display: block;
    width:300px;
}
.demonotes .tog {
    background-color: #e5ffd8;
    position: relative;
    margin-top:-14px;
    width: 14px;
    border: solid 1px #666;
    cursor: pointer;
}

/* Koolitused Poll */
.table.poll-matrix tr th,
.table.poll-matrix tr td{
    border-bottom: solid 1px #eee;
    width:auto;
    vertical-align: baseline;
}
.table.poll-matrix tr th.poll-heading {
    width:60px;
}

label.poll {
    display: block;
    padding: 8px;
    text-align: center;
    margin-bottom: 0;
}
label.poll.checked {
    background-color: #6ed87c;
}
label.poll.hover {
    background-color: rgba(110, 216, 124, 0.2);
}

label.poll input[type="radio"] {
    margin: 0;
}

.angular-with-newlines {
    white-space: pre-wrap;
}

.select-wrapper .dropdown-menu {
    margin-top: -1px;
    margin-left: -1px;
    border-radius: 0 0 4px 4px;
    border-top: 0;
    width: 100%;
    padding: 0;
    padding-bottom: 7px;
}

.select-wrapper .ui-select-choices-group {
    max-height: 200px;
    padding: 0 0 0 4px;
    margin: 4px 4px 4px 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.select-wrapper .ui-select-choices-row {
    padding: 1px 7px 2px;
}

.select-wrapper .ui-select-choices-row a {
    color: #000;
    text-decoration: none;
}

.select-wrapper .ui-select-choices-row.active {
    background: #3875d7;
}

.select-wrapper .ui-select-choices-row.active a {
    color: #fff;
}

.select-wrapper .ui-select-match {

}

.select-wrapper .ui-select-match-item {
    line-height: 16px;
    margin-left: 3px;
    margin-top: 2px;
}

.select-wrapper .ui-select-container {
    background-color: #f1f1f1;
    border: 1px solid #c1c1c1;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border linear 0.2s, box-shadow linear 0.2s;
    margin-bottom: 10px;
    border-radius: 4px;
}

.select-wrapper .ui-select-container input[type="text"] {
    margin-bottom: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.headers.row-fluid [class*="span"] {
    min-height: 0;
}

input.inline-checkbox {
    margin-left: 8px;
    margin-right: 8px;
}

.classifier-total {
    text-align: right;
    font-size: 13px;
    font-weight: normal;
    font-family: Tahoma, Helvetica, sans-serif;
}

.align-center {
    text-align: center;
}

.auto-width {
    display: block;
    width: auto;
}

.person-select .select2-container .select2-choice {
    height: auto;
    padding-bottom: 5px;
}

.has-error .select2-choice {
    border-color: #D03322 !important;
}

tr.inactive {
    background: #cccccc;
}

.absence-types-component .dataTables_wrapper .row-fluid {
    display: none;
}
.absence-types-component .head {
    overflow: hidden;
}
.absence-types-component .absence-type-add-button {
    margin-bottom: 10px;
}

#hr-rules-table {
    font-size: 15px;
}

#hr-rules-table th {
    font-size: 18px;
}

#hr-messages-form label > div:first-child {
    padding: 1px;
}

#hr-messages-form input {
    width: 970px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#approvementTemplateForm .input-block-level {
		width: 686px;
	}

	#approvementTemplateForm .ui-wrapper {
		padding-bottom: 0px !important;
	}

	#approvementTemplateForm .ui-resizable-handle {
		bottom: 8px;
		right: 12px;
	}
}

textarea.large-textarea {
    width: 100%;
    min-height: 200px;
}

.front-page-notice input[type="checkbox"] {
    margin: 0;
}

.hr-templates-management .mce-path {
    display: none;
}

.inactive-item {
    opacity: 0.6;
}

.mce-container.mce-floatpanel {
    z-index: 99999 !important;
}

.center-cropped {
    max-height: 130px;
    object-fit: contain;
    object-position: center;
}

.help-block.absolute {
    position: relative;
    padding-left: 18px;
}

.help-block.absolute::before {
    position: absolute;
    left: 0;
}

/* TinyMCE menu button drop-down height. Mostly for variable plugin drop-down menu */
.tox .tox-menu {
  max-height: 36vh!important;
}
