@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,700');

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  margin: 0;
  padding: 0;
}
.clear {
    clear: both;
    margin: 0;
    padding: 0;
}
#mainbox {
    max-width: 1920px;
    margin: 0 auto;
}
#top {
    background: url(images/bg.jpg) repeat-y;
    background-size: cover;
}
/*--------------------Form--------------------*/
#application, #application2 {
    background: rgba(255, 219, 77,.8);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    border-radius: 2%;
    height: 330px;
    width: 450px;
    float: right;
    margin: 3%;
}
#application h5, #application2 h5 {
    font-weight: 100;
    text-align: center;
    font-size: 1.3em;
    margin: 0;
    padding: 3%;
}

#applicationName, #applicationTelephone,
#applicationName2, #applicationTelephone2 {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    height: 50px;
    background: white;
    margin-top: 15px;
    border: 1px solid #1f4688;
    border-radius: 40px;
    text-align: center;
    color: #000;
    font-size: 24px;
    font-weight: 300;
}

#applicationName:focus, #applicationTelephone:focus,
#applicationName2:focus, #applicationTelephone2:focus {
    background: rgba(255,255,255,.9);
}

::-webkit-input-placeholder {
    color: #1f4688;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

::-moz-placeholder  {
    color: #1f4688;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}  /* Firefox 19+ */

:-moz-placeholder {
    color: #1f4688;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}  /* Firefox 18- */

:-ms-input-placeholder {
    color: #1f4688;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

::placeholder {
    color: #1f4688;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

.applicationButton {
    margin-top: 20px;
    background: #1f4688;
    border: none;
    width: 80%;
    height: 50px;
    border-radius: 40px;
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: 10%;
    margin-right: 10%;
}
.applicationButton:hover {
        background: green;
}
/*--------------------About--------------------*/
#about {
    padding: 2%;
}
#about img {
    float: left;
    width: 15.1em;
}
#about p {
    float: right;
    display: block;
    text-align: right;
    font-size: 1.2em;
    line-height: 1.7em;
}
#about a {
    text-decoration: none;
    color: #22a4d5;
}
#about a:visited {
    color: #22a4d5;
}
#about a:hover {
    color: white;
}
/*--------------------Header--------------------*/
header {
    padding: 2%;
    padding-top: 5%;
    max-width: 1350px;
    margin: 0 auto;
}
header h2 {
    font-weight: 300;
    text-align: left;
    font-size: 2.3em;
    line-height: 1.1em;
    float: right;
    width: 100%;
}
header h2 b {
    font-weight: 400;
}
header h1 {
    float: right;
    text-align: right;
    font-size: 3.3em;
    line-height: 1.3em;
    background: white;
    padding: 2%;
    font-weight: 700;
}
/*---------------------Main---------------------*/
.bright {
    background: rgba(255,255,255,.7);
    /**height: 3000px;**/
}
#main {
    background: url(images/bg.jpg) repeat-y;
    background-size: contain;
}
/*---------------------Benefits-----------------*/
#benefits {
    float: left;
    background: rgba(232,232,232,.9);
    font-size: 2.1em;
    line-height: 1.9em;
    padding: .1%;
    margin: 3%;
    width: 40%;
    margin-top: 10%;
}
#benefits b {
    font-size: .7em;
    font-weight: 100;
}
/*---------------------Conditions---------------*/
.spoiler-content {
    display: none;
    background: white;
    padding: 1%;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
a h3 {
    font-size: 2.1em;
    font-weight: 300;
    color: black;
    text-align: center;
    margin: 2%;
    margin-top: 3%;
}
.spoiler-block a {
    text-decoration-color: black;
}
#conditions p {
    text-align: center;
    max-width: 1350px;
    margin: 1% auto;
    
}
/*---------------------Map----------------------*/
#map .spoiler-block {
    width: 25%;
    float: left;
}
#map .spoiler-content {
    display: none;
    box-shadow: none;
    padding: 0%;
}
#map a {
    color: black;
}
#map h4 {
    font-weight: 300;
    font-size: 1.2em;
    text-align: center;
}
@media screen and (max-width: 1000px) {
    #map .spoiler-block {
        float: none;
        width: 100%;
        font-size: 1.3em;
    }
}
/*----------------------------------------------*/
h5 {
    margin: 2%;
    margin-bottom: 0;
    font-weight: 100;
    font-size: 1.2em;
}
/*---------------------Footer-------------------*/
footer h2 {
    float: left;
    width: 48%;
    text-align: center;
    padding: 1%;
    font-weight: 300;
}
footer a {
    text-decoration: none;
    color: #22a4d5;
}
footer a:visited {
    color: #22a4d5;
}
footer a:hover {
    color: black;
}