
.automation_box {float: left;width: 100%;margin: 0;padding: 0 25px;background-color: #fff;border: /* 2px solid #ebebeb */ none;font-family: 'Roboto Condensed', sans-serif; /* min-height:412px; */}

.automation_box ul.automation_tabs, .automation_box ul.automation_tabs li , .automation_box ul.automation_tabs li a {float: left;width: 100%;margin: 0;padding: 0;border: none;font-size:19px;color:#222020;line-height:normal;font-weight:normal;font-family: 'Roboto Condensed', sans-serif;}

.automation_box ul.automation_tabs li a , .automation_box ul.automation_tabs li.active>a, .automation_box ul.automation_tabs li.active>a:focus, .automation_box ul.automation_tabs li.active>a:hover ,.automation_box ul.automation_tabs li:hover a {border:none;background-color:transparent;display: flex;align-items: center;border-bottom: 1px solid #e3e3e3;padding: 20px 0;}

.automation_box ul.automation_tabs li:last-child a ,.automation_box ul.automation_tabs li.active:last-child>a, .automation_box ul.automation_tabs li.active:last-child>a:focus, .automation_box ul.automation_tabs li.active:last-child>a:hover ,.automation_box ul.automation_tabs li:last-child:hover a {border-bottom:none;}

.automation_tabs i.automation_tab_no {min-width: 56px; min-height: 56px; width: 56px;height: 56px;line-height: 54px;border: 2px solid #ebebeb;display: inline-block;text-align: center;border-radius: 100%;font-size: 22px;font-style: normal;font-weight: 600;color: #1e1d1d;margin: 0 15px 0 0;padding: 0;position:relative;overflow: hidden;background-color: rgba(255, 255, 255, .6);}

.automation_tabs li.active i.automation_tab_no::after {content: "";background-color: #1a950a;width: 100%;height: 100%;position: absolute;left: 0;right: 0;top: 0;bottom: 0;color: #fff;line-height:50px;content: "\f00c";font-family:FontAwesome;}

.automation_rules_outer {border: 1px solid rgba(0, 0, 0, 0.1);box-sizing: border-box;float: left;margin: 25px 0;padding: 0;width: 100%;
max-width: calc(100% - 25px);
max-width: -webkit-calc(100% - 25px);
max-width: -moz-calc(100% - 25px);
max-width: -o-calc(100% - 25px);}

.automation_box ul.automation_tabs li a:focus , .automation_box ul.automation_tabs li a:active {box-shadow: none !important;outline: medium none !important;}

.automation_formheading {color: #201e1e;font-size: 24px;margin: 30px 0;padding: 0;float: left;width: 100%;text-align: center;line-height: normal;font-weight: normal;font-family: 'Roboto Condensed', sans-serif;}

.automation_data_form {float: left;width: 100%;margin: 0;padding: 10px 0 25px 0;}

input.automation_input , select.automation_select1 {float: left;width: 100% !important;margin: 0 0 22px 0 !important;font-size: 18px;height: 50px;color: #888787;font-weight: normal;border: 1px solid #d6d6d6;border-radius: 0;padding: 0 10px;background-color:#fff;}

select.automation_select1 {padding-right:25px;position: relative;}

.automation_action_btn {float: left;width: 100%;margin: 0 ;font-size: 18px;height: 52px;color: #fff;font-weight: normal;border-radius: 0;padding: 0 10px;background-color:#5bc0de;line-height:52px;text-align:center;}

.automation_action_btn:hover {background-color:#333;text-decoration:none;color:#fff;}

.automation_tree ul, .automation_tree ul li, .automation_tree ul li a {float: left;width: 100%;margin: 0;padding: 0;text-align: center;list-style: none;text-transform: uppercase;font-size: 14px;color: #262424;line-height: normal;font-weight: normal;position:relative;}

.automation_tree ul li.has_subtree .has_subtree_head {position: relative;padding: 0 0 42px 0;float: none;width: auto;display: inline-block;margin: 0 auto 5px;}

.automation_tree ul li ul.automation_tree_submenu li:first-child::before  , .automation_tree ul li ul.automation_tree_submenu li:last-child::before{content: "";top: -3px;width: 50%;height: 4px;background-color: #fff;position: absolute;left: 0px;right: auto;bottom: auto;}

.automation_tree ul li ul.automation_tree_submenu li:last-child::before {left: auto;right: 0;}

.automation_tree ul li::after , .automation_tree ul li.has_subtree .has_subtree_head::after 
{background-image: url(../images/auto_tree_arrow.png);content: "";width: 10px;height: 37px;position: absolute;left: 50%;top: 100%;margin: 0 0 0 -5px;}

.automation_tree ul li {margin-bottom: 40px;padding: 8px 0;}

.automation_tree ul li.has_subtree {margin-bottom: 0;padding-bottom: 0;}

.automation_tree ul li.has_subtree::after {display:none;opacity:0;visibility:hidden;}

.automation_tree ul li ul.automation_tree_submenu {display: flex;overflow: auto;max-width: 100%;float: left;width: 100%;border-collapse: separate;border-spacing: 3px;overflow: auto;
/* flex-wrap: nowrap; */
/* justify-content: left; */
/* align-items: left; */
/* flex-direction: row; */
justify-content: left;
}

span .action-btn{font-size: 12px; clear: both; display: block; margin-top: 5px;}

.automation_tree ul li ul.automation_tree_submenu li {margin: 0 3px;padding: 45px 5px 15px;padding-right: 10px;font-size: 14px;width: auto;min-width: 130px;word-wrap: break-word;border-top: 2px dashed rgba(0,0,0,.3);float: none;display: inline-block;vertical-align: top;width:48%;max-width: 48%;min-width: 48%;}

.automation_tree ul li.has_subtree .responsive-table {float: left;width: 100%;overflow: auto;margin: 0;padding: 0;}

.automation_tree ul li ul.automation_tree_submenu li::after {top: 0;bottom: auto;}

.automation_tree ul li.has_subtree .has_subtree_head::after {top: auto;bottom: 0;}

/* .automation_tree ul li ul.automation_tree_submenu li:first-child::after {
transform: rotate(20deg);
-webkit-transform: rotate(20deg);
-moz-transform: rotate(20deg);
-o-transform: rotate(20deg);
margin: 0;
}

.automation_tree ul li ul.automation_tree_submenu li:last-child::after  {
transform: rotate(-20deg);
-webkit-transform: rotate(-20deg);
-moz-transform: rotate(-20deg);
-o-transform: rotate(-20deg);
margin: 0;
} */

.automation_radio {float: left;width: 100%;margin: 0 0 10px 0;padding: 0;font-size: 16px;font-weight: normal;color: #888787;}

.automation_radio label {font-weight: normal;margin:0;}

.automation_radio input[type="checkbox"], .automation_radio input[type="radio"] {font-weight: normal;margin: 0 0 0 10px;}

.automation_box.automation_tree , .automation_tree {padding-top:23px;padding-bottom:23px;}

.automation_box ul.automation_tabs li i.fa-plus-circle {color: #5bc0de;font-size: 28px;margin-bottom: 0;margin-left: 0;margin-right: 0;position: absolute;right: 0;top: 34px;z-index: 5;}

#addtrigger .automation_radio label + input[type="radio"] {margin-left: 0;}

#addtrigger .automation_radio label {width: 100%;margin-bottom: 5px;font-weight: 600;font-size: 18px;color: rgb(119, 119, 119);}

.automation_box ul.automation_tabs li.add_more {padding-right: 30px;position: relative;}

.show_tags{font-size:16px;}

.show_tags > label{font-weight:600;}

.automation_box .row {margin-left: -5px;margin-right: -5px;}

.automation_box .automation_box_col{padding-left: 5px;padding-right: 5px;}

.automation_input.tagname{margin-top: 10px;margin-bottom: 8px;}

.table-cover .table , .table-cover .table tr , .table-cover .table td  {background-color: #fff;margin: 0;}

.table-cover h4 {border: 1px solid #ddd;color: #222;font-size: 16px;font-weight: 500;margin: 0;padding: 12px 15px;}
 
.table-cover {background: #ddd none repeat scroll 0 0;border: 0 none;margin: 30px 0;padding: 0;float: left;width: 100%;}

.automation_tree ul li ul.automation_tree_submenu li.tree_action_first:last-child {border-top:none;padding-top:0}

.automation_tree ul li ul.automation_tree_submenu li.tree_action_first:last-child::after {display: none;visibility: hidden;opacity: 0;} 

.automation_rules_first .automation_box {background-color: #f7f7f7;border-right: 0;min-height: inherit; padding: 0 15px; border-bottom:1px solid #e5e5e5;}

.automation_rules_first {float: left;margin: 0;padding: 0;width: 380px; border-right: 1px solid #ebebeb;} 

.automation_rules_second {
  float: left;
  margin: 0;
max-width: calc(100% - 380px);
max-width: -webkit-calc(100% - 380px);
max-width: -moz-calc(100% - 380px);
max-width: -ms-calc(100% - 380px);
max-width: -o-calc(100% - 380px);
  padding: 0 45px;
  width: 600px;
}

.automation_rules_third {float: left;margin: 0;padding: 0;width: 100%;}

/* .automation_rules_third .automation_box {border-top:2px solid #ebebeb;} */

#addtrigger .automation_radio label.abandon_label, #addtrigger .automation_radio label.purchase_label {width: auto;margin-right: 10px;}

.spc_manage_automation .powercart-checkout {border: medium none;}

.spc_manage_automation .manage_automation_table {margin: 0;}

.spc_manage_automation .dataTables_wrapper {padding-bottom: 0;}

.automation_rules_outer .main-heading  , .automation_rules_heading.main-heading{
  border-bottom: 1px solid #ddd;
  color: #58666e;
  float: left;
  font-family: "Open Sans",sans-serif;
  font-size: 24px;
  font-weight: 300;
  margin: 0;
  padding: 24px 15px;
  text-align: left;
  width: 100%;
}

.automation_rules_heading.main-heading {
  border: medium none;
  margin-top: 25px;
  padding: 24px 0 20px;
}

.automation_rules_heading.main-heading .heading-title {
    border-bottom: 3px solid #1a950a;
    display: inline-block;
    margin: 0;
    padding: 0 5px 15px 0;
    width: auto;
}
.automation_rules_third .automation_rules_heading.main-heading {
    font-weight: 600;
    margin: 0;
    padding: 40px 0 20px;
    text-align: center;
	position:relative;
}

.automation_rules_heading.main-heading + .automation_rules_outer {
  margin-top: 0;
}

.automation_rules_outer .main-heading .heading-title {
    color: #444;
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.automation_rules_outer .main-heading i {
  font-size: 24px;
}

.automation_tree ul li ul.automation_tree_submenu li.tree_action a.close {background-color: #333;border-radius: 100%;color: #fff;font-size: 12px;height: 22px;line-height: 22px;position: absolute;right: 0;text-align: center;top: -12px;width: 22px;list-style: outside none none;margin: 0;padding: 0;opacity: 1;}

.automation_tree ul li ul.automation_tree_submenu li a.close-event {background-color: #333;border-radius: 100%;color: #fff;font-size: 12px;height: 22px;line-height: 22px;position: absolute;right: 0;text-align: center;top: -12px;width: 22px;list-style: outside none none;margin: 0;padding: 0;opacity: 1;}

.automation_tree ul li ul.automation_tree_submenu li.tree_action span {display: inline-block;padding-right: 30px;position: relative;}

.automation_tree ul li ul.automation_tree_submenu li.tree_action_first:last-child{padding-top: 15px !important;
}

.automation_tree ul li span.close_event_outer {position: relative;padding-right: 28px;}

.automation_tree ul li ul.automation_tree_submenu li.tree_action_first:last-child a.close {
  /*top: -6px;*/
}
.add_more_link {color: #337ab7;float: right;font-size: 16px;margin: 0;padding: 0;text-decoration: underline;}

.add_more_link_event {color: #337ab7;float: right;font-size: 16px;margin: 0;padding: 0;text-decoration: underline;}
/* .sweet-alert .sa-confirm-button-container, .sweet-alert button.cancel {display: inline-block!important;margin: 0 10px!important;}

.sa-button-container {display: flex!important;justify-content: center!important;flex-flow: row-reverse!important;} */

.sa-button-container {display: -webkit-flex;display: flex;-webkit-justify-content: center;justify-content: center;}

.sa-button-container .cancel { -webkit-order: 2; order: 2;}

.sa-button-container .sa-confirm-button-container {  -webkit-order: 1;order: 1;}

.sa-confirm-button-container.confirm{margin-right:4px;}

.automation_tree ul li.has_subtree .has_subtree_head.hide-arrow {padding-bottom:0;}

.automation_tree ul li.has_subtree .has_subtree_head.hide-arrow::after {display:none;opacity:0;visibility:hidden;}

/* added css Gurinder */


.automation_rules_first {
    float: left;
    margin: 0;
    /* max-width: 480px; */
    padding: 0;
    width: 100%;
	border-right:0;
}
.automation_box ul.automation_tabs li a, .automation_box ul.automation_tabs li.active > a, .automation_box ul.automation_tabs li.active > a:focus, .automation_box ul.automation_tabs li.active > a:hover, .automation_box ul.automation_tabs li:hover a {
    display: block;
}
.automation_box ul.automation_tabs li {
    display: inline-block;
    float: left;
    vertical-align: top;
	position:relative;
    width: 25%;
}
.nav.nav-tabs.automation_tabs li span {
    display: block;
    font-size: 17px;
}
.nav.nav-tabs.automation_tabs li a {
    border: 0 none !important;
    text-align: center;
}
.automation_tabs i.automation_tab_no {
    margin: 0 !important;
}
.automation_box ul.automation_tabs li::after {
    border-right: 1px solid #e5e5e5;
    content: "";
    height: 50px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-51%);
}
.automation_box ul.automation_tabs li:last-child::after {
    border-right: 0;
}
.automation_box ul.automation_tabs li.add_more {
    padding-right: 0;
    position: relative;
}
.automation_box.tab-content {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
    border-bottom: 0 none;
    margin: 0 auto;
    padding: 20px 40px;
    width: 100% !important;
}
.automation_rules_outer {
    width: 100%;
	display:block;
	align-items:top;
}
.automation_rules_second {
    float: left;
    margin: 0;
    /* max-width: calc(100% - 380px); */
    padding: 0 25px;
    width: 100%;
    max-width:100%;
}
.automation_rules_second > .automation_rules_outer {
    border:0;
    margin: 0;
}
.automation_rules_second {
    border-left:1px solid #e5e5e5;
    margin: 0;
    /* max-height: 700px;
    min-height: 570px; */
}
.automation_rules_third .automation_rules_heading.main-heading::before {
    border-bottom: 1px solid #e5e5e5;
    bottom: 20px;
    content: "";
    left: 50px;
    position: absolute;
    right: 50px;
    z-index: -1;
}


.automation_tree ul li ul.automation_tree_submenu.events_tree_submenu {padding-bottom: 41px;margin-bottom:5px;position: relative;}

.automation_tree ul li ul.automation_tree_submenu li.tree_action span.events_tree_head::before {bottom: 0;top: auto;}

.automation_tree ul.events_next_steps {
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;
}

.automation_tree ul.events_next_steps .events_steps_head {
  border: medium none;
  display: inline-block;
  max-width: 100%;
  min-width: 100%;
}


.automation_tree ul li ul.automation_tree_submenu li.tree_action span.events_tree_head  , 
.automation_tree ul li ul.automation_tree_submenu li.events_steps_head span.has_subtree_head{padding-right:0;}

.automation_tree ul.events_next_steps .events_steps_head::after {opacity:1;visibility:visible;display:block;}

.events_tree_head,#tree_trigger{text-decoration:none;cursor:pointer;}

.responsive-table{text-decoration:none;cursor:pointer;}

.events_tree_head:hover {text-decoration:underline;}
#tree_trigger:hover {text-decoration:underline;}

.responsive-table:hover {text-decoration:underline;}

#tree_auto{text-decoration:none;cursor:pointer;}
#tree_auto:hover {text-decoration:underline;}


/* 21 nov  */


.automation_tree ul li span.events_tree_head, 
.automation_tree ul li span.event_action_btn, 
.automation_tree ul li ul.automation_tree_submenu li.tree_action span{box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset, 0 4px 4px 0 rgba(0, 0, 0, 0.13);background-color: rgb(15, 133, 251);position: relative;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;list-style-type: none;color: #fff;font-weight: 600;cursor: pointer;line-height: normal;text-align: left;padding: 13px;display: inline-block;font-size: 14px;align-items: start;text-decoration: none !important;width: auto;margin: 0 auto;text-transform:none;}

.automation_tree ul li span.event_action_btn.actions-btn{display:flex; align-items:center; justify-content:center; padding: 13px 13px 10px 13px;}


.automation_tree ul li span.events_tree_head:hover, 
.automation_tree ul li span.event_action_btn:hover, 
.automation_tree ul li ul.automation_tree_submenu li.tree_action span:hover 
{text-decoration: none !important;color:#fff;opacity:0.8;}

.automation_tree ul li span.events_tree_head i, 
.automation_tree ul li span.event_action_btn i, 
.automation_tree ul li ul.automation_tree_submenu li.tree_action span i {font-size: 16px;color: #fff;margin: 0 10px 0 0;float: left;}

.automation_tree ul li .add_more_action_btn, .automation_tree ul li .more-events {position: relative;
    display: inline-block;
    width: 31px;
    height: 31px;
    line-height: 28px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    font-size: 25px;
    color: #fff;
    text-align: center;
    background: #2DBF64;
    border: 2px solid #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.13);
    cursor: pointer;
    margin: 5px auto;
    font-family: arial;
    font-weight: bold;}

.automation_tree ul li.has_subtree .responsive-table .automation_tree_submenu {display:table;}

.automation_tree ul li.has_subtree .responsive-table .automation_tree_submenu li{display:table-cell;}

.automation_tree ul li.has_subtree .responsive-table .automation_tree_submenu li span {/*display:flex;*/ align-items:start;}

.automation_tree ul li span.events_tree_head {margin-bottom: 8px;}

.automation_rules_second > .automation_rules_outer, .automation_rules_second > .automation_rules_outer .automation_box {background-color: #f7f7f7;box-shadow: 0 0 6px 4px #eeeeeeb8;}

.automation_rules_second > .automation_rules_outer {margin-bottom:30px;}

.automation_rules_second > .automation_rules_outer .automation_tree ul li ul.automation_tree_submenu li:first-child::before, 
.automation_rules_second > .automation_rules_outer .automation_tree ul li ul.automation_tree_submenu li:last-child::before 
{background-color: #f7f7f7;}

#tree_auto h2.automation_formheading {padding: 0;margin: 0;font-weight: normal;}

.automation_tree ul li ul.automation_tree_submenu li.tree_action a.close , 
.automation_tree ul li ul.automation_tree_submenu li .close_event_outer a.close-event
{opacity: 0;visibility:hidden;display:none;}

.automation_tree ul li ul.automation_tree_submenu li .close_event_outer:hover a.close-event ,
.automation_tree ul li ul.automation_tree_submenu li.tree_action span:hover a.close
{visibility:visible;display:block;opacity:1;}

.automation_tree ul li ul.automation_tree_submenu.events_tree_submenu.first_event ,  ul.first_event {justify-content: center;}


.modal-body .automation_formheading{
margin:0}

.modal-footer{border-top:none;}
/*
.automation_rules_first .automation_box{
display:none;}  
*/
div#createautomation .automation_formheading, div#createautomation .automation_data_form, div#createautomation input.automation_input, 
div#createautomation .automation_action_btn{
    display: inline-block;
    float: none;
    width: auto;
    margin: 0;
    vertical-align:top;
}

div#createautomation .automation_formheading{
    line-height: 50px;
    margin-right: 20px;
}

div#createautomation .automation_data_form{
	padding:0;
}

div#createautomation .automation_action_btn{
	height:50px;
	line-height:50px;
	padding:0 30px;
}
 button.close_modal {
    color: #fff;
    text-shadow: none;
    opacity: 1;
    top: 5px;
    background: #333;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    line-height: .8;
    position: absolute;
    right: -12px;
    top: -14px;
    font-size: 17px;
    cursor: pointer;
    z-index: 99;
    border:none;
}
 button.close_modal:hover {
   color: #fff;
    opacity: 1;
    background: #333;
 }
 .modal .modal-dialog {
    justify-content: center;
}
.automation_box .modal-body {
    position: relative;
    padding: 20px;
    float: left;
    width: 100%;
}
.automation_box .automation_data_form {
    padding: 10px 0 0 0;
}
.modal-footer button{
	display:none;
}
.table-bordered > thead > tr > td, .table-bordered > thead > tr > th{
	background-color:#f3f3f3 !important;
}

.table-bordered > tbody > tr > td:last-child a:last-child {
    margin-left: 7px;
}
.add_to_value.spcconnect{display:inline-block;width:100%;height:50px;margin-bottom:3%;border:1px solid #d6d6d6;color:#888787;
    font-size: 18px;}
.testzap {float: left;font-size: 16px;margin-bottom: 2%;padding: 0px 20px 0px 20px;height: 52px;display: inline;width:auto}
.message{width:90%;float:left;color:red;}
.send_password > label {font-weight: 600;}
