@mixin for($breakpoint) {

  @if $breakpoint == "mobile" {
	@media (min-width: 0px) {
	  @content;
	}
  }

  @else if $breakpoint == "mobile-only" {
	@media (min-width: 0px) and (max-width: 600px) {
	  @content;
	}
  }

  @else if $breakpoint == "tablet" {
	@media (min-width: 600px) {
	  @content;
	}
  }

  @else if $breakpoint == "tablet-only" {
	@media (min-width: 600px) and (max-width: 900px) {
	  @content;
	}
  }

  @else if $breakpoint == "desktop" {
	@media (min-width: 900px) {
	  @content;
	}
  }


}

.modal-prompt {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    width: 80%;
    max-width: 510px;
    height: auto;
    margin: 0 auto;
    position: relative;
    top: 10%;
    z-index: 1000000;

    @include for(tablet) {
        top: 25%;
    }
}

    .modal-prompt__header {
        background: #d08b13;
        border-bottom: #2d353a 10px solid;
        padding: 22px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .modal-prompt__title {
        color: #FFF;
        font-size: 15px;
        text-align: left;
        display: inline-block;
        line-height: 1.4em;
        border: 0;
        margin: 0;
        padding: 0;
        width: 60%;
        vertical-align: middle;
        font-weight: bold;
        text-transform: uppercase;

        @include for(tablet) {
            font-size: 22px;
            width: 350px;
        }
    }

    .modal-prompt__icon {
        display: inline-block;
        margin-right: 20px;
        width: 60px;
        vertical-align: middle;
    }

    .modal-prompt__content {
        padding: 25px 35px;
    }

    .modal-prompt__footer {
        padding-bottom: 20px;
        color: #757575;
        font-size: 14px;
        text-align: center;
    }

    .modal-prompt__button {
        background: #d6d6d6;
        border-radius: 6px;
        margin-bottom: 10px;
        padding: 10px;
        text-align: center;
        cursor: pointer;
        box-shadow: 0px 3px 3px rgba(0,0,0,0.18);

        &:last-of-type {
            margin-bottom: 0;
        }

        &:hover {
            cursor: pointer;
        }

        @include for(tablet) {
            padding: 15px;
        }

    }

    .modal-prompt__button--yes {
        background: #079380;
        background: linear-gradient(#00776c, #079380);
    }

    .modal-prompt__button--no {
        font-size: 13px;
        color: #999999;

        @include for(tablet) {
            font-size: 16px;
        }
    }

    .modal-prompt__button-large {
        color: #FFF;
        font-size: 13px;

        display: block;
        font-weight: bold;
        text-transform: uppercase;

        @include for(tablet) {
            font-size: 22px;
        }
    }

    .modal-prompt__button-small {
        color: #79e4d4;
        font-size: 14px;
    }

#prompt-background {
  background: rgba(255,255,255,0.8);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;

  z-index: 9999999;
}

.modal-prompt select { float: left; margin-right: 10px; }
