/*
Theme Name: uradmonitor
Theme URI: http://www.uradmonitor.com
Author: Radu Motisan
Author URI: http://www.pocketmagic.net
Description: Responsive, minimalistic, clean and content-oriented theme, based on work by Kevin Hirczy
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white,responsive-layout,theme-options,custom-menu,full-width-template,threaded-comments,one-column,two-columns,translation-ready,sticky-post
*/


/*
|----------------------------------------------------------
| Global
|----------------------------------------------------------
*/
      @font-face { font-family: Gilroy; src: url('fonts/Gilroy-Light.otf'); }

html, body {
	height: 100%;
}
body { 
  	padding-top: 55px;
	font-size: 16px !important;
	letter-spacing:0.5px;
    font-family: Gilroy !important;
  	padding-left:20px; 
  	padding-right: 20px;
}


body.page-template-page-home { 
	/* overflow:hidden; */
	height:100%;
  	flex-grow: 1;
  	overflow: auto;
	min-height: 2em;
}

body.page-id-23 {
	background-size:     contain;                      /* <------ */
	background-repeat:   no-repeat;
	background-position: top center;              /* optional, center the image */
	background-image:url(//www.uradmonitor.com/wordpress/wp-content/uploads/2014/06/product_uradmonitor_network_o10.png);
}
body.page-id-5180 {
	background-size:     contain;                      /* <------ */
	background-repeat:   no-repeat;
	background-position: top right;              /* optional, center the image */
	background-image:url(//www.uradmonitor.com/wordpress/wp-content/uploads/2017/11/smoke.jpg);
}
body.page-id-5180 p {
		text-shadow: 1px 1px #ffffff;
}
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

code            { background-color: #f5f5f5 !important; }
img#wpstats     { display: none; }
code            {
    color: #000 !important;
    border: 1px solid #ddd;
}
pre > code      {
    border: 0 !important;
}
.post-content   {
    line-height: 1.8em;
}
div.item        { margin-bottom: 50px; }
.post-content div {
    max-width: 100% !important;
}
.post-content:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.wpcmsdev-tabs .headings a {
	background-image: none !important;
}

.buybutton {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
.qbutton {
  background-color: #af4c4c; /* Redish */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

/*
| ----------------------------
 * HOMEPAGE MAP
 * ----------------------------
 */


#sensors {
    left:auto;
    right:0;
    margin-right:-10px;
}
#topnote {
    position: absolute;
    display: none;
    border: 1px;
    background-color: rgb(45,45,45);
    border-style: dashed;
    padding: 5px;
        left: 10em;
        top:1em; 
    font-size: 14px;
    font-family: "Gilroy,sans-serif";
    margin-bottom: 5px;
    min-height: 4em;
    text-align: vertical;
    z-index: 3;
    color: yellow;
    height: 4em;
    right: 5em;
    max-width: 220px;
}

#settings-button {
    display:block;
    overflow: hidden;   
    border-radius: 2em;
    position:absolute;
    background: rgba(0,60,136,0.4);
    padding: 2px;
    cursor:pointer;
    width:4em;
    height:4em;
    left: .5em; 
    top:1em; 
    z-index: 3;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
}
#units-button {
    display:block;
    overflow: hidden;   
    position:absolute;
    border-radius: 2em;
    background: rgba(0,60,136,0.4);
    padding: .5em;
    cursor:pointer;
    width:4em;
    height:4em;
    left: 5em; 
    top:1em; 
    z-index: 3;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);   
}
#details-button {
    display:none;
    overflow: hidden;   
    position:absolute;
    border-radius: 2em;
    background: rgba(0,60,136,0.4);
    padding: .5em;
    cursor:pointer;
    width:4em;
    height:4em;
    left: 5em; 
    top:1em; 
    z-index: 3;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
}

.container-title {
    background-color: #ccc;
    width: auto;
    display: block;
    color: 0;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
}
#myProgress {
  width: 100%;
  background-color: rgb(220,220,220);
}

#myBar {
  width: 1%;
  height: 5px;
  background-color: rgba(0,60,136,0.4);
}

#menu-container {
    position: absolute;
    overflow: hidden;  
    display:none;
    max-width: 220px;
    padding: 20px;
  z-index: 10;
    background: rgba(130,130,130,0.4);
    left:.5em;
    top: 6em;
}

.ui-widget-content {
    box-shadow: 3px 3px 3px #999;
    background: rgba(0,60,136,0.4);
    border:2px;
    border-style:solid;
    border-color: darkgray;
    border-radius: 10px;
    color: white;
}
.ui-datepicker-calendar {
    color: white;
}

#menu-container hr {
    margin-top: 5px;    
    margin-bottom: 2px;
}

#map-container {
    overflow: hidden;   
    padding: 0;
    height:500px;
    width: 100%;
  padding-left:10px;
  padding-right:10px;
}
.section-label {
  font-size: 20px;
  color: white;
  background-color: gray;
  padding: 5px;
  
}
.warning-green {
  background-color:green;
  color:white;
  padding:5px;
  text-shadow: 1px 1px #808080;
}
.warning-yellow {
  background-color:yellow;
  color:white;
  padding:5px;
    text-shadow: 1px 1px #808080;
}
.warning-red {
  background-color:red;
  color:white;
  padding:5px;
    text-shadow: 1px 1px #808080;
}
.warning-magenta {
  background-color:magenta;
  color:white;
  padding:5px;
    text-shadow: 1px 1px #808080;
}

.aqi-green {
    background-color:rgba(0,255,0,0.7);color:black;
    padding: 5px;
}
.aqi-yellow {
    background-color:rgba(255,255,0,0.7);color:black;
    padding: 5px;
}
.aqi-red {
    background-color:rgba(255,0,0,0.7);color:black;
    padding: 5px;
}
.aqi-magenta {
    background-color:rgba(255,0,255,0.7);color:black;
    padding: 5px;
}

#units-container {

}
#health-container {

}
#resources-container {
    width:100%;
    color: #5e5e5e;
    background: white;
	padding-left:5px;
}  
.crop {
	width: 200px;
	height: 150px;
	overflow: hidden;
	  display: table-cell ;
   vertical-align: bottom ;
}

.crop img {
    width: 400px;
	height: 300px;
}
#units-container img {
    width: 4em;
    height: 4em;
    float: left;
    margin-right: .5em;

}
#units-container li {
    list-style: none;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100%;
    margin: 5px;
    display: block;
}
.pre-scrollable {
max-height:250px !important;
}

.units-info {
	background-color: gray;
    color: white;
}
#details-container {
    position: absolute;
    overflow: hidden;  
    display:none;
    width: 90%;
    max-height:600px;
    top: 11em; /*desktop */
    left:30%;
    max-width:600px;
    color: #5e5e5e;
    background-color: rgba(250,250,250,0.9);
    padding: 10px;
    box-shadow: 3px 3px 3px #999;
    z-index:3;
    right:.5em;
    border:1px;
    border-style:solid;
    border-color: lightgray;
    border-radius: 4px;
}


#details-container hr {
    margin-top: 5px;
    margin-bottom: 2px;
    border: 0;
    border-top: 1px solid #aaa;
}
#details-container .small {
    font-size: 12px;
}
#details-warning {
    border: 1px;
    background-color: rgb(45,45,45);
    border-style: dashed;
    padding: 5px;
    font-size: 14px;
    font-family: "Gilroy,sans-serif";
    margin-bottom: 5px;
    min-height: 5em;
    text-align: vertical;
}
#details-warning img {
    width: 4em;
    height: 4em;
    float: left;
    margin-right: .5em;
}

#details-legend {
    right:.5em;
    width: 100%;
    text-align: center;
    padding: 2px;
    font-size: 75%;
}

#details-chart {
    display: block;
    height: 100%;
    max-height:200px;
    margin-left:5%;
    margin-right:5%;
}
#details-clusters {
    display: none;
    height: 100%;
    max-height:200px;
    margin-left:5%;
    margin-right:5%;
}

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

    #details-container {
        top: 5em;
        left:.5em;
        right:.5em;
    }
    #details-chart {
        max-height:150px;
        max-width: 90%;
    }
}


.left {
    float: left;
}
.right {
    float: right;
}

.red {
    color: red;
}

.green {
    color: green;
}

#status-loader {
    display: none;
}
.col-md-2 {
    height: 100%;
  padding-left: 0 !important;
    padding-right: 0 !important;
}

.col-md-8 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.col-md-2 .cpr {
    position: absolute;
    left:0;
    text-align: center;
    width: 100%;
    bottom: 0;
    padding-bottom: 10px;
}


.checkbox img {
    width: 20px;
    padding: 2px;
}
.comiseo-daterangepicker-triggerbutton.ui-button {
    width: 100% !important;
    min-width: 0em !important;
    text-align: center;
}
.selecter .selecter-selected { text-align: center; }

.square {
    display: inline-block;
    margin-right: 10px;
    width: 32px;
    height:16px !important;
    
}
/*img[id^="loader-"] {*/
.loader {
    width:16px !important;
    height:16px !important;
    margin-left:10px !important;
}

.checkbox {
    margin: 0;
    font-size: 12px;
    height: 32px;
}

.ol-mouse-position {
    top: 1.6em !important;
    margin-right: 4em;
    color: #fff;
    background-color: rgba(0,60,136,0.4);
    border-radius: 5px;
    padding: 2px;
    margin-top:1px;
    font-size: 75%;
}

.ol-overviewmap {
    margin-bottom: 3em;
    margin-top: 0.5em;
}

.ol-scale-line {}
.ol-control button {
    width: 2em !important;
    height: 2em !important;
}
.ol-zoom  {
    right: .5em !important;
    left: auto !important; 
}
.ol-full-screen {
    top: 8em !important;
}
.ol-attribution {
  display: none !important;
}

#map-copyright {
    display: block;
    position: absolute; 
    left: 15em;
    bottom: 75px;
    font-size:75%;
    border: 1px solid #ccc;
    z-index:3;
  color: gray;
}

#map-legend {
    display: none;
    position: absolute; 
    right: .5em;
    bottom: 75px; 
    font-size:75%;
    border: 1px solid #ccc;
    z-index:3;
    background-color: rgba(250,250,250,0.9);
    padding: 2px;
    border-radius: 2px;
}

.map-legend-element {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    vertical-align: middle;
    margin: 1px;
}


.dygraph-legend {
    background: transparent !important;
    color: black;
} 

/*
|----------------------------------------------------------
| Index Blog
|----------------------------------------------------------
*/

.post_box{
	background:rgba(55, 123, 181, 0.02);;
	-ms-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.1);
	-webkit-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.1);
	-moz-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.1);
	box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.1);
	padding:15px 15px 35px;
	margin-bottom:30px;
	width:100%;
}
.search .post_box, .archive .post_box{
	padding-bottom:15px;
	position:relative;
	}
.post_box img{
	width:100%;
	height:auto;
	margin-bottom:20px;
	}
.post_box img:hover{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
	}
.post_box .fa{
	margin-right:5px;
	}
.post_box a.read_more{
	position: absolute;
	right: 15px;
	bottom: 30px;
	}
.search .post_box a.read_more, .archive .post_box a.read_more{
	bottom:0;
	right: 0;
	}
.pagination {
	display: block;
	padding-left: 0;
	margin: 20px 0;
	border-radius: 4px;
	position: absolute;
	bottom: -45px;
	text-align: center;
	width: 100%;
	font-size:15px;
	}
.pagination .fa{
	background:#339390;
	color:#ffffff;
	padding:5px;
	margin: 0 5px;
	}
.pagination .fa:hover{
	background:#212121;
	}
.meta-info, .meta-info a{
	color:#bbbbbb;
	}
.meta-info a:hover{
	color:#339390;
	}
.post_box a.meta-comment{
	color:#bbbbbb;
	float:right;
	}
.post_box a.meta-comment:hover{
	color:#339390;
	}
.entry-meta span, .entry-meta span.comments-link a{
	color: #bbbbbb;	
	}
.entry-meta span.posted-on{
	color:#339390;
	}
.entry-meta span.comments-link a:hover{
	color:#339390;
	}
p.post_desc{
	font-family: 'Gilroy,sans-serif', sans-serif;
	margin-top:10px;
	}
a.btn-info {
 color:#FFFFFF !important;
	}
h4.entry-title{
	font-weight:bold;
	margin:0px 0 15px;
}
h4.entry-title a{
	color:#212121;
}
@media screen and (max-width: 992px) {
	.item {
		position: static ! important;
		-webkit-transform: translate(0px, 0px) ! important;
		-moz-transform: translate(0px, 0px) ! important;
		transform: translate(0px, 0px) ! important;
	}
	#posts{
		display:inline;
	}
	.pagination{
		margin-top:5px;
	}
	#sidebar{margin-top:60px;}

}



/*
|----------------------------------------------------------
| Typography
|----------------------------------------------------------
*/
.post-content h2 {
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.post-content h3 {
    font-size: 19px;
}

/*
|----------------------------------------------------------
| Homescreen
|----------------------------------------------------------
*/
/*
|----------------------------------------------------------
| Required by WordPress
|----------------------------------------------------------
*/
.wp-caption         { }
.wp-caption-text    { color: #999; font-size: 12px; }
.sticky             { }
.gallery-caption    { }
.bypostauthor       { }
.wp-caption.alignright {
    float: right;
}
.wp-caption.alignleft {
    float: left;
}
.wp-caption .wp-caption-text {
    text-align: center;
}

.wp-block-image figcaption {
text-align: center !important;
font-style: italic;
	font-size: 12px !important;
}

/*
|----------------------------------------------------------
| Images
|----------------------------------------------------------
|
| from https://codex.wordpress.org/Styling_Images_in_Posts_and_Pages 
|
*/
img                 { max-width: 100% !important; height: auto !important; border: 0 !important; }
img.alignright      { float:right; margin:0 0 1em 1em; }
img.alignleft       { float:left; margin:0 1em 1em 0; }
img.aligncenter     { display: block; margin-left: auto; margin-right: auto; }
a img.alignright    { float:right; margin:0 0 1em 1em; }
a img.alignleft     { float:left; margin:0 1em 1em 0; }
a img.aligncenter   { display: block; margin-left: auto; margin-right: auto; }

/*
|----------------------------------------------------------
| Videos
|----------------------------------------------------------
|
*/
iframe {
	max-width: 100% !important; 
}


/*
|----------------------------------------------------------
| Subhead
|----------------------------------------------------------
*/
.subhead    {
    position: relative;
}

.subhead h3 {
    margin-top: 26px;
    margin-bottom: 26px;
    
    padding: 0;
}


/*
|----------------------------------------------------------
| Comments
|----------------------------------------------------------
*/
li .comment-body    { position: relative; }
li .comment         { margin-left: 10px; }
li .comment:before  {
    border-right: 10px solid #dddddd;
    border-style: solid;
    border-width: 10px;
    color: rgba(0,0,0,0);
    content: "";
    display: block;
    height: 0;
    position: absolute;
    left: 51px;
    top: 12px;
    width: 0;
}
li .comment:after   {
    border-right: 1px solid #f5f5f5;
    border-style: solid;
    border-width: 10px;
    color: rgba(0,0,0,0);
    content: "";
    display: block;
    height: 0;
    position: absolute;
    left: 53px;
    top: 12px;
    width: 0;
}


/*
|----------------------------------------------------------
| Sidebar
|----------------------------------------------------------
|
| From Bootstrap docs, with a few adjustments.
|
*/
h1 {
	margin-top:0 !important;
  	margin-bottom: 0 !important;
  	padding: 0 !important;
}
.sidebar {
    width: 213px;
    max-width: 213px;
}
h2.widgettitle {
    font-size: 1.1em;
    margin: 0 0 6px 0;
    padding: 0 0 6px 0;
    border-bottom: 1px dotted #cecece;
    font-weight: normal;
    text-transform: uppercase;
    color: #222;
}
.widget {
    margin-bottom: 16px;
}
.widget ul {
    list-style-type: none;
}
.widget ul li {
    margin-bottom: 2px;
    padding-bottom: 2px;
}
.widget ul a {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    border-left: 1px solid #563d7c;
    padding: 4px 20px;
}
.widget ul a:hover,
.widget ul a:focus {
    padding-left: 19px;
    color: #563d7c;
    text-decoration: none;
    background-color: transparent;
    border-left: 2px solid #563d7c;
    border-radius: 0;
}
.widget ul li ul a {
    border-left: 0;
    padding-left: 7px;
}
.widget ul li ul a:hover,
.widget ul li ul a:focus {
    border-left: 0;
    padding-left: 7px;
}
.widget > div > ul {
    padding: 0 !important;
}
.widget > ul {
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
    padding-bottom: 2px;
}
.widget > ul > li > a {
    display: inline-block;
}
.widget > .active > a,
.widget > .active:hover > a,
.widget > .active:focus > a {
    padding-left: 18px;
    font-weight: bold;
    color: #563d7c;
    background-color: transparent;
}
.widget > li > a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
    font-weight: normal;
}
.widget > li > a:hover,
.widget > li > a:focus {
    padding-left: 29px;
}
.widget > .active > a,
.widget > .active:hover > a,
.widget > .active:focus > a {
    padding-left: 28px;
    font-weight: 500;
}
.widget > ul > li.recentcomments {
    display: block;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    border-radius: 0;
    border-left: 1px solid #563d7c;
    margin-bottom: 2px;
}
.widget > ul > li.recentcomments:hover {
    border-left: 2px solid #563d7c;
    padding: 4px 19px;
}
.widget > ul > li.recentcomments > a {
    display: block;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    border: 0;
    margin-bottom: 2px;
}
.widget > ul > li.recentcomments > a:hover {
    border: 0;
    text-decoration: underline;
}
.widget table#wp-calendar {
    width: 100%;
}
.widget .textwidget {
    font-size: 13px;
}


/*
|----------------------------------------------------------
| Navbar
|----------------------------------------------------------
|
| Hack for multi level dropdown menues
|
*/


/* overwrite bootstrap's navbar */
.navbar {
	width: 100%;
	margin-left: auto ;
	margin-right: auto ;
 	border: 0 ;
	z-index: 3;
	margin-bottom: 0 !important;
	/* use min-hight to allow navbar to expand */
	min-height: 50px; 
	background-color: WhiteSmoke;
}

.navbar {
    -webkit-box-shadow: 0px 1px 3px #999;
    -moz-box-shadow: 0px 1px 3px #999;
    box-shadow: 0px 1px 3px #999;

    /* the rest of your styling */
}
.navbar-default {
	background-color: #ffffff !important;
}

.navbar-default .navbar-nav>.active>a {
	background-color: gray !important;
  color: white !important;
}

.navbar ul {
	list-style-type: none; /*to remove bullets*/
	text-align: center;
	padding: 0;
	zoom:1;
}

.navbar li {
    padding: 2px;
    margin-left:20px;
    margin-right:20px;
    display:inline-block;
}

.navbar-brand {
	padding:0 !important;
	padding-left: 15px !important;
}

.dropdown-menu .divider {
	width: 100%;
	padding: 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


/*
|----------------------------------------------------------
| Random QA styles
|----------------------------------------------------------
*/
.rqa .rqa-question {
    font-style: italic;
    display: block;
    margin: 0;
}

.rqa .rqa-question:first-letter {
    font-weight: bold;
}

.rqa .rqa-answer {
    display: block;
}

.rqa .rqa-answer:first-letter {
font-weight: bold;
}