﻿@import url('../img/flags.min.css');

html,
body {
    background-color: #ffffff;
    color: #334681;
    font-family: 'Noto Sans', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    min-width: 320px;
}

/* Fonts */

:lang(jp) {
    font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

:lang(zh) {
    font-family: 'Noto Sans SC Sliced', 'Microsoft JhengHei', 'STHeiti', sans-serif;
}

p,
a,
dl,
input,
textarea {
    font-family: 'Noto Sans', 'Roboto', "Noto Sans Japanese", 'Noto Sans SC Sliced', 'STHeiti', 'Microsoft JhengHei', sans-serif; 
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', 'Noto Sans', "Noto Sans Japanese", 'Noto Sans SC Sliced', 'STHeiti', 'Microsoft JhengHei', sans-serif;
}

.color-darkblue { color: #334681; }
.color-blue { color: #377DFF; }
.color-dark { color: #29282d; }
.color-white { color: #f7f8fa; }

/* Alert */

.toast {
    max-height: 90vh;
    overflow: auto;
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-radius: 0.25rem;
}

.toast:not(:last-child) {
  margin-bottom: 0.75rem;
}

.toast.showing {
  opacity: 1;
}

.toast.show {
  display: block;
  opacity: 1;
}

.toast.hide {
  display: none;
}

.toast-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px 15px 5px 30px;
  color: #6c757d;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

i.flag:not(.icon) {
  display: inline-block;
  width: 16px;
  height: 11px;
  line-height: 11px;
  vertical-align: baseline;
  margin: 0em 0.5em 0em 0em;
  text-decoration: inherit;
  speak: none;
  font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

i.flag:not(.icon):before {
  display: inline-block;
  content: '';
  background: url("https://mdbootstrap.com/img/svg/flags.png") no-repeat -108px -1976px;
  width: 16px;
  height: 11px;
}

i.flag.es:before,
i.flag.spain:before {
  background-position: 0px -1742px;
}

i.flag.pl:before,
i.flag.poland:before {
  background-position: -72px -572px;
}

.toast-body {
    padding: 20px 30px 15px 30px;
}

#alert {
    z-index: 2020;
    position: fixed;
    width: 1000px;
    left: 50%;
    margin-top: 5vh; 
    margin-left: -500px; 
}

#alert h3 {
    font-size: 20px;
}

#alert p:last-child {
    font-weight: 700;
}

#alert .text-muteda {
    padding-right: 5px;
}


#alert1 .text-primary { 
    padding-left: 30px; 
}

#alert .text-primary br { 
    display: none; 
}

@media only screen and (max-width:992px) {
    #alert { width: 780px; margin-left: -390px; }
}

@media only screen and (max-width:768px) {
    #alert { width: 600px; margin-left: -300px; }
}

@media only screen and (max-width:576px) {
    #alert { width: 460px; margin-left: -230px; }
    #alert p { font-size: 12px; }
    #alert .text-primary { font-size: 12px; padding: 10px 0; }
    #alert .text-primary br { display: block; }
}

@media only screen and (max-width:376px) {
    #alert { width: 300px; margin-left: -150px; }
}

/* Main */

#main,
#main .container {   
    height: 100vh;
    min-height: 450px;
    position: relative;
    padding: 0;
}

#main {
    background-color: #ffffff;
    background-image: url(../img/bgn.jpg);
    background-size: cover;
    background-position: top;
    color: #334681;
    z-index: 1;
}

#main .container {
    border-style: dotted;
    border-width: 0 0 0 0px;
    border-color: #334681;
}

#main .outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

#main .middle {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

#main .row {
    margin: 0;
    padding: 0;
}

#main .col-xl-7 {
    border-right: 0px solid #334681;
    padding: 20px 40px 20px 40px;
    text-align: center;
}

#main .col-xl-7 img { 
    width: 150px; 
}

#main h2 {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 20px;
}

#main p {
    font-size: 12px;
    font-weight: 400;
}

#main p:lang(jp) {
    font-size: 14px;     
}

#main p:lang(zh) { 
    font-size: 14px; 
}

#main .more { 
    margin: 45px 0 0 0; 
}

#main .more a {
    border-radius: 5px;
    border: 1px solid #334681;
    color: #334681;
    display: inline-block;
	font-size: 12px;
    font-weight: 800;
    height: 50px;
    letter-spacing: 2px;
	line-height: 50px;	
	text-align: center;
	text-decoration: none;
	width: 200px;

    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

#main .more a:hover {
    background-color: #334681;
	color: #ffffff;
    border: 1px solid #334681;
}

#main .more a:lang(jp) {
    font-size: 16px; 
    font-weight: 400;
}

#main .more a:lang(zh) { 
    font-size: 16px;
    font-weight: 400;
}

@media only screen and (min-width:768px) {
    #main { background-position: bottom; }
    #main .col-xl-7 { padding: 20px 40px 20px 40px; }
    #main .col-xl-7 h2 { font-size: 32px; }
    #main .col-xl-7 img { width: 260px; }
    #main .col-xl-7 p { margin: 0px; padding: 0; font-size: 15px; }
    #main p:lang(jp) { font-size: 16px; }
    #main p:lang(zh) { font-size: 16px; }
}

@media only screen and (min-width:992px) {
    #main .col-xl-7 { border-right: 1px solid #334681; text-align: right; }
}

/* Main - menu */

#main .col-xl-5 {
    position: relative;
}

#main .nav-link { 
    color: #334681;
}

#main .nav-item {
    font-size: 12px;
    font-weight: 700;
    max-width: 110px;
}

#main .nav-item a:lang(jp) {
    font-size: 14px;
}

#main .nav-item a:lang(zh) {
    font-size: 14px;
}

#main .mt .active {
    color: #377DFF;
}

#main .mt:hover {
    color: #377DFF;
}

#main p.tag {
    font-size: 10px;
    margin: 30px 0;
}

#main p.tag:lang(jp){
    font-size: 12px; 
    font-weight: 300;
}

#main p.tag:lang(zh) { 
    font-size: 12px;
    font-weight: 400;
}

#main .col-12 {
    display: none;
}

#main .col-md-12 {
    position: absolute;
    bottom: 50px;
    display: none;
}

@media only screen and (min-width:768px) {
    #main .col-xl-5 { padding: 16px 0 0px 40px; }
    #main .col-md-12  { display: block; }
}

@media only screen and (max-width:992px) {
    #main .col-xl-5 { display: none; }
    #main .col-12 { display: block; }
}

@media only screen and (min-width:992px) {
    #main .nav-link { padding-left: 0; }
}

/* Menu */

nav {
    z-index: 10;
    height: 60px;
    
-webkit-box-shadow: 0px 4px 23px -10px rgba(0,0,0,0.0);
-moz-box-shadow: 0px 4px 23px -10px rgba(0,0,0,0.0);
box-shadow: 0px 4px 23px -10px rgba(0,0,0,0.0);
    
    border-style: dotted;
    border-width: 0 0 0px 0;
    border-color: #eeeeee;
    z-index: 100 !important;
}

nav .navbar-brand { 
    margin-left: 15px;
}

nav .nav-item a {
    font-size: 12px;
    color: #334681;
    font-weight: 700;
}

nav .lang {
    margin-top: 3px;
    display: inline-block;
	margin-right: 15px;
}

nav li:nth-child(4) {
    padding-right: 20px;
}

nav li:nth-child(5) {
    padding-left: 22px;
    border-left: 1px solid #eeeeee;
}

@media only screen and (max-width:767px) {
    nav .navbar-nav { display: none; }
    nav .navbar-brand { margin: 0 auto; }
}

/* About */

#about .col-12 { 
    padding: 80px 0 0 40px; 
}

#about .col-lg-9 { 
    padding: 0 40px 0 40px; 
}

#about h3 {
    font-weight: 900;
    margin-bottom: 20px;
}

#about h3:lang(jp) {
    font-weight: 500;
}

#about h3:lang(zh) {
    font-weight: 500;
}

#about hr {
    border: 2px solid #377DFF;
    width: 50px;
    margin: 50px 0 0 0;
}

#about p {
    margin: 0 0 10px 0;
    font-size: 12px;
}

#about p:lang(jp) {
    font-size: 14px;
    font-weight: 300;
}

#about p:lang(zh) { 
    font-size: 14px;
    font-weight: 300;
}

#about .col-lg-3 {
    padding: 0 80px 0 0;
}

#about h4 {
    font-weight: 400;
    line-height: 40px;
    font-size: 26
}

#about h4 span {
    background-color: #377DFF;
    color: #f7f8fa;
    padding: 4px;
    text-transform: uppercase;
}

@media only screen and (min-width:768px) {
    #about .col-12 { padding: 100px 0 0 80px; }
    #about .col-lg-9 { padding: 0 80px 0 80px; }
    
    #about p { font-size: 14px; }
    #about p:lang(jp) { font-size: 16px; }
    #about p:lang(zh) { font-size: 16px; }
}

@media only screen and (max-width:992px) {
    #about .col-lg-3 { display: none; }
}

/* Services */

#services .col-12 { 
    padding: 80px 0 0 40px; 
}

#services .col-lg-9 { 
    padding: 0 40px 0 40px; 
}

#services h3 {
    font-weight: 900;
    margin-bottom: 20px;
}

#services h3:lang(jp) {
    font-weight: 500;
}

#services h3:lang(zh) {
    font-weight: 500;
}

#services p {
    margin: 0 0 10px 0;
    font-size: 12px;
}

#services p:lang(jp) {
    font-size: 14px;
    font-weight: 300;
}

#services p:lang(zh) { 
    font-size: 14px;
    font-weight: 300;
}

#services dl {
    margin: 20px 0 10px 0;
    font-size: 12px;
}

#services dl:lang(jp) {
    font-size: 13px; 
}

#services dl:lang(zh) { 
    font-size: 13px; 
}

#services dt {
    margin: 0 0 10px 0;
}

#services dd {
    margin: 0 0 5px 0;
}

#services hr {
    border: 2px solid #377DFF;
    width: 50px;
    margin: 50px 0 0 0;
}

#services .col-lg-3 {
    padding: 0 80px 0 0;
}

@media only screen and (min-width:768px) {
    #services .col-12 { padding: 100px 0 0 80px; }
    #services .col-lg-9 { padding: 0 80px 0 80px; }

    #services p { font-size: 14px; }
    #services dl { font-size: 14px; }
    #services p:lang(jp) { font-size: 16px; }
    #services dl:lang(jp) { font-size: 15px; }
    
    #services p:lang(zh) { font-size: 16px; }
    #services dl:lang(zh) { font-size: 15px; }
}

@media only screen and (max-width:992px) {
    #services .col-lg-3 { display: none; }
}

/* Services-big */

#services-big {
    margin: 100px 0 0 0;
}

#services-big .image {
    background-image: url(../img/services-big1.jpg);
    background-size: cover;
    background-position: right;
    background-color: #f7f8fa;
    transition: .5s ease;
}

#services-big .image p {
    font-weight: 700;
    font-size: 15px;
    color: #f7f8fa;
}

#services-big .image p:lang(jp) {
    font-weight: 300;
}

#services-big .image p:lang(zh) {
    font-weight: 300;
}

#services-big .image:hover {
    background-image: url(../img/services-big1b.jpg);
}

#services-big .text {
    background-color: #377DFF;
    color: #f7f8fa;
    padding: 0 40px;
    min-height: 150px;
}

#services-big .square-responsive, 
#services-big .rect-responsive { 
    padding-bottom: 50%;
}

#services-big h6 {
    font-weight: 500;
    font-size: 10px;
    margin: 40px 0 10px 0;
}

#services-big h3 {
    font-weight: 900;
}

#services-big p {
    font-weight: 300;
    font-size: 12px;
}

#services-big .image p {
    opacity: 0;
    display: none;
    transition: .5s ease;
}

#services-big .image:hover p {
    opacity: 1;
}

#services-big hr {
    border: 2px solid #f7f8fa;
    width: 20px;
    margin: 50px 0 0 0;
}

@media only screen and (min-width:576px) {
    #services-big .image p { margin-top: 110px; display: block; }
}

@media only screen and (min-width:768px) {
    #services-big .image p { margin-top: 70px; }
}

@media only screen and (min-width:992px) {
    #services-big .image p { margin-top: 100px; }
}

@media only screen and (min-width:1200px) {
    #services-big .square-responsive { padding-bottom: 110%; }
    #services-big .text { padding: 0 30px; }
    #services-big .image p { margin-top: 120px; }
}

/* Services-grid */

#services-grid {
    padding: 0 0 0 0;
}

#service-grid .container {
    background-color: #334681;
}

#services-grid .rect-responsive { 
    padding-bottom: 50%;
}

#services-grid p {
    font-weight: 700;
    font-size: 10px;
    color: #f7f8fa;
}

#services-grid .image p:lang(jp) {
    font-weight: 300;
}

#services-grid .image p:lang(zh) {
    font-weight: 300;
}

#services-grid .image {
    padding: 0;
}

#services-grid .image p {
    opacity: 0;
    transition: .5s ease;
    display: none;
}

#services-grid .image:hover p {
    opacity: 1;
}

#services-grid .tab1 {
    background-image: url(../img/services1.jpg);
    background-size: cover;
    background-position: center;
    transition: .5s ease;
}

#services-grid .tab1:hover {
    background-image: url(../img/services1b.jpg);
}

#services-grid .tab2 {
    background-image: url(../img/services2.jpg);
    background-size: cover;
    background-position: center;
    transition: .5s ease;
}

#services-grid .tab2:hover {
    background-image: url(../img/services2b.jpg);
}

#services-grid .tab3 {
    background-image: url(../img/services3.jpg);
    background-size: cover;
    background-position: center;
    transition: .5s ease;
}

#services-grid .tab3:hover {
    background-image: url(../img/services3b.jpg);
}

#services-grid .tab4 {
    background-image: url(../img/services4.jpg);
    background-size: cover;
    background-position: center;
    transition: .5s ease;
}

#services-grid .tab4:hover {
    background-image: url(../img/services4b.jpg);
}

#services-grid .tab5 {
    background-image: url(../img/services5.jpg);
    background-size: cover;
    background-position: center;
    transition: .5s ease;
}

#services-grid .tab5:hover {
    background-image: url(../img/services5b.jpg);
}

@media only screen and (min-width:576px) {
    #services-grid .image p { margin-top: 25px; display: block; }
}

@media only screen and (min-width:768px) {
    #services-grid .image p { margin-top: 35px; }
}

@media only screen and (min-width:992px) {
    #services-grid .image p { margin-top: 50px; }
}

@media only screen and (min-width:1200px) {
    #services-grid .square-responsive { padding-bottom: 130%; }
    #services-grid .rect-responsive { padding-bottom: 50%; }
    #services-frid .text { padding: 0 30px; }
    #services-grid .image p { margin-top: 60px; }
    #services-grid p { font-size: 15px; }
}

.square-responsive,
.rect-responsive{
     position:relative;
}
.square-responsive > *,
.rect-responsive > *{
     position:absolute; 
}
.square-responsive > .content,
.rect-responsive > .content {
     width:100%;
     height:100%;
    overflow: hidden;
}

/* Contact */

#contact .col-12 { 
    padding: 80px 0 0 40px;
}

#contact .col-xl-3 {
    padding: 40px 40px 70px 40px;
}

#contact .col-xl-12 {
    padding: 20px 40px 70px 40px;
}

#contact h3 {
    font-weight: 900;
    margin-bottom: 20px;
}

#contact h3:lang(jp) {
    font-weight: 500;
}

#contact h3:lang(zh) {
    font-weight: 500;
}

#contact p {
    margin: 0 0 10px 0;
    font-size: 12px;
    font-weight: 300;
}

#contact p:lang(jp) {
    font-size: 14px;
    font-weight: 300;
}

#contact p:lang(zh) {
    font-size: 14px;
    font-weight: 300;
}

#contact p:first-child {
    margin: 0 0 15px 0;
}

#contact .bg { 
    background-color: #377DFF; 
    color: #f7f8fa; 
    padding: 5px;
    font-size: 14px;
}

#contact .col-xl-9 {
    padding: 30px 40px 0 40px;
}

#contact input {
    border-width: 0 0 1px 0;
    border-radius: 0px;
    font-size: 12px;
}

#contact input:focus {
    border-color: #377DFF;
    box-shadow: 0 0 0 rgba(256, 256, 256, 0);
}

#contact textarea {
    border-radius: 0px;
    font-size: 12px;
}

#contact textarea:focus {
    border-color: #377DFF;
    box-shadow: 0 0 0 rgba(256, 256, 256, 0);
}

#contact input .btn {
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

#contact .help-block {
    font-size: 11px; 
    margin-top: 5px;
    color: red;
}

#contact .text-muted {
    font-size: 11px; 
    margin-top: 5px;
}

#contact .messages {
    font-size: 12px;
}

#contact .close {
     font-size: 20px;
}

@media only screen and (min-width:768px) {
    #contact .col-12 { padding: 100px 0 0 80px;}
    #contact .col-xl-9 { padding: 0 80px 30px 80px; }
    #contact .col-xl-3 { padding: 0 0 100px 80px; }
    #contact .col-xl-12 { padding: 20px 80px 90px 80px; }
    #contact p { font-size: 14px; }
    #contact textarea { font-size: 14px; }
    #contact input { font-size: 14px; }
    #contact p:lang(jp) { font-size: 16px; }
    #contact p:lang(zh) { font-size: 16px; }
}

@media only screen and (min-width:992px) {
    #contact .bg { font-size: 14px; }
    #contact .col-xl-3 { padding: 0 80px 90px 80px; }
    #contact .col-xl-9 { padding: 0 80px 30px 80px; }
}

@media only screen and (min-width:1200px) {
    #contact .col-xl-3 { padding: 5px 80px 90px 0; }
    #contact .col-xl-9 { padding: 0 80px 90px 80px; }
}

@media only screen and (max-width:768px) {
    #contact .bg:last-child { color: #377DFF; background-color: #f7f8fa; }
}
 
/* Map & Footer */

#map {
  position: relative;
}

#map .container {
    padding: 0;
    position: relative;
}

#google-container {
  position: relative;
  height: 200px;
  background-color: #ffffff;
}

#map .footer {
    background-color: #ffffff;
    width: 100%;
    bottom: 0px;  
    left: 0;
}

#map .footer p {
    margin-bottom: 0;
    padding: 15px 0 15px 0;
    font-size: 9px;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    #map .footer p { 
        text-align: right; 
        font-size: 11px; 
        padding: 15px 20px 15px 0; 
    }
}

#cd-zoom-in, #cd-zoom-out {
    height: 32px;
    width: 32px;
    cursor: pointer;
    margin-left: 10px;
    background-color: #377DFF;
    background-repeat: no-repeat;
    background-size: 32px 64px;
    background-image: url("../img/cd-icon-controller.svg");
    opacity: 0.95;
}

.no-touch #cd-zoom-in:hover, .no-touch #cd-zoom-out:hover {
    background-color: #377DFF;
}

@media only screen and (min-width: 768px) {
    #cd-zoom-in, #cd-zoom-out { margin-left: 50px; }
    .mapa, #google-container { height: 370px; }
}

#cd-zoom-in {
  background-position: 50% 0;
  margin-top: 10px;
  margin-bottom: 1px;
}

@media only screen and (min-width: 768px) {
  #cd-zoom-in {
    margin-top: 50px;
  }
}

#cd-zoom-out {
    background-position: 50% -32px;
}

/* Preloader */

#loader-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #f7f8fa;
  display: none;
}

.load {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: none;
}
 
.load hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite;
}
 
.load :first-child {
    background: #377DFF;
    animation-delay: -1.5s;
}
 
.load :nth-child(2) {
    background: #334681;
    animation-delay: -1s;
}
 
.load :nth-child(3) {
    background: #377DFF;
    animation-delay: -0.5s;
}
 
.load :nth-child(4) {
    background: #334681;
}

.load :last-child {
    margin: 90px 0 0 -105px;
}

@keyframes spin {
    0%, 100% {
        transform: translate(0)
    }
    25% {
        transform: translate(160%)
    }
    50% {
        transform: translate(160%, 160%)
    }
    75% {
        transform: translate(0, 160%)
    }
}

.js .load, .js #loader-wrapper {
  display: block;
}