/* General styles */
@import url(https://fonts.googleapis.com/css?family=Titillium+Web);
html {
  /*background-color: #5D92BA;*/
  background-color: #FFFFFF;
  font-family: "Titillium Web", sans-serif;
}

table.tablesmiles a:link {
color: #666;
font-weight: bold;
text-decoration:none;
}
table.tablesmiles a:visited {
	color: #999999;
	font-weight:bold;
	text-decoration:none;
}
table.tablesmiles a:active,
table.tablesmiles a:hover {
	color: #bd5a35;
	text-decoration:underline;
}
table.tablesmiles {
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	font-size:12px;
	text-shadow: 1px 1px 0px #fff;
	background:#eaebec;
	margin:20px;
	border:#ccc 1px solid;

	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;

	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
}
table.tablesmiles th {
	padding:21px 25px 22px 25px;
	border-top:1px solid #fafafa;
	border-bottom:1px solid #e0e0e0;

	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
}
table.tablesmiles th:first-child {
	text-align: left;
	padding-left:20px;
}
table.tablesmiles tr:first-child th:first-child {
	-moz-border-radius-topleft:3px;
	-webkit-border-top-left-radius:3px;
	border-top-left-radius:3px;
}
table.tablesmiles tr:first-child th:last-child {
	-moz-border-radius-topright:3px;
	-webkit-border-top-right-radius:3px;
	border-top-right-radius:3px;
}
table.tablesmiles tr {
	text-align: center;
	padding-left:20px;
}
table.tablesmiles td:first-child {
	text-align: left;
	padding-left:20px;
	border-left: 0;
}
table.tablesmiles td {
	padding:18px;
	border-top: 1px solid #ffffff;
	border-bottom:1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;

	background: #fafafa;
	background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
	background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
}
table.tablesmiles tr.even td {
	background: #f6f6f6;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
	background: -moz-linear-gradient(top,  #f8f8f8,  #f6f6f6);
}
table.tablesmiles tr:last-child td {
	border-bottom:0;
}
table.tablesmiles tr:last-child td:first-child {
	-moz-border-radius-bottomleft:3px;
	-webkit-border-bottom-left-radius:3px;
	border-bottom-left-radius:3px;
}
table.tablesmiles tr:last-child td:last-child {
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-right-radius:3px;
	border-bottom-right-radius:3px;
}
table.tablesmiles tr:hover td {
	background: #f2f2f2;
	background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
	background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);
}

/*Ovveriding of the default bootstrap modal*/
.modal.modal-wide .modal-dialog {
  /*width: 90%;*/
  width: 900px;
}
.modal-content {
  width: 90%;
  /*margin-left: -150px;*/
}
.modal-wide .modal-body {
  overflow-y: auto;
}

/**/
#ModalResults .modal{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    min-height: 720px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
#ModalResults .modal-dialog {
    min-height: 720px;
    max-width : 100% ;
    max-height : 100% ;
}
#ModalResults .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    min-height: 720px;
    width: 80%;
    height: 80%;
    display:block;
	overflow:auto;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
#ModalResults .modal-body {
    min-height: 720px;
    overflow-y: auto;
}



/*To horizontally center the loader modal*/
#ajax_loader_modal .modal-dialog {
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 50%;
    margin: 0 auto;
}

/*To horizontally center the loader modal*/
#downloadmodal .modal-dialog {
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 50%;
    margin: 0 auto;
}

/*Waiting - Loader*/
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*Legend boxes*/
.legendbox {
  float: left;
  width: 60px;
  height: 20px;
  margin: 5px;
  /*border: 1px solid rgba(0, 0, 0, .2);*/
  border: none;
  /*overflow:hidden;*/
}

.bluelegend {
  background: #13b4ff;
}

.purplelegend {
  background: #ab3fdd;
}

.winelegend {
  background: #ae163e;
}

.gradient-blue-red {
  background: linear-gradient(to right, blue , red);
}
