/* ----- default new calculator styles ----- */
@font-face {
    font-family: Din;
    src: url(fonts/DINWeb.eot);
    src: url(fonts/DINWeb.eot?#iefix) format('embedded-opentype'), url(fonts/DINWeb.woff) format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Din;
    src: url(fonts/DINWeb-Bold.eot);
    src: url(fonts/DINWeb-Bold.eot?#iefix) format('embedded-opentype'), url(fonts/DINWeb-Bold.woff) format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: DinPro;
    src: url(fonts/fontfont_-_dinpro-condblack-webfont.eot);
    src: url(fonts/fontfont_-_dinpro-condblack-webfont.eot?#iefix) format('embedded-opentype'),
        url(fonts/fontfont_-_dinpro-condblack-webfont.woff) format('woff'),
        url(fonts/fontfont_-_dinpro-condblack-webfont.ttf) format('truetype'),
        url(fonts/fontfont_-_dinpro-condblack-webfont.svg#din_procondensed_black) format('svg');
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #fff;
    font-family: Din;
    font-size: 20px;
    color: #555;
}
h1 {
    font-size: 30px;
    margin: 0 0 36px 0;
    color: #111726;
}
header {
    background-color: #fff;
    text-align: right;
    padding: 18px 30px 18px 0;
}
@media (max-width: 400px) {
    header {
        text-align: center;
        padding-right: 0;
    }
}
header a {
    width: 216px;
    height: 27px;
    display: inline-block;
}
.calc-results,
.calc-share,
.calc-embed,
.btn-refresh {
    display: none;
}
.calc-body {
    background-color: #fafafa;
    padding: 45px 0 30px 0;
}
.calc-form,
.calc-results,
.calc-share-links {
    width: auto;
    margin: auto;
    text-align: center;
}
.calc-select {
    width: auto;
    display: inline-block;
}
.calc-results span {
    font-size: 27px;
    color: #939393;
    line-height: 1.4em;
}
.calc-results .start,
.calc-results .end {
    color: #111726;
}
.calc-btn {
    font-family: Din;
    font-size: 20px;
    background-color: #d90432;
    font-weight: bold;
    color: #fff;
    border: none;
    padding: 10px 60px 8px 60px;
    border-radius: 28px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    clear: both;
    margin-top: 32px;
}
.calc-btn:hover {
    background-color: #a60024;
}
.calc-btn-close {
    float: right;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    background: transparent url('../images/icon-close.png') 0 0 no-repeat;
    background-size: 32px 32px;
    margin-right: 30px;
}
.calc-share-links {
    padding-top: 50px;
}
.calc-share-links a {
    width: 115px;
    height: 115px;
    border-radius: 99px;
    border: 2px solid #656363;
    display: inline-block;
    text-indent: -9999px;
}
.calc-share-links .share-fb {
    background: transparent url('../images/icon-fb.png') center center no-repeat;
    background-size: 23px 50px;
}
.calc-share-links .share-fb:hover {
    background: transparent url('../images/icon-fb-hover.png') center center no-repeat;
    background-size: 23px 50px;
    border-color: #d90432;
}
.calc-share-links .share-tw {
    margin: 0 50px;
    background: transparent url('../images/icon-tw.png') center center no-repeat;
    background-size: 54px 45px;
}
.calc-share-links .share-tw:hover {
    background: transparent url('../images/icon-twitter-hover.png') center center no-repeat;
    background-size: 54px 45px;
    border-color: #d90432;
}
.calc-share-links .share-embed {
    background: transparent url('../images/icon-embed.png') center center no-repeat;
    background-size: 82px 43px;
}
.calc-share-links .share-embed:hover {
    background: transparent url('../images/icon-embed-hover.png') center center no-repeat;
    background-size: 82px 43px;
    border-color: #d90432;
}
@media (max-width: 540px) {
    .calc-share-links a {
        width: 67px;
        height: 67px;
    }
    .calc-share-links .share-fb,
    .calc-share-links .share-fb:hover {
        background-size: 12px 25px;
    }
    .calc-share-links .share-tw {
        margin: 0 25px;
    }
    .calc-share-links .share-tw,
    .calc-share-links .share-tw:hover {
        background-size: 27px 27px;
    }
    .calc-share-links .share-embed,
    .calc-share-links .share-embed:hover {
        background-size: 41px 22px;
    }
}
.calc-share-links textarea {
    border: 1px solid #c3c5c6;
    color: #333;
    max-width: 400px;
    min-width: 400px;
    margin-top: 32px;
    padding: 20px 30px;
    min-height: 60px;
    overflow: hidden;
    word-wrap: break-word;
    text-wrap: unrestricted;
}
footer {
    background-color: #fafafa;
    padding: 0 0 10px 0;
    float: left;
    width: 100%;
}
footer a {
    color: #555;
    text-decoration: none;
    padding: 10px 0;
    display: inline-block;
}
footer a:hover {
    color: #d90432;
    text-decoration: underline;
}
footer .btn-refresh {
    float: left;
    margin-left: 30px;
    background: transparent url('../images/icon-arrow-left.png') 0 12px no-repeat;
    background-size: 10px 14px;
    padding-left: 27px;
    line-height: 1em;
}
footer .btn-share {
    float: right;
    margin-right: 30px;
    background: transparent url('../images/icon-share.png') 0 3px no-repeat;
    background-size: 23px 29px;
    padding-left: 40px;
    line-height: 1em;
}

/* ----- specific calc styles ----- */
.calc-fertility .results-date {
    padding-top: 22px;
}
.calc-duedate .results-due {
    font-size: 30px;
    line-height: 1.4em;
    color: #111726;
}

/* ----- select plugin styles ----- */
.selectric-wrapper {
    position: relative;
    cursor: pointer;
    text-align: left;
}

.selectric-responsive {
    width: 100%;
}

.selectric {
    position: relative;
    overflow: hidden;
}

.selectric .label {
    display: block;
    border-bottom: 2px solid #c3c5c6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 38px 0 10px;
    line-height: 38px;
    color: #aaa;
    height: 38px;
    min-width: 55px;
    text-align: center;
    font-family: Din;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric .label:hover {
    color: #111726;
}

.selectric .button {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: transparent url('../images/icon-down-arrow.png') 13px 15px no-repeat;
    background-size: 13px 7px;
    font: 0/0 a;
    *font: 20px/38px Lucida Sans Unicode, Arial Unicode MS, Arial;
}

.selectric .button:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: #bbb;
    border-bottom: none;
}

.selectric-focus .selectric {
    border-color: #aaaaaa;
}

.selectric-hover .selectric {
    border-color: #c4c4c4;
}

.selectric-hover .selectric .button {
    color: #a2a2a2;
}

.selectric-hover .selectric .button:after {
    border-top-color: #a2a2a2;
}

.selectric-open {
    z-index: 9999;
}

.selectric-open .selectric {
    border-color: #c4c4c4;
}

.selectric-open .selectric-items {
    display: block;
}

.selectric-disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-hide-select {
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
}

.selectric-hide-select select {
    position: absolute;
    left: -100%;
}

.selectric-hide-select.selectric-is-native {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.selectric-hide-select.selectric-is-native select {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    border: none;
    z-index: 1;
    box-sizing: border-box;
    opacity: 0;
}

.selectric-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 1px !important;
    height: 1px !important;
    outline: none !important;
    border: none !important;
    *font: 0/0 a !important;
    background: none !important;
}

.selectric-temp-show {
    position: absolute !important;
    visibility: hidden !important;
    display: block !important;
}

/* Items box */
.selectric-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #f8f8f8;
    border: 1px solid #c4c4c4;
    z-index: -1;
    box-shadow: 0 0 10px -6px;
}

.selectric-items .selectric-scroll {
    height: 100%;
    overflow: auto;
}

.selectric-above .selectric-items {
    top: auto;
    bottom: 100%;
}

.selectric-items ul,
.selectric-items li {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 20px;
    min-height: 20px;
}

.selectric-items li {
    display: block;
    padding: 4px;
    font-size: 16px;
    color: #777;
    cursor: pointer;
}

.selectric-items li.selected {
    background: #e0e0e0;
    color: #444;
}

.selectric-items li.highlighted {
    background: #d0d0d0;
    color: #444;
}

.selectric-items li:hover {
    background: #d5d5d5;
    color: #444;
}

.selectric-items .disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default !important;
    background: none !important;
    color: #666 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-items .selectric-group .selectric-group-label {
    font-weight: bold;
    padding-left: 10px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: none;
    color: #444;
}

.selectric-items .selectric-group.disabled li {
    filter: alpha(opacity=100);
    opacity: 1;
}

.selectric-items .selectric-group li {
    padding-left: 25px;
}
