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

* {
    transition: all 0.1s;
}

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

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

html {
    height : 100%;
    transition: background-image 0.5s;
    background:  #698cb5
}

.full-bg {
    background: url('../img/background.jpg') no-repeat center center #698cb5 fixed;

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

body {
    height : 100%;
    background: rgba(0,0,0,0.6);
    color:#fff;
    font-family: 'PT Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}


h2 {
    font-weight: normal;
    font-size: 26px;
    font-family: 'PT Serif Caption', serif;
}
.tass-logo {
    width : 60px;
    height: 60px;
    position: absolute;
    top: 0px;
    right : 10%;
    background: url('../img/tass-logo.png') center center no-repeat;
}

.parent {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: auto;
    white-space: nowrap;
    text-align: center;
    font-size: 0;
}
.parent:before {
     height: 100%;
     display: inline-block;
     vertical-align: middle;
     content: '';

}

.block {
    display: inline-block;
    white-space: normal;
    vertical-align: middle;
    font-size: 16px;
    text-align: center;
    font-weight: normal;
    width: 100%;

    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera < 12.1 */
    animation: fadein 2s;
}

.reflist{
    list-style: none;
    margin-top: 50px;
}

.ref{
    color: #fff;
    text-decoration: none;
}

.ref:hover{
    text-decoration: underline;
}

.logo {
    display: block;
    width: 150px;
    height: 100px;
    margin : 0 auto;
    margin-bottom: 30px;
    background: url('../img/logo.png') no-repeat center center;
}


.b-send {
    font-size: 14px;
    margin-top: 15px;
}
.b-send__input {
    border : 2px solid #d2d8dc;
    background: transparent;
    margin-right: 10px;
    height:36px;
    line-height: 36px;
    padding: 0 10px;
    width:230px;
    vertical-align: middle;
    color : #fff;
}
.b-send__send {
    height : 40px;
    background: #668294;
    color :#fff;
    width:90px;
    text-align: center;
    line-height: 40px;
    border : 0px;
    vertical-align: middle;
}

::-webkit-input-placeholder {color:#fff;}
::-moz-placeholder          {color:#fff;}/* Firefox 19+ */
:-moz-placeholder           {color:#fff;}/* Firefox 18- */
:-ms-input-placeholder      {color:#fff;}




.b-form {
    margin-top: 30px;
    text-align: center;
}
.b-form-s {

}
.b-form-r {
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    height: 0px;
}
.form-submit .b-form-r {
    height: auto;
    opacity: 1;
    visibility: visible;
}
.form-submit .b-form-s {
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    height: 0px;
}
.form-submit .b-send {
    visibility: hidden;
    opacity: 0;
    overflow: hidden;

}

.description {
    width: 40%;
    margin: 1em auto;
}



@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */


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

@media only screen and (max-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
    .block {
        font-size: 12px;
        padding : 10px;
    }
    h2 {
        font-size: 18px;
    }
    .b-form {
        margin-top: 10px;
    }
    .logo {
        margin-top: 10px;
    }
    .b-send__send, .b-send__input  {
        display: block;
        margin: 0 auto;
        margin-top: 10px;


    }
    .b-send__send {
        width:254px;
    }

    .description {
        width: 95%;
        margin: 1em auto;
    }
}
