/* FONTS */
@font-face {
    font-family: PTSerif;
    src: url('../../v2/fon/PTSerif-Regular.otf');
    src: url('../../v2/fon/PTSerif-Regular.eot');
    src: url('../../v2/fon/PTSerif-Regular.eot?#iefix') format('embedded-opentype'),
            url('../../v2/fon/PTSerif-Regular.woff') format('woff'),
            url('../../v2/fon/PTSerif-Regular.ttf')  format('truetype'),
            url('../../v2/fon/PTSerif-Regular.svg#svgFontName') format('svg');
}

/* VARIABLES */
:root {

    /* FONTS */
    --txt-regular: PTSerif;
    --txt-regular-alt: Arial, Helvetica, sans-serif;
    --txt-heading: PTSerif;

    /* COLORS */
    --col-brand: #0d406b;
    --col-brand-alt: #1972b5;
    --col-grey-light: #eeeeee;
    --col-grey-dark: #949494;

    /* BORDER */
    --bor-radius: 10px;

    /* ANIMATIONS */
    --hover-speed: 0.3s;

    /* MARGINS */
    --width-desktop: 1200px;

}

/* SETUP */
body {
    font: 20px var(--txt-regular);
    color: #000000;
    line-height: 1.5;
    text-align: left;
    background-color: var(--col-grey-dark);
    background-image: url(../../v2/img/background.jpg);
    margin: 0;
    padding: 0;
}
body, html {
    height: 100%;
}
* {
    box-sizing: border-box;
}

/* COMMON */
.body_wrapper {
    width: 100%;
    max-width: var(--width-desktop);
    margin: 0 auto;
    position: relative;
}
.body_padding {
    padding-left: 2.5%;
    padding-right: 2.5%;
}
a {
    color: var(--col-brand);
    text-decoration: none;
    transition: color var(--hover-speed) ease-in-out;
}
a:hover, a:focus {
    color: var(--col-brand-alt);
    text-decoration: none;
}
img {
    max-width: 100%;
}
.heading, h1, h2, h3 {
    font-family: var(--txt-heading);
    font-size: 1.85rem;
    line-height: 1.1em;
    display: block;
    margin: 1em auto;
}
.ds {
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.25);
}
.rounded {
    border-radius: var(--bor-radius);
}
.hideFromMobile {
	width: 0;
	height: 0;
	display: none;
	visibility: hidden;
}

/* BUTTONS */
.btn_orange {
    font-family: var(--txt-regular-alt);
    font-size: 2rem;
    color: #ffffff;
    line-height: 1em;
    text-align: center;
    background: #f7ba38; /* Old browsers */
    background: -moz-linear-gradient(top, #f7ba38 1%, #fb9930 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #f7ba38 1%,#fb9930 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #f7ba38 1%,#fb9930 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border-radius: var(--bor-radius);
    -webkit-box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.15);
    box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.15);
    display: inline-block;
    padding: 0.4em 2.5em;
    transition: transform var(--hover-speed) ease-out;
}
.btn_orange span {
    text-shadow: 2px 2px 0 rgba(0,0,0,0.05);
}
.btn_orange:hover, .btn_orange:focus {
    transform: scale(1.05);
}

/* HEADER */
header {
    z-index: 2;
}
header > .body_wrapper {
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
}
header > .body_wrapper::after {
    width: 100%;
    height: 5px;
    content: "";
    background-color: var(--col-brand);
    position: absolute;
    bottom: 5px;
    left: 0;
}
header .logo {
    width: 50%;
    vertical-align: middle;
}
header .tag {
    font-size: 0.75rem;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}
header .phone {
    width: 40%;
    position: absolute;
    top: 50%;
    right: 2.5%;
    transform: translateY(-50%);
}

/* BODY */
.body {
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
}
.body > h1, .body > .heading, .body > h2 {
    z-index: 1;
    text-align: center;
    line-height: 1.25em;
    margin-top: 0;
    margin-bottom: 30px;
}
.body > h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}
.body > .author {
    width: 100%;
    font-family: var(--txt-regular-alt);
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: var(--col-brand-alt);
    border-radius: 5px;
    padding: 0.5em 1.25em;
    margin-bottom: 30px;
}
.body > p {
    text-indent: 1.5em;
}
.body .img_larry_dudley {
    border-radius: var(--bor-radius);
    margin-bottom: 20px;
}
.body .video_larry {
    width: 100%;
    margin: 30px auto;
}
.body .video_larry .heading {
    font-family: var(--txt-regular-alt);
    font-size: 1.15rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1em;
}
.body .video_larry .video, .body .video_larry .video div {
    border-radius: var(--bor-radius);
}
.body .video_larry .video_bottom {
    width: 100%;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    background-color: var(--col-grey-light);
    border-bottom-left-radius: var(--bor-radius);
    border-bottom-right-radius: var(--bor-radius);
    padding: 0.5em 0;
    cursor: pointer;
}
.body .danoff_tv {
    width: 100%;
    border-radius: var(--bor-radius);
    display: block;
    margin: 0 auto;
    margin-bottom: 60px;
}
.btn_orange {
    margin-left: 2.5%;
    margin-bottom: 30px;
}

/* DUDLEY INFO */
.dudley_info {
    width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: top;
    margin-left: 0;
}
.dudley_info > .dudley {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.dudley_info > .heading {
    width: 100%;
    font-family: var(--txt-regular-alt);
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    background-color: var(--col-brand-alt);
    border-top-left-radius: var(--bor-radius);
    border-top-right-radius: var(--bor-radius);
    padding: 0.5em;
    margin: 0 auto;
}
.dudley_info > .copy {
    width: 100%;
    height: auto;
    color: #ffffff;
    background-color: #6f8297;
    border-bottom-left-radius: var(--bor-radius);
    border-bottom-right-radius: var(--bor-radius);
    padding: 20px 2.5%;
    padding-top: 10px;
}
.dudley_info > .copy > p {
    width: 90%;
    font-family: var(--txt-regular-alt);
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.4;
    text-indent: 0;
}
.dudley_info > .copy > h2 {
    width: 100%;
    font-size: 1.15rem;
    font-family: var(--txt-regular-alt);
    font-style: italic;
    color: #ffffff;
    text-align: left;
    margin: 0.5em 0;
}
.dudley_info > .copy > ul {
    width: 100%;
    font-family: var(--txt-regular-alt);
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.4;
    padding: 0;
    padding-left: 10%;
    margin: 0;
}
.dudley_info > .copy > .badge {
    width: 90%;
    height: auto;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 7px;
    background-color: #546272;
    border-top-left-radius: var(--bor-radius);
    border-bottom-left-radius: var(--bor-radius);
    margin-top: 10px;
    margin-left: 12.5%;
}
.dudley_info > .copy > .badge img {
    width: 10%;
    display: inline-block;
    margin-left: 5%;
    vertical-align: middle;
}
.dudley_info > .copy > .badge span {
    font-family: var(--txt-regular);
    color: #ffffff;
    vertical-align: top;
}
.dudley_info > .copy > .badge .copy {
    width: 80%;
    display: inline-block;
    margin-left: 2%;
    vertical-align: middle;
}

/* PIP */
.pip {
    width: 100%;
    height: 100%;
    font-size: 1rem;
    padding: 2em;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    visibility: hidden;
}
.pip > .wrapper {
    width: 100%;
    max-width: var(--width-desktop);
    background-color: #ffffff;
    border-radius: var(--bor-radius);
    padding: 2em;
    padding-top: 3em;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.pip::before {
    width: 100%;
    height: 100%;
    content: "";
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.75;
}
.pip > .wrapper > button{
    font-family: var(--txt-regular-alt);
    font-size: 1.1rem;
    font-weight: bold;
    background-color: transparent;
    border: none;
    outline: none;
    position: absolute;
    top: 15px;
    right: 2em;
    cursor: pointer;
    transition: transform var(--hover-speed) ease-out;
}
.pip > .wrapper > button:hover, .pip > .wrapper > button:focus {
    transform: scale(1.05);
    text-decoration: underline;
}
.pip > .wrapper > iframe {
    width: 100%;
    height: 90vh;
}

/* FOOTER */
footer {
    z-index: 2;
    font-family: var(--txt-regular-alt);
    font-size: 1rem;
    color: #555555;
    text-align: center;
    background-color: var(--col-grey-light);
    padding: 30px 0;
}
footer a {
    color: #555555;
}
footer > p:first-child {
    margin-top: 0;
}
footer > .disclaimer {
    width: 90%;
    font-size: 0.9rem;
    margin: 2em auto;
}
footer > .alert {
    width: 95%;
    font-size: 0.85rem;
    border: #555555 solid 3px;
    padding: 1em;
    margin: 2em auto;
}
footer > .alert > p:first-child {
    font-weight: bold;
    margin-top: 0;
}
footer > .alert > p:last-child {
    margin-bottom: 0;
}
footer > .ref {
    font-size: 1.05rem;
    text-align: left;
    line-height: 1.4em;
    list-style: none;
    padding: 0;
    margin: 2em auto;
}
footer > .ref > li {
    margin: 0.5em auto;
}
footer > .ref > li:first-child {
    font-weight: bold;
}

/* ===================
    ---- DESKTOP ----
   =================== */
@media screen and (min-width: 750px) {

    /* COMMON */
    .heading, h1, h2, h3 {
        font-size: 2.5rem;
    }
    .hideFromDesktop {
		width: 0;
		height: 0;
		display: none !important;
		visibility: hidden !important;
	}
    .hideFromMobile {
		width: auto;
		height: auto;
		display: inline-block;
		visibility: visible;
    }

    /* BUTTONS */
    .btn_reg {
        font-size: 2em;
    }

    /* HEADER */
    header {
        z-index: 2;
    }
    header > .body_wrapper {
        background-color: #ffffff;
        padding-top: 20px;
        padding-bottom: 30px;
    }
    header > .body_wrapper::after {
        width: 100%;
        height: 5px;
        content: "";
        background-color: var(--col-brand);
        position: absolute;
        bottom: 5px;
        left: 0;
    }
    header .logo {
        width: 25%;
    }
    header .tag {
        font-size: 1.25rem;
    }
    header .phone {
        width: 15%;
    }

    /* BODY */
    .body > h2 {
        font-size: 2rem;
    }
    .body > .author {
        width: 105%;
        font-size: 1.5rem;
        padding: 0.25em 1.25em;
        margin-left: -2.5%;
        margin-bottom: 30px;
    }
    .body .video_larry {
        width: 90%;
    }
    .body .video_larry .heading {
        font-size: 1.5rem;
        text-align: left;
        margin-bottom: 0.75em;
    }
    .body .video_larry .video_bottom {
        font-size: 1.75rem;
    }
    .body .danoff_tv {
        width: 90%;
    }
    .body .wrap_left {
        width: 62%;
        display: inline-block;
        vertical-align: top;
    }
    .btn_orange {
        margin-left: 25%;
    }

    /* DUDLEY INFO */
    .dudley_info {
        width: 34%;
        margin-left: 2%;
    }

    /* FOOTER */
    footer > .disclaimer {
        width: 70%;
    }
    footer > .alert {
        width: 80%;
    }

}