﻿.content-area .view-container.place-fence-map.with-alert {
    background: rgba(35,31,32,0.7);
    height: 100%;
}

.place-fences-help-text {
    margin-top: 6px;
    padding-top: 20px;
}

.caret {
    height: 0;
    width: 0;
    display: inline-block;
    border-right: 10px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin: 3px 0 0 0;
    vertical-align: middle;
    transition: transform 200ms cubic-bezier(.17,.67,.83,.67);
    font-size: 18px;
    float: right;
}

.caret-expanded {
    height: 0;
    width: 0;
    display: inline-block;
    border-right: 10px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin: 3px 0 0 0;
    vertical-align: middle;
    font-size: 18px;
    transition: transform 200ms cubic-bezier(.17,.67,.83,.67);
    transform: rotate(-90deg);
    float: right;
}

.place-fence-map .nav-bar {
    overflow: hidden;
}
    .place-fence-map .nav-bar .pull-right button {
        margin-top: 4px;
        font-size: 16px;
    }

        .place-fence-map .nav-bar button.add-gate {
            margin-left: 10px;
            margin-right: 20px;
        }

.place-fence-map .xs-instructions .sub-text {
    font-size: 12px;
    margin-top: 10px;
}

.place-fence-map .alert.sm-instructions {
    font-size: 14px;
    background: #2d2d2d;
    color: #fff;
    padding-top: 10px;
}

.place-fence-map .sm-instructions .title {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}

    .place-fence-map .sm-instructions .text {
        margin-bottom: 15px;
    }

    .place-fence-map .sm-instructions button {
        padding: 2px 20px;
    }

    .place-fence-map .sm-instructions button + button {
        margin-left: 6px;
    }

    .place-fence-map .sm-instructions button + a {
        margin-left: 10px;
        color: #fff;
    }

    .place-fence-map .sm-instructions .action-button-group {
        max-width: 700px;
        float: right;
        padding-right: 20px;
    }

    .place-fence-map .sm-instructions .primary-button-group {
        float: right;
        display: inline-block;
        padding-left: 25px;
    }

.place-fence-map .alert {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    padding: 15px;
    opacity: 0;
    display: none;
}

    .place-fence-map .alert.visible {
        opacity: 1;
        display: block;
        animation: alert-visible 250ms cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    .place-fence-map .alert.overlay {
        z-index: 1001;
        min-height: 60px;
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        font-size: 16px;
    }

    .place-fence-map .alert.with-cancel {
        padding-right: 100px;
    }

        .place-fence-map .alert.with-cancel button {
            position: absolute;
            right: 20px;
            top: 50%;
            margin-top: -16px;
        }

.place-fence-map .button-wrapper {
    text-align: right;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .content-area .view-container.place-fence-map.with-alert {
        background: none;
        height: auto
    }
}

@keyframes alert-visible {
    0% {
        display: none;
        opacity: 0;
        top: -60px;
    }
    1% {
        display: block;
        opacity: 0;
        top: -60px;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}