/*font*/

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

html {
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

html.loaded {
    opacity: 1;
}

body {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 18px;
}

@media screen and (max-width: 768px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 670px) {
    body {
        font-size: 16px;
    }
}

a {
    color: #138bc6;
}

a:hover,
a:focus,
a:active {
    color: #138bc6;
    text-decoration: underline;
}

li {
    line-height: 1.5;
}

:focus {
    outline: none !important;
}

::-moz-focus-inner {
    border: 0 none;
}

.txt_right {
    text-align: right;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

.half_size_container {
    display: inline-block;
}

.half_size_container img {
    width: 50%;
}

@media screen and (max-width: 670px) {
    .half_size_container img {
        width: 100%;
    }
}

.accent {
    color: #138bc6;
    font-weight: 500;
    display: block;
}

.accent_color {
    color: #138bc6;
}

.grey_block {
    background: #f6f6f6;
}

input[type='text'],
input[type='number'],
input[type='email'] {
    border: 1px solid #efefef;
    padding: 20px 15px;
    width: 100%;
    border-radius: 4px;
}

select {
    width: 100%;
    height: 42px;
    border: 1px solid #efefef;
    border-radius: 0 !important;
}

textarea {
    width: 100%;
    border: 1px solid #efefef;
    padding: 20px 15px;
}

.only_mobile {
    display: none !important;
}

.no_mobile {
    display: block !important;
}

@media screen and (max-width: 640px) {
    .only_mobile {
        display: block !important;
    }
    .no_mobile {
        display: none !important;
    }
}

.only_mobile_tablet {
    display: none !important;
}
.only_desktop {
    display: block;
}
@media screen and (max-width: 768px) {
    .only_mobile_tablet {
        display: block !important;
    }
    .only_desktop {
        display: none !important;
    }
}

/* typo */

h2 {
    font-size: 21px;
    line-height: 1.5;
    font-weight: 300;
}

/* container */

.page_wrap_int {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 1100px) {
    .page_wrap_int {
        padding: 0 30px;
    }
}

@media screen and (max-width: 670px) {
    .page_wrap_int {
        padding: 0 15px;
    }
}

.container {
    margin: 0 auto;
    padding: 40px 0 80px 0;
    max-width: 1100px;
    width: 100%;
}

.container.container--nohero {
    padding-top: 120px;
}

@media screen and (max-width: 1040px) {
    .container {
        padding: 80px 30px;
    }
}

@media screen and (max-width: 670px) {
    .container {
        padding: 30px 15px;
    }
}

.container.container-nopadding {
    padding: 0;
}

.container .content-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 38px;
    color: #138bc6;
    font-weight: 400;
}

.content-title-centered{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 38px;
    color: #138bc6;
    font-weight: 400;
    text-align: center;
    
}



@media screen and (max-width: 670px) {
    .container .content-title {
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 15px;
    }
}

.container .content-text {
    line-height: 2;
    margin-bottom: 30px;
}

@media screen and (max-width: 670px) {
    .container .content-text {
        margin-bottom: 0;
    }
}

.grey_row {
    background: #f5f5f5;
}

/*caption text*/

.caption {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .caption {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 670px) {
    .caption {
        font-size: 12px;
    }
}

/*buttons*/

.button {
    border: 2px solid#138BC6;
    border-radius: 4px;
    color: #138bc6;
    padding: 15px 50px;
    text-align: center;
    display: inline-block;
    line-height: 1;
    cursor: pointer;
}

.button.button-small {
    font-size: 15px;
}

.button:hover {
    color: #138bc6;
    text-decoration: none;
}

.button.button-white {
    border-color: #fff;
    color: #fff;
}

.button.button-white:hover {
    color: #fff;
}

.button .button-icon {
    width: 15px;
    margin-left: 15px;
}

@media screen and (max-width: 670px) {
    .button {
        font-size: 14px;
        padding: 10px 30px;
    }
}

/* menu */

.toggle_menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -305px;
    width: 300px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background: #fff;
    border-left: 5px solid #efefef;
    padding: 35px 0;
    z-index: 200;
    height: 100%;
    overflow: hidden;
}

.toggle_menu .toggle_menu_scroll {
    height: 100%;
    overflow-y: auto;
}

.toggle_menu li {
    margin-bottom: 35px;
    list-style: none;
}

.toggle_menu li a {
    padding: 5 10px;
    color: #333333;
}

.toggle_menu li a:hover {
    text-decoration: none;
}

.toggle_menu li a:hover {
    color: #666666;
}

.menu-open .toggle_menu {
    right: 0;
}

.close-nav {
    position: absolute;
    z-index: 2;
    top: 32px;
    right: 35px;
    width: 26px;
    height: 26px;
    background: url(../img/ico_nav_close.png) 0 0 no-repeat;
}

.menu_overlay {
    position: fixed;
    z-index: 150;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: none;
}

.menu-open .menu_overlay {
    display: block;
}

@media screen and (max-width: 670px) {
    .toggle_menu {
        padding: 20px 0;
    }
    .toggle_menu ul {
        margin-left: 10px;
    }
    .toggle_menu li {
        margin-bottom: 20px;
    }
    .toggle_menu li a {
        font-size: 14px;
    }
    .close-nav {
        top: 18px;
        right: 20px;
    }
}

/* header */

.header {
    width: 100%;
    height: 80px;
    z-index: 300;
}

@media screen and (max-width: 670px) {
    .header {
        height: 55px;
    }
}

.header.header_transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.header.header--fixed {
    position: fixed;
    background: #fff;
}

.header.header--grey {
    position: fixed;
    background: #f6f6f6;
}

.header .row-fluid .span6 {
    width: 50%;
    float: left;
    margin: 0;
}

.toggle_nav {
    margin-top: 30px;
    display: inline-block;
}

@media screen and (max-width: 670px) {
    .toggle_nav {
        margin-top: 18px;
        font-size: 12px;
    }
}

.toggle_nav:hover,
.toggle_nav:active,
.toggle_nav:focus {
    text-decoration: none;
}

.toggle_nav .ico {
    display: block;
    height: 2px;
    margin: 0 0 3px;
    background-color: #138bc6;
}

.toggle_button {
    display: inline-block;
    width: 18px;
    position: relative;
    top: 2.5px;
    margin-left: 10px;
}

.header_transparent .toggle_nav {
    color: #fff;
}

.header_transparent .toggle_nav .ico {
    background-color: #fff;
}

.header--fixed.header_transparent .toggle_nav .ico {
    background-color: #138bc6;
}

.header--fixed.header_transparent .toggle_nav {
    color: #138bc6;
}

@media screen and (max-width: 670px) {
    .toggle_nav .ico {
        margin: 0 0 2px;
    }
    .toggle_button {
        margin-left: 8px;
    }
}

.header_logo {
    width: 246px;
    height: 49px;
    background: url(../img/ico_header_logo@2x.png) 0 0 no-repeat;
    background-size: auto 100%;
    display: block;
    margin-top: 15px;
}

@media screen and (max-width: 670px) {
    .header_logo {
        width: 120px;
        height: 23px;
    }
}

.header_transparent .header_logo {
    background-image: url(../img/ico_header_logo_white@2x.png);
    background-size: auto 100%;
}

.header--fixed.header_transparent .header_logo {
    background: url(../img/ico_header_logo@2x.png) 0 0 no-repeat;
    background-size: auto 100%;
}

/* animations */

.zoomin {
    animation: zoomin 40s linear 1;
    -webkit-animation: zoomin 40s linear forwards;
    -moz-animation: zoomin 40s linear 1;
    -ms-animation: zoomin 40s linear 1;
    -o-animation: zoomin 40s linear 1;
    animation: zoomin 40s linear forwards;
}

@keyframes zoomin {
    0% {
        transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
    }
    100% {
        transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        -ms-transform: scale(1.5);
    }
}

@-webkit-keyframes zoomin {
    0% {
        transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
    }
    100% {
        transform: scale(1.5);
        -moz-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -o-transform: scale(1.5);
        -ms-transform: scale(1.5);
    }
}

.transition {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* footer */

footer {
    background: #4fb3e4;
}

footer .top {
    padding-bottom: 40px;
}

footer .talk {
    text-align: center;
    padding: 40px 0 80px;
}

footer .talk .talk_container {
    color: #fff;
    max-width: 300px;
    margin: 0 auto;
}

footer .talk .talk_container h2 {
    font-size: 40px;
    line-height: 1;
}

footer .talk .talk_container p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
    margin: 35px 0;
}

footer .bottom .footer_bottom_container.container.container-nopadding {
    padding: 10px 0 40px;
    border-top: 1px solid #7ec4e4;
}

@media screen and (max-width: 1040px) {
    footer .bottom .footer_bottom_container.container.container-nopadding {
        padding: 10px 30px 40px;
        border-top: 1px solid #7ec4e4;
    }
}

@media screen and (max-width: 768px) {
    footer .bottom .footer_bottom_container.container.container-nopadding {
        padding: 10px 30px 10px;
    }
}

footer .copyright {
    padding: 3px 0 0;
    color: #fff;
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    footer .copyright {
        padding: 0;
    }
}

footer .bottom .footer_bottom_container nav {
    font-size: 12px;
}

footer .bottom .footer_bottom_container nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer nav li {
    display: inline-block;
    line-height: 1.5;
    margin-left: 10px;
}

footer nav li:nth-child(1) {
    margin-left: 0;
}

footer nav li a {
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .row-fluid [class*='span'] {
        min-height: 0;
    }
    footer .bottom .footer_bottom_container .span6,
    footer .bottom .footer_bottom_container .span6 {
        padding: 5px 0;
    }
    footer .bottom .footer_bottom_container .span6,
    footer .bottom .footer_bottom_container .span6.txt_right {
        text-align: center;
    }
    footer .talk {
        padding-bottom: 50px;
    }
}

/* dialog */

.dialog {
    position: fixed;
    top: 50%;
    right: 0;
    left: 0;
    width: 95%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    z-index: 400;
    transform: translateY(-50%) scale(0);
    background: #fff;
}

.dialog.dialog-open {
    transform: translateY(-50%) scale(1);
}

.dialog_header {
    text-align: right;
    padding: 8px 15px 10px;
}

.dialog_content {
    padding: 0 15px 15px;
}

.dialog_content iframe {
    margin: 0 auto;
    display: block;
    min-height: 300px;
    width: 100%;
}

.dialog_overlay {
    position: fixed;
    z-index: 300;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.dialog_close:hover {
    text-decoration: none;
}

.dialog_close span {
    color: #999;
    font-size: 25px;
}

.submenu_trigger {
    display: block;
    margin-bottom: 35px;
}
.submenu_trigger:hover,
.submenu_trigger:active,
.submenu_trigger:focus {
    text-decoration: none;
}
.submenu_trigger span {
    position: relative;
    margin-left: 5px;
    top: 1px;
    text-decoration: none;
}
.submenu_trigger .minus {
    display: none;
}
.submenu_trigger.open .plus {
    display: none;
}
.submenu_trigger.open .minus {
    display: inline;
}
.submenu {
    display: none;
}
.submenu li:last-child {
    margin-bottom: 0;
}
