/*

	 Copyright 2013 - SmartAdmin : WebApp (Sunny)
	
	 * This is part of an item on wrapbootstrap.com
	 * https://wrapbootstrap.com/user/MyOrange
	 * ==================================
	
	 Table of Contents
	 ---------------------------------------------------------------
	
	 - Main
	 - Header
	 - Content
	 - Edit box
	 - Timestamp
	 - Helpers
	 - Fullscreen
	 - Styling
	 - Custom styles
	 - Icons - A few used examples
	 - RTL support
	 - Clearfix
	 - Examples (minimalistic in grid)
	 - Examples (lists)
	
	 */
/*
	 * MAIN
	 */
article.sortable-grid {
  min-height: 30px;
}

.jarviswidget {
  margin: 0 0 30px 0;
  position: relative;
  -moz-border-radius: 0px;
  -khtml-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 4px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background-color: #fff;
  height: 100%;
}

.widget-content-padding {
  padding: 20px;
}

.widget-content-padding .well {
  margin-bottom: 0px;
}

/*
	 * HEADER
	 */
.jarviswidget>header {
  height: 34px;
  padding: 0;
  line-height: 40px;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  border-radius: 4px 4px 0 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  min-height: 2rem;
}

.jarviswidget>header>.widget-icon {
  display: block;
  width: 30px;
  /* height: 32px; */
  position: relative;
  float: left;
  font-size: 111%;
  /* line-height: 32px; */
  text-align: center;
  margin-right: -10px;
}

.jarviswidget>header h2 {
  /* height: 100%; */
  width: auto;
  display: inline-block;
  font-size: 12px;
  position: relative;
  margin: 0;
  /* line-height: 34px; */
  font-weight: normal;
  letter-spacing: 0px;
}

.jarviswidget>header>h2 {
  margin-left: 10px;
  float: left;
}

.jarviswidget>header>.ui-sortable-handle {
  flex: 1 1 auto;
  cursor: move;
  height: 2rem;
}

.jarviswidget>header> :first-child.widget-icon {
  margin-left: 0;
}

.jarviswidget>header .jarviswidget-icon {
  width: 16px;
  height: 16px;
  float: left;
  margin: 12px 10px 0 0;
  display: block;
  zoom: 1;
  z-index: 4000;
}

.ui-sortable .jarviswidget-sortable>header {
  cursor: move;
  -moz-border-radius: 0px;
  -khtml-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  line-height: normal;
  /* box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.05); */
  /* -moz-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.05); */
  /* -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.05); */
}

.ui-sortable .jarviswidget-sortable.jarviswidget-collapsed>header {
  -moz-border-radius: 0px;
  -khtml-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

.jarviswidget-ctrls {
  width: auto;
  float: right;
  padding: 0;
  margin: 0;
}

.jarviswidget-ctrls .button-icon {
  min-width: 30px;
  height: 32px;
  float: left;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  /* border-left: 1px solid rgba(0, 0, 0, 0.09); */
}

.jarviswidget-ctrls .button-icon:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.jarviswidget-loader {
  width: 32px;
  height: 32px;
  margin: 0;
  float: right;
  background-repeat: no-repeat;
  background-position: center center;
  display: none;
  text-align: center;
  line-height: 32px;
  font-size: 111%;
}

/*
	 * CONTENT
	 */
.jarviswidget>div {
  float: left;
  width: 100%;
  position: relative;
  /* font-size: 13px; */
  -moz-border-radius: 0px;
  -khtml-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  margin: 0;
  /* border-width: 1px 1px 2px 1px;
  border-style: solid; */
  border-top: none;
  border-right-color: #CCC !important;
  border-bottom-color: #CCC !important;
  border-left-color: #CCC !important;
  padding: 13px 13px 0px;
  overflow: visible;
}

.jarviswidget .widget-body {
  min-height: 100px;
  position: relative;
  padding-bottom: 15px;
}

.jarviswidget .widget-body.widget-hide-overflow {
  overflow: hidden;
}

.widget-toolbar.no-border {
  border-left: none;
}

.widget-body.no-padding {
  margin: -13px -13px 0px;
}

.widget-body.no-padding .alert {
  margin: 0 0 10px;
  padding: 10px;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  border-width: 0px 0px 1px !important;
  border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
}

.jarviswidget.well.transparent .widget-body.no-padding {
  margin: 0px !important;
}

.widget-body>table {
  margin-bottom: 0;
}

.widget-body.no-padding .cke_chrome,
.no-padding .md-editor {
  border: none;
}

.widget-toolbar>.smart-form {
  margin-top: 2px;
}

.widget-toolbar>.smart-form .toggle:last-child {
  font-size: 12px;
  line-height: 29px;
}

.widget-toolbar>.smart-form .radio input+i,
.widget-toolbar>.smart-form .checkbox input+i,
.widget-toolbar>.smart-form .toggle input+i {
  border-width: 1px;
  border-color: #C7C7C7 !important;
  margin-top: 1px;
  box-shadow: 0 1px 1px #FFF, 0 1px 1px #858585 inset;
  -webkit-box-shadow: 0 1px 1px #FFF, 0 1px 1px #858585 inset;
  -moz-box-shadow: 0 1px 1px #FFF, 0 1px 1px #858585 inset;
}

/*
	 * WELL WIDGET
	 */
.jarviswidget.well {
  margin: 0 0 30px 0;
}

.jarviswidget.well>div {
  border: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

.jarviswidget.well header {
  display: none;
}

/*
	 * WIDGET FOOTER
	 */
.widget-footer {
  display: block;
  min-height: 32px;
  vertical-align: middle;
  position: relative;
  background-color: #F8F7F7;
  padding: 5px;
  border-top: 1px solid #E4E4E4;
  text-align: right;
  margin: 0px -13px -13px;
}

.no-padding .widget-footer {
  margin: 0;
}

.widget-footer.smart-form>label {
  margin-top: 4px;
  display: block;
}

/*
	 * EDIT BOX
	 */
.jarviswidget-editbox {
  display: none;
  padding: 10px;
}

/*.jarviswidget-editbox div {
		width: 100%;
		float: left;
		margin-bottom: 0;
	}
	.jarviswidget-editbox label {
		width: 80px;
		height: 26px;
		float: left;
		line-height: 26px;
		font-weight: bold;
		margin-bottom:0;
	}
	.jarviswidget-editbox input {
		width: 200px;
		height: 24px;
		padding: 0 5px;
		border: 1px solid #666;
	}
	.jarviswidget-editbox span {
		height: 26px;
		width: 26px;
		float: left;
		margin: 0 5px 0 0;
		cursor: pointer;
	}*/
/*
	 * TIMESTAMP
	 */
.jarviswidget-timestamp {
  font-size: 12px;
  color: #868686;
  font-style: italic;
  margin: 10px 0 0;
}

/*
	 * HELPERS
	 */
.jarviswidget-placeholder {
  -moz-border-radius: 0px;
  -khtml-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  margin-bottom: 28px;
  /* adjusted from 28px */
  padding: 0;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/*
	 * FULL SCREEN
	 */
body.nooverflow {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#jarviswidget-fullscreen-mode {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
}

#jarviswidget-fullscreen-mode .jarviswidget {
  margin: 0;
  -moz-border-radius: 0;
  -khtml-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

#jarviswidget-fullscreen-mode .jarviswidget>div {
  overflow-y: scroll;
  -moz-border-radius: 0;
  -khtml-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

#jarviswidget-fullscreen-mode>div>header {
  cursor: default;
}

/*
	 * WIDGET BODY TOOLBAR
	 */
.widget-body-toolbar,
.smart-form.widget-body-toolbar {
  display: block;
  padding: 0px 10px;
  margin: -13px -13px 13px;
  min-height: 42px;
  /* border-bottom: 1px solid #ccc;
  background: #fafafa; */
}

.no-padding.widget-body-toolbar,
.no-padding .widget-body-toolbar,
.no-padding .smart-form.widget-body-toolbar {
  display: block;
  margin: 0px;
}

.widget-body-toolbar.smart-form .inline-group,
.smart-form .widget-body-toolbar .inline-group {
  float: left;
  margin-top: 4px;
}

.widget-body-toolbar .btn {
  vertical-align: middle;
}

.widget-body-toolbar .btn-xs {
  margin-top: 5px;
}

/*
	 * WIDGET BODY AJAX LOAD
	 */
.widget-body-ajax-loading::before {
  content: url('../img/ajax-loader.gif');
  padding-top: 18%;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  display: block;
  background: rgba(255, 255, 255, 0.4);
  height: 100%;
  z-index: 1;
  width: 100%;
  position: absolute;
}

.widget-body-ajax-loading:hover {
  cursor: wait !important;
}


/*
	 * STYLING
	 * Default
	 */
/* .jarviswidget > header {
  color: #333;
  border: 1px solid #C2C2C2;
  background: #fafafa;
} */
.jarviswidget>div {
  /* background-color: #fff !important; */
  background-color: #fff !important;
}

.jarviswidget-editbox {
  border-bottom: 1px solid #B1B1B1;
  background-color: #fff;
  margin: -13px -13px 13px;
}

.no-padding .jarviswidget-editbox {
  margin: 0 0 10px;
}

.jarviswidget-placeholder {
  background-color: #FFC;
  border: 1px dashed #A7A7A7;
}

/*
	 * ICONS
	 */
.jarviswidget-ctrls a {
  text-decoration: none;
  font-size: 12px;
  text-align: center;
  display: inline-block;
  line-height: 32px;
  padding: 0;
  margin: 0;
  color: #333;
}

/*
	 * RTL - SUPPORT
	 
	
	.rtl .jarviswidget > header {
		padding: 0 7px 0 0;
	}
	.rtl .jarviswidget > header h2 {
		float: right;
		text-align: right
	}
	.rtl .jarviswidget > header .jarviswidget-icon {
		float: right;
		margin: 12px 0 0 7px;
	}
	.rtl .jarviswidget-ctrls {
		float: left;
		padding: 10px 0 0 3px;
		margin: 0;
	}
	.rtl .jarviswidget-ctrls .button-icon {
		margin: 0 0 5px 5px;
	}
	.rtl .jarviswidget-loader {
		float: left;
	}*/
/*
	 * CLEARFIX
	 */
.jarviswidget:before,
.jarviswidget:after,
.jarviswidget>div:before,
.jarviswidget>div:after,
.inner-spacer:before,
.inner-spacer:after,
.jarviswidget-editbox:before,
.jarviswidget-editbox:after,
.clearfix:before,
.clearfix:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  visibility: hidden;
}

.jarviswidget:after,
.jarviswidget>div:after,
.inner-spacer:after,
.jarviswidget-editbox:after,
.clearfix:after {
  clear: both;
}

.jarviswidget,
.jarviswidget>div,
.inner-spacer:after,
.jarviswidget-editbox,
.clearfix {
  zoom: 1;
  /*IE*/
}

/*
	 * WIDGET TOOLBARS
	 */
.widget-toolbar {
  display: inline-block;
  float: right;
  width: auto;
  height: 32px;
  line-height: 32px;
  position: relative;
  /* border-left: 1px solid rgba(0, 0, 0, 0.09); */
  cursor: pointer;
  padding: 0 8px;
  text-align: center;
}

.widget-toolbar> :first-child {
  text-align: left;
}

/*
	 * WIDGET TOOLBAR COMPONENTS
	 */
/*
		 * TABS
		 */
.jarviswidget header .nav-tabs {
  border-bottom-color: transparent;
}

.jarviswidget header .nav-tabs>li>a {
  border-radius: 0px;
  border: none;
  padding: 7px 15px 6px;
}

.jarviswidget header:first-child .nav-tabs {
  float: left;
}

.jarviswidget header:first-child .nav-tabs li {
  padding-left: 0;
}

.jarviswidget header:first-child .nav-tabs li a {
  color: #333;
}

.jarviswidget header:first-child .nav-tabs.pull-right li:last-child a {
  margin-right: 0px !important;
  border-right: none !important;
}

.jarviswidget header .nav-tabs>li.active>a,
.jarviswidget header .nav-tabs>li.active>a:hover,
.jarviswidget header .nav-tabs>li.active>a:focus {
  color: #555;
  background-color: #FFF;
  border: 1px solid #C2C2C2;
  border-bottom-color: transparent;
  border-top: none;
  cursor: default;
}

/*
		 * PILLS
		 */
.jarviswidget header .nav-pills {
  margin: 3px;
}

.jarviswidget header .nav-pills>li>a {
  padding: 3px 5px 4px;
}

/*
		 * BTN GROUPS
		 */
.widget-toolbar .btn-group {
  margin-top: -3px;
}

/*
		 * BTNs
		 */
.widget-toolbar>.btn {
  margin-top: -3px;
  font-size: 12px !important;
  padding: 1px 8px !important;
}

/*
		 * INPUT
		 */
.widget-toolbar .smart-form label.checkbox,
.widget-toolbar .smart-form label.radio {
  line-height: 29px;
}

/*
		 * LABELS
		 */
.widget-toolbar>.label {
  vertical-align: middle;
  margin-top: -3px;
  display: inline-block;
  text-align: center;
  font-size: 12px;
  padding: 4px 7px;
}

/*
		 * BADGE
		 */
.widget-toolbar>.badge {
  padding: 5px 5px;
  font-size: 14px;
  border-radius: 50%;
  font-weight: normal;
  min-width: 24px;
  text-align: center !important;
}

/*
		 * PROGRESS BARS
		 */
.widget-toolbar .progress {
  width: 130px;
  margin: 7px 0 0 0;
  height: 18px !important;
  font-size: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0), 0 0 0 1px #d1d1d1 inset;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0), 0 0 0 1px #d1d1d1 inset;
  -moz-box-shadow: 0 1px 0 transparent, 0 0 0 1px #D1D1D1 inset;
}

.widget-toolbar .progress-bar {
  font-size: 12px;
}

/*
		 * PAGINATION
		 */
.widget-toolbar .pagination {
  margin: 4px 0;
}

.widget-toolbar .pagination>li>a {
  padding: 2px 7px;
}

/*
		 * TEXT INPUT
		 */
.widget-toolbar .widget-text-input {
  max-width: 220px;
}

.widget-toolbar input[type='text'] {
  height: 28px !important;
  margin-top: 2px;
}

.widget-toolbar.smart-form .icon-append,
.widget-toolbar.smart-form .icon-prepend,
.widget-toolbar .smart-form .icon-append,
.widget-toolbar .smart-form .icon-prepend {
  top: 3px !important;
}

/*
 * Enhancements for other plugins 
 */
#jarviswidget-fullscreen-mode .fc-grid .fc-day-number {
  padding: 5px 12px;
  font-size: 40px;
}

/*Messagebox */
.divMessageBox {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
}

.MessageBoxContainer {
  top: 35%;
  color: white;
  position: relative;
  width: 100%;
  background-color: #232323;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px;
}

.MessageBoxMiddle {
  position: relative;
  left: 20%;
  width: 60%;
}

.MessageBoxMiddle .MsgTitle {
  letter-spacing: -1px;
  font-size: 24px;
  font-weight: 300;
}

.MessageBoxMiddle .pText {
  font-size: 13px;
}

.MessageBoxContainer input {
  width: 50%;
  padding: 5px;
}

.MessageBoxContainer select {
  width: 50%;
  padding: 5px;
}

.MessageBoxButtonSection {
  width: 100%;
  height: 30px;
}

.MessageBoxButtonSection button {
  float: right;
  margin-right: 7px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 14px;
  font-weight: bold;
}

/* End of MessageBox */
.LoadingBoxContainer {
  top: 20%;
  color: white;
  position: relative;
  width: 100%;
  background-color: #232323;
}

.LoadingBoxMiddle {
  position: relative;
  left: 20%;
  width: 50%;
  padding: 10px;
}

.LoadingBoxContainer .MsgTitle {
  font-size: 26px;
}

.LoadingBoxContainer .pText {
  font-size: 13px;
}

#LoadingPoints {
  position: absolute;
}

/* bigBoxes */
.bigBox {
  position: fixed;
  right: 10px;
  bottom: 10px;
  background-color: #004d60;
  padding-left: 10px;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 5px;
  width: 390px;
  height: 150px;
  color: white;
  z-index: 99999;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  border-left: 5px solid rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.bigBox span {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: -1px;
  padding: 5px 0 !important;
  display: block;
}

.bigBox p {
  font-size: 13px;
  margin-top: 10px;
}

#divMiniIcons {
  position: fixed;
  width: 415px;
  right: 10px;
  bottom: 180px;
  z-index: 9999;
  float: right;
}

.botClose {
  position: absolute;
  right: 10px;
  height: 16px;
  width: 15px;
  cursor: pointer;
  font-size: 18px;
  opacity: .5;
  display: block;
  top: 15px;
}

.botClose:hover {
  opacity: 1;
}

#divMiniIcons .cajita {
  text-align: center;
  vertical-align: middle;
  padding: 4px 6px;
  color: #FFF;
  float: right;
  cursor: pointer;
  display: block;
  background-color: #F00;
  font-size: 17px;
  margin-left: 4px;
  margin-top: 5px;
}

#divMiniIcons .cajita:active {
  top: 1px;
  left: 1px;
  position: relative;
}

.cajita img {
  width: 23px;
  height: 23px;
  padding-left: 3px;
  padding-top: 3px;
}

.bigBox .bigboxicon {
  font-size: 30px;
  text-align: left;
  position: absolute;
  top: 120px;
  left: 6px;
  z-index: 0;
}

.bigBox .bigboxnumber {
  width: 100%;
  text-align: right;
  font-size: 25px;
}

/* End of  bigBoxes */
/* SmallBox */
#divSmallBoxes {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.SmallBox {
  position: absolute;
  right: 5px;
  top: 20px;
  width: 420px;
  color: white;
  z-index: 9999;
  overflow: hidden;
  border: 1px solid transparent;
}

.SmallBox:hover {
  border: 1px solid #fff;
  cursor: pointer;
}

.SmallBox .foto {
  font-size: 44px;
  position: absolute;
  left: 17px;
}

.SmallBox .textoFull {
  width: 93%;
  float: left;
  padding-left: 20px;
}

.SmallBox .textoFoto {
  width: 78%;
  margin: 3px 20px 10px 80px;
  float: left;
}

.miniPic {
  position: absolute;
  bottom: 8px;
  right: 9px;
}

.miniIcono {
  height: 100%;
  font-size: 20px;
}

.SmallBox span {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: -1px;
  display: block;
  margin: 4px 0;
}

.SmallBox p {
  font-size: 13px;
  margin-top: 2px;
}

/* End of SmallBox */
#pageslide {
  /* These styles MUST be included. Do not change. */
  display: none;
  position: absolute;
  position: fixed;
  top: 0;
  height: 100%;
  z-index: 999999;
  /* Specify the width of your pageslide here */
  width: 305px;
  padding: 20px;
  /* These styles are optional, and describe how the pageslide will look */
  background-color: #004d60;
  color: #FFF;
  -webkit-box-shadow: inset 0 0 5px 5px #222;
  -moz-shadow: inset 0 0 0px 0px #222;
  box-shadow: inset 0 0 0px 0px #222;
}

.purehtml {
  color: white;
  font-size: 16px;
}

/* Mobile Phones */
@media screen and (max-width: 450px) and (max-width: 767px) {

  /* SmallBox Responsive */
  #divSmallBoxes {
    position: fixed;
    width: 90%;
    right: 0;
    top: 0;
  }

  .SmallBox {
    width: 95%;
  }

  .SmallBox:hover {
    box-shadow: 0px 0px 10px #888888;
    cursor: pointer;
  }

  .SmallBox span {
    font-size: 16px;
    /*font-weight:bold;*/
  }

  .SmallBox p {
    font-size: 12px;
    margin-top: 2px;
  }

  .SmallBox .textoFull {
    width: 93%;
    float: left;
    padding-left: 20px;
  }

  .SmallBox .textoFoto {
    width: 55%;
    margin: 3px 20px 3px 80px;
    float: left;
  }

  /* End of SmallBox Responsive*/
  /* bigBoxes Responsive */
  .bigBox {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: #004d60;
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    width: 88%;
    height: 150px;
    color: white;
    z-index: 99999;
  }

  /* End of  bigBoxes  Responsive */
  /*Messagebox Responsive */
  .divMessageBox {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
  }

  .MessageBoxContainer {
    top: 25%;
    color: white;
    position: relative;
    width: 100%;
    background-color: #232323;
  }

  .MessageBoxMiddle {
    position: relative;
    left: 0;
    width: 100%;
    padding: 3px;
  }

  .MessageBoxMiddle .MsgTitle {
    font-size: 22px;
  }

  .MessageBoxMiddle .pText {
    font-size: 13px;
  }

  .MessageBoxContainer input {
    width: 50%;
    padding: 5px;
  }

  .MessageBoxContainer select {
    width: 50%;
    padding: 5px;
  }

  .MessageBoxButtonSection {
    width: 100%;
    height: 30px;
  }

  .MessageBoxButtonSection button {
    float: right;
    margin-right: 5px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* End of MessageBox Responsive */
}


.jarviswidget-scroll::-webkit-scrollbar {
  width: 2px;
}

.jarviswidget-scroll::-webkit-scrollbar-track {
  border-radius: 0;
  background-color: #fff;
}

.jarviswidget-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.07);
}