.inmodal .modal-icon {
    font-size: 50px;
    color: #e2e3e3;
}

.i-checks>label {
    font-weight: 500;
}

.modal-body-float {
    float: inherit;
}

.child-select-modal {
    margin-left: 5%;
}

.child-select-modal>label {
    font-weight: lighter;
}

#toolbar #saveForm .ui-button:hover {
    background-color: #148c73 !important;
}


/* overrides */

#form-profile-reset-password .checkbox input[type="checkbox"]:disabled+label::before,
#form-profile-reset-password .checkbox input[type="radio"]:disabled+label::before,
#form-profile-reset-password .checkbox input[type="checkbox"]:disabled,
#form-profile-reset-password label {
    cursor: default !important;
}

fieldset.form-group.mesnja-form-input label {
    font-size: 13px;
}

fieldset.form-group.mesnja-form-input {
    padding: 5px 10px;
    font-size: 10px;
}

fieldset.form-group.mesnja-form-input.has-error {
    background: #f2dede;
    border: solid 1px #ebccd1;
}

.subsort {
    margin-top: 10px;
    padding: 10px 5px;
    min-height: 50px;
    background: #e7eaec52;
    border: dotted 2px #e7eaec;
}

.subsort li {
    list-style-type: none;
}

.navbar-top-links .dropdown-help {
    width: 210px;
    min-width: 0;
}

.badges img {
    width: 150px;
}

.badges {
    padding: 10px 0;
    text-align: center;
    margin-top: 40px;
}

table span.subline {
    font-size: 11px;
    line-height: 1em;
    opacity: 0.7;
    margin-left: 5px;
    margin-bottom: 0px;
}

.hint {
    position: relative;
    padding: 3px;
    font-size: 12px;
    text-align: center;
    background-color: #EFEFEF;
    border-radius: 6px;
    margin-bottom: 15px;
}

hint:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 12px;
    display: block;
    border: 10px solid #efefef;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
}


/* hide remove and attach text */

.hide_trans_text,
.hide_inactive,
.hide_active {
    display: none;
}

.context {
    float: right;
}

.card {
    padding: 20px 30px;
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    margin: 1rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

ul#templates li.template a {
    display: inline-block;
    border: 1px solid #e3e3e3;
    transition: all 200ms ease-out;
}

ul#templates li.template {
    display: inline-block;
    margin: 10px;
}

ul#templates {
    list-style: none;
    padding: 0;
}

.smarttitle {
    font-size: 11px;
    padding-top: 5px;
    color: #a3a3a3;
}

.smarttitle span {
    font-weight: 700;
}

td .icon {
    vertical-align: middle;
}

.icon-high-priority-deactivated,
.icon-read-confirmation-deactivated {
    opacity: 0.25;
}

.icon-24 {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
}

.icon-high-priority-deactivated {
    background-image: url(../images/icons/high-priority-deactivated.png);
}

.splash-bg {
    background-image: url(../images/splash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#no-coordinates {
    display: table;
    width: 100%;
    background-color: #f1f1f1;
    height: 300px;
}

#no-coordinates p {
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.modal-lead-block #map {
    height: 100%;
}

.map-section {
    height: 400px;
}


/* Modal
   ========================================================================== */

.has-overlay {
    overflow: hidden;
}

.has-overlay>body {
    height: 100%;
    overflow-y: scroll;
}

.modal-container {
    -webkit-transform: translate(0, 100%);
    -moz-transform: translate(0, 100%);
    -o-transform: translate(0, 100%);
    -ms-transform: translate(0, 100%);
    transform: translate(0, 100%);
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    opacity: 0;
    line-height: 1.3;
    display: none \9;
}

.modal-container:target {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 1;
}

.is-active.modal-container {
    display: block \9;
}

.modal-container:target {
    display: block \9;
}

.modal-container .modal-inner {
    position: absolute;
    top: 50px;
    left: 50%;
    z-index: 20;
    margin-left: -325px;
    width: 650px;
    overflow-x: hidden;
    border-radius: 2px;
    background: #ffffff;
    -webkit-box-shadow: 0 3px 30px rgba(0, 0, 0, 0.9);
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.9);
}

.modal-container .modal-inner>img,
.modal-container .modal-inner>video,
.modal-container .modal-inner>iframe {
    width: 100%;
    height: auto;
    min-height: 300px;
}

.modal-container .modal-inner>img {
    width: auto;
    max-width: 100%;
}

.modal-container header {
    border-bottom: 1px solid #E1E1E1;
    padding: 0 1.2em;
}

.modal-container header>h2 {
    margin: 0.5em 0;
}

.modal-container .modal-content {
    max-height: 400px;
    max-height: 70vh;
    border-bottom: 1px solid #E1E1E1;
    padding: 15px 1.2em;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-container .modal-content>* {
    max-width: 100%;
}

.modal-container footer {
    border-top: 1px solid white;
    padding: 1.2em 18px;
    background: #fff;
    border-radius: 2px;
}

.modal-container .modal-close {
    display: block;
    text-indent: -100px;
    overflow: hidden;
}

.modal-container .modal-close:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAEElEQVR42gEFAPr/AAAAAMwA0QDNTiUx4gAAAABJRU5ErkJggg==");
}

.modal-container .modal-close:after {
    content: '\00d7';
    position: absolute;
    top: 52px;
    left: 50%;
    z-index: 20;
    margin-left: 295px;
    padding: 2px 8px;
    font-size: 1.2em;
    text-decoration: none;
    text-indent: 0;
}

.modal-container footer ul.menu {
    padding-top: 18px;
    text-align: right;
}

.modal-container footer ul.menu li {
    display: inline;
}

@media screen and (max-width: 690px) {
    .modal-container .modal-inner {
        width: auto;
        left: 20px;
        right: 20px;
        margin-left: 0;
    }
    .modal-container .modal-close {
        left: auto;
        right: 33px;
        margin-left: 0;
    }
    .modal-container .modal-close:after {
        margin-left: 40%;
    }
}

@media screen and (max-width: 30em) {
    .modal-container {
        -webkit-transform: translate(0, 400px);
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
        -webkit-transition: -webkit-transform .25s ease-in-out, opacity 1ms .25s;
        -moz-transition: -moz-transform .25s ease-in-out, opacity 1ms .25s;
        -o-transition: -o-transform .25s ease-in-out, opacity 1ms .25s;
        -ms-transition: -ms-transform .25s ease-in-out, opacity 1ms .25s;
        transition: transform .25s ease-in-out, opacity 1ms .25s;
        display: block;
        height: 100%;
        bottom: auto;
    }
    .modal-container:target {
        -webkit-transition: -webkit-transform .25s ease-in-out;
        -moz-transition: -moz-transform .25s ease-in-out;
        -o-transition: -o-transform .25s ease-in-out;
        -ms-transition: -ms-transform .25s ease-in-out;
        transition: transform .25s ease-in-out;
    }
    .modal-container:before {
        background-color: #1AB394;
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 30;
        height: 3em;
        -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    }
    .modal-container .modal-inner {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        top: 0;
        left: 0;
        right: 0;
        padding-top: 3em;
        height: 100%;
        overflow: scroll;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .modal-container .modal-content {
        max-height: none;
    }
    .modal-container .modal-close {
        right: auto;
        text-decoration: none;
    }
    .modal-container .modal-close:before {
        display: none;
    }
    .modal-container .modal-close:after {
        content: attr(data-close);
        top: 0.4em;
        left: 1em;
        z-index: 40;
        margin-left: 0;
        font-size: 1em;
        padding: 0.5em 1em;
    }
}

@media screen and (max-height: 46em) and (min-width: 30em) {
    .modal-container .modal-content {
        max-height: 340px;
        max-height: 50vh;
    }
}

@media screen and (max-height: 36em) and (min-width: 30em) {
    .modal-container .modal-content {
        max-height: 265px;
        max-height: 40vh;
    }
}

@media screen and (min-width: 30em) {
    .modal-container {
        -webkit-transition: opacity 0.4s;
        -o-transition: opacity 0.4s;
        transition: opacity 0.4s;
    }
}

.modal-container footer>p {
    margin-bottom: 0;
}

.modal-container .close-action,
.modal-container .open-modal {
    margin-right: 5px;
}


/* Basic Modal
   ========================================================================== */

#basic-modal-content {
    display: none;
}


/* Overlay */

#simplemodal-overlay {
    background-color: #000;
    opacity: 0.25 !important
}


/* Container */

.simplemodal-container {
    height: 360px;
    width: 600px;
    color: #78808a;
}

.basic-modal-content {
    z-index: 999;
    line-height: 1.3;
    display: none;
    top: 10px;
}

.basic-modal-content:target {
    transform: translate(0, 0);
    opacity: 1;
}

.is-active.basic-modal-content {
    display: block \9;
}

.basic-modal-content:target {
    display: block \9;
}

.basic-modal-content .modal-inner {
    position: absolute;
    top: 0px;
    left: 50%;
    z-index: 20;
    margin-left: -325px;
    width: 650px;
    overflow-x: hidden;
    border-radius: 2px;
    background: #ffffff;
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.basic-modal-content .modal-inner>img,
.basic-modal-content .modal-inner>video,
.basic-modal-content .modal-inner>iframe {
    width: 100%;
    height: auto;
    min-height: 300px;
}

.basic-modal-content .modal-inner>img {
    width: auto;
    max-width: 100%;
}

.basic-modal-content header {
    border-bottom: 1px solid #E1E1E1;
    padding: 0 1.2em;
}

.basic-modal-content header>h2 {
    margin: 0.5em 0;
}

.basic-modal-content .modal-content {
    max-height: 400px;
    max-height: 70vh;
    border-bottom: 1px solid #E1E1E1;
    padding: 15px 1.2em;
    overflow-x: hidden;
    overflow-y: auto;
}

.basic-modal-content .modal-content>* {
    max-width: 100%;
}

.basic-modal-content footer {
    border-top: 1px solid white;
    padding: 10px 18px;
    background: #f1f1f1;
    border-radius: 2px;
}

.basic-modal-content #modal-label .modal-close {
    display: table;
    float: right;
    font-size: 1.2em;
    color: #78808A;
}

.basic-modal-conten h3 {
    display: table;
    float: left;
}

.basic-modal-content footer ul.menu li {
    display: inline;
}

.lead-modal .modal-inner {
    margin-left: -450px;
    width: 900px;
}

@media screen and (max-width: 690px) {
    .basic-modal-content .modal-inner {
        width: auto;
        left: 20px;
        right: 20px;
        margin-left: 0;
    }
    .basic-modal-content .modal-close {
        left: auto;
        right: 33px;
        margin-left: 0;
    }
    .basic-modal-content .modal-close:after {
        margin-left: 40%;
    }
}

@media screen and (max-width: 30em) {
    .basic-modal-content {
        -webkit-transform: translate(0, 400px);
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
        -webkit-transition: -webkit-transform .25s ease-in-out, opacity 1ms .25s;
        -moz-transition: -moz-transform .25s ease-in-out, opacity 1ms .25s;
        -o-transition: -o-transform .25s ease-in-out, opacity 1ms .25s;
        -ms-transition: -ms-transform .25s ease-in-out, opacity 1ms .25s;
        transition: transform .25s ease-in-out, opacity 1ms .25s;
        display: block;
        height: 100%;
        bottom: auto;
    }
    .basic-modal-content:target {
        -webkit-transition: -webkit-transform .25s ease-in-out;
        -moz-transition: -moz-transform .25s ease-in-out;
        -o-transition: -o-transform .25s ease-in-out;
        -ms-transition: -ms-transform .25s ease-in-out;
        transition: transform .25s ease-in-out;
    }
    .basic-modal-content:before {
        background-color: #1AB394;
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 30;
        height: 3em;
        -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    }
    .basic-modal-content .modal-inner {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        top: 0;
        left: 0;
        right: 0;
        padding-top: 3em;
        height: 100%;
        overflow: scroll;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .basic-modal-content .modal-content {
        max-height: none;
    }
    .basic-modal-content .modal-close {
        right: auto;
        text-decoration: none;
    }
    .basic-modal-content .modal-close:before {
        display: none;
    }
    .basic-modal-content .modal-close:after {
        content: attr(data-close);
        top: 0.4em;
        left: 1em;
        z-index: 40;
        margin-left: 0;
        font-size: 1em;
        padding: 0.5em 1em;
    }
}


/*@media screen and (max-height: 46em) and (min-width: 30em) {
    .basic-modal-content .modal-content {
        max-height: 340px;
        max-height: 50vh;
    }
}*/

@media screen and (max-height: 36em) and (min-width: 30em) {
    .basic-modal-content .modal-content {
        max-height: 265px;
        max-height: 40vh;
    }
}

@media screen and (min-width: 30em) {
    .basic-modal-content {
        -webkit-transition: opacity 0.4s;
        -o-transition: opacity 0.4s;
        transition: opacity 0.4s;
    }
}

.basic-modal-content footer>p {
    margin: 0;
    font-size: 12px;
}

.basic-modal-content .close-action,
.basic-modal-content .open-modal {
    margin-right: 5px;
}

dl dt {
    font-weight: 700;
    /*padding-bottom: 5px;*/
}

dl dd {
    margin-left: 0;
    padding-left: 1em;
}


/*6/08*/

dl.inline {
    display: block !important;
}

dl.inline dt {
    float: left;
    clear: left;
    margin-right: 10px;
}

dl.inline dd {
    margin-left: 0px;
}

dl.inline dt:after {
    content: ":"
}

dl.inline dt,
dl.inline dd {
    min-height: 1.5em;
}

dl#contact-details dt {
    width: 10%;
}


/* -------------------- Contact details page --------------------*/

.campaign-title {
    cursor: pointer;
}

.messages {
    margin: 0;
}

.messages tr:last-of-type td {
    border: 0;
}

.messages .options {
    text-align: right;
}

.lead-details-modal .modal-inner {
    left: 0;
    margin-left: 0;
    width: 100%;
}

#tracking-modal dt {
    width: 20%;
}

.map-section {
    height: 400px;
}

span.created {
    display: block;
    border-top: 1px solid #e3e3e3;
    font-size: 11px;
    padding-top: 5px;
    opacity: 0.7;
}


/* Tables
   ========================================================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    background: none;
    margin: 1em 0;
    border: 0;
}

tr th {
    padding: 5px 10px;
    border-bottom: #E3E3E3 1px solid;
    background: none;
    font-weight: 700;
    line-height: 2;
}

.reff_container span {
    padding-top: 8px;
    display: -webkit-box;
    background-color: #ccc;
    padding-left: 5px;
    padding-right: 5px;
}

.reff_container {
    display: -webkit-box;
    width: 12.5%;
    margin-left: 14px;
}


/*** Recommendation status CSS starts here */

ul.progress-bars {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0;
    list-style: none;
}

li.section {
    display: inline-block;
    padding-top: 45px;
    font-size: 13px;
    font-weight: bold;
    line-height: 16px;
    color: gray;
    vertical-align: top;
    position: relative;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

li.section:before {
    content: 'x';
    position: absolute;
    top: 2px;
    left: calc(50% - 15px);
    z-index: 1;
    width: 30px;
    height: 30px;
    color: white;
    border: 2px solid white;
    border-radius: 17px;
    line-height: 25px;
    background: gray;
}

.status-bar {
    height: 2px;
    background: gray;
    position: relative;
    top: 20px;
    margin: 0 auto;
}

.current-status {
    height: 2px;
    width: 0;
    border-radius: 1px;
    background: #1ab394;
}

@keyframes changeBackground {
    from {
        background: gray
    }
    to {
        background: #1ab394
    }
}

li.section.visited:before {
    content: '\2714';
    animation: changeBackground .5s linear;
    animation-fill-mode: forwards;
}

li.section.visited.current:before {
    box-shadow: 0 0 0 2px #1ab394;
}

