﻿/* ========================================= DOCUMENT BODY ========================================= */
body {
	margin-top: 60px;
	background-image: linear-gradient(to right, #E7F7F2, #B9E7DA);
}

.content_area {
	max-width: 1200px;
	margin: auto; 
	display: block; 
	padding: 5px;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-color: #A1A1A5;
    border-radius: 10px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}

/* ========================================= LOADING BAR ========================================= */
.loader {
    position: absolute;
    /*If you put the script into the Site.Master file then you dont need margin, if you populate it on the pages 1 by one then you need this*/
    /*margin-left: -4.5%;*/
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.loader-content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hiddencol {
    display: none;
    padding: 4px 8px 4px 8px !important;
    text-align: center !important;
}

.gridViewPadding {
    padding: 4px 8px 4px 8px !important;
    text-align:center !important;
}
/* ========================================= SNACKBAR (pop up message) ========================================= */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 50px;
    font-size: 17px;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s;
        animation: fadein 0.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 50px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 50px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}
/* ========================================= ASP.NET NAV BAR ========================================= */
.navbar2 {
    overflow: hidden;
    background-color: #333;
    position: fixed;
    bottom: 0;
    width: 100%;
    opacity: 0.5;
}

.navbar2:hover {
  opacity: 1;
}

    .navbar2 a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

        .navbar2 a:hover {
            background-color: #79BDE9;
			color:white;
			text-decoration: none;
        }

        .navbar2 a.active {
            background-color: #79BDE9;
            color: white;
        }

    .navbar2 .icon {
        display: none;
    }

@media screen and (max-width: 600px) {
    .navbar2 a:not(:first-child) {
        display: none;
    }

    .navbar2 a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .navbar2.responsive .icon {
        
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .navbar2.responsive a {
        margin-left: 0 !important;
        float: none;
        display: block;
        text-align: left;
    }
}

input[type=text], input[type=password], input[type=number], select {
    /*width: 100%;*/
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* ========================================= RESIZABLE TABLE ========================================= */
/* Variables
================================== */
/* Tables
================================== */
.Rtable {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 3em 0;
  padding: 0;
}
.Rtable-cell {
  box-sizing: border-box;
  flex-grow: 1;
  width: 100%;
  padding: 0.8em 1.2em;
  overflow: hidden;
  list-style: none;
  border: solid 3px white;
  background: rgba(112, 128, 144, 0.2);
}
.Rtable-cell > h1,
.Rtable-cell > h2,
.Rtable-cell > h3,
.Rtable-cell > h4,
.Rtable-cell > h5,
.Rtable-cell > h6 {
  margin: 0;
}
/* Table column sizing
================================== */
.Rtable--2cols > .Rtable-cell {
  width: 50%;
}
.Rtable--3cols > .Rtable-cell {
  width: 33.33%;
}
.Rtable--4cols > .Rtable-cell {
  width: 25%;
}
.Rtable--5cols > .Rtable-cell {
  width: 20%;
}
.Rtable--6cols > .Rtable-cell {
  width: 16.6%;
}
.Rtable--7cols > .Rtable-cell {
  width: 14.2%;
}
/* Page styling
================================== */
/*@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Josefin Sans Regular'), local('JosefinSans-Regular'), url(https://fonts.gstatic.com/s/josefinsans/v13/Qw3aZQNVED7rKGKxtqIqX5EUDXx9.ttf) format('truetype');
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Josefin Sans Bold'), local('JosefinSans-Bold'), url(https://fonts.gstatic.com/s/josefinsans/v13/Qw3FZQNVED7rKGKxtqIqX5Ectllte10k.ttf) format('truetype');
}
html {
  height: 100%;
  background-color: #EEE;
}
body {
  box-sizing: border-box;
  min-height: 100%;
  margin: 0 auto;
  padding: 2em;
  max-width: 800px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.2em;
  background-color: white;
  border: double 3px #DDD;
  border-top: none;
  border-bottom: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}
h3 {
  font-size: 1.2em;
}
h4 {
  font-size: 1em;
}
strong {
  color: #434d57;
}*/
/* Apply styles
================================== */
.Rtable {
  position: relative;
  top: 3px;
  left: 3px;
}
.Rtable-cell {
  margin: -3px 0 0 -3px;
  background-color: white;
  border-color: #A1A1A5;
}
/* Cell styles
================================== */
.Rtable-cell--dark {
  background-color: slategrey;
  border-color: #5a6673;
  color: white;
}
.Rtable-cell--dark > h1,
.Rtable-cell--dark > h2,
.Rtable-cell--dark > h3,
.Rtable-cell--dark > h4,
.Rtable-cell--dark > h5,
.Rtable-cell--dark > h6 {
  color: white;
}
.Rtable-cell--medium {
  background-color: #b8c0c8;
  border-color: #a9b3bc;
}
.Rtable-cell--light {
  background-color: white;
  border-color: #e2e6e9;
}
.Rtable-cell--highlight {
  background-color: lightgreen;
  border-color: #64e764;
}
.Rtable-cell--alert {
  background-color: darkorange;
  border-color: #cc7000;
  color: white;
}
.Rtable-cell--alert > h1,
.Rtable-cell--alert > h2,
.Rtable-cell--alert > h3,
.Rtable-cell--alert > h4,
.Rtable-cell--alert > h5,
.Rtable-cell--alert > h6 {
  color: white;
}
.Rtable-cell--head {
  background-color: #79BDE9;
  border-color: #A1A1A5;
  color: white;
}
.Rtable-cell--head > h1,
.Rtable-cell--head > h2,
.Rtable-cell--head > h3,
.Rtable-cell--head > h4,
.Rtable-cell--head > h5,
.Rtable-cell--head > h6 {
  color: white;
}
.Rtable-cell--foot {
  background-color: #b8c0c8;
  border-color: #A1A1A5;
}
/* Responsive
==================================== */
@media all and (max-width: 500px) {
  .Rtable--collapse {
    display: block;
  }
  .Rtable--collapse > .Rtable-cell {
    width: 100% !important;
  }
  .Rtable--collapse > .Rtable-cell--foot {
    margin-bottom: 1em;
  }
}
.no-flexbox .Rtable {
  display: block;
}
.no-flexbox .Rtable > .Rtable-cell {
  width: 100%;
}
.no-flexbox .Rtable > .Rtable-cell--foot {
  margin-bottom: 1em;
}
@media all and (max-width: 500px) {
  .hiddenSmall {
    display: none;
  }
  .visible {
	display: none;
  }
}
/* Tab Styling
==================================== */
.Tablist {
  display: flex;
  flex-direction: row;
  margin-left: -3px;
}
@media all and (min-width: 500px) {
  .Tablist {
    display: none;
  }
  .invisibleHeader {
	display: none;
  }
}

.Tab {
  padding: 0.6em 1em;
  margin: 0 3px 3px 0;
  text-align: center;
  background-color: darkcyan;
  border: solid 3px darkcyan;
  border-bottom-width: 0;
  border-radius: 0.5em 0.5em 0 0;
  font-weight: bold;
  color: #002525;
  text-decoration: none;
  transition: background-color 0.1s;
  cursor: pointer;
}
.Tab:hover,
.Tab:focus {
  background-color: #199797;
  border-color: #199797;
  outline: none;
}
.Tab[aria-selected="false"]:active {
  margin-top: 0.2em;
  padding-bottom: 0.4em;
}
.Tab[aria-selected="true"] {
  background: #e6f3f3;
  cursor: default;
}
/* Accordion Styling
==================================== */
.Accordion {
  position: relative;
  top: -3px;
  left: -3px;
  width: 100%;
  margin: 0 0 0.5em 0;
  padding: 0.6em 0.6em 0.6em 2em;
  border-radius: 0.5em;
  text-align: left;
  border: solid 3px #A1A1A5;
  background-color: #79BDE9;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: background-color 0.1s;
  cursor: pointer;
}
Accordion Headers{
	background-color: slategrey;
	color: white;
}
@media all and (min-width: 500px) {
  .Accordion {
    display: none;
  }
  
}
/*.Accordion:hover, .Accordion:focus {
  outline: none;
  -webkit-filter: contrast(150%);
          filter: contrast(150%);
}*/
.Accordion[aria-selected="true"] {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-width: 0;
  background: #6198BB;
}
.Accordion:before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 0.3em;
  margin-top: -1.14285714em;
  font-weight: normal;
  font-size: 2em;
  line-height: 2em;
  background-size: 2em 2em;
}
.Accordion[aria-selected="true"]:before {
  content: "-";
}
.js-RtableTabs,
.js-RtableAccordions {
  min-width: 240px;
}
/* ========================================= NAVIGATION BAR OLD ========================================= */
/*
ul {
  position: fixed;
  top: 0;
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

li {
  float: left;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #4CAF50;
  color:white;
  text-decoration: none;
}

li a:focus {
  background-color: #4CAF50;
  color:white;
  text-decoration: none;
}
*/
/* ========================================= NAVIGATION BAR NEW ========================================= */
.topnav {
	position: fixed;
	top: 0;
	width: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #79BDE9;
  color:white;
  text-decoration: none;
  cursor: pointer;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: fixed;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
/* ========================================= BUTTON ICONS ========================================= */

.btnIcons {
  background-color: #4EDF99;
  border: none;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
}

/* Darker background on mouse-over */
.btnIcons:hover {
  background-color: #2CCB7F;
}


/* ========================================= CUSTOM CHECKBOX ========================================= */
/* The container */
.container_Checkbox {
  display: block;
  position: relative;
  /*padding-left: 35px;*/
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container_Checkbox input {
	
  /*position: absolute;*/
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  /*position: absolute;*/
  top: 0;
  /*left: 0;*/
  float:right;
  height: 50px;
  width: 50px;
  background-color: #eee;
  border-radius: 50px;
  /*margin-top: -10px;*/
}

/* On mouse-over, add a grey background color */
.container_Checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container_Checkbox input:checked ~ .checkmark {
  background-color: #4CAF50;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container_Checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container_Checkbox .checkmark:after {
  left: 21px;
  top: 11px;
  width: 10px;
  height: 20px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ======================================= MAIN DETAILS STYLING ======================================== */
.mainDetails {
	margin: 5px;
  background-color: f1f1f1;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  border-radius: 10px;
}

.callsTable {
	height: 400px; 
	overflow-y:auto; 
	overflow-x: hidden; 
	border: 1px solid #ccc;
	padding-top: 1px;
	margin: 5px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}

.grid-table-container {
    /* background-color: rgba(0, 0, 0, .10); */
	background-color: #8B9BA5;
    border-color: #A1A1A5;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
	margin-top: 15px;
}
/* ======================================= DYNAMIC GRID ======================================== */
.grid-container {
	display: grid;
    grid-gap: 1px;
    background-color: rgba(0, 0, 0, .10);
	padding: 1px 1px;
    margin: 5px;
	box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.grid-container:hover {
	background-color: #A1A1A5;
  cursor: pointer;
  transform:scale(1.01);
}

.grid-container > div {
	background-color: rgba(255, 255, 255, 0.9);
	padding: 10px 0;
}

.grid-container > .grid-container-headers {
	font-size: 150%;
    color: white;
    font-weight: bold;
}

.grid-container > .grid-item5 {
	word-break: break-all;
}
/* For mobile users */
@media screen and (max-width: 600px) {
	.grid-container {
		display: grid;
		grid-template-columns: auto !important;
		grid-gap: 1px;
		background-color: rgba(0, 0, 0, .10);
		border-color: #A1A1A5;
		padding: 1px 1px;
		margin: 5px;
		box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	}
	
	.grid-container > .grid-container-headers {
		display: none;
		font-size: 150%;
		color: white;
		font-weight: bold;
	}
	
	.grid-container > .grid-item1 {
		background-color: #79BDE9;
		font-size: 150%;
		color: white;
		font-weight: bold;
	}
	
	.grid-container > .grid-item5, .grid-item4, .grid-item3 {
		word-break: break-all;
	}
}





