/* Date Picker Container */
.datecontainer input {
	width: 0 !important;
    background: #ffffff;
    color: #777;
    padding: 8px 0;
    border: 0 solid #111;
    float: left;
    display: table;
    font-size: 22px;
    color: #1e5d91;
    font-weight: 700;
}
.datecontainer input:focus {
	outline: 0;
}
/* Date Trigger (Icon) */
.datecontainer .datepicker-trigger {
	cursor: pointer;
    position: absolute;
    right: 15px;
	height: 16px;
	margin-top: 13px;
}
/* Calendar Container */
.calendar-outer-div {
	margin-left: -50%;
}
.datepicker-div {
	width: 30%;
	height: auto;
	margin: 5px auto 0;
}
.datepicker-div a {
	text-decoration: none;
}
/* Date Picker Header */
.datepicker-header {
	background-color: #1e5d91;
	color: #fff;
	font-weight: bold;
	line-height: 40px;
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #ffffff;
}
.datepicker-title {
	text-align: center;
	text-transform: uppercase;
	font-size: 18px;
}
.datepicker-prev {
	float: left;
	background-position: center -30px;
}
.datepicker-next {
	float: right;
}
.datepicker-prev, .datepicker-next {
	display: inline-block;
	width: 30px;
	height: 30px;
	text-align: center;
	cursor: pointer;
	background-image: url('../img/arrow.png');
	background-repeat: no-repeat;
	line-height: 550%;
	overflow: hidden;
	margin-top: 5px;
}
/* Date Picker Table */
.datepicker table {
	width: 350px;
    background-color: #fff;
    border: 0;
    margin-top: -28px;
    margin-left: 0;
    margin-bottom: 25px;
}
.datepicker thead {
	background-color: #ffffff;
	background-image: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
	background-image: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 100%);
	background-image: -o-linear-gradient(top,  #ffffff 0%,#ffffff 100%);
	background-image: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 100%);
	background-image: linear-gradient(top,  #ffffff 0%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
	border-bottom: 10px solid #ffffff;
}
.datepicker thead tr:first-child {
	height: 40px;
	background-color: #1e5d91;
}
.datepicker tbody button {
	height: 35px;
	width: 30px;
	padding: 0;
	margin: 0;
}
.btn-info.active {
	background-color: #1e5d91;
	color: #fff;
	border-color: #1e5d91;
}
.btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover, .open>.dropdown-toggle.btn-info.focus, .open>.dropdown-toggle.btn-info:focus, .open>.dropdown-toggle.btn-info:hover {
	background-color: #1e5d91;
	color: #fff !important;
	border-color: #1e5d91;
}
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
	outline: 0;
}
.btn-info:active {
	background-color: #1e5d91;
	color: #fff;
}
.datepicker th {
	text-transform: uppercase;
    font-size: 16px;
	color: #333333;
	padding-top: 5px;
	padding-bottom: 0;
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
	opacity: 0.4;
}
.datepicker th button {
	background-color: #1e5d91;
	margin-left: 2px;
	font-size: 18px;
}
.datepicker tbody td {
    padding: 0 5px;
	border-right: 1px solid #ffffff;
	text-align: center;
    width: 53px;
}
.datepicker tbody td:last-child {
	border-right: 0;
}
.datepicker tbody tr {
	border-bottom: 1px solid #ffffff;
}
.datepicker tbody tr:last-child {
	border-bottom: 0;
}
.datepicker td span, .datepicker td a {
	display: inline-block;
	font-weight: bold;
	text-align: center;
	line-height: 30px;
	color: #333333;
	margin: 0;
	font-size: 16px;
}
/* Date Picker Hover & Active */
.datepicker-calendar .state-default {
	background: #000;
	background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 100%);
	background: linear-gradient(top,  #ffffff 0%,#ffffff 100%);

}
.datepicker-calendar .state-hover {
	background: #eaeff2;
}
.datepicker-calendar .state-active {
	background: #1e5d91;
	color: #ffffff;
	border: 1px solid #1e5d91;
	position: relative;
	margin: -1px;
}
.datepicker-calendar td:first-child .state-active {
	width: 29px;
	margin-left: 0;
}
.datepicker-calendar td:last-child .state-active {
	width: 29px;
	margin-right: 0;
}
.datepicker-calendar tr:last-child .state-active {
	height: 29px;
	margin-bottom: 0;
}
.datepicker-unselectable .state-default {
	background: #ffffff;
	color: #b4b3b3;
}

/* PERSONALIZED POSITION FOR CALENDAR POPUP */
.datepicker-div {
	top: 183px !important;
	left: 60% !important;
}
.uib-daypicker {
    outline: 0;
}

/* RESPONSIVE TABLE */
@media only screen and (max-width: 1199px) {
	.datepicker table {
	    width: 310px;
	    margin-top: -28px;
	    margin-left: -40px;
	    margin-bottom: 0;
	}
	.datepicker th {
	    padding-top: 5px;
	    padding-bottom: 0;
	}
	.datepicker th button {
	    font-size: 14px;
	}
	.datepicker thead {
		border-bottom: 5px solid #ffffff;
	}
	.datepicker th button {
		height: 35px;
	}
	.datepicker td button {
	    height: 30px;
	    width: 30px;
	}
}
@media only screen and (max-width: 1100px) {
    .datepicker table {
        margin-left: -40px;
    }
}
@media only screen and (max-width: 991px) {
	.datecontainer input {
		width: 0;
	}
	.datepicker input {
		width: 0;
	}
	.datepicker table {
		width: 250px;
	    margin-top: -28px;
	    margin-left: -60px;
	}
	.datepicker th button {
	    margin-left: 0;
	    font-size: 12px;
	    width: 30px;
		min-width: 30px;
	    height: 25px;
	}
	.small, small {
	    font-size: 70%;
	}
	.datepicker td span, .datepicker td a {
	    display: inline-block;
	    font-weight: bold;
	    text-align: center;
	    line-height: 20px;
	    color: #333333;
	    margin: 0;
	    font-size: 12px;
	}
	.datepicker thead tr:first-child {
	    height: 30px;
	}
	.datepicker th {
	    padding-top: 0;
	    padding-bottom: 0;
	}
	.calendar-outer-div {
		margin-left: -50%;
	}
	.datepicker td button {
	    height: 25px;
	    width: 25px;
	}
}
@media only screen and (max-width: 800px) {
    /******************************
    STYLING FOR IPADS
    ******************************/
    .datepicker table {
        width: 250px;
        margin-top: 20px;
        margin-left: -100px;
    }
}
@media only screen and (max-width: 767px) {
	.datecontainer input {
	    width: 0;
	}
	.datepicker table {
        width: 300px;
		margin-top: 0;
        margin-left: -300px;
	}
	.datepicker thead {
	    border-bottom: 0;
	}
	.datepicker thead tr:first-child {
		height: 36px;
	}
	.datepicker th {
		padding-top: 0;
	    padding-bottom: 0;
		font-size: inherit;
	}
	.datepicker th button {
	    width: 25px;
	    height: 25px;
	    padding: 0;
	    margin-top: 0;
	    font-size: 16px;
    	margin-right: 3px;
    	margin-bottom: -1px;
	}
	.datepicker td span, .datepicker td a {
	    font-size: 14px;
        line-height: 30px;
	}
	.datepicker tbody button {
        width: 25px;
        height: 30px;
        font-size: 14px;
	}
	.small, small {
	    font-size: 80%;
	}
	.well {
	    margin-bottom: 10px;
	}
	.calendar-outer-div {
		margin-left: 0;
	}
}
@media only screen and (max-width: 450px) {
	.datepicker table {
	    margin-top: 50px;
	    margin-left: -280px;
	    width: 250px;
	}
}
@media only screen and (max-width: 350px) {
    .datepicker td span, .datepicker td a {
        font-size: 14px;
        line-height: 0;
    }
    .datepicker tbody td {
        padding: 0 3px;
    }
    .datepicker th {
        font-size: 12px;
    }
    .datepicker tbody button {
        width: 20px;
        height: 30px;
        font-size: 14px;
    }
    .datepicker table {
        margin-left: -250px;
    }
}
@media only screen and (max-width: 300px) {
    .datepicker table {
        margin-left: -240px;
    }
}
@media only screen and (max-width: 280px) {
    .datepicker table {
        margin-left: -230px;
    }
}
