/* 
- Name: megamenu.js - style.css
- Version: 1.0
- Latest update: 29.01.2016.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Body - not related to megamenu
–––––––––––––––––––––––––––––––––––––––––––––––––– */


* {
    box-sizing: border-box;
}

a {
    color: #333;
}

.description {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
megamenu.js STYLE STARTS HERE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-container {
    width: 100%;
    margin: 0 auto;
    background: #FFF;
  z-index: 1000 !important;
}

.menu-mobile {
    display: none;    
    padding: 0 10px 0 10px;
  z-index: 2000 !important;
}
.menu-mobile:after {
    content:  url("../img/bt_menu.png") ;
    padding: 0;
    float: right;
}
.menu-mobile-active:after {
    content:  url("../img/bt_close.png") ;
    padding: 0;
    float: right;
}

.menu-dropdown-icon:before {
    content:  url("../img/bt_plus.png") ;
    display: none;
    cursor: pointer;
    float: right;
    background: #fff;
    color: #333;
    height: 72px;
    overflow: hidden;
}
.menu-dropdown-icon.active:before {
    content:  url("../img/bt_minus.png") ;
    display: none;
    cursor: pointer;
    float: right;
    background: #fff;
    color: #333;
    height: 72px;
    overflow: hidden;
}
.menu > ul {
    margin: 0 auto;
    width: 100%;
    list-style: none;
    padding: 0;
    position: relative;
    /* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
    box-sizing: border-box;
  z-index: 1300 !important;
}

.menu > ul:before,
.menu > ul:after {
    content: "";
    display: table;
}

.menu > ul:after {
    clear: both;
}

.menu > ul > li {
    float: left;
    background: #FFF;
    padding: 0;
    margin: 0;
    width: 25%;
    text-align: center;
}

.menu > ul > li  a {
    text-decoration: none;
    padding: 1.5em 3em;
    display: block;
}

.menu > ul > li:hover {
}
/* ––––––––––––––––––––––––––––––––––––––––––––––––––
PC
–––––––––––––––––––––––––––––––––––––––––––––––––– */
header .gnavi{
    display: block;
    margin: 0 auto;   
    height: 80px;  
}
header .gnavi ul {
    height: 80px;      
}
header .gnavi ul li.gmt a {
    height: 80px;      
    line-height: 80px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    margin-left: 40px;
    font-weight: bold;
    color: #144798;
}
header .gnavi ul li.gmt img{
    margin: 0;
    padding-top: 30px;
    margin-left: 40px;
}
@media only screen and (max-width: 887px){
    header .gnavi ul li.gmt img{        
        display:none;
}
}
@media only screen and (max-width: 769px){
    header .gnavi ul li.gmt img{        
        display:inline-block;
    margin: 0;
    padding-top: 0px;
    padding-bottom: 30px;
}
}
@media only screen and (min-width: 769px) {
header .gnavi ul li.gmt{
    display: inline-block;
    overflow: hidden;
}
header .gnavi ul li.gmt a{
    width: 100%;
    display: inline-block;
    padding: 0;
}
}
/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 768px) {
     body, header, .menu-container, .menu{
      max-width:768px;
    }
header{
    display: block;
    position: relative;
    height: 80px;
    max-width: 768px;
}
.header-inner{
    margin: 0 auto;
}
.menu > nav > ul {
    padding-top: 80px;
    margin: 0;
    padding: 0;
display: none;
}
.menu > nav  > ul > li {
    height: 40px;      
    line-height:40px;
    width: 100%;
    float: none;
    background:#144798;
    opacity: 0.88;
    padding: 0;
    margin: 0;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #999;
}
.menu > nav   > ul > li  a {
    text-decoration: none;
    padding: 0;
    display: block;
    font-size: 14px;
    margin: 0px 0 0 0;
    font-weight: bold;
    color: #FFF;
    opacity: 1;
    text-align: left;
    text-indent: 20px;
}
    .menu > nav   > ul > li:last-child  {
    text-decoration: none;
    display: block;
    height: 80px;      
    line-height: 80px;
    font-size: 14px;
    padding: 0px 0 0 0;
    font-weight: bold;
    color: darkslateblue;
        opacity: 0.9;
    border-bottom: 1px solid #999;
        background-color: #CCC;
    text-indent: 0px;
} 
.menu > nav   > ul > li:last-child a{
    text-align:center;
}
.menu > nav   > ul > li:hover {
}
.menu-mobile {
display: block;
z-index: 10000;
position: relative;
    }
.menu-dropdown-icon:before {
        display: block;
    }
header .gnavi ul li.gmt a {
    height: 40px;      
    line-height:40px;
        margin: 0 auto;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
}
header .gnavi ul li.gmt img{
    margin:auto  0 ;
    text-align: center;
}
.menu .show-on-mobile {
        display: block;
    }
 .mnavi{
    display: block;
        position: absolute;
        top:0;
        right: 0px;
        background-color: none;
        padding: 0;
        height: 74px;
        width: 74px;    
} 
header .logo img{
    margin: 12px 12px;
    height: 60px;
    }
}
/* sp */

@media screen and (max-width: 480px) {
 body, header, .menu-container, .menu{
      max-width:480px;
    }
header{
    display: block;
    position: relative;
    height: 90px;
}
.header-inner{
    max-width: 480px;
    margin: 0 auto;
}
header .gnavi{
    display: block;
    margin: 0 auto;    
    height: 1px; 
    width: 100%;
}
}