/*********************************************************************************
 * University of Arizona Facilities Management Website Stylesheet
 * By Kite Christianson
 ***********************************************************************************/

/**************************************** 
University of Arizona StyleSheet and Font -- Mandatory
*****************************************/
/*@import url("https://brand.arizona.edu/sites/default/files/ua-banner/ua-web-branding/ua-fonts/milo.css");*/
body {
    font-family: MiloSerifWeb, TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
}

/***********************
	 0. Uncommited Styles 
***********************

/* MAGIC -- Collapse on dropdown */
/*
ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;    
} 
*/

/*
body{
    background-color:#EBEBEB;
}

.row{
    background-color:white;
}
.container:not(:first-child){
    background-color:white;
}
*/

/* Experimental Red Navbar, really ugly 
#redNavTop {
    z-index: 1000000;
    background-color: #AB0520;
    position: fixed;
    width: 100%;
    height: 40px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
} 
@media (max-width: 768px) {
    #redNavTop {
        display: none;
    }
}
    */

/* (slightly) colored background 
     --- Problems with this one, neverSettle icons have white backgrounds. <hr> becomes pretty much display:none

body{
    background-color: #EBEBEB;
}

ol.breadcrumb{
    background-color: #EBEBEB;
}
    */

/***********************
     1. Baseline Styles 
         Unsorted styles go here too
************************/

html{
    background-color: white;
    margin-left: auto;
	margin-right: auto;
}

blockquote {
	font-size: 14px;
}

/* smaller 
input{
	width: 80% !important;
}
*/


input:focus {
	border: 1px solid #337ab7 !important;
}

kbd{
	background-color: rgba(0,0,0,0.6) !important;
}

img{
    max-height: 600px;
}

fieldset { 
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: 1px groove gray;
	border-top: 1px groove gray;
}


/***************************************************
    2. wikipedia-esque external link indicators 
***************************************************
li > a[href^="http://"]:after,
li > a[href^="https://"]:after {
    content: url(../images/external.png);
    margin: 0 0 0 5px;
}
p > a[href^="http://"]:after,
p > a[href^="https://"]:after {
    content: url(../images/external.png);
    margin: 0 0 0 5px;
}
h3 > a[href^="http://"]:after,
h3 > a[href^="https://"]:after {
    content: url(../images/external.png);
    margin: 0 0 0 5px;
}
.navbar-inverse .navbar-nav > li > a[href^="http://"]:after,
.navbar-inverse .navbar-nav > li > a[href^="https://"]:after {
    content: none;
}
.dropdown-menu > li > a[href^="http://"]:after,
.dropdown-menu > li > a[href^="https://"]:after {
    content: none;
}
img a[href^="http://"]:after,
img a[href^="https://"]:after {
    content: none;
}

/***********************************
    3. Absolute Navbar Margins 
	
        this is required for every angular view's first block element of the page!! because fixed navbar
***********************************/

#non-index-page-top-margin {
	margin-top: 150px;
}
@media(max-width:767px){
    #non-index-page-top-margin {
	    margin-top: 100px;
    }
}


/*************************
    4. Resizing Navbar
***************************/

.sticky{
	transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
}
/* eases transition return (takes 0.1s) -- however, white background visible (only on index page, due to carousel)
    aesthetically unpleasing. */
/* size-returning state */
nav{
	transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;
}
img.img-logo{
	transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;
}
input{
	transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;
}
.navbar-inverse .navbar-nav>li>a{
	transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;	
}
#redNavTop{
    transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;	
}

/* size-reduced state*/
nav.sticky {
	height: 80px;
}
img.img-logo.sticky {
	height: 60px;
	width: 368.4px;
}
input.sticky{
	display: none;
}
.navbar-inverse .navbar-nav>li>a.sticky{
	padding-top: 9px;
	padding-bottom: 9px;
}
#redNavTop.sticky{
    height: 0px;
    display:none;
}
.stickyNewline.sticky {
    display: none;
}
	
.verticalAlignFrame.vertFrame{
	height: 90px;      /* equals max image height */
	width: 552.6px;
	white-space: nowrap;
	text-align: center;
	margin: 1em 0;
}

.verticalAlignHelper.vertHelper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}


/**********************
    5. Navbar Styles
************************/

.navbar-fixed-top {
    background: #0C234B;
    border: #0C234B;
    height: 150px; /* change .carousel-inner,margin-top accordingly so margin doesn't eat the slider */
	border-bottom-width: 3px; 
    border-bottom-color: #CCCCCC;
    border-bottom-style: solid;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
  color: #fff;
  background-color: black;
}

#submenuWrapper{
	display: none;
}

.nav-up{
    top: -110px;
}

.carousel-inner {
    margin-top: 130px; /* change me if you changed navbar-fixed-top,height (index.html only) */
}

#bs-example-navbar-collapse-2{
    margin-top: -6px;
}

.navbar-inverse .navbar-nav>li>a {
	color: white;
	background-color: #0C234B;
    padding-top:12px;
    padding-bottom:12px;
}

ul.dropdown-menu > li > ul.list-unstyled{
    background-color: #0C234B !important;
}

@media (max-width: 767px){
    .navbar-nav .open .dropdown-menu {
        border: 2px black solid;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
}

ul.nav-pills{
    background-color: #0C234B !important;
}

.nav-pills>li>a{
    color: white;
}

.nav-pills>li>a:hover{
    color: white;
    background-color: black;
}

.navbar-inverse .navbar-nav>li>form {
	background-color: #0C234B;
	padding-bottom: 3px;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover{
	background-color: #0C234B !important;
    background: url('../images/redTriangleTiny2.png') no-repeat center bottom;
    margin-bottom:0px;
}
@media (max-width: 767px){ 
    .navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover{
	    background-color: #0C234B !important;
        background: url('../images/redTriangleTiny2right.png') no-repeat left center;
        margin-bottom:0px;
    }
}

.navbar-inverse .navbar-nav>li>a:hover {
	color: white;
	background-color: black;
}

.mobileBrand{
    display:none;
}
@media (max-width: 767px){
    .mobileBrand{
        display:block;
    }
}

.dropdown-menu{
	color: white;
	background-color: #0C234B;
	border: 0px hidden #0C234B;
	padding: 0 0 0 0;
	padding-left: 0px;
}

.dropdown-menu>li>a {
	color: white;
}

.navbar-brand {
	width: 355px;
}

.navbar-collapse{
    max-height:900px;
}

.navbar-collapse.in {
    overflow-y: scroll;
}

/* red navbar on index (UNUSED) */
#bottom-main-navbar-collapse {
    background-color: #AB0520;
    border: #AB0520;
}

#bottom-main-navbar-collapse  a {
	background-color: #AB0520;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
}

#bottom-main-navbar-collapse  a:hover {
	background-color: #800000;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
}

.h4r{
	font-size: 6vmin
}

.carousel-caption {
    bottom: 0px;
    right: 0px;
    left:0px;

}
.carousel-indicators{
    bottom: 0px;
}

#bigNav{
        min-height:110px; 
        max-height:110px; 
}
@media (max-width: 767px) {
    #bigNav{
            min-height:75px; 
            max-height:75px; 
    }
}

#theREALnav{
    margin-top:135px;
}
@media (max-width: 767px) {
    #theREALnav{
        margin-top:117px ;
    }
}
#theREALnav.nav-up{
    margin-top:135px !important;
}

@media (max-width: 767px) {
    .carousel-inner{
        margin-top:70px !important;
    }
    #bs-example-navbar-collapse-1{
        margin-top: 30px;
    }
}

@media (max-width: 400px){
    #bs-example-navbar-collapse-1{
        margin-top: 60px;
    }
}

/****************
    6. All other classes and colorations
	
	This is kinda the miscalleaneous section
******************/

.well{
    background-color: #f5f5f5;
	background-image:initial;
}


.img-icon { 
	margin-bottom: 4px !important;
}

.btn-lg{
    margin-left: 15px;
}

/* brown panels */
.list-group-item {
	background-color: rgba(182, 190, 193, 0.25);
}

.panel-heading {
    background-color: rgba(182, 190, 193, 0.50) !important;
}

.panel-body {
	/* background-color: rgba(230,227,217, 0.5) !important; */
	background-color: rgba(182, 190, 193, 0.25) !important;
}


footer.quote{
    margin-top: 10px;
	margin-bottom: 5px;
	font-size: 15px !important;
}

.searchBox {
    width: 25%; 
}

a.accordion-toggle:hover{
    text-decoration: underline;
}

/* anchor offset */
a.anchor{
    display: block; 
	position: relative; 
	top: -50px; 
	visibility: hidden;
}

.pager .previous>a {
	margin-left: 20px;
	margin-right: 20px;
}

.pager .next>a {
	margin-left: 20px;
	margin-right: 20px;
}

a.redWhiteBlockLink{
    background-color: #AB0520;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    color: white;
}


.indexPreview {
    width:300px !important;
    height:220px !important;
}

carousel-caption{
    bottom: 0px !important;
    background-color: rgba(0,0,0,0.7) !important;
}

carousel-indicators{
    bottom: 0px !important;
    margin-bottom:0px;
}

.carousel-caption > h4 > a{
    color: cyan;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height:320px;
}

.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    color: #fff;
    background-color: black;
}

.contactDetailsHeight{
    min-height: 325px;
}

.conditionalMargin{
	margin-top:130px;
}

.reverseConditionalNewline{
	display:none;
}

.topIndexStuff{
	max-width: 600px;
	margin-left:auto;
	margin-right:auto;
}


/*****************************
    7. @media 
*******************************/

@media (max-width: 1024px) {
	.img-logo {
		height: 60px;
		width: 368.4px;
	}
}

@media (max-width: 993px) {
    .contactDetailsHeight{
        min-height: initial;
    }
	.conditionalMargin{
		margin-top:15px !important;
	}

}

@media (max-width: 767px) {

    .navbar-brand{
        width: 50%;
    }
    .navbar-fixed-top{
        height: 75px;
    }
    .img-hover{
		min-width: 100%;
		max-width: 100%;
	
		min-height: 100%;
		max-height: 100%;
	}
    .img-logo {
		height: 58.5px;
		width: 359.19px;
	}
    ul.nav navbar navbar-right {
        margin-top: 0px;
	}
    .navbar-nav {
        margin-top: 0px;
    }
    .navbar-brand{
        padding-bottom: 0px;
    }
    .conditionalNewline {
		display: none;
	}
	
	.reverseConditionalNewlone{
		display:block;
	}

    .stickyNewline{
        display: none;
    }
    a.list-group-item{
		min-height: 40px;
	}
    a{
	  -webkit-box-sizing: initial; /* magically fix navbar dropdown overlap */
	  -moz-box-sizing: border-box;
	}
}

@media (max-width: 767px) {
	.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
		color: white;
		background-color: #0C234B;
	}
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover {
		color: white;
		background-color: #080808;
	}
    html{
		width: 100%;
	}
}

@media (max-width: 400px) {
    .img-logo {
		height: 43.875px;
		width: 269.3925px;
	}
    .navbar-fixed-top {
        height: 75px;
    }
    #bigNav{
        height: 75px;
    }
    #theREALnav{
        margin-top:97px;
    }
}

/********************
    8. Template Default Styles
**********************/

html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

/* before flex slider= 50%*/
div.carousel {
    height: 40%;
}

div.carousel .item,
div.carousel .item.active,
div.carousel .carousel-inner {
    height: 100%;
}

div.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    div.carousel .carousel {
        height: 70%;
    }
}


/******************
  9. Unused 
*******************/

/* even this section is unused */

/*********************
    10. carousel fade
**********************/

/* This is pretty dope, makes it look like flexslider when it's actually bootstrap carousel */


.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

/**************************
   11. Submenu
***************************/

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    margin-top: -3px;
}

.dropdown-submenu:hover >.dropdown-menu, .dropdown-submenu:active >.dropdown-menu {
    display: block;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
}

.dropdown-submenu > .dropdown-menu > li > a{
    color: white;
    background-color: #0C234B;
    padding-top: 12px;
    padding-bottom: 12px;
    border-style: none;
}
.dropdown-submenu > .dropdown-menu > li > a:hover, .dropdown-submenu > .dropdown-menu > li > a:active{
    color: white;
    background-color: black;
    padding-top: 12px;
    padding-bottom: 12px;
    border-style: none;
}

.dropdown-menu>li>a {
    white-space: normal;
}

/**************************
   12. animes
***************************/

/* Problem: links are simply opacity:0 when dropdown is closed
@media (min-width: 767px) {
    .open .dropdown-menu {
        -webkit-transition: all 300ms ease-out;
        -moz-transition: all 300ms ease-out;
        transition: all 300ms ease-out;
        opacity: 0;
        display: block;
    }

    .open .dropdown-menu {
        opacity: 1;
    }
}
*/


/* FADE transition */
.view-container {
    position: relative;
	min-height: 1000px;
}

.view-frame.ng-enter, .view-frame.ng-leave {
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
	min-height: 1000px; /* this prevents the footer from being visible */
}

.view-frame.ng-enter {
    -webkit-animation: 0.5s fade-in;
    -moz-animation: 0.5s fade-in;
    -o-animation: 0.5s fade-in;
    animation: 0.5s fade-in;
    z-index: 100;
}

.view-frame.ng-leave {
    -webkit-animation: 0.5s fade-out;
    -moz-animation: 0.5s fade-out;
    -o-animation: 0.5s fade-out;
    animation: 0.5s fade-out;
    z-index: 99;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-moz-keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-webkit-keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ng-animate Fade for carousel*/
.ng-hide-add, .ng-hide-remove {
    display: block !important; /* yes, important */
}
.cssFade {
    transition: 0.2s linear all;
    opacity: 1;
}
.cssFade.ng-hide {
    opacity: 0;
}



/***********************
   13. High Priority Styles
************************/

@media (max-width: 767px) {
    .navbar-fixed-top{
        height: 95px;
    }
    .navbar-nav {
        margin: 0 0 0 0;
    }
}

.invisibleOnDesktop{
    display:none !important;
}
.invisibleOn1300{
    display:none !important;
}
.invisibleOn1200{
    display:none !important;
}
.invisibleOn991{
    display:none !important;
}

.showOn1300{
	display:block !important;
}
.showOn1200{
	display:block !important;
}
.showOn991{
	display:block !important;	
}

@media (max-width: 767px) {
	#srImage{
		display:none;
	}
}

@media (max-width: 626px) {
    #serviceAndSearch{
        display:none !important;
    }
    .invisibleOnDesktop{ /* note that it's block*/
        display:block !important;
    }
    input{
        width:80% !important;
    }
}
@media (min-width: 991px){
	.invisibleOn991{
		display:block !important;
	}
	.showOn991{
		display:none !important;	
	}
}
@media (min-width: 1200px){
	.invisibleOn1200{
		display:block !important;
	}
	.showOn1200{
		display:none !important;
	}
}
@media (min-width: 1300px){
	.invisibleOn1300{
		display:block !important;
	}
	.showOn1300{
		display:none !important;
	}
}

.img-hover {
    min-width: 100%;
    max-width: 100%;
}

@media (max-height: 992px) {
    .img-hover {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-height: 959px) {
	.leftRightClicky{
		width: 50px;
		height: 100px;
		margin-left: auto;
		margin-right: auto;
	}
}

.breadcrumb a{
	margin-left: 10px;	
}

.breadcrumb{
	margin-bottom:10px;
}

/****************************
    14. .footer-distributed
*****************************/

.footer-distributed{
	background-color: #0C234B;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	width: 100%;
	text-align: left;
	padding: 40px 50px 40px 50px;
	margin-top: 80px;
	background: #0C234B url('../images/footer-logo.png') no-repeat center bottom;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
	display: inline-block;
	vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left{
	width: 40%;
}

/* The company logo */

.footer-distributed h3{
	color:  #ffffff;
	margin: 0;
}

.footer-distributed h3 span{
	color:  #5383d3;
}

/* Footer links */

.footer-distributed .footer-links{
	color:  #ffffff;
	margin: 20px 0 12px;
	padding: 0;
}

.footer-distributed .footer-links a{
	display:inline-block;
	line-height: 1.8;
	text-decoration: none;
	color:  inherit;
}

.footer-distributed .footer-company-name{
	color:  #8f9296;
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center{
	width: 35%;
}

.footer-distributed .footer-center i{
	background-color:  #33383b;
	color: #ffffff;
	font-size: 25px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	text-align: center;
	line-height: 42px;
	margin: 10px 15px;
	vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope{
	font-size: 17px;
	line-height: 38px;
}

.footer-distributed .footer-center p{
	display: inline-block;
	color: #ffffff;
	vertical-align: middle;
	margin:0;
}

.footer-distributed .footer-center p span{
	display:block;
	font-weight: normal;
	font-size:14px;
	line-height:2;
}

.footer-distributed .footer-center p a{
	color:  #5383d3;
	text-decoration: none;;
}


/* Footer Right */

.footer-distributed .footer-right{
	width: 20%;
}

.footer-distributed .footer-company-about{
	line-height: 20px;
	color:  #92999f;
	font-size: 13px;
	font-weight: normal;
	margin: 0;
}

.footer-distributed .footer-company-about span{
	display: block;
	color:  #ffffff;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 20px;
}

.footer-distributed .footer-icons{
	margin-top: 25px;
}

.footer-distributed .footer-icons a{
	display: inline-block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	background-color:  #33383b;
	border-radius: 2px;

	font-size: 20px;
	color: #ffffff;
	text-align: center;
	line-height: 35px;

	margin-right: 3px;
	margin-bottom: 5px;
}

@media (max-width: 880px) {

	.footer-distributed{
		font: bold 14px;
	}

	.footer-distributed .footer-left,
	.footer-distributed .footer-center,
	.footer-distributed .footer-right{
		display: block;
		width: 100%;
		margin-bottom: 40px;
		text-align: center;
	}

	.footer-distributed .footer-center i{
		margin-left: 0;
	}

}

/****************************
    15. Stats slider for index
*****************************/


#slider {
  position: relative;
  overflow: hidden;
  margin: 20px auto 0 auto;
  border-radius: 4px;
  margin:top:15px;
}

#slider ul {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100px;
  list-style: none;
}

#slider ul li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 500px;
  height: 200px;
  background: #ccc;
  text-align: center;
}

a.control_prev, a.control_next {
  position: absolute;
  top: 40%;
  z-index: 999;
  display: block;
  padding: 4% 3%;
  width: auto;
  height: auto;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  opacity: 0.8;
  cursor: pointer;
}

a.control_prev:hover, a.control_next:hover {
  opacity: 1;
  -webkit-transition: all 0.2s ease;
}

a.control_prev {
  border-radius: 0 2px 2px 0;
}

a.control_next {
  right: 0;
  border-radius: 2px 0 0 2px;
}

.slider_option {
  position: relative;
  margin: 10px auto;
  width: 160px;
  font-size: 18px;
}


/****************************
    16. dynamic time
*****************************/

time.icon
{
  font-size: 0.7em; /* change icon size */
  display: inline-block;
  position: relative;
  width: 6em;
  height: 4em;
  background-color: #fff;
  border-radius: 0.6em;
  box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
  overflow: hidden;
}

time.icon *
{
  display: block;
  width: 100%;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  text-align: center;
}

time.icon strong
{
  font-size: 1.3em;
  position: absolute;
  top: 0;
  padding: 0.15em 0;
  color: #fff;
  background-color: #fd9f1b;
}

time.icon span
{
  font-size: 1.75em;
  letter-spacing: -0.05em;
  padding-top: 1.0em;
  color: #2f2f2f;
}


/****/
.tab-content .tab-pane {    
    position: relative;
}

/*** angular sortorder indicators ***/
  .sortorder:after {
    content: '\25b2';
  }
  .sortorder.reverse:after {
    content: '\25bc';
  }
  

/****************************************
17. Fix shenanigans with google custom search
******************************************/

#cse {
    width: 60%; /* make sure you don't use inline width */
    margin: 0 auto;
}
.cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
	
}

/****
18. clicky pointer for all <a>
****/

a { cursor :pointer !important; }

/*********
19. override jQuery UI styles for UA BootStrap compatibility
*********/	
#ui-datepicker-div{
	z-index:10 !important;
}

.ui-datepicker-header{
	background-color:white;
}
.ui-datepicker-title{
	text-align:center;
}
.ui-datepicker-next{
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	float:right;
}
.ui-datepicker-prev{
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

/*****
20. dollars inside input
*****/
.currencyinput {
    border: 1px inset #ccc;
}
.currencyinput input {
    border: 0;
}

/*****
21. Steph's Stuff
*****/

#mySel {
    content:"";
    padding-bottom: 50px;
    margin-left:-22px;
    bottom: 0;
    
    height:0px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid white;
}

/********
22. Scrollable tbody. I finally did it!!! just add class scroll to <table>
	note the default height is 600px so use !important to set a height for <tbody>
	
	You may want to set the width for th and td manually for large width
********/

table.scroll {
	/* width: 100%; */ /* Optional */
	/* border-collapse: collapse; */
	border-spacing: 0;
}

table.scroll tbody,
table.scroll thead { display: block; }

thead tr th { 
	height: 30px;
	line-height: 30px;
	/* text-align: left; */
}

table.scroll tbody {
	height: 600px;
	overflow-y: auto;
	overflow-x: hidden;
}


tbody td, thead th {
	/* width: 20%; */ /* Optional */
	/* white-space: nowrap; */
}

tbody td:last-child, thead th:last-child {
	border-right: none;
}

/******
23. Fix UA BootStrap
*******/

/* Quick Fix: css doesn't show nav dropdowns on desktop */
@media (min-width: 767px){
	ul.navbar-nav{
		visibility: visible;
	}
}
/* Quick Fix: form-control is transparent */
.form-control{
	background-color:white;
	width: 80%;
}
/* fix ua bootstrap */
.checkbox-inline input[type=checkbox], .radio-inline input[type=radio], input[type=checkbox], input[type=radio]{
	 position: relative !important; 
	 top: 0px !important; 
	 left: 0px !important; 
	 margin-top: initial; 
	 margin-left: initial; 
	 width: 15px; 
	 height: 15px; 
	 outline: initial; 
	 opacity: 1; 
}
select{
	border: 1px solid #ccc !important;
}
/* labels are screwed */
label{
	display: inline;
}
input {
	border: 1px solid #ccc !important;
}