html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}
body {
    border: 0;
    margin: 0;
    padding: 0;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    height: 100%;
    font-size: 18px;
    line-height: 25px;
    font-family: "Ubuntu", Ubuntu, Arial, sans-serif;
    color: #1c1c1c;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: #2a6180;
}

td {
    padding-bottom: 20px;
}

section {
    display: block;
    margin-top: 50px;
    margin-bottom: 50px;
}
dt {
  font-weight: bold;
}
ul {
    list-style: none;
}

li {
    margin-bottom: 10px;
}
header {
    flex: 0 0 auto;
    width: 100%;
    background-color: #25363c;
}
.eighty {
    width: 85%;
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
}
footer {
    background-image: url(img/bottom.jpg);
    background-size: cover;
    width: 100%;
    color: #618d9d;
    height: 900px;
    display: flex;
    align-items: flex-end;
}
.footer {
    margin: 10px auto;
    width: 85%;
    max-width: 1200px;
}
main {
    flex: 0 0 auto;
    margin: 10px auto;
    width: 85%;
    max-width: 1200px;
}

.tel {
    color: #fff;
    font-size: 120%;
    margin: auto 0;
    line-height: 150%;
    text-align: center;
}

.slogan {
    left: 35%;
    top: 40%;
    width: 70%;
    display: block;
    position: relative;
    color: #25363c;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 30px 30px 10px 30px;
    line-height: 120%;
    font-size: 200%;
    font-size: 3vw;
}

.b-slogan {
    left: 45%;
    bottom: 20%;
    width: 70%;
    display: block;
    position: relative;
    color: #25363c;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 30px 30px 10px 30px;
    line-height: 120%;
    font-size: 300%;
    font-size: 3vw;
}


.nav {
    list-style: none;
    display: flex;
}

.nav li {
    margin: 0 10px;
}

.nav a {
    font-weight: 300;
    font-size: 16px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    color: #808080;
    text-decoration: none;
}

.banner {
    width: 100%;
    height: 700px;
    background-image: url(img/top.jpg);
    margin: 0 0 30px 0;
    background-size: cover;
    color: #fff;
    align-items: center;
}

.sec ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: space-between;
    margin: 0;
}

.sec li {
    width: 45%;
    height: 120px;
    background-clip: content-box;
    padding: 10px;
    list-style: none;
    display: flex;
    align-items: center;
}

.sqimg {
    margin: 0 20px 0 0;
    height: 100px;
    width: 100px;
    min-width: 100px;
}

small {
    line-height: 18px;
}



.fl {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    flex-wrap: wrap;
}


* {
    box-sizing: border-box;
}




.transparent {
    position: relative;
    max-width: 400px;
    padding: 60px 50px;
    margin: 0;
    background-image: url('img/form.jpg');
    background-size: cover;
}

.transparent:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.form-inner {
    position: relative;
}

.form-inner h3 {
    position: relative;
    margin-top: 0;
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    font-size: 26px;
    text-transform: uppercase;
}

.form-inner h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 60px;
    background: #1762EE;
}

.form-inner label {
    display: block;
    padding-left: 15px;
    font-family: 'Ubuntu', sans-serif;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    font-size: 14px;
}

.form-inner input {
    display: block;
    width: 100%;
    padding: 0 15px;
    margin: 10px 0 15px;
    border-width: 0;
    line-height: 40px;
    border-radius: 20px;
    color: white;
    background: rgba(255, 255, 255, .2);
    font-family: 'Ubuntu', sans-serif;
}

.form-inner textarea {
    display: block;
    width: 100%;
    padding: 0 15px;
    margin: 10px 0 15px;
    border-width: 0;
    line-height: 40px;
    border-radius: 20px;
    color: white;
    background: rgba(245, 231, 231, 0.2);
    font-family: 'Ubuntu', sans-serif;
}

.form-inner input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

#custom-checkbox+label {
    position: relative;
    margin: 20px 0;
    text-transform: none;
    cursor: pointer;
}

#custom-checkbox+label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: text-top;
    background: white;
}

#custom-checkbox:checked+label:before {
    background: #1762EE;
}

#custom-checkbox:checked+label:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 2px;
    left: 20px;
    top: 9px;
    background: white;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}

.form-inner input[type="submit"] {
    background: #1762EE;
}


@media (max-width: 600px) {
    .sec{font-size: 60%}
  
  footer{ background-image: url('img/bottommob.jpg');
    background-size: cover}
  .head{ background-image: url('img/topmob.jpg');
    background-size: cover;}}

    