/* Setting max-width on .container element to stop the panel overflowing
   Setting width to 100%  overwrites the defa
*/

@media (min-width: 768px) {
    .container {
        max-width: 750px;
        width:100% !important
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 970px;
        width:100% !important
    }
}
@media (min-width: 1200px) {
    .container{
        max-width: 1170px;
        width:100% !important
    }
}

@media (min-width: 1400px) {
    .container{
        max-width: 1370px;
        width:100% !important
    }
	
	.container_large {
		max-width: 1500px;
        width:100% !important;
		padding:0 15px;
		margin-right: auto;
		margin-left:auto;
	}
}

/* Setting the content-wrapper height dynamically adds a slight overhang when loading the page
overflow:hidden hides this overhang */
.public-nav-btn{
    background-color:#E8E8E8;
    color:#181818 !important; 
    border-radius: 3px;
}
.public-nav-btn:hover{
    background-color:#A9A9A9;
    color:#000000 !important; 
}
.content-wrapper {
   overflow: hidden;
}
#admin-preloader{
    position: absolute;
    min-height: 500px;
}
.formula-cell{
    max-width: 300px;
    word-wrap:break-word;
}
.adv-link{
    color: rgb(226,27,34);
}
.preloader {
    width: 100%;
    height: 100%;
    z-index: 9999;
    color: grey;
	background-repeat: no-repeat; 
    background-color: #ecf0f5;
    background-position: center top;
    
 }
 #period_table{
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
 }
/****************************** Report and Submit Styling *******************************************/
.memb_table {
  font-size: 15px;
}
.navbar-brand {
  padding: 7px 8px;
}
.page_heading {
    font-size: 24px;
}
#generateCSV i{

    font-size:28px;
    color: #008000 !important;
    padding:6px;
}

#generatePDF {
    color: #ff0000;
    font-size:28px;
    padding:6px;
}

.date-label {
    margin-top:7px;
}

.col-desc {
    text-align:right;
    width: 15% !important;
}

.col-head{
    font-weight: 700;
    color: #333333;
    text-align: center;
}

#results {
    background: #ffffff;
    color: #525343;
    font-family: "Karla","Trebuchet MS", "Source Sans Pro";
    font-size: 15px;
}
#results tbody td {
    color: #525343;
    padding: 10px;
}

/* #results tbody td {
    width: 10%;
} */

.category tr .cat-name, #results tbody tr td:first-of-type {
    width:15%;
}

#results thead:first-of-type tr:first-of-type {
    font-weight: bold;
    color: #525343;
    text-align: center;
    background-color: white;
    padding-top: 5px;
    padding-bottom:15px;
}

.met-desc, .cat-desc {
    width:45% !important;
}
#results tbody tr:nth-child(even) {
    background-color: #e9ebed;

}

 .category , .cat-head {
    background-color: #6c777f;
    color:white;
    padding:10px;
}

#results .category .cat_row td {
    color:white;
}
#results .category .export_met_row {
    min-height: 0px !important
}

.category td {
	padding:8px;
}

.sub_category {
    /*background-color: #009fa6;*/
    background-color: #7fa23e;
    color:white;
}
.cat-name, .met-mes-name, .ques_row > .required_ques:first-of-type, .ques_row > .ques:first-of-type {
    font-weight: 600;
}
.met-mes-name{
  min-width: 150px !important;
}
.ques-in{
    width: 100px !important;
}
.met-value {
    text-align: right;
}

.ques_row > .required_ques:first-of-type:before {
    content: "*"
}

span[id*="errspan_m"] {
    margin-left: 5px;
}

.btnflip {
    margin-bottom: 10px;
}

.dropdown-menu > .user-header p {
    color: #525343 !important;
}
/********************************** Admin Pages Styling **************************************/
.table a {
    cursor: pointer;
}

.hiddenRow > td {
    border: 0;
}

.editbtn {
    padding-right: 8px !important;
}

/*.inline-row {
    display: -webkit-inline-box
}*/

.left-margin {
 margin-left:15px;
}

.addbtn {
    padding:3px 6px !important;
    margin-top:6px;
    float:right;
    margin-right: 15px;
}

.paginate_button:hover {
    background: white !important;
    border: none !important;
}

.spacer {
    margin-top: 15px;
}
.chart-control{
    padding:3px !important;
    background-color: #f5f5f5 !important;
}
.widget-body {
    padding:10px;
    height: -moz-calc(100% - 26px);
    height: -webkit-calc(100% - 26px);
    height: -o-calc(100% - 26px);
    height: calc(100% - 26px);
    padding-bottom: 0;
}

.grid-stack-item-content {
    overflow:hidden !important;
}
/*div[id*="chart-container-"]{
    width:100%;
    height:100%;
}*/

g[class*="-TB_Master2"] {
    margin-top:10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  z-index:100;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

.fc-table{
  font-size: 12px;
}
.company-name-td{
    width:20%;
}

.col-xs-8 > span {
    margin-left: 5px;
}

.dropdown.open:not(.user-menu) > .dropdown-menu {
        width:520px !important;
}

@media(max-width: 767px){
    .dropdown.open:not(.user-menu) > .dropdown-menu {
        width:480px !important;
        /*right:0 !important;*/
        font-size:13px;
    }

    .dropdown.open .dropdown-menu li a{
        color: #777 !important;
    }
    .dropdown.open .dropdown-menu li a:hover {
        background-color: #fff !important;
        color: #333 !important;
    }
}
#comment-feed{
    height: 500px;
    max-height: 500px;
    overflow:auto;
}
#comment-panel{
    min-width: 400px !important;
}
#comment-form{
    max-width: 80% !important;
}
#comm-modal-master{
    width: 75% !important;
    min-height:100% !important;
}
.comm-chart-parent{
    max-height:700px;

}
#comm-chart-zone{
    min-height:100% !important;
}
.rev-input{
    text-align: right;
}
.chart-thumbs{
    display:block; 
    float:left;
    font-size:6px;
}
.thumb-title{
    font-size:12px;
    line-height: 12px !important;

}
.thumb-drop{
    overflow: scroll;
    height: 220px !important;
}
.report-year{
    width:5% !important;
}

/**************** Navbar Styling ******************************/
#save-alert-mod{
    vertical-align: middle;
    top: 35vh;
    left: 6vw;
}
#browser-alert-content{
    vertical-align: middle;
    top: 35vh;
    left: 6vw;
}
.navbar.navbar-static-top {
    background-color: white !important;
}

 .logo {
    background-color: white !important;
}
.logo-mini {
    height:45px;
    margin:auto;
    padding-top:10px;
    padding-left: 10px;
}
 .logo-lg{
    padding-top:10px;
}


 .navbar-static-top h4 {
    color: #525343 !important;
}

 .navbar-static-top a {
    color: #525343 !important;
}

 .dropdown-menu .user-header {
    background-color: white !important;
    color: #525343 !important;
}
 .skin-green-light .main-header .navbar .sidebar-toggle:hover {
    background-color: transparent !important;
}

@media (max-width: 767px) {
    .logo-lg {
        height:49px
    }
     .logo-lg {
        padding-top:5px;
    }
}

.navbar-company
    {
        position: absolute;
        width: 100%;
        text-align: center;
        color: white;
    }
    .sidebar-toggle{
        position: relative;
        z-index:999;
    }
.spacer-right {
  margin-right: 15px;
}

.modal-body label {
  margin-right:5px;
}

.hmh_but.btn {
  border: 1px solid #d2d6de;
}

.hmh_but.btn:active {
  box-shadow:none;
}

.btn.ok_but {
  padding:3px 6px;
}

/* ------------------------------------------- MODALS-------------- */
[id|=period-modal] > .modal-dialog, [id|=pin-modal] > .modal-dialog, [id|=del-modal] > .modal-dialog,
 [id|=survey-modal] > .modal-dialog, .modal.smaller .modal-dialog {
  width:500px;
}

.middled {
  vertical-align: -webkit-baseline-middle;
}

.controls.color {
  text-align: -webkit-center
}

/*------------------------------Survey Downloads ------------------*/
.survey_name {
	font-size: 14px;
}

.tiername {
	vertical-align:middle !important
}

.downloads_table {
	margin-bottom: 37px !important;
}

.downloads_survey_head {
	width: 20%; 
	
}

.download_coll_table th {
	border-top: none !important;
}

.downloads_hover:hover {
background-color:#f9f9f9;
}

.expandable_column {
	width:.1%;  
}

.expandable_button {
	display:inline-block;
	padding: 2px 6px;
	margin-bottom: 0;
	font-size: 10px;
	font-weight:400;
	line-height: 1.42857143;
	text-align:center;
	white-space:nowrap;
	vertical-align:middle;
	touch-action: manipulation;
	cursor:pointer;
	user-select:none;
	background-image:none;
	border-radius:3px;
	box-shadow:none;
	border: 1px solid transparent;	
}

.filter_panel {
	margin:20px 0;
} 

.search_button {
	position:absolute;
}

.align-middle {
	margin-bottom:0;
	margin-top:5px;
	vertical-align:middle;
}

.right-inner-addon i {
    position: absolute;
    right: 35px;
    padding: 10px 12px;
    pointer-events: none;
	z-index:999;
	opacity:.3;
}

.right-inner-addon-manage i {
    position: absolute;
	right:0px;
    padding: 10px 12px;
    pointer-events: none;
	z-index:999;
	opacity:.3;
}



/*--------------- Large Slider --------------*/

.switch_large {
  position: relative;
  display: inline-block;
  width: 43px;
  height: 23px;
  z-index:100;
}

.switch_large input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider_large {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider_large:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider_large {
  background-color: #2196F3;
}

input:focus + .slider_large {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider_large:before {
  -webkit-transform: translateX(19px);
  -ms-transform: translateX(19px);
  transform: translateX(19px);
}

/* Rounded sliders */
.slider_large.round {
  border-radius: 23px;
}

.slider_large.round:before {
  border-radius: 50%;
}

/*---------Formula Builder---------*/

@media (max-width: 1340px) {
	.addUserText {
		display:none;
	}
}

.formula_card {
	height: 85px;
	
}

.formula_hidden_row {
	margin-left: 15px;
}

#view-delete {
	display:none;
}

/*-----------Survey Builder-------------*/

.categoryHead {
	background-color:rgb(225,225,225,.2);
}

/*-------------Loading Image---------------*/
.fade-in {
margin-top:20%;
  animation: fadeIn linear 6s;
  animation-iteration-count:100;
  -webkit-animation: fadeIn linear 6s;
  -webkit-animation-iteration-count:100;
  -moz-animation: fadeIn linear 6s;
  -mos-animation-iteration-count:100;
  -o-animation: fadeIn linear 6s;
  -o-animation-iteration-count:100;
  -ms-animation: fadeIn linear 6s;
  -ms-animation-iteration-count:100;
 
}
@keyframes fadeIn {
  0% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  
  50% {
	  opacity:1;
  }
  75%{
	  opacity:0;
  }
  100% {
	  opacity:1;
  }
  
}

@-webkit-keyframes fadeIn {
   0% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  
  50% {
	  opacity:1;
  }
  75%{
	  opacity:0;
  }
  100% {
	  opacity:1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  
  50% {
	  opacity:1;
  }
  75%{
	  opacity:0;
  }
  100% {
	  opacity:1;
  }
}
@-o-keyframes fadeIn {
   0% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  
  50% {
	  opacity:1;
  }
  75%{
	  opacity:0;
  }
  100% {
	  opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  
  50% {
	  opacity:1;
  }
  75%{
	  opacity:0;
  }
  100% {
	  opacity:1;
  }
}

.dropdown-toggle:hover, .dropdown-toggle:active, .dropdown-toggle:focus, .dropdown-toggle:focus-visible{
    border:1px solid transparent !important;
}

.btn-clear, .input-group-btn {
 background-color:transparent !important;
	max-height:34px;
}

.survey_row .survey_code:not(:last-child):after {
content:', ';
padding-right:5px;
}

.cb_label {
padding-left:15px; 
}
