@media screen and (min-width: 768px) {
    .modal-dialog {
        width: 70%!important;
    }
    .modal-sm {
        width: 300px;
    }
    .modal-md {
        width: 600px;
    }
    .modal-lg {
        width: 900px;
    }
}

#navtab {	list-style: none outside none;	margin: 0;	padding: 0; background:#f9f9f9}
#navtab {background-color: #f9f9f9; width:100%}
#navtab > li {	margin-bottom: 0px;	text-align: center;-moz-transition: all 300ms ease-in-out 0s;	-ms-transition: all 300ms ease-in-out 0s;
	-o-transition: all 300ms ease-in-out 0s;-webkit-transition: all 300ms ease-in-out 0s;	transition: all 300ms ease-in-out 0s; display:table-cell; width:1%; }
#navtab li a {	display: block;	text-decoration: none;	-moz-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;	-ms-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;	-o-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;	-webkit-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;	transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;	white-space: normal;}
#navtab > li > a {	color: #FFFFFF;	display: block;	padding: 13px 10px 13px 10px;text-transform: none;	border-left: 1px solid #ddd; background:#466d8f;}
#navtab > li:first-child > a { border-left:0;}
#navtab > li:hover > a, #navtab > a:hover, #navtab li.active > a{background-color: #f9f9f9;	border-bottom: none ;color: #006699;}
#navtab > li:hover > a, #navtab > a:hover, #navtab li.active > a, #navtab li a.active {background-color: #f9f9f9;border-bottom: none ;color: #006699;margin-bottom:-4px;}
.marB0{ margin-bottom:0px !important;}


/* CSS Document */

/* Timeline */
.timeline, .timeline-horizontal {
    list-style: none;
    padding: 10px;
    position: relative;
}
.timeline:before {
    top: 40px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #7ba1bf;
    left: 50%;
    margin-left: -70px;
}
.timeline .timeline-item {
    margin-bottom: 20px;
    position: relative;
}
.timeline .timeline-item:before, .timeline .timeline-item:after {
    content: "";
    display: table;
}
.timeline .timeline-item:after {
    clear: both;
}
.timeline .timeline-item .timeline-badge {
    color: #fff;
    width: 38px;
    height: 38px;
    line-height: 32px;
    font-size: 18px;
    text-align: center;
    position: absolute;
    top: 18px;
    left: 50%;
    margin-left: -25px;
    background-color: #d9e3ec;
    border: 3px solid #ffffff;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.handcursor{ cursor:pointer;}

.timeline .timeline-item .timeline-badge i, .timeline .timeline-item .timeline-badge .fa, .timeline .timeline-item .timeline-badge .glyphicon {
    top: 2px;
    left: 0px;
}
.timeline .timeline-item .timeline-badge.primary {
    background-color: #1f9eba;
}
.timeline .timeline-item .timeline-badge.info {
    background-color: #5bc0de;
}
.timeline .timeline-item .timeline-badge.success {
    background-color: #168c29;
}
.timeline .timeline-item .timeline-badge.warning {
    background-color: #d1bd10;
}
.timeline .timeline-item .timeline-badge.danger {
    background-color: #ba1f1f;
}
.timeline .timeline-item .timeline-panel {
    position: relative;
    width: auto;
    float: left;
    right: 16px;
    border: 1px solid #d6d6d6;
    background: #fff;
    border-radius: 5px;
    padding: 5px;
   /* -webkit-box-shadow: inset 0 0 5px rgba(158, 158, 158, 0.64);
    box-shadow: inset 0 0 5px rgba(158, 158, 158, 0.64);*/
    box-shadow:none;
    display:inline-block;
}
.timeline .timeline-item .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -16px;
    display: inline-block;
    border-top: 16px solid transparent;
    border-left: 16px solid #c0c0c0;
    border-right: 0 solid #c0c0c0;
    border-bottom: 16px solid transparent;
    content: " ";
}
.timeline .timeline-item .timeline-panel .timeline-title {
    margin-top: 0;
    color: inherit;
}
.timeline .timeline-item .timeline-panel .timeline-body > p, .timeline .timeline-item .timeline-panel .timeline-body > ul {
    margin-bottom: 0;
}
.timeline .timeline-item .timeline-panel .timeline-body > p + p {
    margin-top: 5px;
}
.timeline .timeline-item:last-child:nth-child(even) {
    float: right;
}
.timeline .timeline-item:nth-child(even) .timeline-panel {
    float: right;
    left: 16px;
}
.timeline .timeline-item:nth-child(even) .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}
.timeline-horizontal {
    list-style: none;
    position: relative;
    padding: 16px 0px 20px 0px;
    display: inline-block;
    top:10px;
}
.timeline-horizontal:before {
    height: 3px;
    top: auto;
    bottom: 26px;
    left: 56px;
    right: 0;
    width: 100%;
    margin-bottom: 20px;
}
.timeline-horizontal .timeline-item {
    display: table-cell;
    height: 115px;
    width: 20%;
 /*   min-width: 160px;*/
 min-width: 240px;
    float: none !important;
    padding-left: 0px;
    padding-right: 10px;
    margin: 0 auto;
    vertical-align: bottom;
}
.timeline-horizontal .timeline-item .timeline-panel {
    top: auto;
    bottom: 64px;
    display: inline-block;
    float: none !important;
    left: 0 !important;
    right: 0 !important;
    width: auto;
    margin-bottom: -6px;
    display:inline-block;
}
.timeline-horizontal .timeline-item .timeline-panel:before {
    top: auto;
    bottom: -16px;
    left: 28px !important;
    right: auto;
    border-right: 16px solid transparent !important;
    border-top: 16px solid #c0c0c0 !important;
    border-bottom: 0 solid #c0c0c0 !important;
    border-left: 16px solid transparent !important;
}


.timeline-horizontal .timeline-item .timeline-panel2:before{

border-top:16px solid #517fa4 !important}

.timeline-horizontal .timeline-item .timeline-panel .selected-line:before {
    top: auto;
    bottom: -16px;
    left: 28px !important;
    right: auto;
    border-right: 16px solid transparent !important;
    border-top: 16px solid #e0f1d8 !important;
    border-bottom: 0 solid #e0f1d8 !important;
    border-left: 16px solid transparent !important;
}
.timeline-horizontal .timeline-item:before, .timeline-horizontal .timeline-item:after {
    display: none;
}
.timeline-horizontal .timeline-item .timeline-badge {
    top: 68px;
    bottom: 0px;
    left: 50px;
}
/*new css*/

.timeline-panel p {
    color: #a71930;
}
.eventTime {
    display: flex;
}
.DayDigit {
    font-size: 27px;
    font-family: inherit;
    margin-right: 1px;
    margin-left: 1px;
    color: #4C4A4A;
}

.day-selected{color:#f3f2f2;  font-size: 14px;   margin-right: 5px;
    font-weight: 600;
    margin-top: 8px;
    font-family:inherit;}
.eventTitle-selected{color:#fdfdfd;font-size: 13px;
   /*  text-transform: uppercase; */
    display: flex;
    flex: 1;
    align-items: center;
    margin-right: 9px;
    margin-top: 5px;
    font-weight: 600;}
.Day {
    font-size: 12px;
    margin-right: 5px;
    font-weight: 600;
    margin-top: 8px;
    font-family:inherit;
    color: #4C4A4A;
}

.DayDigit-selected{ color:#fff; font-size: 27px;font-family: inherit; margin-right: 1px; margin-left:1px;}
.MonthYear {
    font-weight: 600;
    line-height: 20px;
    color: #9E9E9E;
    font-size: 11px;
    padding-left:10px;
    padding-right:10px;
}
.MonthYear-selected {
    font-weight: 600;
    line-height: 20px;
    color: #f1f1f1;
    font-size: 11px;
    padding-left:10px;
    padding-right:10px
}

.eventTitle {
    color: #a71930;
    font-size: 12px;
   /*  text-transform: uppercase; */
    display: flex;
    flex: 1;
    align-items: center;
    margin-right: 9px;
    margin-top: 5px;
    font-weight: 600;
}
.time-select {
    background-color: #517fa4!important;
/*-webkit-box-shadow:inset 0 0 5px rgba(224, 241, 216, 1) box-shadow:inset 0 0 5px rgba(224, 241, 216, 1)*/
}
.futureOpacity {
    filter: opacity(.3);
    -webkit-filter: opacity(.3);
    -ms-filter: opacity(.3);
}
.opac {
    color: #1986dc!important
}

.now{background-color: #517fa4;
    color: #ffffff;
    border-radius: 7px;
    margin: 5px;
    padding: 4px;
    font-size: 10px;
    font-family: inherit;
    border: 2px solid white;
    font-weight: bold;
    box-shadow: 0 0 0 2px #dff0d8; position:absolute;
    left: 75px;
    top: 68px;
}


@media (max-width:640px) {
	
	.timeline-horizontal .timeline-item{min-width:auto; width: 250px; display: block; height: 97px;}
	.timeline-horizontal{padding: 70px 40px 0px 0px;}
	.timeline .timeline-item .timeline-badge{left:22px; }
	.timeline-horizontal .timeline-item .timeline-badge{ top: -45px;}	
	.timeline-horizontal .timeline-item .timeline-panel:before {
           top: auto;
    bottom: 18px;
    left: -16px !important;
    right: auto;
    border-top: 16px solid transparent!important;
    border-right: 16px solid #c0c0c0!important;
    border-left: 0 solid #c0c0c0!important;
    border-bottom: 16px solid transparent!important;
}
.timeline:before{
background-color: #e4f3ff;
}
.now{
  left:225px;
    top: -44px;
}

.timeline-horizontal .timeline-item .timeline-panel{
left:50px !important}
.panel-body{
    padding: 10px;
}
.container{
padding:0 15px;
}
	.timeline-horizontal:after{
	top: 0px;
    bottom: 80px;
    position: absolute;
    content: " ";
    width: 3px!important;
    background-color: #517fa4!important;	
    left: 6%!important;
    margin-left: -1.5px!important;}
	 
}



