/* global theme color for all pages */
--theme-color: #2b652f;

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}


.btn-primary {
    background-color: #549859 !important;
    border-color: #549859 !important;
    color: #fff !important;
}

.btn-primary: hover {
    transform: scale(1.05);
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background-color: #349dc3 !important;
    border-color: #349dc3 !important;
    color: #fff;
}

.btn-secondary: hover {
    transform: scale(1.05);
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
}

.btn-tertiary {
    background-color: #5d6071 !important;
    border-color: #5d6071 !important;
    color: #fff !important;
}

.btn-tertiary: hover{
    transform: scale(1.05);
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
}

/* changes color of active datatable pagernators */
.page-item.active .page-link {
    color: #ffff;
    background-color: #349dc3 !important;
    border-color: #349dc3 !important;
}

#create-campaign-card {
    background-color: #549859 !important;
}

#create-campaign-card button {
    background-color: #e68743 !important;
    border-color: #e68743 !important;
}

/* removes the recaptcha badge on the bottom right*/
.grecaptcha-badge { visibility: hidden; }

.errorlist {
    color: red !important;
}

.logo-img {
    padding: 30px 30px 30px 30px;
    margin-left: 40px;
    max-width: 200px;
    max-height: auto;
}

/* greys out select placeholders*/
select:invalid { color: #929aa3; }

a: hover {
    color: #5b73e8 !important;
}

/* changes color of svg icons in dashboard hex to filter conversion from https://codepen.io/sosuke/pen/Pjoqqp
note: the base color of the icon is blue
*/
.filter-icon-grey{
    filter: invert(26%) sepia(3%) saturate(15%) hue-rotate(34deg) brightness(93%) contrast(90%);
}


.filter-icon-navy{
    filter: invert(16%) sepia(11%) saturate(3028%) hue-rotate(181deg) brightness(93%) contrast(90%);
}

.filter-icon-yellow{
    filter: grayscale(80%) brightness(120%) sepia(190%) hue-rotate(5deg) saturate(500%) contrast(0.7);
}

.filter-icon-green{
    filter: invert(57%) sepia(11%) saturate(2598%) hue-rotate(68deg) brightness(105%) contrast(81%);
}

#loading-spinner{
    display: none;
    position: fixed;
    z-index: 99999999 !important;
    height: 50px;
    width: 50px;
    top: 30%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    color: #549859;
}

/* used by integrations logo uploader  */
#profile-upload{
    background-image:url('');
    background-size:cover;
    background-position: center;
    height: 150px; width: 150px;
    border: 1px solid #bbb;
    position:relative;
    border-radius:250px;
    overflow:hidden;
}
#profile-upload:hover input.upload{
  display:block;
}
#profile-upload:hover .hvr-profile-img{
  display:inline-block;
 }
#profile-upload .fa{   margin: auto;
    position: absolute;
    bottom: -4px;
    left: 0;
    text-align: center;
    right: 0;
    padding: 6px;
   opacity:1;
  transition:opacity 1s linear;
   -webkit-transform: scale(.75);


}
#profile-upload:hover .fa{
   opacity:1;
   -webkit-transform: scale(1);
}
#profile-upload input.upload {
    z-index:1;
    left: 0;
    margin: 0;
    bottom: 0;
    top: 0;
    padding: 0;
    opacity: 0;
    outline: none;
    cursor: pointer;
    position: absolute;
    background:#ccc;
    width:100%;
    display:none;
}

#profile-upload .hvr-profile-img {
  width:100%;
  height:100%;
  display: none;
  position:absolute;
  vertical-align: middle;
  position: relative;
  background: transparent;
 }
#profile-upload .fa:after {
    content: "";
    position:absolute;
    bottom:0; left:0;
    width:100%; height:0px;
    background:rgba(0,0,0,0.3);
    z-index:-1;
    transition: height 0.3s;
    }

#profile-upload:hover .fa:after { height:100%; }

/*
#create-request {
    background-color: #2BBBA5 !important;
    border-color: #2BBBA5 !important;
}
*/
#create-request:hover {
    transform: scale(1.05);
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
}

/* offsets anchor elements because fixed navbar hides them when they are scrolled to */
.anchor{
  display: block;
  height: 165px; /*same height as header*/
  margin-top: -165px; /*same height as header*/
  visibility: hidden;
}
/*
#requests-table tbody tr.selected {
    color: white;
    background-color: #4D5A73;
}
*/

/** add account link button */
.btn-info {
    background-color: #58a65e !important;
    border-color: #58a65e !important;
}

.btn-info hover {
    background-color: #3D7441 !important;
}


/*Basic Phone iframe frame styling*/


.phone {
  border: 40px solid #ddd;
  border-width: 55px 7px;
  border-radius: 40px;
  /*margin: 50px auto;*/
  overflow: hidden;
  transition: all 0.5s ease;
}

.phone iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
/*Different Perspectives*/

.phone.view_1 {
  transform: rotateX(50deg) rotateY(0deg) rotateZ(-50deg);
  box-shadow: -3px 3px 0 #BBB, -6px 6px 0 #BBB, -9px 9px 0 #BBB, -12px 12px 0 #BBB, -14px 10px 20px #666;
}

.phone.view_2 {
  transform: rotateX(0deg) rotateY(-60deg) rotateZ(0deg);
  box-shadow: 5px 1px 0 #BBB, 9px 2px 0 #BBB, 12px 3px 0 #BBB, 15px 4px 0 #BBB, 0 7px 20px #999;
}

.phone.view_3 {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  box-shadow: 0px 3px 0 #BBB, 0px 4px 0 #BBB, 0px 5px 0 #BBB, 0px 7px 0 #BBB, 0px 10px 20px #666;
}


/*laptop iframe framing*/

.laptop-outer {
    width: 50%;
    height: 50%;
    max-width: 1034px;
    max-height: 543px;
    margin: 0 auto;
    float:right;

}
.laptop-outer .laptop-inner {
    position: relative;
    padding-top: 25px;
    padding-bottom: 67.5%;
    height: 0;
}
.laptop-outer iframe {
    box-sizing: border-box;
    background: url(https://d2hotf2lx2uief.cloudfront.net/assets/images/laptop-frame.png) center center no-repeat;
    background-size: contain;
    padding: 11.9% 15.5% 14.8%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/** animation for button hovers */
.button-hover:hover {
    filter: brightness(85%);
}

/* makes space between navbar and dashboard relative (when it was fixed it became too much on smaller screens)*/
body[data-layout=horizontal] .page-content{
    margin-top: 5% !important;
}

#intro-steps {
    display: none;
}
/* mobile screens */
@media screen and (max-width: 1200px) {
    /* space out overview in mobile view */
    .row {
        padding-bottom: 5% !important;
    }
    /* hide api integration details in mobile view - for presentational purpose only */
    #api-integration {
        display: none;
    }
    #create-portfolio-img{
        display: none;
    }
    #link-bank-img {
        display: none;
    }
    /* Hide filter search bar on mobile view
    #search-filter-bar{
        display: none;
    }*/
    /* remove fixed dashboard table for responsivness */
    #portfolios-table table {
        table-layout: auto !important;
    }
    /* make link steps larger */
    #intro-steps {
        width: 95%;
    }
    .mobile-break {
        display: none;
    }

}

/* hides long text in td cell so dashboard table doesnt get stretched */
.no-overflow {
    overflow: hidden; /* this is what fixes the expansion */
    text-overflow: ellipsis; /* not supported in all browsers, but I accepted the tradeoff */
    white-space: nowrap;
}

#requests-table table {
    table-layout: fixed;
}

.selected {
    background-color: #f0f0f0;
}

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


/* report selection carousal */
.carousel-container {
    width: 600px;
    overflow: hidden;
    margin: auto;
    position: relative;
  }

  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel img {
    width: 170px;
    height: 250px;
    margin: 0 10px;
    cursor: pointer;
    border: 2px solid transparent;
  }

  .carousel img.selected {
    border: 5px solid blue;
  }

  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px;
    cursor: pointer;
  }

  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }