html {
	min-height: 100%;
}
body {
	color: #444;
	min-height: 100%;
}

/*-------------------------------------------------------------------------------------------*/
/* Overrides */
/*-------------------------------------------------------------------------------------------*/

/* Bootstrap Fixes */

#ccm-edit-overlay .tooltip {
	opacity: 1;
	position: relative;
}

.navbar-collapse.in {
    overflow-y: inherit;
}
.navbar-toggle .icon-bar {
    background-color: #CCCCCC;
}

/* c5 Fixes */

/* c5 admin approve / alert bar */
div#ccm-page-status-bar div.alert {
    z-index: 100;
}

.loggedin .ccm-ui input,
.loggedin .ccm-ui textarea,
.loggedin .ccm-ui select,
.loggedin .ccm-ui .uneditable-input {
    height: 30px;
}

.ccm-form label span {
    font-weight: 300;
}
.ccm-form .inputs-list label {
    width: auto;
}

/* Flexslider */

.flexslider {
    border: 0 none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: 0 0 0;
    -moz-box-shadow: 0 0 0;
    -webkit-box-shadow: 0 0 0;
}

/*-------------------------------------------------------------------------------------------*/
/* General */
/*-------------------------------------------------------------------------------------------*/

.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
    text-align: center;
}
img.alignleft {
	margin-right: 10px;
}
img.alignright {
	margin-left: 10px;
}
img.aligncenter {
    margin-left: 0;
    margin-right: 0;
    display: block;
}
img {
    max-width: 100%;
    height: auto;
}
#main a:hover img {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
}

.clear { clear: both; }

.nolist {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Concrete5 Layouts */

.layout-spacing .ccm-layout-row {
    margin-bottom: 20px;
}

/*-------------------------------------------------------------------------------------------*/
/* Navigation */
/*-------------------------------------------------------------------------------------------*/

.navbar-nav {
    margin-bottom: 0;
    position: relative;
}
.navbar-nav li {
    list-style: none outside none;
    position: relative;
}
.navbar-nav li a {
    display: block;
}
.navbar-nav li a:hover {
    text-decoration: none;
}
.navbar-nav li ul li a:hover {
    text-decoration: underline;
}
.navbar-nav ul {
    left: 0;
    margin: 0;
    padding: 0.4em 0;
    position: absolute;
    top: 100%;
    visibility: hidden;
    width: 250px;
    z-index: 9999;
}
.navbar-nav ul li {
    float: none;
}
.navbar-nav ul li a {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: inline-block;
    font-size: 12px;
    width: 100%;
}
.navbar-nav ul ul {
    left: 100%;
    top: 0;
}
.navbar-nav li:hover > ul {
    visibility: visible;
}

.navbar-nav ul.children {
    background-color: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
}

/* Breadcrumbs */
#breadcrumbs .breadcrumb {
    float: right;
}

/*-------------------------------------------------------------------------------------------*/
/* Fonts */
/*-------------------------------------------------------------------------------------------*/



/*-------------------------------------------------------------------------------------------*/
/* Blocks */
/*-------------------------------------------------------------------------------------------*/

/* Google Maps */

.googleMapCanvas {
    margin-bottom: 20px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    max-width: 100%;
}
.responsive-map .googleMapCanvas {
    height: 0 !important;
    padding-bottom: 100%;
}

/* Form Block */

.formblock textarea {
    max-width: 100%;
    width: 100%;
}
.formblock input,
.formblock select {
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}
.formblock input:focus {
    border-color: #66AFE9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}
.form-group {
    clear: both;
    float: left;
    margin-bottom: 15px;
    width: 100%;
}
.form-group.field-fileupload > input {
    border: 0 none;
    box-shadow: 0 0 0;
    -moz-box-shadow: 0 0 0;
    -webkit-box-shadow: 0 0 0;
    padding: 0;
}
.form-group.field-datetime > label {
    width: 100%;
}
.form-group.field-datetime select {
    display: inline-block;
    width: auto !important;
}
.form-group.field-datetime .ccm-input-time-wrapper select {
    margin-left: 4px;
}
.ccm-input-date-wrapper {
    float: left;
    margin-right: 15px;
}
.radioList {
    clear: both;
    width: 100%;
}
.radioPair {
    float: left;
}
.radioPair label {
    font-weight: normal;
    margin-left: 4px;
    margin-right: 4px;
    text-align: center;
}
.checkboxPair {
    margin-bottom: 4px;
}
.checkbox-inline > input {
    float: left;
    height: auto;
    padding: 0;
    width: auto;
}

/* Bio Block */

#main .bio-block {
    margin-bottom: 20px;
}

/* Popup Modal Block */


.loggedin .ctm-popup-modal {
    margin-bottom: 30px;
}


/* Advanced Page List */

.ctm-page-list .ctm-page {
    margin-bottom: 20px;
}
.ctm-page-list.vertical-slider .ctm-page {
    margin-bottom: 0;
}
.ctm-page-list .ctm-page img {
    margin-bottom: 20px;
}
.ctm-page-list .ctm-page-list-title {
    margin-top: 0;
}

/* Video */

.youtubeBlock {
    height: 0;
    margin: 0 auto 1em;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
}
.youtubeBlock iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.flexslider .flex-direction-nav a {
  line-height: 40px;
  width: 35px;
  z-index: 40;
}
.flexslider .flex-direction-nav .flex-prev {
  background-position: 0 0;
  left: -5%;
}
.flexslider .flex-direction-nav .flex-next {
  background-position: -35px 0;
  right: -5%;
}

.flexslider.vertical-carousel .flex-direction-nav {

}
.flexslider.vertical-carousel .flex-direction-nav a {
    transform:rotate(90deg);
    -ms-transform:rotate(90deg); /* IE 9 */
    -webkit-transform:rotate(90deg); /* Opera, Chrome, and Safari */
}
.flexslider.vertical-carousel .flex-direction-nav .flex-prev {
    left: 48%;
    top: 30px;
}

.flexslider.vertical-carousel .flex-direction-nav .flex-next {
    bottom: 15px;
    left: 48%;
    top: auto;
}

/*-------------------------------------------------------------------------------------------*/
/* Sidebar */
/*-------------------------------------------------------------------------------------------*/

.sidebar ul.list-pages {
    margin: 0;
}
.sidebar ul.list-pages li {
    width: 100%;
}
.sidebar ul.list-pages li a {
    padding: 5px 10px;
    display: block;
}

/*-------------------------------------------------------------------------------------------*/
/* Footer */
/*-------------------------------------------------------------------------------------------*/

footer {
  margin: 40px 0 0;
}

/*-------------------------------------------------------------------------------------------*/
/* Layouts */
/*-------------------------------------------------------------------------------------------*/

/* Login Page */

.ccm-form input[type="radio"], .ccm-form input[type="checkbox"] {
    float: left;
    margin-left: -18px;
}
.ccm-form label {
    padding-top: 6px;
    font-size: 13px;
    line-height: 18px;
    float: left;
    width: 130px;
    text-align: right;
    color: rgb(64, 64, 64);
}

.ccm-form form .input {
    margin-left: 150px;
}
.ccm-form ul.inputs-list {
	list-style: none;
    margin: 0px 0px 0px 25px;
    width: 100%;
}
.ccm-form .inputs-list li {
    display: block;
    width: 100%;
    padding: 0px;
}

/* Buttons */

.ccm-form .actions {
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 17px 20px 18px 150px;
    border-top: 1px solid rgb(221, 221, 221);
    border-radius: 0px 0px 3px 3px;
}
.ccm-form .btn, .ccm-form .btn.primary {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 100, 205);
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(center top , rgb(4, 156, 219), rgb(0, 100, 205));
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgb(4, 156, 219)), to(rgb(0, 100, 205)));
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

/*-------------------------------------------------------------------------------------------*/
/* Responsive */
/*-------------------------------------------------------------------------------------------*/

@media only screen and (max-width : 767px) {

    /* c5 layouts */
    .ccm-layout-row .ccm-layout-col {
        width: 100% !important;
    }

}