@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i&subset=latin-ext');

/* Show it is fixed to the top */
html,
body,
.main,
.main>.row {
  box-sizing: border-box;

}

body {
  padding-top: 56px;
  font-family: 'Lato', sans-serif !important;
  font-size: 17px !important;
}

p {
  margin-bottom: 0;
}

.bg-dark {
  background-color: rgb(59, 64, 70) !important;
}

/* reset hr */
hr {
  border-top-color: currentColor;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* reset hr */

#login-container {
  margin-top: 100px;
}

#login-form {
  max-width: 600px;
  margin: auto;
}

/* Sidebar Container */
.sidebar-container {
  top: 55px;
  left: 0;
  position: fixed;
  width: 320px;
  height: calc(100% - 55px);
  z-index: 666;
  background-color: rgb(250, 250, 251);
}

/* Sidebar */
.sidebar {
  position: relative;
  height: 100%;
  overflow-y: scroll;
  padding: 2%;
  padding-bottom: 100px;
}


/* Sidebar Toogle Button */
.sidebar-toggle {
  position: absolute;
  right: -45px;
  top: 3px;
  padding: 10px 15px;
  border: solid 1px #ccc;
  background-color: darkgrey;
  cursor: pointer;
  z-index: 667;
}

.stage {
  background-color: #fff;
  height: 100%;
  overflow-y: scroll;
  padding: 2em;
}

.box {
  background-color: rgb(211, 215, 221);
  min-width: 50px;
  min-height: 50px;
  margin: 1%;
  flex-grow: 1;
  padding: 10px;
  box-sizing: border-box;
}

.box>.box {
  opacity: 1;
  background-color: #BDBDBD;
}

.td-content {
  margin-top: 20px;
  min-height: 1em;
  box-sizing: border-box !important;
}

.td-headline .td-content {
  margin-top: 40px;
}

.td-image .td-content {
  margin-top: 40px;
}

.td-content:empty::after {
  content: 'Add content here';
  color: #ccc;
  height: 100px;
  background: #F5F5F5;
  display: block;
  margin-right: auto;
  margin-left: auto;
  padding: 5px;
  text-align: center;
  padding-top: 50px;
  background: url('../assets/img/arrow.png') no-repeat center 30px;

  background-color: rgb(248, 248, 248);
  box-shadow: inset 2px 3.464px 6px 0px rgba(0, 0, 0, 0.14);
}


/* .td-undefined {
  padding-left: 5px !important;
  padding-right: 5px !important;
} */

img[src=""] {
  content: '';
  color: #ccc;
  font-weight: bold;
  height: 100px;
  background: #F5F5F5;
  display: block;
  margin-right: auto;
  margin-left: auto;
  padding: 5px;
  text-align: center;
  padding-top: 40px;
  background: url('../assets/img/add-image.png') no-repeat center 20px;

  border-radius: 10px;
  background-color: rgb(248, 248, 248);
  box-shadow: inset 2px 3.464px 6px 0px rgba(0, 0, 0, 0.14);
}

/* inlined */
/* .caption {
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6em;
    color: #000;
    margin-top: 10px;
} */

.flex {
  display: flex;
}

.center {
  justify-content: center;
  align-items: center;
}

.wrap {
  flex-wrap: wrap;
}

.fg {
  flex-grow: 1;
}

.fw {
  /* full width  */
  width: 100%;
}

.hw {
  /* half with */
  width: 50%;
}

.qw {
  /* quarter width */
  width: 25%;
}

.pointer {
  cursor: pointer;
}

.add-row .flex.center.fw.pointer:hover {
  background-color: #ccc;
}

.add-row>.card>.card-body>div {
  background-color: #FFF;
  border-radius: 8px;
  border-width: 1px;
  border-color: rgb(211, 215, 221);
  border-style: solid;
  cursor: pointer;
  box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.1);
}

.add-row>.card>.card-body>div:hover {
  border-color: rgb(84, 168, 238);
  background-color: #FFF !important;
  box-shadow: -4px 4px 5px rgba(0, 0, 0, 0.1);
}

.mgn-5-x {
  margin-top: 5px;
  margin-bottom: 5px;
}

.mgn-x-5 {
  margin-right: 5px;
  margin-left: 5px;
}

.mgn-5 {
  margin: 5px;
}

.pdg-5-10 {
  padding: 5px 10px;
}

.pdg-5-0 {
  padding: 5px 0;
}

.pdg-5 {
  padding: 5px;
}


.pdg-10 {
  padding: 10px;
}

.hide {
  display: none;
}

/* SELECTION OF TABLE ITEMS */

#stage-table {
  width: 100%;
    max-width: 600px;
    margin: auto;
}

#stage-table td {
  transition: all .1s;
}

#remove-icon {
  position: fixed;
  cursor: pointer;
  display: none;
}

.selected.td-content::after {
  background-color: rgb(237, 248, 253) !important;
}

.selected.td-content {
  box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1), 1px 0px 2px rgba(0, 0, 0, 0.1), -1px 0px 2px rgba(0, 0, 0, 0.1);
  position: relative;

  border-width: 1px;
  border-color: rgb(84, 168, 238);
  border-style: dashed;
  /*background-color: rgb(237, 248, 253) !important;*/
  /* box-shadow: inset 2px 3.464px 6px 0px rgba(0, 0, 0, 0.14); */
}

.selected.td-content:empty {
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1), 0px 5px 10px rgba(0, 0, 0, 0.1), 5px 0px 10px rgba(0, 0, 0, 0.1), -5px 0px 10px rgba(0, 0, 0, 0.1);
  box-shadow: inset 2px 3.464px 6px 0px rgba(0, 0, 0, 0.14);
}

/* .selected.td-text{
   outline: 3px solid #8bc34a;
}
.selected.td-image{
   outline: 3px solid #ff9800;
}
.selected.td-button{
   outline: 3px solid #03a9f4;
}
.selected.td-spacer{
  outline: 3px solid #adbcbd;
}
.selected.td-undefined{
   outline: 3px solid #999;
} */
.selected::before {
  position: absolute;
  width: auto;
  height: 1.5em;
  padding: 3px 15px;
  box-sizing: content-box;
  color: #fff;
  display: block;
  bottom: 100%;
  left: -3px;
}

/* .selected.td-text::before{
  content: 'Text';
    background-color: #8bc34a;
}

.selected.td-image::before{
  content: 'Image';
    background-color: #ff9800;
}

.selected.td-button::before{
  content: 'Button';
    background-color: #03a9f4;
}

.selected.td-spacer::before{
  content: 'Spacer';
    background-color: #adbcbd;
}

.selected.td-undefined::before{
   content: 'Unset';
    background-color: #999;§
}*/
/* SELECTION OF TABLE ITEMS */


#editor {
  overflow: scroll;
  max-height: 300px
}


/* General style properties */

a,
a:hover,
a:visited,
a:active {
  color: #ee4194;
  text-decoration: none;
}

a img {
  outline: none;
}

/* Placeholder */
.placeholder::after {
  content: 'Add a section first';
  color: #ccc;
  font-weight: bold;
  height: 100px;
  background: #F5F5F5;
  display: block;
  margin-right: auto;
  margin-left: auto;
  padding: 5px;
  text-align: center;
}

/* Campaigns Page */
.new-campaign {
  padding-top: 60px;
  padding-bottom: 60px;
  border-bottom: solid 1px rgb(156, 156, 156);
}

.new-campaign h1 {
  font-size: 18pt;
  color: #3a4046;
  height: 32px;
  line-height: 32px;
  float: left;
  margin-right: 22px;
}

.new-campaign input {
  float: left;
  font-size: 10pt;
  color: rgb(188, 195, 201);
  line-height: 28pt;
  height: 32px;

  border-width: 1px;
  border-color: rgb(211, 215, 221);
  border-style: solid;
  border-radius: 4px;
  background-color: rgb(255, 255, 255);
  box-shadow: inset 0.5px 0.866px 3px 0px rgba(0, 0, 0, 0.25);

  margin-right: 22px;
}

.new-campaign button {
  border-width: 1px;
  border-color: rgb(84, 168, 238);
  border-style: solid;
  border-radius: 4px;
  background-color: rgb(84, 168, 238);
  color: #FFF;
  width: 120px;
  height: 32px;

  font-size: 10pt;
}


.campaigns {
  margin-top: 50px;
  color: #3a4046;
}

.campaigns h1 {
  font-size: 18pt;
  color: #3a4046;
  line-height: 32px;
}

.campaigns>ul {
  width: 100%;
  list-style: none;
  list-style-type: none;
  padding: 0 !important;

}

.campaigns>ul>li {
  margin-bottom: 10px;
}

.campaigns>ul>li>div {
  width: 80%;
}

.campaigns>ul>li>span {
  float: right;
}

.campaigns>ul>li>div>div {
  display: inline-block;
}

.campaigns>ul>li>div>div>a {
  padding: 5px 10px;
  text-decoration: none;
}

/* end */

/* Bootstrap Override */
.card-body {
  padding: 0.5rem !important;
}
/* .flex.center.fw.pointer:hover */
.card-header {
  background-color: rgb(250, 250, 251) !important;
  border: none;
  padding: 0.75rem 1.25rem 0 1.25rem !important;
}

.card {
  border: none;
  background-color: unset;
}

input.form-control {
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  color: rgb(188, 195, 201);
  line-height: 2;
  text-align: left;
}

.form-group span {
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  color: rgb(58, 64, 70);
  line-height: 2;
  text-align: left;
}

/* Numeric Stepper */
.numeric-stepper {
  display: flex;
}

.numeric-stepper>input {
  /*width: 90% !important;*/
  line-height: 1;
}

.numeric-stepper>.input-group-btn-vertical {
  width: 10px;
  display: inline-block;
  margin-left: -20px;
  line-height: 1;
  padding: 5px 0 0 0;
}

.numeric-stepper>.input-group-btn-vertical>span {
  padding: 0;
  cursor: pointer;
  line-height: 1;
  /*border: solid 1px #ccc;*/
}

/* preview */
#preview-frame {
  width: 100%;
  height: 100vh;
}

/* navbar */
.back-button {
  color: #888b8f !important;
  padding-right: .5rem;
  padding-left: .5rem;

  font-weight: 400;
  line-height: 1.5;
}

.back-button::before {
  content: url('../assets/img/arrow-left.png');
  /* box-sizing: content-box; */
  color: #888b8f;
  display: inline;
  margin-right: 10px;
}

.navbar-nav a {
  margin-left: 10px;
}

/*a#save-template {
  border-width: 1px;
  border-color: rgb(84, 168, 238);
  border-style: solid;
  border-radius: 8px;
  background-color: rgb(84, 168, 238);
  color: #FFF;
}*/


/*a#publish-campaign {
  border-width: 1px;
  border-color: rgb(128, 167, 76);
  border-style: solid;
  border-radius: 4px;
  background-color: rgb(128, 167, 76);
  color: #FFF;

}*/

a#save-template {
  border-width: 1px;
  border-color: rgb(84, 168, 238);
  border-style: solid;
  background-color: rgb(84, 168, 238);
  color: #FFF;
  border-radius: 4px;

  width: 120px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  display: inline-block;
}

a#publish-campaign {
  border-width: 1px;
  border-color: rgb(128, 167, 76);
  border-style: solid;
  border-radius: 4px;
  background-color: rgb(128, 167, 76);
  color: #FFF;
  width: 120px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  display: inline-block;

  margin-left: 10px;
}

a#preview-template {
  border-width: 1px;
  border-color: rgb(128, 167, 76);
  border-style: solid;
  border-radius: 4px;
  background-color: rgb(128, 167, 76);
  color: #FFF;
  width: 120px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  left: 200px;
  position: absolute;
}

/* navbar end */

#add-content span {
  font-size: 12px;
  line-height: 10px;
  background-color: #FFF;
  color: #6e7a88;

  border-radius: 8px;
  border-width: 1px;
  border-color: rgb(211, 215, 221);
  border-style: solid;
  box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.1);

  padding: 55px 20px 15px 20px;

  background-position: center;
  background-repeat: no-repeat;

  cursor: pointer;
}

#add-content span:hover,
#add-content span.selected {
  border-color: rgb(84, 168, 238);
  color: #FFF !important;
  background-color: rgb(84, 168, 238);
  box-shadow: -4px 4px 5px rgba(0, 0, 0, 0.1);
}

/* square buttons */
#add-content .btn {
  width: 32%;
  margin-right: 2%;
}

#add-content .btn:last-child {
  margin-right: 0;
}

#add-content .btn#add-text {
  background-image: url('../assets/img/add-text.png');
  background-position-y: 20px;
}

#add-content .btn#add-image {
  background-image: url('../assets/img/add-image.png');
  background-position-y: 18px;
}

#add-content .btn#add-button {
  background-image: url('../assets/img/add-button.png');
  background-position-y: 28px;
}

#add-content #add-headline {
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6em;
  text-align: center;
  color: #5b5b5b;
  padding: 10px;
}

#add-content #add-spacer {
  background-image: url('../assets/img/add-spacer.png');
  background-position-y: 20px;
}

#add-content .btn#add-text:hover,
#add-content .btn#add-text.selected {
  background-image: url('../assets/img/add-text-hover.png');
}

#add-content .btn#add-image:hover,
#add-content .btn#add-image.selected {
  background-image: url('../assets/img/add-image-hover.png');
}

#add-content .btn#add-button:hover,
#add-content .btn#add-button.selected {
  background-image: url('../assets/img/add-button-hover.png');
}

#add-content #add-spacer:hover,
#add-content #add-spacer.selected {
  background-position-y: center;
  background-image: url('../assets/img/add-spacer-hover.png');
}

.btn-browse {
  /* border-width: 1px;
  border-color: rgb(63, 122, 153);
  border-style: solid;    */
  background-color: rgb(84, 168, 238);
  border-radius: 0 8px 8px 0;
  color: white;
  cursor: pointer;
}


/* info bar */
#info-bar {
  display: inline;
  line-height: 50px;
  color: #FFF;

  text-align: center;
  position: absolute;
  left: 50%;
}

#info-bar:focus {
  outline: transparent;
}


#notification-bar {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  background-color: #ddd;
  height: 80px;

  padding: 20px;
  font-size: 18pt;
  font-weight: 400;
  text-align: center;

}

#notification-bar.error {
  background-color: red;
  color: white;
}

#notification-bar.success {
  background-color: green;
  color: white;
}


/* summernote */
.custom-color-button::before {
  content: "\f043";
  font-family: FontAwesome;
}

.custom-color-dropdown {
  padding: 0;
  margin: 0;
  min-width: unset;
}

.custom-color-dropdown .dropdown-item {
  padding: 5px;
  margin: 0;
  display: inline-flex;
}

#custom-color-input {
  width: 60px;
  height: 24px;
  line-height: 24px;
  font-family: 'Lato', sans-serif;
}

.card-header.note-toolbar {
  padding: 0 10px !important;
}

.font-weight-dropdown {
  padding: 0;
}

.font-weight-dropdown .dropdown-item button {
  cursor: pointer;
}

.font-weight-button {
  width: 100%;
  background: none;
  border: none;
}

.td-feed {
  text-align: center;

}

.td-feed input {
  outline: none;
  font-size: 14px;
  font-weight: 300;
  display: block;
  width: 90%;
  margin: 5px auto;
}

.td-feed textarea {
  outline: none;
  font-size: 14px;
  font-weight: 300;
  display: block;
  width: 90%;
  margin: 5px auto;
}

.td-curalate textarea {
    outline: none;
    font-size: 14px;
    font-weight: 300;
    display: block;
    width: 90%;
    margin: 5px auto;
    height: 100px;
  }

/* *********************** */
/* *********************** */
/* *********************** */
/* *********************** */
/* Email template styles */
@media only screen {

  .column,
  td,
  th,
  div,
  p {    
    font-family: 'Lato', sans-serif !important;
  }

  .webfont {
    font-family: 'Lato', sans-serif !important;
  }
}

a {
  text-decoration: none;
}

img {
  border: 0;
  line-height: 100%;
  max-width: 100%;
  vertical-align: middle;
}

#outlook a,
.links-inherit-color a {
  padding: 0;
  color: inherit;
}

.column {
  font-size: 13px;
  line-height: 22px;
  vertical-align: top;
}

.hover-scale:hover {
  transform: scale(1.2);
}

.video {
  display: block;
  height: auto;
  object-fit: cover;
}

.star:hover a,
.star:hover~.star a {
  color: #FFCF0F !important;
}

/* table.wrapper {
  margin: 30px 0;
} */

/* table.wrapper > tbody > tr > td { padding: 20px; } */

.col-1-2 {
  width: 300px;
  padding-left: 10px;
  padding-right: 10px;
}

.col-1-2.left-col {
  padding-left: 0 !important;
  padding-right: 10px;
}

.col-1-2.right-col {
  padding-left: 10px;
  padding-right: 0 !important;
}

.col-1-3 {
  width: 200px;
  padding-left: 5px;
  padding-right: 5px;
}

.col-1-3.left-col {
  padding-left: 0 !important;
  padding-right: 10px;
}

.col-1-3.right-col {
  padding-left: 10px;
  padding-right: 0 !important;
}

/* .td-content {
  margin-bottom: 30px;
}

.td-content:last-child {
  margin-bottom: 0 !important;
} */

@media (max-width: 600px) {

  .col2 {
      /* width: 50% !important; */
      padding: 0;
  }

  .col3 {
      /* width: 33.33% !important; */
      padding: 0;
  }
  
  .video {
    width: 100%;
  }

  .wrapper {
    /*min-width: 100vw;*/
  }

  .container {
    /* width: 100% !important; */
    -webkit-text-size-adjust: 100%;
  }

  /* table.wrapper {
    margin: 0;
  } */

  .column {
    box-sizing: border-box;
    /* display: block; */
    line-height: 20px;
    /* width: 100% !important; */
    margin: 30px 0 0 0 !important;
  }

  .column:first-child {
    margin: 0 !important;
  }

  /* .col-1-2 {
    width: 100% !important;
    padding: 5px !important;
  }
  .col-1-3 {
    width: 100% !important;
    padding: 5px !important;
  } */
  
  /* .col-1-2 img,
  .col-1-3 img {
      width: 100% !important; 
  } */

  /* .col-sm-1 {
    max-width: 25%;
  }

  .col-sm-2 {
    max-width: 50%;
  }

  .col-sm-3 {
    max-width: 75%;
  }

  .col-sm-third {
    max-width: 33.33333%;
  }

  .col-sm-auto {
    width: auto !important;
  }

  .col-sm-push-1 {
    margin-left: 25%;
  }

  .col-sm-push-2 {
    margin-left: 50%;
  }

  .col-sm-push-3 {
    margin-left: 75%;
  }

  .col-sm-push-third {
    margin-left: 33.33333%;
  }

  .full-width-sm {
    display: table !important;
    width: 100% !important;
  }

  .stack-sm-first {
    display: table-header-group !important;
  }

  .stack-sm-last {
    display: table-footer-group !important;
  }

  .stack-sm-top {
    display: table-caption !important;
    max-width: 100%;
    padding-left: 0 !important;
  }

  .toggle-content {
    max-height: 0;
    overflow: auto;
    transition: max-height .4s linear;
    -webkit-transition: max-height .4s linear;
  }

  .toggle-trigger:hover+.toggle-content,
  .toggle-content:hover {
    max-height: 999px !important;
  }

  .show-sm {
    display: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    max-height: none !important;
  }

  .hide-sm {
    display: none !important;
  }

  .align-sm-center {
    display: table !important;
    float: none;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .align-sm-left {
    float: left;
  }

  .align-sm-right {
    float: right;
  }

  .text-sm-center {
    text-align: center !important;
  }

  .text-sm-left {
    text-align: left !important;
  }

  .text-sm-right {
    text-align: right !important;
  }

  .nav-sm-vertical .nav-item {
    display: block !important;
  }

  .nav-sm-vertical .nav-item a {
    display: inline-block;
    padding: 5px 0 !important;
  } */

  .h1 {
    font-size: 32px !important;
  }

  .h2 {
    font-size: 24px !important;
  }

  .h3 {
    font-size: 16px !important;
  }

  .borderless-sm {
    border: none !important;
  }

  .height-sm-auto {
    height: auto !important;
  }

  .line-height-sm-0 {
    line-height: 0 !important;
  }

  .overlay-sm-bg {
    background: #232323;
    background: rgba(0, 0, 0, 0.4);
  }
}
