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

body {
    font-size: 1.4em;
    line-height: 1.8;
}



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

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

 img {
    vertical-align: middle;
}

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

 textarea {
    resize: vertical;
}



html,
body {
    height: 100%;
}

body {
    font-family: "Lato";
    font-weight: 300;
    font-size: 16px;
    color: #555;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

.col-md-4 {
	padding-bottom: 20px;
}

.row {
margin-right: 0px;
margin-left: -15px;
}


.navbar-default {
border-color: transparent;
background-color: #dadada;
}


.navbar-toggle {
border-color: transparent;
border: 0px solid transparent;
}



.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	background-color: #16a085;
	color: white;
}


.navbar-inverse .template { height:50px;}

hr {
    position: relative;
    border: none;
}

hr:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: #ccc;
}

a img {
    background: white;
}

.odd a img {
    background: #f5f5f5;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway";
    font-weight: 300;
    color: #333;
}


/* Paragraph & Typographic */
p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}

.paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}


small {
    font-size: 12px;
}


/* Images */
.overflow-image {
    margin-top: -65px;
}



/* Links */
a {
    color: #3ba125;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #296F1A;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}
a.affiliate { font-weight: bold; color:#296F1A; cursor:pointer;}
a.affiliate:hover {text-decoration:underline;}

.points p { text-align:left; margin-top:-20px;}

.points h4 { text-align: left;}

.points .row { margin: 2em 0;}

img.icon { min-width: 40px; max-width:80px;}

img.icon-small { min-width: 25px; max-width:60px;}

img.ppl { min-width: 80px; max-width:140px; margin:auto;}

.header-btn, .header-btn:visited { width: 460px; height: 60px; background:#296F1A;  color:#fff; font-size: 26px; border:none; text-transform:uppercase;}
.header-btn:hover{ background:#3ba125; color:#fff;}

.signup { text-decoration: underline; font-size: 22px;}

.mobile-login { position:absolute; top:4px; left:4px; z-index:4000;}

.best {  font-weight: bold;}

#ppl .white p { padding-top:0;}

#ppl .row { margin-left: 3px;}

.icon, .icon-small { float: right;}

.login-mobile { position: fixed; top:12px; left:10px; z-index:1050;}

img.logo-template { width: 110px; margin-top:-50px; position:fixed; z-index:2000;}

td, th { line-height: 2.5em; }
th { font-size: 1.1em;}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #296F1A;
    outline: 0;
}

/* ==========================================================================
   Wrap Sections
   ========================================================================== */

.template-header { 
    background: url(/assets/img/header_bg-8.jpg) no-repeat center bottom;
    margin-top: 50px;
    text-align:center;
    background-attachment: relative;
    background-position: center center;
    height: 20px;
    width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.main-div { min-height: 500px;}

#headerwrap {
	background: url(/assets//img/header_bg-8.jpg) no-repeat center top;
	margin-top: -50px;
	padding-top:120px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 520px;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


#headerwrap h1 {
	color:#ffffff;
	padding-bottom: 20px;
	font-size: 56px;
	font-weight: bold;
	text-shadow: 2px 2px 2px #000;
    text-align: center;
}

#headerwrap p {
	color:#ffffff;
	font-size: 32px;
	font-weight: 400;
	text-align: center;
	line-height: 28px;
	text-shadow: 1px 1px 1px #000;
    margin-bottom:.8em;


}


#greywrap {
	background: #f5f5f5;
	margin-top: 0px;
	padding-top: 20px;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

#greywrap .callout {
	margin-bottom: 10px;
}

#greywrap .callout h1 {

    font-size:7vw;

}

#greywrap p {
	margin-left: 30px;
	margin-right: 30px;
	letter-spacing: 1px;
	padding-top: 15px;
	padding-bottom: 15px;
    font-size: 1.2em;
}

#greywrap .icon {
	font-size: 60px;
	line-height: 30px;
	margin-bottom: 10px;
}

#footerwrap {
	background: #2b2b2b;
	margin-top: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

#footerwrap h4 {
	color: white;
    font-size:.9em;
}


/* ==========================================================================
   Box Sections
   ========================================================================== */

.white h1 {
	padding-top: 35px;
}

.white p {
	padding-top: 25px;
}


.textdivider h1 {
	padding-top: 70px;
	color: white;
	font-size: 40px;
}

.textdivider p {
	color: white;
	font-size: 25px;
}






/* ==========================================================================
   Image Mask
   ========================================================================== */ 

.grid figure {
	margin: 0;
	position: relative;
    border:2px solid #296F1A;
}

.grid figure img {
	width: 100%;
	display: block;
	position: relative;
}


.mask figcaption {
	height: 50px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
/*	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
  */  
}

.no-touch .mask figure:hover figcaption,
.mask figure.cs-hover figcaption {
	opacity: 1;
/*	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;

    */
}

.mask figcaption a {
	position: absolute;
	top:10px;
	bottom: 10px;
	right: 30px;
}

.web-link { width:100%; height:40px;}

.web-link .visible-lg, .web-link .visible-md { display:inline !important;}

.login { padding-top:15px;}

h2.trigger { text-align: left;}

.signup-div { width: 50%; margin:auto;} 

#terms .modal-dialog  {width:85%; max-height:85% !important;}

.modal-body {
    max-height: calc(100vh - 212px);
    overflow-y: auto;
}

  .left_nav {
    float: left;
    background:#eee;
    list-style: none;
    margin: 0 0 15px 0;
    padding:10px  ;
    text-align: left;
    width: 190px;
  }

/* ==========================================================================
   MEDIA QUERIESlogin-mobile
   ========================================================================== */


@media screen and (max-width:1050px), screen and (max-device-width:1050px){
	body .header{background-attachment: scroll;}
     .header-btn { margin-bottom:1.5em;}
}


/*ipad portrait*/
@media only screen and (min-device-width:768px) and (max-device-width : 1024px) and (orientation : portrait){
	.header{background-attachment: scroll;}

        .header-btn { margin-bottom:1.5em;}

}

/*  mobile  */
@media screen and (max-width:769px) {
	#headerwrap h1 {
		font-size: 30px;
        padding-bottom: 10px;
        margin-top:-15px;
	}
	#headerwrap p {
		font-size: 20px;
		line-height: 22px;
	}


    .header-btn { width: 90%; height: 60px; font-size: 26px; margin-bottom:1.5em;}

    .web-link { display:none;}

    img.ppl {min-width: 40px; max-width:80px;}

    img.logo-template{ width:auto; margin-top:auto; position:absolute;}

    .template-header { height:auto;}

    td h2 { font-size:1.25em; line-height: 1.5em; width: 94%;}

    th { font-size: .6em;}

    .signup-div { width: 100%;} 

    td  select { width: 85%;

}



