/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	background-color: #000;
	margin: 0px;
	font-family: Helvetica, Arial, sans-serif;
}
img {
	max-width:100%;
}
.container {
    background-color:#FFF;
}
#bt_invite_box  {
    visibility:hidden;
    line-height:initial;
}
#bt_invite_box * {
    box-sizing:initial;
}
#bt_invite_box td, #bt_invite_box th {
    padding:1px;
}
#headerDesktop, #footerDesktop {
    display:none;
}
#headerPhone, .callToAction, #footerPhone {
	text-align:center;
	font-size:2em;
	color:#B5000B;
	font-weight:bold;
	display:block;
	text-decoration:none;
}
#footer {
	border-top:1px solid #ccc;
}
#socialTrust {
    border-bottom:1px solid #ccc;
    border-top:1px solid #ccc;
    overflow: hidden;
    margin-bottom:20px;
}
#trustBar {
    text-align: center;
    margin: 10px 0;
}
.trustItem {
    width:150px;
    display:block;
    margin:auto;
}
#s1, #s2, #tms {
    display:none;
}
#socialIcons {
    text-align: center;
    margin:10px 0;
}
#socialIcons img{
	height:30px;
	margin-right:9px;
}
#navTop {
    text-align: center;
    padding:0;
    background-color:#222;
    border-top:1px solid #666;
    display:none;
}
#navTop li {
    list-style: none;
    display:block;
    font-size:14px;
    padding:5px 0;
}
#navTop li a {
    color:#FFF;
}
#mobileMenuButton {
    display:block;
    text-align: center;
    background-color:#222;
    padding:5px 0;
    font-weight: bold;
    font-size:14px;
}
a#mobileMenuButton {
    color:#FFF;
}
#navBottom {
    text-align: center;
    padding:0;
}
#navBottom li {
    list-style: none;
    display:block;
    font-size:12px;
}
#navBottom li a {
    text-decoration: underline;
    font-weight: bold
}
#navBottom li a:hover {
    text-decoration: none;
}
#quoteButtonWrapper {
    text-align: center;
}
#quoteButton {
    display: block;
    margin: auto;
    padding: 10px;
    background-color: #B30211;
    color: #FFF;
    font-size: 21px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    border-radius:10px;
    border:2px solid #FFF;
    box-shadow:0 0 3px #000;
}
#quoteButton:hover {
    text-decoration: none;
    background-color:#F00;
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom:30px;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#quoteForm {
	padding:5px;
	margin:auto;
	width:100%;
	background-color:#ededed;
}
#quoteForm h2 {
	text-align:center;
	color:#B5000B;
}
#quoteForm p {
	text-align:center;
	font-weight:bold
}
#quoteForm label, #quoteForm input {
	display:block;
}
#quoteForm input, #quoteForm textarea {
	width:96%;
}
#quoteForm input[type="submit"] {
	background-color:#B3020E;
	color:#FFF;
	text-shadow:1px 1px 1px #000;
	border:3px solid #000;
	border-radius:5px;
	padding-top:5px;
	padding-bottom:5px;
}
#footer {
	margin-top:20px;
	padding-top:20px;
	padding-bottom:20px;
	text-align:center;
	font-size:.675em;
}


@media only screen and (min-width: 480px) {
	#headerPhone, .callToAction, #footerPhone {
		font-size:4em;
	}
	#socialIcons img{
		height:40px;
	}
    #mainVideo {
        width:50%;
        float:right;
        margin-left:20px;
    }
    #quoteButton { 
        width:70%;
    }
}

@media only screen and (min-width: 639px) {
	#headerPhone, .callToAction, #footerPhone {
		font-size:5em;
	}
	#socialIcons img {
		height:50px;
	}
    #s1, #s2, #tms {
        display:inline-block;;
    }
    .trustItem {
        width:24%;
        display:inline-block;;
        text-align:center;
        vertical-align: middle;
    }
    #quoteButton { 
        width:50%;
    }

}

@media only screen and (min-width: 719px) {
	#headerPhone {
		font-size:6em;
	}
}
@media only screen and (min-width: 768px) {
    #bt_invite_box {
        visibility:visible;
    }
    #headerMobile, #footerMobile {
        display:none;
    }
    #headerDesktop, #footerDesktop {
        display:block;
        margin-left:-15px;
        margin-right:-15px;
    }
    #content {
        border-top:none;
        padding-bottom:20px;
    }
    #socialTrust {
        border-top:none;
    }
    #socialIcons img {
        height:43px;
    }
    #navBottom li {
        display:inline-block;
        margin-right: 15px;
        font-size:14px;
    }
    #navTop {
        border-top:none;
        display:block !important;
        margin-left:-15px;
        margin-right:-15px;
    }
    #navTop li {
        list-style: none;
        display:inline-block;
        margin-right:15px;
    }
    #navTop li a {
        color:#FFF;
    }
    #mobileMenuButton {
        display:none;
    }
    #quoteForm {
        width:60%;
    }

}
@media only screen and (min-width: 992px) {
    .container {
        width:960px;
    }
    #socialIcons {
        margin-top:33px;
    }
}
