﻿html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
}

/* layout stuff */
.container {
    width: 100%;
	display: flex;
	flex-flow: row nowrap;
}
.sidebar {
	flex: 0 0 8em;
	order: 1;
}
.maincontent {
	flex: 1 1;
	order: 2;
}


.contest-banner {
  line-height: 140%;
}

.social-media-link {
  margin: 10px;
}

.social-media-link > img {
  width: 50px;
  height: 50px;
}

/**
 * Tooltip Styles
 */

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: 160px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}


/* container style for HTMLDivOverlay on Google Map */
.mapdiv {
    border: 1px solid #8D8D8D;
    background: white;
    padding: 3px 5px;
    font-size:1.4em;
    margin-left:5px;
    display: inline-block;
}

.map-error-container {
	position:relative;
    z-index: 1;
}
.map-error-overlay {
	position:absolute;
    background-color: red;
    background-color: rgba(255,0,0,0.8);
    text-align:center;
    color:white;
    left: 0;
    right: 0;
}
.map-info-overlay {
	position:absolute;
    background-color: green;
    background-color: rgba(80,255,80,0.8);
    text-align:center;
    color:white;
    left: 0;
    right: 0;
}

/* style for left-sliding-panel vue component */
.sliding-container {
	position:relative;
    z-index: 10;
}
.sliding-panel {
	background:#fcfcfc;
	position:absolute;
}
.sliding-arrow {
	padding:8px;
	width:30px;
	float:left;
	background:#fcfcfc;
	font:400 16px Arial, Helvetica, sans-serif;
	color:#000;
	text-decoration:none;
	position:absolute;
    top:0;
}


/* hide Vue stuff until processed */
[v-cloak] {
    display: none;
}

input:disabled {
    color: gray;
}

.fill-container {
    height: 100%;
}

    .fill-container > .row {
        height: 100%;
    }

        .fill-container > .row > * {
            height: 100%;
        }

.page {
    height: auto !important; /* real browsers */
    height: 100%; /* IE6: treaded as min-height*/
    min-height: 100%; /* real browsers */
    background: #ffffff;
    background: -moz-linear-gradient(left, #017e5d 0%, #017e5d 25%, #ffffff 25%, #ffffff 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #017e5d), color-stop(25%, #017e5d), color-stop(25%, #ffffff), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(left, #017e5d 0%, #017e5d 25%, #ffffff 25%, #ffffff 100%);
    background: -o-linear-gradient(left, #017e5d 0%, #017e5d 25%, #ffffff 25%, #ffffff 100%);
    background: -ms-linear-gradient(left, #017e5d 0%, #017e5d 25%, #ffffff 25%, #ffffff 100%);
    background: linear-gradient(to right, #017e5d 0%, #017e5d 25%, #ffffff 25%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#017e5d', endColorstr='#ffffff', GradientType=1 );
}

.title-bar {
    background: #000000;
    padding: 16px 0;
}

    .title-bar img {
        width: 60px;
        margin-right: 12px;
        vertical-align: bottom;
    }

    .title-bar h1 {
        display: inline-block;
        font-weight: 500;
        font-size: 38px;
        margin: 0;
        vertical-align: bottom;
        color: #FEF900;
    }

.col-login {
    height: 60px;
    position: relative;
}

.login-status {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
    white-space: nowrap;
}

    .login-status p, .login-status a {
        margin: 0;
        color: #FEF900;
    }

    .login-status button {
        border: none;
        background: none;
        padding: 0;
        outline: 0;
    }

        .login-status button:hover {
            text-decoration: underline;
        }

nav.sidemenu {
    background: #017e5d;
    padding: 0 !important;
}

    nav.sidemenu ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

        nav.sidemenu ul li {
            border-bottom: 1px solid #FFFF00;
            border-left: 1px solid #FFFF00;
            display: block;
            position: relative;
            padding-top: 60%;
        }

            nav.sidemenu ul li a {
                color: #FEF900;
                font-weight: 400;
                text-align: center;
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                right: 0;
            }

                nav.sidemenu ul li a:hover, nav ul li a:active {
                    color: #FEF900;
                }

                nav.sidemenu ul li a > span {
                    display: table;
                    width: 100%;
                    height: 100%;
                }

                    nav.sidemenu ul li a > span > span {
                        display: table-cell;
                        vertical-align: middle;
                    }

.main-content {
    background: #ffffff;
    padding: 26px;
}


h1 {
    margin: 0 0 0.5em 0;
    font-weight: 500;
    font-size: 28px;
    color: #000000;
}

p {
    color: #8D8D8D;
}

.main-content p {
    font-size: 16px;
}

hr {
    margin: 0;
    height: 0px;
    border: 0;
    border-bottom: 1px solid #D1D1D1;
}

a {
    color: #000099;
    font-weight: 500;
}

    a:hover {
        color: #000099;
    }

label {
    color: #8D8D8D;
    font-weight: 400;
    margin: 5px 0 0;
}

input {
    margin: 5px 0;
    padding: 0 5px;
}

    input[type=submit] {
        margin-top: 20px;
        margin-bottom: 10px;
    }

label.error {
    color: #FF0000;
    margin: 5px;
}

.validation-summary-errors ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .validation-summary-errors ul li {
        color: #FF0000;
        margin: 5px 0;
    }

table {
    width: 100%;
    border-collapse: collapse;
    background: #eeeeee;
    padding: 5px 10px;
    margin: 0 -10px;
}

th, td {
    padding: 5px 10px;
    overflow: hidden;
    word-wrap: break-word;
    vertical-align: top;
    font-size: 16px;
}

th {
    word-wrap: normal;
    white-space: nowrap;
    border-bottom: 1px solid #D1D1D1;
}

tr.highlight td {
    background: #ffcccc;
}

.scroll-table {
    background: #eeeeee;
    padding: 5px 10px;
    margin: 0 -10px;
}

    .scroll-table > div {
        max-height: 300px;
        overflow: auto;
    }

p.notice {
    color: #000000;
    font-weight: bold;
    background: #eeeeee;
    padding: 10px;
    margin: 10px -10px;
}




/* Edit Profile page */
.is-showing-contractor {
	margin-top: 80px;
}





/* Create Member Page */
#create-member-select3-truck {
	vertical-align: top;
	margin-top: 20px;
}

#create-member-select3-truck > label {
	margin-right: 10px;
	display: inline-block;
	vertical-align: top;
	margin-top: 0 !important;
}

#create-member-select3-truck > .select3-container {
	vertical-align: top;
}

#create-member-error-message-container {
	height: 30px;
	line-height: 30px;
}

#create-member-error-message {
	color: red;
	height: 30px;
	line-height: 30px;
}





/* START SELECT 3 */
	.select3-container {
		position: relative;
		display: inline-block;
	}
	.select3-container .select3-input-box {
		border: 1px solid #ccc;
		background: white;
		padding: 0;
		margin: 0 1px 1px 0;
		display: block;
	}
	.select3-container .select3-input-text {
		border: 0;
		padding: 0;
		margin: 4px;

		/* removed chrome focused border */
		outline-style:none;
		box-shadow:none;
		border-color:transparent;
	}
	.select3-container .select3-container2 {
		position: relative;
		display: block;
		min-width: 8em;
	}
	.select3-container .select3-popup {
		position: absolute;
		display: inline-block;
		border: 1px solid #aaa;
		background: white;
		width: 100%;
		top: 0;
		z-index: 3;
		
		max-height: 12em;
		overflow: auto;
	}
	.select3-container .select3-item {
		display: block;
		margin: 2px;
		padding: 2px;
	}
	.select3-container .select3-item:hover {
		cursor: pointer;
	}
	.select3-container .select3-selected-item {
		display: inline-block;
		margin: 1px 0 0 1px;
		padding: 1px;
		border: 1px solid #ccc;
		background: #eee;
		border-radius: 4px;
	}
	.select3-container .select3-selected-item:after {
		content: "\d7";
		color: #888;
	}
	.select3-container .select3-selected-item:hover {
		cursor: pointer;
	}
	.select3-container .select3-match-higlight {
		background: #afb;
		font-weight: bold;
	}
 /* END SELECT 3 */

.field-validation-error {
    color: red;
}