/*
 * HTML5 Boilerplate
 *
 * 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;
}

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

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

::-moz-selection {
    background: #b00005;
    color:#fff;
    text-shadow: none;
}

::selection {
    background: #b00005;
    color:#fff;
    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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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


body {
    background:#fff;
    margin:10px auto;
    width:960px;
}

#main {
    float:left;
    width:70%;
}

#logo {display:block;}
#logo-mobile {display:none;}

em {
    color: red;
}

.alpha {margin-left: 0 !important;}
.omega {margin-right:0 !important;}

aside {
    background-image: url('../img/girl.jpg');
    background-size: 100% auto%;
    float:left;
    height:860px;
    margin-right: -60px;
    width:33%;
}

header img {
    width:100%;
}
#top-list {
    margin:0;
    padding:0;
}

#top-list li {
    background: #b00005;
    color: #fff;
    display: inline;
    font-size: 18px;
    padding: 5px 10px;
    margin: 0 25px 0 0;
    text-transform: uppercase;
}

article {
    float:left;
    width:45%;
    margin-right: 30px;
}

.tick-boxes li {
     list-style: none;
     margin-left: 0;
     padding-left: 1em;
     text-indent: -3em;
     font-size: 14px;
     padding: 5px 0;
}

.tick-boxes li:before {
    background: rgb(124,200,33); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(124,200,33,1) 0%, rgba(49,150,23,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(124,200,33,1)), color-stop(100%,rgba(49,150,23,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(124,200,33,1) 0%,rgba(49,150,23,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(124,200,33,1) 0%,rgba(49,150,23,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(124,200,33,1) 0%,rgba(49,150,23,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(124,200,33,1) 0%,rgba(49,150,23,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7cc821', endColorstr='#319617',GradientType=0 ); /* IE6-9 */
    border: 1px solid #1b7100;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    content: "\2713 ";
    color:#fff;
    margin-right: 1em;
    padding:3px 6px;
    position:relative;
    top:4px;
 }


.photos {
    background: #eeeeee;
    float:left;
    padding:0;
}

.pictures {
    padding:10px;
    margin:0;
}

.pictures li{
    background: #fff;
    border: 1px solid #dedede;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius: 2px;
    box-shadow: 1px 1px 2px rgba (0, 0, 0, 0.2);
    color: #696969;
    display: inline-block;
    float:left;
    font-family: 'Cookie', cursive;
    font-size:23px;
    margin: 8px;
    text-align: center;
    width:115px;

}
.pictures li img{
    margin:4px 2px;
}

h2 {
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0 ;
    text-transform: uppercase;
}

h3 {
    color: #474747;
    float:left;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 21px;
    margin: 10px 0;
    text-align: center;
    text-transform: uppercase;
    width:100%;
}

h3 span {
    text-transform: none;
}

h4 {
     font-family: 'Roboto Condensed', sans-serif;
     font-size:21px;
     padding: 5px 0 0 0;
     margin:0 0 -15px 0;
     text-align: center;
}

/*  Sign up box CSS */

#sign-up-box {
    background: -moz-linear-gradient(top,  rgba(188,188,188,1) 0%, rgba(80,80,80,0) 90%, rgba(0,0,0,0) 96%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(188,188,188,1)), color-stop(90%,rgba(80,80,80,0)), color-stop(96%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(188,188,188,1) 0%,rgba(80,80,80,0) 90%,rgba(0,0,0,0) 96%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(188,188,188,1) 0%,rgba(80,80,80,0) 90%,rgba(0,0,0,0) 96%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(188,188,188,1) 0%,rgba(80,80,80,0) 90%,rgba(0,0,0,0) 96%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(188,188,188,1) 0%,rgba(80,80,80,0) 90%,rgba(0,0,0,0) 96%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bcbcbc', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
    float:left;
    padding:20px;
    margin: 5px 0 0 0 ;
    width:280px;
}

fieldset {
    float: left;
}

#join-title {
    text-align: left;
    margin:0;
}

.terms-link {
    display: block;
    color: #474747;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 21px;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
}

#lbform label {
  color: #000000;
  display: block;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 14px;
  font-weight: bold;
  margin: 5px 10px 5px 0;
  width: 92px;
}

#lbform .row {
    display: block;
    margin-bottom: 7px;padding-top:
    7px;width: 325px;
 }

#lbform input {
    border-radius: 3px;
    font-size: 14px;
    padding: 5px;
    width: 208px;
}

#lbform select {
    border: 1px solid #9C8A7B;
    font-size: 14px;
    height: 25px;
}

#lbform input.blur {
    color: #999999;
    font-style: italic;
}

#lbform input.focus, #lbform input.complete {
    color: #000000;
    font-style: normal;
    font-weight: bold;
}

.gender {width: 220px;}

.day {width: 63px;}

.month {width: 80px;}

.year {width: 70px;}

.note {
  color: #666666;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 11px;
  position: relative;
  right: 0;
  top: 3px;
  width: 300px;
}

.more {display: none;}
a.showLink, a.hideLink {
  cursor: pointer;
  display: block;
}

a.hideLink {}
a.showLink:hover, a.hideLink:hover {}

#join-free {
    float:left;
  width: 100%;
}

.join-free-button {
  background: #b00005 none repeat scroll 0 0;
  border: 1px solid #6c1316;
  color: #fff;
  float: left;
  padding: 7px;
  text-align: center;
  width: 134px;
}

#bottom {
    background: #eeeeee;
    color:#444;
    float:left;
    padding:10px;

}

.bottom-title {
    margin:0;
    margin-top:20px;
    text-align: left;
}

h2.bottom-title {
    color: #b00005;
}

#sign-up-box input:focus {
    border-color: #b00005;
    outline: none;
}


/* ==========================================================================*/
   @media only screen and (max-width: 480px) {
/*  ========================================================================== */

aside {
    display: none
}

#main {
    background: url(../img/girl2.jpg) no-repeat;
    margin-left:10px;
    width:100%;
}

body {
    margin: 5px auto;
    width:100%;
}

article {
    margin:auto;
    width:98%;
}

#bottom {
    margin-left:10px;
    width:98%;
}

#top-list {
    display: none;
}

#logo {
    display:none;
}

#logo-mobile {
    display:block;
    margin:20px 0 0 15px;
    width: 90%;
}

#sign-up-box {
    width:90%;
}

#quote {
    margin-left:20px;
    width:90%;
}

.pictures li {
    height: 110px;
    line-height: 0.8;
    margin: 2px;
    width: 18%;

}

.pictures img {
    height: auto;
    width:90%;
}




}/* ==========================================================================
   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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: none;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

#join-login {
	float: left;
	width: 100%;
}

#login {
    display: block;
    background: #4AA71A;
    color: #fff;
    font-size: 25px;
    font-family: 'Open sans', sans-serif;
    font-weight: 600;
    margin: 10px auto 0 auto;
    padding: 21px 0;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 19px;
    height: 16px;
    text-align: center;
    border: 0;
    cursor: pointer;
    width: 87%;
    z-index: 9997;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all 200ms ease-in-out 100ms;
    -moz-transition: all 200ms ease-in-out 100ms;
    -ms-transition: all 200ms ease-in-out 100ms;
    -o-transition: all 200ms ease-in-out 100ms;
    transition: all 200ms ease-in-out 100ms;
}

a:-webkit-any-link {
text-decoration: none;
}

a:any-link {
text-decoration: none;
}

#join {
  background: #b00005 none repeat scroll 0 0;
  color: #fff;
  float: left;
  border: 1px solid #6c1316;
  padding: 5px;
  text-align: center;
  width: 120px;
}
