/**
 * General public section styles
 * @author Marek Lisý
 * @copyright Rozečti.se 2013
 */

/** General tags **/

h1 {
    font-size: 22px;
    text-align: center;
    margin: 40px 0;
    font-weight: 400;
}

h2 {
    font-size: 22px;
    text-align: center;
    margin: 40px 0;
    font-weight: 400;
}

h3 {
    font-size: 18px;
    text-align: center;
    margin: 40px 0;
    font-weight: 400;
}

hr {
    border-top: 1px solid #dcdcdc;
    border-bottom: 0px;
}

input[type="text"], input[type="email"],
input[type="password"], select {
    height: 36px;
    border-radius: 2px;
    padding: 4px 14px;
    margin-bottom: 18px;
}

textarea {
    border-radius: 2px;
    padding: 4px 14px;
    margin-bottom: 18px;
}

/** Flash messages **/
.flash {
    padding: 15px 0;
    text-align: center;
    color: white;
    box-shadow: 0px 3px 15px 0 white;
    background-color: #2492c3;
}

.flash a {
    color: white !important;
    text-decoration: underline;
}

.flash a:hover {
    text-decoration: none;
}

.flash .inner {
    width: 940px;
    margin: 0px auto;
}

/** Content **/

#content .container {
    min-height: 550px;
}

/** Buttons **/

a.large-button {
    padding: 0 81px 0 20px;
    margin: 10px 0;
    height: 55px;
    line-height: 55px;

    background: rgb(134,194,84); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(134,194,84,1) 0%, rgba(96,165,38,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(134,194,84,1)), color-stop(100%,rgba(96,165,38,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(134,194,84,1) 0%,rgba(96,165,38,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(134,194,84,1) 0%,rgba(96,165,38,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(134,194,84,1) 0%,rgba(96,165,38,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(134,194,84,1) 0%,rgba(96,165,38,1) 100%); /* W3C */
    color: #fff;
    
    display: inline-block;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    text-align: center;
    font-size: 22px;
    position: relative;
}

a.large-button:after {
    display: inline-block;
    width: 61px;
    height: 55px;    
    background-image: url('../../img/homepage/button-arrow.png');
    background-repeat: no-repeat;
    background-position: right top;
    content: ' ';
    position: absolute;
    right: 0;
    top: 0;
}

a.large-button:hover {
    text-decoration: none;
    color: #fff;
}

a.signup-button {
    padding: 0 25px 0 78px;
    margin: 10px 0;
    height: 51px;
    line-height: 51px;
    color: #fff;
    display: inline-block;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    position: relative;
}

a.signup-button:hover {
    text-decoration: none;
}

a.signup-button.fb {
    background: #3e5e92;
    margin-right: 20px;
}

a.signup-button.mail {
    background: #008ade;
}

a.signup-button:before {
    display: inline-block;
    width: 61px;
    height: 51px;
    background-repeat: no-repeat;
    background-position: left top;
    content: ' ';
    position: absolute;
    right: 0;
    left: 25px;
}

a.signup-button.fb:before {
    background-image: url('../../img/homepage/signup-fb.png');
}

a.signup-button.mail:before {
    background-image: url('../../img/homepage/signup-email.png');
    left: 18px;
}

.section {
    background: url('../../img/homepage/content-background.png') no-repeat center top;
}

/** Quotes **/

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

#slider {
    width: 960px;
    overflow: hidden;
    display: block;
    position: relative;
}

#slider li {
    width: 960px;
    min-height: 100px;
    overflow: hidden;
    display: block;
    float: left;
    list-style-type: none;
    text-align: center;
}

#slider li span {
    padding: 30px 150px;
    display: inline-block;
}

#prevBtn a,
#nextBtn a {
    width: 22px;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -22px;
    height: 45px;
}

#nextBtn a {
    right: 0;
    background: url('../../img/homepage/arrow-right.png') no-repeat top left;
}

#prevBtn a {
    left: 0;
    background: url('../../img/homepage/arrow-left.png') no-repeat top left;
}

#slider em {
    display: inline-block;
    width: 25px;
    height: 20px;
    margin: 2px 10px;
}

#slider em.opening-quotes {
    background: url('../../img/homepage/opening-quotes.png') no-repeat center left;    
}

#slider em.closing-quotes {
    background: url('../../img/homepage/closing-quotes.png') no-repeat center left;    
}

/** CONTACT US **/
.contant-us {
    border: 1px solid #dedede;
    border-radius: 2px;
    background: #f7f7f7 url('../../img/homepage/contact-us-letter.png') no-repeat right bottom;
    margin: 60px;
    padding-bottom: 20px;
}

.contant-us .title {
    background: url('../../img/homepage/contact-us-title.png') no-repeat center top;
    margin-top: -8px;
    color: white;
    text-align: center;
    height: 39px;
    line-height: 32px;
    vertical-align: middle;
}

.contant-us .contact-form {
    display: inline-block;
    width: 270px;
    text-align: center;
    margin-left: 90px;
    margin-top: 10px;
}

.contant-us input[type="text"], .contant-us textarea {
    width: 250px;
}

.contant-us .contact-info {
    display: inline-block;
    text-align: center;
    width: 450px;
    vertical-align: top;
}

.contant-us .contact-info .email {
    font-size: 18px;
    display: inline-block;
}

.contant-us .contact-info span.email {
    margin-top: 55px;
}

.contant-us .contact-info a.email {
    margin-top: 15px;
    font-weight: 600;
}

.contant-us .contact-info .detail {
    margin-top: 75px;
    display: inline-block;
}
