/*
Theme Name: Unicorn (code name)
Description: Map is front-and center with a simplified home page.
Demo: http://www.ushahidi.com
Version: 1.0
Author: Caleb Bell
Author Email: caleb@ushahidi.com
*/


/* Theme Settings
--------------------*/
  /* Primary Color */
  h1, a,
  table.table-list tbody tr td a,
  .hover .r_details h3 a.r_title,
  div.footermenu ul li a,
  div.search-form input.text  { color: #555; }
  div.search-form input.text:focus { border-color: #555; }
  div.submit-incident a, .btn_submit,
  div.filters ul li a:hover, div.filters ul li a.active,
  ul.category-filters li a:hover, ul.category-filters li a.active { background-color:#555; }
  
  /* Lighter Primary Color - for hover effects */
  div#loggedin_user_action a, div#loggedin_user_action a:visited { color:#d25e4f; }
  div.submit-incident a:hover, .btn_submit:hover,
  div.search-form input.searchbtn,
  div#mainmenu a.active
  { 
	background-color:#555; 
  }

  div#mainmenu ul li a:hover {
	  background-color:#777; 
  }

div#mainmenu a:hover {
	text-decoration: none;
    /* background: #fff; */
    color: #fff;
}

div#mainmenu a.active {
    text-decoration: none;
    /* background: #fff; */
    color: #00cc33;
}

/* general styles */
h1 {
  
}
h2 {
  
}
h5, h4 {
  
}

/* structural divs */
/* body#page { background:#e4e1dd url(../images/bg_transparent-lines.png) repeat; } */

/*div#middle { background:transparent url(../images/bg_top-cap.png) top no-repeat; } */

.big-block {   }
.page-main #main { padding:10px 10px; }

/* top-bar */
#top-bar {
  width: 960px;
  background: #ccc;
  height: 40px;
  position: relative;
  margin:0 auto;
  padding: 0 15px;
  border: 1px solid #ccc;
}
div#searchbox {
  position: absolute;
  right: 0;
  border: none;
  background: transparent;
  width: auto;
}
div#loggedin_user_action {
  float: left;
  width: auto;
}
div#loggedin_user_action a, div#loggedin_user_action a:visited {
  font-weight: bold;
  padding: 6px;
  margin-top: 2px;
  width: auto;
  display: block;
  float: left;
  color:#5396ff;
}
div.search-form input.text {
  border: 1px solid;
}
div.search-form input.text:focus {
  border: 1px solid;
}
div.search-form input.searchbtn {
  width: auto;
  height: auto;
  border: 0;
  text-indent: 0;
  color: #FFFFFF;
  display: block;
  font-size: 12px;
  background-image:none;
  background-color:#585858;
  margin-left: 10px;
  line-height: 17px;
  padding: 2px 5px 3px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #424242;
}

/* header */
div#header { height:auto; margin:0px 0 16px 0}

div.wrapper-footer {
	background-color: #585858;
}

div.wrapper, div.rapidxwpr {
	padding: 15px 15px 15px 15px;
	margin-bottom: 15px;
}

div.map.timeline-enabled {
	height: 766px;
}

/* logo box */
div#logo {
  background-color: transparent;
  float:none;
  padding: 0;
  margin: 12px 0 0 0;
}
div#logo h1 a {
  color: #007700;
  font-size: 28px;
}
div#logo span {
  /*font-style: italic;*/
  color: #999;
  font-family: 'Arial';
}

/* submit report button */
div.submit-incident { margin:0; top:20%; }
div.submit-incident a, .btn_submit {
  text-shadow: 1px 1px 0 #424242;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

/* primary nav */
div#mainmenu { background:none; border:none; height: auto; padding: 0 10px 0 10px; }
div#mainmenu ul {
  background: #ccc;
  padding: 7px 0 7px 12px;
  width: 927px;
}
div#mainmenu ul li {
  margin:0 8px 0 0;
}
div#mainmenu ul li a { padding:3px 5px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
div#mainmenu ul li a:hover, div#mainmenu a.active {
  
}

/* filter box */
#report-map-filter-box { position:absolute; z-index:1000; width:940px; }

div#left {
	width: 60%;
}

div#right { 
	/* position:absolute; */
	z-index:1000; 
	width: 40%;
}

.map-menu-box {
  position:absolute;
  overflow:auto;
  background:#f9f7f8;
  -moz-border-radius: 3px; -webkit-border-radius: 3px; 
  -moz-box-shadow:0px 1px 1.5px #424041; -webkit-box-shadow:0px 1px 1.5px #424041; box-shadow:0px 1px 1.5px #424041;
  filter: progid:DXImageTransform.Microsoft.Shadow(strength=1.5, direction=180, color='#424041');
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(strength=1.5, Direction=180, Color='#424041')";
}
#the-filters { 
  top:120px; 
  right:20px;
  width:350px;
  padding: 5px;
  display: none;   
}

#the-filters h3 { 
	font-size:10px; 
	color:#605f5d; 
	text-transform:uppercase; 
	margin-bottom:5px;
	display:none;
	
}

/* type and category toggle button */
#filter-menu-toggle { 
	position:absolute; 
	top:90px; 
	right:20px;
	width:80px; 
	text-transform:uppercase; 
	text-align: center;
}

.r_tech_details {
	float: left;
    display: block;
    margin: 5px 0 5px 0;
    clear: both;
    width: 230px;
	border: 1px #ccc solid;
    padding: 5px 5px 5px 10px;
    background: #eee;
    border-radius: 6px;
	height: 18px;
}

.layer-name {
	padding-right: 10px;
}
  
  /* home page category filter */
.page-main #report-category-filter { 
	padding:5px; 
	float:left; 
	width:340px; 
}
  .page-main ul.category-filters { background:none; border:0; padding:0; }
  .page-main ul.category-filters li { display:block; list-style-type:none; overflow:auto; }
    .page-main ul.category-filters li li { clear:left; }
  .page-main ul.category-filters li a { 
	font-size:10px; 
	padding:2px 2px 2px 2px; 
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px; 
	float:left; 
	clear:right; 
	border:0; 
	border:1px transparent solid; 
	display: block;
    float: left;
    line-height: 16px;
    padding-top: 4px;
	
  }
  .page-main .swatch, .page-main .item-swatch { 
	border-color:#f1f1f1; 
	-moz-border-radius: 8px; 
	-webkit-border-radius: 8px; 
	border-radius: 8px;
   }
  .page-main ul.category-filters li a:hover, 
  .page-main ul.category-filters li a.active { 
	background:none; 
	border:1px solid #c2c2c2; 
	color:inherit;
	display: block;
    float: left;
	line-height: 16px;
    padding-top: 4px;
	
  }
  
  /* home page report type filters */
  #report-type-filter { overflow:auto; padding:5px; margin:0; display: none; } 
  div.filters ul li { float:none; margin-bottom:2px; display:block; overflow:auto; }
  div.filters ul li a { color:#000; font-weight:bold; padding:3px 5px 2px; margin:1px; font-size:10px; display:block; float:left; }
  div.filters ul li a span { font-size:10px; }
  div.filters ul li a:hover, div.filters ul li a.active { -moz-border-radius: 3px; -webkit-border-radius: 3px; display:block; float:left; padding:3px 5px 2px; background:none; border:1px solid #c2c2c2; color:inherit; margin:0; }

  /* KML layers & Other Deployments */
  /*toggle buttons */
  #layers-menu-toggle { 
	position: absolute;
    top: 106px;
    left: 11px;
    color: #777;
    border: 1px solid #aaa;
    padding: 5px;
	width: 20px;
    height: 20px;
    text-align: center;
  }
  #other-deployments-menu-toggle { position:absolute; top:20px; left:322px; width:130px; }
  #how-to-report-menu-toggle { 
	position:absolute; 
	top:55px;
	right:20px; 
	width:80px;
	background: #008800;
	color: white;
	text-transform: uppercase;
	text-align: center;
}
  
  #kml_switch,
  #sharing_switch,
  #how-to-report-box { 
	display:none; 
	position: absolute;
    top: 139px;
    padding: 9px;
    left: 10px;
    background: #f9f7f8;
    width: 200px;
	border-radius: 4px;
	padding: 5px;
  }
  #sharing_switch { left:322px; }
  #how-to-report-box { left:724px; padding-top:10px; }
    #how-to-report-box ol { margin-left:22px; }
    #how-to-report-box ol li { margin-bottom:5px; }
  

/* home page map */
div.map { width:auto; border:1px solid #fff; border-top:0; position:relative; }
#mapStatus { width:auto; float:none; overflow:auto; border:1px solid #fff; }

/* home page timeline */
div.slider-holder,
div.graph-holder { display:none; }


/* home page how to report */
div.additional-content { display:none; }

/* Home Page Twitter / Mainstream News blocks */
div.content-container { background:transparent; padding:10px; }

div.content-block { 
	position:relative; 
	/* background:#f9f9f9; */
}
div.content-block h5 { 
	float:left; 
	/*position:absolute; */
	padding:5px; 
}
div.content-block h5 span { display:none; }
div.content-block .table-list { margin-top:18px; }
table.table-list thead th.date { width:20%; }

div.sn-item {
	float: left;
    width: 460px;
}
div.content-container-separator {
	width: 100%;
    height: 5px;
    clear: both;
    padding: 0px;
    float: left;
}
div.sn-item-left {
	margin-right: 10px;
}
div.sn-item-right {
	margin-left: 10px;
}
div.sn-fb-item {
	border: 1px #ccc solid;
    padding: 19px;
    border-radius: 10px;
	float: left;
}

/* reports listing page */
#content .big-block { 
	border:1px solid #fff; 
	border-top:0; 
	margin:0 10px; 
	padding:18px;	
}
#reports-box { }
#rb_list-view .rb_report {
  background: #fff;
  margin: 0px 0px 20px 0px;
}

div#map-overlay {
	width: 940px;
	height: 766px;
	background-color: rgba(256,256,256,0.65);
	position: absolute;
	z-index: 9999;
}
div#map-overlay-inner-msg {
	width: 100%;
	text-align: center;
	position: absolute;
	font-size: 30px;
}
div#map-overlay-inner-msg-text {
	margin-top: 33%;
	margin-right: 20%;
	margin-left: 20%;
	color: #aaa;
}


.rb_report {
  margin: 10px 0px 0px 0px;
}

.report-when-where {
  clear: both;
}

.report_detail .r_location {
	float:left;
    display: block;  
}

.report_detail .r_date {
	float:left;
    display: block;  
}

.mainembed {
  margin: 10px;
  border: 1px solid #ccc;
}

/* single report page */
div#main { 
	padding:5px 10px; 
	margin:0px;
}
#main .left-col { 
	border: 1px #ccc solid;
	position:relative; 
	padding: 15px; 
	margin:4px 0 0 0; 
	width:545px; 
}

div.report-category-list {
	width: 533px;
}
	
.left-col h1.report-title { float:left; padding:0px; width: 70%;}

.report_detail .r_verified {  }

div.report-additional-reports { 
	
	position:relative; 
	
}
div.report-additional-reports h4 { 

	padding:5px; 

}
div.report-additional-reports h5 { font-family: Arial, sans-serif;  }

/* reports page */
.report_right { width:440px; float:left;}

/* get alerts page */
.step-1 h2 {
  padding: 0;
}
/* footer */
div#footer {
  /*background: #585858;*/
}
div#underfooter { background:transparent; }


div.footermenu ul li a {
  text-transform: uppercase;
  font-weight: bold;
  border-left: 1px solid #666;
}
.additional-credits {
  margin-top: 18px;
}

/* button styles */
a.btn {
    cursor: pointer;
    display: inline-flex;
    background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
    background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    padding: 5px 14px 6px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    color: #333;
    font-size: 13px;
    line-height: normal;
    border: 1px solid #ccc;
    border-bottom-color: #bbb;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    transition: 0.1s linear all;
}

a.btn:hover {
  background-position: 0 -15px;
  color: #333;
  text-decoration: none;
}

.report-custom-forms-text {
  	float: left;
    overflow: auto;
    margin-top: 10px;
}
.custom_field  {
	  float: left;
    margin-right: 10px;
    padding-top: 9px;
    width: 100%;
    display: flex;
}
.custom_field_social  {
    float: left;
    margin-right: 7px;
    margin-bottom: 4px;
}
.answer {
    padding-left: 5px;
}
.fa-icon-wrapper {
	padding: 7px;
    font-size: 14px;
    border: 1px solid #C0C2B8;
    border-radius: 6px;
    background: #eee;
    width: 14px;
    height: 14px;
    text-align: center;
}

.fa-icon-wrapper-inactive {
	padding: 7px;
    font-size: 14px;
    border: 1px solid #C0C2B8;
    border-radius: 6px;
    background: #eee;
    width: 14px;
    height: 14px;
    text-align: center;
	color: #ccc;
}

span.btn-icon { display:block; position:absolute; height:16px; width:16px; overflow:hidden; text-indent:-234324px; top:6px; right:5px; }
  .ic-right     { background:transparent url(../images/bg_category-filter-controls.png) -32px -41px no-repeat; }
  .ic-down      { background:transparent url(../images/bg_category-filter-controls.png) -32px -55px no-repeat; }
  .ic-question  { background:transparent url(../images/bg_category-filter-controls.png) 0px -49px no-repeat; }
  
  /* active state */
  .active-toggle .ic-right { background:transparent url(../images/bg_category-filter-controls.png) -32px -55px no-repeat; }
  