﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 30px; /* Vertically center the text there */
}

.affiliation-logo img {
    width: 140px !important;
    filter: grayscale(0);
    vertical-align: middle;
    -webkit-filter: grayscale(100%);
}

    .affiliation-logo img:hover {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0);
    }

    .affiliation-logo a, a:hover {
        text-decoration: none;
    }

/** Prescript Refill Form **/
/*Targeting iPhone 2G-4S devices viewing in landscape */
@mediaonly screen and (min-device-width : 320px) and (max-device-width : 480px) and(orientation : landscape) {
    .embed-container {
        padding-bottom: 235% !important;
    }
}

/*Targeting iPhone 2G-4S devices viewing in portrait */
@mediaonly screen and (min-device-width : 320px) and (max-device-width : 480px) and(orientation : portrait) {
    .embed-container {
        padding-bottom: 600% !important;
    }
}

/*Targeting iPhone 5/5S devices viewing in landscape */
@mediaonly screen and (min-device-width : 320px) and (max-device-width : 568px) and(orientation : landscape) {
    .embed-container {
        padding-bottom: 160% !important;
    }
}

/*Targeting iPhone 5/5S devices viewing in portrait */
@mediaonly screen and (min-device-width : 320px) and (max-device-width : 568px) and(orientation : portrait) {
    .embed-container {
        padding-bottom: 326% !important;
    }
}

/*Targeting all iPad devices viewing in landscape */
@mediaonly screen and (min-device-width : 768px) and (max-device-width : 1024px) and(orientation : landscape) {
    .embed-container {
        padding-bottom: 90% !important;
    }
}

/*Targeting iPhone 6 devices viewing in landscape */
@mediaonly screen and (min-device-width : 375px) and (max-device-width : 667px) and(orientation : landscape) {
    .embed-container {
        padding-bottom: 133% !important;
    }
}

/*Targeting iPhone 6 devices viewing in portrait */
@mediaonly screen and (min-device-width : 375px) and (max-device-width : 667px) and(orientation : portrait) {
    .embed-container {
        padding-bottom: 265% !important;
    }
}

/*Targeting all iPad devices viewing in portrait */
@mediaonly screen and (min-device-width : 768px) and (max-device-width : 1024px) and(orientation : portrait) {
    .embed-container {
        padding-bottom: 118% !important;
    }
}

.embed-container-wrapper {
    display: flex;
    flex-direction: column;
}

.embed-container {
    /*position: relative;
    padding-bottom: 80%;
    height: 0;
    overflow: hidden;
    max-width: 100%;*/
    display: flex;
    flex-direction: column;
    width: 95%;
    height: 90vh;
    min-height: 250px;
}

    .embed-container iframe, .embed-container object, .embed-container embed {
        /*position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;*/
        flex: 1 1 600px;
        border: 0;
        min-height: 100%; /* IE11 fix */
        width: 100%; /* IE11 fix */
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        min-width: 320px;
    }


/* Card deck sizing per screen breakpoint */
/* Extra small devices (portrait phones, less than 576px) No media query since this is the default in Bootstrap because it is "mobile first" */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .card-deck .card {
        flex-basis: 33.3%;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    .card-deck .card {
        flex-basis: 33.3%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .card-deck .card {
        flex-basis: 10%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}