/*
main blue: 1fb4da => 0054a7 => 009af2
dark blue: 1da8cb => 005fbd => 47b7f7
lite blue: afdcf8 => 0080ff
*/

#switch-snow {
    background-position: 0 -101px;
}
#switch-surf {
    background-position: -85px -101px;
}
#switch-race {
    background-position: -169px -101px;
}
#switch-bike {
    background-position: -253px -101px;
}
.payoff h1, .payoff h3 {
    color: #009af2;
}

.signup-title {
    background-color: #009af2;
}
.underline:after{
	background:#009af2;
}

.bg-blue{
	background-color:#009af2;
}
.bg-dark-blue{
	background-color:#47b7f7;
}

.bg-blue-trans{
	/*background:#009af2 url(../images/trans-bg-2.png) repeat;*/
	background:#009af2;
}

.footer-icons li{
	background:#47b7f7;
}

.footer-icons li a{
	background:#47b7f7;

}

.footer-icons li a:hover{
	background:#009af2;
}

.back-to-top:hover {    
	color:#009af2;
}

.pricing .featured{
	border:#47b7f7 1px solid;
	color:#47b7f7;
}

.pricing .featured h1{
	color:#47b7f7;
}

.pricing .featured .panel-heading{
	background-color:#47b7f7;
}

.pricing .panel-heading{
	background-color:#009af2;
}
#portfolio.grid .flippy-featured-image,
#portfolio.list .flippy-featured-image {
    border: 10px solid #009af2;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
background-color: #009af2;
border-color: #47b7f7;
}

a.thumbnail:hover,
a.thumbnail:focus {
  border-color: #009af2;
}

a {
color: #009af2;
}

a:hover {
color: #47b7f7;
}

.badge {
	background:#009af2;
}
.panel-title > a.selected {
    background: #009af2;
}
.carousel-indicators li {
	background:url(/images/carousel.png) no-repeat center center;
}

.carousel-indicators .active {
	background:#009af2;
}
.btn-flippy {
  background-color: #009af2;
  border-color: #009af2;
}

.btn-flippy:hover,
.btn-flippy:focus,
.btn-flippy:active,
.btn-flippy.active,
.open .dropdown-toggle.btn-flippy {
  background-color: #47b7f7;
  border-color: #47b7f7;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: #47b7f7;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #47b7f7;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #47b7f7;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
background-color: #47b7f7;
}

.flippy-container > div.flippy-back {
	background:#009af2;
}
.flippy-title-front{
	background:#009af2;
}

.flippy-title-back{
	color:#009af2;

}
.flippy-featured-container > div {
	background:#009af2;

}
.flippy-featured-container > div.flippy-featured-back {
	background:#009af2;
}
.flippy-featured-container2 > div {
	background:#009af2;

}
.flippy-featured-container2 > div.flippy-featured-back {
	background:#009af2;
}
.flippy-featured-title-front{
	background:#47b7f7;
}

.flippy-featured-subtitle-front{
	background:#47b7f7;

}

.flippy-featured-title-back{
	border-bottom:dotted 3px #47b7f7;
	height: 50px;
}

.flippy-blog-container > div.flippy-blog-back {
	background:#009af2;
}

.avatar-name{
	color:#009af2;
}
.controls li.active{
	background-color:#009af2;

}

.controls li.active:hover{
	background-color:#47b7f7;

}
.flippy-btn-container > div {
	background:#009af2;

}
.flippy-btn-container > div.flippy-btn-back {
	background:#009af2;

}

.blog-date{
	background-color:#009af2;
}

.blog-month{
	color:#009af2;

}

.blog-title{
	color:#009af2;
	
}

.cbp_tmtimeline {
	margin: 30px 0 0 0;
	padding: 0;
	list-style: none;
	position: relative;
} 

.cbp_tmtimeline:before {
	background: #0080ff;

}

.cbp_tmtimeline > li .cbp_tmtime span:last-child {
	color: #47b7f7;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime span:last-child {
	color: #009af2;
}

.cbp_tmtimeline > li .cbp_tmlabel {
	color: #009af2;
	border-left:5px #009af2 solid;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel {
	color:#47b7f7;
	border-left:5px #47b7f7 solid;
}

.cbp_tmtimeline > li .cbp_tmlabel:after {

	border-right-color: #009af2;

}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
	border-right-color: #47b7f7;
}

.cbp_tmtimeline > li .cbp_tmicon {

	background: #009af2;
	box-shadow: 0 0 0 8px #0080ff;
}
@media screen and (max-width: 47.2em) {
	.cbp_tmtimeline > li .cbp_tmlabel:after {

		border-bottom-color: #47b7f7;
	}

	.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
		border-bottom-color: #009af2;
	}

}

.under-title{
	color:#009af2;
	
}

@media  (max-width: 600px) {
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
      background-color: #009af2;
    }

    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > .active > a:focus {
      background-color: #009af2;
    }
    .navbar-default .navbar-nav > .open > a,
    .navbar-default .navbar-nav > .open > a:hover,
    .navbar-default .navbar-nav > .open > a:focus {
      background-color: #009af2;
    }
}

/*******************************************
                CALENDAR
*******************************************/

table.calendar-detail {
    width: 100%;
    border: 1px solid #dddddd;
}
/*#009af2*/
table.calendar-detail th {
    background-color: #009af2;
    color: #fff;
}
table.calendar-detail th,
table.calendar-detail td {
    border: 1px solid #dddddd;
    width: 14% !important;
    vertical-align: top;
    padding: 4px;
}
div.legenda span.calendar-event,
table.calendar-detail td div.calendar-event {
    border: 1px solid #ee3a43;
    margin: 2px 0 4px 0;
    font-size: 12px;
    border-radius: 4px;
    padding: 2px;
}
div.legenda {
    margin-top: 15px;
}
div.legenda > div {
    margin: 4px 0;
}
div.legenda span.calendar-event {
    padding-bottom: 0;
    padding-top: 0;
    padding-right: 6px;
}
table.calendar-detail td div.calendar-event:hover {
    cursor: pointer;
}
div.legenda span.calendar-event.halfday,
table.calendar-detail td div.calendar-event.halfday {
    background-color: rgba(238, 58, 67, 0.4);
}
div.legenda span.calendar-event.color1,
table.calendar-detail td div.calendar-event.color1 {
    background-color: rgba(0, 154, 242, 0.4);
    border: 1px solid #009af2;
}
div.legenda span.calendar-event.color2,
table.calendar-detail td div.calendar-event.color2 {
    background-color: rgba(29, 185, 84, 0.4);
    border: 1px solid #1db954;
}
table.calendar-detail td div.calendar-spacer {
    min-height: 60px;
}
.switch-grid-list.agenda-month {
    width: 60px;
    float: left;
    text-align: left;
}
.switch-grid-list.agenda-view {
    width: 60px;
    float: right;
}
.agenda-month.title {
    width: 200px;
    margin: 0 auto;
}
.agenda-header {
    text-align: center;
}
.calendar-day-container {
    position: relative;
}
.calendar-event-detail {
    display: none;
    position: absolute;
    top:0;
    left: 0;
    z-index: 1;
    background-color: #fff;
}
table.calendar-popup th {
    text-align: right;
}
table.calendar-popup th a {
    color:#fff;
}
table.calendar-popup td {
    font-size: 14px;
}
@media (min-width: 661px) {
    span.small {
        display: none;
    }
}
@media (max-width: 660px) {
    table.calendar-detail {
        width: 100%;
        table-layout: fixed;
    }
    table.calendar-detail th,
    table.calendar-detail td,
    table.calendar-detail td div.calendar-event {
        font-size: 10px;
    }
    .calendar-day-container {
        width: 100%;
        overflow: hidden;
    }
    span.small {
        display: inline;
    }
    th.wide,
    td.wide {
        display: none;
    }
}
.modal {
    text-align: center;
    padding: 0!important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}
.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}