body{
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}


.sm_cabinet{
width:100%;
}

.sm_tab
{
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}
.sm_active{
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
}
.sm_tab:hover {
  color: #888;
  cursor: pointer;
}
.sm{
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}
.sm_page table{
      border-collapse: separate;
      border-spacing: 20px;
      
} 
.sm_page table .page_num{
    padding: 10px;
    border: 1px solid #ccc;
}

.sm_page table .page_num_active{
    background-color: rgb(242, 148, 36);
}

.sm_page table table{
     border-spacing: 5px;
}

.sm_page table table td{
     cursor: pointer;
}
.sm_page table .sortable{
    cursor: pointer;
    text-decoration: underline;
}

.sm_page table .time_cell{
    width: 135px
}

#select_email{
    padding: 3px;
    margin-bottom: 3px;
    color:inherit;
    width: 200px;
    float: left;
    margin-right: 20px;
}


#to, #from, #status, #salesperson_status{
    padding: 3px;
    margin-bottom: 3px;
    color:inherit;
    width: 60px;
    font-size: smaller;
    min-width: 70px;
}

#from{
    float: left;
    margin-right: 7px;
}

#to{
    float: right;
    margin-left: 5px;
}

#status, #salesperson_status{
width: 80px
}

.in_table_button{
    background-color: #15b765 !important;
    color: white;
    text-align:center;
    cursor:pointer;
}

.modal_payout_sum{
    position: absolute;
    right:0px;
    width:90%;
    top:0px;
        margin-left: 15px;
    margin-right: 15px;
}

.primary{
    display: none;
}

.tooltip {
	display:none;
	position:absolute;
        max-width: 100px;
	border:1px solid #333;
	border-radius:5px;
	padding:10px;
	font-size:12px Arial;
        opacity: 1;
}


.m-signature-pad {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: 600px;
  max-height: 400px;
  min-width: 250px;
  min-height: 140px;
  margin: 5%;
  position: fixed;
  font-size: 10px;
  width: auto;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
}


#modal1 {
  position: fixed;
  font-size: 20px;
  width: 600px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin-left: -350px;
  margin-top: -200px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
}

.modal1_body{
    margin: 10px
}

#close_modal_1{
    position: absolute;
    bottom: 20px;
    left: 245px;
}

/*.m-signature-pad:before, .m-signature-pad:after {
	position: fixed;
  z-index: -1;
  content: "";
	width: 40%;
	height: 10px;
	left: 20px;
	bottom: 10px;
	background: transparent;
	-webkit-transform: skew(-3deg) rotate(-3deg);
	-moz-transform: skew(-3deg) rotate(-3deg);
	-ms-transform: skew(-3deg) rotate(-3deg);
	-o-transform: skew(-3deg) rotate(-3deg);
	transform: skew(-3deg) rotate(-3deg);
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.m-signature-pad:after {
	left: auto;
	right: 20px;
	-webkit-transform: skew(3deg) rotate(3deg);
	-moz-transform: skew(3deg) rotate(3deg);
	-ms-transform: skew(3deg) rotate(3deg);
	-o-transform: skew(3deg) rotate(3deg);
	transform: skew(3deg) rotate(3deg);
}
*/
.m-signature-pad--body {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  bottom: 60px;
  border: 1px solid #f4f4f4;
}

.m-signature-pad--body
  canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 400px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
  }

.m-signature-pad--footer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  height: 40px;
}

.m-signature-pad--footer
  .description {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 1.8em;
  }

.m-signature-pad--footer
  .button {
    position: absolute;
    bottom: 0;
  }

.m-signature-pad--footer
  .button.button-clear {
    left: 0;
  }

  .m-signature-pad--footer
  .button.button-clear {
    left: 110px;
  }
  
.m-signature-pad--footer
  .button.button-save {
    right: 0;
  }

  .formular-wrapper p{
      text-align: left;
      margin: -5px 3px -5px 3px !important;
  }
  
  .formular-wrapper .height-1px{
      max-height: 1px;
  }
  
  .formular-wrapper .required_error{
    border-color: red !important;
  }
  
  .width-100-pc{
    width: 50% !important;
  }
  
  .input-modal{
      position: fixed;
      top:25%;
      left:20%;
      width: 250px;
      height: 200px;
      border-width: 1px;
      border-radius: 4px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
      background-color: #ffffff;
  }
  
  .input-modal-body{
      padding: 5px;
  }
  
  .input-modal input[type="text"]{
      margin-bottom: 0px;
  }
  
  .button-input-save{
      position: absolute;
      right:5px;
      bottom:5px;
  }
  
  .button-input-cancel{
      position: absolute;
      left:5px;
      bottom:5px;
  }
  
  p.auftrags-subheader{
    text-align: center;
    font-size: 10px !important;
  }
  
  #spinner{
      position: fixed;
      top: 25%;
      left:50%;
      margin: -60px;
      display: none;
  }
  
  .button-green{
    background-color: #15b765 !important;
    cursor: pointer !important;
    margin: 0 !important;
    width: 125px !important;
    height: 28px !important;
    font-size: 16px !important;
    border: 1px solid #f29424 !important;
    -webkit-border-radius: 6px !important;
    -moz-border-radius: 6px !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 0 !important;
}
  
.div-absolute {
    position: fixed;
    bottom: 100px;
    right: 20px;
}

.div-send-formular {
    margin-left: calc(50% - 100px);
}

button#send_signed {
    width: 200px !important;
}


@media screen and (max-width: 1024px) {
  .m-signature-pad {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: 600px;
    max-height: 400px;
    min-width: 250px;
    min-height: 140px;
    margin: 5%;
  }
  
  
  #modal1 {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    min-width: 250px;
    min-height: 140px;
    margin: 5%;
  }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .m-signature-pad {
    margin: 10%;
  }
}

@media screen and (max-height: 320px) {
  .m-signature-pad--body {
    left: 0;
    right: 0;
    top: 0;
    bottom: 32px;
  }
  .m-signature-pad--footer {
    left: 20px;
    right: 20px;
    bottom: 4px;
    height: 28px;
  }
  .m-signature-pad--footer
    .description {
      font-size: 1em;
      margin-top: 1em;
    }
}

.sign-image {
    margin-left: 200px;
    margin-top: -25px;
}

.sign-image img {
    max-height: 30px;
}

.vc_row.wpb_row.vc_row-fluid.info-hidden{
    display: none;
}

@media (max-width: 940px) {
  .sm_tab{
    display: block;
  }
  .sm_tab.sm_inactive{
    display: none;
  }
  .sm_page{
      overflow: scroll;
  }
  .auftrags-responsive{
    float: none !important;
    width: 95% !important;
    padding: 0px !important;
  }
  .auftrags-header{
    width: 600px !important;
  }
  .formular-wrapper{
      width: 600px !important;
  }
  .auftrags-field{
      padding-left: 0px !important;
  }
  .left-field{
      width:30% !important;
  }
  .right-field{
      width:60% !important;
      float:right !important;
  }
  .width-100-pc{
    float: none !important;
    width: 100% !important;
    padding: 0px !important;
  }
}

#sums input[type="text"] {
    padding: 1px;
    maxLenght: 120;
    size: 120;
    color: #f29424;
}

.noTitleStuff .ui-dialog-titlebar {
    display:none
}

.noTitleStuff .ui-dialog-content a{
    font-size: smaller;
    color: rgb(242, 148, 36);
} 

.noTitleStuff .ui-dialog-content a:hover{
    color:rgb(137, 198, 3);
} 

.sm-expand{
    font-size: x-large;
    color: #f29521;
}

.sm-collapse{
    font-size: x-large;
    color: #f29521;
    display: none;
}

.sm-additional-info{
 display:none;   
}

td.sm-action-icons {
    font-size: x-large;
}

td.sm-action-icons i {
    cursor: pointer;
    margin: 7px;
}

.sign_icon{
    width: 30px;
    padding-left: 6px;
    padding-top: 2px;
    cursor: pointer;
}

@media (max-width: 767px) {

  .auftrags-header{
    width: 400px !important;
  }
  .formular-wrapper{
      width: 400px !important;
  }
  .check-image-wrapper{
      width:20% !important;
  }
  .check-text-wrapper{
      width:80% !important;
  }

}
@media (max-width: 480px) {

  .auftrags-header{
    width: 280px !important;
  }
  .formular-wrapper{
      width: 280px !important;
  }

}

.checkout-wrap {
  color: #444;
  font-family: 'PT Sans Caption', sans-serif;
  margin: 0px auto;
  max-width: 1200px;
  position: relative;
}

ul.checkout-bar li {
  color: #ccc;
  display: block;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 20px 14px 80px;
  position: relative;
}

ul.checkout-label li {
  color: #ccc;
  display: block;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px 14px 80px;
  position: relative;
}
ul.checkout-bar li.checkout-shown:before {
  -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  background: #ddd;
  border: 2px solid #FFF;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  left: 90%;
  line-height: 37px;
  height: 35px;
  position: absolute;
  text-align: center;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  top: -60px;
  width: 35px;
  z-index: 20;
}
ul.checkout-bar li.active {
  color: #57aed1;
  font-weight: bold;
}

ul.checkout-label li.active {
  color: #57aed1;
  font-weight: bold;
}

ul.checkout-bar li.active:before {
  background: #57aed1;
}
ul.checkout-bar li.visited {
  color: #8bc53f;
}
ul.checkout-label li.visited {
  color: #8bc53f;
}

ul.checkout-bar li.visited:before {
  background: #8bc53f;
  z-index: 99;
}
#checkout-1:before {
  content: "1";
}
#checkout-2:before {
  content: "2";
}
#checkout-3:before {
  content: "3";
}
#checkout-4:before {
  content: "4";
}
#checkout-5:before {
  content: "5";
}
#checkout-6:before {
  content: "6";
}
#checkout-7:before {
  content: "7";
}


ul.checkout-bar a {
  color: #57aed1;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.tooltip-bar{
    width:700px;
}



@media all and (min-width: 800px) {
  .checkout-bar li.active:after {
    -webkit-animation: myanimation 3s 0;
    background-size: 35px 35px;
    background-color: #57aed1;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    content: "";
    height: 15px;
    width: 100%;
    right: 0%;
    border-radius: 5px;
    position: absolute;
    top: -50px;
    z-index: 0;
  }

  .checkout-wrap {
    margin: 0px auto;
  }
  
  ul.checkout-label{
      padding-left: 0px;
  }

  ul.checkout-bar {
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    background-size: 35px 35px;
    background-color: #EcEcEc;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
    border-radius: 15px;
    height: 15px;
    margin: 0 auto;
    padding: 0;
    position: absolute;
    width: 100%;
  }
  ul.checkout-bar:before {
    background-size: 35px 35px;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    content: " ";
    height: 15px;
    left: 0;
    position: absolute;
    width: 10%;
  }
  ul.checkout-bar li {
    display: inline-block;
    margin: 50px 0 0;
    padding: 0;
    text-align: center;
    width: 18%;
  }
  

  
  ul.checkout-label li {
    display: inline-block;
    margin: 30px 0 0;
    padding: 0;
    text-align: center;
    width: 18%;
  }
  ul.checkout-bar li.next {
    width: 0px;
  }
  ul.checkout-bar li:before {
    height: 45px;
    left: 40%;
    line-height: 45px;
    position: absolute;
    top: -76px;
    width: 45px;
    z-index: 9;
  }
  ul.checkout-bar li.visited {
    background: none;
  }
  ul.checkout-bar li.visited:after {
    background-size: 35px 35px;
    background-color: #8bc53f;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    content: "";
    height: 15px;
        right: 0%;
    border-radius: 5px;
    position: absolute;
    top: -50px;
    width: 100%;
    z-index: 6;
  }
  ul.checkout-bar li.next:after {
    background-size: 35px 35px;
    background-color: #8bc53f;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    content: "";
    height: 15px;
        right: -10%;
    border-radius: 5px;
    position: absolute;
    top: -50px;
    width: 100%;
    z-index: 6;
  }
  
  
  .bar-step {
    position:absolute;
    margin-top:-35px;
	z-index:1;
    font-size:12px;
  }
  .copy_link{
    margin-bottom: 5px;
    position: relative;
    float: right;
  }
  
}
 #fileupload_1{
    display: none;
}

#dropzone_1 form{
    margin-bottom: 0px;
}

#dropzone_1 input{
    padding: 2px;
}

.sm_sortable_th{
    display: inline-flex;
}

.sm_sortable_icons{
    display: flex;
    margin-left: 5px;
}

.sm_sort_icon_asc{
    padding-top: 6px;
}

.sm_sort_icon_desc{
    margin-bottom: 5px;
}

.sm_sort_icon{
    color: lightgrey;
    margin-right: 3px;
}

.sm_sort_icon.active{
    color: #f29424;
}

.sm_sort_icon:hover{
    color: #f29424;
    cursor: pointer;
}

.sm_cabinet th{
    text-align: left;
}

.sm_cabinet disabled{
    color: lightgray;
}