
/* index.css */

/* pure */

html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
    font-family: sans-serif;
}

a {
	color: inherit;
}

.pure-g > div {
	box-sizing: border-box;
}

/* buttons */

.pure-button-hover,
.pure-button:focus,
.pure-button:hover {
    background-image: none;
}

.pure-button-primary {
    color: white;
    background-color: #cb0000;
}

.pure-button-primary:hover, 
.pure-button-primary:focus {
    color: white;
    background-color: #a40000;
}

.pure-button-secondary {
    color: white;
    background-color: #ff6600;
}

.pure-button-secondary:hover,
.pure-button-secondary:focus {
    color: white;
    background-color: #ce5c00;
}

.pure-button-reset {
    color: #333;
    background-color: #e6e6e6;
}

.pure-button-reset:hover, 
.pure-button-reset:focus {
    color: #333;
    background-color: #babdb6;
}

.my-p-0 {
	padding: 0em;
}

.my-p-1 {
	padding: 1em;
}

.my-pt-1 {
	padding-top: 1em;
}

.my-pb-1 {
	padding-bottom: 1em;
}

.my-p-0-5 {
	padding: 0.5em;
}

.my-m-1 {
	margin: 1em;
}

.my-my-2 {
	margin-top: 2em;
	margin-bottom: 2em;
}

.my-my-1 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.my-my-t-1 {
	margin-top: 1em;
}

.my-my-b-1 {
	margin-bottom: 1em;
}

.my-my-0-5 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.my-m-0-5 {
	margin: 0.5em;
}

.my-mx-1 {
	margin-left: 1em;
	margin-right: 1em;
}

/* utils */

.my-shadow {
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}

.my-border {
	border: 1px solid rgba(0,0,0,0.1);
}

.my-rounded {
	border-radius: 5px;
}

.my-left {
	text-align: left;
}

.my-right {
	text-align: right;
}

.my-center {
	text-align: center;
}

.my-full-width {
	width: 100%;
}

.my-overflow-hidden {
	overflow: hidden;
}

.my-overflow-scroll {
	overflow: scroll;
}

.my-overflow-auto {
	overflow: auto;
}

.my-nowrap {
	white-space: nowrap;
}

.my-bg-gray {
	background-color: rgba(0,0,0,0.05);
}

.my-bg-white {
	background-color: white;
}

.my-muted {
	opacity: 0.7;
} 

.my-bold {
	font-weight: bold;
} 

.my-italic {
	font-style: italic;
} 
 
.my-card-heading {
	font-weight: bold;
	font-size: 20px;
	line-height: 20px;
} 

.my-bg-color {
	color: white;
	background-image: linear-gradient(to top left, rgb(227, 0, 0) 0%, rgb(255, 167, 0));
}

.my-message {
	/* derived from: my-my-1, my-p-1 */
	
	margin-top: 1em;
	margin-bottom: 1em;
	
	padding: 1em;

	border-radius: 2px;
} 

.my-message-info {
	background-color: #e6e6e6;
}

.my-message-success {
	color: white;
	background-color: #FF6600;
} 

.my-message-warning {
	color: white;
	background-color: #CB0000;
} 

.my-message-none {
	margin-top: 0em !important;
	margin-bottom: 0em !important;
	
	padding: 0em !important;
}

::placeholder {
	color: #bbb;
	opacity: 1;
}

@media screen and (max-width: 35.5em){
	.my-md-shown {
		display: none;
	}
}

@media screen and (min-width: 35.5em){
	.my-right-sm {
		text-align: right;
	}
	.my-md-shown {
		display: none;
	}
}
@media screen and (min-width: 48em){
	.my-right-md {
		text-align: right;
	}
	.my-md-shown {
		display: block;
	}
}
@media screen and (min-width: 64em){
	.my-right-lg {
		text-align: right;
	}	
	.my-md-shown {
		display: block;
	}
}
@media screen and (min-width: 80em){
	.my-right-xl {
		text-align: right;
	}	
	.my-md-shown {
		display: block;
	}
}

.my-color-orange {
	color: #FF6600;
}

.my-color-red {
	color: #CB0000;
}

.my-border-top {
	border-top: 1px solid rgba(203,0,0,0.2);
}

.my-border-bottom {
	border-bottom: 1px solid rgba(203,0,0,0.2);
}

.pure-menu-footer {
	display: block;
} 

.pure-table thead.my-bg-white {
	background-color: white;
}

/* modal */

.my-modal {
	position: fixed; /* Sit on top of the page content */
	display: none; /* Hidden by default */
	width: 100%; /* Full width (cover the whole page) */
	height: 100%; /* Full height (cover the whole page) */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255,255,255,0.8); /* Black background with opacity */
	z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
	cursor: wait; /* Add a pointer on hover */
}

.my-modal-content {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%,-50%);
	background-color: white;
}

.my-modal-content * {
	color: #777;
	font-size: 24px;
	font-weight: normal;
	line-height: 44px;
}

.my-modal-content h1,
.my-modal-content h2,
.my-modal-content h3 {
	color: #CB0000;
	font-size: 32px;
	font-weight: normal;
	line-height: 44px;
}


@media screen and (max-width: 767px){
	.my-modal {
		padding-left: 0px; /* Because purecss side menu */
	}
}

@media screen and (min-width: 768px){
	.my-modal {
		padding-left: 300px; /* Because purecss side menu */
	}
}


/* other */

.icon {
	text-align: center;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	vertical-align: middle;
	opacity: 0.2;
}

.icon-large {
	width: 2em;
	height: 2em;
	line-height: 2em; 
	margin: 0em 1.2em;
}

.icon-small {
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	margin: 0em 0.5em;
}

/* wind direction indicator: */

#wind-direction {
	background-image: none; /* <-- set later in icons.css */
	background-position: center -1px;
	background-size: contain;
	margin-bottom: 10px;
	transform: rotate(0deg);
}

#wind-direction-hand {
	transform: rotate(0deg);
}

/*eof*/