body, html {
  height: 100%;
  background-color: #f3f3f3;
}

h1, h2, h3, button, label{
  font-family: 'Montserrat';
}

p {
  line-height: 2;
}

* {
  font-family: 'Source Sans Pro', sans-serif;
}

button {
  letter-spacing: 1px;
}

.hidden {
  display: none;
}

.header button {
  border: none;
  background: #3e3e3e;
  padding: 7px 15px;
  border-radius: 60px;
  font-size: 11px;
  line-height: 2.5;
  text-transform: uppercase;
  color: #fff;
  font-family: 'Montserrat';
  -webkit-transition: background .1s ease-in-out;
  -moz-transition: background .1s ease-in-out;
  -o-transition: background .1s ease-in-out;
  transition: background .1s ease-in-out;
  outline: none;
}

button.rem, button.comb{
  background: #f2f2f2;
  color: #3e3e3e;
  font-size: 20px;
  line-height: 1;
  height: 41.5px;
  width: 41.5px;
  margin-right: 10px;
}

.small_btn{
  display: none;
}

.rem, .add, .comb {
  vertical-align: middle;
  padding: 0 15px !important;
}

.rem, .add, .comb {
  font-family: 'Source Sans Pro', sans-serif !important;
}

.rem > span, .add > span, .help > span {
  line-height: 41.5px;
}

button.rem_segment, button.comb_segment {
  background: #f2f2f2;
  color: #3e3e3e;
  margin-right: 10px;
}

.comb {
  padding: 0px !important;
}

.comb > img {
  width: 14px;
  padding-bottom: 2px;
}

button.comb_segment:hover, .comb:hover, button.rem_segment:hover, .rem:hover {
  background: #ddd;
}

button.add_segment:hover, .add:hover {
  background-color: #222;
}

.m_wrapper {
  padding: 0 30px 0;
  margin: auto;
  max-width: 850px;
}

section {
  background: #fff;
  border-top: none;
  padding: 20px 20px 10px 20px;
  margin: 10px auto;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}

section:first-child {
  padding-top: 30px;
}

.sections > section:last-child{
  margin-bottom: 30px;
}

.sect_wrapper > h1, .sect_wrapper > p {
  display: inline;
  margin: 0;
}

.sect_wrapper > h1 {
  float: left;
  line-height: 45px;
  font-size: 21px;
  word-spacing: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sect_wrapper > p {
  float: right;
  line-height: 45px;
}

.sect_wrapper > p {
  margin: 0;
}

.sect_wrapper > p > button > span {
  font-size: 12px;
}

.help, .rem_segment {
  vertical-align: middle;
}

.header {
  float: none;
  overflow: auto;
  margin: auto;
  max-width: 850px;
  padding: 0 30px;
}

.add_section {
  margin: 30px auto;
  z-index: 9;
  height: 100px;
  max-width: 790px;
  box-shadow: 0 4px 29px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
  border-top: 4px solid rgb(204, 204, 204);
}

section.segment_sect {
  min-height: 150px;
  overflow-y: auto;
}

.empty_sect {
  padding-top: 40px;
  padding-bottom: 40px;
}

.es_wrapper {
  text-align: center;
  padding: 25px;
}

.es_wrapper > p {
  color: #999 ;
  word-spacing: 1px;
  font-size: 16px;
  /*letter-spacing: 1px;*/
}

.seg_img {
  width: 130px;
  opacity: .15;
  margin: auto;
}

.es_wrapper > h5 {
  color: #3e3e3e;
  font-size: 21px;
  font-family: 'Montserrat';
  margin-top: 15px;
  word-spacing: 1px;
  letter-spacing: 1px;
}

.rem > span {
  font-size: 14px;
  left: -2px;
}

@media screen and (max-width: 720px) {

  .small_btn {
    display: inline;
  }

  .large_btn {
    display: none;
  }

  p {
    line-height: 1.5px;
  }
}

@media screen and (max-width: 440px) {

  .sect_wrapper > h1 {
    font-size: 18px;
    line-height: 41px;
  }

  .add_section {
    height: 90px;
    box-shadow: 0 4px 29px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
    margin: 25px auto;
  }

  button.rem, button.add, button.comb {
    height: 34.5px;
    width: 34.5px;
  }

  button.comb > img {
    width: 12px;
  }

  .rem > span, .add > span {
    line-height: 34.5px;
    font-size: 11px;
    left: -3px;
  }

  .add > span{
    font-size: 10px;
  }

  section {
    padding: 25px 15px;
  }

  .sect_wrapper > h1, .small_btn {
    vertical-align: middle;
  }

  .m_wrapper, .header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .m_wrapper {
    padding: 0 10px 0;
  }

  .es_wrapper {
    padding: 0;
  }

  .es_wrapper > h5 {
    font-size: 18px;
  }

  .main_wrapper {
    padding: 10px !important;
  }

  .selectionConditions {
    transform: scale(.9);
  }

  .es_wrapper > p, .seg_wrapper > p {
    font-size: 15px !important;
  }

}

@media screen and (max-width: 290px) {

  .sect_wrapper > h1 {
    font-size: 17px;
    line-height: 42px;
  }

  .es_wrapper > h5 {
    font-size: 17px;
  }

}

.segment_sect {
  -webkit-transition: box-shadow .2s ease-in-out, margin .2s ease-in-out;
  -moz-transition: box-shadow .2s ease-in-out, margin .2s ease-in-out;
  -o-transition: box-shadow .2s ease-in-out, margin .2s ease-in-out;
  transition: box-shadow .2s ease-in-out, margin .2s ease-in-out;
  position: relative;
}

.seg_selected {
  margin: 20px auto;
  box-shadow: 0 4px 29px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
}

.control_btn_select, .control_btn_edit {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: inline;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  position: absolute;
  outline: none;
  cursor: pointer;
}

.control_btn_edit {
  top: 10px;
  right : 10px;
  font-size: 13px;
  border: none;
  background: none;
  color: #3e3e3e;
}

.control_btn_edit::before {
  postion: absolute;
  content: "";
  line-height: 18px;
  right: 6px;
  margin: 0;
  font-family: "Glyphicons Halflings";
  content: "\e019";
  font-weight: 100;
}

.control_btn_select {
  top: 10px;
  padding: 0;
  left: 10px;
  background: none;
  border: none;
  border-radius: 0px;
}

.selected_seg::before, .control_btn_select::before {
  postion: absolute;
  content: "";
  line-height: 18px;
  right: 6px;
  margin: 0;
  font-family: "Glyphicons Halflings";
  content: "\e013";
  color: #ddd;
  font-weight: 100;
  font-size: 13px;
}

.selected_seg::before {
  color: #3e3e3e;
}

.selected_seg::before:hover {
  cursor: pointer;
}

.selected_seg.control_btn_select {
  border-color: #3e3e3e;
}

#seg_name {
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgb(238, 238, 238);
  line-height: 2;
  overflow: hidden;
  padding: 0;
  word-wrap: break-word;
}

#fp {
  color: #3e3e3e;
}

#fp_value, #loc_value, #dt_value, #do_value, #db_value, #vt_value, #vd_value {
  color: #999;
}

#fp, #loc, #dt, #do, #db, #vt, #vd {
  font-size: 13px;
}

#file_path, #location, #device_typ, #device_os, #device_brow, #visitor_type, #visit_day{
  font-size: 16px;
  /*letter-spacing: 1px;*/
  word-spacing: 3px;
  padding: 0 10px 0 0;
  word-wrap: break-word;
  overflow: hidden;
}

.seg_wrapper > h2 {
  padding: 0;
  margin: 10px 0;
}

.seg_wrapper > p {
  font-size: 16px;
  letter-spacing: 1px;
  word-spacing: 3px;
  padding: 0 10px 0 0;
  word-wrap: break-word;
  overflow: hidden;
}

p.conditionsHolder > span {
  font-weight: 700;
  color: #999;
}

.emptyCondDisplay {
  color: #999;
}

/************************************error message styling ***********************************/

#msg_wrapper {
  z-index:150;
  position: fixed;
  max-width: 370px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 20px;
}

#showMsg {
  background: #f3f3f3;
  box-shadow: 0 4px 29px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
}

#ok_btn {
  background: #fff;
  border: none;
  padding: 15px 40px;
  color: #3e3e3e;
  margin: auto;
  display: block;
  -webkit-transition: background .1s ease-in-out;
  -moz-transition: background .1s ease-in-out;
  -o-transition: background .1s ease-in-out;
  transition: background .1s ease-in-out;
  margin-bottom: 35px;
  outline: none;
  font-size: 12px;
}

#ok_btn:hover {
  background: rgba(255, 255, 255, 0.7);
}

#error_msg {
  text-align: center;
  margin: 20px auto;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Source Sans Pro';
  letter-spacing: 1px;
  word-spacing: 1px;
  color: #797979;
  letter-spacing: 0;
  text-transform: inherit;
}

#error_msg_sub {
  text-align: center;
  margin-top: 35px;
  font-size: 15px;
  line-height: 1;
}

/*********************************** Modal Styling ***************************************/

#hider {
  position:fixed;;
  top: 0%;
  left: 0%;
  width:100%;
  height:100%;
  z-index: 99;
  background: #000;
  background: -webkit-gradient(radial,50% 25%,0,50% 25%,800,from(rgba(0,0,0,.5)),to(#000)) transparent;
  background: -moz-radial-gradient(center 45deg,circle cover,rgba(0,0,0,.5) 0%,#000 100%) transparent;
  opacity:0.6;
}

#popup  {
  z-index:100;
  position: fixed;
}

body.modal-open {
  overflow: hidden;
}

h2, h3, button, label{
  font-family: 'Montserrat';
}

p {
  line-height: 2;
}

* {
  font-family: 'Source Sans Pro', sans-serif;
  font
}

.main_wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 30px;
  max-width: 700px;
}

.popup {
  position: relative;
  padding: 0;
  background-color: #f2f2f2;
  box-shadow: 0 4px 29px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
}

.wrapper > div > div {
  overflow: auto;
}

.wrapper > div {
  overflow: auto;
  overflow-x: hidden;
}

.top_content {
  padding: 0 25px;
  border-bottom: 1px solid #ddd;
}

.top_content > h2 {
  margin: 0;
  line-height: 3.5;
  display: inline;
}

.top_content > p {
  display: inline;
  float: right;
  color: #797979;
  margin: 0;
  line-height: 52px;
}

.main_content {
  height: 70vh;
  margin: 0;
  overflow-y: scroll;
  position: relative;
}

h2 {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 10px auto 0;
  line-height: 2;
}

h3 {
  font-size: 13px;
  font-weight: 500;
}

input.seg_name, input.file_path, select {
  border: none;
  background: white;
  padding: 12px;
  width: 100%;
  outline: none !important;
}


select:hover {
  background: rgba(204, 204, 204, 0.92);
}

select, label, .active_rad:hover, .radBtn:hover, select > option {
  cursor: pointer
}

select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearence: none;
  -webkit-transition: background .1s ease-in-out;
  -moz-transition: background .1s ease-in-out;
  -o-transition: background .1s ease-in-out;
  transition: background .1s ease-in-out;
  -webkit-outline: none !important;
  -moz-outline: none !important;
}

select::-ms-expand {
  display: none;
}

::-webkit-input-placeholder {
  color: #797979;
}

:-moz-placeholder {
  color: #797979;
}

::-moz-placeholder {
  color: #797979;
}

:-ms-input-placeholder {
  color: #797979;
}

select {
  background: #e4e4e4;
  color: #3e3e3e;
}

@-moz-document url-prefix() { ::-moz-focus-inner {border: none} select:-moz-focusring { color: transparent; text-shadow: 0px 0px 0px #3e3e3e; } }

.selected_opt_area {
  width: 100%;
  padding-bottom: 0;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

button.selected_opt {
  border: none;
  background: #3e3e3e;
  padding: 10px 15px;
  border-radius: 60px;
  font-size: 11px;
  text-transform: uppercase;
  color: #fff;
  font-family: 'Montserrat';
  margin: 15px 10px 0px 0;
  -webkit-transition: background .1s ease-in-out;
  -moz-transition: background .1s ease-in-out;
  -o-transition: background .1s ease-in-out;
  transition: background .1s ease-in-out;
}

button.selected_opt > span {
  font-size: 10px;
  margin-left: 4px;
}

button.selected_opt:active {
  outline: none;
  border: none;
}

button.selected_opt:hover {
  background: #222;
}

.dropdown::before{
  position: absolute;
  top: 17px;
  right: 12px;
  font-size: 9px;
  color: #3e3e3e;
  font-family: "Glyphicons Halflings";
  content: "\e114";
}

label {
  font-weight: 500;
}

.radio {
  display: inline;
  vertical-align: sub;
}

.rad_info {
  display: block;
}

.radBtn {
  padding-left: 35px;
  position: relative;
  margin-bottom: 10px;
}

.radBtn:hover::before {
  border-color: #bbb;
}

.radBtn::before {
  position: absolute;
  content:"";
  height: 21px;
  width: 21px;
  left: 0;
  top: 2px;
  border: solid 2px #ddd;
  border-radius: 50%;
  -webkit-transition: background .2s ease-in, border .2s ease-in-out;
  -moz-transition: background .2s ease-in, border .2s ease-in-out;
  -o-transition: background .2s ease-in, border .2s ease-in-out;
  transition: background .2s ease-in, border .2s ease-in-out;
}

.active_rad::before{
  position: absolute;
  content:"";
  height: 21px;
  width: 21px;
  left: 0;
  top: 2px;
  border: none;
  background: #3E3E3E;
  font-family: "Glyphicons Halflings";
  content: "\e013";
  color: #fff;
  font-weight: 100;
  padding: 2px 0 0 4px;
  font-size: 11px;
}

.active_rad:hover::before {
  background-color: #111;
}

.rad_info {
  color: #797979;
}

.visitor_info {
  margin-bottom: 20px !important;
}

.fbuttons {
  width: 100%;
  line-height: 4;
  border-top: solid 1px #ddd;
}

button.col-xs-6 {
  letter-spacing: 1px;
  word-spacing: 2px;
  background: none;
  border: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  line-height: 4;
  border-left: solid 1px #ddd;
  -webkit-transition: background .1s ease-in-out;
  -moz-transition: background .1s ease-in-out;
  -o-transition: background .1s ease-in-out;
  transition: background .1s ease-in-out;
}

button.col-xs-6:active, button.col-xs-6:focus {
  outline: none;
}

select > option {
  font-size: 13px;
  font-weight: 500;
  line-height: 2
  padding: 12px !important;
}

button.col-xs-6:hover {
  background-color: #fff;
}

button.col-xs-6:first-child {
  border-left: none;
}

h3.visitor {
  margin-bottom: 15px;
}

.selectionTypes {
  padding-left: 0;
}

.selectionTypes::before {
  right: 27px;
}

.selections {
  padding: 0;
}

.selectionConditions {
  text-align: right;
  margin-top: 2px;
}

.selectionHeading, .selectionConditions {
  padding: 0;
}

.andCondition, .orCondition, .removeCondition {
  font-size: 12px;
  font-weight: 500;
  border: none;
  width: 40px;
  line-height: 40px;
  height: 40px;
  display: inline-block;
  -webkit-transition: background .1s ease-in-out;
  -moz-transition: background .1s ease-in-out;
  -o-transition: background .1s ease-in-out;
  transition: background .1s ease-in-out;
}

.andCondition:focus, .orCondition:focus {
  padding: 1px 6px;
}

.orCondition, .andCondition, .removeCondition {
  background: #e4e4e4;
  color: #3e3e3e;
  border-radius: 0 20px 20px 0;
  outline: none;
  border: none;
  font-size: 11px;
  vertical-align: middle;
}

.andCondition {
  border-radius: 0;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.removeCondition {
  border-radius: 20px 0px 0px 20px;
}

.removeCondition > span {
  transform: scaleX(1.1);
  font-size: 9px;
}

}

.actCondition {
  background: #d0d0d0;
  color: #3e3e3e;
}

@media (max-width: 540px) {
  .selectionTypes {
    padding: 0;
    width: 100%;
    margin-bottom: 10px;
  }

  .selectionTypes::before {
    right: 12px;
  }

  .selections {
    width: 100%;
  }
}

.conditionDisplay {
  padding: 0;
}

.conditionSelected{
  position: relative;
  color: #797979;
  font-family: 'Source Sans Pro';
  letter-spacing: 1px;
}

h3.conditionSelected.andselection:after {
  content:"";
  position: absolute;
  bottom: 0;
  left: 30px;
  right: 0;
  height: 8px;
  border-top: 1px solid rgba(121, 121, 121, 0.57);
}

h3.orselection::after {
  border: none;
}

.top_content_heading {
  float: left;
}

.top_content > h2 {
  padding: 0;
}

.tabBtns {
  float: right;
  margin: 0 !important;
}

.tabBtns > h2 {
  display: inline;
  line-height: 3.5;
  text-transform: inherit;
  color: #3e3e3e;
  margin-left: 20px;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

.deactiveTab {
  color: #c3c3c3 !important;
}

.tab {
  position: absolute;
  padding: 0 10px;
}

.tab > div {
  overflow: auto;
  margin-bottom: 30px;
}

.advancedTab > div {
  margin-bottom: 50px;
}

.basicTab {
  left: 0;
  width: 100%;
}

.advancedTab {
  width: 100%;
  height: 100%;
}

.advancedTab .firstHeading {
  margin-bottom: 20px;
}

.scWrapper{
  padding-left: 0;
  position: relative;
}

.scWrapper::before{
  position: absolute;
  top: 17px;
  right: 27px;
  font-size: 9px;
  color: #3e3e3e;
  font-family: "Glyphicons Halflings";
  content: "\e114";
}

.removeCondition:hover {
  color: #fff;
  background: #f0523d;
}

.selectionConditions > button {
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

.actCondition, .actCondition:hover {
  background: #d0d0d0;
  border-color: #d0d0d0;
  color: #3e3e3e;
  cursor: inherit;
}

.conditionsWrapper {
  width: 100%;
}

.condtionModule {
  margin-bottom: 20px;
}

.conditionDisplay {
  margin: 10px 0;
}

.firstHeading {
  margin-top: 15px;
}

.conditionModule:first-child > .conditionDisplay {
  display: none;
}

.orselection {
  margin: 0;
}

.conditionsInfo {
  color: #797979;
  margin: 0;
}


@media screen and (max-width: 350px) {
  .scWrapper {
    width: 48%;
  }
  .selectionConditions {
    width: 52%;
  }
}

.selectedChoices {
  padding: 0;
  background: #3e3e3e;
  border-radius: 2px;
  min-height: 0;
}

.selectedChoices > p {
  min-height: 0;
  color: #fff;
  margin: 10px auto;
  font-style: italic;
}

.removeCondition, .andCondition, .orCondition, .actCondition {
  vertical-align: middle;
}
