@import url(//fonts.googleapis.com/css?family=Roboto:400,300,700);


html, body {
    color:#293644;
    background:#f0f0f3; /* use bg color in both html and body so that scrolling does not result in white footer */
}

html, button, .pure-g [class *= "pure-u"] {
    font-family: 'Roboto', sans-serif; 
    letter-spacing: normal;
    line-height: 1.6em;
    font-size:1.2em;
}

.md-tooltip {
    font-size:1.0em;
}

.ta-editor {
    min-height: 300px;
    height: auto;
    overflow: auto;
    font-family: inherit;
    font-size: 100%;
}

.avatar_small {
    object-fit: cover;  border-radius: 50%;  height: 30px;  width: 30px;
    filter: grayscale(100%);
    color:#fff; font-size:0.85em; text-align:center; vertical-align:middle; font-weight:bold;

}

.avatar_medium {
    object-fit: cover;  border-radius: 50%;  height: 44px;  width: 44px;
    color:#fff; font-size:1.3em; text-align:center; vertical-align:middle; font-weight:bold;
}

.avatar {
    object-fit: cover;  border-radius: 50%;  height: 120px;  width: 120px;
}


.talk-bubble {
    margin: 20px;
    padding: 10px;
    font-size:0.85em;
    display: inline-block;
    position: relative;
    max-width: 380px;
    min-width: 80px;
    height: auto;
    background-color: lightgrey;
    border-radius: 5px;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -8px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: transparent transparent transparent #666;
}
.tri-right.btm-left:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 0px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 22px solid;
	border-color: transparent transparent transparent lightgrey;
}

/*Right triangle, placed bottom right side slightly in*/
/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 6px;
	bottom: -30px;
	border: 20px solid;
	border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 14px;
	bottom: -10px;
	border: 12px solid;
	border-color: dodgerblue dodgerblue transparent transparent;
}
/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 6px;
	right: auto;
	top: auto;
	bottom: -30px;
	border: 20px solid;
	border-color: #666 transparent transparent #666;
}
.tri-right.btm-left-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 12px;
	right: auto;
	top: auto;
	bottom: -10px;
	border: 12px solid;
	border-color: lightgrey transparent transparent lightgrey;
}
.tri-right.border.btm-right:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -8px;
	bottom: -40px;
	border: 20px solid;
	border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 0px;
	bottom: -20px;
	border: 12px solid;
	border-color: dodgerblue dodgerblue transparent transparent;
}




.hint { /* hint below material input field in directive_block_edit.html */
    font-size:0.7em;
    white-space: pre-wrap;
    display: block;
}


li.pure-menu-item a:hover {
    border-radius:3px;
}


li.pure-menu-item a{
    padding-left:7px;
    padding-right:7px;
    padding-top:3px;
    padding-bottom:3px;
    margin-top:4px;
}


div.pure-menu {
    padding-left:45px; 
/*    height: 60px; */
    height: 50px; 
    vertical-align:middle; 
    padding-top:10px;
    font-size:.9em; 
}


div.dashboard-widget {
    margin-top:-20px; margin-left:-45px; margin-right:-20px;
}

div.dashboard-widget-container {
    height:auto;
    margin-bottom:-20px;
}


div.white-block {
    border-radius:5px;
    background:#fff; 
    padding-top:15px; 
    padding-left:25px; 
    padding-right:25px;
    padding-bottom:15px; 
    margin:20px;

    margin-right:0;
    overflow:hidden;
}


div.mainframe {
    margin-right:20px;
}


table.table_replacing_nonedit_view tr td {
    padding-bottom:0px;
    margin:0;
}

span.titlesection_title {
    font-weight:300;
    color:#444;
}


#titlesection {
    z-index:3; 
    position:fixed; 
    width:100%;
}


div.divundertitlesectiondiv {
/*    height:110px; */
    height: 85px;
}


div.titlesectiondiv {
    padding:30px;
    padding-left:45px;
    padding-top:17px;
/*    height:110px; */
    height:85px;
}


span.titlespan {
    font-size:1.6em; font-weight:300;
}

span.subtitlespan {
    font-weight:700; font-size:.85em;
}

div.tablecell {
    display:table-cell; 
    padding:10px; 
    padding-top:9px; 
    padding-bottom:7px; 
    line-height:1.5em; 
    text-align:left; 
    vertical-align:top;
}


div.tablerow {
    outline:none;
    border:0;
    display:table-row;
    border-bottom:1px solid #ddd;
}

div.tablerow:last-child {
    border-bottom:0;
}


md-menu-item {
    font-family: 'Roboto', sans-serif; 
}

a {
    color: #189acf;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.pure-button {
    font-family: inherit;
    border-radius:5px;
    font-weight: 400;
    color: #888;
    font-size: 1em;
    padding-top:4px;
    padding-bottom:4px;
    padding-left:10px;
    padding-right:10px;
}
.pure-button-primary {
    background: #189acf;
    color: #fff;
}
.pure-button-warning {
    background: crimson /*#E74C3C*/ ;
    color: #fff;
}
a.pure-button-primary {
    color: white;
}

md-tabs {
    margin-left:20px;
    background:transparent;
}
div.divundermdtab {
    margin-left:-20px;
    font-size:0.85em;
}
 

@media (max-width: 767px) {

    /* prevent x-scrolling: */
    html, body, .scrollable {
	overflow-x: hidden; 
	-webkit-overflow-scrolling: touch;
    }

    /* prevent x-scrolling: */
    html, body, .scrollable {
	overflow-x: hidden; 
	-webkit-overflow-scrolling: touch;
    }


    md-tabs {
	margin-left:0;
    }
    div.divundermdtab {
	margin-left:0;
    }

    /* we dont' want fixed menus on small displays, so: */
    #menu {
	position:static;
    }

    div.mainframe {
	margin-right:0;
    }

    div.pure-menu {
	padding-left:12px; height:50px;
    }

    div.dashboard-widget {
	margin-top:2px; margin-left:0; margin-right:0; margin-bottom:10px;
    }

    div.white-block {
	padding-top:15px; padding-left:10px; padding-right:10px; padding-bottom:25px; margin-left:0; margin-right:0; margin-bottom:20px;margin-top:2px;
    }
    

    #titlesection {
	position:static; /* let it scroll up on small displays */
    }


    div.divundertitlesectiondiv {
	display:none;
    }

    div.titlesectiondiv {
	padding:12px;
	padding-left:12px;
	height:75px;
    }

    span.titlespan {
	font-size:1.4em;
    }

    span.subtitlespan {
	font-weight:700; font-size:0.85em;
    }

    div.tablecell {
	padding-left:3px; 
	padding-right:3px; 
    }


}


.pure-button-xsmall {
    font-size: 70%;
    margin:2px;
}

.pure-button-small {
    font-size: 85%;
}

label {
    font-weight:400;
    font-size:0.85em;
}

input, textarea, md-select, md-option {
    font-size:0.85em;
}

textarea {
    border: 1px solid #ccc;
}


.pure-table {
    font-size:1.0em;
    border:0;
}

.pure-table th {
    background:#fff;
    border-bottom: 2px solid #ced6de;
    cursor:pointer; /* indicate resorting feature */
}

.pure-table-horizontal td {
    border-bottom: 1px solid #ced6de;
}

.btn {
    font-family: inherit;
}


.btn-search {
    font-weight: 400;
    color: #fff;
    background-color: #189acf;
    height:30px;
}


.btn-primary {
    font-weight: 400;
    color: #fff;
    background-color: #189acf;
    font-size: 1em;
    height:30px;
}

.btn-cancel {
    font-weight: 400;
    font-size: 1em;
    height:30px;
}

table {
    font-size: 1.0em;
    border-collapse: separate !important; /* fix for google org chart, see https://groups.google.com/forum/#!topic/google-visualization-api/epXWrC1xHIw */
}

table td {
    vertical-align:top;
    padding: 10px;
    padding-left: 0;
    margin:2px;
    line-height:1.5em;
}

table.smallblock {
    font-size: 1.0em;
    border-collapse:collapse;
    margin-bottom:10px;
}

table.smallblock td {
    padding-top:3px;
    padding-bottom:3px;
    border:0;
    padding-right: 2px;
    padding-left: 2px;
}

table tr.spaceUnder > td {
    padding-top: 1em;
    padding-bottom: 1em;
}


/* needed for angular-ui: */
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }

/* animation class for ngAminate: */
.anim.ng-enter {
    -webkit-transition-property: all;
    -webkit-transition-duration: 400ms;
    transition-property: all;
    transition-duration: 0.3s;
    opacity:0;
}

.anim.ng-leave { /* prevent that new lines are added while old lines are still there */
    -webkit-transition-duration:0;
    transition-duration:0;
    -webkit-transition-delay:0;
    transition-delay:0;
}
.anim.ng-enter.ng-enter-active {
  opacity:1;
}


.anim {
    transition: 0.3s all ease-out;
}


.anim.ng-hide {
    line-height:0;
    opacity:0;
}

.anim.ng-hide-add, .anim.ng-hide-remove {
    display: block !important; 
}

.anim.ng-hide-remove, .anim.ng-hide-add.ng-hide-add-active {
    opacity: 0;
}
.anim.ng-hide-add, .anim.ng-hide-remove.ng-hide-remove-active {
    opacity: 1;
}



th {
    white-space:nowrap;
}


img.logo_in_submenu {
    margin-top:0px;
    max-width:160px;
    margin-bottom:20px; 
    background: #fff; 
    padding: 1px; 
    margin-left:-5px;
}


.nav-pills li a {
    color:#293644; /*may be overridden in templates/default/common_head_section.html*/
}


legend span {
    font-weight: normal;
    font-size: 1.16em;
    color:#293644;
}


.dropdown-toggle {
    box-shadow:none; /* has no effect here. i have to place it directly in html... why? */
    padding: 0; 
    font-size: 1.0em; 
    height: 30px; 
    background: #e2e7ee;
}

.dropdown-toggle div {
    margin: 0; 
    padding: 9px; 
    color: #8292a3; 
    background: #e2e7ee; 
    padding-right:30px; 
    display:inline;
}

.dropdown-toggle div.after {
    margin:0; 
    padding:9px; 
    background: #ced6de; 
    display:inline;
    color:#fff; 
}

.dropdown-menu {
    font-family: inherit;
    font-size: 1em;
}

.nav-tabs { margin-bottom: 0; }


.grey {
    color: #888
}

.textblock {
    color:#758392;
    font-size:1.2em;
    line-height:1.5em;
}

i.title-icon {
    color:fff; opacity:0.56
}

.form-control {
    width:auto;
}

a.defaultcolor i {
    color: #8292a3;
}


/* pure-hidden-sm */
@media screen and (max-width:767px) {
    .pure-visible-md{display:none}
    .pure-visible-lg{display:none}
    .pure-hidden-sm{display:none}
}
/* pure-hidden-md */
@media screen and (min-width:768px) and (max-width:1023px) {
    .pure-visible-sm{display:none}
    .pure-visible-lg{display:none}
    .pure-hidden-md{display:none}
}
/* pure-hidden-lg */
@media screen and (min-width:1024px) {
    .pure-visible-sm{display:none}
    .pure-visible-md{display:none}
    .pure-hidden-lg{display:none}
}


.countbubble 
{

margin-left:10px;
bottom:2px;
  font-size:0.7em;
  color:#888;
position: relative;

height: 19px;
padding: 0 4px 0 4px;
 
background: #FFFFFF;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border: #CCCCCC solid 1px;
}

.countbubble:after 
{
content: '';
position: absolute;
border-style: solid;
border-width: 4px 4px 4px 0;
border-color: transparent #FFFFFF;
display: block;
width: 0;
z-index: 1;
margin-top: -4px;
left: -4px;
top: 50%;
}

.countbubble:before 
{
content: '';
position: absolute;
border-style: solid;
border-width: 4px 4px 4px 0;
border-color: transparent #CCCCCC;
display: block;
width: 0;
z-index: 0;
margin-top: -4px;
left: -5px;
top: 50%;
}
