/** Load Lato font from local file **/
@font-face {
	font-family: 'Lato';
	src: url("Lato-Regular.ttf");
}
body {
    font-family: 'Lato', sans-serif;
    color: #686868;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
}
p, div {
    font-family: 'Lato', sans-serif;
}
a {
   color: #66CC66;
   text-decoration: none!important;
   outline: 0;
}
a:hover {
    color: #669966;
}
a:focus {
   outline: 0;
}

input[type='file'] {
	font-size: 90%;
	color: gray; 
}

textarea:focus, input:focus, input[type]:focus, .uneditable-input:focus {   
	border:0px solid silver !important;
    outline: 0 none;
}

pre {
	/* Set tab size to 3 spaces for different browsers */
  	tab-size: 3; 
  	-moz-tab-size: 3;
	-o-tab-size: 3;
}

textarea {
	/* Set tab size to 3 spaces for different browsers */
  	tab-size: 3; 
  	-moz-tab-size: 3;
	-o-tab-size: 3;
}


/* Carousel styles */
.carousel-control {
    background-image: none !important; /* remove background gradients on controls */
    width: 5% !important;
}

@media (min-width: 768px) {
	.modal-body {
	    position: relative;
	    overflow-y: auto;
	    height: 560px;
	    padding: 15px;
	}
	.modal-wide .modal-dialog {
		width: 85%; /* or whatever you wish */
	}
}
/* Landscape phone to portrait tablet */ 
@media (max-width: 767px) {
	.modal-body {
	    position: relative;
	    overflow-y: auto;
	    height: 560px;
	    padding: 5px;
	}
	.modal-wide .modal-dialog {
		width: 95%; /* or whatever you wish */
	}	
}
@media (max-width: 480px) {
	.modal-body {
	    position: relative;
	    overflow-y: auto;
	    height: 400px;
	    padding: 1px;
	}
	.modal-wide .modal-dialog {
		width: 100%; /* or whatever you wish */
	}
}

.fade {
   opacity: 0;
   -webkit-transition: opacity 0.10s linear;
      -moz-transition: opacity 0.10s linear;
       -ms-transition: opacity 0.10s linear;
        -o-transition: opacity 0.10s linear;
           transition: opacity 0.10s linear;
}

.form-control::-webkit-input-placeholder {
	color: #D8D8D8; font-size: 100%;
}

.form-control {
	border-radius: 5px !important;
	box-shadow: none !important;
	webkit-transition: none !important; 
	transition: none !important;
}

input {
    -webkit-appearance:none;  /* Remove default shadow */
}

textarea {
    -webkit-appearance:none;  /* Remove default shadow */
}

/* bootstrap nav stuff */
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
  background-color:#A9A9A9;
}

.navbar-brand,
.navbar-nav li a {
    line-height: 71px;
    height: 71px;
    padding-top: 0;
}

/* Animation for button busy */
.glyphicon-refresh-animate {
    -animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

/* Need to add this because of issue caused by div included in bootstrap rule. 
It is too broad and breaks character width measurements for ace
*/
.ace_editor div {
    font: inherit!important
}
