@font-face {
    font-family: 'Agency';
    src: url('../fonts/AgencyPLRegular.woff2') format('woff2'),
         url('../fonts/AgencyPLRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Birch Std';
    src: url('../fonts/BirchStd.woff2') format('woff2'),
         url('../fonts/BirchStd.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.paper {
    position: relative;
    background-color: white;
  /*  margin: 50px auto;
-moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);*/
    margin: 50px auto;
}

/* Actual Paper Sizes */
.paper.us {
    box-sizing: border-box;
    width: 279.4mm;
    padding-left: 4mm;
    padding-right: 2mm;
    /* --------- 279.4mm in total --- */
    height: 215.9mm;
    padding-top: 2.5mm;
    /* --------- 215.9mm in total --- */

}

.paper.eu {
    /*box-sizing: border-box;*/
    width: 297mm;
    padding-left: 9mm;
    padding-right: 5mm;
    /* --------- 297mm in total --- */
    height: 210mm;
    padding-top: 4mm;
    /* --------- 210mm in total --- */
    /*background: url("/Themes/default/images/RPE_01.jpg") center center;
    background-size: contain;*/

}


.paper.us:after, .paper.eu:after{
    content: '';
    position:absolute;
    z-index:-1;
    bottom:-3px;
    width:94%;
    left:50%;
    margin-left:-47%;
    height:30px;
    box-shadow: 0 16px 30px -5px rgba(0, 0, 0, 1);
    -webkit-transform: perspective(800px) rotateY(0deg) rotateX(45deg);
    -moz-transform: perspective(800px) rotateY(0deg) rotateX(45deg);
    -ms-transform: perspective(800px) rotateY(0deg) rotateX(45deg);
    -o-transform: perspective(800px) rotateY(0deg) rotateX(45deg);
    transform: perspective(800px) rotateY(0deg) rotateX(45deg);
}


#birthplan {
    font-family: 'Agency', 'Teko', sans-serif;
    font-weight: 300;
    font-size: 14pt;
}

/* BirthPlan Layout */

#birthplan header {
    width: 63.3%;
    float: left;
    margin-bottom: 7mm;
    margin-top: 4mm;
}

#birthplan .people {
    min-width: 25%;
    float: right;
    text-align: center;
    margin-right: 2mm;
}


#birthplan .pref {
    width: 74.5%;
    float: left;
}

#birthplan .side.panel {
    width: 23%;
    float: right;
    padding: 2mm;
    margin-top: 13mm;
    margin-right: 4mm;
}


#birthplan .bottom.panel {
    width: 73.4%;
    float: left;
    padding-top: 3mm;
    overflow: hidden;
}

#birthplan footer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 13.468%;
    text-align: center;
    color: #77b3d4;
    font-size: 5mm;
    letter-spacing: 0.2mm;
    margin-right: 0;
}

#birthplan footer img {
    width: 100%;
}

/* BP Elements */

#birthplan img.circle-img {
    max-width: 21.7mm;
    width: 34.5%;
    border-radius: 50%;

}

#birthplan h1, #birthplan h2, #birthplan .people .name {
    font-family: 'Birch Std', 'Oranienbaum', serif;
    font-size: 12mm;
    padding: 0;
    margin: 0;
    font-weight:normal;
    overflow: hidden;
    white-space: nowrap;
    text-transform: capitalize;
}

/* BP Header */

    #birthplan header h1 span.extra-info, #birthplan h2  {
        color: #76c2af;
        font-size: 9mm;
        text-transform: none;

    }

    #birthplan header p {
        text-transform: uppercase;
        margin: 2mm 0;
    }

    #birthplan header p span {
        color: #808080; 
    }

/* BP People */

    #birthplan .person{
        text-align: center;
        /*width: 21.7mm;*/
        color: #c75c5c;
        display: inline-block;
        margin: 0 0.4mm;
        text-transform: uppercase;
        font-size: 4.5mm;
        vertical-align: top;
        white-space: nowrap;
    }

    #birthplan .people .photo {
        width: 18.75mm;
        height: 18.75mm;
        border-radius: 50%;
        background-image: url(/Themes/default/images/head.png);
        /*background:url(/home/visualbirthplan/public_html/creator_dev/Themes/default/images/head.png) no-repeat;*/
        background-color: #f0f0e9;
       /* background-size: cover;*/
        background-size:100% 100%;
    }

    #birthplan .people .no.photo {
        width: 22mm;
        height: 22mm;
        margin-top:2mm;
    }

    #birthplan .people .name {
        font-size: 8mm;
        color: #000;
        text-transform: capitalize;
    }

    #birthplan .people.longnames .name {
        font-size: 7mm;
    }

    #birthplan .people.longnames .person{
        font-size: 4.5mm;
    }

    #birthplan .people .name {
        padding-top: 0.5mm;
    }

    #birthplan .people .no.photo + .name {
        margin-top: -16.25mm;
        font-size: 7mm;
    }

    /*#birthplan .people .name::after, #birthplan .people .name + div::after {*/
    /*    content:".";*/
    /*    font-size: 1px;*/
    /*}*/

 /* BP Pref */

    #birthplan .pref .stage {
       width: 31.5%;
       display: block;
       margin-left: 4mm;
       border: 0.3mm solid #76c2af;
       min-height: 135mm;
       float: left;
    }

    #birthplan .pref .stage.one {
        margin-left: 0;
    }

    #birthplan .pref .stage.two {
        border-color: #77b3d4;
    }

    #birthplan .pref .stage.three {
        border-color: #4f5d73;
    }

    #birthplan .pref h2 {
        color: #c75c5c;
        background-color: #fff;
        width: 27mm;
        margin: -5.3mm auto 1mm auto;
        text-align: center;
    }

    #birthplan .pref h2 span {
        vertical-align: super;
        font-size: 5mm;
    }

    #birthplan .pref h2 + div:first-of-type {
        margin-top: -2.5mm;
    }

    #birthplan .pref ul {
        list-style-type:none;
        margin-bottom: 3.75mm;
    }

    #birthplan .pref img {
        margin: 2mm 0 2mm 4mm;
    }

    #birthplan .pref .stage .pref-text {
        width: 34.5mm;
        height: 25mm;
        display: inline-block;
        vertical-align: top;
    }

    #birthplan .pref .stage .pref-text .content {
        font-size: 5.9mm;
        left: 3mm;
        position: relative;
        float: left;
        top: 50%;
        line-height: 6.5mm;
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        text-transform: lowercase;
    }

    #birthplan .pref .stage .pref-text .content small {
        font-size: 5.65mm;
    }

    #birthplan .pref .stage .pref-text .content.hyphenate {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

    #birthplan .pref .stage .pref-text .content.not-lowercase {
        text-transform: inherit;
    }

   #birthplan .pref .stage  .pref-text .content span.details, #birthplan .pref .stage  .pref-text .content span.caps {
       font-size: 5mm; /* was 14pt*/
       padding-top: 0;
       padding-left: 0;
   }

    #birthplan .pref .stage  .pref-text .content span.details {
        color: #999;
    }


/* Questions - Bottom Panel / Side Panel */
    #birthplan .bottom.panel span,
    #birthplan .bottom.panel .babycare span,
    #birthplan .bottom.panel .babycare h2 {
        vertical-align: top;
        display: inline-block;
        padding: 1.15mm 0;
    }

    #birthplan .bottom.panel .ask, #birthplan .side.panel .ask {
        text-transform: uppercase;
        line-height: 1;
        padding-top: 2.5mm;
        font-size: 4.75mm;
    }
    #birthplan .side.panel h2 + .ask {
        margin-bottom: 2mm;
        line-height: 0.6;
    }

    #birthplan .bottom.panel .bracket, #birthplan .side.panel .bracket {
        font-size: 16mm;
        font-family: 'Oranienbaum', serif;
        color:#77B3D4;
    }

    #birthplan .bottom.panel.note div, #birthplan .bottom.panel.note div img  {
        display:inline-block;
        width: 19mm;
        height: 19mm;
        margin-top: 1.5mm;
    }

    #birthplan .bottom.panel.note div.bp-note {
        display:inline-block;
    }
    
    #birthplan .bottom.panel.note div.bp-note h2 {
        color: #4E5D74;
        padding-left: 0.6vw;
        padding-top: 0.2vw;
    }

    #birthplan .bottom.panel.note span {
        font-size: 5mm;
        padding-top: 1.7mm;
        padding-left: 3mm;
        width: 170mm;
        display:inline-block;
        white-space: pre-wrap;
        line-height: 6.5mm;
        overflow: hidden;
        height: 27.5mm;
    }

    #birthplan .side.panel {
        text-align: center;
        z-index: 1000;
        position: relative;
    }

    #birthplan .side.panel img.circle-img {
        margin-bottom: 3mm;
    }

    #birthplan .side.panel h2 {
        color: #c75c5c;
        line-height: 6.5mm;
    }

    #birthplan .side.panel .bracket {
        -ms-transform: rotate(90deg); /* IE 9 */
        -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
        transform: rotate(90deg);
    }

    #birthplan .side.panel .questions {
        line-height: 6mm;
    }

    #birthplan .side.panel p {
        padding: 1mm 0 0 0;
        line-height: 1.15;
    }

    #birthplan .side.panel .personal-note {
        white-space: pre-wrap;
        line-height: 6.5mm;
        margin-top: -7.5mm;
    }


    #birthplan .bottom.panel > .circle-img {
        width: 19mm;
    }

    #birthplan .bottom.panel .questions {
        padding: 5.5mm 0;
        white-space: nowrap;
    }

    #birthplan section.bottom.panel .bracket + span {
        margin-right: 5mm;
    }

    #birthplan .bottom.panel .ask, #birthplan .bottom.panel .bracket{
        margin: 3.5mm 1.5mm;
    }

    #birthplan .bottom.panel > img {
        margin-top: 3.5mm;
        margin-left: 2mm;
    }



    /* Baby Care */
    #birthplan .bottom.panel .babycare {
        background-color: #f3f3f2;
    }
    
    #birthplan .bottom.panel .babycare .circle-img {
        margin: 3.25mm 3mm 1.25mm 4mm;
    }

    #birthplan .bottom.panel .babycare h2 {
        line-height: 26.5mm;
        font-size: 8.25mm;
    }

    #birthplan .bottom.panel .babycare h2 span {
        line-height: 8.25mm;
        margin-top: 4.25mm;
        display: block;
    }

    #birthplan .bottom.panel .babycare .bracket {
        color: #76c2af;
        line-height: 19mm;
    }

    #birthplan .bottom.panel .babycare > div {
        width: 24.5mm;
        display: inline-block;
        vertical-align: top;
    }

    #birthplan .bottom.panel .babycare div > img.circle-img {
        width: 14.7mm;
        height: 14.7mm;
        margin-top: 2mm;
        margin-left: 4mm;
        margin-right: 0;
    }

    #birthplan .bottom.panel .babycare .pref-text {
        width:22.5mm;
        max-width: 22.5mm;
        margin-top: 0.5mm;
        text-transform: uppercase;
        text-align: center;
        font-size: smaller;
        max-height: 8.5mm;
        overflow-y: hidden;
    }


  /*  .care-item {
        width: 22mm;
        text-transform: uppercase;
        text-align: center;
        margin-top: 1mm;
        display: inline-block;
        font-size: smaller;
    }

    .care-item p {
        margin-top: 1mm;
        margin-bottom:0;
    }
*/
    .care-item p.oneliner {
        margin-top: 5mm;
    }


    /* Emergency Situations */

    #birthplan .side.panel h2 {
        color: #c75c5c;
        font-size:8mm;
        line-height: 1;
    }

    #birthplan .side.panel p {
        color: #c75c5c;
    }

    #birthplan .side.panel p span, #birthplan .side.panel p.personal-note {
        color: #4f5d73;
        overflow: hidden;
        max-height: 140mm;
    }

    /*personal note */
    #birthplan .side.panel p.personal-note {
        padding-top: 10mm;
    }


    @page {
      /*  size: 297mm 210mm;*/
        margin-left: 7mm;
        margin-top: 5mm;
        margin-right: 13mm;
        margin-bottom: 0;
  /*      size: 297mm 210mm landscape;*/
        size: landscape;
    }


    @media print {
        main {
            background:none;
        }

        .paper {
            margin:0;
        }

        .print-bar {
            display:none;
        }
    }

#DEVBANNER {
    display:none;
}