﻿@font-face {
	font-family: 'shwHandwritten';
	src: url('/Client/fonts/throwmyhandsupintheair-webfont.eot');
	src: url('/Client/fonts/throwmyhandsupintheair-webfont.eot?#iefix') format('embedded-opentype'),
		 url('/Client/fonts/throwmyhandsupintheair-webfont.woff') format('woff'),
		 url('/Client/fonts/throwmyhandsupintheair-webfont.ttf') format('truetype'),
		 url('/Client/fonts/throwmyhandsupintheair-webfont.svg#shwHandwritten') format('svg');
	font-weight: normal !important;
	font-style: normal;
}

.tool-section-page {
    position: relative;
    padding: 1em;
    max-width: 960px;
    min-height: 800px;
    margin: auto;
}

.tool-section-page .page-heading {
    font-size: 1.8em;
    font-family: shwHandWritten, Open Sans, Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-bottom: 0.25em;
    margin-top: 0;
}

.tool-section-page .page-heading span {
    color: #767676;    
}

.add-edit-cta {
    text-align: left;
    float: right;
    margin: 0.5em 0;
    max-width: 300px;
    color: #86004e !important;
    border: none;
    background-color: transparent;
    font-weight: bold !important;
    font-size: 1.2em;
    outline: none;
    cursor: pointer;
}

.add-edit-cta md-icon {
    color: #86004e !important;
    width: 32px;
    height: 32px;
    margin-right: 5px;
}

.add-edit-cta:focus ,
.add-edit-cta:hover {
    background-color: #ddd !important;
}

.form-modal-close-btn,
.form-modal-clear-btn {
    float: right;
    min-width: 40px !important;
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.form-modal-close-btn md-icon.md-ShwTheme-theme {
    width: 40px;
    height: 40px;
    color: rgba(0,0,0,0.54);
}

.form-modal-clear-btn md-icon.md-ShwTheme-theme {
    width: 20px;
    height: 20px;
    color: rgba(0,0,0,0.54);
}

.form-modal-close-btn:focus md-icon,
.form-modal-close-btn md-icon:hover {
    color: #555;
}

.form-modal-close-btn:hover,
.form-modal-close-btn:focus {
    background-color: #ddd;
    border-radius: 7px;
}

.form-modal-close-btn md-icon:active {
    color: #aaa;
}

.tool-form-modal-container {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
    transition: opacity 0.1s ease-out;
    overflow: visible;
}

.manual-error {
    font-size: 12px;
    line-height: 14px;
    color: rgb(221,44,0);
}

.tool-form-modal-container .tool-form-modal-container {
/*for modals in modals*/
}

.tool-form-modal-wrapper.small-modal {
    max-width: 700px;
    margin: auto;
}

.tool-form-modal-wrapper {
    transition: transform 0.3s ease-out;
    overflow: visible !important;
}

.modal-close {
    /*display: none;*/
    opacity: 0.0;
    transform: translateY(-200%);
    z-index: 0;
}

.modal-open {
    /*display: block;*/
    opacity: 1.0;
    transform: translateY(0);
    z-index: 50;
}

.tool-form-modal-wrapper.tracker-form {
    max-width: 760px;
    margin: auto;
    margin-top: 140px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.modal-header.inner-modal {
    max-width: 500px;
    margin-top: 7%;
}

.modal-body {
    /*max-width: 760px;*/
    margin: auto;
    display: flex;
    flex-direction: row;
}

.reminder-modal-bckgnd,
.modal-bckgnd {
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
}

.modal-body.reminder-modal-bckgnd {
    max-height: 500px;
    overflow-y: auto;
}

.modal-body.modal-bckgnd {
    max-height: 500px;
    overflow-y: auto;
}

/* ADDITIONAL RESOURCES STYLING */

.bottom-image {
    width: 100%;
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
}

.bottom-image img {
    max-width: 100%;
    display: block;
}

.info-widget {
    background: white;
    margin-top: 1em;
    box-shadow: 1px 1px 10px 2px #ccc;
    float: left;
    width: 100%;
}

.info-widget h3 {
    color: white;
    font-size: 1em;
    display: block;
    padding: 0.5em;
    margin: 0;
    background: #006761;
    font-weight: normal;
}

.info-widget .body {
    padding: 1em;
}

.info-widget p {
    font-size: 0.85em;
    color: black;
    margin: 3px 0 10px 0;
}

.info-widget table p {
    padding: 5px;
    font-size: 0.85em;
    color: black;
    margin: 3px 0 10px 0;
}

.info-widget .body>button {
    display: block;
    text-decoration: none;
    text-align: left;
    color: black;
    font-size: 0.9em;
    font-weight: 600;
    padding: 0.5em 0.5em 0.5em 0;
    border: none;
    background-color: transparent;
}

.info-widget .body>button:before {
    font-family: 'Glyphicons Regular';
    margin-top: 2px;
    color: #006761;
    content: "\E601";
    padding-left: 3px;
}

.info-widget .body>button.collapsed:before {
    content: "\E602";
}

.collapse-accor.in {
    height: auto;
}

.collapse-accor {
    height: 0;
    overflow: hidden;
}

.paper-log-widget {
    padding: 0 1em 1em 1em;
    background: white;
    margin-bottom: 1em;
    border-radius: 5px;
    float: right;
}

.paper-log-widget h4 {
    margin: 1em 0 0.7em 0;
    color: black;
    font-size: 1.1em;
    text-align: center;
}

.paper-log-widget p {
    font-size: 0.9em;
    margin-bottom: 10px;
}

/*VIDEO SERIES*/

.video-series-header {
    position: relative;
    border-bottom: 5px solid #707070;
}

.video-series-messaging-area {
    margin: 0 30px;
    margin-bottom: 25px;
    padding-top: 1px;
    max-width: 100%;
    font-size: 16px;
}

.video-series-image-area {
    display: none;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    height: 100%;
    right: 0;
    top: 0px;
    width: 45%;
    max-width: 700px;
}

.video-series-image-area.LivingHealthy {
    background-image: url(/shw-frontend/resources/tools/images/video-header-nutrition.jpg);
    max-height: 292px;
}

.video-series-image-area.Workout {
    background-image: url(/shw-frontend/resources/tools/images/video-header-workouts.jpg);
    max-height: 212px;
}

.video-series-now-playing {
    margin-left: 30px;
    padding-top: 5px;
}

.video-tiles-wrapper {
    margin-left: 30px;
    margin-top: 25px;
}

.video-series-player {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10 !important; /*flowplayer uses a z-index of 5000...excessive (and blocks site header menus)*/
}

/*we want to hide the player when it's in splash state*/
.video-series-player.is-splash {
    z-index: -10 !important;
    height: 0;
}

/*we don't need playlist controls for the series*/
.video-series-player .fp-playlist {
    display: none;
}

@media (max-width: 650px) {
    .modal-body {
        flex-direction: column;
    }
}

@media (min-width: 600px) {
    .bottom-image {
        width: 30%;
        float: right;
        display: block;
    }

    .info-widget {
        width: 55%;
    }

    .paper-log-widget {
        width: 40%;
    }

    .video-series-messaging-area {
        max-width: 475px;
        font-size: 14px;
    }

    .video-series-player {
        position: absolute;
    }
}

@media (min-width: 950px) {
    .video-series-image-area {
        width: 50%;
    }
}

@media (min-width: 900px) {
    .video-series-image-area {
        display: block;
    }
}

@media (min-width: 760px) {
    .tracker-add-edit-modal {
        margin: auto;
        margin-top: 5%;
        max-width: 760px;
    }
}

@media (max-height: 800px) {
    .modal-body.reminder-modal-bckgnd {
        max-height: 400px;
        overflow-y: auto;
    }

    .modal-body.modal-bckgnd {
        max-height: 500px;
        overflow-y: auto;
    }
}

@media (max-height: 700px) {
    .tool-form-modal-wrapper.tracker-form {
        margin-top: 0;
    }
}

@media (max-height: 600px) {
    .modal-body.reminder-modal-bckgnd,
    .modal-body.modal-bckgnd {
        max-height: 60vh;
    }
}
