/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
    height:100%;
}
body, html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background:#fff;
    color:#7f7f7f;
    font-family: "proxima-nova",sans-serif;
}
.site-body {
    position:absolute;
    top:100px;
    bottom:0;
    left:0;
    right:0;
}
.footer-button,
.footer-buttons {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background-color: #1c75bc;
    color:#fff;
    text-decoration:none;
    line-height:40px;
    text-align:center;
}

.footer-buttons .footer-button{
    position:static;
    display: inline-block;
    color: #1c75bc;
    background-color: #fff;
    padding: 10px;
    margin: 5px;
    line-height: normal;
}
body.photo-bg {
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/home-bg.jpg');
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    background-color:#ccc;
}
.template-content {
    top:0;
    left:0;
    right:0;
    bottom:0;
    position:absolute;
    overflow-y:scroll;
}
.photo-bg .template-content {
    text-align:center;
    margin-top:50px;
    padding:0 20px;
}
.alert {
    position:absolute;
    z-index: 10000;
    top:60px;
    left:0;
    right:0;
}
.t-page .page-content,
.member .page-content {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}
.t-page #content {
    margin: 20px 0;
}
form.frm-list button.loader {
    background-color:#fff;
    color:transparent;
    height:auto;
}
button.loader::before {
    content:"";
    display:block;
}
button.loader::before,
.loading {
  width: 40px;
  height: 40px;
  background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/tractor-left-blue.svg');
  background-repeat: no-repeat;
  margin: 10px auto;
  animation: spin-rotateplane 2.4s infinite ease-in-out;
  color: transparent;
  background-color: #fff;
}


@keyframes spin-rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  } 25% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  } 50% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  } 75% {
    transform: perspective(120px) rotateX(-360deg) rotateY(-179.9deg);
  } 100% {
    transform: perspective(120px) rotateX(-360deg) rotateY(-360deg);
  }
}
/*** text ***/

/* global form styles */

/* ==========================================================================
   Header
 ========================================================================== */
.menu-opener {
    display:inline-block;
    background: #fff url(https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/menu.svg) center no-repeat;
    background-size: 24px;
    font-size: 24px;
    padding: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index:100;
    vertical-align:middle;
    position:relative;
}
header.top {
    background:#fff;
    height: 60px;
    padding: 20px;
    line-height:60px;
    position:absolute;
    top:0;
    left:0;
    right:0;
    position:fixed;
    border-bottom:1px solid #1081e0;;
}
header.top h1 {
    display:inline;
    font-weight:normal;
    color:#1c75bc;
    font-size:36px;
    font-size:5vw;
    vertical-align:middle;
}
header.top h1 a {
    color:inherit;
    text-decoration:none;
}
header.top h1 .logo-tagline {
    width:250px;
    max-width:50%;
}
header.top h1 .logo-brand {
    width:50px;
    max-width:100%;
    position:absolute;
    top:5px;
    left:50%;
    margin-left:-25px;
}
header.top .right {
    position:absolute;
    top:20px;
    right:20px;
}
/* ==========================================================================
   Footer
 ========================================================================== */

 /**** Slide Menu ****/
.slide-menu {
	background: #fff;
	color:#1c75bc;
    width:240px;
    z-index:1020;
	position: fixed;
	bottom:0;
	top: 100px;
	left: -240px;
	overflow-y:scroll;
}
.slide-menu-active .slide-menu {
    left: 0px;
}
/* transition for menu slide */
.slide-menu {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.slide-menu a {
    color:inherit;
    text-decoration:none;
    display:block;
    padding:10px;
    padding-left:30px;
    position:relative;
}
.slide-menu .user {
    color:#fff;
    background:#1c75bc;
}
.slide-menu .user a {
    border-bottom:1px solid #72a9d5;
    padding-left:60px;
}
.slide-menu .user a:first-child::before {
    content:"";
    display:block;
    position:absolute;
    left:30px;
    top:0;
    bottom:0;
    width:24px;
    background:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/user.svg') center no-repeat;
    background-size:contain;
}
.slide-menu .actions {
    color:#1c75bc;
    background:#eaeaea;
    margin-bottom:30px;
}
.slide-menu .actions .action {
    padding-left:60px;
}
.slide-menu .actions .action::before {
    content:"";
    display:block;
    position:absolute;
    left:30px;
    top:0;
    bottom:0;
    width:24px;
    background-size:contain;
}
.action-equipment::before {
    background:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/tractor-left-blue.svg') center no-repeat;
}
.action-personnel::before {
    background:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/search.svg') center no-repeat;
}
.action-ad::before {
    background:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/plus.svg') center no-repeat;
}
.slide-menu ul {
    padding:0;
    margin:0;
}
/* ==========================================================================
   Home Page
 ========================================================================== */
.t-index #content {
    text-transform:uppercase;
    margin-bottom:50px;
    color: black;
}
.t-index .template-content {
    padding:20px;
    margin-top:0;
}
.cta-block {
    text-align:center;
    max-width: 500px;
    margin:0 auto;
}
.cta {
    display:block;
    background: #fff;
    padding:30px 50px;
    text-decoration:none;
    color:inherit;
    text-transform: uppercase;
    text-align:left;
    line-height:32px;
    font-size:24px;
    font-size:4vw;
}
.cta:first-child {
    border-top-left-radius:5px;
    border-top-right-radius:5px;
}
.cta:last-child {
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}
.cta:nth-child(2){
    border-top:1px solid #dcdcdc;
}
.cta:hover {
    border-left:10px solid #1c75bc;
    border-right:10px solid #1c75bc;
    color:#1c75bc;
}
.cta-separator {
    font-weight:bold;
}
.cta::before {
    content:"";
    display:inline-block;
    width:32px;
    height:32px;
    background-size:contain;
    background-position:center;
    background-repeat:no-repeat;
    margin-right:30px;
    vertical-align: middle;
}
.cta-equipment::before {
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/tractor-left-grey.svg');
}
.cta-equipment:hover::before {
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/tractor-left-blue.svg');
}
.cta-personnel::before {
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/search.svg');
}
.cta-ad::before {
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/plus.svg');
}
/* ==========================================================================
   Content Page
 ========================================================================== */
.page-graphic {
    padding-top:50%;
    background-size:cover;
    background-position:center;
}
/* ==========================================================================
   Search Page
 ========================================================================== */
body.modal-open {
    overflow:hidden;
    position:fixed;
}
form.frm-list {
    width:40px;
    bottom: 0;
    top: 100px;
    right:0;
    left: auto;
	background: #fff;
	color:#1c75bc;
	margin: auto;
	position: fixed;
	margin-left: -200px;
	z-index:1010;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
form.frm-list .search-content {
    height:100%;
	overflow-y: scroll;
	display:none;
}
.pac-container {
    z-index:2000;
}
form.frm-list .bar-icons {
    display:block;
}
.modal-open form.frm-list {
    left: 50%;
    bottom: 5%;
    top: calc(100px + 5%);
    width: 400px;
}
.modal-open form.frm-list .search-content {
    display:block;
}
.modal-open form.frm-list .bar-icons {
    display:none;
}
.bar-icons img {
    width:24px;
    padding: 5px;
}
form.frm-list p {
    position:relative;
}
form.frm-list .error-container {
    color:red;
}
form.frm-list .error-container label.error {
    display:block;
}
form.frm-list select {
    width:100%;
    color:#1c75bc;
    height:40px;
    padding:10px;
    box-sizing:border-box;
    line-height:40px;
    font-family: "proxima-nova",sans-serif;
    border:none;
    text-transform:uppercase;
}
.is_available {
    position:relative;
}
.lbl-is-desired {
    position:absolute;
    right:20px;
    top:10px;
    color:#ccc;
}
form.frm-list button {
    background-color: #1c75bc;
    width:100%;
    color:#fff;
    height:40px;
    padding:10px;
    box-sizing:border-box;
    line-height:20px;
    font-family: "proxima-nova",sans-serif;
    border:none;
    text-transform:uppercase;
    cursor:pointer;
}
form.frm-list input,
form.frm-list textarea,
form.frm-list select {
    width:100%;
    font-size: 16px;
    padding: 1px 0px;
    border-radius: 0;
}
form.frm-list input[type='checkbox'],
form.frm-list input[type='radio'] {
    display:none;
}
form.frm-list label {
    display:block;
}
form.frm-list legend {
    color:black;
    padding-top:10px;
    display:block;
    width: 100%;
    cursor: pointer;
}
form.frm-list fieldset legend::after{
    content: "\25B2";
    float:right;
}
form.frm-list fieldset.open legend::after{
    transform:rotate(180deg);
}
form.frm-list .item-options,
form.frm-list .open .item-summary {
    display:none;
}
form.frm-list .open .item-options,
form.frm-list .item-summary  {
    display:block;
}
form.frm-list input[type="checkbox"] + label span,
form.frm-list input[type="radio"] + label span {
    display:inline-block;
    width:21px;
    height:21px;
    background:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/check_radio_sheet.png') -21px top no-repeat;
    background-size:42px;
    vertical-align:middle;;
    -webkit-transition:background-position .2s ease-in;
    -moz-transition:background-position .2s ease-in;
    -o-transition:background-position .2s ease-in;
    transition:background-position .2s ease-in;
}
form.frm-list  input[type="checkbox"]:checked + label span,
form.frm-list  input[type="radio"]:checked + label span{
    background-position:left top;
}
form.frm-list .display-item {
    font-style: italic;
    color:#666;
    font-size:12px;
}
form.frm-list .filters {
	padding:10px;
	padding-top:0;
}
form.frm-list .error-field {
    outline:1px solid red;
}
.geolocate::before {
    content:"Locate Me!";
    cursor:pointer;
}
.lbl-head {
    color:#1c75bc;
    font-size:24px;
    display:block;
}
#range_current {
    position:absolute;
    top:0;
    right:0;
}
.dialog-wrap {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,0.5);
    z-index:2000;
}
.dialog {
    top:20px;
    left:20px;
    right:20px;
    bottom:20px;
    background:#fff;
    position:absolute;
}
.dialog h3 {
    background-color:#1c75bc;
    color:#fff;
    text-align:center;
    font-weight:normal;
    padding:10px;
    margin:0;
    height:30px;
}
.dialog .dlg-list {
    padding-bottom:50px;
    overflow-y:scroll;
    top:50px;
    left:0;
    right:0;
    bottom:50px;
    position:absolute;
}
.dialog .dlg-buttons {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    display:table;
    width:100%;
    border-top: 1px solid #bdbdbd;
}
.dialog button {
    display:table-cell;
    border:none;
    text-align:center;
    background:#fff;
    color:#1c75bc;
    text-transform:uppercase;
    width:33%;
    height:40px;
}
.post-actions {
    color:#8c8c8c;
    border-bottom: 1px solid #1081e0;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    display:none;
}
.post-actions a {
    color:inherit;
    text-decoration:none;
}
.post-actions a.active {
    color:#1081e0;
}
.posts {
    padding-bottom:50px;
    /* padding-right:40px; */
}
.notifications.posts {
    padding-right:0;
}
.posts-map {
    position:absolute;
    top:0;
    left:0;
    right:40px;
    bottom:40px;
    width:auto;
    width:calc(100% - 40px);
    height:auto;
}
#map {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}
.posts-map-info {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    z-index:900;
    background:#fff;
}
.post {
    padding-top: 5px;
    border-bottom: 5px solid #d6d6d6;
    position:relative;
}
.post.editing {
    background-color:#a4c8e4;
}
.post p {
    padding:0 20px;
}
.post a {
    text-decoration:none;
    color:inherit;
}
.post-map {
    height:400px;
}
.post-graphic {
    position:static;
    width:100%;
    height:100vw;
    background-size:cover;
    background-position:center;
}
.list-heading {
    color:#1081e0;
    font-weight:bold;
}
.list-foot {
    background-color:#1081e0;
    color:#fff;
    line-height:40px;
    margin-bottom:0;
}
.list-foot::after {
    content:"";
    display:block;
    clear:both;
}
.post.editing .list-foot {
    color:#a4c8e4;
}
.post.inactive .list-foot {
    background:#919191;
}
.post .list-head {
    color: #1081e0;
    font-weight:bold;
    display:block;
    padding: 0 20px;
}
.post.equipment-available .list-head {
    color:#56a250;
}
.list-foot .time {
    float:right;
}
.list-foot .actions {
    display:inline-block;
    float: right;
}
.list-foot .action {
    /* float:right; */
    margin:0 10px;
    color:#fff;
    text-decoration:none;
}
.post.inactive .list-foot .action:hover {
    color:#1081e0;
}
.search-modal {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,0.5);
    z-index:1000;
    display:none;
}
.modal-open .search-modal {
    display:block;
}
.back-btn {
    display:block;
    text-align:center;
    color:#1081e0;
    text-decoration:none;
    padding:10px;
}
.posts h4 {
    padding:0 20px;
}
.post-delete {
    padding:20px;
}
.post-delete button {
    background-color:#1c75bc;
    color:#fff;
    height:40px;
    padding:10px;
    box-sizing:border-box;
    line-height:20px;
    font-family: "proxima-nova",sans-serif;
    border:none;
    text-transform:uppercase;
    cursor:pointer;
}
/*************** Personnel overrides ****************/
.slide-menu a.type-personnel {
    color:#e25656;
}
.type-personnel form.frm-list {
    color:#e25656;
}
.type-personnel form.frm-list select {
    color:#e25656;
}
.type-personnel .lbl-head {
    color:#e25656;
}
.type-personnel form.frm-list button {
    background-color: #e25656;
}
.type-personnel .footer-button,
.type-personnel .footer-buttons {
    background-color:#e25656;
}
.type-personnel .post .list-head {
    color:#e25656;
}
.type-personnel .list-foot {
    background-color:#e25656;
}
.post.type-personnel .list-head,
.post.type-personnel .list-heading {
    color:#e25656;
}
/* ==========================================================================
   Profile Page
 ========================================================================== */
.profile-edit {
    padding:20px;
}
.profile-image {
    background-size:cover;
    background-position:center;
    padding-top:33%;
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/profile-fallback.png');
}
.profile-edit label {
    display:inline;
    color:#1081e0;
    font-weight:bold;
}
.profile-edit .col-sm-8 {
    display:inline;
}
.profile-edit input,
.profile-edit textarea {
    color:#7f7f7f;
    font-family: "proxima-nova",sans-serif;
    border:none;
    border-bottom: 1px solid #1c75bc;
    vertical-align:top;
    padding:0;
}
.profile-edit textarea {
    min-height:100px;
    width:100%;
}
.profile-edit input[type='submit'] {
    background-color:#1c75bc;
    color:#fff;
    text-transform: lowercase;
    margin:20px 0;
    border:none;
    padding:20px;
    min-width:150px;
    display:inline-block;
    font-size:18px;
    line-height: 18px;
    cursor:pointer;
    vertical-align: baseline;
}
.profile-edit a {
    color:#1c75bc;
    text-decoration:none;
}
.profile-edit .form-group.row {
    margin:10px 0;
}
/* ==========================================================================
   Login Page
 ========================================================================== */
.well {
    background:#fff;
    color:#565656;
    border-radius:10px;
    padding:20px;
    max-width:600px;
    margin:0 auto;
}
.well label {
    display:none;
}
.well label.checkbox {
    display:inline-block;
}
.well label.error {
    display:block;
    color:red;
}
.well input[type='checkbox'] {
    width:2em;
    height:2em;
    display:inline-block;
    vertical-align:middle;
}
.well input {
    border:none;
    border-bottom: 1px solid #1c75bc;
    margin:20px auto;
    width:100%;
    max-width:400px;
    display:block;
    line-height:30px;
    font-size:18px;
}
.well button {
    background-color:#1c75bc;
    color:#fff;
    text-transform: lowercase;
    margin:20px 0;
    border:none;
    padding:20px;
    min-width:150px;
    display:inline-block;
    font-size:18px;
    cursor:pointer;
}
.well a {
    text-decoration:none;
    color:#1c75bc;
}
.well hr {
    margin:0 -20px;
    border-top-color:#707471;
}
/* ==========================================================================
   notifications
 ========================================================================== */
.unviewed-notifications {
    display:none;
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -10px;
}
.unviewed-notifications.active {
    display:block;
    background:red;
    color:white;
    border-radius:50%;
    padding:5px;
    font-size:9px;
    line-height: 10px;
}
.notifications .post {
    border-bottom:none;
}
.post.alert-match {
    background:#DDD;
}
.post.new-notification {
    background:#CFC;
}
/*.post.alert-match.new-notification {
    background:#CFC;
}*/
.alert-match-link {
    text-decoration:none;
    color:inherit;
}
.alert-match-head {
    color:#666;
}
/* ==========================================================================
   Media Queries
 ========================================================================== */
@media screen and (min-width:400px) {
    header.top h1 .logo-brand {
        position:static;
        margin-left:0;
    }
}
@media screen and (min-width:600px) {
    header.top h1 {
        font-size: 36px;
    }
    .cta {
        font-size: 24px;
    }
    .dialog {
        left:50%;
        right:auto;
        width:500px;
        margin-left:-250px;
    }
    .profile-image {
        float:right;
        width:50%;
    }
}
@media screen and (min-width:768px) {
    .post.with-graphic {
        padding-right:300px;
    }
    .post-graphic {
        position:absolute;
        top:0;
        right:0;
        width:300px;
        bottom:0;
        height:auto;
        background-size:cover;
        background-position:center;
    }
}
@media screen and (min-width:960px) {
    body.photo-bg {
        background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/home-bg-2x.jpg');
    }
}
@media screen and (max-width:500px) {
    .modal-open form.frm-list {
        width:90%;
        left:5%;
        margin-left:0;
    }
}
@media
  (-webkit-min-device-pixel-ratio: 2) and (min-width: 800px),
  (min-resolution: 192dpi) and (min-width: 800px) {
    body.photo-bg {
        background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/connectabuddy/app_files/img/home-bg-2x.jpg');
    }

}