@import 'https://fonts.googleapis.com/css?family=Exo+2';

/* VARIABLE  */

:root {

  --themeBackground: #ffffff; 
  --themeLinesLight: #fdf8f4;
  --themeLinesDark: #f4f4f4;

  --themeBorderGrey: #50e2c1;  
  
  --themeGreyDark: #a5afc7;
  --themeGreyDarker: #333333;
  
  --themePrimary: #ABE3D6;
  --themePrimaryLight: #E0FFF8;
  --themePrimaryContrast: var(--themeGreyDarker);
  --themePrimaryText: var(--themeLinesLight);
  --themePrimaryBorder: #e7e7e7;
    
  --themeHeading: var(--themePrimaryContrast);  
  --themeButton: var(--themeHeading);  
}

/*  TsNocode coor theme */
/*
:root {
  --themePrimary: #006767;
  --themePrimaryLight: #7fb3b3;
  --themePrimaryContrast: #FFFFFF;
  --themeHeading: var(--themeGreyDarker);  
}
*/

html body, html body *, th, td, .Button, .th, a.knap, input, select, textarea {
	font-family: 'Exo 2';
}

a, u {
	text-decoration: none;
}

.Header th {
    color: #DDDDDD;
    font-weight: bold;	
    padding-top: 4px;
    padding-bottom: 2px;
}

.Caption th {
    font-weight: normal;		
}

.Caption th, 
.Controls th {
    color: var(--themeGreyDarker);
}

.Row td, .Controls th {
    padding-left: 4px;
    padding-right: 4px;
}


.Row a {
    font-weight: bold;				
}
.Row a:active, .Row a:link, .Row a:visited {
    color: var(--themeGreyDarker);
}
.Row a:hover {
    color: #FF0000;
}

.NoRecords td {
	font-style: italic;    				
}

input, select, textarea {
    font-size: 10pt;
    border: 1px solid #CCCCCC;
    background-color: var(--themeBackground);
    padding-left: 2px;
}

a.knap  {
    color: var(--themeGreyDarker) !important;
	font-size: 8pt;	
	padding-left: 5px;
	padding-right: 5px;	
	margin: 2px;
	vertical-align: middle;
}

.Button, input, select, textarea,
a.knap  {
	border-radius: 4px;
	-moz-border-radius: 4px;
}

.Button, a.knap {
	font-variant: small-caps;    
}

#menu li { /* all list items */
	width: 10em;
}

#menu ul a {
	font-variant: small-caps;    
}
#menu li ul a {
	color: #333;
}

body {
	background-image: none;
}

.FooterNote {
	color: var(--themeGreyDark);
}


body p { clear: both; }

div.section { 
	padding-top: 20px; 
}

div.sectionColumn { 
	float: left; 
	padding-right: 30px; 
}

input.btn-primary {
	border-top-left-radius: 0.5em;
	border-bottom-left-radius: 0px;
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 1.0em;
}
.navbar a:hover {
	/*text-shadow: 1px 1px var(--themePrimary);*/
	font-weight: bold;
}
.dropdown-menu { 
   background-color: var(--themePrimaryLight) !important;  
   border: none !important;   
}

.navbar a,
.navbar .open a,  
.Controls th, 
.Grid th, 
.Grid .Caption th, 
.Grid .Caption th a  {
	color: var(--themePrimaryContrast) !important;	
}
.navbar .open a {
	background-color: var(--themePrimaryLight) !important;
}
.tsHeader th {
	color: var(--themeHeading) !important;	
}


.Grid, .Grid td, .Grid th {	
	border-color: var(--themeGreyDark) !important;
}

.Grid tr th:first-child,
.Grid tr td:first-child {
	padding-left: 8px;
}

.Controls td {
  padding-left: 5px;
}
.Row:nth-child(even) td {
   background-color: var(--themeLinesLight) !important;   
}
.Row:nth-child(odd) td {
   background-color: var(--themeLinesDark) !important;
}

.btn-xs {
	border-color: --var(--themeGreyDark) !important;
    color: var(--themeButton) !important;
	font-size: 12px !important;
	margin-left: 10px;
	margin-right: -8px;
	margin-bottom: 3px !important;
}
.tsHeader .btn-xs {
	color: var(--themePrimaryContrast) !important;
}

.Record .btn-xs, .Grid .btn-xs {
   background-color: #dfe3ed !important;
   margin-left: 3px;
   margin-right: 3px;
   margin-bottom: 2px !important;
   font-size: 12px !important;
}
.Record select {
   margin-bottom: 3px;
}

#headerLogout:hover {
	font-weight: bold;
	background-color: #dfe3ed;
	border: white;
} 

.tsHeader { margin-bottom: 6px; }
.Grid , .Record{ margin-top: 6px; margin-bottom: 12px; }
.Grid { min-width: 300px; }



.Row td, .Controls th {
    font-size: 11pt;
}

/*************************************/
/* sliders  */
/*************************************/

.switchheader { 
	float: right; 
	zoom: 0.7;
    margin-top: 25px;
}
.isAdvanced { display: none; }
.showAdvanced .isAdvanced { display: table-row; }


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/*  TS mint color theme */

input:checked + .slider,
.Record .btn-xs, .Grid .btn-xs, th .btn-default, 
.Caption th, .Footer td, .Record th, .Bottom td, .Row th {
    background-color: var(--themePrimary);	
}

table td, table th, 
.Record td, .Record th {
	padding: 5px	
}
.tsHeader td {
	display: none;
}		
.tsHeader th {
	padding: 0px;
}		
.tsHeader th {
	padding: 0px;
}		
.Record {
	border-top: 1px solid grey;	
}
#SortedGrid .Footer td, 
.Bottom td {
    background: none !important;
	border: none;
	border-top: 1px solid grey;
	padding-top: 5px;
}
.Controls th {
	vertical-align: text-top;
	padding-right: 10px;
}

.Grid {
	border-top: 1px solid var(--themePrimaryBorder);
}

table.Grid .Caption th {
    border-right: none !important;
}

.Footer td { padding: 0px; padding-left: 5px; }
.Footer td > img:first { padding-left: 5px; }
.Footer td > * { padding-top: 5px; padding-bottom: 5px; }
.Footer td:empty { display: none; min-height: none; }


form[id$="Search"] td, form[id$="Search"] th {
    background: none !important;
	color: var(--themeHeading) !important;
}
form[id$="Search"] .Record {
	border-top: none;
	border-bottom: none;
	margin-bottom: 0px;
}
form[id$="Search"] input,
form[id$="Search"] select,
form[id$="Search"] .btn {
    background: none !important;
}
form[id$="Search"] .btn {
    font-weight: bold;
}


#headerLogout, 
.navbar, .navbar-default  {
    background-color: var(--themePrimary) !important;	/* Overrided in bootstrap */
    border-color: var(--themePrimaryBorder) !important;	/* Overrided in bootstrap */
}
.Record .btn-xs:hover, .Grid .btn-xs:hover, th .btn-default:hover,
#headerLogout:hover, 
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    background-color: var(--themePrimaryLight) !important;
}

#headerLogout {
    border: 0px;
}

.navbar a:hover {
	text-shadow: 1px 1px var(--themeBorderGrey);
}

input[type="checkbox"] {
    filter: hue-rotate(320deg) brightness(1.2);
}

.slider.round:before {
  bottom: 3px;
}
.slider.round:before, 
.slider.round {
    border: 1px solid darkgrey;
}


.Footer td:empty {
	display: none;
}



html body div .monaco-editor,
html body div .monaco-editor * {
    font-family: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
}